[2026-11-04 00:00:13] local.INFO: TCP Data received {"connection_id":230259,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2a84c48012ce51a8007234c38000900802f..."} 
[2026-11-04 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2a84c48012ce51a8007234c38000900802f..."} 
[2026-11-04 00:00:13] local.INFO: Processing buffer {"connection_id":230259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2a84c48012ce51a8007234c38000900802f..."} 
[2026-11-04 00:00:13] local.INFO: Packet analysis {"connection_id":230259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2a8"} 
[2026-11-04 00:00:13] local.INFO: Extracted packet for processing {"connection_id":230259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2a8"} 
[2026-11-04 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":753212032,"raw_latitude":119753784,"longitude_deg":75.3212032,"latitude_deg":11.9753784,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51a80","hex_latitude":"07234c38","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194880256001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793730301000,"timestamp_ms":1793730301000,"timestamp_seconds":1793730301,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2a84c48"} 
[2026-11-04 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-11-04 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194880256001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194880256001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194880256001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":230259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:00:13] local.INFO: GPS data processed {"connection_id":230259,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:00:13] local.INFO: Acknowledgment sent {"connection_id":230259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:00:17] local.INFO: TCP Data received {"connection_id":229018,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:00:17] local.INFO: Processing buffer {"connection_id":229018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:00:17] local.INFO: IMEI packet received {"connection_id":229018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":229018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:00:18] local.INFO: TCP Data received {"connection_id":229018,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2abedf8012d6a94c0060a7078000f01592d..."} 
[2026-11-04 00:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2abedf8012d6a94c0060a7078000f01592d..."} 
[2026-11-04 00:00:18] local.INFO: Processing buffer {"connection_id":229018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2abedf8012d6a94c0060a7078000f01592d..."} 
[2026-11-04 00:00:18] local.INFO: Packet analysis {"connection_id":229018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ab"} 
[2026-11-04 00:00:18] local.INFO: Extracted packet for processing {"connection_id":229018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ab"} 
[2026-11-04 00:00:18] local.INFO: GPS Element Parsed {"raw_longitude":761959616,"raw_latitude":101347448,"longitude_deg":76.1959616,"latitude_deg":10.1347448,"altitude":15,"angle":345,"satellites":45,"speed":45,"hex_longitude":"2d6a94c0","hex_latitude":"060a7078","is_valid_coordinates":true} 
[2026-11-04 00:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195015936001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19560990462967808,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7681592877864599552,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793730539000,"timestamp_ms":1793730539000,"timestamp_seconds":1793730539,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2abedf8"} 
[2026-11-04 00:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 00:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195015936001,"66":27876,"155":206,"8":65280,"24":45,"16":19560990462967808,"45":7681592877864599552},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,8,24,16,45]} 
[2026-11-04 00:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195015936001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:00:18] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 00:00:18] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19560990462967808,"km_value":19560990462967.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7681592877864599552,"description":"Unknown IO ID 45"} 
[2026-11-04 00:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195015936001,"power":27876,"unknown_155":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":7681592877864599552}} 
[2026-11-04 00:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":229018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:00:19] local.INFO: GPS data processed {"connection_id":229018,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:00:19] local.INFO: Acknowledgment sent {"connection_id":229018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:00:41] local.INFO: TCP Data received {"connection_id":228528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:41] local.INFO: Processing buffer {"connection_id":228528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:41] local.INFO: IMEI packet received {"connection_id":228528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":228528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:00:41] local.INFO: TCP Data received {"connection_id":228528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:41] local.INFO: Processing buffer {"connection_id":228528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:41] local.INFO: IMEI packet received {"connection_id":228528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":228528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:00:46] local.INFO: TCP Data received {"connection_id":228528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:46] local.INFO: Processing buffer {"connection_id":228528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:00:46] local.INFO: IMEI packet received {"connection_id":228528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":228528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:00:47] local.INFO: TCP Data received {"connection_id":228528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:00:47] local.INFO: Processing buffer {"connection_id":228528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:00:47] local.INFO: Packet analysis {"connection_id":228528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:00:47] local.INFO: Extracted packet for processing {"connection_id":228528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:00:47] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:00:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":228528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:00:47] local.INFO: GPS data processed {"connection_id":228528,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:00:47] local.INFO: Acknowledgment sent {"connection_id":228528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:00:50] local.INFO: TCP Data received {"connection_id":229018,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ac0568012d6a8a00060a8990000f014e2d..."} 
[2026-11-04 00:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ac0568012d6a8a00060a8990000f014e2d..."} 
[2026-11-04 00:00:50] local.INFO: Processing buffer {"connection_id":229018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ac0568012d6a8a00060a8990000f014e2d..."} 
[2026-11-04 00:00:50] local.INFO: Packet analysis {"connection_id":229018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:00:50] local.INFO: Extracted packet for processing {"connection_id":229018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:00:50] local.INFO: GPS Element Parsed {"raw_longitude":761956864,"raw_latitude":101353872,"longitude_deg":76.1956864,"latitude_deg":10.1353872,"altitude":15,"angle":334,"satellites":45,"speed":47,"hex_longitude":"2d6a8a00","hex_latitude":"060a8990","is_valid_coordinates":true} 
[2026-11-04 00:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195017984001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19561329765384192,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679974396751017984,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793730545000,"timestamp_ms":1793730545000,"timestamp_seconds":1793730545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ac0568"} 
[2026-11-04 00:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 00:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195017984001,"66":27832,"155":206,"8":65280,"24":47,"16":19561329765384192,"45":7679974396751017984},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,8,24,16,45]} 
[2026-11-04 00:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195017984001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19561329765384192,"km_value":19561329765384.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679974396751017984,"description":"Unknown IO ID 45"} 
[2026-11-04 00:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195017984001,"power":27832,"unknown_155":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":7679974396751017984}} 
[2026-11-04 00:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":229018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:00:51] local.INFO: GPS data processed {"connection_id":229018,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:00:51] local.INFO: Acknowledgment sent {"connection_id":229018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:00:51] local.INFO: TCP Data received {"connection_id":228528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:00:51] local.INFO: Processing buffer {"connection_id":228528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:00:51] local.INFO: Packet analysis {"connection_id":228528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:00:51] local.INFO: Extracted packet for processing {"connection_id":228528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:00:51] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":228528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:00:51] local.INFO: GPS data processed {"connection_id":228528,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:00:51] local.INFO: Acknowledgment sent {"connection_id":228528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:01:10] local.INFO: TCP Data received {"connection_id":228529,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:01:10] local.INFO: Processing buffer {"connection_id":228529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:01:10] local.INFO: IMEI packet received {"connection_id":228529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":228529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:01:16] local.INFO: TCP Data received {"connection_id":228529,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:01:16] local.INFO: Processing buffer {"connection_id":228529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:01:16] local.INFO: IMEI packet received {"connection_id":228529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":228529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:01:17] local.INFO: TCP Data received {"connection_id":228529,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ac24a8012d6a7a40060aac30000e015131..."} 
[2026-11-04 00:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ac24a8012d6a7a40060aac30000e015131..."} 
[2026-11-04 00:01:17] local.INFO: Processing buffer {"connection_id":228529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ac24a8012d6a7a40060aac30000e015131..."} 
[2026-11-04 00:01:17] local.INFO: Packet analysis {"connection_id":228529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:01:17] local.INFO: Extracted packet for processing {"connection_id":228529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:01:17] local.INFO: GPS Element Parsed {"raw_longitude":761952832,"raw_latitude":101362736,"longitude_deg":76.1952832,"latitude_deg":10.1362736,"altitude":14,"angle":337,"satellites":49,"speed":48,"hex_longitude":"2d6a7a40","hex_latitude":"060aac30","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195019520001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19561797916819456,"note":"Value kept but may cause issues"} 
[2026-11-04 00:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676948540753022976,"note":"Value kept but may cause issues"} 
[2026-11-04 00:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793730553000,"timestamp_ms":1793730553000,"timestamp_seconds":1793730553,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ac24a8"} 
[2026-11-04 00:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 00:01: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-11-04 00: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-11-04 00:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195019520001,"66":27843,"155":206,"8":65280,"24":48,"16":19561797916819456,"45":7676948540753022976},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,8,24,16,45]} 
[2026-11-04 00:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195019520001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:01:17] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 00:01:17] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19561797916819456,"km_value":19561797916819.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676948540753022976,"description":"Unknown IO ID 45"} 
[2026-11-04 00:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195019520001,"power":27843,"unknown_155":206,"unknown_8":65280,"ignition":48,"odometer":null,"unknown_45":7676948540753022976}} 
[2026-11-04 00:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":228529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:01:17] local.INFO: GPS data processed {"connection_id":228529,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:01:17] local.INFO: Acknowledgment sent {"connection_id":228529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:01:36] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:01:36] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:01:36] local.INFO: IMEI packet received {"connection_id":230260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":230260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:01:41] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:01:41] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:01:41] local.INFO: IMEI packet received {"connection_id":230260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":230260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:01:42] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:01:42] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:01:42] local.INFO: Packet analysis {"connection_id":230260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:01:42] local.INFO: Extracted packet for processing {"connection_id":230260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:01:42] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:01:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:01:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:01:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":230260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:01:42] local.INFO: GPS data processed {"connection_id":230260,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:01:42] local.INFO: Acknowledgment sent {"connection_id":230260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:01:50] local.INFO: TCP Data received {"connection_id":228529,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ad8438012d69f840060bd2d0000c01532e..."} 
[2026-11-04 00:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ad8438012d69f840060bd2d0000c01532e..."} 
[2026-11-04 00:01:50] local.INFO: Processing buffer {"connection_id":228529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ad8438012d69f840060bd2d0000c01532e..."} 
[2026-11-04 00:01:50] local.INFO: Packet analysis {"connection_id":228529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ad"} 
[2026-11-04 00:01:50] local.INFO: Extracted packet for processing {"connection_id":228529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ad"} 
[2026-11-04 00:01:50] local.INFO: GPS Element Parsed {"raw_longitude":761919552,"raw_latitude":101438160,"longitude_deg":76.1919552,"latitude_deg":10.143816,"altitude":12,"angle":339,"satellites":46,"speed":35,"hex_longitude":"2d69f840","hex_latitude":"060bd2d0","is_valid_coordinates":true} 
[2026-11-04 00:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19565324084969472,"note":"Value kept but may cause issues"} 
[2026-11-04 00:01:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,8,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 00:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793730643000,"timestamp_ms":1793730643000,"timestamp_seconds":1793730643,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ad8438"} 
[2026-11-04 00:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 00:01:50] 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-11-04 00:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27245,"111":206,"8":65280,"24":35,"16":19565324084969472},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16]} 
[2026-11-04 00:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 00:01:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 00:01:50] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19565324084969472,"km_value":19565324084969.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:01:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27245,"unknown_111":206,"unknown_8":65280,"ignition":35,"odometer":null}} 
[2026-11-04 00:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":228529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:01:50] local.INFO: GPS data processed {"connection_id":228529,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:01:50] local.INFO: Acknowledgment sent {"connection_id":228529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:02:10] local.INFO: TCP Data received {"connection_id":232124,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:10] local.INFO: Processing buffer {"connection_id":232124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:10] local.INFO: IMEI packet received {"connection_id":232124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":232124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:02:13] local.INFO: TCP Data received {"connection_id":230260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:02:13] local.INFO: Processing buffer {"connection_id":230260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:02:13] local.INFO: Packet analysis {"connection_id":230260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:02:13] local.INFO: Extracted packet for processing {"connection_id":230260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 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-11-04 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:02:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:02:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":230260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:02:13] local.INFO: GPS data processed {"connection_id":230260,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:02:13] local.INFO: Acknowledgment sent {"connection_id":230260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:02:13] local.INFO: TCP Data received {"connection_id":232124,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:13] local.INFO: Processing buffer {"connection_id":232124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:13] local.INFO: IMEI packet received {"connection_id":232124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":232124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:02:15] local.INFO: TCP Data received {"connection_id":232124,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:15] local.INFO: Processing buffer {"connection_id":232124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:02:15] local.INFO: IMEI packet received {"connection_id":232124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":232124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:02:16] local.INFO: TCP Data received {"connection_id":232124,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2adab48012d69eb80060bf628000d01572c..."} 
[2026-11-04 00:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2adab48012d69eb80060bf628000d01572c..."} 
[2026-11-04 00:02:16] local.INFO: Processing buffer {"connection_id":232124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2adab48012d69eb80060bf628000d01572c..."} 
[2026-11-04 00:02:16] local.INFO: Packet analysis {"connection_id":232124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ad"} 
[2026-11-04 00:02:16] local.INFO: Extracted packet for processing {"connection_id":232124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ad"} 
[2026-11-04 00:02:16] local.INFO: GPS Element Parsed {"raw_longitude":761916288,"raw_latitude":101447208,"longitude_deg":76.1916288,"latitude_deg":10.1447208,"altitude":13,"angle":343,"satellites":44,"speed":39,"hex_longitude":"2d69eb80","hex_latitude":"060bf628","is_valid_coordinates":true} 
[2026-11-04 00:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195044608001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19565792236404736,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7635923562919022592,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793730653000,"timestamp_ms":1793730653000,"timestamp_seconds":1793730653,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2adab48"} 
[2026-11-04 00:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-04 00:02:16] 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-11-04 00:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195044608001,"66":27887,"111":206,"8":65280,"24":39,"16":19565792236404736,"45":7635923562919022592},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-11-04 00:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195044608001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:02:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 00:02:16] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19565792236404736,"km_value":19565792236404.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7635923562919022592,"description":"Unknown IO ID 45"} 
[2026-11-04 00:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195044608001,"power":27887,"unknown_111":206,"unknown_8":65280,"ignition":39,"odometer":null,"unknown_45":7635923562919022592}} 
[2026-11-04 00:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":232124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:02:16] local.INFO: GPS data processed {"connection_id":232124,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:02:16] local.INFO: Acknowledgment sent {"connection_id":232124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:02:36] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:02:36] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:02:36] local.INFO: IMEI packet received {"connection_id":229019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":229019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:02:41] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:02:41] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:02:41] local.INFO: IMEI packet received {"connection_id":229019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":229019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:02:41] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:02:41] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:02:41] local.INFO: Packet analysis {"connection_id":229019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:02:41] local.INFO: Extracted packet for processing {"connection_id":229019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:02:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":229019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:02:41] local.INFO: GPS data processed {"connection_id":229019,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:02:41] local.INFO: Acknowledgment sent {"connection_id":229019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:02:47] local.INFO: TCP Data received {"connection_id":232124,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2adce70012d69df00060c1778000e01522d..."} 
[2026-11-04 00:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2adce70012d69df00060c1778000e01522d..."} 
[2026-11-04 00:02:47] local.INFO: Processing buffer {"connection_id":232124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2adce70012d69df00060c1778000e01522d..."} 
[2026-11-04 00:02:47] local.INFO: Packet analysis {"connection_id":232124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ad"} 
[2026-11-04 00:02:47] local.INFO: Extracted packet for processing {"connection_id":232124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ad"} 
[2026-11-04 00:02:47] local.INFO: GPS Element Parsed {"raw_longitude":761913088,"raw_latitude":101455736,"longitude_deg":76.1913088,"latitude_deg":10.1455736,"altitude":14,"angle":338,"satellites":45,"speed":39,"hex_longitude":"2d69df00","hex_latitude":"060c1778","is_valid_coordinates":true} 
[2026-11-04 00:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195047168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19566234618036224,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7632334756968278016,"note":"Value kept but may cause issues"} 
[2026-11-04 00:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793730662000,"timestamp_ms":1793730662000,"timestamp_seconds":1793730662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2adce70"} 
[2026-11-04 00:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 00:02:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195047168001,"66":27974,"111":206,"8":65280,"24":39,"16":19566234618036224,"45":7632334756968278016},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-11-04 00:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195047168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:02:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 00:02:47] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19566234618036224,"km_value":19566234618036.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7632334756968278016,"description":"Unknown IO ID 45"} 
[2026-11-04 00:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195047168001,"power":27974,"unknown_111":206,"unknown_8":65280,"ignition":39,"odometer":null,"unknown_45":7632334756968278016}} 
[2026-11-04 00:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":232124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:02:47] local.INFO: GPS data processed {"connection_id":232124,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:02:47] local.INFO: Acknowledgment sent {"connection_id":232124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:03:10] local.INFO: TCP Data received {"connection_id":232125,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:10] local.INFO: Processing buffer {"connection_id":232125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:10] local.INFO: IMEI packet received {"connection_id":232125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":232125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:03:12] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:03:12] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:03:12] local.INFO: Packet analysis {"connection_id":229019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:03:12] local.INFO: Extracted packet for processing {"connection_id":229019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:03:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":229019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:03:13] local.INFO: GPS data processed {"connection_id":229019,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:03:13] local.INFO: Acknowledgment sent {"connection_id":229019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:03:14] local.INFO: TCP Data received {"connection_id":232125,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:14] local.INFO: Processing buffer {"connection_id":232125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:14] local.INFO: IMEI packet received {"connection_id":232125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":232125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:03:15] local.INFO: TCP Data received {"connection_id":232125,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:15] local.INFO: Processing buffer {"connection_id":232125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:03:15] local.INFO: IMEI packet received {"connection_id":232125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":232125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:03:21] local.INFO: TCP Data received {"connection_id":232125,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2aead18012d69bd40060cadf8000a015a2e..."} 
[2026-11-04 00:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2aead18012d69bd40060cadf8000a015a2e..."} 
[2026-11-04 00:03:21] local.INFO: Processing buffer {"connection_id":232125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2aead18012d69bd40060cadf8000a015a2e..."} 
[2026-11-04 00:03:21] local.INFO: Packet analysis {"connection_id":232125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ae"} 
[2026-11-04 00:03:21] local.INFO: Extracted packet for processing {"connection_id":232125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ae"} 
[2026-11-04 00:03:21] local.INFO: GPS Element Parsed {"raw_longitude":761904448,"raw_latitude":101494264,"longitude_deg":76.1904448,"latitude_deg":10.1494264,"altitude":10,"angle":346,"satellites":46,"speed":24,"hex_longitude":"2d69bd40","hex_latitude":"060cadf8","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195062784001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19568236072796160,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7619668383027668992,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793730719000,"timestamp_ms":1793730719000,"timestamp_seconds":1793730719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2aead18"} 
[2026-11-04 00:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 00:03:21] 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-11-04 00: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-11-04 00:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195062784001,"66":27800,"111":206,"8":65280,"24":24,"16":19568236072796160,"45":7619668383027668992},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-11-04 00:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195062784001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:03:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 00:03:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19568236072796160,"km_value":19568236072796.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7619668383027668992,"description":"Unknown IO ID 45"} 
[2026-11-04 00:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195062784001,"power":27800,"unknown_111":206,"unknown_8":65280,"ignition":24,"odometer":null,"unknown_45":7619668383027668992}} 
[2026-11-04 00:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":232125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:03:22] local.INFO: GPS data processed {"connection_id":232125,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:03:22] local.INFO: Acknowledgment sent {"connection_id":232125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:03:35] local.INFO: TCP Data received {"connection_id":230261,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:03:35] local.INFO: Processing buffer {"connection_id":230261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:03:35] local.INFO: IMEI packet received {"connection_id":230261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":230261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:03:41] local.INFO: TCP Data received {"connection_id":230261,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:03:41] local.INFO: Processing buffer {"connection_id":230261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:03:41] local.INFO: IMEI packet received {"connection_id":230261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":230261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:03:42] local.INFO: TCP Data received {"connection_id":230261,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:03:42] local.INFO: Processing buffer {"connection_id":230261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:03:42] local.INFO: Packet analysis {"connection_id":230261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:03:42] local.INFO: Extracted packet for processing {"connection_id":230261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:03:42] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:03:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:03:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":230261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:03:42] local.INFO: GPS data processed {"connection_id":230261,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:03:42] local.INFO: Acknowledgment sent {"connection_id":230261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:03:53] local.INFO: TCP Data received {"connection_id":232125,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2aed810012d69b380060ccf70000b01522c..."} 
[2026-11-04 00:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2aed810012d69b380060ccf70000b01522c..."} 
[2026-11-04 00:03:53] local.INFO: Processing buffer {"connection_id":232125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2aed810012d69b380060ccf70000b01522c..."} 
[2026-11-04 00:03:53] local.INFO: Packet analysis {"connection_id":232125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ae"} 
[2026-11-04 00:03:53] local.INFO: Extracted packet for processing {"connection_id":232125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ae"} 
[2026-11-04 00:03:53] local.INFO: GPS Element Parsed {"raw_longitude":761901952,"raw_latitude":101502832,"longitude_deg":76.1901952,"latitude_deg":10.1502832,"altitude":11,"angle":338,"satellites":44,"speed":39,"hex_longitude":"2d69b380","hex_latitude":"060ccf70","is_valid_coordinates":true} 
[2026-11-04 00:03: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-11-04 00:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195064064001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19568669864493056,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7619316539307456512,"note":"Value kept but may cause issues"} 
[2026-11-04 00:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793730730000,"timestamp_ms":1793730730000,"timestamp_seconds":1793730730,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2aed810"} 
[2026-11-04 00:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 00:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:03: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-11-04 00:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":232125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":232125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":232125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195064064001,"66":27745,"111":206,"8":65280,"24":39,"16":19568669864493056,"45":7619316539307456512},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-11-04 00:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195064064001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:03:53] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 00:03:53] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19568669864493056,"km_value":19568669864493.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7619316539307456512,"description":"Unknown IO ID 45"} 
[2026-11-04 00:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195064064001,"power":27745,"unknown_111":206,"unknown_8":65280,"ignition":39,"odometer":null,"unknown_45":7619316539307456512}} 
[2026-11-04 00:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":232125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:03:53] local.INFO: GPS data processed {"connection_id":232125,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:03:53] local.INFO: Acknowledgment sent {"connection_id":232125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:04:13] local.INFO: TCP Data received {"connection_id":230261,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:04:13] local.INFO: Processing buffer {"connection_id":230261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:04:13] local.INFO: Packet analysis {"connection_id":230261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:04:13] local.INFO: Extracted packet for processing {"connection_id":230261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 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-11-04 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:04:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":230261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:04:13] local.INFO: GPS data processed {"connection_id":230261,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:04:13] local.INFO: Acknowledgment sent {"connection_id":230261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:04:17] local.INFO: TCP Data received {"connection_id":230262,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:17] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:17] local.INFO: IMEI packet received {"connection_id":230262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":230262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:04:17] local.INFO: TCP Data received {"connection_id":230262,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:17] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:17] local.INFO: IMEI packet received {"connection_id":230262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":230262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:04:20] local.INFO: TCP Data received {"connection_id":230262,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:20] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:04:20] local.INFO: IMEI packet received {"connection_id":230262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":230262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:04:21] local.INFO: TCP Data received {"connection_id":230262,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2aefb38012d69a680060cf008000b01532b..."} 
[2026-11-04 00:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2aefb38012d69a680060cf008000b01532b..."} 
[2026-11-04 00:04:22] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2aefb38012d69a680060cf008000b01532b..."} 
[2026-11-04 00:04:22] local.INFO: Packet analysis {"connection_id":230262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ae"} 
[2026-11-04 00:04:22] local.INFO: Extracted packet for processing {"connection_id":230262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ae"} 
[2026-11-04 00:04:22] local.INFO: GPS Element Parsed {"raw_longitude":761898624,"raw_latitude":101511176,"longitude_deg":76.1898624,"latitude_deg":10.1511176,"altitude":11,"angle":339,"satellites":43,"speed":40,"hex_longitude":"2d69a680","hex_latitude":"060cf008","is_valid_coordinates":true} 
[2026-11-04 00:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195066880001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19569103656189952,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7616572158286721024,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793730739000,"timestamp_ms":1793730739000,"timestamp_seconds":1793730739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2aefb38"} 
[2026-11-04 00:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 00:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195066880001,"66":27626,"111":206,"8":65280,"24":40,"16":19569103656189952,"45":7616572158286721024},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,8,24,16,45]} 
[2026-11-04 00:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195066880001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:04:22] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 00:04:22] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19569103656189952,"km_value":19569103656189.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":7616572158286721024,"description":"Unknown IO ID 45"} 
[2026-11-04 00:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195066880001,"power":27626,"unknown_111":206,"unknown_8":65280,"ignition":40,"odometer":null,"unknown_45":7616572158286721024}} 
[2026-11-04 00:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":230262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:04:22] local.INFO: GPS data processed {"connection_id":230262,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:04:22] local.INFO: Acknowledgment sent {"connection_id":230262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:04:23] local.INFO: TCP Data received {"connection_id":230262,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2af1e60012d699ac0060d14a0000b01582a..."} 
[2026-11-04 00:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2af1e60012d699ac0060d14a0000b01582a..."} 
[2026-11-04 00:04:23] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2af1e60012d699ac0060d14a0000b01582a..."} 
[2026-11-04 00:04:23] local.INFO: Packet analysis {"connection_id":230262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2af"} 
[2026-11-04 00:04:23] local.INFO: Extracted packet for processing {"connection_id":230262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2af"} 
[2026-11-04 00:04:23] local.INFO: GPS Element Parsed {"raw_longitude":761895616,"raw_latitude":101520544,"longitude_deg":76.1895616,"latitude_deg":10.1520544,"altitude":11,"angle":344,"satellites":42,"speed":45,"hex_longitude":"2d699ac0","hex_latitude":"060d14a0","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195069184001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19569580397559808,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7612912983591618560,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793730748000,"timestamp_ms":1793730748000,"timestamp_seconds":1793730748,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2af1e60"} 
[2026-11-04 00:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195069184001,"66":27767,"112":206,"8":65280,"24":45,"16":19569580397559808,"45":7612912983591618560},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,8,24,16,45]} 
[2026-11-04 00:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195069184001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:04:23] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-11-04 00:04:23] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-11-04 00:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19569580397559808,"km_value":19569580397559.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7612912983591618560,"description":"Unknown IO ID 45"} 
[2026-11-04 00:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195069184001,"power":27767,"unknown_112":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":7612912983591618560}} 
[2026-11-04 00:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":230262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:04:24] local.INFO: GPS data processed {"connection_id":230262,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:04:24] local.INFO: Acknowledgment sent {"connection_id":230262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:04:35] local.INFO: TCP Data received {"connection_id":230263,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:04:35] local.INFO: Processing buffer {"connection_id":230263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:04:35] local.INFO: IMEI packet received {"connection_id":230263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":230263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:04:41] local.INFO: TCP Data received {"connection_id":230263,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:04:41] local.INFO: Processing buffer {"connection_id":230263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:04:41] local.INFO: IMEI packet received {"connection_id":230263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":230263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:04:41] local.INFO: TCP Data received {"connection_id":230263,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:04:41] local.INFO: Processing buffer {"connection_id":230263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:04:41] local.INFO: Packet analysis {"connection_id":230263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:04:41] local.INFO: Extracted packet for processing {"connection_id":230263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":230263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:04:41] local.INFO: GPS data processed {"connection_id":230263,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:04:41] local.INFO: Acknowledgment sent {"connection_id":230263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:04:55] local.INFO: TCP Data received {"connection_id":230262,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b06a68012d68dc80060e6020000d01442c..."} 
[2026-11-04 00:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b06a68012d68dc80060e6020000d01442c..."} 
[2026-11-04 00:04:55] local.INFO: Processing buffer {"connection_id":230262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b06a68012d68dc80060e6020000d01442c..."} 
[2026-11-04 00:04:55] local.INFO: Packet analysis {"connection_id":230262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b0"} 
[2026-11-04 00:04:55] local.INFO: Extracted packet for processing {"connection_id":230262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b0"} 
[2026-11-04 00:04:55] local.INFO: GPS Element Parsed {"raw_longitude":761846912,"raw_latitude":101605408,"longitude_deg":76.1846912,"latitude_deg":10.1605408,"altitude":13,"angle":324,"satellites":44,"speed":47,"hex_longitude":"2d68dc80","hex_latitude":"060e6020","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195091200001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19574360696160256,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7562247487805829120,"note":"Value kept but may cause issues"} 
[2026-11-04 00:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793730833000,"timestamp_ms":1793730833000,"timestamp_seconds":1793730833,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b06a68"} 
[2026-11-04 00:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:04:55] 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-11-04 00: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-11-04 00:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195091200001,"66":27821,"70":206,"19":43264,"24":47,"16":19574360696160256,"45":7562247487805829120},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-11-04 00:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195091200001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:04:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-11-04 00:04:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-04 00:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19574360696160256,"km_value":19574360696160.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7562247487805829120,"description":"Unknown IO ID 45"} 
[2026-11-04 00:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195091200001,"power":27821,"unknown_70":206,"unknown_19":43264,"ignition":47,"odometer":null,"unknown_45":7562247487805829120}} 
[2026-11-04 00:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":230262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:04:55] local.INFO: GPS data processed {"connection_id":230262,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:04:55] local.INFO: Acknowledgment sent {"connection_id":230262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:05:08] local.INFO: TCP Data received {"connection_id":229020,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:08] local.INFO: Processing buffer {"connection_id":229020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:08] local.INFO: IMEI packet received {"connection_id":229020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":229020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:05:10] local.INFO: TCP Data received {"connection_id":229020,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:10] local.INFO: Processing buffer {"connection_id":229020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:10] local.INFO: IMEI packet received {"connection_id":229020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":229020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:05:12] local.INFO: TCP Data received {"connection_id":229020,"ip":"117.225.188.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:12] local.INFO: Processing buffer {"connection_id":229020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:05:12] local.INFO: IMEI packet received {"connection_id":229020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 00:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":229020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:05:12] local.INFO: TCP Data received {"connection_id":230263,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:05:12] local.INFO: Processing buffer {"connection_id":230263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ace410012ce51ac007234be80009008030..."} 
[2026-11-04 00:05:12] local.INFO: Packet analysis {"connection_id":230263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:05:12] local.INFO: Extracted packet for processing {"connection_id":230263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ac"} 
[2026-11-04 00:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753212096,"raw_latitude":119753704,"longitude_deg":75.3212096,"latitude_deg":11.9753704,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51ac0","hex_latitude":"07234be8","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459194957056001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938095921484253184,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793730602000,"timestamp_ms":1793730602000,"timestamp_seconds":1793730602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ace410"} 
[2026-11-04 00:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459194957056001,"66":24875,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938095921484253184},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459194957056001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938095921484253184,"description":"Unknown IO ID 44"} 
[2026-11-04 00:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459194957056001,"power":24875,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938095921484253184}} 
[2026-11-04 00:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":230263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:05:12] local.INFO: GPS data processed {"connection_id":230263,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:05:12] local.INFO: Acknowledgment sent {"connection_id":230263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:05:13] local.INFO: TCP Data received {"connection_id":229020,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b089a8012d68c880060e7ef8000e01482a..."} 
[2026-11-04 00:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b089a8012d68c880060e7ef8000e01482a..."} 
[2026-11-04 00:05:13] local.INFO: Processing buffer {"connection_id":229020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b089a8012d68c880060e7ef8000e01482a..."} 
[2026-11-04 00:05:13] local.INFO: Packet analysis {"connection_id":229020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b0"} 
[2026-11-04 00:05:13] local.INFO: Extracted packet for processing {"connection_id":229020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b0"} 
[2026-11-04 00:05:13] local.INFO: GPS Element Parsed {"raw_longitude":761841792,"raw_latitude":101613304,"longitude_deg":76.1841792,"latitude_deg":10.1613304,"altitude":14,"angle":328,"satellites":42,"speed":45,"hex_longitude":"2d68c880","hex_latitude":"060e7ef8","is_valid_coordinates":true} 
[2026-11-04 00:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195093248001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19574811667726336,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7556055038320189440,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793730841000,"timestamp_ms":1793730841000,"timestamp_seconds":1793730841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b089a8"} 
[2026-11-04 00:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 00:05: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-11-04 00:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195093248001,"66":27984,"70":206,"19":43264,"24":45,"16":19574811667726336,"45":7556055038320189440},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-11-04 00:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195093248001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:05:13] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-11-04 00:05:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-04 00:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19574811667726336,"km_value":19574811667726.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7556055038320189440,"description":"Unknown IO ID 45"} 
[2026-11-04 00:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195093248001,"power":27984,"unknown_70":206,"unknown_19":43264,"ignition":45,"odometer":null,"unknown_45":7556055038320189440}} 
[2026-11-04 00:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":229020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:05:13] local.INFO: GPS data processed {"connection_id":229020,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:05:13] local.INFO: Acknowledgment sent {"connection_id":229020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:05:41] local.INFO: TCP Data received {"connection_id":232126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:05:41] local.INFO: Processing buffer {"connection_id":232126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:05:41] local.INFO: IMEI packet received {"connection_id":232126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":232126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:05:41] local.INFO: TCP Data received {"connection_id":232126,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:05:41] local.INFO: Processing buffer {"connection_id":232126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:05:41] local.INFO: IMEI packet received {"connection_id":232126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":232126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:05:42] local.INFO: TCP Data received {"connection_id":232126,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:05:42] local.INFO: Processing buffer {"connection_id":232126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:05:42] local.INFO: Packet analysis {"connection_id":232126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:05:42] local.INFO: Extracted packet for processing {"connection_id":232126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:05:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:05:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":232126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:05:42] local.INFO: GPS data processed {"connection_id":232126,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:05:42] local.INFO: Acknowledgment sent {"connection_id":232126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:05:45] local.INFO: TCP Data received {"connection_id":229020,"ip":"117.225.188.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b0a8e8012d68b8c0060e9f60000c015029..."} 
[2026-11-04 00:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b0a8e8012d68b8c0060e9f60000c015029..."} 
[2026-11-04 00:05:45] local.INFO: Processing buffer {"connection_id":229020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b0a8e8012d68b8c0060e9f60000c015029..."} 
[2026-11-04 00:05:45] local.INFO: Packet analysis {"connection_id":229020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b0"} 
[2026-11-04 00:05:45] local.INFO: Extracted packet for processing {"connection_id":229020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b0"} 
[2026-11-04 00:05:45] local.INFO: GPS Element Parsed {"raw_longitude":761837760,"raw_latitude":101621600,"longitude_deg":76.183776,"latitude_deg":10.16216,"altitude":12,"angle":336,"satellites":41,"speed":45,"hex_longitude":"2d68b8c0","hex_latitude":"060e9f60","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195095296001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19575258344325120,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7550425538787997696,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793730849000,"timestamp_ms":1793730849000,"timestamp_seconds":1793730849,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b0a8e8"} 
[2026-11-04 00:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 00: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 00:05:45] 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-11-04 00: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-11-04 00:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 00:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.188.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 00:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 00:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195095296001,"66":27952,"70":206,"19":43264,"24":45,"16":19575258344325120,"45":7550425538787997696},"client_ip":"117.225.188.55","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,19,24,16,45]} 
[2026-11-04 00:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 00:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 00:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195095296001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:05:45] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-11-04 00:05:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-11-04 00:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19575258344325120,"km_value":19575258344325.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7550425538787997696,"description":"Unknown IO ID 45"} 
[2026-11-04 00:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195095296001,"power":27952,"unknown_70":206,"unknown_19":43264,"ignition":45,"odometer":null,"unknown_45":7550425538787997696}} 
[2026-11-04 00:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":229020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:05:45] local.INFO: GPS data processed {"connection_id":229020,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:05:45] local.INFO: Acknowledgment sent {"connection_id":229020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:05:46] local.INFO: TCP Data received {"connection_id":232126,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:05:46] local.INFO: Processing buffer {"connection_id":232126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:05:46] local.INFO: Packet analysis {"connection_id":232126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:05:46] local.INFO: Extracted packet for processing {"connection_id":232126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:05:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":232126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:05:46] local.INFO: GPS data processed {"connection_id":232126,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:05:46] local.INFO: Acknowledgment sent {"connection_id":232126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:06:17] local.INFO: TCP Data received {"connection_id":232126,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:06:17] local.INFO: Processing buffer {"connection_id":232126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:06:17] local.INFO: Packet analysis {"connection_id":232126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:06:17] local.INFO: Extracted packet for processing {"connection_id":232126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:06:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:06:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:06:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:06:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":232126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:06:17] local.INFO: GPS data processed {"connection_id":232126,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:06:17] local.INFO: Acknowledgment sent {"connection_id":232126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:06:36] local.INFO: TCP Data received {"connection_id":228530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:06:36] local.INFO: Processing buffer {"connection_id":228530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:06:36] local.INFO: IMEI packet received {"connection_id":228530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":228530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:06:40] local.INFO: TCP Data received {"connection_id":228530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:06:40] local.INFO: Processing buffer {"connection_id":228530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:06:40] local.INFO: IMEI packet received {"connection_id":228530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":228530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:06:41] local.INFO: TCP Data received {"connection_id":228530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:06:41] local.INFO: Processing buffer {"connection_id":228530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:06:41] local.INFO: Packet analysis {"connection_id":228530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:06:41] local.INFO: Extracted packet for processing {"connection_id":228530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:06:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":228530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:06:41] local.INFO: GPS data processed {"connection_id":228530,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:06:41] local.INFO: Acknowledgment sent {"connection_id":228530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:07:12] local.INFO: TCP Data received {"connection_id":228530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:07:12] local.INFO: Processing buffer {"connection_id":228530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:07:12] local.INFO: Packet analysis {"connection_id":228530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:07:12] local.INFO: Extracted packet for processing {"connection_id":228530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:07:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:07:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":228530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:07:12] local.INFO: GPS data processed {"connection_id":228530,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:07:12] local.INFO: Acknowledgment sent {"connection_id":228530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:07:36] local.INFO: TCP Data received {"connection_id":229021,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:07:36] local.INFO: Processing buffer {"connection_id":229021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:07:36] local.INFO: IMEI packet received {"connection_id":229021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":229021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:07:41] local.INFO: TCP Data received {"connection_id":229021,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:07:41] local.INFO: Processing buffer {"connection_id":229021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:07:41] local.INFO: IMEI packet received {"connection_id":229021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":229021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:07:41] local.INFO: TCP Data received {"connection_id":229021,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:07:41] local.INFO: Processing buffer {"connection_id":229021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:07:41] local.INFO: Packet analysis {"connection_id":229021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:07:41] local.INFO: Extracted packet for processing {"connection_id":229021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:07:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":229021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:07:42] local.INFO: GPS data processed {"connection_id":229021,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:07:42] local.INFO: Acknowledgment sent {"connection_id":229021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:08:13] local.INFO: TCP Data received {"connection_id":229021,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:08:13] local.INFO: Processing buffer {"connection_id":229021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:08:13] local.INFO: Packet analysis {"connection_id":229021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:08:13] local.INFO: Extracted packet for processing {"connection_id":229021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:08:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:08:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:08:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:08:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:08:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":229021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:08:13] local.INFO: GPS data processed {"connection_id":229021,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:08:13] local.INFO: Acknowledgment sent {"connection_id":229021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:08:35] local.INFO: TCP Data received {"connection_id":232127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:08:35] local.INFO: Processing buffer {"connection_id":232127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:08:35] local.INFO: IMEI packet received {"connection_id":232127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":232127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:08:41] local.INFO: TCP Data received {"connection_id":232127,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:08:41] local.INFO: Processing buffer {"connection_id":232127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:08:41] local.INFO: IMEI packet received {"connection_id":232127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":232127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:08:41] local.INFO: TCP Data received {"connection_id":232127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:08:41] local.INFO: Processing buffer {"connection_id":232127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:08:41] local.INFO: Packet analysis {"connection_id":232127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:08:41] local.INFO: Extracted packet for processing {"connection_id":232127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":232127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:08:41] local.INFO: GPS data processed {"connection_id":232127,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:08:41] local.INFO: Acknowledgment sent {"connection_id":232127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:09:13] local.INFO: TCP Data received {"connection_id":232127,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:09:13] local.INFO: Processing buffer {"connection_id":232127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:09:13] local.INFO: Packet analysis {"connection_id":232127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:09:13] local.INFO: Extracted packet for processing {"connection_id":232127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 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-11-04 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":232127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:09:13] local.INFO: GPS data processed {"connection_id":232127,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:09:13] local.INFO: Acknowledgment sent {"connection_id":232127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:09:35] local.INFO: TCP Data received {"connection_id":229022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:09:35] local.INFO: Processing buffer {"connection_id":229022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:09:35] local.INFO: IMEI packet received {"connection_id":229022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":229022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:09:40] local.INFO: TCP Data received {"connection_id":232128,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:09:40] local.INFO: Processing buffer {"connection_id":232128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:09:40] local.INFO: IMEI packet received {"connection_id":232128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":232128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:09:41] local.INFO: TCP Data received {"connection_id":229022,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:09:41] local.INFO: Processing buffer {"connection_id":229022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:09:41] local.INFO: IMEI packet received {"connection_id":229022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":229022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:09:41] local.INFO: TCP Data received {"connection_id":229022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:09:41] local.INFO: Processing buffer {"connection_id":229022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:09:41] local.INFO: Packet analysis {"connection_id":229022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:09:41] local.INFO: Extracted packet for processing {"connection_id":229022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 00:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:09:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":229022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:09:41] local.INFO: GPS data processed {"connection_id":229022,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:09:41] local.INFO: Acknowledgment sent {"connection_id":229022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:10:10] local.INFO: TCP Data received {"connection_id":232129,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:10:10] local.INFO: Processing buffer {"connection_id":232129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:10:10] local.INFO: IMEI packet received {"connection_id":232129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":232129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:10:13] local.INFO: TCP Data received {"connection_id":229022,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:10:13] local.INFO: Processing buffer {"connection_id":229022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b17bd8012ce51bc007234b90000900802c..."} 
[2026-11-04 00:10:13] local.INFO: Packet analysis {"connection_id":229022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:10:13] local.INFO: Extracted packet for processing {"connection_id":229022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b1"} 
[2026-11-04 00:10:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195034112001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938025552740096000,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793730903000,"timestamp_ms":1793730903000,"timestamp_seconds":1793730903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b17bd8"} 
[2026-11-04 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-11-04 00:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 00:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195034112001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938025552740096000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195034112001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:10:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938025552740096000,"description":"Unknown IO ID 44"} 
[2026-11-04 00:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195034112001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938025552740096000}} 
[2026-11-04 00:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":229022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:10:13] local.INFO: GPS data processed {"connection_id":229022,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:10:13] local.INFO: Acknowledgment sent {"connection_id":229022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:10:41] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:10:41] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:10:41] local.INFO: IMEI packet received {"connection_id":230264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":230264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:10:43] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:10:43] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:10:43] local.INFO: IMEI packet received {"connection_id":230264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":230264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:10:44] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:10:44] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:10:44] local.INFO: Packet analysis {"connection_id":230264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:10:44] local.INFO: Extracted packet for processing {"connection_id":230264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 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-11-04 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:10:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:10:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:10:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":230264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:10:44] local.INFO: GPS data processed {"connection_id":230264,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:10:44] local.INFO: Acknowledgment sent {"connection_id":230264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:10:46] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:10:46] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:10:46] local.INFO: Packet analysis {"connection_id":230264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:10:46] local.INFO: Extracted packet for processing {"connection_id":230264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:10:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 00:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:10:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:10:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":230264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:10:46] local.INFO: GPS data processed {"connection_id":230264,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:10:46] local.INFO: Acknowledgment sent {"connection_id":230264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:11:17] local.INFO: TCP Data received {"connection_id":230264,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:11:17] local.INFO: Processing buffer {"connection_id":230264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:11:17] local.INFO: Packet analysis {"connection_id":230264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:11:17] local.INFO: Extracted packet for processing {"connection_id":230264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:11:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:11:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 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-11-04 00:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:11:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:11:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":230264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:11:17] local.INFO: GPS data processed {"connection_id":230264,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:11:17] local.INFO: Acknowledgment sent {"connection_id":230264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:11:36] local.INFO: TCP Data received {"connection_id":228532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:11:36] local.INFO: Processing buffer {"connection_id":228532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:11:36] local.INFO: IMEI packet received {"connection_id":228532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":228532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:11:41] local.INFO: TCP Data received {"connection_id":228532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:11:41] local.INFO: Processing buffer {"connection_id":228532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:11:41] local.INFO: IMEI packet received {"connection_id":228532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":228532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:11:41] local.INFO: TCP Data received {"connection_id":228532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:11:41] local.INFO: Processing buffer {"connection_id":228532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:11:41] local.INFO: Packet analysis {"connection_id":228532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:11:41] local.INFO: Extracted packet for processing {"connection_id":228532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:11:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 00:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":228532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:11:41] local.INFO: GPS data processed {"connection_id":228532,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:11:41] local.INFO: Acknowledgment sent {"connection_id":228532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:12:13] local.INFO: TCP Data received {"connection_id":228532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:12:13] local.INFO: Processing buffer {"connection_id":228532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:12:13] local.INFO: Packet analysis {"connection_id":228532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:12:13] local.INFO: Extracted packet for processing {"connection_id":228532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 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-11-04 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:12:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":228532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:12:13] local.INFO: GPS data processed {"connection_id":228532,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:12:13] local.INFO: Acknowledgment sent {"connection_id":228532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:12:36] local.INFO: TCP Data received {"connection_id":228533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:12:36] local.INFO: Processing buffer {"connection_id":228533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:12:36] local.INFO: IMEI packet received {"connection_id":228533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":228533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:12:41] local.INFO: TCP Data received {"connection_id":228533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:12:41] local.INFO: Processing buffer {"connection_id":228533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:12:41] local.INFO: IMEI packet received {"connection_id":228533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":228533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:12:41] local.INFO: TCP Data received {"connection_id":228533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:12:41] local.INFO: Processing buffer {"connection_id":228533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:12:41] local.INFO: Packet analysis {"connection_id":228533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:12:41] local.INFO: Extracted packet for processing {"connection_id":228533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 00:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":228533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:12:41] local.INFO: GPS data processed {"connection_id":228533,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:12:41] local.INFO: Acknowledgment sent {"connection_id":228533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:13:13] local.INFO: TCP Data received {"connection_id":228533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:13:13] local.INFO: Processing buffer {"connection_id":228533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:13:13] local.INFO: Packet analysis {"connection_id":228533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:13:13] local.INFO: Extracted packet for processing {"connection_id":228533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 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-11-04 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:13:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":228533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:13:13] local.INFO: GPS data processed {"connection_id":228533,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:13:13] local.INFO: Acknowledgment sent {"connection_id":228533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:13:35] local.INFO: TCP Data received {"connection_id":229025,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:13:35] local.INFO: Processing buffer {"connection_id":229025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:13:35] local.INFO: IMEI packet received {"connection_id":229025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":229025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:13:41] local.INFO: TCP Data received {"connection_id":229025,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:13:41] local.INFO: Processing buffer {"connection_id":229025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:13:41] local.INFO: IMEI packet received {"connection_id":229025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":229025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:13:41] local.INFO: TCP Data received {"connection_id":229025,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:13:41] local.INFO: Processing buffer {"connection_id":229025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:13:41] local.INFO: Packet analysis {"connection_id":229025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:13:41] local.INFO: Extracted packet for processing {"connection_id":229025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:13:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 00:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":229025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:13:41] local.INFO: GPS data processed {"connection_id":229025,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:13:41] local.INFO: Acknowledgment sent {"connection_id":229025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:14:13] local.INFO: TCP Data received {"connection_id":229025,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:14:13] local.INFO: Processing buffer {"connection_id":229025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:14:13] local.INFO: Packet analysis {"connection_id":229025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:14:13] local.INFO: Extracted packet for processing {"connection_id":229025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 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-11-04 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:14:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":229025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:14:13] local.INFO: GPS data processed {"connection_id":229025,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:14:13] local.INFO: Acknowledgment sent {"connection_id":229025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:14:35] local.INFO: TCP Data received {"connection_id":229026,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:14:35] local.INFO: Processing buffer {"connection_id":229026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:14:35] local.INFO: IMEI packet received {"connection_id":229026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":229026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:14:41] local.INFO: TCP Data received {"connection_id":229026,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:14:41] local.INFO: Processing buffer {"connection_id":229026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:14:41] local.INFO: IMEI packet received {"connection_id":229026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":229026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:14:41] local.INFO: TCP Data received {"connection_id":229026,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:14:41] local.INFO: Processing buffer {"connection_id":229026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:14:41] local.INFO: Packet analysis {"connection_id":229026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:14:41] local.INFO: Extracted packet for processing {"connection_id":229026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:14:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 00:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:14:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":229026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:14:41] local.INFO: GPS data processed {"connection_id":229026,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:14:41] local.INFO: Acknowledgment sent {"connection_id":229026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:15:13] local.INFO: TCP Data received {"connection_id":229026,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:15:13] local.INFO: Processing buffer {"connection_id":229026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2b613a0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:15:13] local.INFO: Packet analysis {"connection_id":229026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:15:13] local.INFO: Extracted packet for processing {"connection_id":229026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2b6"} 
[2026-11-04 00:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195111168001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793731204000,"timestamp_ms":1793731204000,"timestamp_seconds":1793731204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2b613a0"} 
[2026-11-04 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-11-04 00:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195111168001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195111168001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:15:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195111168001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":229026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:15:13] local.INFO: GPS data processed {"connection_id":229026,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:15:13] local.INFO: Acknowledgment sent {"connection_id":229026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:15:20] local.INFO: TCP Data received {"connection_id":229027,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:15:20] local.INFO: Processing buffer {"connection_id":229027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:15:20] local.INFO: IMEI packet received {"connection_id":229027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":229027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:15:41] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:15:41] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:15:41] local.INFO: IMEI packet received {"connection_id":230265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":230265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:15:44] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:15:44] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:15:44] local.INFO: IMEI packet received {"connection_id":230265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":230265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:15:44] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:15:44] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:15:44] local.INFO: Packet analysis {"connection_id":230265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:15:44] local.INFO: Extracted packet for processing {"connection_id":230265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:15:44] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:15:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:15:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":230265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:15:44] local.INFO: GPS data processed {"connection_id":230265,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:15:44] local.INFO: Acknowledgment sent {"connection_id":230265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:15:46] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:15:46] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:15:46] local.INFO: Packet analysis {"connection_id":230265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:15:46] local.INFO: Extracted packet for processing {"connection_id":230265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:15:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:15:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:15:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:15:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":230265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:15:46] local.INFO: GPS data processed {"connection_id":230265,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:15:46] local.INFO: Acknowledgment sent {"connection_id":230265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:16:17] local.INFO: TCP Data received {"connection_id":230265,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:16:17] local.INFO: Processing buffer {"connection_id":230265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:16:17] local.INFO: Packet analysis {"connection_id":230265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:16:17] local.INFO: Extracted packet for processing {"connection_id":230265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:16:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:16:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:16:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:16:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":230265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:16:17] local.INFO: GPS data processed {"connection_id":230265,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:16:17] local.INFO: Acknowledgment sent {"connection_id":230265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:16:36] local.INFO: TCP Data received {"connection_id":232130,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:16:36] local.INFO: Processing buffer {"connection_id":232130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:16:36] local.INFO: IMEI packet received {"connection_id":232130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":232130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:16:41] local.INFO: TCP Data received {"connection_id":232130,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:16:41] local.INFO: Processing buffer {"connection_id":232130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:16:41] local.INFO: IMEI packet received {"connection_id":232130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":232130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:16:42] local.INFO: TCP Data received {"connection_id":232130,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:16:42] local.INFO: Processing buffer {"connection_id":232130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:16:42] local.INFO: Packet analysis {"connection_id":232130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:16:42] local.INFO: Extracted packet for processing {"connection_id":232130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:16:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:16:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:16:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:16:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":232130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:16:42] local.INFO: GPS data processed {"connection_id":232130,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:16:42] local.INFO: Acknowledgment sent {"connection_id":232130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:17:13] local.INFO: TCP Data received {"connection_id":232130,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:17:13] local.INFO: Processing buffer {"connection_id":232130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:17:13] local.INFO: Packet analysis {"connection_id":232130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:17:13] local.INFO: Extracted packet for processing {"connection_id":232130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:17:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":232130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:17:13] local.INFO: GPS data processed {"connection_id":232130,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:17:13] local.INFO: Acknowledgment sent {"connection_id":232130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:17:35] local.INFO: TCP Data received {"connection_id":228536,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:17:35] local.INFO: Processing buffer {"connection_id":228536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:17:35] local.INFO: IMEI packet received {"connection_id":228536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":228536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:17:41] local.INFO: TCP Data received {"connection_id":228536,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:17:41] local.INFO: Processing buffer {"connection_id":228536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:17:41] local.INFO: IMEI packet received {"connection_id":228536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":228536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:17:41] local.INFO: TCP Data received {"connection_id":228536,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:17:41] local.INFO: Processing buffer {"connection_id":228536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:17:41] local.INFO: Packet analysis {"connection_id":228536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:17:41] local.INFO: Extracted packet for processing {"connection_id":228536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":228536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:17:41] local.INFO: GPS data processed {"connection_id":228536,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:17:41] local.INFO: Acknowledgment sent {"connection_id":228536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:18:12] local.INFO: TCP Data received {"connection_id":228536,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:18:12] local.INFO: Processing buffer {"connection_id":228536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:18:12] local.INFO: Packet analysis {"connection_id":228536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:18:12] local.INFO: Extracted packet for processing {"connection_id":228536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:18:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:18:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":228536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:18:12] local.INFO: GPS data processed {"connection_id":228536,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:18:13] local.INFO: Acknowledgment sent {"connection_id":228536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:18:35] local.INFO: TCP Data received {"connection_id":232131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:18:35] local.INFO: Processing buffer {"connection_id":232131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:18:35] local.INFO: IMEI packet received {"connection_id":232131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":232131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:18:41] local.INFO: TCP Data received {"connection_id":232131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:18:41] local.INFO: Processing buffer {"connection_id":232131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:18:41] local.INFO: IMEI packet received {"connection_id":232131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":232131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:18:41] local.INFO: TCP Data received {"connection_id":232131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:18:41] local.INFO: Processing buffer {"connection_id":232131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:18:41] local.INFO: Packet analysis {"connection_id":232131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:18:41] local.INFO: Extracted packet for processing {"connection_id":232131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":232131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:18:41] local.INFO: GPS data processed {"connection_id":232131,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:18:41] local.INFO: Acknowledgment sent {"connection_id":232131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:19:13] local.INFO: TCP Data received {"connection_id":232131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:13] local.INFO: Processing buffer {"connection_id":232131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:13] local.INFO: Packet analysis {"connection_id":232131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:19:13] local.INFO: Extracted packet for processing {"connection_id":232131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:19:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":232131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:19:13] local.INFO: GPS data processed {"connection_id":232131,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:19:13] local.INFO: Acknowledgment sent {"connection_id":232131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:19:41] local.INFO: TCP Data received {"connection_id":229029,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:19:41] local.INFO: Processing buffer {"connection_id":229029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:19:41] local.INFO: IMEI packet received {"connection_id":229029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":229029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:19:46] local.INFO: TCP Data received {"connection_id":229029,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:19:46] local.INFO: Processing buffer {"connection_id":229029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:19:46] local.INFO: IMEI packet received {"connection_id":229029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":229029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:19:46] local.INFO: TCP Data received {"connection_id":229029,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:46] local.INFO: Processing buffer {"connection_id":229029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:46] local.INFO: Packet analysis {"connection_id":229029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:19:46] local.INFO: Extracted packet for processing {"connection_id":229029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:19:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:19:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":229029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:19:46] local.INFO: GPS data processed {"connection_id":229029,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:19:46] local.INFO: Acknowledgment sent {"connection_id":229029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:19:51] local.INFO: TCP Data received {"connection_id":229029,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:51] local.INFO: Processing buffer {"connection_id":229029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:19:51] local.INFO: Packet analysis {"connection_id":229029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:19:51] local.INFO: Extracted packet for processing {"connection_id":229029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:19:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:19:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:19:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":229029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:19:51] local.INFO: GPS data processed {"connection_id":229029,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:19:51] local.INFO: Acknowledgment sent {"connection_id":229029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:20:36] local.INFO: TCP Data received {"connection_id":228539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:20:36] local.INFO: Processing buffer {"connection_id":228539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:20:36] local.INFO: IMEI packet received {"connection_id":228539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":228539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:20:41] local.INFO: TCP Data received {"connection_id":228539,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:20:41] local.INFO: Processing buffer {"connection_id":228539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:20:41] local.INFO: IMEI packet received {"connection_id":228539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":228539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:20:41] local.INFO: TCP Data received {"connection_id":228539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:20:41] local.INFO: Processing buffer {"connection_id":228539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2baab68012ce51bc007234b90000900802e..."} 
[2026-11-04 00:20:41] local.INFO: Packet analysis {"connection_id":228539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:20:41] local.INFO: Extracted packet for processing {"connection_id":228539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ba"} 
[2026-11-04 00:20:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195188224001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:20:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731505000,"timestamp_ms":1793731505000,"timestamp_seconds":1793731505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2baab68"} 
[2026-11-04 00:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195188224001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195188224001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:20:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:20:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:20:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195188224001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":228539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:20:41] local.INFO: GPS data processed {"connection_id":228539,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:20:41] local.INFO: Acknowledgment sent {"connection_id":228539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:20:45] local.INFO: TCP Data received {"connection_id":228538,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:20:45] local.INFO: Processing buffer {"connection_id":228538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:20:45] local.INFO: IMEI packet received {"connection_id":228538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":228538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:21:12] local.INFO: TCP Data received {"connection_id":228539,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:21:12] local.INFO: Processing buffer {"connection_id":228539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:21:12] local.INFO: Packet analysis {"connection_id":228539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:21:12] local.INFO: Extracted packet for processing {"connection_id":228539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:21:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":228539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:21:12] local.INFO: GPS data processed {"connection_id":228539,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:21:12] local.INFO: Acknowledgment sent {"connection_id":228539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:21:14] local.INFO: TCP Data received {"connection_id":228540,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:21:14] local.INFO: Processing buffer {"connection_id":228540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:21:14] local.INFO: IMEI packet received {"connection_id":228540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":228540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:22:11] local.INFO: TCP Data received {"connection_id":229030,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:11] local.INFO: Processing buffer {"connection_id":229030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:11] local.INFO: IMEI packet received {"connection_id":229030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:22:16] local.INFO: TCP Data received {"connection_id":229030,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:16] local.INFO: Processing buffer {"connection_id":229030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:16] local.INFO: IMEI packet received {"connection_id":229030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":229030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:22:17] local.INFO: TCP Data received {"connection_id":229030,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:22:17] local.INFO: Processing buffer {"connection_id":229030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:22:17] local.INFO: Packet analysis {"connection_id":229030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:22:17] local.INFO: Extracted packet for processing {"connection_id":229030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:22:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:22:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":229030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:22:17] local.INFO: GPS data processed {"connection_id":229030,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:22:17] local.INFO: Acknowledgment sent {"connection_id":229030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:22:41] local.INFO: TCP Data received {"connection_id":230267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:41] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:41] local.INFO: IMEI packet received {"connection_id":230267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":230267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:22:46] local.INFO: TCP Data received {"connection_id":230267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:46] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:22:46] local.INFO: IMEI packet received {"connection_id":230267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":230267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:22:46] local.INFO: TCP Data received {"connection_id":230267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:22:46] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:22:46] local.INFO: Packet analysis {"connection_id":230267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:22:46] local.INFO: Extracted packet for processing {"connection_id":230267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:22:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:22:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":230267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:22:47] local.INFO: GPS data processed {"connection_id":230267,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:22:47] local.INFO: Acknowledgment sent {"connection_id":230267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:23:18] local.INFO: TCP Data received {"connection_id":230267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:23:18] local.INFO: Processing buffer {"connection_id":230267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:23:18] local.INFO: Packet analysis {"connection_id":230267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:23:18] local.INFO: Extracted packet for processing {"connection_id":230267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:23:18] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:23:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:23:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:23:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":230267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:23:18] local.INFO: GPS data processed {"connection_id":230267,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:23:18] local.INFO: Acknowledgment sent {"connection_id":230267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:23:33] local.INFO: TCP Data received {"connection_id":229033,"ip":"91.231.89.175","data_length":614,"data_hex":"16030302610100025d03033f001267eb6344f1df0f911aa29cdf28d13a93ef1b..."} 
[2026-11-04 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229033,"packet_length":614,"packet_hex":"16030302610100025d03033f001267eb6344f1df0f911aa29cdf28d13a93ef1b..."} 
[2026-11-04 00:23:33] local.INFO: Processing buffer {"connection_id":229033,"buffer_length":614,"buffer_hex":"16030302610100025d03033f001267eb6344f1df0f911aa29cdf28d13a93ef1b..."} 
[2026-11-04 00:23:33] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":229033,"buffer_length":614,"first_bytes_hex":"16030302610100025d03033f001267eb"} 
[2026-11-04 00:23:36] local.INFO: TCP Data received {"connection_id":228542,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:23:36] local.INFO: Processing buffer {"connection_id":228542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:23:36] local.INFO: IMEI packet received {"connection_id":228542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":228542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:23:41] local.INFO: TCP Data received {"connection_id":228542,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:23:41] local.INFO: Processing buffer {"connection_id":228542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:23:41] local.INFO: IMEI packet received {"connection_id":228542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":228542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:23:46] local.INFO: TCP Data received {"connection_id":228542,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:23:46] local.INFO: Processing buffer {"connection_id":228542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:23:46] local.INFO: Packet analysis {"connection_id":228542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:23:46] local.INFO: Extracted packet for processing {"connection_id":228542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:23:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:23:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:23:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":228542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:23:46] local.INFO: GPS data processed {"connection_id":228542,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:23:46] local.INFO: Acknowledgment sent {"connection_id":228542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:24:17] local.INFO: TCP Data received {"connection_id":228542,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:24:17] local.INFO: Processing buffer {"connection_id":228542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:24:17] local.INFO: Packet analysis {"connection_id":228542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:24:17] local.INFO: Extracted packet for processing {"connection_id":228542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:24:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:24:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:24:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:24:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":228542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:24:17] local.INFO: GPS data processed {"connection_id":228542,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:24:17] local.INFO: Acknowledgment sent {"connection_id":228542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:24:35] local.INFO: TCP Data received {"connection_id":232133,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:24:35] local.INFO: Processing buffer {"connection_id":232133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:24:35] local.INFO: IMEI packet received {"connection_id":232133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":232133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:24:41] local.INFO: TCP Data received {"connection_id":232133,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:24:41] local.INFO: Processing buffer {"connection_id":232133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:24:41] local.INFO: IMEI packet received {"connection_id":232133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":232133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:24:41] local.INFO: TCP Data received {"connection_id":232133,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:24:41] local.INFO: Processing buffer {"connection_id":232133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:24:41] local.INFO: Packet analysis {"connection_id":232133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:24:41] local.INFO: Extracted packet for processing {"connection_id":232133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:24:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:24:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":232133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:24:41] local.INFO: GPS data processed {"connection_id":232133,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:24:41] local.INFO: Acknowledgment sent {"connection_id":232133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:25:13] local.INFO: TCP Data received {"connection_id":232133,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:25:13] local.INFO: Processing buffer {"connection_id":232133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2bf4330012ce51bc007234b900009008030..."} 
[2026-11-04 00:25:13] local.INFO: Packet analysis {"connection_id":232133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:25:13] local.INFO: Extracted packet for processing {"connection_id":232133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2bf"} 
[2026-11-04 00:25:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793731806000,"timestamp_ms":1793731806000,"timestamp_seconds":1793731806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2bf4330"} 
[2026-11-04 00:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195265280001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:25:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:25:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:25:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195265280001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":232133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:25:13] local.INFO: GPS data processed {"connection_id":232133,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:25:13] local.INFO: Acknowledgment sent {"connection_id":232133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:25:43] local.INFO: TCP Data received {"connection_id":228543,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:25:43] local.INFO: Processing buffer {"connection_id":228543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:25:43] local.INFO: IMEI packet received {"connection_id":228543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":228543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:25:46] local.INFO: TCP Data received {"connection_id":228543,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:25:46] local.INFO: Processing buffer {"connection_id":228543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:25:46] local.INFO: IMEI packet received {"connection_id":228543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:25:46] local.INFO: IMEI acknowledgment sent {"connection_id":228543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:25:46] local.INFO: TCP Data received {"connection_id":228543,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:25:46] local.INFO: Processing buffer {"connection_id":228543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:25:46] local.INFO: Packet analysis {"connection_id":228543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:25:46] local.INFO: Extracted packet for processing {"connection_id":228543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:25:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":228543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:25:47] local.INFO: GPS data processed {"connection_id":228543,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:25:47] local.INFO: Acknowledgment sent {"connection_id":228543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:25:47] local.INFO: TCP Data received {"connection_id":228543,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:25:47] local.INFO: Processing buffer {"connection_id":228543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:25:47] local.INFO: Packet analysis {"connection_id":228543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:25:47] local.INFO: Extracted packet for processing {"connection_id":228543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:25:47] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":228543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:25:47] local.INFO: GPS data processed {"connection_id":228543,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:25:47] local.INFO: Acknowledgment sent {"connection_id":228543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:26:21] local.INFO: TCP Data received {"connection_id":228543,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:26:21] local.INFO: Processing buffer {"connection_id":228543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:26:21] local.INFO: Packet analysis {"connection_id":228543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:26:21] local.INFO: Extracted packet for processing {"connection_id":228543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:26:21] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:26:21] 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-11-04 00:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:26:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":228543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:26:21] local.INFO: GPS data processed {"connection_id":228543,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:26:21] local.INFO: Acknowledgment sent {"connection_id":228543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:26:29] local.INFO: TCP Data received {"connection_id":232134,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:26:29] local.INFO: Processing buffer {"connection_id":232134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:26:29] local.INFO: IMEI packet received {"connection_id":232134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":232134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:26:36] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:26:36] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:26:36] local.INFO: IMEI packet received {"connection_id":230268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":230268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:26:41] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:26:41] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:26:41] local.INFO: IMEI packet received {"connection_id":230268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":230268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:26:42] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:26:42] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:26:42] local.INFO: Packet analysis {"connection_id":230268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:26:42] local.INFO: Extracted packet for processing {"connection_id":230268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:26:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":230268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:26:42] local.INFO: GPS data processed {"connection_id":230268,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:26:42] local.INFO: Acknowledgment sent {"connection_id":230268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:27:10] local.INFO: TCP Data received {"connection_id":232135,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:27:10] local.INFO: Processing buffer {"connection_id":232135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:27:10] local.INFO: IMEI packet received {"connection_id":232135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":232135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:27:13] local.INFO: TCP Data received {"connection_id":230268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:27:13] local.INFO: Processing buffer {"connection_id":230268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:27:13] local.INFO: Packet analysis {"connection_id":230268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:27:13] local.INFO: Extracted packet for processing {"connection_id":230268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:27:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:27:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":230268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:27:13] local.INFO: GPS data processed {"connection_id":230268,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:27:13] local.INFO: Acknowledgment sent {"connection_id":230268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:27:35] local.INFO: TCP Data received {"connection_id":230269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:27:35] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:27:35] local.INFO: IMEI packet received {"connection_id":230269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":230269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:27:41] local.INFO: TCP Data received {"connection_id":230269,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:27:41] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:27:41] local.INFO: IMEI packet received {"connection_id":230269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":230269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:27:42] local.INFO: TCP Data received {"connection_id":230269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:27:42] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:27:42] local.INFO: Packet analysis {"connection_id":230269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:27:42] local.INFO: Extracted packet for processing {"connection_id":230269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:27:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:27:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:27:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:27:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":230269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:27:42] local.INFO: GPS data processed {"connection_id":230269,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:27:42] local.INFO: Acknowledgment sent {"connection_id":230269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:28:15] local.INFO: TCP Data received {"connection_id":230269,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:15] local.INFO: Processing buffer {"connection_id":230269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:15] local.INFO: Packet analysis {"connection_id":230269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:28:15] local.INFO: Extracted packet for processing {"connection_id":230269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:28:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:28:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":230269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:28:15] local.INFO: GPS data processed {"connection_id":230269,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:28:15] local.INFO: Acknowledgment sent {"connection_id":230269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:28:41] local.INFO: TCP Data received {"connection_id":232136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:28:41] local.INFO: Processing buffer {"connection_id":232136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:28:41] local.INFO: IMEI packet received {"connection_id":232136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":232136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:28:46] local.INFO: TCP Data received {"connection_id":232136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:28:46] local.INFO: Processing buffer {"connection_id":232136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:28:46] local.INFO: IMEI packet received {"connection_id":232136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":232136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:28:49] local.INFO: TCP Data received {"connection_id":232136,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:49] local.INFO: Processing buffer {"connection_id":232136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:49] local.INFO: Packet analysis {"connection_id":232136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:28:49] local.INFO: Extracted packet for processing {"connection_id":232136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:28:49] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:28:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:28:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":232136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:28:49] local.INFO: GPS data processed {"connection_id":232136,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:28:49] local.INFO: Acknowledgment sent {"connection_id":232136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:28:51] local.INFO: TCP Data received {"connection_id":232136,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:51] local.INFO: Processing buffer {"connection_id":232136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:28:51] local.INFO: Packet analysis {"connection_id":232136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:28:51] local.INFO: Extracted packet for processing {"connection_id":232136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:28:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:28:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":232136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:28:51] local.INFO: GPS data processed {"connection_id":232136,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:28:51] local.INFO: Acknowledgment sent {"connection_id":232136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:29:36] local.INFO: TCP Data received {"connection_id":228544,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:29:36] local.INFO: Processing buffer {"connection_id":228544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:29:36] local.INFO: IMEI packet received {"connection_id":228544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":228544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:29:41] local.INFO: TCP Data received {"connection_id":228544,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:29:41] local.INFO: Processing buffer {"connection_id":228544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:29:41] local.INFO: IMEI packet received {"connection_id":228544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":228544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:29:46] local.INFO: TCP Data received {"connection_id":228544,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:29:46] local.INFO: Processing buffer {"connection_id":228544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:29:46] local.INFO: Packet analysis {"connection_id":228544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:29:46] local.INFO: Extracted packet for processing {"connection_id":228544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:29:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:29:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":228544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:29:46] local.INFO: GPS data processed {"connection_id":228544,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:29:46] local.INFO: Acknowledgment sent {"connection_id":228544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:30:35] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:30:35] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:30:35] local.INFO: IMEI packet received {"connection_id":230273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":230273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:30:41] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:30:41] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:30:41] local.INFO: IMEI packet received {"connection_id":230273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":230273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:30:42] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:30:42] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:30:42] local.INFO: Packet analysis {"connection_id":230273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:30:42] local.INFO: Extracted packet for processing {"connection_id":230273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:30:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:30:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":230273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:30:42] local.INFO: GPS data processed {"connection_id":230273,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:30:42] local.INFO: Acknowledgment sent {"connection_id":230273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:31:12] local.INFO: TCP Data received {"connection_id":230273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:31:12] local.INFO: Processing buffer {"connection_id":230273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:31:12] local.INFO: Packet analysis {"connection_id":230273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:31:12] local.INFO: Extracted packet for processing {"connection_id":230273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:31:12] 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-11-04 00:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:31:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":230273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:31:12] local.INFO: GPS data processed {"connection_id":230273,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:31:12] local.INFO: Acknowledgment sent {"connection_id":230273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:31:25] local.INFO: TCP Data received {"connection_id":228544,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:31:25] local.INFO: Processing buffer {"connection_id":228544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c3daf8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:31:25] local.INFO: Packet analysis {"connection_id":228544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:31:25] local.INFO: Extracted packet for processing {"connection_id":228544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c3"} 
[2026-11-04 00:31:25] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793732107000,"timestamp_ms":1793732107000,"timestamp_seconds":1793732107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c3daf8"} 
[2026-11-04 00:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195342336001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:31:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:31:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195342336001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":228544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:31:25] local.INFO: GPS data processed {"connection_id":228544,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:31:25] local.INFO: Acknowledgment sent {"connection_id":228544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:31:36] local.INFO: TCP Data received {"connection_id":229038,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:31:36] local.INFO: Processing buffer {"connection_id":229038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:31:36] local.INFO: IMEI packet received {"connection_id":229038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":229038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:31:41] local.INFO: TCP Data received {"connection_id":229038,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:31:41] local.INFO: Processing buffer {"connection_id":229038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:31:41] local.INFO: IMEI packet received {"connection_id":229038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":229038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:31:42] local.INFO: TCP Data received {"connection_id":229038,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:31:42] local.INFO: Processing buffer {"connection_id":229038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:31:42] local.INFO: Packet analysis {"connection_id":229038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:31:42] local.INFO: Extracted packet for processing {"connection_id":229038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:31:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:31:42] 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-11-04 00:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:31:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:31:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":229038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:31:42] local.INFO: GPS data processed {"connection_id":229038,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:31:42] local.INFO: Acknowledgment sent {"connection_id":229038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:32:13] local.INFO: TCP Data received {"connection_id":229038,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:32:13] local.INFO: Processing buffer {"connection_id":229038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:32:13] local.INFO: Packet analysis {"connection_id":229038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:32:13] local.INFO: Extracted packet for processing {"connection_id":229038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:32:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:32:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:32:13] 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-11-04 00:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:32:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:32:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":229038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:32:13] local.INFO: GPS data processed {"connection_id":229038,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:32:13] local.INFO: Acknowledgment sent {"connection_id":229038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:32:30] local.INFO: TCP Data received {"connection_id":229039,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:32:30] local.INFO: Processing buffer {"connection_id":229039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:32:30] local.INFO: IMEI packet received {"connection_id":229039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":229039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:32:36] local.INFO: TCP Data received {"connection_id":232137,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:32:36] local.INFO: Processing buffer {"connection_id":232137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:32:36] local.INFO: IMEI packet received {"connection_id":232137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":232137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:32:41] local.INFO: TCP Data received {"connection_id":232137,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:32:41] local.INFO: Processing buffer {"connection_id":232137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:32:41] local.INFO: IMEI packet received {"connection_id":232137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":232137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:32:41] local.INFO: TCP Data received {"connection_id":232137,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:32:41] local.INFO: Processing buffer {"connection_id":232137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:32:41] local.INFO: Packet analysis {"connection_id":232137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:32:41] local.INFO: Extracted packet for processing {"connection_id":232137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:32:41] 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-11-04 00:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:32:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:32:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":232137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:32:42] local.INFO: GPS data processed {"connection_id":232137,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:32:42] local.INFO: Acknowledgment sent {"connection_id":232137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:33:13] local.INFO: TCP Data received {"connection_id":232137,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:33:13] local.INFO: Processing buffer {"connection_id":232137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:33:13] local.INFO: Packet analysis {"connection_id":232137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:33:13] local.INFO: Extracted packet for processing {"connection_id":232137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:33:13] 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-11-04 00:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":232137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:33:13] local.INFO: GPS data processed {"connection_id":232137,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:33:13] local.INFO: Acknowledgment sent {"connection_id":232137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:33:15] local.INFO: TCP Data received {"connection_id":230274,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:33:15] local.INFO: Processing buffer {"connection_id":230274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:33:15] local.INFO: IMEI packet received {"connection_id":230274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":230274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:33:35] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:33:35] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:33:35] local.INFO: IMEI packet received {"connection_id":230275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":230275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:33:41] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:33:41] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:33:41] local.INFO: IMEI packet received {"connection_id":230275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":230275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:33:41] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:33:41] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:33:41] local.INFO: Packet analysis {"connection_id":230275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:33:41] local.INFO: Extracted packet for processing {"connection_id":230275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:33:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:33:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:33:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":230275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:33:42] local.INFO: GPS data processed {"connection_id":230275,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:33:42] local.INFO: Acknowledgment sent {"connection_id":230275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:34:13] local.INFO: TCP Data received {"connection_id":230275,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:34:13] local.INFO: Processing buffer {"connection_id":230275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:34:13] local.INFO: Packet analysis {"connection_id":230275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:34:13] local.INFO: Extracted packet for processing {"connection_id":230275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:34:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:34:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:34:13] 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-11-04 00: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-11-04 00:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:34:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:34:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":230275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:34:13] local.INFO: GPS data processed {"connection_id":230275,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:34:13] local.INFO: Acknowledgment sent {"connection_id":230275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:34:35] local.INFO: TCP Data received {"connection_id":228546,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:35] local.INFO: Processing buffer {"connection_id":228546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:35] local.INFO: IMEI packet received {"connection_id":228546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":228546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:34:41] local.INFO: TCP Data received {"connection_id":228546,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:41] local.INFO: Processing buffer {"connection_id":228546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:41] local.INFO: IMEI packet received {"connection_id":228546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":228546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:34:46] local.INFO: TCP Data received {"connection_id":228546,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:46] local.INFO: Processing buffer {"connection_id":228546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:34:46] local.INFO: IMEI packet received {"connection_id":228546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":228546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:34:47] local.INFO: TCP Data received {"connection_id":228546,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:34:47] local.INFO: Processing buffer {"connection_id":228546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:34:47] local.INFO: Packet analysis {"connection_id":228546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:34:47] local.INFO: Extracted packet for processing {"connection_id":228546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:34:47] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:34:47] 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-11-04 00:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:34:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:34:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":228546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:34:47] local.INFO: GPS data processed {"connection_id":228546,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:34:47] local.INFO: Acknowledgment sent {"connection_id":228546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:35:18] local.INFO: TCP Data received {"connection_id":228546,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:35:18] local.INFO: Processing buffer {"connection_id":228546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:35:18] local.INFO: Packet analysis {"connection_id":228546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:35:18] local.INFO: Extracted packet for processing {"connection_id":228546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:35:18] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:35:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":228546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:35:18] local.INFO: GPS data processed {"connection_id":228546,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:35:18] local.INFO: Acknowledgment sent {"connection_id":228546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:35:41] local.INFO: TCP Data received {"connection_id":232138,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:35:41] local.INFO: Processing buffer {"connection_id":232138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:35:41] local.INFO: IMEI packet received {"connection_id":232138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":232138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:35:46] local.INFO: TCP Data received {"connection_id":232138,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:35:46] local.INFO: Processing buffer {"connection_id":232138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:35:46] local.INFO: IMEI packet received {"connection_id":232138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":232138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:35:46] local.INFO: TCP Data received {"connection_id":232138,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:35:46] local.INFO: Processing buffer {"connection_id":232138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2c872c0012ce51bc007234b900009008030..."} 
[2026-11-04 00:35:46] local.INFO: Packet analysis {"connection_id":232138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:35:46] local.INFO: Extracted packet for processing {"connection_id":232138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2c8"} 
[2026-11-04 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195419392001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793732408000,"timestamp_ms":1793732408000,"timestamp_seconds":1793732408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2c872c0"} 
[2026-11-04 00:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 00:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195419392001,"66":24897,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195419392001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:35:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195419392001,"power":24897,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":232138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:35:46] local.INFO: GPS data processed {"connection_id":232138,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:35:46] local.INFO: Acknowledgment sent {"connection_id":232138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:35:51] local.INFO: TCP Data received {"connection_id":232138,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:35:51] local.INFO: Processing buffer {"connection_id":232138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:35:51] local.INFO: Packet analysis {"connection_id":232138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:35:51] local.INFO: Extracted packet for processing {"connection_id":232138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:35:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793732710000,"timestamp_ms":1793732710000,"timestamp_seconds":1793732710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2cd0e70"} 
[2026-11-04 00:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195496448001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:35:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195496448001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":232138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:35:51] local.INFO: GPS data processed {"connection_id":232138,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:35:51] local.INFO: Acknowledgment sent {"connection_id":232138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:36:36] local.INFO: TCP Data received {"connection_id":232139,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:36:36] local.INFO: Processing buffer {"connection_id":232139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:36:36] local.INFO: IMEI packet received {"connection_id":232139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":232139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:36:41] local.INFO: TCP Data received {"connection_id":232139,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:36:41] local.INFO: Processing buffer {"connection_id":232139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:36:41] local.INFO: IMEI packet received {"connection_id":232139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":232139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:36:56] local.INFO: TCP Data received {"connection_id":232139,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:36:56] local.INFO: Processing buffer {"connection_id":232139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:36:56] local.INFO: Packet analysis {"connection_id":232139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:36:56] local.INFO: Extracted packet for processing {"connection_id":232139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:36:56] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793732710000,"timestamp_ms":1793732710000,"timestamp_seconds":1793732710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2cd0e70"} 
[2026-11-04 00:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":232139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":232139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":232139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:36: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-11-04 00:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195496448001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:36:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:36:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195496448001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":232139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:36:56] local.INFO: GPS data processed {"connection_id":232139,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:36:56] local.INFO: Acknowledgment sent {"connection_id":232139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:37:35] local.INFO: TCP Data received {"connection_id":230277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:37:35] local.INFO: Processing buffer {"connection_id":230277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:37:35] local.INFO: IMEI packet received {"connection_id":230277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":230277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:37:41] local.INFO: TCP Data received {"connection_id":230277,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:37:41] local.INFO: Processing buffer {"connection_id":230277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:37:41] local.INFO: IMEI packet received {"connection_id":230277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":230277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:37:42] local.INFO: TCP Data received {"connection_id":230277,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:37:42] local.INFO: Processing buffer {"connection_id":230277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:37:42] local.INFO: Packet analysis {"connection_id":230277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:37:42] local.INFO: Extracted packet for processing {"connection_id":230277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:37:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793732710000,"timestamp_ms":1793732710000,"timestamp_seconds":1793732710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2cd0e70"} 
[2026-11-04 00:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195496448001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:37:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195496448001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":230277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:37:42] local.INFO: GPS data processed {"connection_id":230277,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:37:42] local.INFO: Acknowledgment sent {"connection_id":230277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:38:35] local.INFO: TCP Data received {"connection_id":229041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:38:35] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:38:35] local.INFO: IMEI packet received {"connection_id":229041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":229041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:38:40] local.INFO: TCP Data received {"connection_id":228548,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:38:40] local.INFO: Processing buffer {"connection_id":228548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:38:40] local.INFO: IMEI packet received {"connection_id":228548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":228548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:38:41] local.INFO: TCP Data received {"connection_id":229041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:38:41] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:38:41] local.INFO: IMEI packet received {"connection_id":229041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":229041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:38:42] local.INFO: TCP Data received {"connection_id":229041,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:38:42] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:38:42] local.INFO: Packet analysis {"connection_id":229041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:38:42] local.INFO: Extracted packet for processing {"connection_id":229041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793732710000,"timestamp_ms":1793732710000,"timestamp_seconds":1793732710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2cd0e70"} 
[2026-11-04 00:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195496448001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:38:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195496448001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":229041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:38:42] local.INFO: GPS data processed {"connection_id":229041,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:38:42] local.INFO: Acknowledgment sent {"connection_id":229041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:39:13] local.INFO: TCP Data received {"connection_id":229041,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:13] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:13] local.INFO: Packet analysis {"connection_id":229041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:39:13] local.INFO: Extracted packet for processing {"connection_id":229041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:39:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793732710000,"timestamp_ms":1793732710000,"timestamp_seconds":1793732710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2cd0e70"} 
[2026-11-04 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-11-04 00:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195496448001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:39:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195496448001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":229041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:39:13] local.INFO: GPS data processed {"connection_id":229041,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:39:13] local.INFO: Acknowledgment sent {"connection_id":229041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:39:41] local.INFO: TCP Data received {"connection_id":232140,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:41] local.INFO: Processing buffer {"connection_id":232140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:41] local.INFO: IMEI packet received {"connection_id":232140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":232140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:39:46] local.INFO: TCP Data received {"connection_id":232140,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:46] local.INFO: Processing buffer {"connection_id":232140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:46] local.INFO: IMEI packet received {"connection_id":232140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":232140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:39:51] local.INFO: TCP Data received {"connection_id":232140,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:51] local.INFO: Processing buffer {"connection_id":232140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:39:51] local.INFO: IMEI packet received {"connection_id":232140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":232140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:39:51] local.INFO: TCP Data received {"connection_id":232140,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:51] local.INFO: Processing buffer {"connection_id":232140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:51] local.INFO: Packet analysis {"connection_id":232140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:39:51] local.INFO: Extracted packet for processing {"connection_id":232140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:39:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793732710000,"timestamp_ms":1793732710000,"timestamp_seconds":1793732710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2cd0e70"} 
[2026-11-04 00:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195496448001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:39:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:39:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195496448001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":232140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:39:51] local.INFO: GPS data processed {"connection_id":232140,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:39:51] local.INFO: Acknowledgment sent {"connection_id":232140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:39:56] local.INFO: TCP Data received {"connection_id":232140,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:56] local.INFO: Processing buffer {"connection_id":232140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2cd0e70012ce51bc007234b900009008032..."} 
[2026-11-04 00:39:56] local.INFO: Packet analysis {"connection_id":232140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:39:56] local.INFO: Extracted packet for processing {"connection_id":232140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2cd"} 
[2026-11-04 00:39:56] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793732710000,"timestamp_ms":1793732710000,"timestamp_seconds":1793732710,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2cd0e70"} 
[2026-11-04 00:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 00:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":232140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":232140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":232140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:39: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-11-04 00:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195496448001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:39:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:39:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:39:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195496448001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":232140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:39:56] local.INFO: GPS data processed {"connection_id":232140,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:39:56] local.INFO: Acknowledgment sent {"connection_id":232140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:40:35] local.INFO: TCP Data received {"connection_id":230278,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:40:35] local.INFO: Processing buffer {"connection_id":230278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:40:35] local.INFO: IMEI packet received {"connection_id":230278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":230278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:40:36] local.INFO: TCP Data received {"connection_id":229042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:36] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:36] local.INFO: IMEI packet received {"connection_id":229042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":229042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:40:41] local.INFO: TCP Data received {"connection_id":229042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:41] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:41] local.INFO: IMEI packet received {"connection_id":229042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":229042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:40:52] local.INFO: TCP Data received {"connection_id":229042,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:52] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:40:52] local.INFO: IMEI packet received {"connection_id":229042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":229042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:40:53] local.INFO: TCP Data received {"connection_id":229042,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:40:53] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:40:53] local.INFO: Packet analysis {"connection_id":229042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:40:53] local.INFO: Extracted packet for processing {"connection_id":229042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:40:53] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:40:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:40:53] 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-11-04 00:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:40:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:40:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:40:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":229042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:40:53] local.INFO: GPS data processed {"connection_id":229042,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:40:53] local.INFO: Acknowledgment sent {"connection_id":229042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:40:54] local.INFO: TCP Data received {"connection_id":229042,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:40:54] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:40:54] local.INFO: Packet analysis {"connection_id":229042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:40:54] local.INFO: Extracted packet for processing {"connection_id":229042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:40:54] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":229042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:40:54] local.INFO: GPS data processed {"connection_id":229042,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:40:54] local.INFO: Acknowledgment sent {"connection_id":229042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:41:35] local.INFO: TCP Data received {"connection_id":228549,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:41:35] local.INFO: Processing buffer {"connection_id":228549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:41:35] local.INFO: IMEI packet received {"connection_id":228549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":228549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:41:41] local.INFO: TCP Data received {"connection_id":228549,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:41:41] local.INFO: Processing buffer {"connection_id":228549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:41:41] local.INFO: IMEI packet received {"connection_id":228549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":228549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:41:41] local.INFO: TCP Data received {"connection_id":228549,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:41:41] local.INFO: Processing buffer {"connection_id":228549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:41:41] local.INFO: Packet analysis {"connection_id":228549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:41:41] local.INFO: Extracted packet for processing {"connection_id":228549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":228549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:41:42] local.INFO: GPS data processed {"connection_id":228549,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:41:42] local.INFO: Acknowledgment sent {"connection_id":228549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:42:13] local.INFO: TCP Data received {"connection_id":228549,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:42:13] local.INFO: Processing buffer {"connection_id":228549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:42:13] local.INFO: Packet analysis {"connection_id":228549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:42:13] local.INFO: Extracted packet for processing {"connection_id":228549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:42:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:42:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":228549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:42:13] local.INFO: GPS data processed {"connection_id":228549,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:42:13] local.INFO: Acknowledgment sent {"connection_id":228549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:42:35] local.INFO: TCP Data received {"connection_id":229043,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:42:35] local.INFO: Processing buffer {"connection_id":229043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:42:35] local.INFO: IMEI packet received {"connection_id":229043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":229043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:42:40] local.INFO: TCP Data received {"connection_id":229043,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:42:40] local.INFO: Processing buffer {"connection_id":229043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:42:40] local.INFO: IMEI packet received {"connection_id":229043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":229043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:42:41] local.INFO: TCP Data received {"connection_id":229043,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:42:41] local.INFO: Processing buffer {"connection_id":229043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:42:41] local.INFO: Packet analysis {"connection_id":229043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:42:41] local.INFO: Extracted packet for processing {"connection_id":229043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:42:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":229043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:42:41] local.INFO: GPS data processed {"connection_id":229043,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:42:41] local.INFO: Acknowledgment sent {"connection_id":229043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:43:12] local.INFO: TCP Data received {"connection_id":229043,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:12] local.INFO: Processing buffer {"connection_id":229043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:12] local.INFO: Packet analysis {"connection_id":229043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:43:12] local.INFO: Extracted packet for processing {"connection_id":229043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 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-11-04 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:43:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":229043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:43:12] local.INFO: GPS data processed {"connection_id":229043,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:43:12] local.INFO: Acknowledgment sent {"connection_id":229043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:43:36] local.INFO: TCP Data received {"connection_id":228551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:43:36] local.INFO: Processing buffer {"connection_id":228551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:43:36] local.INFO: IMEI packet received {"connection_id":228551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":228551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:43:41] local.INFO: TCP Data received {"connection_id":228551,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:43:41] local.INFO: Processing buffer {"connection_id":228551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:43:41] local.INFO: IMEI packet received {"connection_id":228551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":228551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:43:41] local.INFO: TCP Data received {"connection_id":228551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:41] local.INFO: Processing buffer {"connection_id":228551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:41] local.INFO: Packet analysis {"connection_id":228551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:43:41] local.INFO: Extracted packet for processing {"connection_id":228551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":228551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:43:41] local.INFO: GPS data processed {"connection_id":228551,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:43:41] local.INFO: Acknowledgment sent {"connection_id":228551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:43:46] local.INFO: TCP Data received {"connection_id":228551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:46] local.INFO: Processing buffer {"connection_id":228551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:43:46] local.INFO: Packet analysis {"connection_id":228551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:43:46] local.INFO: Extracted packet for processing {"connection_id":228551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:43:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:43:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":228551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:43:46] local.INFO: GPS data processed {"connection_id":228551,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:43:46] local.INFO: Acknowledgment sent {"connection_id":228551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:44:20] local.INFO: TCP Data received {"connection_id":228551,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:44:20] local.INFO: Processing buffer {"connection_id":228551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:44:20] local.INFO: Packet analysis {"connection_id":228551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:44:20] local.INFO: Extracted packet for processing {"connection_id":228551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:44:20] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:44:20] 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-11-04 00:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:44:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":228551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:44:20] local.INFO: GPS data processed {"connection_id":228551,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:44:20] local.INFO: Acknowledgment sent {"connection_id":228551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:44:36] local.INFO: TCP Data received {"connection_id":229044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:44:36] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:44:36] local.INFO: IMEI packet received {"connection_id":229044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":229044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:44:41] local.INFO: TCP Data received {"connection_id":229044,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:44:41] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:44:41] local.INFO: IMEI packet received {"connection_id":229044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":229044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:44:42] local.INFO: TCP Data received {"connection_id":229044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:44:42] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:44:42] local.INFO: Packet analysis {"connection_id":229044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:44:42] local.INFO: Extracted packet for processing {"connection_id":229044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:44:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:44:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:44:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:44:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:44:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":229044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:44:42] local.INFO: GPS data processed {"connection_id":229044,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:44:42] local.INFO: Acknowledgment sent {"connection_id":229044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:45:13] local.INFO: TCP Data received {"connection_id":229044,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:45:13] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:45:13] local.INFO: Packet analysis {"connection_id":229044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:45:13] local.INFO: Extracted packet for processing {"connection_id":229044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:45:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":229044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:45:13] local.INFO: GPS data processed {"connection_id":229044,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:45:13] local.INFO: Acknowledgment sent {"connection_id":229044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:45:35] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:45:35] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:45:35] local.INFO: IMEI packet received {"connection_id":230282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":230282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:45:41] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:45:41] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:45:41] local.INFO: IMEI packet received {"connection_id":230282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":230282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:45:42] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:45:42] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d1a638012ce51bc007234b900009008030..."} 
[2026-11-04 00:45:42] local.INFO: Packet analysis {"connection_id":230282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:45:42] local.INFO: Extracted packet for processing {"connection_id":230282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d1"} 
[2026-11-04 00:45:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195573760001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:45:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793733011000,"timestamp_ms":1793733011000,"timestamp_seconds":1793733011,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d1a638"} 
[2026-11-04 00:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195573760001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195573760001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:45:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:45:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:45:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195573760001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":230282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:45:42] local.INFO: GPS data processed {"connection_id":230282,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:45:42] local.INFO: Acknowledgment sent {"connection_id":230282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:46:10] local.INFO: TCP Data received {"connection_id":230283,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:46:10] local.INFO: Processing buffer {"connection_id":230283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:46:10] local.INFO: IMEI packet received {"connection_id":230283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":230283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:46:13] local.INFO: TCP Data received {"connection_id":230282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:46:13] local.INFO: Processing buffer {"connection_id":230282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:46:13] local.INFO: Packet analysis {"connection_id":230282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:46:13] local.INFO: Extracted packet for processing {"connection_id":230282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 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-11-04 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:46:13] 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-11-04 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-11-04 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-11-04 00:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:46:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":230282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:46:13] local.INFO: GPS data processed {"connection_id":230282,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:46:13] local.INFO: Acknowledgment sent {"connection_id":230282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:46:36] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:46:36] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:46:36] local.INFO: IMEI packet received {"connection_id":230284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":230284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:46:41] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:46:41] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:46:41] local.INFO: IMEI packet received {"connection_id":230284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":230284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:46:41] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:46:42] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:46:42] local.INFO: Packet analysis {"connection_id":230284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:46:42] local.INFO: Extracted packet for processing {"connection_id":230284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:46:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:46:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:46:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":230284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:46:42] local.INFO: GPS data processed {"connection_id":230284,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:46:42] local.INFO: Acknowledgment sent {"connection_id":230284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:47:13] local.INFO: TCP Data received {"connection_id":230284,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:47:13] local.INFO: Processing buffer {"connection_id":230284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:47:13] local.INFO: Packet analysis {"connection_id":230284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:47:13] local.INFO: Extracted packet for processing {"connection_id":230284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:47:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 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-11-04 00:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:47:13] 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-11-04 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-11-04 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-11-04 00:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:47:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:47:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":230284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:47:13] local.INFO: GPS data processed {"connection_id":230284,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:47:13] local.INFO: Acknowledgment sent {"connection_id":230284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:47:35] local.INFO: TCP Data received {"connection_id":230285,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:47:35] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:47:35] local.INFO: IMEI packet received {"connection_id":230285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":230285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:47:41] local.INFO: TCP Data received {"connection_id":230285,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:47:41] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:47:41] local.INFO: IMEI packet received {"connection_id":230285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":230285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:47:41] local.INFO: TCP Data received {"connection_id":230285,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:47:41] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:47:41] local.INFO: Packet analysis {"connection_id":230285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:47:41] local.INFO: Extracted packet for processing {"connection_id":230285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:47:41] 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-11-04 00:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":230285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:47:42] local.INFO: GPS data processed {"connection_id":230285,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:47:42] local.INFO: Acknowledgment sent {"connection_id":230285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:48:16] local.INFO: TCP Data received {"connection_id":230285,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:48:16] local.INFO: Processing buffer {"connection_id":230285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:48:16] local.INFO: Packet analysis {"connection_id":230285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:48:16] local.INFO: Extracted packet for processing {"connection_id":230285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:48:16] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:48:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:48:16] 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-11-04 00: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-11-04 00:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:48:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:48:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":230285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:48:16] local.INFO: GPS data processed {"connection_id":230285,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:48:16] local.INFO: Acknowledgment sent {"connection_id":230285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:48:35] local.INFO: TCP Data received {"connection_id":228554,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:48:35] local.INFO: Processing buffer {"connection_id":228554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:48:35] local.INFO: IMEI packet received {"connection_id":228554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":228554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:48:41] local.INFO: TCP Data received {"connection_id":228554,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:48:41] local.INFO: Processing buffer {"connection_id":228554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:48:41] local.INFO: IMEI packet received {"connection_id":228554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":228554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:48:42] local.INFO: TCP Data received {"connection_id":228554,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:48:42] local.INFO: Processing buffer {"connection_id":228554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:48:42] local.INFO: Packet analysis {"connection_id":228554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:48:42] local.INFO: Extracted packet for processing {"connection_id":228554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:48:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":228554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":228554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":228554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:48:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:48:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":228554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:48:42] local.INFO: GPS data processed {"connection_id":228554,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:48:42] local.INFO: Acknowledgment sent {"connection_id":228554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:49:13] local.INFO: TCP Data received {"connection_id":228554,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:13] local.INFO: Processing buffer {"connection_id":228554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:13] local.INFO: Packet analysis {"connection_id":228554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:49:13] local.INFO: Extracted packet for processing {"connection_id":228554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:49:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:49:13] 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-11-04 00: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-11-04 00:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:49:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:49:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:49:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":228554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:49:13] local.INFO: GPS data processed {"connection_id":228554,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:49:13] local.INFO: Acknowledgment sent {"connection_id":228554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:49:41] local.INFO: TCP Data received {"connection_id":232142,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:49:41] local.INFO: Processing buffer {"connection_id":232142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:49:41] local.INFO: IMEI packet received {"connection_id":232142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":232142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:49:46] local.INFO: TCP Data received {"connection_id":232142,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:49:46] local.INFO: Processing buffer {"connection_id":232142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:49:46] local.INFO: IMEI packet received {"connection_id":232142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":232142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:49:46] local.INFO: TCP Data received {"connection_id":232142,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:46] local.INFO: Processing buffer {"connection_id":232142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:46] local.INFO: Packet analysis {"connection_id":232142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:49:46] local.INFO: Extracted packet for processing {"connection_id":232142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:49:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:49:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:49:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":232142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:49:46] local.INFO: GPS data processed {"connection_id":232142,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:49:46] local.INFO: Acknowledgment sent {"connection_id":232142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:49:51] local.INFO: TCP Data received {"connection_id":232142,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:51] local.INFO: Processing buffer {"connection_id":232142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:49:51] local.INFO: Packet analysis {"connection_id":232142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:49:51] local.INFO: Extracted packet for processing {"connection_id":232142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:49:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:49:51] 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-11-04 00:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:49:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:49:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":232142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:49:51] local.INFO: GPS data processed {"connection_id":232142,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:49:51] local.INFO: Acknowledgment sent {"connection_id":232142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:50:36] local.INFO: TCP Data received {"connection_id":229046,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:50:36] local.INFO: Processing buffer {"connection_id":229046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:50:36] local.INFO: IMEI packet received {"connection_id":229046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":229046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:50:41] local.INFO: TCP Data received {"connection_id":229046,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:50:41] local.INFO: Processing buffer {"connection_id":229046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:50:41] local.INFO: IMEI packet received {"connection_id":229046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":229046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:50:44] local.INFO: TCP Data received {"connection_id":229046,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:50:44] local.INFO: Processing buffer {"connection_id":229046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2d63a18012ce51bc007234b90000900802e..."} 
[2026-11-04 00:50:44] local.INFO: Packet analysis {"connection_id":229046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:50:44] local.INFO: Extracted packet for processing {"connection_id":229046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2d6"} 
[2026-11-04 00:50:44] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195650816001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:50:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793733311000,"timestamp_ms":1793733311000,"timestamp_seconds":1793733311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2d63a18"} 
[2026-11-04 00:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 00:50:44] 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-11-04 00: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-11-04 00:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195650816001,"66":24864,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195650816001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:50:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:50:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:50:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195650816001,"power":24864,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":229046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:50:44] local.INFO: GPS data processed {"connection_id":229046,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:50:44] local.INFO: Acknowledgment sent {"connection_id":229046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:51:15] local.INFO: TCP Data received {"connection_id":229046,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:51:15] local.INFO: Processing buffer {"connection_id":229046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:51:15] local.INFO: Packet analysis {"connection_id":229046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:51:15] local.INFO: Extracted packet for processing {"connection_id":229046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:51:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:51: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-11-04 00:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:51: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":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:51: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-11-04 00:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:51:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:51:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":229046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:51:15] local.INFO: GPS data processed {"connection_id":229046,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:51:15] local.INFO: Acknowledgment sent {"connection_id":229046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:51:30] local.INFO: TCP Data received {"connection_id":230286,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:51:30] local.INFO: Processing buffer {"connection_id":230286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:51:30] local.INFO: IMEI packet received {"connection_id":230286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":230286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:51:35] local.INFO: TCP Data received {"connection_id":230287,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:51:35] local.INFO: Processing buffer {"connection_id":230287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:51:35] local.INFO: IMEI packet received {"connection_id":230287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":230287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:51:41] local.INFO: TCP Data received {"connection_id":230287,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:51:41] local.INFO: Processing buffer {"connection_id":230287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:51:41] local.INFO: IMEI packet received {"connection_id":230287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":230287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:51:41] local.INFO: TCP Data received {"connection_id":230287,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:51:41] local.INFO: Processing buffer {"connection_id":230287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:51:41] local.INFO: Packet analysis {"connection_id":230287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:51:41] local.INFO: Extracted packet for processing {"connection_id":230287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:51:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:51:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":230287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:51:41] local.INFO: GPS data processed {"connection_id":230287,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:51:41] local.INFO: Acknowledgment sent {"connection_id":230287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:52:10] local.INFO: TCP Data received {"connection_id":230288,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:52:10] local.INFO: Processing buffer {"connection_id":230288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:52:10] local.INFO: IMEI packet received {"connection_id":230288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":230288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:52:15] local.INFO: TCP Data received {"connection_id":230287,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:52:15] local.INFO: Processing buffer {"connection_id":230287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:52:15] local.INFO: Packet analysis {"connection_id":230287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:52:15] local.INFO: Extracted packet for processing {"connection_id":230287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:52:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:52:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:52:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:52:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:52:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":230287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:52:15] local.INFO: GPS data processed {"connection_id":230287,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:52:15] local.INFO: Acknowledgment sent {"connection_id":230287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:52:35] local.INFO: TCP Data received {"connection_id":229047,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:52:35] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:52:35] local.INFO: IMEI packet received {"connection_id":229047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":229047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:52:41] local.INFO: TCP Data received {"connection_id":229047,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:52:41] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:52:41] local.INFO: IMEI packet received {"connection_id":229047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":229047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:52:42] local.INFO: TCP Data received {"connection_id":229047,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:52:42] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:52:42] local.INFO: Packet analysis {"connection_id":229047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:52:42] local.INFO: Extracted packet for processing {"connection_id":229047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:52:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:52:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:52:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:52:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:52:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:52:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":229047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:52:42] local.INFO: GPS data processed {"connection_id":229047,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:52:42] local.INFO: Acknowledgment sent {"connection_id":229047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:53:13] local.INFO: TCP Data received {"connection_id":229047,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:13] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:13] local.INFO: Packet analysis {"connection_id":229047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:53:13] local.INFO: Extracted packet for processing {"connection_id":229047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:53:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 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-11-04 00:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:53:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":229047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:53:13] local.INFO: GPS data processed {"connection_id":229047,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:53:13] local.INFO: Acknowledgment sent {"connection_id":229047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:53:41] local.INFO: TCP Data received {"connection_id":232143,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:53:41] local.INFO: Processing buffer {"connection_id":232143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:53:41] local.INFO: IMEI packet received {"connection_id":232143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":232143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:53:46] local.INFO: TCP Data received {"connection_id":232143,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:53:46] local.INFO: Processing buffer {"connection_id":232143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:53:46] local.INFO: IMEI packet received {"connection_id":232143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":232143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:53:46] local.INFO: TCP Data received {"connection_id":232143,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:46] local.INFO: Processing buffer {"connection_id":232143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:46] local.INFO: Packet analysis {"connection_id":232143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:53:46] local.INFO: Extracted packet for processing {"connection_id":232143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:53:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:53:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:53:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":232143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:53:46] local.INFO: GPS data processed {"connection_id":232143,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:53:46] local.INFO: Acknowledgment sent {"connection_id":232143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:53:51] local.INFO: TCP Data received {"connection_id":232143,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:51] local.INFO: Processing buffer {"connection_id":232143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:53:51] local.INFO: Packet analysis {"connection_id":232143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:53:51] local.INFO: Extracted packet for processing {"connection_id":232143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:53:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:53:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:53:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":232143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:53:51] local.INFO: GPS data processed {"connection_id":232143,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:53:51] local.INFO: Acknowledgment sent {"connection_id":232143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:54:36] local.INFO: TCP Data received {"connection_id":232144,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:54:36] local.INFO: Processing buffer {"connection_id":232144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:54:36] local.INFO: IMEI packet received {"connection_id":232144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":232144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:54:41] local.INFO: TCP Data received {"connection_id":232144,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:54:41] local.INFO: Processing buffer {"connection_id":232144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:54:41] local.INFO: IMEI packet received {"connection_id":232144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":232144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:54:41] local.INFO: TCP Data received {"connection_id":232144,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:54:41] local.INFO: Processing buffer {"connection_id":232144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:54:41] local.INFO: Packet analysis {"connection_id":232144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:54:41] local.INFO: Extracted packet for processing {"connection_id":232144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":232144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:54:41] local.INFO: GPS data processed {"connection_id":232144,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:54:41] local.INFO: Acknowledgment sent {"connection_id":232144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:54:46] local.INFO: TCP Data received {"connection_id":232144,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:54:46] local.INFO: Processing buffer {"connection_id":232144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:54:46] local.INFO: Packet analysis {"connection_id":232144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:54:46] local.INFO: Extracted packet for processing {"connection_id":232144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:54:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:54:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":232144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:54:46] local.INFO: GPS data processed {"connection_id":232144,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:54:46] local.INFO: Acknowledgment sent {"connection_id":232144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:55:17] local.INFO: TCP Data received {"connection_id":232144,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:55:17] local.INFO: Processing buffer {"connection_id":232144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:55:17] local.INFO: Packet analysis {"connection_id":232144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:55:17] local.INFO: Extracted packet for processing {"connection_id":232144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:55:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:55:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:55:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:55:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":232144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:55:17] local.INFO: GPS data processed {"connection_id":232144,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:55:17] local.INFO: Acknowledgment sent {"connection_id":232144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:55:36] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:55:36] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:55:36] local.INFO: IMEI packet received {"connection_id":230290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":230290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:55:41] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:55:41] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:55:41] local.INFO: IMEI packet received {"connection_id":230290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":230290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:55:41] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:55:41] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2dad1e0012ce51bc007234b90000900802f..."} 
[2026-11-04 00:55:41] local.INFO: Packet analysis {"connection_id":230290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:55:41] local.INFO: Extracted packet for processing {"connection_id":230290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2da"} 
[2026-11-04 00:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195727616001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733612000,"timestamp_ms":1793733612000,"timestamp_seconds":1793733612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2dad1e0"} 
[2026-11-04 00:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 00:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195727616001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195727616001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195727616001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":230290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:55:41] local.INFO: GPS data processed {"connection_id":230290,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:55:41] local.INFO: Acknowledgment sent {"connection_id":230290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:56:13] local.INFO: TCP Data received {"connection_id":230290,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:13] local.INFO: Processing buffer {"connection_id":230290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:13] local.INFO: Packet analysis {"connection_id":230290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:56:13] local.INFO: Extracted packet for processing {"connection_id":230290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 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-11-04 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:56:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:56:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":230290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:56:13] local.INFO: GPS data processed {"connection_id":230290,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:56:13] local.INFO: Acknowledgment sent {"connection_id":230290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:56:41] local.INFO: TCP Data received {"connection_id":228558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:56:41] local.INFO: Processing buffer {"connection_id":228558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:56:41] local.INFO: IMEI packet received {"connection_id":228558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":228558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:56:46] local.INFO: TCP Data received {"connection_id":228558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:56:46] local.INFO: Processing buffer {"connection_id":228558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:56:46] local.INFO: IMEI packet received {"connection_id":228558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":228558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:56:46] local.INFO: TCP Data received {"connection_id":228558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:46] local.INFO: Processing buffer {"connection_id":228558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:46] local.INFO: Packet analysis {"connection_id":228558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:56:46] local.INFO: Extracted packet for processing {"connection_id":228558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:56:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 00:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:56:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":228558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:56:46] local.INFO: GPS data processed {"connection_id":228558,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:56:46] local.INFO: Acknowledgment sent {"connection_id":228558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:56:51] local.INFO: TCP Data received {"connection_id":228558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:51] local.INFO: Processing buffer {"connection_id":228558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:56:51] local.INFO: Packet analysis {"connection_id":228558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:56:51] local.INFO: Extracted packet for processing {"connection_id":228558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:56:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 00:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:56:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:56:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":228558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:56:51] local.INFO: GPS data processed {"connection_id":228558,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:56:51] local.INFO: Acknowledgment sent {"connection_id":228558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:57:36] local.INFO: TCP Data received {"connection_id":232146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:57:36] local.INFO: Processing buffer {"connection_id":232146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:57:36] local.INFO: IMEI packet received {"connection_id":232146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":232146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:57:40] local.INFO: TCP Data received {"connection_id":232145,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:57:40] local.INFO: Processing buffer {"connection_id":232145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:57:40] local.INFO: IMEI packet received {"connection_id":232145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":232145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:57:41] local.INFO: TCP Data received {"connection_id":232146,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:57:41] local.INFO: Processing buffer {"connection_id":232146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:57:41] local.INFO: IMEI packet received {"connection_id":232146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":232146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:57:42] local.INFO: TCP Data received {"connection_id":232146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:57:42] local.INFO: Processing buffer {"connection_id":232146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:57:42] local.INFO: Packet analysis {"connection_id":232146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:57:42] local.INFO: Extracted packet for processing {"connection_id":232146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:57:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:57:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 00:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:57:42] 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-11-04 00:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:57:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:57:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:57:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":232146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:57:42] local.INFO: GPS data processed {"connection_id":232146,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:57:42] local.INFO: Acknowledgment sent {"connection_id":232146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:58:09] local.INFO: TCP Data received {"connection_id":229050,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:58:09] local.INFO: Processing buffer {"connection_id":229050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 00:58:09] local.INFO: IMEI packet received {"connection_id":229050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 00:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":229050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:58:13] local.INFO: TCP Data received {"connection_id":232146,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:58:13] local.INFO: Processing buffer {"connection_id":232146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:58:13] local.INFO: Packet analysis {"connection_id":232146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:58:13] local.INFO: Extracted packet for processing {"connection_id":232146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:58:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 00:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:58:13] 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-11-04 00:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:58:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:58:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:58:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":232146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:58:13] local.INFO: GPS data processed {"connection_id":232146,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:58:13] local.INFO: Acknowledgment sent {"connection_id":232146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:58:36] local.INFO: TCP Data received {"connection_id":232147,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:58:36] local.INFO: Processing buffer {"connection_id":232147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:58:36] local.INFO: IMEI packet received {"connection_id":232147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":232147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:58:41] local.INFO: TCP Data received {"connection_id":232147,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:58:41] local.INFO: Processing buffer {"connection_id":232147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:58:41] local.INFO: IMEI packet received {"connection_id":232147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":232147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:58:41] local.INFO: TCP Data received {"connection_id":232147,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:58:41] local.INFO: Processing buffer {"connection_id":232147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:58:41] local.INFO: Packet analysis {"connection_id":232147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:58:41] local.INFO: Extracted packet for processing {"connection_id":232147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:58:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 00:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 00:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 00:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":232147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:58:42] local.INFO: GPS data processed {"connection_id":232147,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:58:42] local.INFO: Acknowledgment sent {"connection_id":232147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:59:13] local.INFO: TCP Data received {"connection_id":232147,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:59:13] local.INFO: Processing buffer {"connection_id":232147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:59:13] local.INFO: Packet analysis {"connection_id":232147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:59:13] local.INFO: Extracted packet for processing {"connection_id":232147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 00:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 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-11-04 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 00:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:59:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:59:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":232147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:59:13] local.INFO: GPS data processed {"connection_id":232147,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:59:13] local.INFO: Acknowledgment sent {"connection_id":232147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 00:59:36] local.INFO: TCP Data received {"connection_id":229051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:36] local.INFO: Processing buffer {"connection_id":229051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:36] local.INFO: IMEI packet received {"connection_id":229051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 00:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":229051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 00:59:45] local.INFO: TCP Data received {"connection_id":229051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:45] local.INFO: Processing buffer {"connection_id":229051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:45] local.INFO: IMEI packet received {"connection_id":229051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":229051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:59:45] local.INFO: TCP Data received {"connection_id":229051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:45] local.INFO: Processing buffer {"connection_id":229051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:45] local.INFO: IMEI packet received {"connection_id":229051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":229051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:59:51] local.INFO: TCP Data received {"connection_id":229051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:51] local.INFO: Processing buffer {"connection_id":229051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 00:59:51] local.INFO: IMEI packet received {"connection_id":229051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 00:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":229051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 00:59:51] local.INFO: TCP Data received {"connection_id":229051,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:59:51] local.INFO: Processing buffer {"connection_id":229051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 00:59:51] local.INFO: Packet analysis {"connection_id":229051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:59:51] local.INFO: Extracted packet for processing {"connection_id":229051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 00:59:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 00: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-11-04 00:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 00:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 00:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 00:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 00:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 00:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 00:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 00:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 00:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 00: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-11-04 00:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 00:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 00:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 00:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 00:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 00:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 00:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 00:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 00:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 00:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 00:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 00:59:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 00:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 00:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 00:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 00:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 00:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":229051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 00:59:51] local.INFO: GPS data processed {"connection_id":229051,"processed":1,"errors":0,"total":1} 
[2026-11-04 00:59:51] local.INFO: Acknowledgment sent {"connection_id":229051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:00:35] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:00:35] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:00:35] local.INFO: IMEI packet received {"connection_id":230292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":230292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:00:41] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:00:41] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:00:41] local.INFO: IMEI packet received {"connection_id":230292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":230292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:00:42] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 01:00:42] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2df69a8012ce51bc007234b90000900802f..."} 
[2026-11-04 01:00:42] local.INFO: Packet analysis {"connection_id":230292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 01:00:42] local.INFO: Extracted packet for processing {"connection_id":230292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2df"} 
[2026-11-04 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195804672001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793733913000,"timestamp_ms":1793733913000,"timestamp_seconds":1793733913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2df69a8"} 
[2026-11-04 01:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195804672001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195804672001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:00:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:00:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195804672001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":230292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:00:42] local.INFO: GPS data processed {"connection_id":230292,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:00:42] local.INFO: Acknowledgment sent {"connection_id":230292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:01:15] local.INFO: TCP Data received {"connection_id":230292,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:01:15] local.INFO: Processing buffer {"connection_id":230292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:01:15] local.INFO: Packet analysis {"connection_id":230292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:01:15] local.INFO: Extracted packet for processing {"connection_id":230292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:01:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:01:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:01:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":230292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:01:15] local.INFO: GPS data processed {"connection_id":230292,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:01:15] local.INFO: Acknowledgment sent {"connection_id":230292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:01:36] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:01:36] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:01:36] local.INFO: IMEI packet received {"connection_id":230293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":230293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:01:40] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:01:41] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:01:41] local.INFO: IMEI packet received {"connection_id":230293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":230293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:01:41] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:01:41] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:01:41] local.INFO: Packet analysis {"connection_id":230293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:01:41] local.INFO: Extracted packet for processing {"connection_id":230293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":230293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:01:41] local.INFO: GPS data processed {"connection_id":230293,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:01:41] local.INFO: Acknowledgment sent {"connection_id":230293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:02:15] local.INFO: TCP Data received {"connection_id":230293,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:02:15] local.INFO: Processing buffer {"connection_id":230293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:02:15] local.INFO: Packet analysis {"connection_id":230293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:02:15] local.INFO: Extracted packet for processing {"connection_id":230293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:02:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:02:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":230293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:02:15] local.INFO: GPS data processed {"connection_id":230293,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:02:15] local.INFO: Acknowledgment sent {"connection_id":230293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:02:36] local.INFO: TCP Data received {"connection_id":228560,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:02:36] local.INFO: Processing buffer {"connection_id":228560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:02:36] local.INFO: IMEI packet received {"connection_id":228560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":228560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:02:41] local.INFO: TCP Data received {"connection_id":228560,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:02:41] local.INFO: Processing buffer {"connection_id":228560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:02:41] local.INFO: IMEI packet received {"connection_id":228560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":228560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:02:41] local.INFO: TCP Data received {"connection_id":228560,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:02:41] local.INFO: Processing buffer {"connection_id":228560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:02:41] local.INFO: Packet analysis {"connection_id":228560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:02:41] local.INFO: Extracted packet for processing {"connection_id":228560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:02:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:02:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:02:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":228560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:02:42] local.INFO: GPS data processed {"connection_id":228560,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:02:42] local.INFO: Acknowledgment sent {"connection_id":228560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:03:13] local.INFO: TCP Data received {"connection_id":228560,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:03:13] local.INFO: Processing buffer {"connection_id":228560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:03:13] local.INFO: Packet analysis {"connection_id":228560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:03:13] local.INFO: Extracted packet for processing {"connection_id":228560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:03: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-11-04 01:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:03:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:03:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":228560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:03:13] local.INFO: GPS data processed {"connection_id":228560,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:03:13] local.INFO: Acknowledgment sent {"connection_id":228560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:03:35] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:03:35] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:03:35] local.INFO: IMEI packet received {"connection_id":230295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":230295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:03:40] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:03:41] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:03:41] local.INFO: IMEI packet received {"connection_id":230295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":230295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:03:41] local.INFO: TCP Data received {"connection_id":232150,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:03:41] local.INFO: Processing buffer {"connection_id":232150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:03:41] local.INFO: IMEI packet received {"connection_id":232150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":232150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:03:41] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:03:41] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:03:41] local.INFO: Packet analysis {"connection_id":230295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:03:41] local.INFO: Extracted packet for processing {"connection_id":230295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":230295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:03:41] local.INFO: GPS data processed {"connection_id":230295,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:03:41] local.INFO: Acknowledgment sent {"connection_id":230295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:04:10] local.INFO: TCP Data received {"connection_id":229052,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:04:10] local.INFO: Processing buffer {"connection_id":229052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:04:10] local.INFO: IMEI packet received {"connection_id":229052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":229052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:04:13] local.INFO: TCP Data received {"connection_id":230295,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:04:13] local.INFO: Processing buffer {"connection_id":230295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:04:13] local.INFO: Packet analysis {"connection_id":230295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:04:13] local.INFO: Extracted packet for processing {"connection_id":230295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:04:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:04: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-11-04 01:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:04:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":230295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:04:13] local.INFO: GPS data processed {"connection_id":230295,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:04:13] local.INFO: Acknowledgment sent {"connection_id":230295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:04:35] local.INFO: TCP Data received {"connection_id":228561,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:04:35] local.INFO: Processing buffer {"connection_id":228561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:04:35] local.INFO: IMEI packet received {"connection_id":228561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":228561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:04:41] local.INFO: TCP Data received {"connection_id":228561,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:04:41] local.INFO: Processing buffer {"connection_id":228561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:04:41] local.INFO: IMEI packet received {"connection_id":228561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":228561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:04:42] local.INFO: TCP Data received {"connection_id":228561,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:04:42] local.INFO: Processing buffer {"connection_id":228561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:04:42] local.INFO: Packet analysis {"connection_id":228561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:04:42] local.INFO: Extracted packet for processing {"connection_id":228561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":228561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":228561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":228561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:04:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:04:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":228561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:04:42] local.INFO: GPS data processed {"connection_id":228561,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:04:42] local.INFO: Acknowledgment sent {"connection_id":228561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:05:13] local.INFO: TCP Data received {"connection_id":228561,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:05:13] local.INFO: Processing buffer {"connection_id":228561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:05:13] local.INFO: Packet analysis {"connection_id":228561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:05:13] local.INFO: Extracted packet for processing {"connection_id":228561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:05:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:05:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:05:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:05:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:05:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":228561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:05:13] local.INFO: GPS data processed {"connection_id":228561,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:05:13] local.INFO: Acknowledgment sent {"connection_id":228561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:05:41] local.INFO: TCP Data received {"connection_id":229053,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:05:41] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:05:41] local.INFO: IMEI packet received {"connection_id":229053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":229053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:05:46] local.INFO: TCP Data received {"connection_id":229053,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:05:46] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:05:46] local.INFO: IMEI packet received {"connection_id":229053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":229053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:05:47] local.INFO: TCP Data received {"connection_id":229053,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:05:47] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e40170012ce51bc007234b90000900802e..."} 
[2026-11-04 01:05:47] local.INFO: Packet analysis {"connection_id":229053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:05:47] local.INFO: Extracted packet for processing {"connection_id":229053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e4"} 
[2026-11-04 01:05:47] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195881728001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:05:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793734214000,"timestamp_ms":1793734214000,"timestamp_seconds":1793734214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e40170"} 
[2026-11-04 01:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:05:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195881728001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195881728001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:05:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:05:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:05:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195881728001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":229053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:05:47] local.INFO: GPS data processed {"connection_id":229053,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:05:47] local.INFO: Acknowledgment sent {"connection_id":229053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:06:17] local.INFO: TCP Data received {"connection_id":229053,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:06:17] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:06:17] local.INFO: Packet analysis {"connection_id":229053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:06:17] local.INFO: Extracted packet for processing {"connection_id":229053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:06:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:06:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:06:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:06:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":229053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:06:18] local.INFO: GPS data processed {"connection_id":229053,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:06:18] local.INFO: Acknowledgment sent {"connection_id":229053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:06:35] local.INFO: TCP Data received {"connection_id":229054,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:06:35] local.INFO: Processing buffer {"connection_id":229054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:06:35] local.INFO: IMEI packet received {"connection_id":229054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":229054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:06:41] local.INFO: TCP Data received {"connection_id":229054,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:06:41] local.INFO: Processing buffer {"connection_id":229054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:06:41] local.INFO: IMEI packet received {"connection_id":229054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":229054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:06:41] local.INFO: TCP Data received {"connection_id":229054,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:06:41] local.INFO: Processing buffer {"connection_id":229054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:06:41] local.INFO: Packet analysis {"connection_id":229054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:06:41] local.INFO: Extracted packet for processing {"connection_id":229054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:06:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":229054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:06:42] local.INFO: GPS data processed {"connection_id":229054,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:06:42] local.INFO: Acknowledgment sent {"connection_id":229054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:07:13] local.INFO: TCP Data received {"connection_id":229054,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:13] local.INFO: Processing buffer {"connection_id":229054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:13] local.INFO: Packet analysis {"connection_id":229054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:07:13] local.INFO: Extracted packet for processing {"connection_id":229054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:07:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:07:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:07:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":229054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:07:13] local.INFO: GPS data processed {"connection_id":229054,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:07:13] local.INFO: Acknowledgment sent {"connection_id":229054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:07:40] local.INFO: TCP Data received {"connection_id":232151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:07:41] local.INFO: Processing buffer {"connection_id":232151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:07:41] local.INFO: IMEI packet received {"connection_id":232151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":232151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:07:45] local.INFO: TCP Data received {"connection_id":232151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:07:45] local.INFO: Processing buffer {"connection_id":232151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:07:45] local.INFO: IMEI packet received {"connection_id":232151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":232151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:07:46] local.INFO: TCP Data received {"connection_id":232151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:46] local.INFO: Processing buffer {"connection_id":232151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:46] local.INFO: Packet analysis {"connection_id":232151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:07:46] local.INFO: Extracted packet for processing {"connection_id":232151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:07:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:07:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:07:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:07:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":232151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:07:46] local.INFO: GPS data processed {"connection_id":232151,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:07:46] local.INFO: Acknowledgment sent {"connection_id":232151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:07:51] local.INFO: TCP Data received {"connection_id":232151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:51] local.INFO: Processing buffer {"connection_id":232151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:07:51] local.INFO: Packet analysis {"connection_id":232151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:07:51] local.INFO: Extracted packet for processing {"connection_id":232151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:07:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:07:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:07:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":232151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:07:51] local.INFO: GPS data processed {"connection_id":232151,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:07:51] local.INFO: Acknowledgment sent {"connection_id":232151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:08:35] local.INFO: TCP Data received {"connection_id":228563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:08:35] local.INFO: Processing buffer {"connection_id":228563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:08:35] local.INFO: IMEI packet received {"connection_id":228563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":228563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:08:41] local.INFO: TCP Data received {"connection_id":228563,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:08:41] local.INFO: Processing buffer {"connection_id":228563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:08:41] local.INFO: IMEI packet received {"connection_id":228563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":228563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:08:41] local.INFO: TCP Data received {"connection_id":228563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:08:41] local.INFO: Processing buffer {"connection_id":228563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:08:41] local.INFO: Packet analysis {"connection_id":228563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:08:41] local.INFO: Extracted packet for processing {"connection_id":228563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":228563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:08:41] local.INFO: GPS data processed {"connection_id":228563,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:08:41] local.INFO: Acknowledgment sent {"connection_id":228563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:09:13] local.INFO: TCP Data received {"connection_id":228563,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:09:13] local.INFO: Processing buffer {"connection_id":228563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:09:13] local.INFO: Packet analysis {"connection_id":228563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:09:13] local.INFO: Extracted packet for processing {"connection_id":228563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:09:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:09:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":228563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:09:13] local.INFO: GPS data processed {"connection_id":228563,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:09:13] local.INFO: Acknowledgment sent {"connection_id":228563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:09:32] local.INFO: TCP Data received {"connection_id":229056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:09:32] local.INFO: Processing buffer {"connection_id":229056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:09:32] local.INFO: IMEI packet received {"connection_id":229056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":229056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:09:35] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:09:35] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:09:35] local.INFO: IMEI packet received {"connection_id":230298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":230298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:09:40] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:09:40] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:09:40] local.INFO: IMEI packet received {"connection_id":230298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":230298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:09:42] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:09:42] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:09:42] local.INFO: Packet analysis {"connection_id":230298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:09:42] local.INFO: Extracted packet for processing {"connection_id":230298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:09:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:09:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:09:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:09:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":230298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:09:42] local.INFO: GPS data processed {"connection_id":230298,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:09:42] local.INFO: Acknowledgment sent {"connection_id":230298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:10:10] local.INFO: TCP Data received {"connection_id":228564,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:10:10] local.INFO: Processing buffer {"connection_id":228564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:10:10] local.INFO: IMEI packet received {"connection_id":228564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":228564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:10:13] local.INFO: TCP Data received {"connection_id":230298,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:10:13] local.INFO: Processing buffer {"connection_id":230298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:10:13] local.INFO: Packet analysis {"connection_id":230298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:10:13] local.INFO: Extracted packet for processing {"connection_id":230298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:10:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:10:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":230298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:10:13] local.INFO: GPS data processed {"connection_id":230298,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:10:13] local.INFO: Acknowledgment sent {"connection_id":230298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:10:36] local.INFO: TCP Data received {"connection_id":229057,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:10:36] local.INFO: Processing buffer {"connection_id":229057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:10:36] local.INFO: IMEI packet received {"connection_id":229057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":229057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:10:40] local.INFO: TCP Data received {"connection_id":229057,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:10:40] local.INFO: Processing buffer {"connection_id":229057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:10:40] local.INFO: IMEI packet received {"connection_id":229057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":229057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:10:42] local.INFO: TCP Data received {"connection_id":229057,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:10:42] local.INFO: Processing buffer {"connection_id":229057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2e89938012ce51bc007234b90000900802d..."} 
[2026-11-04 01:10:42] local.INFO: Packet analysis {"connection_id":229057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:10:42] local.INFO: Extracted packet for processing {"connection_id":229057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2e8"} 
[2026-11-04 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459195958784001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793734515000,"timestamp_ms":1793734515000,"timestamp_seconds":1793734515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2e89938"} 
[2026-11-04 01:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459195958784001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459195958784001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:10:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459195958784001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":229057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:10:42] local.INFO: GPS data processed {"connection_id":229057,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:10:42] local.INFO: Acknowledgment sent {"connection_id":229057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:11:12] local.INFO: TCP Data received {"connection_id":229057,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:12] local.INFO: Processing buffer {"connection_id":229057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:12] local.INFO: Packet analysis {"connection_id":229057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:11:12] local.INFO: Extracted packet for processing {"connection_id":229057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:11:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:11:12] local.INFO: GPS data processed {"connection_id":229057,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:11:12] local.INFO: Acknowledgment sent {"connection_id":229057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:11:40] local.INFO: TCP Data received {"connection_id":232152,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:11:40] local.INFO: Processing buffer {"connection_id":232152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:11:40] local.INFO: IMEI packet received {"connection_id":232152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":232152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:11:45] local.INFO: TCP Data received {"connection_id":232152,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:11:45] local.INFO: Processing buffer {"connection_id":232152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:11:45] local.INFO: IMEI packet received {"connection_id":232152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":232152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:11:46] local.INFO: TCP Data received {"connection_id":232152,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:46] local.INFO: Processing buffer {"connection_id":232152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:46] local.INFO: Packet analysis {"connection_id":232152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:11:46] local.INFO: Extracted packet for processing {"connection_id":232152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:11:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:11:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":232152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:11:46] local.INFO: GPS data processed {"connection_id":232152,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:11:46] local.INFO: Acknowledgment sent {"connection_id":232152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:11:51] local.INFO: TCP Data received {"connection_id":232152,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:51] local.INFO: Processing buffer {"connection_id":232152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:11:51] local.INFO: Packet analysis {"connection_id":232152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:11:51] local.INFO: Extracted packet for processing {"connection_id":232152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:11:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:11:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":232152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:11:51] local.INFO: GPS data processed {"connection_id":232152,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:11:51] local.INFO: Acknowledgment sent {"connection_id":232152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:12:35] local.INFO: TCP Data received {"connection_id":229058,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:12:35] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:12:35] local.INFO: IMEI packet received {"connection_id":229058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":229058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:12:40] local.INFO: TCP Data received {"connection_id":229058,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:12:40] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:12:40] local.INFO: IMEI packet received {"connection_id":229058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":229058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:12:41] local.INFO: TCP Data received {"connection_id":229058,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:12:41] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:12:41] local.INFO: Packet analysis {"connection_id":229058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:12:41] local.INFO: Extracted packet for processing {"connection_id":229058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":229058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:12:41] local.INFO: GPS data processed {"connection_id":229058,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:12:41] local.INFO: Acknowledgment sent {"connection_id":229058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:13:13] local.INFO: TCP Data received {"connection_id":229058,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:13:13] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:13:13] local.INFO: Packet analysis {"connection_id":229058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:13:13] local.INFO: Extracted packet for processing {"connection_id":229058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 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-11-04 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 01:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:13:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":229058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:13:13] local.INFO: GPS data processed {"connection_id":229058,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:13:13] local.INFO: Acknowledgment sent {"connection_id":229058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:13:35] local.INFO: TCP Data received {"connection_id":229059,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:13:35] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:13:35] local.INFO: IMEI packet received {"connection_id":229059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":229059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:13:40] local.INFO: TCP Data received {"connection_id":229059,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:13:40] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:13:40] local.INFO: IMEI packet received {"connection_id":229059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":229059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:13:41] local.INFO: TCP Data received {"connection_id":229059,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:13:41] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:13:41] local.INFO: Packet analysis {"connection_id":229059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:13:41] local.INFO: Extracted packet for processing {"connection_id":229059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:13:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":229059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:13:41] local.INFO: GPS data processed {"connection_id":229059,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:13:41] local.INFO: Acknowledgment sent {"connection_id":229059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:14:13] local.INFO: TCP Data received {"connection_id":229059,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:14:13] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:14:13] local.INFO: Packet analysis {"connection_id":229059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:14:13] local.INFO: Extracted packet for processing {"connection_id":229059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:14:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:14:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":229059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:14:13] local.INFO: GPS data processed {"connection_id":229059,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:14:13] local.INFO: Acknowledgment sent {"connection_id":229059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:14:36] local.INFO: TCP Data received {"connection_id":232153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:14:36] local.INFO: Processing buffer {"connection_id":232153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:14:36] local.INFO: IMEI packet received {"connection_id":232153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":232153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:14:40] local.INFO: TCP Data received {"connection_id":232153,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:14:40] local.INFO: Processing buffer {"connection_id":232153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:14:40] local.INFO: IMEI packet received {"connection_id":232153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":232153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:14:41] local.INFO: TCP Data received {"connection_id":232153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:14:41] local.INFO: Processing buffer {"connection_id":232153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:14:41] local.INFO: Packet analysis {"connection_id":232153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:14:41] local.INFO: Extracted packet for processing {"connection_id":232153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:14:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:14:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":232153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:14:41] local.INFO: GPS data processed {"connection_id":232153,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:14:41] local.INFO: Acknowledgment sent {"connection_id":232153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:15:13] local.INFO: TCP Data received {"connection_id":232153,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:15:13] local.INFO: Processing buffer {"connection_id":232153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:15:13] local.INFO: Packet analysis {"connection_id":232153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:15:13] local.INFO: Extracted packet for processing {"connection_id":232153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:15:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:15:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":232153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:15:13] local.INFO: GPS data processed {"connection_id":232153,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:15:13] local.INFO: Acknowledgment sent {"connection_id":232153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:15:35] local.INFO: TCP Data received {"connection_id":228569,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:15:35] local.INFO: Processing buffer {"connection_id":228569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:15:35] local.INFO: IMEI packet received {"connection_id":228569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":228569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:15:35] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:15:35] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:15:35] local.INFO: IMEI packet received {"connection_id":230299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":230299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:15:40] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:15:40] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:15:40] local.INFO: IMEI packet received {"connection_id":230299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":230299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:15:41] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:15:41] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ed3100012ce51bc007234b90000900802f..."} 
[2026-11-04 01:15:41] local.INFO: Packet analysis {"connection_id":230299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:15:41] local.INFO: Extracted packet for processing {"connection_id":230299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ed"} 
[2026-11-04 01:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196035840001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793734816000,"timestamp_ms":1793734816000,"timestamp_seconds":1793734816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ed3100"} 
[2026-11-04 01:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196035840001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196035840001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:15:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196035840001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":230299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:15:41] local.INFO: GPS data processed {"connection_id":230299,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:15:41] local.INFO: Acknowledgment sent {"connection_id":230299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:16:07] local.INFO: TCP Data received {"connection_id":230300,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:16:07] local.INFO: Processing buffer {"connection_id":230300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:16:07] local.INFO: IMEI packet received {"connection_id":230300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":230300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:16:13] local.INFO: TCP Data received {"connection_id":230299,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:16:13] local.INFO: Processing buffer {"connection_id":230299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:16:13] local.INFO: Packet analysis {"connection_id":230299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:16:13] local.INFO: Extracted packet for processing {"connection_id":230299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:16:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:16:13] 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-11-04 01: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-11-04 01:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:16:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":230299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:16:13] local.INFO: GPS data processed {"connection_id":230299,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:16:13] local.INFO: Acknowledgment sent {"connection_id":230299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:16:35] local.INFO: TCP Data received {"connection_id":228570,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:16:35] local.INFO: Processing buffer {"connection_id":228570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:16:35] local.INFO: IMEI packet received {"connection_id":228570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":228570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:16:40] local.INFO: TCP Data received {"connection_id":228570,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:16:40] local.INFO: Processing buffer {"connection_id":228570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:16:40] local.INFO: IMEI packet received {"connection_id":228570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":228570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:16:41] local.INFO: TCP Data received {"connection_id":228570,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:16:41] local.INFO: Processing buffer {"connection_id":228570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:16:41] local.INFO: Packet analysis {"connection_id":228570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:16:41] local.INFO: Extracted packet for processing {"connection_id":228570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:16:41] 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-11-04 01:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:16:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":228570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:16:41] local.INFO: GPS data processed {"connection_id":228570,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:16:41] local.INFO: Acknowledgment sent {"connection_id":228570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:17:13] local.INFO: TCP Data received {"connection_id":228570,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:17:13] local.INFO: Processing buffer {"connection_id":228570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:17:13] local.INFO: Packet analysis {"connection_id":228570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:17:13] local.INFO: Extracted packet for processing {"connection_id":228570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:17:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:17:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:17:13] 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-11-04 01:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:17:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:17:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:17:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":228570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:17:13] local.INFO: GPS data processed {"connection_id":228570,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:17:13] local.INFO: Acknowledgment sent {"connection_id":228570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:17:35] local.INFO: TCP Data received {"connection_id":230301,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:17:35] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:17:35] local.INFO: IMEI packet received {"connection_id":230301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":230301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:17:40] local.INFO: TCP Data received {"connection_id":230301,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:17:40] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:17:40] local.INFO: IMEI packet received {"connection_id":230301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":230301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:17:45] local.INFO: TCP Data received {"connection_id":230301,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:17:45] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:17:45] local.INFO: Packet analysis {"connection_id":230301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:17:45] local.INFO: Extracted packet for processing {"connection_id":230301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:17:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:17:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:17:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:17:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":230301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:17:45] local.INFO: GPS data processed {"connection_id":230301,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:17:45] local.INFO: Acknowledgment sent {"connection_id":230301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:18:17] local.INFO: TCP Data received {"connection_id":230301,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:18:17] local.INFO: Processing buffer {"connection_id":230301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:18:17] local.INFO: Packet analysis {"connection_id":230301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:18:17] local.INFO: Extracted packet for processing {"connection_id":230301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:18:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":230301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:18:17] local.INFO: GPS data processed {"connection_id":230301,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:18:17] local.INFO: Acknowledgment sent {"connection_id":230301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:18:35] local.INFO: TCP Data received {"connection_id":232154,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:18:35] local.INFO: Processing buffer {"connection_id":232154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:18:35] local.INFO: IMEI packet received {"connection_id":232154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":232154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:18:40] local.INFO: TCP Data received {"connection_id":232154,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:18:40] local.INFO: Processing buffer {"connection_id":232154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:18:40] local.INFO: IMEI packet received {"connection_id":232154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":232154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:18:41] local.INFO: TCP Data received {"connection_id":232154,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:18:41] local.INFO: Processing buffer {"connection_id":232154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:18:41] local.INFO: Packet analysis {"connection_id":232154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:18:41] local.INFO: Extracted packet for processing {"connection_id":232154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:18:41] 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-11-04 01:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":232154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:18:41] local.INFO: GPS data processed {"connection_id":232154,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:18:41] local.INFO: Acknowledgment sent {"connection_id":232154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:19:13] local.INFO: TCP Data received {"connection_id":232154,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:19:13] local.INFO: Processing buffer {"connection_id":232154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:19:13] local.INFO: Packet analysis {"connection_id":232154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:19:13] local.INFO: Extracted packet for processing {"connection_id":232154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:19:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:19:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:19:13] 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-11-04 01:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:19:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:19:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:19:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":232154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:19:13] local.INFO: GPS data processed {"connection_id":232154,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:19:13] local.INFO: Acknowledgment sent {"connection_id":232154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:19:38] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:19:38] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:19:38] local.INFO: IMEI packet received {"connection_id":230302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":230302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:19:41] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:19:41] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:19:41] local.INFO: IMEI packet received {"connection_id":230302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":230302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:19:42] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:19:42] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:19:42] local.INFO: Packet analysis {"connection_id":230302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:19:42] local.INFO: Extracted packet for processing {"connection_id":230302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:19:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:19:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:19:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:19:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":230302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:19:42] local.INFO: GPS data processed {"connection_id":230302,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:19:42] local.INFO: Acknowledgment sent {"connection_id":230302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:20:15] local.INFO: TCP Data received {"connection_id":230302,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:20:15] local.INFO: Processing buffer {"connection_id":230302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:20:15] local.INFO: Packet analysis {"connection_id":230302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:20:15] local.INFO: Extracted packet for processing {"connection_id":230302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:20:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:20:15] 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-11-04 01:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:20:15] 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-11-04 01:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:20:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:20:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":230302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:20:15] local.INFO: GPS data processed {"connection_id":230302,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:20:15] local.INFO: Acknowledgment sent {"connection_id":230302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:20:40] local.INFO: TCP Data received {"connection_id":229065,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:20:40] local.INFO: Processing buffer {"connection_id":229065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:20:40] local.INFO: IMEI packet received {"connection_id":229065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":229065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:20:45] local.INFO: TCP Data received {"connection_id":229065,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:20:45] local.INFO: Processing buffer {"connection_id":229065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:20:45] local.INFO: IMEI packet received {"connection_id":229065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":229065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:20:46] local.INFO: TCP Data received {"connection_id":229065,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:20:46] local.INFO: Processing buffer {"connection_id":229065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f1c8c8012ce51bc007234b90000900802c..."} 
[2026-11-04 01:20:46] local.INFO: Packet analysis {"connection_id":229065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:20:46] local.INFO: Extracted packet for processing {"connection_id":229065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f1"} 
[2026-11-04 01:20:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196112896001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793735117000,"timestamp_ms":1793735117000,"timestamp_seconds":1793735117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f1c8c8"} 
[2026-11-04 01:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196112896001,"66":24854,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196112896001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:20:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196112896001,"power":24854,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":229065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:20:46] local.INFO: GPS data processed {"connection_id":229065,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:20:46] local.INFO: Acknowledgment sent {"connection_id":229065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:21:17] local.INFO: TCP Data received {"connection_id":229065,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:21:17] local.INFO: Processing buffer {"connection_id":229065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:21:17] local.INFO: Packet analysis {"connection_id":229065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:21:17] local.INFO: Extracted packet for processing {"connection_id":229065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:21:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:21:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:21:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:21:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":229065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:21:17] local.INFO: GPS data processed {"connection_id":229065,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:21:17] local.INFO: Acknowledgment sent {"connection_id":229065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:21:30] local.INFO: TCP Data received {"connection_id":228571,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:21:30] local.INFO: Processing buffer {"connection_id":228571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:21:30] local.INFO: IMEI packet received {"connection_id":228571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":228571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:21:35] local.INFO: TCP Data received {"connection_id":228572,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:21:35] local.INFO: Processing buffer {"connection_id":228572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:21:35] local.INFO: IMEI packet received {"connection_id":228572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":228572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:21:40] local.INFO: TCP Data received {"connection_id":228572,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:21:40] local.INFO: Processing buffer {"connection_id":228572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:21:40] local.INFO: IMEI packet received {"connection_id":228572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":228572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:21:41] local.INFO: TCP Data received {"connection_id":228572,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:21:41] local.INFO: Processing buffer {"connection_id":228572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:21:41] local.INFO: Packet analysis {"connection_id":228572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:21:41] local.INFO: Extracted packet for processing {"connection_id":228572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:21:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:21:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":228572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:21:41] local.INFO: GPS data processed {"connection_id":228572,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:21:41] local.INFO: Acknowledgment sent {"connection_id":228572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:22:09] local.INFO: TCP Data received {"connection_id":232156,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:09] local.INFO: Processing buffer {"connection_id":232156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:09] local.INFO: IMEI packet received {"connection_id":232156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":232156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:22:10] local.INFO: TCP Data received {"connection_id":232156,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:10] local.INFO: Processing buffer {"connection_id":232156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:10] local.INFO: IMEI packet received {"connection_id":232156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 01:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":232156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:22:13] local.INFO: TCP Data received {"connection_id":228572,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:22:13] local.INFO: Processing buffer {"connection_id":228572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:22:13] local.INFO: Packet analysis {"connection_id":228572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:22:13] local.INFO: Extracted packet for processing {"connection_id":228572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:22:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:22:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":228572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:22:13] local.INFO: GPS data processed {"connection_id":228572,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:22:13] local.INFO: Acknowledgment sent {"connection_id":228572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:22:18] local.INFO: TCP Data received {"connection_id":232156,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:18] local.INFO: Processing buffer {"connection_id":232156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:22:18] local.INFO: IMEI packet received {"connection_id":232156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 01:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":232156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:22:35] local.INFO: TCP Data received {"connection_id":229066,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:22:35] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:22:35] local.INFO: IMEI packet received {"connection_id":229066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":229066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:22:40] local.INFO: TCP Data received {"connection_id":229066,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:22:40] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:22:40] local.INFO: IMEI packet received {"connection_id":229066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":229066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:22:41] local.INFO: TCP Data received {"connection_id":229066,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:22:41] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:22:41] local.INFO: Packet analysis {"connection_id":229066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:22:41] local.INFO: Extracted packet for processing {"connection_id":229066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":229066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:22:41] local.INFO: GPS data processed {"connection_id":229066,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:22:41] local.INFO: Acknowledgment sent {"connection_id":229066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:23:12] local.INFO: TCP Data received {"connection_id":229066,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:23:12] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:23:12] local.INFO: Packet analysis {"connection_id":229066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:23:12] local.INFO: Extracted packet for processing {"connection_id":229066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:23:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":229066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:23:12] local.INFO: GPS data processed {"connection_id":229066,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:23:12] local.INFO: Acknowledgment sent {"connection_id":229066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:23:35] local.INFO: TCP Data received {"connection_id":228573,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:23:35] local.INFO: Processing buffer {"connection_id":228573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:23:35] local.INFO: IMEI packet received {"connection_id":228573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":228573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:23:40] local.INFO: TCP Data received {"connection_id":228573,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:23:40] local.INFO: Processing buffer {"connection_id":228573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:23:40] local.INFO: IMEI packet received {"connection_id":228573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":228573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:23:41] local.INFO: TCP Data received {"connection_id":228573,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:23:41] local.INFO: Processing buffer {"connection_id":228573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:23:41] local.INFO: Packet analysis {"connection_id":228573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:23:41] local.INFO: Extracted packet for processing {"connection_id":228573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":228573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:23:41] local.INFO: GPS data processed {"connection_id":228573,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:23:41] local.INFO: Acknowledgment sent {"connection_id":228573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:24:13] local.INFO: TCP Data received {"connection_id":228573,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:13] local.INFO: Processing buffer {"connection_id":228573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:13] local.INFO: Packet analysis {"connection_id":228573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:24:13] local.INFO: Extracted packet for processing {"connection_id":228573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:24:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:24:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:24:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:24:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":228573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:24:13] local.INFO: GPS data processed {"connection_id":228573,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:24:13] local.INFO: Acknowledgment sent {"connection_id":228573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:24:40] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:24:40] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:24:40] local.INFO: IMEI packet received {"connection_id":230303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":230303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:24:45] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:24:45] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:24:45] local.INFO: IMEI packet received {"connection_id":230303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":230303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:24:46] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:46] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:46] local.INFO: Packet analysis {"connection_id":230303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:24:46] local.INFO: Extracted packet for processing {"connection_id":230303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 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-11-04 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 01:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:24:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":230303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:24:46] local.INFO: GPS data processed {"connection_id":230303,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:24:46] local.INFO: Acknowledgment sent {"connection_id":230303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:24:51] local.INFO: TCP Data received {"connection_id":230303,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:51] local.INFO: Processing buffer {"connection_id":230303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:24:51] local.INFO: Packet analysis {"connection_id":230303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:24:51] local.INFO: Extracted packet for processing {"connection_id":230303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:24:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:24:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":230303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:24:51] local.INFO: GPS data processed {"connection_id":230303,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:24:51] local.INFO: Acknowledgment sent {"connection_id":230303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:25:35] local.INFO: TCP Data received {"connection_id":229067,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:25:35] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:25:35] local.INFO: IMEI packet received {"connection_id":229067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":229067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:25:40] local.INFO: TCP Data received {"connection_id":229067,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:25:40] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:25:40] local.INFO: IMEI packet received {"connection_id":229067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":229067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:25:41] local.INFO: TCP Data received {"connection_id":229067,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:25:41] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2f66090012ce51bc007234b900009008030..."} 
[2026-11-04 01:25:41] local.INFO: Packet analysis {"connection_id":229067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:25:41] local.INFO: Extracted packet for processing {"connection_id":229067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2f6"} 
[2026-11-04 01:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196189952001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735418000,"timestamp_ms":1793735418000,"timestamp_seconds":1793735418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2f66090"} 
[2026-11-04 01:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 01:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196189952001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196189952001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:25:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196189952001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":229067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:25:41] local.INFO: GPS data processed {"connection_id":229067,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:25:41] local.INFO: Acknowledgment sent {"connection_id":229067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:26:12] local.INFO: TCP Data received {"connection_id":229067,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:26:12] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:26:12] local.INFO: Packet analysis {"connection_id":229067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:26:12] local.INFO: Extracted packet for processing {"connection_id":229067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:26:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:26:12] 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-11-04 01: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-11-04 01:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:26:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":229067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:26:12] local.INFO: GPS data processed {"connection_id":229067,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:26:12] local.INFO: Acknowledgment sent {"connection_id":229067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:26:35] local.INFO: TCP Data received {"connection_id":230304,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:26:35] local.INFO: Processing buffer {"connection_id":230304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:26:35] local.INFO: IMEI packet received {"connection_id":230304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":230304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:26:41] local.INFO: TCP Data received {"connection_id":230304,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:26:41] local.INFO: Processing buffer {"connection_id":230304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:26:41] local.INFO: IMEI packet received {"connection_id":230304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":230304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:26:41] local.INFO: TCP Data received {"connection_id":230304,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:26:41] local.INFO: Processing buffer {"connection_id":230304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:26:41] local.INFO: Packet analysis {"connection_id":230304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:26:41] local.INFO: Extracted packet for processing {"connection_id":230304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:26:41] 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-11-04 01:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:26:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:26:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:26:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":230304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:26:42] local.INFO: GPS data processed {"connection_id":230304,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:26:42] local.INFO: Acknowledgment sent {"connection_id":230304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:27:13] local.INFO: TCP Data received {"connection_id":230304,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:13] local.INFO: Processing buffer {"connection_id":230304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:13] local.INFO: Packet analysis {"connection_id":230304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:13] local.INFO: Extracted packet for processing {"connection_id":230304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:27:13] 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-11-04 01:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:27:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:27:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:27:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":230304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:27:13] local.INFO: GPS data processed {"connection_id":230304,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:27:13] local.INFO: Acknowledgment sent {"connection_id":230304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:27:40] local.INFO: TCP Data received {"connection_id":232161,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:27:40] local.INFO: Processing buffer {"connection_id":232161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:27:40] local.INFO: IMEI packet received {"connection_id":232161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":232161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:27:45] local.INFO: TCP Data received {"connection_id":230305,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:27:45] local.INFO: Processing buffer {"connection_id":230305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:27:45] local.INFO: IMEI packet received {"connection_id":230305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":230305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:27:45] local.INFO: TCP Data received {"connection_id":232161,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:27:45] local.INFO: Processing buffer {"connection_id":232161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:27:45] local.INFO: IMEI packet received {"connection_id":232161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":232161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:27:46] local.INFO: TCP Data received {"connection_id":232161,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:46] local.INFO: Processing buffer {"connection_id":232161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:46] local.INFO: Packet analysis {"connection_id":232161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:46] local.INFO: Extracted packet for processing {"connection_id":232161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:27:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:27:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":232161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:27:46] local.INFO: GPS data processed {"connection_id":232161,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:27:46] local.INFO: Acknowledgment sent {"connection_id":232161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:27:51] local.INFO: TCP Data received {"connection_id":232161,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:51] local.INFO: Processing buffer {"connection_id":232161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:51] local.INFO: Packet analysis {"connection_id":232161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:51] local.INFO: Extracted packet for processing {"connection_id":232161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:27:51] 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-11-04 01:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:27:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":232161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:27:51] local.INFO: GPS data processed {"connection_id":232161,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:27:51] local.INFO: Acknowledgment sent {"connection_id":232161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:27:56] local.INFO: TCP Data received {"connection_id":232161,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:56] local.INFO: Processing buffer {"connection_id":232161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:27:56] local.INFO: Packet analysis {"connection_id":232161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:56] local.INFO: Extracted packet for processing {"connection_id":232161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:27:56] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:27:56] 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-11-04 01: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-11-04 01:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":232161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":232161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":232161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:27: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-11-04 01:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:27:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:27:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":232161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:27:56] local.INFO: GPS data processed {"connection_id":232161,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:27:56] local.INFO: Acknowledgment sent {"connection_id":232161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:28:10] local.INFO: TCP Data received {"connection_id":228575,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:28:10] local.INFO: Processing buffer {"connection_id":228575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:28:10] local.INFO: IMEI packet received {"connection_id":228575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":228575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:28:35] local.INFO: TCP Data received {"connection_id":229068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:28:35] local.INFO: Processing buffer {"connection_id":229068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:28:35] local.INFO: IMEI packet received {"connection_id":229068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":229068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:28:40] local.INFO: TCP Data received {"connection_id":229068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:28:40] local.INFO: Processing buffer {"connection_id":229068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:28:40] local.INFO: IMEI packet received {"connection_id":229068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":229068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:28:41] local.INFO: TCP Data received {"connection_id":229068,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:28:41] local.INFO: Processing buffer {"connection_id":229068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:28:41] local.INFO: Packet analysis {"connection_id":229068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:28:41] local.INFO: Extracted packet for processing {"connection_id":229068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:28:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:28:41] 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-11-04 01: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-11-04 01:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":229068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:28:41] local.INFO: GPS data processed {"connection_id":229068,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:28:41] local.INFO: Acknowledgment sent {"connection_id":229068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:29:12] local.INFO: TCP Data received {"connection_id":229068,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:29:12] local.INFO: Processing buffer {"connection_id":229068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:29:12] local.INFO: Packet analysis {"connection_id":229068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:29:12] local.INFO: Extracted packet for processing {"connection_id":229068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:29:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:29:12] 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-11-04 01: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-11-04 01:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:29:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":229068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:29:12] local.INFO: GPS data processed {"connection_id":229068,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:29:12] local.INFO: Acknowledgment sent {"connection_id":229068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:29:35] local.INFO: TCP Data received {"connection_id":228576,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:29:35] local.INFO: Processing buffer {"connection_id":228576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:29:35] local.INFO: IMEI packet received {"connection_id":228576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":228576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:29:40] local.INFO: TCP Data received {"connection_id":228576,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:29:40] local.INFO: Processing buffer {"connection_id":228576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:29:40] local.INFO: IMEI packet received {"connection_id":228576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":228576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:29:44] local.INFO: TCP Data received {"connection_id":228576,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:29:44] local.INFO: Processing buffer {"connection_id":228576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:29:44] local.INFO: Packet analysis {"connection_id":228576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:29:44] local.INFO: Extracted packet for processing {"connection_id":228576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:29:44] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:29:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:29:44] 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-11-04 01: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-11-04 01:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:29:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:29:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":228576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:29:44] local.INFO: GPS data processed {"connection_id":228576,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:29:44] local.INFO: Acknowledgment sent {"connection_id":228576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:30:15] local.INFO: TCP Data received {"connection_id":228576,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:30:15] local.INFO: Processing buffer {"connection_id":228576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:30:15] local.INFO: Packet analysis {"connection_id":228576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:30:15] local.INFO: Extracted packet for processing {"connection_id":228576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:30:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:30:15] 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-11-04 01:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:30:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:30:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":228576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:30:15] local.INFO: GPS data processed {"connection_id":228576,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:30:15] local.INFO: Acknowledgment sent {"connection_id":228576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:30:35] local.INFO: TCP Data received {"connection_id":228577,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:30:35] local.INFO: Processing buffer {"connection_id":228577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:30:35] local.INFO: IMEI packet received {"connection_id":228577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":228577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:30:40] local.INFO: TCP Data received {"connection_id":228577,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:30:40] local.INFO: Processing buffer {"connection_id":228577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:30:40] local.INFO: IMEI packet received {"connection_id":228577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":228577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:30:41] local.INFO: TCP Data received {"connection_id":228577,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:30:41] local.INFO: Processing buffer {"connection_id":228577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2faf858012ce51bc007234b90000900802f..."} 
[2026-11-04 01:30:41] local.INFO: Packet analysis {"connection_id":228577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:30:41] local.INFO: Extracted packet for processing {"connection_id":228577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2fa"} 
[2026-11-04 01:30:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196267008001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793735719000,"timestamp_ms":1793735719000,"timestamp_seconds":1793735719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2faf858"} 
[2026-11-04 01:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:30:41] 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-11-04 01:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196267008001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196267008001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:30:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196267008001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":228577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:30:41] local.INFO: GPS data processed {"connection_id":228577,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:30:41] local.INFO: Acknowledgment sent {"connection_id":228577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:31:14] local.INFO: TCP Data received {"connection_id":228577,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:31:14] local.INFO: Processing buffer {"connection_id":228577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:31:14] local.INFO: Packet analysis {"connection_id":228577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:31:14] local.INFO: Extracted packet for processing {"connection_id":228577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:31:14] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:31:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:31:14] 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-11-04 01: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-11-04 01:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:31:14] 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-11-04 01:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:31:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:31:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:31:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":228577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:31:14] local.INFO: GPS data processed {"connection_id":228577,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:31:14] local.INFO: Acknowledgment sent {"connection_id":228577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:31:35] local.INFO: TCP Data received {"connection_id":228579,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:31:35] local.INFO: Processing buffer {"connection_id":228579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:31:35] local.INFO: IMEI packet received {"connection_id":228579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":228579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:31:40] local.INFO: TCP Data received {"connection_id":228579,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:31:40] local.INFO: Processing buffer {"connection_id":228579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:31:40] local.INFO: IMEI packet received {"connection_id":228579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":228579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:31:41] local.INFO: TCP Data received {"connection_id":228579,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:31:41] local.INFO: Processing buffer {"connection_id":228579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:31:41] local.INFO: Packet analysis {"connection_id":228579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:31:41] local.INFO: Extracted packet for processing {"connection_id":228579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:31:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:31:41] 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-11-04 01: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-11-04 01:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":228579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:31:41] local.INFO: GPS data processed {"connection_id":228579,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:31:41] local.INFO: Acknowledgment sent {"connection_id":228579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:32:12] local.INFO: TCP Data received {"connection_id":228579,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:32:12] local.INFO: Processing buffer {"connection_id":228579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:32:12] local.INFO: Packet analysis {"connection_id":228579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:32:12] local.INFO: Extracted packet for processing {"connection_id":228579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:32:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:32:12] 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-11-04 01: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-11-04 01:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:32:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":228579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:32:12] local.INFO: GPS data processed {"connection_id":228579,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:32:12] local.INFO: Acknowledgment sent {"connection_id":228579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:32:35] local.INFO: TCP Data received {"connection_id":229069,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:32:35] local.INFO: Processing buffer {"connection_id":229069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:32:35] local.INFO: IMEI packet received {"connection_id":229069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":229069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:32:40] local.INFO: TCP Data received {"connection_id":229069,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:32:40] local.INFO: Processing buffer {"connection_id":229069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:32:40] local.INFO: IMEI packet received {"connection_id":229069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":229069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:32:41] local.INFO: TCP Data received {"connection_id":229069,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:32:41] local.INFO: Processing buffer {"connection_id":229069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:32:41] local.INFO: Packet analysis {"connection_id":229069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:32:41] local.INFO: Extracted packet for processing {"connection_id":229069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:32:41] 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-11-04 01:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":229069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:32:41] local.INFO: GPS data processed {"connection_id":229069,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:32:41] local.INFO: Acknowledgment sent {"connection_id":229069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:33:13] local.INFO: TCP Data received {"connection_id":229069,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:13] local.INFO: Processing buffer {"connection_id":229069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:13] local.INFO: Packet analysis {"connection_id":229069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:33:13] local.INFO: Extracted packet for processing {"connection_id":229069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:33:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:33:13] 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-11-04 01:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:33:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":229069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:33:13] local.INFO: GPS data processed {"connection_id":229069,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:33:13] local.INFO: Acknowledgment sent {"connection_id":229069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:33:25] local.INFO: TCP Data received {"connection_id":228580,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:33:25] local.INFO: Processing buffer {"connection_id":228580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:33:25] local.INFO: IMEI packet received {"connection_id":228580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":228580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:33:40] local.INFO: TCP Data received {"connection_id":229070,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:33:40] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:33:40] local.INFO: IMEI packet received {"connection_id":229070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":229070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:33:45] local.INFO: TCP Data received {"connection_id":229070,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:33:45] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:33:45] local.INFO: IMEI packet received {"connection_id":229070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":229070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:33:46] local.INFO: TCP Data received {"connection_id":229070,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:46] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:46] local.INFO: Packet analysis {"connection_id":229070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:33:46] local.INFO: Extracted packet for processing {"connection_id":229070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:33:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:33:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":229070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:33:46] local.INFO: GPS data processed {"connection_id":229070,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:33:46] local.INFO: Acknowledgment sent {"connection_id":229070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:33:51] local.INFO: TCP Data received {"connection_id":229070,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:51] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:33:51] local.INFO: Packet analysis {"connection_id":229070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:33:51] local.INFO: Extracted packet for processing {"connection_id":229070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:33:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:33:51] 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-11-04 01:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:33:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:33:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":229070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:33:51] local.INFO: GPS data processed {"connection_id":229070,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:33:51] local.INFO: Acknowledgment sent {"connection_id":229070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:34:15] local.INFO: TCP Data received {"connection_id":229071,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:34:15] local.INFO: Processing buffer {"connection_id":229071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:34:15] local.INFO: IMEI packet received {"connection_id":229071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":229071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:34:28] local.INFO: TCP Data received {"connection_id":229071,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:34:28] local.INFO: Processing buffer {"connection_id":229071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:34:28] local.INFO: IMEI packet received {"connection_id":229071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 01:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":229071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:34:35] local.INFO: TCP Data received {"connection_id":228581,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:34:35] local.INFO: Processing buffer {"connection_id":228581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:34:35] local.INFO: IMEI packet received {"connection_id":228581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":228581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:34:40] local.INFO: TCP Data received {"connection_id":228581,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:34:40] local.INFO: Processing buffer {"connection_id":228581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:34:40] local.INFO: IMEI packet received {"connection_id":228581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":228581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:34:41] local.INFO: TCP Data received {"connection_id":228581,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:34:41] local.INFO: Processing buffer {"connection_id":228581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:34:41] local.INFO: Packet analysis {"connection_id":228581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:34:41] local.INFO: Extracted packet for processing {"connection_id":228581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:34:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:34:41] 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-11-04 01:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:34:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":228581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:34:41] local.INFO: GPS data processed {"connection_id":228581,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:34:41] local.INFO: Acknowledgment sent {"connection_id":228581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:35:18] local.INFO: TCP Data received {"connection_id":228581,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:35:18] local.INFO: Processing buffer {"connection_id":228581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:35:18] local.INFO: Packet analysis {"connection_id":228581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:35:18] local.INFO: Extracted packet for processing {"connection_id":228581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:35:18] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:35:18] 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-11-04 01:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:35:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":228581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:35:18] local.INFO: GPS data processed {"connection_id":228581,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:35:18] local.INFO: Acknowledgment sent {"connection_id":228581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:35:35] local.INFO: TCP Data received {"connection_id":229072,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:35:35] local.INFO: Processing buffer {"connection_id":229072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:35:35] local.INFO: IMEI packet received {"connection_id":229072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":229072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:35:40] local.INFO: TCP Data received {"connection_id":229072,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:35:40] local.INFO: Processing buffer {"connection_id":229072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:35:40] local.INFO: IMEI packet received {"connection_id":229072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":229072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:35:41] local.INFO: TCP Data received {"connection_id":229072,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:35:41] local.INFO: Processing buffer {"connection_id":229072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a2ff9020012ce51bc007234b90000900802f..."} 
[2026-11-04 01:35:41] local.INFO: Packet analysis {"connection_id":229072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:35:41] local.INFO: Extracted packet for processing {"connection_id":229072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a2ff"} 
[2026-11-04 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196344064001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736020000,"timestamp_ms":1793736020000,"timestamp_seconds":1793736020,"priority":1,"record_length":96,"hex_timestamp":"000001a1a2ff9020"} 
[2026-11-04 01:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:35:41] 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-11-04 01:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196344064001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196344064001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196344064001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":229072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:35:41] local.INFO: GPS data processed {"connection_id":229072,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:35:41] local.INFO: Acknowledgment sent {"connection_id":229072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:36:12] local.INFO: TCP Data received {"connection_id":229072,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:36:12] local.INFO: Processing buffer {"connection_id":229072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:36:12] local.INFO: Packet analysis {"connection_id":229072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:36:12] local.INFO: Extracted packet for processing {"connection_id":229072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:36:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:36:12] 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-11-04 01: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-11-04 01:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:36:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":229072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:36:13] local.INFO: GPS data processed {"connection_id":229072,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:36:13] local.INFO: Acknowledgment sent {"connection_id":229072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:36:35] local.INFO: TCP Data received {"connection_id":228583,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:36:35] local.INFO: Processing buffer {"connection_id":228583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:36:35] local.INFO: IMEI packet received {"connection_id":228583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":228583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:36:40] local.INFO: TCP Data received {"connection_id":228583,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:36:40] local.INFO: Processing buffer {"connection_id":228583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:36:40] local.INFO: IMEI packet received {"connection_id":228583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":228583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:36:41] local.INFO: TCP Data received {"connection_id":228583,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:36:41] local.INFO: Processing buffer {"connection_id":228583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:36:41] local.INFO: Packet analysis {"connection_id":228583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:36:41] local.INFO: Extracted packet for processing {"connection_id":228583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:36:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:36:41] 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-11-04 01:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":228583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:36:41] local.INFO: GPS data processed {"connection_id":228583,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:36:41] local.INFO: Acknowledgment sent {"connection_id":228583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:37:26] local.INFO: TCP Data received {"connection_id":228583,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:26] local.INFO: Processing buffer {"connection_id":228583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:26] local.INFO: Packet analysis {"connection_id":228583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:37:26] local.INFO: Extracted packet for processing {"connection_id":228583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:37:26] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:37:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:37:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":228583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:37:26] local.INFO: GPS data processed {"connection_id":228583,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:37:26] local.INFO: Acknowledgment sent {"connection_id":228583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:37:40] local.INFO: TCP Data received {"connection_id":229073,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:37:40] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:37:40] local.INFO: IMEI packet received {"connection_id":229073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":229073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:37:45] local.INFO: TCP Data received {"connection_id":229073,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:37:45] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:37:45] local.INFO: IMEI packet received {"connection_id":229073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":229073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:37:46] local.INFO: TCP Data received {"connection_id":229073,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:46] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:46] local.INFO: Packet analysis {"connection_id":229073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:37:46] local.INFO: Extracted packet for processing {"connection_id":229073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:37:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:37:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:37:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":229073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:37:46] local.INFO: GPS data processed {"connection_id":229073,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:37:46] local.INFO: Acknowledgment sent {"connection_id":229073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:37:54] local.INFO: TCP Data received {"connection_id":229073,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:54] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:37:54] local.INFO: Packet analysis {"connection_id":229073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:37:54] local.INFO: Extracted packet for processing {"connection_id":229073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:37:54] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:37:54] 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-11-04 01:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:37:54] 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-11-04 01:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:37:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:37:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:37:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:37:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":229073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:37:54] local.INFO: GPS data processed {"connection_id":229073,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:37:54] local.INFO: Acknowledgment sent {"connection_id":229073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:38:35] local.INFO: TCP Data received {"connection_id":228585,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:38:35] local.INFO: Processing buffer {"connection_id":228585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:38:35] local.INFO: IMEI packet received {"connection_id":228585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":228585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:38:40] local.INFO: TCP Data received {"connection_id":228585,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:38:40] local.INFO: Processing buffer {"connection_id":228585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:38:40] local.INFO: IMEI packet received {"connection_id":228585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":228585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:38:42] local.INFO: TCP Data received {"connection_id":228585,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:38:42] local.INFO: Processing buffer {"connection_id":228585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:38:42] local.INFO: Packet analysis {"connection_id":228585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:38:42] local.INFO: Extracted packet for processing {"connection_id":228585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:38:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":228585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":228585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":228585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:38:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:38:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":228585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:38:42] local.INFO: GPS data processed {"connection_id":228585,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:38:42] local.INFO: Acknowledgment sent {"connection_id":228585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:39:13] local.INFO: TCP Data received {"connection_id":228585,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:39:13] local.INFO: Processing buffer {"connection_id":228585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:39:13] local.INFO: Packet analysis {"connection_id":228585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:39:13] local.INFO: Extracted packet for processing {"connection_id":228585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:39:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:39:13] 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-11-04 01:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:39:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:39:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":228585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:39:13] local.INFO: GPS data processed {"connection_id":228585,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:39:13] local.INFO: Acknowledgment sent {"connection_id":228585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:39:19] local.INFO: TCP Data received {"connection_id":232163,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:39:19] local.INFO: Processing buffer {"connection_id":232163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:39:19] local.INFO: IMEI packet received {"connection_id":232163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":232163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:39:35] local.INFO: TCP Data received {"connection_id":230310,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:39:35] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:39:35] local.INFO: IMEI packet received {"connection_id":230310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":230310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:39:40] local.INFO: TCP Data received {"connection_id":230310,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:39:40] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:39:40] local.INFO: IMEI packet received {"connection_id":230310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":230310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:39:41] local.INFO: TCP Data received {"connection_id":230310,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:39:41] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:39:41] local.INFO: Packet analysis {"connection_id":230310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:39:41] local.INFO: Extracted packet for processing {"connection_id":230310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:39:41] 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-11-04 01:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:39:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":230310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:39:41] local.INFO: GPS data processed {"connection_id":230310,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:39:41] local.INFO: Acknowledgment sent {"connection_id":230310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:40:13] local.INFO: TCP Data received {"connection_id":230310,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:40:13] local.INFO: Processing buffer {"connection_id":230310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:40:13] local.INFO: Packet analysis {"connection_id":230310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:40:13] local.INFO: Extracted packet for processing {"connection_id":230310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:40:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:40:13] 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-11-04 01:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:40:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:40:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":230310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:40:13] local.INFO: GPS data processed {"connection_id":230310,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:40:13] local.INFO: Acknowledgment sent {"connection_id":230310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:40:36] local.INFO: TCP Data received {"connection_id":232164,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:40:36] local.INFO: Processing buffer {"connection_id":232164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:40:36] local.INFO: IMEI packet received {"connection_id":232164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":232164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:40:40] local.INFO: TCP Data received {"connection_id":232164,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:40:40] local.INFO: Processing buffer {"connection_id":232164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:40:40] local.INFO: IMEI packet received {"connection_id":232164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":232164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:40:41] local.INFO: TCP Data received {"connection_id":232164,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:40:41] local.INFO: Processing buffer {"connection_id":232164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30427e8012ce51bc007234b90000900802e..."} 
[2026-11-04 01:40:41] local.INFO: Packet analysis {"connection_id":232164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:40:41] local.INFO: Extracted packet for processing {"connection_id":232164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a304"} 
[2026-11-04 01:40:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736321000,"timestamp_ms":1793736321000,"timestamp_seconds":1793736321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30427e8"} 
[2026-11-04 01:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:40:41] 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-11-04 01:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196421120001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:40:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196421120001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":232164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:40:41] local.INFO: GPS data processed {"connection_id":232164,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:40:41] local.INFO: Acknowledgment sent {"connection_id":232164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:41:12] local.INFO: TCP Data received {"connection_id":232164,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:41:12] local.INFO: Processing buffer {"connection_id":232164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:41:12] local.INFO: Packet analysis {"connection_id":232164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:41:12] local.INFO: Extracted packet for processing {"connection_id":232164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:41:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:41:12] 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-11-04 01: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-11-04 01:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:41:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":232164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:41:12] local.INFO: GPS data processed {"connection_id":232164,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:41:12] local.INFO: Acknowledgment sent {"connection_id":232164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:41:35] local.INFO: TCP Data received {"connection_id":228586,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:41:35] local.INFO: Processing buffer {"connection_id":228586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:41:35] local.INFO: IMEI packet received {"connection_id":228586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":228586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:41:40] local.INFO: TCP Data received {"connection_id":228586,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:41:40] local.INFO: Processing buffer {"connection_id":228586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:41:40] local.INFO: IMEI packet received {"connection_id":228586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":228586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:41:41] local.INFO: TCP Data received {"connection_id":228586,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:41:41] local.INFO: Processing buffer {"connection_id":228586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:41:41] local.INFO: Packet analysis {"connection_id":228586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:41:41] local.INFO: Extracted packet for processing {"connection_id":228586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:41:41] 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-11-04 01:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":228586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:41:41] local.INFO: GPS data processed {"connection_id":228586,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:41:41] local.INFO: Acknowledgment sent {"connection_id":228586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:42:12] local.INFO: TCP Data received {"connection_id":228586,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:12] local.INFO: Processing buffer {"connection_id":228586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:12] local.INFO: Packet analysis {"connection_id":228586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:42:12] local.INFO: Extracted packet for processing {"connection_id":228586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:42:12] 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-11-04 01: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-11-04 01:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:42:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":228586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:42:12] local.INFO: GPS data processed {"connection_id":228586,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:42:12] local.INFO: Acknowledgment sent {"connection_id":228586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:42:40] local.INFO: TCP Data received {"connection_id":230312,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:42:40] local.INFO: Processing buffer {"connection_id":230312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:42:40] local.INFO: IMEI packet received {"connection_id":230312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":230312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:42:45] local.INFO: TCP Data received {"connection_id":230312,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:42:45] local.INFO: Processing buffer {"connection_id":230312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:42:45] local.INFO: IMEI packet received {"connection_id":230312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":230312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:42:46] local.INFO: TCP Data received {"connection_id":230312,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:46] local.INFO: Processing buffer {"connection_id":230312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:46] local.INFO: Packet analysis {"connection_id":230312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:42:46] local.INFO: Extracted packet for processing {"connection_id":230312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:42:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:42:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:42:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":230312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:42:46] local.INFO: GPS data processed {"connection_id":230312,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:42:46] local.INFO: Acknowledgment sent {"connection_id":230312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:42:51] local.INFO: TCP Data received {"connection_id":230312,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:51] local.INFO: Processing buffer {"connection_id":230312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:42:51] local.INFO: Packet analysis {"connection_id":230312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:42:51] local.INFO: Extracted packet for processing {"connection_id":230312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:42:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:42:51] 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-11-04 01:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:42:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:42:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":230312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:42:51] local.INFO: GPS data processed {"connection_id":230312,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:42:51] local.INFO: Acknowledgment sent {"connection_id":230312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:43:35] local.INFO: TCP Data received {"connection_id":228588,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:43:35] local.INFO: Processing buffer {"connection_id":228588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:43:35] local.INFO: IMEI packet received {"connection_id":228588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":228588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:43:40] local.INFO: TCP Data received {"connection_id":228588,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:43:40] local.INFO: Processing buffer {"connection_id":228588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:43:40] local.INFO: IMEI packet received {"connection_id":228588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":228588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:43:41] local.INFO: TCP Data received {"connection_id":228588,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:43:41] local.INFO: Processing buffer {"connection_id":228588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:43:41] local.INFO: Packet analysis {"connection_id":228588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:43:41] local.INFO: Extracted packet for processing {"connection_id":228588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:43:41] 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-11-04 01: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-11-04 01:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":228588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:43:41] local.INFO: GPS data processed {"connection_id":228588,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:43:41] local.INFO: Acknowledgment sent {"connection_id":228588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:44:12] local.INFO: TCP Data received {"connection_id":228588,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:44:12] local.INFO: Processing buffer {"connection_id":228588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:44:12] local.INFO: Packet analysis {"connection_id":228588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:44:12] local.INFO: Extracted packet for processing {"connection_id":228588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:44:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:44:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:44:13] 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-11-04 01:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:44:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":228588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:44:13] local.INFO: GPS data processed {"connection_id":228588,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:44:13] local.INFO: Acknowledgment sent {"connection_id":228588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:44:35] local.INFO: TCP Data received {"connection_id":229075,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:44:35] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:44:35] local.INFO: IMEI packet received {"connection_id":229075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":229075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:44:40] local.INFO: TCP Data received {"connection_id":229075,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:44:40] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:44:40] local.INFO: IMEI packet received {"connection_id":229075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":229075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:44:41] local.INFO: TCP Data received {"connection_id":229075,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:44:41] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:44:41] local.INFO: Packet analysis {"connection_id":229075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:44:41] local.INFO: Extracted packet for processing {"connection_id":229075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:44:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:44:41] 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-11-04 01:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:44:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":229075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:44:41] local.INFO: GPS data processed {"connection_id":229075,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:44:41] local.INFO: Acknowledgment sent {"connection_id":229075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:45:09] local.INFO: TCP Data received {"connection_id":230313,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:45:09] local.INFO: Processing buffer {"connection_id":230313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:45:09] local.INFO: IMEI packet received {"connection_id":230313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":230313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:45:12] local.INFO: TCP Data received {"connection_id":229075,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:45:12] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:45:12] local.INFO: Packet analysis {"connection_id":229075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:45:12] local.INFO: Extracted packet for processing {"connection_id":229075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:45:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 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-11-04 01:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:45:12] 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-11-04 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-11-04 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-11-04 01:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:45:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":229075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:45:12] local.INFO: GPS data processed {"connection_id":229075,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:45:12] local.INFO: Acknowledgment sent {"connection_id":229075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:45:36] local.INFO: TCP Data received {"connection_id":232166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:45:36] local.INFO: Processing buffer {"connection_id":232166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:45:36] local.INFO: IMEI packet received {"connection_id":232166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":232166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:45:40] local.INFO: TCP Data received {"connection_id":232166,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:45:40] local.INFO: Processing buffer {"connection_id":232166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:45:40] local.INFO: IMEI packet received {"connection_id":232166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":232166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:45:41] local.INFO: TCP Data received {"connection_id":232166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:45:41] local.INFO: Processing buffer {"connection_id":232166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a308bfb0012ce51bc007234b90000900802d..."} 
[2026-11-04 01:45:41] local.INFO: Packet analysis {"connection_id":232166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:45:41] local.INFO: Extracted packet for processing {"connection_id":232166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a308"} 
[2026-11-04 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196498176001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736622000,"timestamp_ms":1793736622000,"timestamp_seconds":1793736622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a308bfb0"} 
[2026-11-04 01:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:45:41] 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-11-04 01:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196498176001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196498176001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196498176001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":232166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:45:41] local.INFO: GPS data processed {"connection_id":232166,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:45:41] local.INFO: Acknowledgment sent {"connection_id":232166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:46:12] local.INFO: TCP Data received {"connection_id":232166,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:12] local.INFO: Processing buffer {"connection_id":232166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:12] local.INFO: Packet analysis {"connection_id":232166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:46:12] local.INFO: Extracted packet for processing {"connection_id":232166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 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-11-04 01:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:46:12] 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-11-04 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-11-04 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-11-04 01:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":232166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:46:12] local.INFO: GPS data processed {"connection_id":232166,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:46:12] local.INFO: Acknowledgment sent {"connection_id":232166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:46:40] local.INFO: TCP Data received {"connection_id":230314,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:46:40] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:46:40] local.INFO: IMEI packet received {"connection_id":230314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":230314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:46:45] local.INFO: TCP Data received {"connection_id":230314,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:46:45] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:46:45] local.INFO: IMEI packet received {"connection_id":230314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":230314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:46:46] local.INFO: TCP Data received {"connection_id":230314,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:46] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:46] local.INFO: Packet analysis {"connection_id":230314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:46:46] local.INFO: Extracted packet for processing {"connection_id":230314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:46:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:46:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":230314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:46:46] local.INFO: GPS data processed {"connection_id":230314,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:46:46] local.INFO: Acknowledgment sent {"connection_id":230314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:46:51] local.INFO: TCP Data received {"connection_id":230314,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:51] local.INFO: Processing buffer {"connection_id":230314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:46:51] local.INFO: Packet analysis {"connection_id":230314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:46:51] local.INFO: Extracted packet for processing {"connection_id":230314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:46:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:46:51] 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-11-04 01:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:46:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":230314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:46:51] local.INFO: GPS data processed {"connection_id":230314,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:46:51] local.INFO: Acknowledgment sent {"connection_id":230314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:47:35] local.INFO: TCP Data received {"connection_id":232167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:47:35] local.INFO: Processing buffer {"connection_id":232167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:47:35] local.INFO: IMEI packet received {"connection_id":232167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":232167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:47:40] local.INFO: TCP Data received {"connection_id":232167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:47:40] local.INFO: Processing buffer {"connection_id":232167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:47:40] local.INFO: IMEI packet received {"connection_id":232167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":232167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:47:45] local.INFO: TCP Data received {"connection_id":232167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:47:45] local.INFO: Processing buffer {"connection_id":232167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:47:45] local.INFO: Packet analysis {"connection_id":232167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:47:45] local.INFO: Extracted packet for processing {"connection_id":232167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:47:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:47:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 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-11-04 01:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 01:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:47:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:47:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":232167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:47:45] local.INFO: GPS data processed {"connection_id":232167,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:47:45] local.INFO: Acknowledgment sent {"connection_id":232167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:48:17] local.INFO: TCP Data received {"connection_id":232167,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:48:17] local.INFO: Processing buffer {"connection_id":232167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:48:17] local.INFO: Packet analysis {"connection_id":232167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:48:17] local.INFO: Extracted packet for processing {"connection_id":232167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:48:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:48:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:48:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:48:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":232167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:48:17] local.INFO: GPS data processed {"connection_id":232167,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:48:17] local.INFO: Acknowledgment sent {"connection_id":232167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:48:35] local.INFO: TCP Data received {"connection_id":228591,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:48:35] local.INFO: Processing buffer {"connection_id":228591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:48:35] local.INFO: IMEI packet received {"connection_id":228591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":228591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:48:40] local.INFO: TCP Data received {"connection_id":228591,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:48:40] local.INFO: Processing buffer {"connection_id":228591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:48:40] local.INFO: IMEI packet received {"connection_id":228591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":228591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:48:41] local.INFO: TCP Data received {"connection_id":228591,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:48:41] local.INFO: Processing buffer {"connection_id":228591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:48:41] local.INFO: Packet analysis {"connection_id":228591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:48:41] local.INFO: Extracted packet for processing {"connection_id":228591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:48:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:48:41] 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-11-04 01:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:48:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":228591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:48:41] local.INFO: GPS data processed {"connection_id":228591,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:48:41] local.INFO: Acknowledgment sent {"connection_id":228591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:49:12] local.INFO: TCP Data received {"connection_id":228591,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:49:12] local.INFO: Processing buffer {"connection_id":228591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:49:12] local.INFO: Packet analysis {"connection_id":228591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:49:12] local.INFO: Extracted packet for processing {"connection_id":228591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:49:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:49:12] 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-11-04 01: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-11-04 01:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":228591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:49:12] local.INFO: GPS data processed {"connection_id":228591,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:49:12] local.INFO: Acknowledgment sent {"connection_id":228591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:49:36] local.INFO: TCP Data received {"connection_id":232169,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:49:36] local.INFO: Processing buffer {"connection_id":232169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:49:36] local.INFO: IMEI packet received {"connection_id":232169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":232169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:49:40] local.INFO: TCP Data received {"connection_id":232169,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:49:40] local.INFO: Processing buffer {"connection_id":232169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:49:40] local.INFO: IMEI packet received {"connection_id":232169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":232169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:49:41] local.INFO: TCP Data received {"connection_id":232169,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:49:41] local.INFO: Processing buffer {"connection_id":232169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:49:41] local.INFO: Packet analysis {"connection_id":232169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:49:41] local.INFO: Extracted packet for processing {"connection_id":232169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:49:41] 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-11-04 01:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":232169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:49:41] local.INFO: GPS data processed {"connection_id":232169,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:49:41] local.INFO: Acknowledgment sent {"connection_id":232169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:50:12] local.INFO: TCP Data received {"connection_id":232169,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:50:12] local.INFO: Processing buffer {"connection_id":232169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:50:12] local.INFO: Packet analysis {"connection_id":232169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:50:12] local.INFO: Extracted packet for processing {"connection_id":232169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:50:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:50:12] 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-11-04 01:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":232169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:50:12] local.INFO: GPS data processed {"connection_id":232169,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:50:12] local.INFO: Acknowledgment sent {"connection_id":232169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:50:33] local.INFO: TCP Data received {"connection_id":230316,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:50:33] local.INFO: Processing buffer {"connection_id":230316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:50:33] local.INFO: IMEI packet received {"connection_id":230316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":230316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:50:35] local.INFO: TCP Data received {"connection_id":228592,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:50:35] local.INFO: Processing buffer {"connection_id":228592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:50:35] local.INFO: IMEI packet received {"connection_id":228592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":228592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:50:40] local.INFO: TCP Data received {"connection_id":228592,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:50:40] local.INFO: Processing buffer {"connection_id":228592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:50:40] local.INFO: IMEI packet received {"connection_id":228592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":228592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:50:41] local.INFO: TCP Data received {"connection_id":228592,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:50:41] local.INFO: Processing buffer {"connection_id":228592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a30d5778012ce51bc007234b90000900802f..."} 
[2026-11-04 01:50:41] local.INFO: Packet analysis {"connection_id":228592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:50:41] local.INFO: Extracted packet for processing {"connection_id":228592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a30d"} 
[2026-11-04 01:50:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196575232001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793736923000,"timestamp_ms":1793736923000,"timestamp_seconds":1793736923,"priority":1,"record_length":96,"hex_timestamp":"000001a1a30d5778"} 
[2026-11-04 01:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:50:41] 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-11-04 01:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196575232001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196575232001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:50:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196575232001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":228592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:50:41] local.INFO: GPS data processed {"connection_id":228592,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:50:41] local.INFO: Acknowledgment sent {"connection_id":228592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:51:12] local.INFO: TCP Data received {"connection_id":228592,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:51:12] local.INFO: Processing buffer {"connection_id":228592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:51:12] local.INFO: Packet analysis {"connection_id":228592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:51:12] local.INFO: Extracted packet for processing {"connection_id":228592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 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-11-04 01:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:51:12] 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-11-04 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-11-04 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-11-04 01:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:51:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":228592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:51:12] local.INFO: GPS data processed {"connection_id":228592,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:51:12] local.INFO: Acknowledgment sent {"connection_id":228592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:51:20] local.INFO: TCP Data received {"connection_id":229078,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:51:20] local.INFO: Processing buffer {"connection_id":229078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:51:20] local.INFO: IMEI packet received {"connection_id":229078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":229078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:51:35] local.INFO: TCP Data received {"connection_id":229079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:51:35] local.INFO: Processing buffer {"connection_id":229079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:51:35] local.INFO: IMEI packet received {"connection_id":229079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":229079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:51:40] local.INFO: TCP Data received {"connection_id":229079,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:51:40] local.INFO: Processing buffer {"connection_id":229079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:51:40] local.INFO: IMEI packet received {"connection_id":229079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":229079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:51:41] local.INFO: TCP Data received {"connection_id":229079,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:51:41] local.INFO: Processing buffer {"connection_id":229079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:51:41] local.INFO: Packet analysis {"connection_id":229079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:51:41] local.INFO: Extracted packet for processing {"connection_id":229079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:51:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 01:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:51:41] 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-11-04 01:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:51:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":229079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:51:41] local.INFO: GPS data processed {"connection_id":229079,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:51:41] local.INFO: Acknowledgment sent {"connection_id":229079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:52:12] local.INFO: TCP Data received {"connection_id":229079,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:52:12] local.INFO: Processing buffer {"connection_id":229079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:52:12] local.INFO: Packet analysis {"connection_id":229079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:52:12] local.INFO: Extracted packet for processing {"connection_id":229079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 01:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:52:12] 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-11-04 01:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:52:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":229079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:52:12] local.INFO: GPS data processed {"connection_id":229079,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:52:12] local.INFO: Acknowledgment sent {"connection_id":229079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:52:35] local.INFO: TCP Data received {"connection_id":230319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:52:35] local.INFO: Processing buffer {"connection_id":230319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:52:35] local.INFO: IMEI packet received {"connection_id":230319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":230319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:52:40] local.INFO: TCP Data received {"connection_id":230319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:52:40] local.INFO: Processing buffer {"connection_id":230319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:52:40] local.INFO: IMEI packet received {"connection_id":230319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":230319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:52:41] local.INFO: TCP Data received {"connection_id":230319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:52:41] local.INFO: Processing buffer {"connection_id":230319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:52:41] local.INFO: Packet analysis {"connection_id":230319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:52:41] local.INFO: Extracted packet for processing {"connection_id":230319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:52:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 01:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:52:41] 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-11-04 01:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":230319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:52:41] local.INFO: GPS data processed {"connection_id":230319,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:52:41] local.INFO: Acknowledgment sent {"connection_id":230319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:53:12] local.INFO: TCP Data received {"connection_id":230319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:53:12] local.INFO: Processing buffer {"connection_id":230319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:53:12] local.INFO: Packet analysis {"connection_id":230319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:53:12] local.INFO: Extracted packet for processing {"connection_id":230319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 01:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:53:12] 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-11-04 01: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-11-04 01:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:53: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-11-04 01:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":230319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:53:12] local.INFO: GPS data processed {"connection_id":230319,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:53:12] local.INFO: Acknowledgment sent {"connection_id":230319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:53:35] local.INFO: TCP Data received {"connection_id":230320,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:53:35] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:53:35] local.INFO: IMEI packet received {"connection_id":230320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":230320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:53:40] local.INFO: TCP Data received {"connection_id":230320,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:53:40] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:53:40] local.INFO: IMEI packet received {"connection_id":230320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":230320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:53:41] local.INFO: TCP Data received {"connection_id":230320,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:53:41] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:53:41] local.INFO: Packet analysis {"connection_id":230320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:53:41] local.INFO: Extracted packet for processing {"connection_id":230320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:53:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 01:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:53:41] 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-11-04 01:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":230320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:53:41] local.INFO: GPS data processed {"connection_id":230320,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:53:41] local.INFO: Acknowledgment sent {"connection_id":230320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:54:12] local.INFO: TCP Data received {"connection_id":230320,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:54:12] local.INFO: Processing buffer {"connection_id":230320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:54:12] local.INFO: Packet analysis {"connection_id":230320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:54:12] local.INFO: Extracted packet for processing {"connection_id":230320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 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-11-04 01:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:54:12] 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-11-04 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-11-04 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-11-04 01:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:54:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":230320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:54:12] local.INFO: GPS data processed {"connection_id":230320,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:54:12] local.INFO: Acknowledgment sent {"connection_id":230320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:54:35] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:54:35] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:54:35] local.INFO: IMEI packet received {"connection_id":230321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":230321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:54:40] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:54:40] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:54:40] local.INFO: IMEI packet received {"connection_id":230321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":230321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:54:41] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:54:41] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:54:41] local.INFO: Packet analysis {"connection_id":230321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:54:41] local.INFO: Extracted packet for processing {"connection_id":230321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 01:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:54:41] 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-11-04 01:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":230321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:54:41] local.INFO: GPS data processed {"connection_id":230321,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:54:41] local.INFO: Acknowledgment sent {"connection_id":230321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:55:12] local.INFO: TCP Data received {"connection_id":230321,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:55:12] local.INFO: Processing buffer {"connection_id":230321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:55:12] local.INFO: Packet analysis {"connection_id":230321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:55:12] local.INFO: Extracted packet for processing {"connection_id":230321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 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-11-04 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:55:12] 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-11-04 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-11-04 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-11-04 01:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":230321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:55:12] local.INFO: GPS data processed {"connection_id":230321,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:55:12] local.INFO: Acknowledgment sent {"connection_id":230321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:55:35] local.INFO: TCP Data received {"connection_id":230323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:55:35] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:55:35] local.INFO: IMEI packet received {"connection_id":230323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":230323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:55:40] local.INFO: TCP Data received {"connection_id":230323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:55:40] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:55:40] local.INFO: IMEI packet received {"connection_id":230323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":230323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:55:41] local.INFO: TCP Data received {"connection_id":230323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:55:41] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a311ef40012ce51bc007234b90000900802f..."} 
[2026-11-04 01:55:41] local.INFO: Packet analysis {"connection_id":230323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:55:41] local.INFO: Extracted packet for processing {"connection_id":230323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a311"} 
[2026-11-04 01:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196652288001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737224000,"timestamp_ms":1793737224000,"timestamp_seconds":1793737224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a311ef40"} 
[2026-11-04 01:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 01:55:41] 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-11-04 01: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-11-04 01:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196652288001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196652288001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196652288001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":230323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:55:41] local.INFO: GPS data processed {"connection_id":230323,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:55:41] local.INFO: Acknowledgment sent {"connection_id":230323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:56:12] local.INFO: TCP Data received {"connection_id":230323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:56:12] local.INFO: Processing buffer {"connection_id":230323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:56:12] local.INFO: Packet analysis {"connection_id":230323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:56:12] local.INFO: Extracted packet for processing {"connection_id":230323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 01:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":230323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:56:12] local.INFO: GPS data processed {"connection_id":230323,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:56:12] local.INFO: Acknowledgment sent {"connection_id":230323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:56:35] local.INFO: TCP Data received {"connection_id":232172,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:56:35] local.INFO: Processing buffer {"connection_id":232172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:56:35] local.INFO: IMEI packet received {"connection_id":232172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":232172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:56:35] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:56:35] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:56:35] local.INFO: IMEI packet received {"connection_id":230324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":230324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:56:40] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:56:40] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:56:40] local.INFO: IMEI packet received {"connection_id":230324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":230324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:56:41] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:56:41] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:56:41] local.INFO: Packet analysis {"connection_id":230324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:56:41] local.INFO: Extracted packet for processing {"connection_id":230324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:56:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 01:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:56:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":230324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:56:41] local.INFO: GPS data processed {"connection_id":230324,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:56:41] local.INFO: Acknowledgment sent {"connection_id":230324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:57:07] local.INFO: TCP Data received {"connection_id":230325,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:57:07] local.INFO: Processing buffer {"connection_id":230325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 01:57:07] local.INFO: IMEI packet received {"connection_id":230325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 01:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":230325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:57:13] local.INFO: TCP Data received {"connection_id":230324,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:57:13] local.INFO: Processing buffer {"connection_id":230324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:57:13] local.INFO: Packet analysis {"connection_id":230324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:57:13] local.INFO: Extracted packet for processing {"connection_id":230324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:57:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 01:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:57:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:57:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":230324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:57:13] local.INFO: GPS data processed {"connection_id":230324,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:57:13] local.INFO: Acknowledgment sent {"connection_id":230324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:57:35] local.INFO: TCP Data received {"connection_id":229080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:57:35] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:57:35] local.INFO: IMEI packet received {"connection_id":229080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":229080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:57:40] local.INFO: TCP Data received {"connection_id":229080,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:57:40] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:57:40] local.INFO: IMEI packet received {"connection_id":229080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":229080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:57:41] local.INFO: TCP Data received {"connection_id":229080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:57:41] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:57:41] local.INFO: Packet analysis {"connection_id":229080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:57:41] local.INFO: Extracted packet for processing {"connection_id":229080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:57:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 01:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:57:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":229080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:57:41] local.INFO: GPS data processed {"connection_id":229080,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:57:41] local.INFO: Acknowledgment sent {"connection_id":229080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:58:12] local.INFO: TCP Data received {"connection_id":229080,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:58:12] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:58:12] local.INFO: Packet analysis {"connection_id":229080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:58:12] local.INFO: Extracted packet for processing {"connection_id":229080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01: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-11-04 01:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 01:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01: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-11-04 01:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:58:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":229080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:58:12] local.INFO: GPS data processed {"connection_id":229080,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:58:12] local.INFO: Acknowledgment sent {"connection_id":229080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:58:35] local.INFO: TCP Data received {"connection_id":228593,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:58:35] local.INFO: Processing buffer {"connection_id":228593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:58:35] local.INFO: IMEI packet received {"connection_id":228593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":228593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:58:40] local.INFO: TCP Data received {"connection_id":228593,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:58:40] local.INFO: Processing buffer {"connection_id":228593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:58:40] local.INFO: IMEI packet received {"connection_id":228593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":228593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:58:41] local.INFO: TCP Data received {"connection_id":228593,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:58:41] local.INFO: Processing buffer {"connection_id":228593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:58:41] local.INFO: Packet analysis {"connection_id":228593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:58:41] local.INFO: Extracted packet for processing {"connection_id":228593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:58:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 01:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":228593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:58:41] local.INFO: GPS data processed {"connection_id":228593,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:58:41] local.INFO: Acknowledgment sent {"connection_id":228593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:59:12] local.INFO: TCP Data received {"connection_id":228593,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:59:12] local.INFO: Processing buffer {"connection_id":228593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:59:12] local.INFO: Packet analysis {"connection_id":228593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:59:12] local.INFO: Extracted packet for processing {"connection_id":228593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 01:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 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-11-04 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 01:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:59:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":228593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:59:12] local.INFO: GPS data processed {"connection_id":228593,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:59:12] local.INFO: Acknowledgment sent {"connection_id":228593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 01:59:35] local.INFO: TCP Data received {"connection_id":229081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:59:35] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:59:35] local.INFO: IMEI packet received {"connection_id":229081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 01:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":229081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 01:59:40] local.INFO: TCP Data received {"connection_id":229081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:59:40] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 01:59:40] local.INFO: IMEI packet received {"connection_id":229081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 01:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":229081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 01:59:41] local.INFO: TCP Data received {"connection_id":229081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:59:41] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 01:59:41] local.INFO: Packet analysis {"connection_id":229081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:59:41] local.INFO: Extracted packet for processing {"connection_id":229081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 01:59:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 01:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 01:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 01:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 01:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 01:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 01:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 01:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 01:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 01:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 01:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 01:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 01:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 01:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 01:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 01:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 01:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 01:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 01:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 01:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 01:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 01:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 01:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 01:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 01:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 01:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 01:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 01:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 01:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":229081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 01:59:41] local.INFO: GPS data processed {"connection_id":229081,"processed":1,"errors":0,"total":1} 
[2026-11-04 01:59:41] local.INFO: Acknowledgment sent {"connection_id":229081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:00:13] local.INFO: TCP Data received {"connection_id":229081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 02:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 02:00:13] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 02:00:13] local.INFO: Packet analysis {"connection_id":229081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 02:00:13] local.INFO: Extracted packet for processing {"connection_id":229081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 02:00:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 02:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:00:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":229081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:00:13] local.INFO: GPS data processed {"connection_id":229081,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:00:13] local.INFO: Acknowledgment sent {"connection_id":229081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:00:35] local.INFO: TCP Data received {"connection_id":228594,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:00:35] local.INFO: Processing buffer {"connection_id":228594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:00:35] local.INFO: IMEI packet received {"connection_id":228594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":228594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:00:40] local.INFO: TCP Data received {"connection_id":228594,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:00:40] local.INFO: Processing buffer {"connection_id":228594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:00:40] local.INFO: IMEI packet received {"connection_id":228594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":228594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:00:41] local.INFO: TCP Data received {"connection_id":228594,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 02:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 02:00:41] local.INFO: Processing buffer {"connection_id":228594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3168708012ce51bc007234b90000900802f..."} 
[2026-11-04 02:00:41] local.INFO: Packet analysis {"connection_id":228594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 02:00:41] local.INFO: Extracted packet for processing {"connection_id":228594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a316"} 
[2026-11-04 02:00:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196729344001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737525000,"timestamp_ms":1793737525000,"timestamp_seconds":1793737525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3168708"} 
[2026-11-04 02:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196729344001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196729344001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:00:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196729344001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":228594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:00:41] local.INFO: GPS data processed {"connection_id":228594,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:00:41] local.INFO: Acknowledgment sent {"connection_id":228594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:01:12] local.INFO: TCP Data received {"connection_id":228594,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:01:12] local.INFO: Processing buffer {"connection_id":228594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:01:12] local.INFO: Packet analysis {"connection_id":228594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:01:12] local.INFO: Extracted packet for processing {"connection_id":228594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:01:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:01:12] 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-11-04 02: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-11-04 02:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:01:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":228594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:01:12] local.INFO: GPS data processed {"connection_id":228594,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:01:12] local.INFO: Acknowledgment sent {"connection_id":228594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:01:35] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:01:35] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:01:35] local.INFO: IMEI packet received {"connection_id":230326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":230326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:01:40] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:01:40] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:01:40] local.INFO: IMEI packet received {"connection_id":230326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":230326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:01:41] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:01:41] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:01:41] local.INFO: Packet analysis {"connection_id":230326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:01:41] local.INFO: Extracted packet for processing {"connection_id":230326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:01:41] 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-11-04 02:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":230326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:01:41] local.INFO: GPS data processed {"connection_id":230326,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:01:41] local.INFO: Acknowledgment sent {"connection_id":230326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:02:12] local.INFO: TCP Data received {"connection_id":230326,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:02:12] local.INFO: Processing buffer {"connection_id":230326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:02:12] local.INFO: Packet analysis {"connection_id":230326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:02:12] local.INFO: Extracted packet for processing {"connection_id":230326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:02:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 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-11-04 02:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:02:12] 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-11-04 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-11-04 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-11-04 02:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:02:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":230326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:02:13] local.INFO: GPS data processed {"connection_id":230326,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:02:13] local.INFO: Acknowledgment sent {"connection_id":230326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:02:35] local.INFO: TCP Data received {"connection_id":229083,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:02:35] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:02:35] local.INFO: IMEI packet received {"connection_id":229083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":229083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:02:40] local.INFO: TCP Data received {"connection_id":229084,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:02:40] local.INFO: Processing buffer {"connection_id":229084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:02:40] local.INFO: IMEI packet received {"connection_id":229084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":229084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:02:40] local.INFO: TCP Data received {"connection_id":229083,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:02:40] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:02:40] local.INFO: IMEI packet received {"connection_id":229083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":229083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:02:41] local.INFO: TCP Data received {"connection_id":229083,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:02:41] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:02:41] local.INFO: Packet analysis {"connection_id":229083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:02:41] local.INFO: Extracted packet for processing {"connection_id":229083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:02:41] 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-11-04 02:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:02:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":229083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:02:41] local.INFO: GPS data processed {"connection_id":229083,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:02:41] local.INFO: Acknowledgment sent {"connection_id":229083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:03:12] local.INFO: TCP Data received {"connection_id":229083,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:03:12] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:03:12] local.INFO: Packet analysis {"connection_id":229083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:03:12] local.INFO: Extracted packet for processing {"connection_id":229083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:03:12] 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-11-04 02: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-11-04 02:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:03:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":229083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:03:12] local.INFO: GPS data processed {"connection_id":229083,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:03:12] local.INFO: Acknowledgment sent {"connection_id":229083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:03:36] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:03:36] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:03:36] local.INFO: IMEI packet received {"connection_id":230327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":230327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:03:40] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:03:40] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:03:40] local.INFO: IMEI packet received {"connection_id":230327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":230327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:03:41] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:03:41] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:03:41] local.INFO: Packet analysis {"connection_id":230327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:03:41] local.INFO: Extracted packet for processing {"connection_id":230327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:03:41] 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-11-04 02:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":230327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:03:41] local.INFO: GPS data processed {"connection_id":230327,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:03:41] local.INFO: Acknowledgment sent {"connection_id":230327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:04:12] local.INFO: TCP Data received {"connection_id":230327,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:04:12] local.INFO: Processing buffer {"connection_id":230327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:04:12] local.INFO: Packet analysis {"connection_id":230327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:04:12] local.INFO: Extracted packet for processing {"connection_id":230327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:04:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:04:12] 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-11-04 02: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-11-04 02:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":230327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:04:12] local.INFO: GPS data processed {"connection_id":230327,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:04:12] local.INFO: Acknowledgment sent {"connection_id":230327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:04:35] local.INFO: TCP Data received {"connection_id":232177,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:04:35] local.INFO: Processing buffer {"connection_id":232177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:04:35] local.INFO: IMEI packet received {"connection_id":232177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":232177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:04:40] local.INFO: TCP Data received {"connection_id":232177,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:04:40] local.INFO: Processing buffer {"connection_id":232177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:04:40] local.INFO: IMEI packet received {"connection_id":232177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":232177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:04:41] local.INFO: TCP Data received {"connection_id":232177,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:04:41] local.INFO: Processing buffer {"connection_id":232177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:04:41] local.INFO: Packet analysis {"connection_id":232177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:04:41] local.INFO: Extracted packet for processing {"connection_id":232177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:04:41] 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-11-04 02:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":232177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:04:41] local.INFO: GPS data processed {"connection_id":232177,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:04:41] local.INFO: Acknowledgment sent {"connection_id":232177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:05:12] local.INFO: TCP Data received {"connection_id":232177,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:05:12] local.INFO: Processing buffer {"connection_id":232177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:05:12] local.INFO: Packet analysis {"connection_id":232177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:05:12] local.INFO: Extracted packet for processing {"connection_id":232177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 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-11-04 02:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:05:12] 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-11-04 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-11-04 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-11-04 02:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":232177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:05:12] local.INFO: GPS data processed {"connection_id":232177,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:05:12] local.INFO: Acknowledgment sent {"connection_id":232177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:05:35] local.INFO: TCP Data received {"connection_id":229085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:05:35] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:05:35] local.INFO: IMEI packet received {"connection_id":229085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":229085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:05:40] local.INFO: TCP Data received {"connection_id":229085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:05:40] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:05:40] local.INFO: IMEI packet received {"connection_id":229085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":229085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:05:41] local.INFO: TCP Data received {"connection_id":229085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:05:41] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31b1ed0012ce51bc007234b900009008031..."} 
[2026-11-04 02:05:41] local.INFO: Packet analysis {"connection_id":229085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:05:41] local.INFO: Extracted packet for processing {"connection_id":229085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31b"} 
[2026-11-04 02:05:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196806400001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793737826000,"timestamp_ms":1793737826000,"timestamp_seconds":1793737826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31b1ed0"} 
[2026-11-04 02:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:05:41] 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-11-04 02: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-11-04 02:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196806400001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196806400001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196806400001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":229085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:05:41] local.INFO: GPS data processed {"connection_id":229085,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:05:41] local.INFO: Acknowledgment sent {"connection_id":229085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:06:12] local.INFO: TCP Data received {"connection_id":229085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:06:12] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:06:12] local.INFO: Packet analysis {"connection_id":229085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:06:12] local.INFO: Extracted packet for processing {"connection_id":229085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:06:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 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-11-04 02:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:06:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":229085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:06:12] local.INFO: GPS data processed {"connection_id":229085,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:06:12] local.INFO: Acknowledgment sent {"connection_id":229085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:06:40] local.INFO: TCP Data received {"connection_id":228597,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:06:40] local.INFO: Processing buffer {"connection_id":228597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:06:40] local.INFO: IMEI packet received {"connection_id":228597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":228597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:06:45] local.INFO: TCP Data received {"connection_id":228597,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:06:45] local.INFO: Processing buffer {"connection_id":228597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:06:45] local.INFO: IMEI packet received {"connection_id":228597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":228597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:06:46] local.INFO: TCP Data received {"connection_id":228597,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:06:46] local.INFO: Processing buffer {"connection_id":228597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:06:46] local.INFO: Packet analysis {"connection_id":228597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:06:46] local.INFO: Extracted packet for processing {"connection_id":228597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:06:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:06:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 02:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:06:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:06:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:06:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":228597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:06:46] local.INFO: GPS data processed {"connection_id":228597,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:06:46] local.INFO: Acknowledgment sent {"connection_id":228597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:07:17] local.INFO: TCP Data received {"connection_id":228597,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:07:17] local.INFO: Processing buffer {"connection_id":228597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:07:17] local.INFO: Packet analysis {"connection_id":228597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:07:17] local.INFO: Extracted packet for processing {"connection_id":228597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:07:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 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-11-04 02:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:07:17] 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-11-04 02:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:07:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":228597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:07:17] local.INFO: GPS data processed {"connection_id":228597,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:07:17] local.INFO: Acknowledgment sent {"connection_id":228597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:07:35] local.INFO: TCP Data received {"connection_id":232179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:07:35] local.INFO: Processing buffer {"connection_id":232179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:07:35] local.INFO: IMEI packet received {"connection_id":232179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":232179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:07:40] local.INFO: TCP Data received {"connection_id":232179,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:07:40] local.INFO: Processing buffer {"connection_id":232179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:07:40] local.INFO: IMEI packet received {"connection_id":232179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":232179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:07:41] local.INFO: TCP Data received {"connection_id":232179,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:07:41] local.INFO: Processing buffer {"connection_id":232179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:07:41] local.INFO: Packet analysis {"connection_id":232179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:07:41] local.INFO: Extracted packet for processing {"connection_id":232179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 02:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":232179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:07:41] local.INFO: GPS data processed {"connection_id":232179,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:07:41] local.INFO: Acknowledgment sent {"connection_id":232179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:08:12] local.INFO: TCP Data received {"connection_id":232179,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:08:12] local.INFO: Processing buffer {"connection_id":232179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:08:12] local.INFO: Packet analysis {"connection_id":232179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:08:12] local.INFO: Extracted packet for processing {"connection_id":232179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:08:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 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-11-04 02:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:08:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":232179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:08:12] local.INFO: GPS data processed {"connection_id":232179,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:08:12] local.INFO: Acknowledgment sent {"connection_id":232179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:08:13] local.INFO: TCP Data received {"connection_id":228598,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:08:13] local.INFO: Processing buffer {"connection_id":228598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:08:13] local.INFO: IMEI packet received {"connection_id":228598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":228598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:08:36] local.INFO: TCP Data received {"connection_id":229086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:08:36] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:08:36] local.INFO: IMEI packet received {"connection_id":229086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":229086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:08:40] local.INFO: TCP Data received {"connection_id":229086,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:08:40] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:08:40] local.INFO: IMEI packet received {"connection_id":229086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":229086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:08:41] local.INFO: TCP Data received {"connection_id":229086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:08:41] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:08:41] local.INFO: Packet analysis {"connection_id":229086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:08:41] local.INFO: Extracted packet for processing {"connection_id":229086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 02:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":229086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:08:41] local.INFO: GPS data processed {"connection_id":229086,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:08:41] local.INFO: Acknowledgment sent {"connection_id":229086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:09:12] local.INFO: TCP Data received {"connection_id":229086,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:09:12] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:09:12] local.INFO: Packet analysis {"connection_id":229086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:09:12] local.INFO: Extracted packet for processing {"connection_id":229086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:09:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 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-11-04 02:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":229086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:09:12] local.INFO: GPS data processed {"connection_id":229086,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:09:12] local.INFO: Acknowledgment sent {"connection_id":229086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:09:35] local.INFO: TCP Data received {"connection_id":232180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:09:35] local.INFO: Processing buffer {"connection_id":232180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:09:35] local.INFO: IMEI packet received {"connection_id":232180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":232180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:09:40] local.INFO: TCP Data received {"connection_id":232180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:09:40] local.INFO: Processing buffer {"connection_id":232180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:09:40] local.INFO: IMEI packet received {"connection_id":232180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":232180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:09:41] local.INFO: TCP Data received {"connection_id":232180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:09:41] local.INFO: Processing buffer {"connection_id":232180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:09:41] local.INFO: Packet analysis {"connection_id":232180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:09:41] local.INFO: Extracted packet for processing {"connection_id":232180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 02:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:09:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":232180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:09:41] local.INFO: GPS data processed {"connection_id":232180,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:09:41] local.INFO: Acknowledgment sent {"connection_id":232180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:10:12] local.INFO: TCP Data received {"connection_id":232180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:10:12] local.INFO: Processing buffer {"connection_id":232180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:10:12] local.INFO: Packet analysis {"connection_id":232180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:10:12] local.INFO: Extracted packet for processing {"connection_id":232180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 02:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:10:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":232180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:10:12] local.INFO: GPS data processed {"connection_id":232180,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:10:12] local.INFO: Acknowledgment sent {"connection_id":232180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:10:35] local.INFO: TCP Data received {"connection_id":230330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:10:35] local.INFO: Processing buffer {"connection_id":230330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:10:35] local.INFO: IMEI packet received {"connection_id":230330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":230330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:10:40] local.INFO: TCP Data received {"connection_id":230330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:10:40] local.INFO: Processing buffer {"connection_id":230330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:10:40] local.INFO: IMEI packet received {"connection_id":230330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":230330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:10:41] local.INFO: TCP Data received {"connection_id":230330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:10:41] local.INFO: Processing buffer {"connection_id":230330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a31fb698012ce51bc007234b900009008031..."} 
[2026-11-04 02:10:41] local.INFO: Packet analysis {"connection_id":230330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:10:41] local.INFO: Extracted packet for processing {"connection_id":230330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a31f"} 
[2026-11-04 02:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196883456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738127000,"timestamp_ms":1793738127000,"timestamp_seconds":1793738127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a31fb698"} 
[2026-11-04 02:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196883456001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196883456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:10:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196883456001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":230330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:10:41] local.INFO: GPS data processed {"connection_id":230330,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:10:41] local.INFO: Acknowledgment sent {"connection_id":230330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:11:12] local.INFO: TCP Data received {"connection_id":230330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:11:12] local.INFO: Processing buffer {"connection_id":230330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:11:12] local.INFO: Packet analysis {"connection_id":230330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:11:12] local.INFO: Extracted packet for processing {"connection_id":230330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:11:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:11:12] 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-11-04 02: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-11-04 02:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":230330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:11:12] local.INFO: GPS data processed {"connection_id":230330,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:11:12] local.INFO: Acknowledgment sent {"connection_id":230330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:11:40] local.INFO: TCP Data received {"connection_id":229088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:11:40] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:11:40] local.INFO: IMEI packet received {"connection_id":229088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":229088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:11:45] local.INFO: TCP Data received {"connection_id":229088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:11:45] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:11:45] local.INFO: IMEI packet received {"connection_id":229088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":229088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:11:46] local.INFO: TCP Data received {"connection_id":229088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:11:46] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:11:46] local.INFO: Packet analysis {"connection_id":229088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:11:46] local.INFO: Extracted packet for processing {"connection_id":229088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:11:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:11:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":229088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:11:46] local.INFO: GPS data processed {"connection_id":229088,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:11:46] local.INFO: Acknowledgment sent {"connection_id":229088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:12:17] local.INFO: TCP Data received {"connection_id":229088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:12:17] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:12:17] local.INFO: Packet analysis {"connection_id":229088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:12:17] local.INFO: Extracted packet for processing {"connection_id":229088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:12:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:12:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":229088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:12:17] local.INFO: GPS data processed {"connection_id":229088,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:12:17] local.INFO: Acknowledgment sent {"connection_id":229088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:12:35] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:12:35] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:12:35] local.INFO: IMEI packet received {"connection_id":230331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":230331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:12:40] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:12:40] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:12:40] local.INFO: IMEI packet received {"connection_id":230331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":230331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:12:41] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:12:41] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:12:41] local.INFO: Packet analysis {"connection_id":230331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:12:41] local.INFO: Extracted packet for processing {"connection_id":230331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:12:41] 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-11-04 02:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":230331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:12:41] local.INFO: GPS data processed {"connection_id":230331,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:12:41] local.INFO: Acknowledgment sent {"connection_id":230331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:13:12] local.INFO: TCP Data received {"connection_id":230331,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:13:12] local.INFO: Processing buffer {"connection_id":230331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:13:12] local.INFO: Packet analysis {"connection_id":230331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:13:12] local.INFO: Extracted packet for processing {"connection_id":230331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:13:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:13:12] 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-11-04 02:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":230331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:13:12] local.INFO: GPS data processed {"connection_id":230331,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:13:12] local.INFO: Acknowledgment sent {"connection_id":230331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:13:30] local.INFO: TCP Data received {"connection_id":229089,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:13:30] local.INFO: Processing buffer {"connection_id":229089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:13:30] local.INFO: IMEI packet received {"connection_id":229089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":229089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:13:36] local.INFO: TCP Data received {"connection_id":228601,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:13:36] local.INFO: Processing buffer {"connection_id":228601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:13:36] local.INFO: IMEI packet received {"connection_id":228601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":228601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:13:40] local.INFO: TCP Data received {"connection_id":228601,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:13:40] local.INFO: Processing buffer {"connection_id":228601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:13:40] local.INFO: IMEI packet received {"connection_id":228601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":228601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:13:41] local.INFO: TCP Data received {"connection_id":228601,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:13:41] local.INFO: Processing buffer {"connection_id":228601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:13:41] local.INFO: Packet analysis {"connection_id":228601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:13:41] local.INFO: Extracted packet for processing {"connection_id":228601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:13:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:13:41] 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-11-04 02:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":228601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:13:41] local.INFO: GPS data processed {"connection_id":228601,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:13:41] local.INFO: Acknowledgment sent {"connection_id":228601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:14:10] local.INFO: TCP Data received {"connection_id":232182,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:10] local.INFO: Processing buffer {"connection_id":232182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:10] local.INFO: IMEI packet received {"connection_id":232182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":232182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:14:12] local.INFO: TCP Data received {"connection_id":228601,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:14:12] local.INFO: Processing buffer {"connection_id":228601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:14:12] local.INFO: Packet analysis {"connection_id":228601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:14:12] local.INFO: Extracted packet for processing {"connection_id":228601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:14:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:14:12] 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-11-04 02: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-11-04 02:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":228601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:14:12] local.INFO: GPS data processed {"connection_id":228601,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:14:12] local.INFO: Acknowledgment sent {"connection_id":228601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:14:17] local.INFO: TCP Data received {"connection_id":232182,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:17] local.INFO: Processing buffer {"connection_id":232182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:17] local.INFO: IMEI packet received {"connection_id":232182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":232182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:14:19] local.INFO: TCP Data received {"connection_id":232182,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32436f0012d4f128006766f280021005a2e..."} 
[2026-11-04 02:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32436f0012d4f128006766f280021005a2e..."} 
[2026-11-04 02:14:19] local.INFO: Processing buffer {"connection_id":232182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32436f0012d4f128006766f280021005a2e..."} 
[2026-11-04 02:14:19] local.INFO: Packet analysis {"connection_id":232182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:14:19] local.INFO: Extracted packet for processing {"connection_id":232182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:14:19] local.INFO: GPS Element Parsed {"raw_longitude":760156800,"raw_latitude":108425000,"longitude_deg":76.01568,"latitude_deg":10.8425,"altitude":33,"angle":90,"satellites":46,"speed":51,"hex_longitude":"2d4f1280","hex_latitude":"06766f28","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197031680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19949358585741312,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5674605926986459136,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14: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-11-04 02:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793738422000,"timestamp_ms":1793738422000,"timestamp_seconds":1793738422,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32436f0"} 
[2026-11-04 02:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 02:14: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-11-04 02: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-11-04 02:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197031680001,"66":27876,"167":206,"80":60160,"24":51,"16":19949358585741312,"45":5674605926986459136},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-11-04 02:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197031680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:14:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-04 02:14:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-11-04 02:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19949358585741312,"km_value":19949358585741.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5674605926986459136,"description":"Unknown IO ID 45"} 
[2026-11-04 02:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197031680001,"power":27876,"unknown_167":206,"unknown_80":60160,"ignition":51,"odometer":null,"unknown_45":5674605926986459136}} 
[2026-11-04 02:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":232182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:14:19] local.INFO: GPS data processed {"connection_id":232182,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:14:19] local.INFO: Acknowledgment sent {"connection_id":232182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:14:35] local.INFO: TCP Data received {"connection_id":230332,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:14:35] local.INFO: Processing buffer {"connection_id":230332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:14:35] local.INFO: IMEI packet received {"connection_id":230332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":230332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:14:40] local.INFO: TCP Data received {"connection_id":230332,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:14:40] local.INFO: Processing buffer {"connection_id":230332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:14:40] local.INFO: IMEI packet received {"connection_id":230332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":230332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:14:41] local.INFO: TCP Data received {"connection_id":230332,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:14:41] local.INFO: Processing buffer {"connection_id":230332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:14:41] local.INFO: Packet analysis {"connection_id":230332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:14:41] local.INFO: Extracted packet for processing {"connection_id":230332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:14:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:14:41] 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-11-04 02:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:14:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":230332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:14:41] local.INFO: GPS data processed {"connection_id":230332,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:14:41] local.INFO: Acknowledgment sent {"connection_id":230332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:14:50] local.INFO: TCP Data received {"connection_id":230333,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:50] local.INFO: Processing buffer {"connection_id":230333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:14:50] local.INFO: IMEI packet received {"connection_id":230333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":230333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:15:12] local.INFO: TCP Data received {"connection_id":230332,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:15:12] local.INFO: Processing buffer {"connection_id":230332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:15:12] local.INFO: Packet analysis {"connection_id":230332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:15:12] local.INFO: Extracted packet for processing {"connection_id":230332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:15:12] 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-11-04 02: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-11-04 02:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:15:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":230332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:15:12] local.INFO: GPS data processed {"connection_id":230332,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:15:12] local.INFO: Acknowledgment sent {"connection_id":230332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:15:22] local.INFO: TCP Data received {"connection_id":229090,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:15:22] local.INFO: Processing buffer {"connection_id":229090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:15:22] local.INFO: IMEI packet received {"connection_id":229090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":229090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:15:35] local.INFO: TCP Data received {"connection_id":232183,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:15:35] local.INFO: Processing buffer {"connection_id":232183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:15:35] local.INFO: IMEI packet received {"connection_id":232183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":232183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:15:40] local.INFO: TCP Data received {"connection_id":232183,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:15:40] local.INFO: Processing buffer {"connection_id":232183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:15:40] local.INFO: IMEI packet received {"connection_id":232183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":232183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:15:41] local.INFO: TCP Data received {"connection_id":232183,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:15:41] local.INFO: Processing buffer {"connection_id":232183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3244e60012ce51bc007234b900009008032..."} 
[2026-11-04 02:15:41] local.INFO: Packet analysis {"connection_id":232183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:15:41] local.INFO: Extracted packet for processing {"connection_id":232183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a324"} 
[2026-11-04 02:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459196960512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738428000,"timestamp_ms":1793738428000,"timestamp_seconds":1793738428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3244e60"} 
[2026-11-04 02:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:15:41] 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-11-04 02: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-11-04 02:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459196960512001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459196960512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:15:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459196960512001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":232183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:15:41] local.INFO: GPS data processed {"connection_id":232183,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:15:41] local.INFO: Acknowledgment sent {"connection_id":232183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:16:12] local.INFO: TCP Data received {"connection_id":232183,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:16:12] local.INFO: Processing buffer {"connection_id":232183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:16:12] local.INFO: Packet analysis {"connection_id":232183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:16:12] local.INFO: Extracted packet for processing {"connection_id":232183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 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-11-04 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:16:12] 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-11-04 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-11-04 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-11-04 02:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:16:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":232183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:16:12] local.INFO: GPS data processed {"connection_id":232183,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:16:12] local.INFO: Acknowledgment sent {"connection_id":232183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:16:40] local.INFO: TCP Data received {"connection_id":229092,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:16:40] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:16:40] local.INFO: IMEI packet received {"connection_id":229092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":229092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:16:45] local.INFO: TCP Data received {"connection_id":229092,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:16:45] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:16:45] local.INFO: IMEI packet received {"connection_id":229092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":229092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:16:46] local.INFO: TCP Data received {"connection_id":229092,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:16:46] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:16:46] local.INFO: Packet analysis {"connection_id":229092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:16:46] local.INFO: Extracted packet for processing {"connection_id":229092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:16:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:16:46] 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-11-04 02:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:16:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:16:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":229092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:16:46] local.INFO: GPS data processed {"connection_id":229092,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:16:46] local.INFO: Acknowledgment sent {"connection_id":229092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:17:17] local.INFO: TCP Data received {"connection_id":229092,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:17:17] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:17:17] local.INFO: Packet analysis {"connection_id":229092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:17:17] local.INFO: Extracted packet for processing {"connection_id":229092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:17:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:17:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:17:17] 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-11-04 02: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-11-04 02:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:17:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:17:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":229092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:17:17] local.INFO: GPS data processed {"connection_id":229092,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:17:17] local.INFO: Acknowledgment sent {"connection_id":229092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:17:35] local.INFO: TCP Data received {"connection_id":228602,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:17:35] local.INFO: Processing buffer {"connection_id":228602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:17:35] local.INFO: IMEI packet received {"connection_id":228602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":228602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:17:40] local.INFO: TCP Data received {"connection_id":228602,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:17:40] local.INFO: Processing buffer {"connection_id":228602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:17:40] local.INFO: IMEI packet received {"connection_id":228602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":228602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:17:41] local.INFO: TCP Data received {"connection_id":228602,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:17:41] local.INFO: Processing buffer {"connection_id":228602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:17:41] local.INFO: Packet analysis {"connection_id":228602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:17:41] local.INFO: Extracted packet for processing {"connection_id":228602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:17:41] 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-11-04 02:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":228602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:17:41] local.INFO: GPS data processed {"connection_id":228602,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:17:41] local.INFO: Acknowledgment sent {"connection_id":228602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:18:12] local.INFO: TCP Data received {"connection_id":228602,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:18:12] local.INFO: Processing buffer {"connection_id":228602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:18:12] local.INFO: Packet analysis {"connection_id":228602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:18:12] local.INFO: Extracted packet for processing {"connection_id":228602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:18:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:18:12] 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-11-04 02:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:18:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":228602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:18:12] local.INFO: GPS data processed {"connection_id":228602,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:18:12] local.INFO: Acknowledgment sent {"connection_id":228602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:18:35] local.INFO: TCP Data received {"connection_id":232184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:18:35] local.INFO: Processing buffer {"connection_id":232184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:18:35] local.INFO: IMEI packet received {"connection_id":232184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":232184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:18:40] local.INFO: TCP Data received {"connection_id":232184,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:18:40] local.INFO: Processing buffer {"connection_id":232184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:18:40] local.INFO: IMEI packet received {"connection_id":232184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":232184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:18:41] local.INFO: TCP Data received {"connection_id":232184,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:18:41] local.INFO: Processing buffer {"connection_id":232184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:18:41] local.INFO: Packet analysis {"connection_id":232184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:18:41] local.INFO: Extracted packet for processing {"connection_id":232184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:18:41] 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-11-04 02:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":232184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:18:41] local.INFO: GPS data processed {"connection_id":232184,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:18:41] local.INFO: Acknowledgment sent {"connection_id":232184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:19:12] local.INFO: TCP Data received {"connection_id":232184,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:19:12] local.INFO: Processing buffer {"connection_id":232184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:19:12] local.INFO: Packet analysis {"connection_id":232184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:19:12] local.INFO: Extracted packet for processing {"connection_id":232184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:19:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 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-11-04 02:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:19:12] 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-11-04 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-11-04 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-11-04 02:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:19:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":232184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:19:12] local.INFO: GPS data processed {"connection_id":232184,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:19:12] local.INFO: Acknowledgment sent {"connection_id":232184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:19:35] local.INFO: TCP Data received {"connection_id":228603,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:19:35] local.INFO: Processing buffer {"connection_id":228603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:19:35] local.INFO: IMEI packet received {"connection_id":228603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":228603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:19:40] local.INFO: TCP Data received {"connection_id":228603,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:19:40] local.INFO: Processing buffer {"connection_id":228603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:19:40] local.INFO: IMEI packet received {"connection_id":228603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":228603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:19:41] local.INFO: TCP Data received {"connection_id":228603,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:19:41] local.INFO: Processing buffer {"connection_id":228603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:19:41] local.INFO: Packet analysis {"connection_id":228603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:19:41] local.INFO: Extracted packet for processing {"connection_id":228603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:19:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:19:41] 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-11-04 02:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":228603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:19:41] local.INFO: GPS data processed {"connection_id":228603,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:19:41] local.INFO: Acknowledgment sent {"connection_id":228603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:20:12] local.INFO: TCP Data received {"connection_id":228603,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:12] local.INFO: Processing buffer {"connection_id":228603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:12] local.INFO: Packet analysis {"connection_id":228603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:20:12] local.INFO: Extracted packet for processing {"connection_id":228603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:20:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:20:12] 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-11-04 02:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:20:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":228603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:20:12] local.INFO: GPS data processed {"connection_id":228603,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:20:12] local.INFO: Acknowledgment sent {"connection_id":228603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:20:40] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:20:40] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:20:40] local.INFO: IMEI packet received {"connection_id":230336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":230336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:20:45] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:20:45] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:20:45] local.INFO: IMEI packet received {"connection_id":230336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":230336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:20:46] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:46] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:46] local.INFO: Packet analysis {"connection_id":230336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:20:46] local.INFO: Extracted packet for processing {"connection_id":230336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:20:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:20:46] 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-11-04 02:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:20:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":230336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:20:46] local.INFO: GPS data processed {"connection_id":230336,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:20:46] local.INFO: Acknowledgment sent {"connection_id":230336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:20:51] local.INFO: TCP Data received {"connection_id":230336,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:51] local.INFO: Processing buffer {"connection_id":230336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a328e628012ce51bc007234b900009008031..."} 
[2026-11-04 02:20:51] local.INFO: Packet analysis {"connection_id":230336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:20:51] local.INFO: Extracted packet for processing {"connection_id":230336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a328"} 
[2026-11-04 02:20:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197037568001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793738729000,"timestamp_ms":1793738729000,"timestamp_seconds":1793738729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a328e628"} 
[2026-11-04 02:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 02:20:51] 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-11-04 02:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197037568001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197037568001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:20:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:20:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197037568001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":230336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:20:51] local.INFO: GPS data processed {"connection_id":230336,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:20:51] local.INFO: Acknowledgment sent {"connection_id":230336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:21:35] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:21:35] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:21:35] local.INFO: IMEI packet received {"connection_id":230337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":230337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:21:40] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:21:40] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:21:40] local.INFO: IMEI packet received {"connection_id":230337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":230337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:21:41] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:21:41] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:21:41] local.INFO: Packet analysis {"connection_id":230337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:21:41] local.INFO: Extracted packet for processing {"connection_id":230337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:21:41] 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-11-04 02:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:21: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-11-04 02:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:21:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":230337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:21:41] local.INFO: GPS data processed {"connection_id":230337,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:21:41] local.INFO: Acknowledgment sent {"connection_id":230337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:22:12] local.INFO: TCP Data received {"connection_id":230337,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:22:12] local.INFO: Processing buffer {"connection_id":230337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:22:12] local.INFO: Packet analysis {"connection_id":230337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:22:12] local.INFO: Extracted packet for processing {"connection_id":230337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 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-11-04 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:22:12] 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-11-04 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-11-04 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-11-04 02:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:22: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-11-04 02:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:22:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":230337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:22:12] local.INFO: GPS data processed {"connection_id":230337,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:22:12] local.INFO: Acknowledgment sent {"connection_id":230337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:22:35] local.INFO: TCP Data received {"connection_id":229094,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:22:35] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:22:35] local.INFO: IMEI packet received {"connection_id":229094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":229094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:22:40] local.INFO: TCP Data received {"connection_id":229094,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:22:40] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:22:40] local.INFO: IMEI packet received {"connection_id":229094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":229094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:22:41] local.INFO: TCP Data received {"connection_id":229094,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:22:41] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:22:41] local.INFO: Packet analysis {"connection_id":229094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:22:41] local.INFO: Extracted packet for processing {"connection_id":229094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:22:41] 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-11-04 02:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":229094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:22:41] local.INFO: GPS data processed {"connection_id":229094,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:22:41] local.INFO: Acknowledgment sent {"connection_id":229094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:23:12] local.INFO: TCP Data received {"connection_id":229094,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:23:12] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:23:12] local.INFO: Packet analysis {"connection_id":229094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:23:12] local.INFO: Extracted packet for processing {"connection_id":229094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:23:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:23:12] 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-11-04 02: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-11-04 02:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:23:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":229094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:23:12] local.INFO: GPS data processed {"connection_id":229094,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:23:12] local.INFO: Acknowledgment sent {"connection_id":229094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:23:35] local.INFO: TCP Data received {"connection_id":228604,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:23:35] local.INFO: Processing buffer {"connection_id":228604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:23:35] local.INFO: IMEI packet received {"connection_id":228604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":228604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:23:40] local.INFO: TCP Data received {"connection_id":228604,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:23:40] local.INFO: Processing buffer {"connection_id":228604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:23:40] local.INFO: IMEI packet received {"connection_id":228604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":228604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:23:41] local.INFO: TCP Data received {"connection_id":228604,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:23:41] local.INFO: Processing buffer {"connection_id":228604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:23:41] local.INFO: Packet analysis {"connection_id":228604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:23:41] local.INFO: Extracted packet for processing {"connection_id":228604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:23:41] 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-11-04 02:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":228604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:23:41] local.INFO: GPS data processed {"connection_id":228604,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:23:41] local.INFO: Acknowledgment sent {"connection_id":228604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:24:12] local.INFO: TCP Data received {"connection_id":228604,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:24:12] local.INFO: Processing buffer {"connection_id":228604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:24:12] local.INFO: Packet analysis {"connection_id":228604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:24:12] local.INFO: Extracted packet for processing {"connection_id":228604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:24:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 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-11-04 02:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:24:12] 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-11-04 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-11-04 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-11-04 02:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:24:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":228604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:24:12] local.INFO: GPS data processed {"connection_id":228604,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:24:12] local.INFO: Acknowledgment sent {"connection_id":228604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:24:35] local.INFO: TCP Data received {"connection_id":232186,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:24:35] local.INFO: Processing buffer {"connection_id":232186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:24:35] local.INFO: IMEI packet received {"connection_id":232186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":232186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:24:40] local.INFO: TCP Data received {"connection_id":232186,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:24:40] local.INFO: Processing buffer {"connection_id":232186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:24:40] local.INFO: IMEI packet received {"connection_id":232186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":232186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:24:41] local.INFO: TCP Data received {"connection_id":232186,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:24:41] local.INFO: Processing buffer {"connection_id":232186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:24:41] local.INFO: Packet analysis {"connection_id":232186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:24:41] local.INFO: Extracted packet for processing {"connection_id":232186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:24:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:24:41] 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-11-04 02:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:24:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":232186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:24:41] local.INFO: GPS data processed {"connection_id":232186,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:24:41] local.INFO: Acknowledgment sent {"connection_id":232186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:25:12] local.INFO: TCP Data received {"connection_id":232186,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:12] local.INFO: Processing buffer {"connection_id":232186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:12] local.INFO: Packet analysis {"connection_id":232186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:25:12] local.INFO: Extracted packet for processing {"connection_id":232186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:25:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:25:12] 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-11-04 02: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-11-04 02:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:25:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":232186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:25:12] local.INFO: GPS data processed {"connection_id":232186,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:25:12] local.INFO: Acknowledgment sent {"connection_id":232186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:25:40] local.INFO: TCP Data received {"connection_id":232187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:25:40] local.INFO: Processing buffer {"connection_id":232187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:25:40] local.INFO: IMEI packet received {"connection_id":232187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":232187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:25:45] local.INFO: TCP Data received {"connection_id":232187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:25:45] local.INFO: Processing buffer {"connection_id":232187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:25:45] local.INFO: IMEI packet received {"connection_id":232187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":232187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:25:46] local.INFO: TCP Data received {"connection_id":232187,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:46] local.INFO: Processing buffer {"connection_id":232187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:46] local.INFO: Packet analysis {"connection_id":232187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:25:46] local.INFO: Extracted packet for processing {"connection_id":232187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:25:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:25:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:25:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":232187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:25:46] local.INFO: GPS data processed {"connection_id":232187,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:25:46] local.INFO: Acknowledgment sent {"connection_id":232187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:25:51] local.INFO: TCP Data received {"connection_id":232187,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:51] local.INFO: Processing buffer {"connection_id":232187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a32d7df0012ce51bc007234b900009008033..."} 
[2026-11-04 02:25:51] local.INFO: Packet analysis {"connection_id":232187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:25:51] local.INFO: Extracted packet for processing {"connection_id":232187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a32d"} 
[2026-11-04 02:25:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":51,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197114624001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793739030000,"timestamp_ms":1793739030000,"timestamp_seconds":1793739030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a32d7df0"} 
[2026-11-04 02:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:25:51] 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-11-04 02:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197114624001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197114624001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:25:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:25:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197114624001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":232187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:25:51] local.INFO: GPS data processed {"connection_id":232187,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:25:51] local.INFO: Acknowledgment sent {"connection_id":232187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:26:12] local.INFO: TCP Data received {"connection_id":228605,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:26:12] local.INFO: Processing buffer {"connection_id":228605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:26:12] local.INFO: IMEI packet received {"connection_id":228605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":228605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:26:13] local.INFO: TCP Data received {"connection_id":228605,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:26:13] local.INFO: Processing buffer {"connection_id":228605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:26:13] local.INFO: IMEI packet received {"connection_id":228605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":228605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:26:17] local.INFO: TCP Data received {"connection_id":228605,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a330e8f0012d54a000068036d00049014c31..."} 
[2026-11-04 02:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a330e8f0012d54a000068036d00049014c31..."} 
[2026-11-04 02:26:17] local.INFO: Processing buffer {"connection_id":228605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a330e8f0012d54a000068036d00049014c31..."} 
[2026-11-04 02:26:17] local.INFO: Packet analysis {"connection_id":228605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a330"} 
[2026-11-04 02:26:17] local.INFO: Extracted packet for processing {"connection_id":228605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a330"} 
[2026-11-04 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":760520704,"raw_latitude":109065936,"longitude_deg":76.0520704,"latitude_deg":10.9065936,"altitude":73,"angle":332,"satellites":49,"speed":25,"hex_longitude":"2d54a000","hex_latitude":"068036d0","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197245440001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19973827014426624,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6102588629238437888,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:17] 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-11-04 02:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793739254000,"timestamp_ms":1793739254000,"timestamp_seconds":1793739254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a330e8f0"} 
[2026-11-04 02:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 02:26: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-11-04 02: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-11-04 02:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197245440001,"66":27843,"4":206,"19":47872,"24":25,"16":19973827014426624,"45":6102588629238437888},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197245440001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:26:17] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:26:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19973827014426624,"km_value":19973827014426.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6102588629238437888,"description":"Unknown IO ID 45"} 
[2026-11-04 02:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197245440001,"power":27843,"unknown_4":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6102588629238437888}} 
[2026-11-04 02:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":228605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:26:17] local.INFO: GPS data processed {"connection_id":228605,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:26:17] local.INFO: Acknowledgment sent {"connection_id":228605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:26:22] local.INFO: TCP Data received {"connection_id":228605,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3312388012d548d80068056b0004f014832..."} 
[2026-11-04 02:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3312388012d548d80068056b0004f014832..."} 
[2026-11-04 02:26:22] local.INFO: Processing buffer {"connection_id":228605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3312388012d548d80068056b0004f014832..."} 
[2026-11-04 02:26:22] local.INFO: Packet analysis {"connection_id":228605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:26:22] local.INFO: Extracted packet for processing {"connection_id":228605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:26:22] local.INFO: GPS Element Parsed {"raw_longitude":760515968,"raw_latitude":109074096,"longitude_deg":76.0515968,"latitude_deg":10.9074096,"altitude":79,"angle":328,"satellites":50,"speed":24,"hex_longitude":"2d548d80","hex_latitude":"068056b0","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197249024001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19974282280960000,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6097873923380531200,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:22] 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-11-04 02:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793739269000,"timestamp_ms":1793739269000,"timestamp_seconds":1793739269,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3312388"} 
[2026-11-04 02:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 02:26: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-11-04 02: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-11-04 02:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197249024001,"66":27593,"4":206,"19":47872,"24":24,"16":19974282280960000,"45":6097873923380531200},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197249024001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:26:22] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:26:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19974282280960000,"km_value":19974282280960,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6097873923380531200,"description":"Unknown IO ID 45"} 
[2026-11-04 02:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197249024001,"power":27593,"unknown_4":206,"unknown_19":47872,"ignition":24,"odometer":null,"unknown_45":6097873923380531200}} 
[2026-11-04 02:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":228605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:26:23] local.INFO: GPS data processed {"connection_id":228605,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:26:23] local.INFO: Acknowledgment sent {"connection_id":228605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:26:35] local.INFO: TCP Data received {"connection_id":229095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:26:35] local.INFO: Processing buffer {"connection_id":229095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:26:35] local.INFO: IMEI packet received {"connection_id":229095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":229095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:26:40] local.INFO: TCP Data received {"connection_id":229095,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:26:40] local.INFO: Processing buffer {"connection_id":229095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:26:40] local.INFO: IMEI packet received {"connection_id":229095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":229095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:26:41] local.INFO: TCP Data received {"connection_id":229095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:26:41] local.INFO: Processing buffer {"connection_id":229095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:26:41] local.INFO: Packet analysis {"connection_id":229095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:26:41] local.INFO: Extracted packet for processing {"connection_id":229095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:26:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":229095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:26:41] local.INFO: GPS data processed {"connection_id":229095,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:26:41] local.INFO: Acknowledgment sent {"connection_id":229095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:26:54] local.INFO: TCP Data received {"connection_id":228605,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3315a38012d547800068071f80054013c32..."} 
[2026-11-04 02:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3315a38012d547800068071f80054013c32..."} 
[2026-11-04 02:26:54] local.INFO: Processing buffer {"connection_id":228605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3315a38012d547800068071f80054013c32..."} 
[2026-11-04 02:26:54] local.INFO: Packet analysis {"connection_id":228605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:26:54] local.INFO: Extracted packet for processing {"connection_id":228605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:26:54] local.INFO: GPS Element Parsed {"raw_longitude":760510464,"raw_latitude":109081080,"longitude_deg":76.0510464,"latitude_deg":10.908108,"altitude":84,"angle":316,"satellites":50,"speed":24,"hex_longitude":"2d547800","hex_latitude":"068071f8","is_valid_coordinates":true} 
[2026-11-04 02:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197252864001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19974711777689600,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6092666636313473024,"note":"Value kept but may cause issues"} 
[2026-11-04 02:26:54] 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-11-04 02:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793739283000,"timestamp_ms":1793739283000,"timestamp_seconds":1793739283,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3315a38"} 
[2026-11-04 02:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":228605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":228605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":228605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197252864001,"66":27550,"4":206,"19":47872,"24":24,"16":19974711777689600,"45":6092666636313473024},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197252864001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:26:54] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:26:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19974711777689600,"km_value":19974711777689.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:26:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6092666636313473024,"description":"Unknown IO ID 45"} 
[2026-11-04 02:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197252864001,"power":27550,"unknown_4":206,"unknown_19":47872,"ignition":24,"odometer":null,"unknown_45":6092666636313473024}} 
[2026-11-04 02:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":228605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:26:54] local.INFO: GPS data processed {"connection_id":228605,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:26:54] local.INFO: Acknowledgment sent {"connection_id":228605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:27:09] local.INFO: TCP Data received {"connection_id":230338,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:27:09] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:27:09] local.INFO: IMEI packet received {"connection_id":230338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":230338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:27:12] local.INFO: TCP Data received {"connection_id":229095,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:27:12] local.INFO: Processing buffer {"connection_id":229095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:27:12] local.INFO: Packet analysis {"connection_id":229095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:27:12] local.INFO: Extracted packet for processing {"connection_id":229095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:27:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:27:12] 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-11-04 02: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-11-04 02:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:27:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":229095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:27:12] local.INFO: GPS data processed {"connection_id":229095,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:27:12] local.INFO: Acknowledgment sent {"connection_id":229095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:27:15] local.INFO: TCP Data received {"connection_id":230338,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:27:15] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:27:15] local.INFO: IMEI packet received {"connection_id":230338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":230338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:27:19] local.INFO: TCP Data received {"connection_id":230338,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33194d0012d545d40068088800059013330..."} 
[2026-11-04 02:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33194d0012d545d40068088800059013330..."} 
[2026-11-04 02:27:19] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33194d0012d545d40068088800059013330..."} 
[2026-11-04 02:27:19] local.INFO: Packet analysis {"connection_id":230338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:27:19] local.INFO: Extracted packet for processing {"connection_id":230338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:27:19] local.INFO: GPS Element Parsed {"raw_longitude":760503616,"raw_latitude":109086848,"longitude_deg":76.0503616,"latitude_deg":10.9086848,"altitude":89,"angle":307,"satellites":48,"speed":23,"hex_longitude":"2d545d40","hex_latitude":"06808880","is_valid_coordinates":true} 
[2026-11-04 02:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197256448001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19975141274419200,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6086614924315981824,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:19] 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-11-04 02:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793739298000,"timestamp_ms":1793739298000,"timestamp_seconds":1793739298,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33194d0"} 
[2026-11-04 02:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:27:19] 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-11-04 02:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197256448001,"66":27571,"4":206,"19":47872,"24":23,"16":19975141274419200,"45":6086614924315981824},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197256448001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:27:19] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:27:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19975141274419200,"km_value":19975141274419.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6086614924315981824,"description":"Unknown IO ID 45"} 
[2026-11-04 02:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197256448001,"power":27571,"unknown_4":206,"unknown_19":47872,"ignition":23,"odometer":null,"unknown_45":6086614924315981824}} 
[2026-11-04 02:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":230338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:27:19] local.INFO: GPS data processed {"connection_id":230338,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:27:19] local.INFO: Acknowledgment sent {"connection_id":230338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:27:35] local.INFO: TCP Data received {"connection_id":228606,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:27:35] local.INFO: Processing buffer {"connection_id":228606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:27:35] local.INFO: IMEI packet received {"connection_id":228606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":228606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:27:40] local.INFO: TCP Data received {"connection_id":228606,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:27:40] local.INFO: Processing buffer {"connection_id":228606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:27:40] local.INFO: IMEI packet received {"connection_id":228606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":228606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:27:41] local.INFO: TCP Data received {"connection_id":228606,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:27:41] local.INFO: Processing buffer {"connection_id":228606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:27:41] local.INFO: Packet analysis {"connection_id":228606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:27:41] local.INFO: Extracted packet for processing {"connection_id":228606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:27:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:27:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":228606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:27:41] local.INFO: GPS data processed {"connection_id":228606,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:27:41] local.INFO: Acknowledgment sent {"connection_id":228606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:27:50] local.INFO: TCP Data received {"connection_id":230338,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a331df08012d5440c006809d68005f01322d..."} 
[2026-11-04 02:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a331df08012d5440c006809d68005f01322d..."} 
[2026-11-04 02:27:50] local.INFO: Processing buffer {"connection_id":230338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a331df08012d5440c006809d68005f01322d..."} 
[2026-11-04 02:27:50] local.INFO: Packet analysis {"connection_id":230338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:27:50] local.INFO: Extracted packet for processing {"connection_id":230338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a331"} 
[2026-11-04 02:27:50] local.INFO: GPS Element Parsed {"raw_longitude":760496320,"raw_latitude":109092200,"longitude_deg":76.049632,"latitude_deg":10.90922,"altitude":95,"angle":306,"satellites":45,"speed":18,"hex_longitude":"2d5440c0","hex_latitude":"06809d68","is_valid_coordinates":true} 
[2026-11-04 02:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197260288001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19975579361083392,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6079085468690448384,"note":"Value kept but may cause issues"} 
[2026-11-04 02:27:50] 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-11-04 02:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793739317000,"timestamp_ms":1793739317000,"timestamp_seconds":1793739317,"priority":1,"record_length":96,"hex_timestamp":"000001a1a331df08"} 
[2026-11-04 02:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 02:27:50] 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-11-04 02:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197260288001,"66":27691,"4":206,"19":47872,"24":18,"16":19975579361083392,"45":6079085468690448384},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197260288001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:27:50] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:27:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19975579361083392,"km_value":19975579361083.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6079085468690448384,"description":"Unknown IO ID 45"} 
[2026-11-04 02:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197260288001,"power":27691,"unknown_4":206,"unknown_19":47872,"ignition":18,"odometer":null,"unknown_45":6079085468690448384}} 
[2026-11-04 02:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":230338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:27:50] local.INFO: GPS data processed {"connection_id":230338,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:27:50] local.INFO: Acknowledgment sent {"connection_id":230338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:28:10] local.INFO: TCP Data received {"connection_id":232188,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:10] local.INFO: Processing buffer {"connection_id":232188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:10] local.INFO: IMEI packet received {"connection_id":232188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":232188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:28:12] local.INFO: TCP Data received {"connection_id":228606,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:28:12] local.INFO: Processing buffer {"connection_id":228606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:28:12] local.INFO: Packet analysis {"connection_id":228606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:12] local.INFO: Extracted packet for processing {"connection_id":228606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:28:12] 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-11-04 02: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-11-04 02:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:28:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":228606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:28:12] local.INFO: GPS data processed {"connection_id":228606,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:28:12] local.INFO: Acknowledgment sent {"connection_id":228606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:28:14] local.INFO: TCP Data received {"connection_id":232188,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:14] local.INFO: Processing buffer {"connection_id":232188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:14] local.INFO: IMEI packet received {"connection_id":232188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":232188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:28:15] local.INFO: TCP Data received {"connection_id":232188,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:15] local.INFO: Processing buffer {"connection_id":232188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:28:15] local.INFO: IMEI packet received {"connection_id":232188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":232188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:28:16] local.INFO: TCP Data received {"connection_id":232188,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3322558012d5423800680b390006901352f..."} 
[2026-11-04 02:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3322558012d5423800680b390006901352f..."} 
[2026-11-04 02:28:16] local.INFO: Processing buffer {"connection_id":232188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3322558012d5423800680b390006901352f..."} 
[2026-11-04 02:28:16] local.INFO: Packet analysis {"connection_id":232188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:16] local.INFO: Extracted packet for processing {"connection_id":232188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:16] local.INFO: GPS Element Parsed {"raw_longitude":760488832,"raw_latitude":109097872,"longitude_deg":76.0488832,"latitude_deg":10.9097872,"altitude":105,"angle":309,"satellites":47,"speed":20,"hex_longitude":"2d542380","hex_latitude":"0680b390","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197265152001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19976026037682176,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6071063431855564800,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:16] 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-11-04 02:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793739335000,"timestamp_ms":1793739335000,"timestamp_seconds":1793739335,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3322558"} 
[2026-11-04 02:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 02:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197265152001,"66":27767,"4":206,"19":47872,"24":20,"16":19976026037682176,"45":6071063431855564800},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197265152001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:28:16] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:28:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19976026037682176,"km_value":19976026037682.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6071063431855564800,"description":"Unknown IO ID 45"} 
[2026-11-04 02:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197265152001,"power":27767,"unknown_4":206,"unknown_19":47872,"ignition":20,"odometer":null,"unknown_45":6071063431855564800}} 
[2026-11-04 02:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":232188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:28:16] local.INFO: GPS data processed {"connection_id":232188,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:28:16] local.INFO: Acknowledgment sent {"connection_id":232188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:28:23] local.INFO: TCP Data received {"connection_id":232188,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33267c0012d5408000680c9c0006e013731..."} 
[2026-11-04 02:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33267c0012d5408000680c9c0006e013731..."} 
[2026-11-04 02:28:23] local.INFO: Processing buffer {"connection_id":232188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33267c0012d5408000680c9c0006e013731..."} 
[2026-11-04 02:28:23] local.INFO: Packet analysis {"connection_id":232188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:23] local.INFO: Extracted packet for processing {"connection_id":232188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:23] local.INFO: GPS Element Parsed {"raw_longitude":760481792,"raw_latitude":109103552,"longitude_deg":76.0481792,"latitude_deg":10.9103552,"altitude":110,"angle":311,"satellites":49,"speed":21,"hex_longitude":"2d540800","hex_latitude":"0680c9c0","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197269760001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19976459829379072,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6062830288788230144,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:23] 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-11-04 02:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793739352000,"timestamp_ms":1793739352000,"timestamp_seconds":1793739352,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33267c0"} 
[2026-11-04 02:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 02:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197269760001,"66":27626,"4":206,"19":47872,"24":21,"16":19976459829379072,"45":6062830288788230144},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197269760001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:28:23] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:28:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19976459829379072,"km_value":19976459829379.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6062830288788230144,"description":"Unknown IO ID 45"} 
[2026-11-04 02:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197269760001,"power":27626,"unknown_4":206,"unknown_19":47872,"ignition":21,"odometer":null,"unknown_45":6062830288788230144}} 
[2026-11-04 02:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":232188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:28:23] local.INFO: GPS data processed {"connection_id":232188,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:28:23] local.INFO: Acknowledgment sent {"connection_id":232188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:28:35] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:28:35] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:28:35] local.INFO: IMEI packet received {"connection_id":230339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":230339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:28:40] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:28:40] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:28:40] local.INFO: IMEI packet received {"connection_id":230339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":230339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:28:41] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:28:41] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:28:41] local.INFO: Packet analysis {"connection_id":230339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:41] local.INFO: Extracted packet for processing {"connection_id":230339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:28:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":230339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:28:41] local.INFO: GPS data processed {"connection_id":230339,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:28:41] local.INFO: Acknowledgment sent {"connection_id":230339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:29:15] local.INFO: TCP Data received {"connection_id":230339,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:29:16] local.INFO: Processing buffer {"connection_id":230339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:29:16] local.INFO: Packet analysis {"connection_id":230339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:29:16] local.INFO: Extracted packet for processing {"connection_id":230339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:29:16] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:29: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-11-04 02:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:29:16] 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-11-04 02:29: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-11-04 02:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:29:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":230339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:29:16] local.INFO: GPS data processed {"connection_id":230339,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:29:16] local.INFO: Acknowledgment sent {"connection_id":230339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:29:27] local.INFO: TCP Data received {"connection_id":232188,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a332aa28012d53ed400680e2180071013932..."} 
[2026-11-04 02:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a332aa28012d53ed400680e2180071013932..."} 
[2026-11-04 02:29:27] local.INFO: Processing buffer {"connection_id":232188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a332aa28012d53ed400680e2180071013932..."} 
[2026-11-04 02:29:27] local.INFO: Packet analysis {"connection_id":232188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:29:27] local.INFO: Extracted packet for processing {"connection_id":232188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:29:27] local.INFO: GPS Element Parsed {"raw_longitude":760474944,"raw_latitude":109109784,"longitude_deg":76.0474944,"latitude_deg":10.9109784,"altitude":113,"angle":313,"satellites":50,"speed":22,"hex_longitude":"2d53ed40","hex_latitude":"0680e218","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197274112001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19976906505977856,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6055089726930141184,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:27] 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-11-04 02:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793739369000,"timestamp_ms":1793739369000,"timestamp_seconds":1793739369,"priority":1,"record_length":96,"hex_timestamp":"000001a1a332aa28"} 
[2026-11-04 02:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":232188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":232188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":232188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197274112001,"66":27332,"4":206,"19":47872,"24":22,"16":19976906505977856,"45":6055089726930141184},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 02:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197274112001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:29:27] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 02:29:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19976906505977856,"km_value":19976906505977.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6055089726930141184,"description":"Unknown IO ID 45"} 
[2026-11-04 02:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197274112001,"power":27332,"unknown_4":206,"unknown_19":47872,"ignition":22,"odometer":null,"unknown_45":6055089726930141184}} 
[2026-11-04 02:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":232188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:29:27] local.INFO: GPS data processed {"connection_id":232188,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:29:27] local.INFO: Acknowledgment sent {"connection_id":232188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:29:35] local.INFO: TCP Data received {"connection_id":228607,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:29:35] local.INFO: Processing buffer {"connection_id":228607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:29:35] local.INFO: IMEI packet received {"connection_id":228607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":228607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:29:40] local.INFO: TCP Data received {"connection_id":228607,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:29:40] local.INFO: Processing buffer {"connection_id":228607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:29:40] local.INFO: IMEI packet received {"connection_id":228607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":228607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:29:41] local.INFO: TCP Data received {"connection_id":228607,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:29:41] local.INFO: Processing buffer {"connection_id":228607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:29:41] local.INFO: Packet analysis {"connection_id":228607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:29:41] local.INFO: Extracted packet for processing {"connection_id":228607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:29:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:29:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":228607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:29:41] local.INFO: GPS data processed {"connection_id":228607,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:29:41] local.INFO: Acknowledgment sent {"connection_id":228607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:29:52] local.INFO: TCP Data received {"connection_id":230340,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:29:52] local.INFO: Processing buffer {"connection_id":230340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:29:52] local.INFO: IMEI packet received {"connection_id":230340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":230340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:30:13] local.INFO: TCP Data received {"connection_id":228607,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:13] local.INFO: Processing buffer {"connection_id":228607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:13] local.INFO: Packet analysis {"connection_id":228607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:30:13] local.INFO: Extracted packet for processing {"connection_id":228607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:30:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 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-11-04 02:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:30:13] 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-11-04 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-11-04 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-11-04 02:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:30:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:30:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:30:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":228607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:30:13] local.INFO: GPS data processed {"connection_id":228607,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:30:13] local.INFO: Acknowledgment sent {"connection_id":228607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:30:21] local.INFO: TCP Data received {"connection_id":230341,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:21] local.INFO: Processing buffer {"connection_id":230341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:21] local.INFO: IMEI packet received {"connection_id":230341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":230341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:30:22] local.INFO: TCP Data received {"connection_id":230341,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:22] local.INFO: Processing buffer {"connection_id":230341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:22] local.INFO: IMEI packet received {"connection_id":230341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":230341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:30:25] local.INFO: TCP Data received {"connection_id":230341,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:25] local.INFO: Processing buffer {"connection_id":230341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:30:25] local.INFO: IMEI packet received {"connection_id":230341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":230341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:30:26] local.INFO: TCP Data received {"connection_id":230341,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a334dca8012d52cb000681f100008c013832..."} 
[2026-11-04 02:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a334dca8012d52cb000681f100008c013832..."} 
[2026-11-04 02:30:26] local.INFO: Processing buffer {"connection_id":230341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a334dca8012d52cb000681f100008c013832..."} 
[2026-11-04 02:30:26] local.INFO: Packet analysis {"connection_id":230341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a334"} 
[2026-11-04 02:30:26] local.INFO: Extracted packet for processing {"connection_id":230341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a334"} 
[2026-11-04 02:30:26] local.INFO: GPS Element Parsed {"raw_longitude":760400640,"raw_latitude":109179136,"longitude_deg":76.040064,"latitude_deg":10.9179136,"altitude":140,"angle":312,"satellites":50,"speed":45,"hex_longitude":"2d52cb00","hex_latitude":"0681f100","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197313024001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19981789883793408,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5973884196166805504,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793739513000,"timestamp_ms":1793739513000,"timestamp_seconds":1793739513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a334dca8"} 
[2026-11-04 02:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 02:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197313024001,"66":27745,"201":206,"19":47872,"24":45,"16":19981789883793408,"45":5973884196166805504},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-11-04 02:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197313024001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:30:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 02:30:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19981789883793408,"km_value":19981789883793.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5973884196166805504,"description":"Unknown IO ID 45"} 
[2026-11-04 02:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197313024001,"power":27745,"unknown_201":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":5973884196166805504}} 
[2026-11-04 02:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":230341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:30:26] local.INFO: GPS data processed {"connection_id":230341,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:30:26] local.INFO: Acknowledgment sent {"connection_id":230341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:30:29] local.INFO: TCP Data received {"connection_id":230341,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a334fbe8012d52ae4006820ac0008b013931..."} 
[2026-11-04 02:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a334fbe8012d52ae4006820ac0008b013931..."} 
[2026-11-04 02:30:29] local.INFO: Processing buffer {"connection_id":230341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a334fbe8012d52ae4006820ac0008b013931..."} 
[2026-11-04 02:30:29] local.INFO: Packet analysis {"connection_id":230341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a334"} 
[2026-11-04 02:30:29] local.INFO: Extracted packet for processing {"connection_id":230341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a334"} 
[2026-11-04 02:30:29] local.INFO: GPS Element Parsed {"raw_longitude":760393280,"raw_latitude":109185728,"longitude_deg":76.039328,"latitude_deg":10.9185728,"altitude":139,"angle":313,"satellites":49,"speed":51,"hex_longitude":"2d52ae40","hex_latitude":"06820ac0","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197315328001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19982262330195968,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5965862159332212736,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793739521000,"timestamp_ms":1793739521000,"timestamp_seconds":1793739521,"priority":1,"record_length":96,"hex_timestamp":"000001a1a334fbe8"} 
[2026-11-04 02:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 02:30: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-11-04 02: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-11-04 02:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":230341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":230341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":230341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197315328001,"66":27691,"201":206,"19":47872,"24":51,"16":19982262330195968,"45":5965862159332212736},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-11-04 02:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197315328001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:30:29] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 02:30:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19982262330195968,"km_value":19982262330195.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5965862159332212736,"description":"Unknown IO ID 45"} 
[2026-11-04 02:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197315328001,"power":27691,"unknown_201":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5965862159332212736}} 
[2026-11-04 02:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":230341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:30:29] local.INFO: GPS data processed {"connection_id":230341,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:30:29] local.INFO: Acknowledgment sent {"connection_id":230341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:30:40] local.INFO: TCP Data received {"connection_id":228608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:30:40] local.INFO: Processing buffer {"connection_id":228608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:30:40] local.INFO: IMEI packet received {"connection_id":228608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":228608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:30:45] local.INFO: TCP Data received {"connection_id":228608,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:30:45] local.INFO: Processing buffer {"connection_id":228608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:30:45] local.INFO: IMEI packet received {"connection_id":228608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":228608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:30:46] local.INFO: TCP Data received {"connection_id":228608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:46] local.INFO: Processing buffer {"connection_id":228608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:46] local.INFO: Packet analysis {"connection_id":228608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:30:46] local.INFO: Extracted packet for processing {"connection_id":228608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:30:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:30:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:30:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:30:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":228608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:30:46] local.INFO: GPS data processed {"connection_id":228608,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:30:46] local.INFO: Acknowledgment sent {"connection_id":228608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:30:51] local.INFO: TCP Data received {"connection_id":228608,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:51] local.INFO: Processing buffer {"connection_id":228608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33215b8012ce51bc007234b900009008031..."} 
[2026-11-04 02:30:51] local.INFO: Packet analysis {"connection_id":228608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:30:51] local.INFO: Extracted packet for processing {"connection_id":228608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a332"} 
[2026-11-04 02:30:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":49,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197191680001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793739331000,"timestamp_ms":1793739331000,"timestamp_seconds":1793739331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33215b8"} 
[2026-11-04 02:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 02:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197191680001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197191680001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:30:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:30:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197191680001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":228608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:30:51] local.INFO: GPS data processed {"connection_id":228608,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:30:51] local.INFO: Acknowledgment sent {"connection_id":228608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:31:09] local.INFO: TCP Data received {"connection_id":230342,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:31:09] local.INFO: Processing buffer {"connection_id":230342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:31:09] local.INFO: IMEI packet received {"connection_id":230342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":230342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:31:15] local.INFO: TCP Data received {"connection_id":230342,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:31:15] local.INFO: Processing buffer {"connection_id":230342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:31:15] local.INFO: IMEI packet received {"connection_id":230342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":230342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:31:20] local.INFO: TCP Data received {"connection_id":230342,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33620e0012d5172c006830228008e014124..."} 
[2026-11-04 02:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33620e0012d5172c006830228008e014124..."} 
[2026-11-04 02:31:20] local.INFO: Processing buffer {"connection_id":230342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33620e0012d5172c006830228008e014124..."} 
[2026-11-04 02:31:20] local.INFO: Packet analysis {"connection_id":230342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:31:20] local.INFO: Extracted packet for processing {"connection_id":230342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":760312512,"raw_latitude":109249064,"longitude_deg":76.0312512,"latitude_deg":10.9249064,"altitude":142,"angle":321,"satellites":36,"speed":50,"hex_longitude":"2d5172c0","hex_latitude":"06830228","is_valid_coordinates":true} 
[2026-11-04 02:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197334784001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19987214427488256,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5875086479359119360,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793739596000,"timestamp_ms":1793739596000,"timestamp_seconds":1793739596,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33620e0"} 
[2026-11-04 02:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:31: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-11-04 02:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197334784001,"66":27604,"249":206,"19":47872,"24":50,"16":19987214427488256,"45":5875086479359119360},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,19,24,16,45]} 
[2026-11-04 02:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197334784001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:31:20] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 02:31:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19987214427488256,"km_value":19987214427488.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5875086479359119360,"description":"Unknown IO ID 45"} 
[2026-11-04 02:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197334784001,"power":27604,"unknown_249":206,"unknown_19":47872,"ignition":50,"odometer":null,"unknown_45":5875086479359119360}} 
[2026-11-04 02:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":230342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:31:20] local.INFO: GPS data processed {"connection_id":230342,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:31:20] local.INFO: Acknowledgment sent {"connection_id":230342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:31:35] local.INFO: TCP Data received {"connection_id":230343,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:31:35] local.INFO: Processing buffer {"connection_id":230343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:31:35] local.INFO: IMEI packet received {"connection_id":230343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":230343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:31:40] local.INFO: TCP Data received {"connection_id":230343,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:31:40] local.INFO: Processing buffer {"connection_id":230343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:31:40] local.INFO: IMEI packet received {"connection_id":230343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":230343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:31:41] local.INFO: TCP Data received {"connection_id":230343,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:31:41] local.INFO: Processing buffer {"connection_id":230343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:31:41] local.INFO: Packet analysis {"connection_id":230343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:31:41] local.INFO: Extracted packet for processing {"connection_id":230343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:31:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:31:41] 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-11-04 02: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-11-04 02:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":230343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:31:41] local.INFO: GPS data processed {"connection_id":230343,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:31:41] local.INFO: Acknowledgment sent {"connection_id":230343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:31:52] local.INFO: TCP Data received {"connection_id":230342,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3363c38012d515c4006831d000090013f25..."} 
[2026-11-04 02:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3363c38012d515c4006831d000090013f25..."} 
[2026-11-04 02:31:52] local.INFO: Processing buffer {"connection_id":230342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3363c38012d515c4006831d000090013f25..."} 
[2026-11-04 02:31:52] local.INFO: Packet analysis {"connection_id":230342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:31:52] local.INFO: Extracted packet for processing {"connection_id":230342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:31:52] local.INFO: GPS Element Parsed {"raw_longitude":760306752,"raw_latitude":109255936,"longitude_deg":76.0306752,"latitude_deg":10.9255936,"altitude":144,"angle":319,"satellites":37,"speed":51,"hex_longitude":"2d515c40","hex_latitude":"06831d00","is_valid_coordinates":true} 
[2026-11-04 02:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197336576001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19987643924217856,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868964398617470976,"note":"Value kept but may cause issues"} 
[2026-11-04 02:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793739603000,"timestamp_ms":1793739603000,"timestamp_seconds":1793739603,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3363c38"} 
[2026-11-04 02:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197336576001,"66":27604,"249":206,"19":47872,"24":51,"16":19987643924217856,"45":5868964398617470976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,19,24,16,45]} 
[2026-11-04 02:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197336576001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:31:52] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 02:31:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19987643924217856,"km_value":19987643924217.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868964398617470976,"description":"Unknown IO ID 45"} 
[2026-11-04 02:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197336576001,"power":27604,"unknown_249":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5868964398617470976}} 
[2026-11-04 02:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":230342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:31:52] local.INFO: GPS data processed {"connection_id":230342,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:31:52] local.INFO: Acknowledgment sent {"connection_id":230342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:32:09] local.INFO: TCP Data received {"connection_id":232189,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:09] local.INFO: Processing buffer {"connection_id":232189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:09] local.INFO: IMEI packet received {"connection_id":232189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":232189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:32:12] local.INFO: TCP Data received {"connection_id":230343,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:32:12] local.INFO: Processing buffer {"connection_id":230343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:32:12] local.INFO: Packet analysis {"connection_id":230343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:12] local.INFO: Extracted packet for processing {"connection_id":230343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:32:12] 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-11-04 02: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-11-04 02:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:32:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":230343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:32:12] local.INFO: GPS data processed {"connection_id":230343,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:32:12] local.INFO: Acknowledgment sent {"connection_id":230343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:32:13] local.INFO: TCP Data received {"connection_id":232189,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:13] local.INFO: Processing buffer {"connection_id":232189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:13] local.INFO: IMEI packet received {"connection_id":232189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":232189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:32:14] local.INFO: TCP Data received {"connection_id":232189,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:14] local.INFO: Processing buffer {"connection_id":232189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:32:14] local.INFO: IMEI packet received {"connection_id":232189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":232189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:32:15] local.INFO: TCP Data received {"connection_id":232189,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3365b78012d514100068339280091013a27..."} 
[2026-11-04 02:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3365b78012d514100068339280091013a27..."} 
[2026-11-04 02:32:15] local.INFO: Processing buffer {"connection_id":232189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3365b78012d514100068339280091013a27..."} 
[2026-11-04 02:32:15] local.INFO: Packet analysis {"connection_id":232189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:15] local.INFO: Extracted packet for processing {"connection_id":232189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:15] local.INFO: GPS Element Parsed {"raw_longitude":760299776,"raw_latitude":109263144,"longitude_deg":76.0299776,"latitude_deg":10.9263144,"altitude":145,"angle":314,"satellites":39,"speed":49,"hex_longitude":"2d514100","hex_latitude":"06833928","is_valid_coordinates":true} 
[2026-11-04 02:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197338368001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19988129255522304,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5862631211643240448,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793739611000,"timestamp_ms":1793739611000,"timestamp_seconds":1793739611,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3365b78"} 
[2026-11-04 02:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:32:15] 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-11-04 02:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197338368001,"66":27691,"249":206,"19":47872,"24":49,"16":19988129255522304,"45":5862631211643240448},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,19,24,16,45]} 
[2026-11-04 02:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197338368001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:32:15] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 02:32:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19988129255522304,"km_value":19988129255522.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5862631211643240448,"description":"Unknown IO ID 45"} 
[2026-11-04 02:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197338368001,"power":27691,"unknown_249":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5862631211643240448}} 
[2026-11-04 02:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":232189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:32:15] local.INFO: GPS data processed {"connection_id":232189,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:32:15] local.INFO: Acknowledgment sent {"connection_id":232189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:32:16] local.INFO: TCP Data received {"connection_id":232189,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3367ab8012d512500068350d00092013128..."} 
[2026-11-04 02:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3367ab8012d512500068350d00092013128..."} 
[2026-11-04 02:32:16] local.INFO: Processing buffer {"connection_id":232189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3367ab8012d512500068350d00092013128..."} 
[2026-11-04 02:32:16] local.INFO: Packet analysis {"connection_id":232189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:16] local.INFO: Extracted packet for processing {"connection_id":232189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:16] local.INFO: GPS Element Parsed {"raw_longitude":760292608,"raw_latitude":109269200,"longitude_deg":76.0292608,"latitude_deg":10.92692,"altitude":146,"angle":305,"satellites":40,"speed":40,"hex_longitude":"2d512500","hex_latitude":"068350d0","is_valid_coordinates":true} 
[2026-11-04 02:32: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-11-04 02:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197340416001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19988580227088384,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5854961018529720320,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793739619000,"timestamp_ms":1793739619000,"timestamp_seconds":1793739619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3367ab8"} 
[2026-11-04 02:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 02:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:32: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-11-04 02:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197340416001,"66":27789,"249":206,"19":47872,"24":40,"16":19988580227088384,"45":5854961018529720320},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,19,24,16,45]} 
[2026-11-04 02:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197340416001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:32:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 02:32:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19988580227088384,"km_value":19988580227088.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5854961018529720320,"description":"Unknown IO ID 45"} 
[2026-11-04 02:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197340416001,"power":27789,"unknown_249":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":5854961018529720320}} 
[2026-11-04 02:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":232189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:32:16] local.INFO: GPS data processed {"connection_id":232189,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:32:16] local.INFO: Acknowledgment sent {"connection_id":232189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:32:35] local.INFO: TCP Data received {"connection_id":228609,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:32:35] local.INFO: Processing buffer {"connection_id":228609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:32:35] local.INFO: IMEI packet received {"connection_id":228609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":228609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:32:40] local.INFO: TCP Data received {"connection_id":228609,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:32:40] local.INFO: Processing buffer {"connection_id":228609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:32:40] local.INFO: IMEI packet received {"connection_id":228609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":228609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:32:41] local.INFO: TCP Data received {"connection_id":228609,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:32:41] local.INFO: Processing buffer {"connection_id":228609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:32:41] local.INFO: Packet analysis {"connection_id":228609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:41] local.INFO: Extracted packet for processing {"connection_id":228609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:32:41] 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-11-04 02:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":228609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:32:41] local.INFO: GPS data processed {"connection_id":228609,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:32:41] local.INFO: Acknowledgment sent {"connection_id":228609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:32:48] local.INFO: TCP Data received {"connection_id":232189,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3368e40012d511500068359d00092012528..."} 
[2026-11-04 02:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3368e40012d511500068359d00092012528..."} 
[2026-11-04 02:32:48] local.INFO: Processing buffer {"connection_id":232189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3368e40012d511500068359d00092012528..."} 
[2026-11-04 02:32:48] local.INFO: Packet analysis {"connection_id":232189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:48] local.INFO: Extracted packet for processing {"connection_id":232189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:32:48] local.INFO: GPS Element Parsed {"raw_longitude":760288512,"raw_latitude":109271504,"longitude_deg":76.0288512,"latitude_deg":10.9271504,"altitude":146,"angle":293,"satellites":40,"speed":28,"hex_longitude":"2d511500","hex_latitude":"068359d0","is_valid_coordinates":true} 
[2026-11-04 02:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197342464001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19988803565387776,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5847079719183372288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793739624000,"timestamp_ms":1793739624000,"timestamp_seconds":1793739624,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3368e40"} 
[2026-11-04 02:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 02:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197342464001,"66":27713,"249":206,"19":47872,"24":28,"16":19988803565387776,"45":5847079719183372288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,19,24,16,45]} 
[2026-11-04 02:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197342464001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:32:48] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 02:32:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19988803565387776,"km_value":19988803565387.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5847079719183372288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197342464001,"power":27713,"unknown_249":206,"unknown_19":47872,"ignition":28,"odometer":null,"unknown_45":5847079719183372288}} 
[2026-11-04 02:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":232189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:32:48] local.INFO: GPS data processed {"connection_id":232189,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:32:48] local.INFO: Acknowledgment sent {"connection_id":232189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:33:09] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:33:09] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:33:09] local.INFO: IMEI packet received {"connection_id":229096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":229096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:33:12] local.INFO: TCP Data received {"connection_id":228609,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:33:12] local.INFO: Processing buffer {"connection_id":228609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:33:12] local.INFO: Packet analysis {"connection_id":228609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:33:12] local.INFO: Extracted packet for processing {"connection_id":228609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:33:12] 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-11-04 02: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-11-04 02:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:33:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":228609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:33:12] local.INFO: GPS data processed {"connection_id":228609,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:33:12] local.INFO: Acknowledgment sent {"connection_id":228609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:33:15] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:33:15] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:33:15] local.INFO: IMEI packet received {"connection_id":229096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":229096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:33:17] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336e048012d50fb0006836580009201252e..."} 
[2026-11-04 02:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336e048012d50fb0006836580009201252e..."} 
[2026-11-04 02:33:17] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336e048012d50fb0006836580009201252e..."} 
[2026-11-04 02:33:17] local.INFO: Packet analysis {"connection_id":229096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:33:17] local.INFO: Extracted packet for processing {"connection_id":229096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:33:17] local.INFO: GPS Element Parsed {"raw_longitude":760281856,"raw_latitude":109274496,"longitude_deg":76.0281856,"latitude_deg":10.9274496,"altitude":146,"angle":293,"satellites":46,"speed":0,"hex_longitude":"2d50fb00","hex_latitude":"06836580","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197343744001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5842576119556591616,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793739645000,"timestamp_ms":1793739645000,"timestamp_seconds":1793739645,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336e048"} 
[2026-11-04 02:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":65,"data_length":795,"current_offset":136} 
[2026-11-04 02:33: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-11-04 02: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-11-04 02:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197343744001,"66":27767,"249":206,"19":47872,"24":0,"16":19989155752706048,"45":5842576119556591616},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,19,24,16,45]} 
[2026-11-04 02:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197343744001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:33:17] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 02:33:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5842576119556591616,"description":"Unknown IO ID 45"} 
[2026-11-04 02:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197343744001,"power":27767,"unknown_249":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5842576119556591616}} 
[2026-11-04 02:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":229096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:33:17] local.INFO: GPS data processed {"connection_id":229096,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:33:17] local.INFO: Acknowledgment sent {"connection_id":229096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:33:35] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:33:35] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:33:35] local.INFO: IMEI packet received {"connection_id":230344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":230344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:33:40] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:33:40] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:33:40] local.INFO: IMEI packet received {"connection_id":230344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":230344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:33:41] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:33:41] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:33:41] local.INFO: Packet analysis {"connection_id":230344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:33:41] local.INFO: Extracted packet for processing {"connection_id":230344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:33:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:33:41] 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-11-04 02: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-11-04 02:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:33: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-11-04 02:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:33:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":230344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:33:41] local.INFO: GPS data processed {"connection_id":230344,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:33:41] local.INFO: Acknowledgment sent {"connection_id":230344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:33:49] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a337b3380100000000000000000000000000..."} 
[2026-11-04 02:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a337b3380100000000000000000000000000..."} 
[2026-11-04 02:33:49] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a337b3380100000000000000000000000000..."} 
[2026-11-04 02:33:49] local.INFO: Packet analysis {"connection_id":229096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:33:49] local.INFO: Extracted packet for processing {"connection_id":229096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:33: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-11-04 02:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197349120001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5835257770162880512,"note":"Value kept but may cause issues"} 
[2026-11-04 02:33:49] 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-11-04 02:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793739699000,"timestamp_ms":1793739699000,"timestamp_seconds":1793739699,"priority":1,"record_length":96,"hex_timestamp":"000001a1a337b338"} 
[2026-11-04 02:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 02:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":229096,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 02:33:49] local.INFO: GPS data processed {"connection_id":229096,"processed":0,"errors":0,"total":1} 
[2026-11-04 02:33:49] local.INFO: Acknowledgment sent {"connection_id":229096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:34:11] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:34:11] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:34:11] local.INFO: IMEI packet received {"connection_id":230345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":230345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:34:12] local.INFO: TCP Data received {"connection_id":230344,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:34:12] local.INFO: Processing buffer {"connection_id":230344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:34:12] local.INFO: Packet analysis {"connection_id":230344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:34:12] local.INFO: Extracted packet for processing {"connection_id":230344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:34:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 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-11-04 02:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:34:12] 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-11-04 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-11-04 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-11-04 02:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:34: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-11-04 02:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:34:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":230344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:34:12] local.INFO: GPS data processed {"connection_id":230344,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:34:12] local.INFO: Acknowledgment sent {"connection_id":230344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:34:15] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:34:15] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:34:15] local.INFO: IMEI packet received {"connection_id":230345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":230345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:34:16] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3375190012d50c54006837be0009301182b..."} 
[2026-11-04 02:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3375190012d50c54006837be0009301182b..."} 
[2026-11-04 02:34:16] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3375190012d50c54006837be0009301182b..."} 
[2026-11-04 02:34:16] local.INFO: Packet analysis {"connection_id":230345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:34:16] local.INFO: Extracted packet for processing {"connection_id":230345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:34:16] local.INFO: GPS Element Parsed {"raw_longitude":760268096,"raw_latitude":109280224,"longitude_deg":76.0268096,"latitude_deg":10.9280224,"altitude":147,"angle":280,"satellites":43,"speed":28,"hex_longitude":"2d50c540","hex_latitude":"06837be0","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34: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-11-04 02:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793739674000,"timestamp_ms":1793739674000,"timestamp_seconds":1793739674,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3375190"} 
[2026-11-04 02:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"250":206,"19":47872,"24":28,"16":19989155752706048},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16]} 
[2026-11-04 02:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 02:34:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:34:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:34:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_250":206,"unknown_19":47872,"ignition":28,"odometer":null}} 
[2026-11-04 02:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":230345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:34:16] local.INFO: GPS data processed {"connection_id":230345,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:34:16] local.INFO: Acknowledgment sent {"connection_id":230345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:34:35] local.INFO: TCP Data received {"connection_id":228610,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:34:35] local.INFO: Processing buffer {"connection_id":228610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:34:35] local.INFO: IMEI packet received {"connection_id":228610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":228610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:34:40] local.INFO: TCP Data received {"connection_id":228610,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:34:40] local.INFO: Processing buffer {"connection_id":228610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:34:40] local.INFO: IMEI packet received {"connection_id":228610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":228610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:34:41] local.INFO: TCP Data received {"connection_id":228610,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:34:41] local.INFO: Processing buffer {"connection_id":228610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:34:41] local.INFO: Packet analysis {"connection_id":228610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:34:41] local.INFO: Extracted packet for processing {"connection_id":228610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:34:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:34:41] 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-11-04 02:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:34:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":228610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:34:41] local.INFO: GPS data processed {"connection_id":228610,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:34:41] local.INFO: Acknowledgment sent {"connection_id":228610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:34:48] local.INFO: TCP Data received {"connection_id":230345,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33824800100000000000000000000000000..."} 
[2026-11-04 02:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33824800100000000000000000000000000..."} 
[2026-11-04 02:34:48] local.INFO: Processing buffer {"connection_id":230345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33824800100000000000000000000000000..."} 
[2026-11-04 02:34:48] local.INFO: Packet analysis {"connection_id":230345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:34:48] local.INFO: Extracted packet for processing {"connection_id":230345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:34: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-11-04 02:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197356544001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5820128490166149120,"note":"Value kept but may cause issues"} 
[2026-11-04 02:34:48] 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-11-04 02:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793739728000,"timestamp_ms":1793739728000,"timestamp_seconds":1793739728,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3382480"} 
[2026-11-04 02:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 02:34:48] 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-11-04 02:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":230345,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 02:34:48] local.INFO: GPS data processed {"connection_id":230345,"processed":0,"errors":0,"total":1} 
[2026-11-04 02:34:48] local.INFO: Acknowledgment sent {"connection_id":230345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:35:09] local.INFO: TCP Data received {"connection_id":232190,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:35:09] local.INFO: Processing buffer {"connection_id":232190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:35:09] local.INFO: IMEI packet received {"connection_id":232190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":232190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:35:12] local.INFO: TCP Data received {"connection_id":228610,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:12] local.INFO: Processing buffer {"connection_id":228610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:12] local.INFO: Packet analysis {"connection_id":228610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:35:12] local.INFO: Extracted packet for processing {"connection_id":228610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:35:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:35:12] 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-11-04 02: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-11-04 02:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:35:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":228610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:35:12] local.INFO: GPS data processed {"connection_id":228610,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:35:12] local.INFO: Acknowledgment sent {"connection_id":228610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:35:15] local.INFO: TCP Data received {"connection_id":232190,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:35:15] local.INFO: Processing buffer {"connection_id":232190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:35:15] local.INFO: IMEI packet received {"connection_id":232190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":232190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:35:16] local.INFO: TCP Data received {"connection_id":232190,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a337ab68012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a337ab68012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:35:16] local.INFO: Processing buffer {"connection_id":232190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a337ab68012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:35:16] local.INFO: Packet analysis {"connection_id":232190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:35:16] local.INFO: Extracted packet for processing {"connection_id":232190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:35:16] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02: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-11-04 02:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793739697000,"timestamp_ms":1793739697000,"timestamp_seconds":1793739697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a337ab68"} 
[2026-11-04 02:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 02:35: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-11-04 02: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-11-04 02:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"250":206,"19":47872,"24":0,"16":19989155752706048},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16]} 
[2026-11-04 02:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 02:35:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:35:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:35:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null}} 
[2026-11-04 02:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":232190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:35:16] local.INFO: GPS data processed {"connection_id":232190,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:35:16] local.INFO: Acknowledgment sent {"connection_id":232190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:35:40] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:35:40] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:35:40] local.INFO: IMEI packet received {"connection_id":230346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":230346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:35:45] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:35:45] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:35:45] local.INFO: IMEI packet received {"connection_id":230346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":230346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:35:46] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:46] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:46] local.INFO: Packet analysis {"connection_id":230346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:35:46] local.INFO: Extracted packet for processing {"connection_id":230346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:35:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":230346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:35:46] local.INFO: GPS data processed {"connection_id":230346,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:35:46] local.INFO: Acknowledgment sent {"connection_id":230346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:35:48] local.INFO: TCP Data received {"connection_id":232190,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a337fd70012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a337fd70012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:35:48] local.INFO: Processing buffer {"connection_id":232190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a337fd70012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:35:48] local.INFO: Packet analysis {"connection_id":232190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:35:48] local.INFO: Extracted packet for processing {"connection_id":232190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a337"} 
[2026-11-04 02:35:48] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197362432001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:48] 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-11-04 02:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793739718000,"timestamp_ms":1793739718000,"timestamp_seconds":1793739718,"priority":1,"record_length":96,"hex_timestamp":"000001a1a337fd70"} 
[2026-11-04 02:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 02:35:48] 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-11-04 02: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-11-04 02:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197362432001,"66":28278,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197362432001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:35:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:35:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197362432001,"power":28278,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":232190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56763,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:35:48] local.INFO: GPS data processed {"connection_id":232190,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:35:48] local.INFO: Acknowledgment sent {"connection_id":232190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:35:51] local.INFO: TCP Data received {"connection_id":230346,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:51] local.INFO: Processing buffer {"connection_id":230346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a336ad80012ce51bc007234b900009008032..."} 
[2026-11-04 02:35:51] local.INFO: Packet analysis {"connection_id":230346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:35:51] local.INFO: Extracted packet for processing {"connection_id":230346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a336"} 
[2026-11-04 02:35:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":50,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197268736001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793739632000,"timestamp_ms":1793739632000,"timestamp_seconds":1793739632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a336ad80"} 
[2026-11-04 02:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 02:35:51] 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-11-04 02:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197268736001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197268736001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:35:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197268736001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":230346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:35:51] local.INFO: GPS data processed {"connection_id":230346,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:35:51] local.INFO: Acknowledgment sent {"connection_id":230346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:36:09] local.INFO: TCP Data received {"connection_id":229097,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:36:09] local.INFO: Processing buffer {"connection_id":229097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:36:09] local.INFO: IMEI packet received {"connection_id":229097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":229097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:36:14] local.INFO: TCP Data received {"connection_id":229097,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:36:14] local.INFO: Processing buffer {"connection_id":229097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:36:14] local.INFO: IMEI packet received {"connection_id":229097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":229097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:36:15] local.INFO: TCP Data received {"connection_id":229097,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3384f78012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3384f78012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:36:15] local.INFO: Processing buffer {"connection_id":229097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3384f78012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:36:15] local.INFO: Packet analysis {"connection_id":229097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:36:15] local.INFO: Extracted packet for processing {"connection_id":229097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:36:15] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197367808001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:15] 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-11-04 02:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793739739000,"timestamp_ms":1793739739000,"timestamp_seconds":1793739739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3384f78"} 
[2026-11-04 02:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 02:36:15] 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-11-04 02:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197367808001,"66":28115,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197367808001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:36:15] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:36:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197367808001,"power":28115,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":229097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:36:16] local.INFO: GPS data processed {"connection_id":229097,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:36:16] local.INFO: Acknowledgment sent {"connection_id":229097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:36:35] local.INFO: TCP Data received {"connection_id":228611,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:36:35] local.INFO: Processing buffer {"connection_id":228611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:36:35] local.INFO: IMEI packet received {"connection_id":228611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":228611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:36:40] local.INFO: TCP Data received {"connection_id":228611,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:36:40] local.INFO: Processing buffer {"connection_id":228611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:36:40] local.INFO: IMEI packet received {"connection_id":228611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":228611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:36:41] local.INFO: TCP Data received {"connection_id":228611,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:36:41] local.INFO: Processing buffer {"connection_id":228611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:36:41] local.INFO: Packet analysis {"connection_id":228611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:36:41] local.INFO: Extracted packet for processing {"connection_id":228611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:36:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":228611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:36:41] local.INFO: GPS data processed {"connection_id":228611,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:36:41] local.INFO: Acknowledgment sent {"connection_id":228611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:36:47] local.INFO: TCP Data received {"connection_id":229097,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a338a180012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a338a180012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:36:47] local.INFO: Processing buffer {"connection_id":229097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a338a180012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:36:47] local.INFO: Packet analysis {"connection_id":229097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:36:47] local.INFO: Extracted packet for processing {"connection_id":229097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:36:47] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197373184001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:36: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-11-04 02:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793739760000,"timestamp_ms":1793739760000,"timestamp_seconds":1793739760,"priority":1,"record_length":96,"hex_timestamp":"000001a1a338a180"} 
[2026-11-04 02:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 02:36:47] 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-11-04 02: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-11-04 02:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197373184001,"66":28267,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197373184001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:36:47] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:36:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197373184001,"power":28267,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":229097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:36:48] local.INFO: GPS data processed {"connection_id":229097,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:36:48] local.INFO: Acknowledgment sent {"connection_id":229097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:37:15] local.INFO: TCP Data received {"connection_id":232191,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:37:15] local.INFO: Processing buffer {"connection_id":232191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:37:15] local.INFO: IMEI packet received {"connection_id":232191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":232191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:37:20] local.INFO: TCP Data received {"connection_id":232191,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:37:20] local.INFO: Processing buffer {"connection_id":232191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:37:20] local.INFO: IMEI packet received {"connection_id":232191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":232191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:37:21] local.INFO: TCP Data received {"connection_id":228611,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:37:21] local.INFO: Processing buffer {"connection_id":228611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:37:21] local.INFO: Packet analysis {"connection_id":228611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:37:21] local.INFO: Extracted packet for processing {"connection_id":228611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:37:21] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:37:21] 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-11-04 02:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":228611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:37:21] local.INFO: GPS data processed {"connection_id":228611,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:37:21] local.INFO: Acknowledgment sent {"connection_id":228611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:37:21] local.INFO: TCP Data received {"connection_id":232191,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a338f388012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a338f388012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:37:21] local.INFO: Processing buffer {"connection_id":232191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a338f388012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:37:21] local.INFO: Packet analysis {"connection_id":232191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:37:21] local.INFO: Extracted packet for processing {"connection_id":232191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a338"} 
[2026-11-04 02:37:21] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197378560001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:21] 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-11-04 02:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793739781000,"timestamp_ms":1793739781000,"timestamp_seconds":1793739781,"priority":1,"record_length":96,"hex_timestamp":"000001a1a338f388"} 
[2026-11-04 02:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 02:37:21] 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-11-04 02: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-11-04 02:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197378560001,"66":28300,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197378560001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197378560001,"power":28300,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":232191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:37:21] local.INFO: GPS data processed {"connection_id":232191,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:37:21] local.INFO: Acknowledgment sent {"connection_id":232191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:37:26] local.INFO: TCP Data received {"connection_id":232191,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3394590012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3394590012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:37:26] local.INFO: Processing buffer {"connection_id":232191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3394590012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:37:26] local.INFO: Packet analysis {"connection_id":232191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a339"} 
[2026-11-04 02:37:26] local.INFO: Extracted packet for processing {"connection_id":232191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a339"} 
[2026-11-04 02:37:26] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197383936001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:26] 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-11-04 02:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793739802000,"timestamp_ms":1793739802000,"timestamp_seconds":1793739802,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3394590"} 
[2026-11-04 02:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 02:37:26] 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-11-04 02:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197383936001,"66":28104,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197383936001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:37:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:37:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:37:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197383936001,"power":28104,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":232191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:37:26] local.INFO: GPS data processed {"connection_id":232191,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:37:26] local.INFO: Acknowledgment sent {"connection_id":232191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:37:35] local.INFO: TCP Data received {"connection_id":228612,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:37:35] local.INFO: Processing buffer {"connection_id":228612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:37:35] local.INFO: IMEI packet received {"connection_id":228612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":228612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:37:40] local.INFO: TCP Data received {"connection_id":228612,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:37:40] local.INFO: Processing buffer {"connection_id":228612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:37:40] local.INFO: IMEI packet received {"connection_id":228612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":228612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:37:41] local.INFO: TCP Data received {"connection_id":228612,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:37:41] local.INFO: Processing buffer {"connection_id":228612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:37:41] local.INFO: Packet analysis {"connection_id":228612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:37:41] local.INFO: Extracted packet for processing {"connection_id":228612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:37:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:37:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":228612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:37:41] local.INFO: GPS data processed {"connection_id":228612,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:37:41] local.INFO: Acknowledgment sent {"connection_id":228612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:38:11] local.INFO: TCP Data received {"connection_id":230347,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:38:11] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:38:11] local.INFO: IMEI packet received {"connection_id":230347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":230347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:38:12] local.INFO: TCP Data received {"connection_id":230347,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:38:12] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:38:12] local.INFO: IMEI packet received {"connection_id":230347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":230347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:38:12] local.INFO: TCP Data received {"connection_id":230347,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3399798012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3399798012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:38:12] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3399798012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:38:12] local.INFO: Packet analysis {"connection_id":230347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a339"} 
[2026-11-04 02:38:12] local.INFO: Extracted packet for processing {"connection_id":230347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a339"} 
[2026-11-04 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197389312001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02: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-11-04 02:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739823000,"timestamp_ms":1793739823000,"timestamp_seconds":1793739823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3399798"} 
[2026-11-04 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-11-04 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 02:38: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-11-04 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-11-04 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-11-04 02:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197389312001,"66":28148,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197389312001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:38:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:38:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197389312001,"power":28148,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:38:12] local.INFO: TCP Data received {"connection_id":228612,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:12] local.INFO: Processing buffer {"connection_id":228612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:12] local.INFO: Packet analysis {"connection_id":228612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:38:12] local.INFO: Extracted packet for processing {"connection_id":228612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 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-11-04 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:38:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:38:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:38:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":228612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:38:13] local.INFO: GPS data processed {"connection_id":228612,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:38:13] local.INFO: Acknowledgment sent {"connection_id":228612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":230347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:38:13] local.INFO: GPS data processed {"connection_id":230347,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:38:13] local.INFO: Acknowledgment sent {"connection_id":230347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:38:40] local.INFO: TCP Data received {"connection_id":228613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:38:40] local.INFO: Processing buffer {"connection_id":228613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:38:40] local.INFO: IMEI packet received {"connection_id":228613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":228613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:38:44] local.INFO: TCP Data received {"connection_id":230347,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a339e9a0012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a339e9a0012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:38:44] local.INFO: Processing buffer {"connection_id":230347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a339e9a0012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:38:44] local.INFO: Packet analysis {"connection_id":230347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a339"} 
[2026-11-04 02:38:44] local.INFO: Extracted packet for processing {"connection_id":230347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a339"} 
[2026-11-04 02:38:44] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197394688001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:44] 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-11-04 02:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793739844000,"timestamp_ms":1793739844000,"timestamp_seconds":1793739844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a339e9a0"} 
[2026-11-04 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-11-04 02:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 02:38:44] 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-11-04 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-11-04 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-11-04 02:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197394688001,"66":28126,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197394688001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:38:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:38:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197394688001,"power":28126,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":230347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:38:44] local.INFO: GPS data processed {"connection_id":230347,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:38:44] local.INFO: Acknowledgment sent {"connection_id":230347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:38:45] local.INFO: TCP Data received {"connection_id":228613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:38:45] local.INFO: Processing buffer {"connection_id":228613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:38:45] local.INFO: IMEI packet received {"connection_id":228613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":228613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:38:46] local.INFO: TCP Data received {"connection_id":228613,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:46] local.INFO: Processing buffer {"connection_id":228613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:46] local.INFO: Packet analysis {"connection_id":228613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:38:46] local.INFO: Extracted packet for processing {"connection_id":228613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:38:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:38:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":228613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:38:46] local.INFO: GPS data processed {"connection_id":228613,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:38:46] local.INFO: Acknowledgment sent {"connection_id":228613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:38:51] local.INFO: TCP Data received {"connection_id":228613,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:51] local.INFO: Processing buffer {"connection_id":228613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:38:51] local.INFO: Packet analysis {"connection_id":228613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:38:51] local.INFO: Extracted packet for processing {"connection_id":228613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:38:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:38:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":228613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:38:51] local.INFO: GPS data processed {"connection_id":228613,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:38:51] local.INFO: Acknowledgment sent {"connection_id":228613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:39:09] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:39:09] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:39:09] local.INFO: IMEI packet received {"connection_id":229098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":229098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:39:15] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:39:15] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:39:15] local.INFO: IMEI packet received {"connection_id":229098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":229098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:39:16] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33a3ba8012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33a3ba8012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:39:16] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33a3ba8012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:39:16] local.INFO: Packet analysis {"connection_id":229098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33a"} 
[2026-11-04 02:39:16] local.INFO: Extracted packet for processing {"connection_id":229098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33a"} 
[2026-11-04 02:39:16] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197400064001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:16] 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-11-04 02:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793739865000,"timestamp_ms":1793739865000,"timestamp_seconds":1793739865,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33a3ba8"} 
[2026-11-04 02:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 02:39:16] 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-11-04 02: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-11-04 02:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197400064001,"66":28126,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197400064001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:39:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:39:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197400064001,"power":28126,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":229098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:39:16] local.INFO: GPS data processed {"connection_id":229098,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:39:16] local.INFO: Acknowledgment sent {"connection_id":229098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:39:35] local.INFO: TCP Data received {"connection_id":232192,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:39:35] local.INFO: Processing buffer {"connection_id":232192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:39:35] local.INFO: IMEI packet received {"connection_id":232192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":232192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:39:40] local.INFO: TCP Data received {"connection_id":232192,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:39:40] local.INFO: Processing buffer {"connection_id":232192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:39:40] local.INFO: IMEI packet received {"connection_id":232192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":232192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:39:41] local.INFO: TCP Data received {"connection_id":232192,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:39:41] local.INFO: Processing buffer {"connection_id":232192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:39:41] local.INFO: Packet analysis {"connection_id":232192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:39:41] local.INFO: Extracted packet for processing {"connection_id":232192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:39:41] 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-11-04 02:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:39:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":232192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:39:41] local.INFO: GPS data processed {"connection_id":232192,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:39:41] local.INFO: Acknowledgment sent {"connection_id":232192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:39:48] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33dc200012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33dc200012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:39:48] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33dc200012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:39:48] local.INFO: Packet analysis {"connection_id":229098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33d"} 
[2026-11-04 02:39:48] local.INFO: Extracted packet for processing {"connection_id":229098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33d"} 
[2026-11-04 02:39:48] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197459200001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:39:48] 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-11-04 02:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793740096000,"timestamp_ms":1793740096000,"timestamp_seconds":1793740096,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33dc200"} 
[2026-11-04 02:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 02:39: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-11-04 02: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-11-04 02:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197459200001,"66":28137,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197459200001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:39:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:39:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197459200001,"power":28137,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":229098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:39:48] local.INFO: GPS data processed {"connection_id":229098,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:39:48] local.INFO: Acknowledgment sent {"connection_id":229098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:40:09] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:40:09] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:40:09] local.INFO: IMEI packet received {"connection_id":230348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":230348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:40:12] local.INFO: TCP Data received {"connection_id":232192,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:40:12] local.INFO: Processing buffer {"connection_id":232192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:40:12] local.INFO: Packet analysis {"connection_id":232192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:40:12] local.INFO: Extracted packet for processing {"connection_id":232192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:40:12] 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-11-04 02:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:40:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":232192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:40:13] local.INFO: GPS data processed {"connection_id":232192,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:40:13] local.INFO: Acknowledgment sent {"connection_id":232192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:40:15] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:40:15] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:40:15] local.INFO: IMEI packet received {"connection_id":230348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":230348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:40:16] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33e1408012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33e1408012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:40:16] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33e1408012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:40:16] local.INFO: Packet analysis {"connection_id":230348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33e"} 
[2026-11-04 02:40:16] local.INFO: Extracted packet for processing {"connection_id":230348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33e"} 
[2026-11-04 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197464576001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:16] 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-11-04 02:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793740117000,"timestamp_ms":1793740117000,"timestamp_seconds":1793740117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33e1408"} 
[2026-11-04 02:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 02:40:16] 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-11-04 02: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-11-04 02:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197464576001,"66":28202,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197464576001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:40:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:40:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197464576001,"power":28202,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":230348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:40:17] local.INFO: GPS data processed {"connection_id":230348,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:40:17] local.INFO: Acknowledgment sent {"connection_id":230348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:40:35] local.INFO: TCP Data received {"connection_id":228614,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:40:35] local.INFO: Processing buffer {"connection_id":228614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:40:35] local.INFO: IMEI packet received {"connection_id":228614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":228614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:40:40] local.INFO: TCP Data received {"connection_id":228614,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:40:40] local.INFO: Processing buffer {"connection_id":228614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:40:40] local.INFO: IMEI packet received {"connection_id":228614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":228614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:40:41] local.INFO: TCP Data received {"connection_id":228614,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:40:41] local.INFO: Processing buffer {"connection_id":228614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:40:41] local.INFO: Packet analysis {"connection_id":228614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:40:41] local.INFO: Extracted packet for processing {"connection_id":228614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:40:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 02:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:40:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":228614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:40:41] local.INFO: GPS data processed {"connection_id":228614,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:40:41] local.INFO: Acknowledgment sent {"connection_id":228614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:40:48] local.INFO: TCP Data received {"connection_id":230348,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33e6610012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33e6610012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:40:48] local.INFO: Processing buffer {"connection_id":230348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33e6610012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:40:48] local.INFO: Packet analysis {"connection_id":230348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33e"} 
[2026-11-04 02:40:48] local.INFO: Extracted packet for processing {"connection_id":230348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33e"} 
[2026-11-04 02:40:48] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197469952001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:40:48] 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-11-04 02:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793740138000,"timestamp_ms":1793740138000,"timestamp_seconds":1793740138,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33e6610"} 
[2026-11-04 02:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 02:40:48] 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-11-04 02:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197469952001,"66":28191,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197469952001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:40:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:40:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197469952001,"power":28191,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":230348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:40:48] local.INFO: GPS data processed {"connection_id":230348,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:40:48] local.INFO: Acknowledgment sent {"connection_id":230348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:41:12] local.INFO: TCP Data received {"connection_id":228614,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:41:12] local.INFO: Processing buffer {"connection_id":228614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33b4548012ce51bc007234b90000900802d..."} 
[2026-11-04 02:41:12] local.INFO: Packet analysis {"connection_id":228614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:41:12] local.INFO: Extracted packet for processing {"connection_id":228614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33b"} 
[2026-11-04 02:41:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197345792001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793739933000,"timestamp_ms":1793739933000,"timestamp_seconds":1793739933,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33b4548"} 
[2026-11-04 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-11-04 02:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 02:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197345792001,"66":24777,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197345792001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:41:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197345792001,"power":24777,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":228614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:41:12] local.INFO: GPS data processed {"connection_id":228614,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:41:12] local.INFO: Acknowledgment sent {"connection_id":228614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:41:15] local.INFO: TCP Data received {"connection_id":232193,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:41:15] local.INFO: Processing buffer {"connection_id":232193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:41:15] local.INFO: IMEI packet received {"connection_id":232193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":232193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:41:20] local.INFO: TCP Data received {"connection_id":232193,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:41:20] local.INFO: Processing buffer {"connection_id":232193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:41:20] local.INFO: IMEI packet received {"connection_id":232193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":232193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:41:22] local.INFO: TCP Data received {"connection_id":232193,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33eb818012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33eb818012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:22] local.INFO: Processing buffer {"connection_id":232193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33eb818012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:22] local.INFO: Packet analysis {"connection_id":232193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33e"} 
[2026-11-04 02:41:22] local.INFO: Extracted packet for processing {"connection_id":232193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33e"} 
[2026-11-04 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197475328001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:22] 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-11-04 02:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793740159000,"timestamp_ms":1793740159000,"timestamp_seconds":1793740159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33eb818"} 
[2026-11-04 02:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 02:41:22] 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-11-04 02:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197475328001,"66":28137,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197475328001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197475328001,"power":28137,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":232193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:41:22] local.INFO: GPS data processed {"connection_id":232193,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:41:22] local.INFO: Acknowledgment sent {"connection_id":232193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:41:22] local.INFO: TCP Data received {"connection_id":232193,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33f0a20012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33f0a20012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:22] local.INFO: Processing buffer {"connection_id":232193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33f0a20012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:22] local.INFO: Packet analysis {"connection_id":232193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:41:22] local.INFO: Extracted packet for processing {"connection_id":232193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197480704001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:22] 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-11-04 02:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793740180000,"timestamp_ms":1793740180000,"timestamp_seconds":1793740180,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33f0a20"} 
[2026-11-04 02:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 02:41:22] 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-11-04 02:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197480704001,"66":28148,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197480704001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197480704001,"power":28148,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":232193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:41:23] local.INFO: GPS data processed {"connection_id":232193,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:41:23] local.INFO: Acknowledgment sent {"connection_id":232193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:41:35] local.INFO: TCP Data received {"connection_id":229099,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:41:35] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:41:35] local.INFO: IMEI packet received {"connection_id":229099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":229099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:41:40] local.INFO: TCP Data received {"connection_id":229099,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:41:40] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:41:40] local.INFO: IMEI packet received {"connection_id":229099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":229099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:41:41] local.INFO: TCP Data received {"connection_id":229099,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:41:41] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:41:41] local.INFO: Packet analysis {"connection_id":229099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:41:41] local.INFO: Extracted packet for processing {"connection_id":229099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 02:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":229099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:41:41] local.INFO: GPS data processed {"connection_id":229099,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:41:41] local.INFO: Acknowledgment sent {"connection_id":229099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:41:55] local.INFO: TCP Data received {"connection_id":232193,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33f5c28012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33f5c28012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:55] local.INFO: Processing buffer {"connection_id":232193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33f5c28012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:41:55] local.INFO: Packet analysis {"connection_id":232193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:41:55] local.INFO: Extracted packet for processing {"connection_id":232193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:41:55] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197486080001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:41:55] 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-11-04 02:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793740201000,"timestamp_ms":1793740201000,"timestamp_seconds":1793740201,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33f5c28"} 
[2026-11-04 02:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 02:41:55] 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-11-04 02: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-11-04 02:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":232193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":232193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":232193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197486080001,"66":28137,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197486080001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:41:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:41:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197486080001,"power":28137,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":232193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:41:55] local.INFO: GPS data processed {"connection_id":232193,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:41:55] local.INFO: Acknowledgment sent {"connection_id":232193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:42:10] local.INFO: TCP Data received {"connection_id":228615,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:42:10] local.INFO: Processing buffer {"connection_id":228615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:42:10] local.INFO: IMEI packet received {"connection_id":228615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":228615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:42:12] local.INFO: TCP Data received {"connection_id":229099,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:12] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:12] local.INFO: Packet analysis {"connection_id":229099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:12] local.INFO: Extracted packet for processing {"connection_id":229099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 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-11-04 02:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:42:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":229099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:42:12] local.INFO: GPS data processed {"connection_id":229099,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:42:12] local.INFO: Acknowledgment sent {"connection_id":229099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:42:15] local.INFO: TCP Data received {"connection_id":228615,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:42:15] local.INFO: Processing buffer {"connection_id":228615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:42:15] local.INFO: IMEI packet received {"connection_id":228615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":228615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:42:17] local.INFO: TCP Data received {"connection_id":228615,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fae30012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fae30012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:42:17] local.INFO: Processing buffer {"connection_id":228615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fae30012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:42:17] local.INFO: Packet analysis {"connection_id":228615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:17] local.INFO: Extracted packet for processing {"connection_id":228615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:17] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197491456001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:17] 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-11-04 02:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793740222000,"timestamp_ms":1793740222000,"timestamp_seconds":1793740222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fae30"} 
[2026-11-04 02:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 02:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197491456001,"66":28126,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197491456001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:42:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:42:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197491456001,"power":28126,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":228615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:42:17] local.INFO: GPS data processed {"connection_id":228615,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:42:17] local.INFO: Acknowledgment sent {"connection_id":228615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:42:40] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:42:40] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:42:40] local.INFO: IMEI packet received {"connection_id":230349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":230349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:42:45] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:42:45] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:42:45] local.INFO: IMEI packet received {"connection_id":230349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":230349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:42:48] local.INFO: TCP Data received {"connection_id":228615,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3400038012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3400038012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:42:48] local.INFO: Processing buffer {"connection_id":228615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3400038012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:42:48] local.INFO: Packet analysis {"connection_id":228615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:42:48] local.INFO: Extracted packet for processing {"connection_id":228615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:42:48] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197496832001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:48] 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-11-04 02:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793740243000,"timestamp_ms":1793740243000,"timestamp_seconds":1793740243,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3400038"} 
[2026-11-04 02:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 02:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197496832001,"66":28126,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197496832001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:42:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197496832001,"power":28126,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":228615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:42:48] local.INFO: GPS data processed {"connection_id":228615,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:42:48] local.INFO: Acknowledgment sent {"connection_id":228615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:42:58] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:58] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:58] local.INFO: Packet analysis {"connection_id":230349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:58] local.INFO: Extracted packet for processing {"connection_id":230349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:58] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 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-11-04 02:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:42: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-11-04 02:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:42:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":230349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:42:58] local.INFO: GPS data processed {"connection_id":230349,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:42:58] local.INFO: Acknowledgment sent {"connection_id":230349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:42:59] local.INFO: TCP Data received {"connection_id":230349,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:59] local.INFO: Processing buffer {"connection_id":230349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:42:59] local.INFO: Packet analysis {"connection_id":230349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:59] local.INFO: Extracted packet for processing {"connection_id":230349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:42:59] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 02:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:42:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:42:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":230349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:42:59] local.INFO: GPS data processed {"connection_id":230349,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:42:59] local.INFO: Acknowledgment sent {"connection_id":230349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:43:10] local.INFO: TCP Data received {"connection_id":230350,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:43:10] local.INFO: Processing buffer {"connection_id":230350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:43:10] local.INFO: IMEI packet received {"connection_id":230350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":230350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:43:15] local.INFO: TCP Data received {"connection_id":230350,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:43:15] local.INFO: Processing buffer {"connection_id":230350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:43:15] local.INFO: IMEI packet received {"connection_id":230350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":230350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:43:16] local.INFO: TCP Data received {"connection_id":230350,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3405240012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3405240012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:43:16] local.INFO: Processing buffer {"connection_id":230350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3405240012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:43:16] local.INFO: Packet analysis {"connection_id":230350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:43:16] local.INFO: Extracted packet for processing {"connection_id":230350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:43:16] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197502208001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:16] 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-11-04 02:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793740264000,"timestamp_ms":1793740264000,"timestamp_seconds":1793740264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3405240"} 
[2026-11-04 02:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 02:43:16] 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-11-04 02:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197502208001,"66":28300,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197502208001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197502208001,"power":28300,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":230350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:43:16] local.INFO: GPS data processed {"connection_id":230350,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:43:16] local.INFO: Acknowledgment sent {"connection_id":230350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:43:35] local.INFO: TCP Data received {"connection_id":228616,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:43:35] local.INFO: Processing buffer {"connection_id":228616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:43:35] local.INFO: IMEI packet received {"connection_id":228616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":228616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:43:40] local.INFO: TCP Data received {"connection_id":228616,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:43:40] local.INFO: Processing buffer {"connection_id":228616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:43:40] local.INFO: IMEI packet received {"connection_id":228616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":228616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:43:41] local.INFO: TCP Data received {"connection_id":228616,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:43:41] local.INFO: Processing buffer {"connection_id":228616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:43:41] local.INFO: Packet analysis {"connection_id":228616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:43:41] local.INFO: Extracted packet for processing {"connection_id":228616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 02:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":228616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:43:41] local.INFO: GPS data processed {"connection_id":228616,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:43:41] local.INFO: Acknowledgment sent {"connection_id":228616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:43:49] local.INFO: TCP Data received {"connection_id":230350,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a340a448012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a340a448012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:43:49] local.INFO: Processing buffer {"connection_id":230350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a340a448012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:43:49] local.INFO: Packet analysis {"connection_id":230350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:43:49] local.INFO: Extracted packet for processing {"connection_id":230350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:43:49] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197507584001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:43:49] 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-11-04 02:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793740285000,"timestamp_ms":1793740285000,"timestamp_seconds":1793740285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a340a448"} 
[2026-11-04 02:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 02:43:49] 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-11-04 02: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-11-04 02:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197507584001,"66":28148,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197507584001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:43:49] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:43:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197507584001,"power":28148,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":230350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:43:49] local.INFO: GPS data processed {"connection_id":230350,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:43:49] local.INFO: Acknowledgment sent {"connection_id":230350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:44:09] local.INFO: TCP Data received {"connection_id":228617,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:09] local.INFO: Processing buffer {"connection_id":228617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:09] local.INFO: IMEI packet received {"connection_id":228617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":228617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:44:09] local.INFO: TCP Data received {"connection_id":228617,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:09] local.INFO: Processing buffer {"connection_id":228617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:09] local.INFO: IMEI packet received {"connection_id":228617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":228617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:44:12] local.INFO: TCP Data received {"connection_id":228616,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:44:12] local.INFO: Processing buffer {"connection_id":228616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:44:12] local.INFO: Packet analysis {"connection_id":228616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:44:12] local.INFO: Extracted packet for processing {"connection_id":228616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 02:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:44:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":228616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:44:12] local.INFO: GPS data processed {"connection_id":228616,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:44:12] local.INFO: Acknowledgment sent {"connection_id":228616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:44:15] local.INFO: TCP Data received {"connection_id":228617,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:15] local.INFO: Processing buffer {"connection_id":228617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:44:15] local.INFO: IMEI packet received {"connection_id":228617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":228617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:44:17] local.INFO: TCP Data received {"connection_id":228617,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a340f650012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a340f650012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:44:17] local.INFO: Processing buffer {"connection_id":228617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a340f650012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:44:17] local.INFO: Packet analysis {"connection_id":228617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:44:17] local.INFO: Extracted packet for processing {"connection_id":228617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a340"} 
[2026-11-04 02:44:17] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 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":795,"current_offset":40} 
[2026-11-04 02:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197512960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:17] 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-11-04 02:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793740306000,"timestamp_ms":1793740306000,"timestamp_seconds":1793740306,"priority":1,"record_length":96,"hex_timestamp":"000001a1a340f650"} 
[2026-11-04 02:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 02:44:17] 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-11-04 02: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-11-04 02:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197512960001,"66":28202,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197512960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:44:17] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:44:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197512960001,"power":28202,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":228617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:44:17] local.INFO: GPS data processed {"connection_id":228617,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:44:17] local.INFO: Acknowledgment sent {"connection_id":228617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:44:35] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:44:35] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:44:35] local.INFO: IMEI packet received {"connection_id":230351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":230351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:44:40] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:44:40] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:44:40] local.INFO: IMEI packet received {"connection_id":230351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":230351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:44:41] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:44:41] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:44:41] local.INFO: Packet analysis {"connection_id":230351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:44:41] local.INFO: Extracted packet for processing {"connection_id":230351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:44:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 02:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":230351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:44:41] local.INFO: GPS data processed {"connection_id":230351,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:44:41] local.INFO: Acknowledgment sent {"connection_id":230351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:44:48] local.INFO: TCP Data received {"connection_id":228617,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3414858012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3414858012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:44:48] local.INFO: Processing buffer {"connection_id":228617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3414858012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:44:48] local.INFO: Packet analysis {"connection_id":228617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a341"} 
[2026-11-04 02:44:48] local.INFO: Extracted packet for processing {"connection_id":228617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a341"} 
[2026-11-04 02:44:48] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197518336001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:44:48] 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-11-04 02:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793740327000,"timestamp_ms":1793740327000,"timestamp_seconds":1793740327,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3414858"} 
[2026-11-04 02:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 02:44:48] 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-11-04 02:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197518336001,"66":28300,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197518336001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:44:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:44:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197518336001,"power":28300,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":228617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:44:49] local.INFO: GPS data processed {"connection_id":228617,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:44:49] local.INFO: Acknowledgment sent {"connection_id":228617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:45:12] local.INFO: TCP Data received {"connection_id":230351,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:45:12] local.INFO: Processing buffer {"connection_id":230351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:45:12] local.INFO: Packet analysis {"connection_id":230351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:45:12] local.INFO: Extracted packet for processing {"connection_id":230351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:45:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 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-11-04 02:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:45:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":230351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:45:12] local.INFO: GPS data processed {"connection_id":230351,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:45:12] local.INFO: Acknowledgment sent {"connection_id":230351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:45:15] local.INFO: TCP Data received {"connection_id":232194,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:45:15] local.INFO: Processing buffer {"connection_id":232194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:45:15] local.INFO: IMEI packet received {"connection_id":232194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":232194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:45:23] local.INFO: TCP Data received {"connection_id":232194,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:45:23] local.INFO: Processing buffer {"connection_id":232194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:45:23] local.INFO: IMEI packet received {"connection_id":232194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":232194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:45:30] local.INFO: TCP Data received {"connection_id":232194,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3419a60012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3419a60012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:45:30] local.INFO: Processing buffer {"connection_id":232194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3419a60012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:45:30] local.INFO: Packet analysis {"connection_id":232194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a341"} 
[2026-11-04 02:45:30] local.INFO: Extracted packet for processing {"connection_id":232194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a341"} 
[2026-11-04 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197523712001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:30] 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-11-04 02:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793740348000,"timestamp_ms":1793740348000,"timestamp_seconds":1793740348,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3419a60"} 
[2026-11-04 02:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 02:45:30] 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-11-04 02: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-11-04 02:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197523712001,"66":28256,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197523712001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:45:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:45:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197523712001,"power":28256,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":232194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:45:30] local.INFO: GPS data processed {"connection_id":232194,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:45:30] local.INFO: Acknowledgment sent {"connection_id":232194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:45:31] local.INFO: TCP Data received {"connection_id":232194,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a341ec68012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a341ec68012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:45:31] local.INFO: Processing buffer {"connection_id":232194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a341ec68012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:45:31] local.INFO: Packet analysis {"connection_id":232194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a341"} 
[2026-11-04 02:45:31] local.INFO: Extracted packet for processing {"connection_id":232194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a341"} 
[2026-11-04 02:45:31] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197529088001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793740369000,"timestamp_ms":1793740369000,"timestamp_seconds":1793740369,"priority":1,"record_length":96,"hex_timestamp":"000001a1a341ec68"} 
[2026-11-04 02:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 02:45:31] 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-11-04 02: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-11-04 02:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197529088001,"66":28300,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197529088001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:45:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:45:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197529088001,"power":28300,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":232194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:45:31] local.INFO: GPS data processed {"connection_id":232194,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:45:31] local.INFO: Acknowledgment sent {"connection_id":232194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:45:35] local.INFO: TCP Data received {"connection_id":228618,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:45:35] local.INFO: Processing buffer {"connection_id":228618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:45:35] local.INFO: IMEI packet received {"connection_id":228618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":228618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:45:40] local.INFO: TCP Data received {"connection_id":228618,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:45:40] local.INFO: Processing buffer {"connection_id":228618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:45:40] local.INFO: IMEI packet received {"connection_id":228618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":228618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:45:41] local.INFO: TCP Data received {"connection_id":228618,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:45:41] local.INFO: Processing buffer {"connection_id":228618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:45:41] local.INFO: Packet analysis {"connection_id":228618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:45:41] local.INFO: Extracted packet for processing {"connection_id":228618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 02:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":228618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:45:41] local.INFO: GPS data processed {"connection_id":228618,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:45:41] local.INFO: Acknowledgment sent {"connection_id":228618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:46:09] local.INFO: TCP Data received {"connection_id":230352,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:46:09] local.INFO: Processing buffer {"connection_id":230352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:46:09] local.INFO: IMEI packet received {"connection_id":230352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":230352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:46:12] local.INFO: TCP Data received {"connection_id":228618,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:46:12] local.INFO: Processing buffer {"connection_id":228618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a33fdd10012ce51bc007234b90000900802b..."} 
[2026-11-04 02:46:12] local.INFO: Packet analysis {"connection_id":228618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:46:12] local.INFO: Extracted packet for processing {"connection_id":228618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a33f"} 
[2026-11-04 02:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197422848001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740234000,"timestamp_ms":1793740234000,"timestamp_seconds":1793740234,"priority":1,"record_length":96,"hex_timestamp":"000001a1a33fdd10"} 
[2026-11-04 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-11-04 02:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 02:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2487,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197422848001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197422848001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197422848001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":228618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:46:12] local.INFO: GPS data processed {"connection_id":228618,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:46:12] local.INFO: Acknowledgment sent {"connection_id":228618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:46:15] local.INFO: TCP Data received {"connection_id":230352,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:46:15] local.INFO: Processing buffer {"connection_id":230352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:46:15] local.INFO: IMEI packet received {"connection_id":230352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":230352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:46:16] local.INFO: TCP Data received {"connection_id":230352,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3423e70012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3423e70012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:46:16] local.INFO: Processing buffer {"connection_id":230352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3423e70012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:46:16] local.INFO: Packet analysis {"connection_id":230352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a342"} 
[2026-11-04 02:46:16] local.INFO: Extracted packet for processing {"connection_id":230352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a342"} 
[2026-11-04 02:46:16] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197534464001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:16] 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-11-04 02:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793740390000,"timestamp_ms":1793740390000,"timestamp_seconds":1793740390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3423e70"} 
[2026-11-04 02:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 02:46: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-11-04 02: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-11-04 02:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197534464001,"66":28354,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197534464001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:46:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:46:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197534464001,"power":28354,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":230352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:46:17] local.INFO: GPS data processed {"connection_id":230352,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:46:17] local.INFO: Acknowledgment sent {"connection_id":230352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:46:40] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:46:40] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:46:40] local.INFO: IMEI packet received {"connection_id":230353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":230353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:46:45] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:46:45] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:46:45] local.INFO: IMEI packet received {"connection_id":230353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":230353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:46:46] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:46:46] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:46:46] local.INFO: Packet analysis {"connection_id":230353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:46:46] local.INFO: Extracted packet for processing {"connection_id":230353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:46:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:46:46] 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-11-04 02: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-11-04 02:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:46:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":230353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:46:46] local.INFO: GPS data processed {"connection_id":230353,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:46:46] local.INFO: Acknowledgment sent {"connection_id":230353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:46:48] local.INFO: TCP Data received {"connection_id":230352,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3429078012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3429078012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:46:48] local.INFO: Processing buffer {"connection_id":230352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3429078012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:46:48] local.INFO: Packet analysis {"connection_id":230352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a342"} 
[2026-11-04 02:46:48] local.INFO: Extracted packet for processing {"connection_id":230352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a342"} 
[2026-11-04 02:46:48] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197539840001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:48] 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-11-04 02:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793740411000,"timestamp_ms":1793740411000,"timestamp_seconds":1793740411,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3429078"} 
[2026-11-04 02:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 02:46: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-11-04 02:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197539840001,"66":28202,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197539840001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:46:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:46:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197539840001,"power":28202,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":230352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:46:48] local.INFO: GPS data processed {"connection_id":230352,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:46:48] local.INFO: Acknowledgment sent {"connection_id":230352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:46:51] local.INFO: TCP Data received {"connection_id":230353,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:46:51] local.INFO: Processing buffer {"connection_id":230353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:46:51] local.INFO: Packet analysis {"connection_id":230353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:46:51] local.INFO: Extracted packet for processing {"connection_id":230353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:46:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:46:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":230353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:46:51] local.INFO: GPS data processed {"connection_id":230353,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:46:51] local.INFO: Acknowledgment sent {"connection_id":230353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:47:15] local.INFO: TCP Data received {"connection_id":228619,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:47:15] local.INFO: Processing buffer {"connection_id":228619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:47:15] local.INFO: IMEI packet received {"connection_id":228619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":228619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:47:30] local.INFO: TCP Data received {"connection_id":228619,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:47:30] local.INFO: Processing buffer {"connection_id":228619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:47:30] local.INFO: IMEI packet received {"connection_id":228619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":228619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:47:33] local.INFO: TCP Data received {"connection_id":228619,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a342e280012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a342e280012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:47:33] local.INFO: Processing buffer {"connection_id":228619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a342e280012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:47:33] local.INFO: Packet analysis {"connection_id":228619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a342"} 
[2026-11-04 02:47:33] local.INFO: Extracted packet for processing {"connection_id":228619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a342"} 
[2026-11-04 02:47:33] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197545216001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:33] 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-11-04 02:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793740432000,"timestamp_ms":1793740432000,"timestamp_seconds":1793740432,"priority":1,"record_length":96,"hex_timestamp":"000001a1a342e280"} 
[2026-11-04 02:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 02:47:33] 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-11-04 02: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-11-04 02:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":228619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":228619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":228619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197545216001,"66":28224,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197545216001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:47:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:47:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197545216001,"power":28224,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":228619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:47:33] local.INFO: GPS data processed {"connection_id":228619,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:47:33] local.INFO: Acknowledgment sent {"connection_id":228619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:47:35] local.INFO: TCP Data received {"connection_id":232195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:47:35] local.INFO: Processing buffer {"connection_id":232195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:47:35] local.INFO: IMEI packet received {"connection_id":232195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":232195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:47:40] local.INFO: TCP Data received {"connection_id":228619,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3433488012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3433488012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:47:40] local.INFO: Processing buffer {"connection_id":228619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3433488012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:47:40] local.INFO: Packet analysis {"connection_id":228619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a343"} 
[2026-11-04 02:47:40] local.INFO: Extracted packet for processing {"connection_id":228619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a343"} 
[2026-11-04 02:47:40] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197550592001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:40] 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-11-04 02:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793740453000,"timestamp_ms":1793740453000,"timestamp_seconds":1793740453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3433488"} 
[2026-11-04 02:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 02:47:40] 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-11-04 02:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197550592001,"66":28082,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197550592001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:47:40] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:47:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197550592001,"power":28082,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:47:40] local.INFO: TCP Data received {"connection_id":232195,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":228619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:47:40] local.INFO: GPS data processed {"connection_id":228619,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:47:40] local.INFO: Acknowledgment sent {"connection_id":228619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:47:40] local.INFO: Processing buffer {"connection_id":232195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:47:40] local.INFO: IMEI packet received {"connection_id":232195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":232195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:47:41] local.INFO: TCP Data received {"connection_id":232195,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:47:41] local.INFO: Processing buffer {"connection_id":232195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:47:41] local.INFO: Packet analysis {"connection_id":232195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:47:41] local.INFO: Extracted packet for processing {"connection_id":232195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:47:41] 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-11-04 02:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":232195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:47:41] local.INFO: GPS data processed {"connection_id":232195,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:47:41] local.INFO: Acknowledgment sent {"connection_id":232195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:48:10] local.INFO: TCP Data received {"connection_id":230354,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:48:10] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:48:10] local.INFO: IMEI packet received {"connection_id":230354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":230354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:48:12] local.INFO: TCP Data received {"connection_id":232195,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:48:12] local.INFO: Processing buffer {"connection_id":232195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:48:12] local.INFO: Packet analysis {"connection_id":232195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:48:12] local.INFO: Extracted packet for processing {"connection_id":232195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:48:12] 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-11-04 02: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-11-04 02:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":232195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:48:12] local.INFO: GPS data processed {"connection_id":232195,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:48:12] local.INFO: Acknowledgment sent {"connection_id":232195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:48:15] local.INFO: TCP Data received {"connection_id":230354,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:48:15] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:48:15] local.INFO: IMEI packet received {"connection_id":230354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":230354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:48:16] local.INFO: TCP Data received {"connection_id":230354,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3438690012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3438690012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:48:16] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3438690012d50a2c0068382e8009501172d..."} 
[2026-11-04 02:48:16] local.INFO: Packet analysis {"connection_id":230354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a343"} 
[2026-11-04 02:48:16] local.INFO: Extracted packet for processing {"connection_id":230354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a343"} 
[2026-11-04 02:48:16] local.INFO: GPS Element Parsed {"raw_longitude":760259264,"raw_latitude":109282024,"longitude_deg":76.0259264,"latitude_deg":10.9282024,"altitude":149,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d50a2c0","hex_latitude":"068382e8","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197555968001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810417603470092288,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:16] 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-11-04 02:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793740474000,"timestamp_ms":1793740474000,"timestamp_seconds":1793740474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3438690"} 
[2026-11-04 02:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 02:48:16] 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-11-04 02: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-11-04 02:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197555968001,"66":28104,"250":206,"19":47872,"24":0,"16":19989155752706048,"45":5810417603470092288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 02:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197555968001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:48:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 02:48:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810417603470092288,"description":"Unknown IO ID 45"} 
[2026-11-04 02:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197555968001,"power":28104,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5810417603470092288}} 
[2026-11-04 02:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":230354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:48:17] local.INFO: GPS data processed {"connection_id":230354,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:48:17] local.INFO: Acknowledgment sent {"connection_id":230354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:48:35] local.INFO: TCP Data received {"connection_id":230355,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:48:35] local.INFO: Processing buffer {"connection_id":230355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:48:35] local.INFO: IMEI packet received {"connection_id":230355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":230355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:48:40] local.INFO: TCP Data received {"connection_id":230355,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:48:40] local.INFO: Processing buffer {"connection_id":230355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:48:40] local.INFO: IMEI packet received {"connection_id":230355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":230355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:48:41] local.INFO: TCP Data received {"connection_id":230355,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:48:41] local.INFO: Processing buffer {"connection_id":230355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:48:41] local.INFO: Packet analysis {"connection_id":230355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:48:41] local.INFO: Extracted packet for processing {"connection_id":230355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:48:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:48:41] 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-11-04 02:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:48:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":230355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:48:41] local.INFO: GPS data processed {"connection_id":230355,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:48:41] local.INFO: Acknowledgment sent {"connection_id":230355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:48:48] local.INFO: TCP Data received {"connection_id":230354,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3461ea0012d4e89c00683df00007201302c..."} 
[2026-11-04 02:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3461ea0012d4e89c00683df00007201302c..."} 
[2026-11-04 02:48:48] local.INFO: Processing buffer {"connection_id":230354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3461ea0012d4e89c00683df00007201302c..."} 
[2026-11-04 02:48:48] local.INFO: Packet analysis {"connection_id":230354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:48:48] local.INFO: Extracted packet for processing {"connection_id":230354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:48:48] local.INFO: GPS Element Parsed {"raw_longitude":760121792,"raw_latitude":109305600,"longitude_deg":76.0121792,"latitude_deg":10.93056,"altitude":114,"angle":304,"satellites":44,"speed":55,"hex_longitude":"2d4e89c0","hex_latitude":"0683df00","is_valid_coordinates":true} 
[2026-11-04 02:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197600512001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5682205751583014912,"note":"Value kept but may cause issues"} 
[2026-11-04 02:48:48] 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-11-04 02:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793740644000,"timestamp_ms":1793740644000,"timestamp_seconds":1793740644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3461ea0"} 
[2026-11-04 02:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 02:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197600512001,"66":27789,"227":206,"19":47872,"24":55,"16":19989155752706048,"45":5682205751583014912},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-04 02:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197600512001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:48:48] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 02:48:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5682205751583014912,"description":"Unknown IO ID 45"} 
[2026-11-04 02:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197600512001,"power":27789,"unknown_227":206,"unknown_19":47872,"ignition":55,"odometer":null,"unknown_45":5682205751583014912}} 
[2026-11-04 02:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":230354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:48:49] local.INFO: GPS data processed {"connection_id":230354,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:48:49] local.INFO: Acknowledgment sent {"connection_id":230354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:49:12] local.INFO: TCP Data received {"connection_id":232196,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:12] local.INFO: Processing buffer {"connection_id":232196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:12] local.INFO: IMEI packet received {"connection_id":232196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":232196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:49:12] local.INFO: TCP Data received {"connection_id":230355,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:49:12] local.INFO: Processing buffer {"connection_id":230355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:49:12] local.INFO: Packet analysis {"connection_id":230355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:49:12] local.INFO: Extracted packet for processing {"connection_id":230355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:49:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 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-11-04 02:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:49:12] 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-11-04 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-11-04 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-11-04 02:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":230355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:49:12] local.INFO: GPS data processed {"connection_id":230355,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:49:12] local.INFO: Acknowledgment sent {"connection_id":230355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:49:15] local.INFO: TCP Data received {"connection_id":232196,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:15] local.INFO: Processing buffer {"connection_id":232196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:15] local.INFO: IMEI packet received {"connection_id":232196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":232196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:49:20] local.INFO: TCP Data received {"connection_id":232196,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:20] local.INFO: Processing buffer {"connection_id":232196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:49:20] local.INFO: IMEI packet received {"connection_id":232196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":232196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:49:22] local.INFO: TCP Data received {"connection_id":232196,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3465d20012d4e514006842060007501442b..."} 
[2026-11-04 02:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3465d20012d4e514006842060007501442b..."} 
[2026-11-04 02:49:22] local.INFO: Processing buffer {"connection_id":232196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3465d20012d4e514006842060007501442b..."} 
[2026-11-04 02:49:22] local.INFO: Packet analysis {"connection_id":232196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:49:22] local.INFO: Extracted packet for processing {"connection_id":232196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:49:22] local.INFO: GPS Element Parsed {"raw_longitude":760107328,"raw_latitude":109322336,"longitude_deg":76.0107328,"latitude_deg":10.9322336,"altitude":117,"angle":324,"satellites":43,"speed":53,"hex_longitude":"2d4e5140","hex_latitude":"06842060","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197604864001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5659265540982505472,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:22] 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-11-04 02:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793740660000,"timestamp_ms":1793740660000,"timestamp_seconds":1793740660,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3465d20"} 
[2026-11-04 02:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 02:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197604864001,"66":27821,"227":206,"19":47872,"24":53,"16":19989155752706048,"45":5659265540982505472},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-04 02:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197604864001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:49:22] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 02:49:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5659265540982505472,"description":"Unknown IO ID 45"} 
[2026-11-04 02:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197604864001,"power":27821,"unknown_227":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":5659265540982505472}} 
[2026-11-04 02:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":232196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:49:22] local.INFO: GPS data processed {"connection_id":232196,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:49:22] local.INFO: Acknowledgment sent {"connection_id":232196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:49:35] local.INFO: TCP Data received {"connection_id":230356,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:49:35] local.INFO: Processing buffer {"connection_id":230356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:49:35] local.INFO: IMEI packet received {"connection_id":230356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":230356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:49:40] local.INFO: TCP Data received {"connection_id":230356,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:49:40] local.INFO: Processing buffer {"connection_id":230356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:49:40] local.INFO: IMEI packet received {"connection_id":230356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":230356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:49:41] local.INFO: TCP Data received {"connection_id":230356,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:49:41] local.INFO: Processing buffer {"connection_id":230356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:49:41] local.INFO: Packet analysis {"connection_id":230356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:49:41] local.INFO: Extracted packet for processing {"connection_id":230356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:49:41] 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-11-04 02:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":230356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:49:41] local.INFO: GPS data processed {"connection_id":230356,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:49:41] local.INFO: Acknowledgment sent {"connection_id":230356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:49:54] local.INFO: TCP Data received {"connection_id":232196,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3469ba0012d4e168006845a30007a012e2b..."} 
[2026-11-04 02:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3469ba0012d4e168006845a30007a012e2b..."} 
[2026-11-04 02:49:54] local.INFO: Processing buffer {"connection_id":232196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3469ba0012d4e168006845a30007a012e2b..."} 
[2026-11-04 02:49:54] local.INFO: Packet analysis {"connection_id":232196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:49:54] local.INFO: Extracted packet for processing {"connection_id":232196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:49:54] local.INFO: GPS Element Parsed {"raw_longitude":760092288,"raw_latitude":109337136,"longitude_deg":76.0092288,"latitude_deg":10.9337136,"altitude":122,"angle":302,"satellites":43,"speed":51,"hex_longitude":"2d4e1680","hex_latitude":"06845a30","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197608960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5643362204802637824,"note":"Value kept but may cause issues"} 
[2026-11-04 02:49:54] 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-11-04 02:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793740676000,"timestamp_ms":1793740676000,"timestamp_seconds":1793740676,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3469ba0"} 
[2026-11-04 02:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 02:49:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197608960001,"66":27713,"227":206,"19":47872,"24":51,"16":19989155752706048,"45":5643362204802637824},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-04 02:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197608960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:49:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 02:49:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5643362204802637824,"description":"Unknown IO ID 45"} 
[2026-11-04 02:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197608960001,"power":27713,"unknown_227":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5643362204802637824}} 
[2026-11-04 02:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":232196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:49:54] local.INFO: GPS data processed {"connection_id":232196,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:49:54] local.INFO: Acknowledgment sent {"connection_id":232196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:50:11] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:11] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:11] local.INFO: IMEI packet received {"connection_id":229100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":229100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:50:12] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:12] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:12] local.INFO: IMEI packet received {"connection_id":229100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":229100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:50:12] local.INFO: TCP Data received {"connection_id":230356,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:50:12] local.INFO: Processing buffer {"connection_id":230356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:50:12] local.INFO: Packet analysis {"connection_id":230356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:50:12] local.INFO: Extracted packet for processing {"connection_id":230356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:50:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 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-11-04 02:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:50:12] 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-11-04 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-11-04 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-11-04 02:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":230356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:50:12] local.INFO: GPS data processed {"connection_id":230356,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:50:12] local.INFO: Acknowledgment sent {"connection_id":230356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:50:14] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:14] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:50:14] local.INFO: IMEI packet received {"connection_id":229100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":229100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:50:15] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a346de08012d4dc20006847660007d011729..."} 
[2026-11-04 02:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a346de08012d4dc20006847660007d011729..."} 
[2026-11-04 02:50:15] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a346de08012d4dc20006847660007d011729..."} 
[2026-11-04 02:50:15] local.INFO: Packet analysis {"connection_id":229100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:50:15] local.INFO: Extracted packet for processing {"connection_id":229100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a346"} 
[2026-11-04 02:50:15] local.INFO: GPS Element Parsed {"raw_longitude":760070656,"raw_latitude":109344352,"longitude_deg":76.0070656,"latitude_deg":10.9344352,"altitude":125,"angle":279,"satellites":41,"speed":54,"hex_longitude":"2d4dc200","hex_latitude":"06847660","is_valid_coordinates":true} 
[2026-11-04 02:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197613056001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5626825549924675584,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:15] 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-11-04 02:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793740693000,"timestamp_ms":1793740693000,"timestamp_seconds":1793740693,"priority":1,"record_length":96,"hex_timestamp":"000001a1a346de08"} 
[2026-11-04 02:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 02:50:15] 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-11-04 02:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197613056001,"66":27767,"227":206,"19":47872,"24":54,"16":19989155752706048,"45":5626825549924675584},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-04 02:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197613056001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5626825549924675584,"description":"Unknown IO ID 45"} 
[2026-11-04 02:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197613056001,"power":27767,"unknown_227":206,"unknown_19":47872,"ignition":54,"odometer":null,"unknown_45":5626825549924675584}} 
[2026-11-04 02:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":229100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:50:15] local.INFO: GPS data processed {"connection_id":229100,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:50:15] local.INFO: Acknowledgment sent {"connection_id":229100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:50:21] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3473010012d4d6b8006848720007d011f29..."} 
[2026-11-04 02:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3473010012d4d6b8006848720007d011f29..."} 
[2026-11-04 02:50:21] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3473010012d4d6b8006848720007d011f29..."} 
[2026-11-04 02:50:21] local.INFO: Packet analysis {"connection_id":229100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a347"} 
[2026-11-04 02:50:21] local.INFO: Extracted packet for processing {"connection_id":229100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a347"} 
[2026-11-04 02:50:21] local.INFO: GPS Element Parsed {"raw_longitude":760048512,"raw_latitude":109348640,"longitude_deg":76.0048512,"latitude_deg":10.934864,"altitude":125,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d4d6b80","hex_latitude":"06848720","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197617408001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5603040914394472448,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50: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-11-04 02:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793740714000,"timestamp_ms":1793740714000,"timestamp_seconds":1793740714,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3473010"} 
[2026-11-04 02:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 02:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197617408001,"66":27800,"227":206,"19":47872,"24":0,"16":19989155752706048,"45":5603040914394472448},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-11-04 02:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197617408001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:50:21] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 02:50:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5603040914394472448,"description":"Unknown IO ID 45"} 
[2026-11-04 02:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197617408001,"power":27800,"unknown_227":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5603040914394472448}} 
[2026-11-04 02:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":229100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:50:21] local.INFO: GPS data processed {"connection_id":229100,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:50:21] local.INFO: Acknowledgment sent {"connection_id":229100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:50:35] local.INFO: TCP Data received {"connection_id":232197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:50:35] local.INFO: Processing buffer {"connection_id":232197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:50:35] local.INFO: IMEI packet received {"connection_id":232197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":232197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:50:40] local.INFO: TCP Data received {"connection_id":232197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:50:40] local.INFO: Processing buffer {"connection_id":232197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:50:40] local.INFO: IMEI packet received {"connection_id":232197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":232197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:50:41] local.INFO: TCP Data received {"connection_id":232197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:50:41] local.INFO: Processing buffer {"connection_id":232197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:50:41] local.INFO: Packet analysis {"connection_id":232197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:50:41] local.INFO: Extracted packet for processing {"connection_id":232197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:50:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:50:41] 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-11-04 02:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:50:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":232197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:50:41] local.INFO: GPS data processed {"connection_id":232197,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:50:41] local.INFO: Acknowledgment sent {"connection_id":232197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:51:12] local.INFO: TCP Data received {"connection_id":232197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:51:12] local.INFO: Processing buffer {"connection_id":232197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34474d8012ce51bc007234b90000900802c..."} 
[2026-11-04 02:51:12] local.INFO: Packet analysis {"connection_id":232197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:51:12] local.INFO: Extracted packet for processing {"connection_id":232197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a344"} 
[2026-11-04 02:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197499904001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740535000,"timestamp_ms":1793740535000,"timestamp_seconds":1793740535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34474d8"} 
[2026-11-04 02:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 02:51:12] 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-11-04 02: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-11-04 02:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197499904001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197499904001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:51:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197499904001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":232197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:51:12] local.INFO: GPS data processed {"connection_id":232197,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:51:12] local.INFO: Acknowledgment sent {"connection_id":232197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:51:13] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3475b08012d4d22c00684baf00077013925..."} 
[2026-11-04 02:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3475b08012d4d22c00684baf00077013925..."} 
[2026-11-04 02:51:13] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3475b08012d4d22c00684baf00077013925..."} 
[2026-11-04 02:51:13] local.INFO: Packet analysis {"connection_id":229100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a347"} 
[2026-11-04 02:51:13] local.INFO: Extracted packet for processing {"connection_id":229100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a347"} 
[2026-11-04 02:51:13] local.INFO: GPS Element Parsed {"raw_longitude":760029888,"raw_latitude":109361904,"longitude_deg":76.0029888,"latitude_deg":10.9361904,"altitude":119,"angle":313,"satellites":37,"speed":57,"hex_longitude":"2d4d22c0","hex_latitude":"0684baf0","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197622784001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19989155752706048,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5578693328910098432,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:13] 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-11-04 02:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793740725000,"timestamp_ms":1793740725000,"timestamp_seconds":1793740725,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3475b08"} 
[2026-11-04 02:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 02:51: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-11-04 02: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-11-04 02:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197622784001,"66":27767,"229":206,"19":47872,"24":57,"16":19989155752706048,"45":5578693328910098432},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-11-04 02:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197622784001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:51:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-04 02:51:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 02:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":19989155752706048,"km_value":19989155752706.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5578693328910098432,"description":"Unknown IO ID 45"} 
[2026-11-04 02:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197622784001,"power":27767,"unknown_229":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":5578693328910098432}} 
[2026-11-04 02:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":229100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:51:13] local.INFO: GPS data processed {"connection_id":229100,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:51:13] local.INFO: Acknowledgment sent {"connection_id":229100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:51:31] local.INFO: TCP Data received {"connection_id":230357,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:51:31] local.INFO: Processing buffer {"connection_id":230357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:51:31] local.INFO: IMEI packet received {"connection_id":230357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":230357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:51:36] local.INFO: TCP Data received {"connection_id":230357,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:51:36] local.INFO: Processing buffer {"connection_id":230357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:51:36] local.INFO: IMEI packet received {"connection_id":230357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":230357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:51:38] local.INFO: TCP Data received {"connection_id":230357,"ip":"117.225.214.33","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 02:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230357,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 02:51:38] local.INFO: Processing buffer {"connection_id":230357,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 02:51:38] local.INFO: IMEI packet received {"connection_id":230357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":230357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:51:40] local.INFO: TCP Data received {"connection_id":232198,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:51:40] local.INFO: Processing buffer {"connection_id":232198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:51:40] local.INFO: IMEI packet received {"connection_id":232198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":232198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:51:45] local.INFO: TCP Data received {"connection_id":232198,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:51:45] local.INFO: Processing buffer {"connection_id":232198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:51:45] local.INFO: IMEI packet received {"connection_id":232198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":232198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:51:46] local.INFO: TCP Data received {"connection_id":232198,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:51:46] local.INFO: Processing buffer {"connection_id":232198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:51:46] local.INFO: Packet analysis {"connection_id":232198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:51:46] local.INFO: Extracted packet for processing {"connection_id":232198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:51:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 02:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:51:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":232198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:51:46] local.INFO: GPS data processed {"connection_id":232198,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:51:46] local.INFO: Acknowledgment sent {"connection_id":232198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:52:17] local.INFO: TCP Data received {"connection_id":232198,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:52:17] local.INFO: Processing buffer {"connection_id":232198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:52:17] local.INFO: Packet analysis {"connection_id":232198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:52:17] local.INFO: Extracted packet for processing {"connection_id":232198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:52:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:52:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 02:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:52:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:52:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":232198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:52:17] local.INFO: GPS data processed {"connection_id":232198,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:52:17] local.INFO: Acknowledgment sent {"connection_id":232198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:52:35] local.INFO: TCP Data received {"connection_id":230358,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:52:35] local.INFO: Processing buffer {"connection_id":230358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:52:35] local.INFO: IMEI packet received {"connection_id":230358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":230358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:52:40] local.INFO: TCP Data received {"connection_id":230358,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:52:40] local.INFO: Processing buffer {"connection_id":230358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:52:40] local.INFO: IMEI packet received {"connection_id":230358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":230358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:52:41] local.INFO: TCP Data received {"connection_id":230358,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:52:41] local.INFO: Processing buffer {"connection_id":230358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:52:41] local.INFO: Packet analysis {"connection_id":230358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:52:41] local.INFO: Extracted packet for processing {"connection_id":230358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:52:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 02:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":230358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:52:41] local.INFO: GPS data processed {"connection_id":230358,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:52:41] local.INFO: Acknowledgment sent {"connection_id":230358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:53:12] local.INFO: TCP Data received {"connection_id":230358,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:53:12] local.INFO: Processing buffer {"connection_id":230358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:53:12] local.INFO: Packet analysis {"connection_id":230358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:53:12] local.INFO: Extracted packet for processing {"connection_id":230358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 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-11-04 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":230358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:53:12] local.INFO: GPS data processed {"connection_id":230358,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:53:12] local.INFO: Acknowledgment sent {"connection_id":230358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:53:35] local.INFO: TCP Data received {"connection_id":228620,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:53:35] local.INFO: Processing buffer {"connection_id":228620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:53:35] local.INFO: IMEI packet received {"connection_id":228620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":228620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:53:40] local.INFO: TCP Data received {"connection_id":228620,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:53:40] local.INFO: Processing buffer {"connection_id":228620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:53:40] local.INFO: IMEI packet received {"connection_id":228620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":228620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:53:41] local.INFO: TCP Data received {"connection_id":228620,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:53:41] local.INFO: Processing buffer {"connection_id":228620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:53:41] local.INFO: Packet analysis {"connection_id":228620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:53:41] local.INFO: Extracted packet for processing {"connection_id":228620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:53:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 02:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":228620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:53:41] local.INFO: GPS data processed {"connection_id":228620,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:53:41] local.INFO: Acknowledgment sent {"connection_id":228620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:54:12] local.INFO: TCP Data received {"connection_id":228620,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:54:12] local.INFO: Processing buffer {"connection_id":228620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:54:12] local.INFO: Packet analysis {"connection_id":228620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:54:12] local.INFO: Extracted packet for processing {"connection_id":228620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 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-11-04 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":228620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:54:12] local.INFO: GPS data processed {"connection_id":228620,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:54:12] local.INFO: Acknowledgment sent {"connection_id":228620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:54:35] local.INFO: TCP Data received {"connection_id":232201,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:54:35] local.INFO: Processing buffer {"connection_id":232201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:54:35] local.INFO: IMEI packet received {"connection_id":232201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":232201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:54:40] local.INFO: TCP Data received {"connection_id":232201,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:54:40] local.INFO: Processing buffer {"connection_id":232201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:54:40] local.INFO: IMEI packet received {"connection_id":232201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":232201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:54:41] local.INFO: TCP Data received {"connection_id":232201,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:54:41] local.INFO: Processing buffer {"connection_id":232201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:54:41] local.INFO: Packet analysis {"connection_id":232201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:54:41] local.INFO: Extracted packet for processing {"connection_id":232201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 02:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":232201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:54:41] local.INFO: GPS data processed {"connection_id":232201,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:54:41] local.INFO: Acknowledgment sent {"connection_id":232201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:55:12] local.INFO: TCP Data received {"connection_id":232201,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:55:12] local.INFO: Processing buffer {"connection_id":232201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:55:12] local.INFO: Packet analysis {"connection_id":232201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:55:12] local.INFO: Extracted packet for processing {"connection_id":232201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 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-11-04 02:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":232201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:55:12] local.INFO: GPS data processed {"connection_id":232201,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:55:12] local.INFO: Acknowledgment sent {"connection_id":232201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:55:35] local.INFO: TCP Data received {"connection_id":230359,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:55:35] local.INFO: Processing buffer {"connection_id":230359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:55:35] local.INFO: IMEI packet received {"connection_id":230359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":230359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:55:40] local.INFO: TCP Data received {"connection_id":230359,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:55:40] local.INFO: Processing buffer {"connection_id":230359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:55:40] local.INFO: IMEI packet received {"connection_id":230359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":230359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:55:41] local.INFO: TCP Data received {"connection_id":230359,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:55:41] local.INFO: Processing buffer {"connection_id":230359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:55:41] local.INFO: Packet analysis {"connection_id":230359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:55:41] local.INFO: Extracted packet for processing {"connection_id":230359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 02:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":230359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:55:41] local.INFO: GPS data processed {"connection_id":230359,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:55:41] local.INFO: Acknowledgment sent {"connection_id":230359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:56:12] local.INFO: TCP Data received {"connection_id":230359,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:56:12] local.INFO: Processing buffer {"connection_id":230359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3490ca0012ce51bc007234b90000900802c..."} 
[2026-11-04 02:56:12] local.INFO: Packet analysis {"connection_id":230359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:56:12] local.INFO: Extracted packet for processing {"connection_id":230359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a349"} 
[2026-11-04 02:56:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197576960001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793740836000,"timestamp_ms":1793740836000,"timestamp_seconds":1793740836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3490ca0"} 
[2026-11-04 02:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 02:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197576960001,"66":24614,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197576960001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:56:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197576960001,"power":24614,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":230359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:56:12] local.INFO: GPS data processed {"connection_id":230359,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:56:12] local.INFO: Acknowledgment sent {"connection_id":230359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:56:36] local.INFO: TCP Data received {"connection_id":230360,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:56:36] local.INFO: Processing buffer {"connection_id":230360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:56:36] local.INFO: IMEI packet received {"connection_id":230360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":230360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:56:40] local.INFO: TCP Data received {"connection_id":230360,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34dcb78012d4a9840068b5060001501302a..."} 
[2026-11-04 02:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34dcb78012d4a9840068b5060001501302a..."} 
[2026-11-04 02:56:40] local.INFO: Processing buffer {"connection_id":230360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34dcb78012d4a9840068b5060001501302a..."} 
[2026-11-04 02:56:40] local.INFO: Packet analysis {"connection_id":230360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:56:40] local.INFO: Extracted packet for processing {"connection_id":230360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:56:40] local.INFO: GPS Element Parsed {"raw_longitude":759863360,"raw_latitude":109793376,"longitude_deg":75.986336,"latitude_deg":10.9793376,"altitude":21,"angle":304,"satellites":42,"speed":76,"hex_longitude":"2d4a9840","hex_latitude":"068b5060","is_valid_coordinates":true} 
[2026-11-04 02:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197733632001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20012266971725824,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5375116552117968896,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:40] 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-11-04 02:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793741147000,"timestamp_ms":1793741147000,"timestamp_seconds":1793741147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34dcb78"} 
[2026-11-04 02:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 02:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197733632001,"66":27800,"33":206,"19":48128,"24":76,"16":20012266971725824,"45":5375116552117968896},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,19,24,16,45]} 
[2026-11-04 02:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197733632001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:56:40] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 02:56:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20012266971725824,"km_value":20012266971725.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5375116552117968896,"description":"Unknown IO ID 45"} 
[2026-11-04 02:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197733632001,"power":27800,"unknown_33":206,"unknown_19":48128,"ignition":76,"odometer":null,"unknown_45":5375116552117968896}} 
[2026-11-04 02:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":230360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:56:40] local.INFO: GPS data processed {"connection_id":230360,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:56:40] local.INFO: Acknowledgment sent {"connection_id":230360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:56:40] local.INFO: TCP Data received {"connection_id":232202,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:56:40] local.INFO: Processing buffer {"connection_id":232202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:56:40] local.INFO: IMEI packet received {"connection_id":232202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":232202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:56:45] local.INFO: TCP Data received {"connection_id":232202,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:56:45] local.INFO: Processing buffer {"connection_id":232202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:56:45] local.INFO: IMEI packet received {"connection_id":232202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":232202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:56:46] local.INFO: TCP Data received {"connection_id":232202,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:56:46] local.INFO: Processing buffer {"connection_id":232202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:56:46] local.INFO: Packet analysis {"connection_id":232202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:56:46] local.INFO: Extracted packet for processing {"connection_id":232202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:56:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 02:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:56:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:56:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:56:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":232202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:56:46] local.INFO: GPS data processed {"connection_id":232202,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:56:46] local.INFO: Acknowledgment sent {"connection_id":232202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:57:10] local.INFO: TCP Data received {"connection_id":230361,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:10] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:10] local.INFO: IMEI packet received {"connection_id":230361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":230361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:57:11] local.INFO: TCP Data received {"connection_id":230361,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:11] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:11] local.INFO: IMEI packet received {"connection_id":230361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":230361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:57:15] local.INFO: TCP Data received {"connection_id":230361,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:15] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:57:15] local.INFO: IMEI packet received {"connection_id":230361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":230361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:57:17] local.INFO: TCP Data received {"connection_id":230361,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34ddf00012d4a7c00068b68180014013b2c..."} 
[2026-11-04 02:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34ddf00012d4a7c00068b68180014013b2c..."} 
[2026-11-04 02:57:17] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34ddf00012d4a7c00068b68180014013b2c..."} 
[2026-11-04 02:57:17] local.INFO: Packet analysis {"connection_id":230361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:57:17] local.INFO: Extracted packet for processing {"connection_id":230361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:57:17] local.INFO: GPS Element Parsed {"raw_longitude":759856128,"raw_latitude":109799448,"longitude_deg":75.9856128,"latitude_deg":10.9799448,"altitude":20,"angle":315,"satellites":44,"speed":73,"hex_longitude":"2d4a7c00","hex_latitude":"068b6818","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197733632001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20012722238259200,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5375116552117968896,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:17] 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-11-04 02:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793741152000,"timestamp_ms":1793741152000,"timestamp_seconds":1793741152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34ddf00"} 
[2026-11-04 02:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":152,"data_length":795,"current_offset":136} 
[2026-11-04 02:57: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-11-04 02: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-11-04 02:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197733632001,"66":27876,"33":206,"19":48128,"24":73,"16":20012722238259200,"45":5375116552117968896},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,19,24,16,45]} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197733632001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20012722238259200,"km_value":20012722238259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5375116552117968896,"description":"Unknown IO ID 45"} 
[2026-11-04 02:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197733632001,"power":27876,"unknown_33":206,"unknown_19":48128,"ignition":73,"odometer":null,"unknown_45":5375116552117968896}} 
[2026-11-04 02:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":230361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:57:17] local.INFO: GPS data processed {"connection_id":230361,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:57:17] local.INFO: Acknowledgment sent {"connection_id":230361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:57:17] local.INFO: TCP Data received {"connection_id":232202,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:57:17] local.INFO: Processing buffer {"connection_id":232202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:57:17] local.INFO: Packet analysis {"connection_id":232202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:57:17] local.INFO: Extracted packet for processing {"connection_id":232202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:57:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 02:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":232202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:57:17] local.INFO: GPS data processed {"connection_id":232202,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:57:17] local.INFO: Acknowledgment sent {"connection_id":232202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:57:35] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:57:35] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:57:35] local.INFO: IMEI packet received {"connection_id":230362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":230362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:57:40] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:57:40] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:57:40] local.INFO: IMEI packet received {"connection_id":230362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":230362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:57:41] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:57:41] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:57:41] local.INFO: Packet analysis {"connection_id":230362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:57:41] local.INFO: Extracted packet for processing {"connection_id":230362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:57:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 02:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":230362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:57:41] local.INFO: GPS data processed {"connection_id":230362,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:57:41] local.INFO: Acknowledgment sent {"connection_id":230362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:57:48] local.INFO: TCP Data received {"connection_id":230361,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34eec88012d494900068c7e600015013e2a..."} 
[2026-11-04 02:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34eec88012d494900068c7e600015013e2a..."} 
[2026-11-04 02:57:48] local.INFO: Processing buffer {"connection_id":230361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34eec88012d494900068c7e600015013e2a..."} 
[2026-11-04 02:57:48] local.INFO: Packet analysis {"connection_id":230361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34e"} 
[2026-11-04 02:57:48] local.INFO: Extracted packet for processing {"connection_id":230361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34e"} 
[2026-11-04 02:57:48] local.INFO: GPS Element Parsed {"raw_longitude":759777536,"raw_latitude":109870688,"longitude_deg":75.9777536,"latitude_deg":10.9870688,"altitude":21,"angle":318,"satellites":42,"speed":56,"hex_longitude":"2d494900","hex_latitude":"068c7e60","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197750784001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20017966393327616,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5288774103030110208,"note":"Value kept but may cause issues"} 
[2026-11-04 02:57:48] 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-11-04 02:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793741221000,"timestamp_ms":1793741221000,"timestamp_seconds":1793741221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34eec88"} 
[2026-11-04 02:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 02:57: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-11-04 02: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-11-04 02:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197750784001,"66":27463,"128":206,"19":48128,"24":56,"16":20017966393327616,"45":5288774103030110208},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-11-04 02:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197750784001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:57:48] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 02:57:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20017966393327616,"km_value":20017966393327.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5288774103030110208,"description":"Unknown IO ID 45"} 
[2026-11-04 02:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197750784001,"power":27463,"unknown_128":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":5288774103030110208}} 
[2026-11-04 02:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":230361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:57:49] local.INFO: GPS data processed {"connection_id":230361,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:57:49] local.INFO: Acknowledgment sent {"connection_id":230361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:58:09] local.INFO: TCP Data received {"connection_id":228622,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:09] local.INFO: Processing buffer {"connection_id":228622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:09] local.INFO: IMEI packet received {"connection_id":228622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":228622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:58:11] local.INFO: TCP Data received {"connection_id":228622,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:11] local.INFO: Processing buffer {"connection_id":228622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:11] local.INFO: IMEI packet received {"connection_id":228622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":228622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:58:12] local.INFO: TCP Data received {"connection_id":230362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:58:12] local.INFO: Processing buffer {"connection_id":230362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:58:12] local.INFO: Packet analysis {"connection_id":230362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:58:12] local.INFO: Extracted packet for processing {"connection_id":230362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 02:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 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-11-04 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 02:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:58:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":230362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:58:12] local.INFO: GPS data processed {"connection_id":230362,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:58:12] local.INFO: Acknowledgment sent {"connection_id":230362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:58:15] local.INFO: TCP Data received {"connection_id":228622,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:15] local.INFO: Processing buffer {"connection_id":228622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:58:15] local.INFO: IMEI packet received {"connection_id":228622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":228622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:58:17] local.INFO: TCP Data received {"connection_id":228622,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34eec88012d494900068c7e600015013e2a..."} 
[2026-11-04 02:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34eec88012d494900068c7e600015013e2a..."} 
[2026-11-04 02:58:17] local.INFO: Processing buffer {"connection_id":228622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34eec88012d494900068c7e600015013e2a..."} 
[2026-11-04 02:58:17] local.INFO: Packet analysis {"connection_id":228622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34e"} 
[2026-11-04 02:58:17] local.INFO: Extracted packet for processing {"connection_id":228622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34e"} 
[2026-11-04 02:58:17] local.INFO: GPS Element Parsed {"raw_longitude":759777536,"raw_latitude":109870688,"longitude_deg":75.9777536,"latitude_deg":10.9870688,"altitude":21,"angle":318,"satellites":42,"speed":56,"hex_longitude":"2d494900","hex_latitude":"068c7e60","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197752576001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20017966393327616,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5280752066195513344,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:17] 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-11-04 02:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793741221000,"timestamp_ms":1793741221000,"timestamp_seconds":1793741221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34eec88"} 
[2026-11-04 02:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 02:58:17] 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-11-04 02: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-11-04 02:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197752576001,"66":27463,"128":206,"19":48128,"24":56,"16":20017966393327616,"45":5280752066195513344},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-11-04 02:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197752576001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:58:17] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 02:58:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20017966393327616,"km_value":20017966393327.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5280752066195513344,"description":"Unknown IO ID 45"} 
[2026-11-04 02:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197752576001,"power":27463,"unknown_128":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":5280752066195513344}} 
[2026-11-04 02:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":228622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:58:17] local.INFO: GPS data processed {"connection_id":228622,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:58:17] local.INFO: Acknowledgment sent {"connection_id":228622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:58:35] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:58:35] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:58:35] local.INFO: IMEI packet received {"connection_id":230363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":230363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:58:40] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:58:40] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:58:40] local.INFO: IMEI packet received {"connection_id":230363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":230363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:58:41] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:58:41] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:58:41] local.INFO: Packet analysis {"connection_id":230363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:58:41] local.INFO: Extracted packet for processing {"connection_id":230363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:58:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 02:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":230363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:58:41] local.INFO: GPS data processed {"connection_id":230363,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:58:41] local.INFO: Acknowledgment sent {"connection_id":230363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:58:49] local.INFO: TCP Data received {"connection_id":228622,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34f03f8012d4934c0068c99680016014928..."} 
[2026-11-04 02:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34f03f8012d4934c0068c99680016014928..."} 
[2026-11-04 02:58:49] local.INFO: Processing buffer {"connection_id":228622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34f03f8012d4934c0068c99680016014928..."} 
[2026-11-04 02:58:49] local.INFO: Packet analysis {"connection_id":228622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:58:49] local.INFO: Extracted packet for processing {"connection_id":228622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:58:49] local.INFO: GPS Element Parsed {"raw_longitude":759772352,"raw_latitude":109877608,"longitude_deg":75.9772352,"latitude_deg":10.9877608,"altitude":22,"angle":329,"satellites":40,"speed":58,"hex_longitude":"2d4934c0","hex_latitude":"068c9968","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197752576001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20018387300122624,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5280752066195513344,"note":"Value kept but may cause issues"} 
[2026-11-04 02:58:49] 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-11-04 02:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793741227000,"timestamp_ms":1793741227000,"timestamp_seconds":1793741227,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34f03f8"} 
[2026-11-04 02:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 02:58:49] 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-11-04 02: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-11-04 02:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197752576001,"66":27821,"128":206,"19":48128,"24":58,"16":20018387300122624,"45":5280752066195513344},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-11-04 02:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197752576001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:58:49] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 02:58:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20018387300122624,"km_value":20018387300122.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5280752066195513344,"description":"Unknown IO ID 45"} 
[2026-11-04 02:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197752576001,"power":27821,"unknown_128":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":5280752066195513344}} 
[2026-11-04 02:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":228622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:58:49] local.INFO: GPS data processed {"connection_id":228622,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:58:49] local.INFO: Acknowledgment sent {"connection_id":228622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:59:12] local.INFO: TCP Data received {"connection_id":230364,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:12] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:12] local.INFO: IMEI packet received {"connection_id":230364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 02:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":230364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:59:12] local.INFO: TCP Data received {"connection_id":230363,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:12] local.INFO: Processing buffer {"connection_id":230363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:12] local.INFO: Packet analysis {"connection_id":230363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:59:12] local.INFO: Extracted packet for processing {"connection_id":230363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 02:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:59:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":230363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:59:12] local.INFO: GPS data processed {"connection_id":230363,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:59:12] local.INFO: Acknowledgment sent {"connection_id":230363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:59:15] local.INFO: TCP Data received {"connection_id":230364,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:15] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:15] local.INFO: IMEI packet received {"connection_id":230364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":230364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:59:20] local.INFO: TCP Data received {"connection_id":230364,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:20] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 02:59:20] local.INFO: IMEI packet received {"connection_id":230364,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 02:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":230364,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:59:22] local.INFO: TCP Data received {"connection_id":230364,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34f1b68012d492540068cb8b0001601512a..."} 
[2026-11-04 02:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34f1b68012d492540068cb8b0001601512a..."} 
[2026-11-04 02:59:22] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34f1b68012d492540068cb8b0001601512a..."} 
[2026-11-04 02:59:22] local.INFO: Packet analysis {"connection_id":230364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:59:22] local.INFO: Extracted packet for processing {"connection_id":230364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:59:22] local.INFO: GPS Element Parsed {"raw_longitude":759768384,"raw_latitude":109885616,"longitude_deg":75.9768384,"latitude_deg":10.9885616,"altitude":22,"angle":337,"satellites":42,"speed":59,"hex_longitude":"2d492540","hex_latitude":"068cb8b0","is_valid_coordinates":true} 
[2026-11-04 02:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197754112001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20018816796852224,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5275052197918894080,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:22] 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-11-04 02:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793741233000,"timestamp_ms":1793741233000,"timestamp_seconds":1793741233,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34f1b68"} 
[2026-11-04 02:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 02:59: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-11-04 02:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197754112001,"66":27821,"128":206,"19":48128,"24":59,"16":20018816796852224,"45":5275052197918894080},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-11-04 02:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197754112001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:59:22] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 02:59:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20018816796852224,"km_value":20018816796852.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5275052197918894080,"description":"Unknown IO ID 45"} 
[2026-11-04 02:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197754112001,"power":27821,"unknown_128":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":5275052197918894080}} 
[2026-11-04 02:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":230364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:59:22] local.INFO: GPS data processed {"connection_id":230364,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:59:22] local.INFO: Acknowledgment sent {"connection_id":230364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:59:23] local.INFO: TCP Data received {"connection_id":230364,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34f32d8012d491800068cd8d8001501512c..."} 
[2026-11-04 02:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34f32d8012d491800068cd8d8001501512c..."} 
[2026-11-04 02:59:23] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34f32d8012d491800068cd8d8001501512c..."} 
[2026-11-04 02:59:23] local.INFO: Packet analysis {"connection_id":230364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:59:23] local.INFO: Extracted packet for processing {"connection_id":230364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:59:23] local.INFO: GPS Element Parsed {"raw_longitude":759764992,"raw_latitude":109893848,"longitude_deg":75.9764992,"latitude_deg":10.9893848,"altitude":21,"angle":337,"satellites":44,"speed":58,"hex_longitude":"2d491800","hex_latitude":"068cd8d8","is_valid_coordinates":true} 
[2026-11-04 02:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 02:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197755648001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20019246293581824,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5270689335781928960,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:23] 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-11-04 02:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793741239000,"timestamp_ms":1793741239000,"timestamp_seconds":1793741239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34f32d8"} 
[2026-11-04 02:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 02:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 02:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197755648001,"66":27680,"128":206,"19":48128,"24":58,"16":20019246293581824,"45":5270689335781928960},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-11-04 02:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197755648001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:59:23] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 02:59:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20019246293581824,"km_value":20019246293581.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5270689335781928960,"description":"Unknown IO ID 45"} 
[2026-11-04 02:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197755648001,"power":27680,"unknown_128":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":5270689335781928960}} 
[2026-11-04 02:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":230364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:59:23] local.INFO: GPS data processed {"connection_id":230364,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:59:23] local.INFO: Acknowledgment sent {"connection_id":230364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:59:40] local.INFO: TCP Data received {"connection_id":228623,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:59:40] local.INFO: Processing buffer {"connection_id":228623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:59:40] local.INFO: IMEI packet received {"connection_id":228623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 02:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":228623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 02:59:45] local.INFO: TCP Data received {"connection_id":228623,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:59:45] local.INFO: Processing buffer {"connection_id":228623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 02:59:45] local.INFO: IMEI packet received {"connection_id":228623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 02:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":228623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 02:59:46] local.INFO: TCP Data received {"connection_id":228623,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:46] local.INFO: Processing buffer {"connection_id":228623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:46] local.INFO: Packet analysis {"connection_id":228623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:59:46] local.INFO: Extracted packet for processing {"connection_id":228623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:59:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 02:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:59:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:59:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":228623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:59:46] local.INFO: GPS data processed {"connection_id":228623,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:59:46] local.INFO: Acknowledgment sent {"connection_id":228623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:59:51] local.INFO: TCP Data received {"connection_id":228623,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:51] local.INFO: Processing buffer {"connection_id":228623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 02:59:51] local.INFO: Packet analysis {"connection_id":228623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:59:51] local.INFO: Extracted packet for processing {"connection_id":228623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 02:59:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 02:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 02:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 02: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 02:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 02:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 02:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 02:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 02:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 02:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 02:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:59:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 02:59:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 02:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 02:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 02:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":228623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:59:51] local.INFO: GPS data processed {"connection_id":228623,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:59:51] local.INFO: Acknowledgment sent {"connection_id":228623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 02:59:55] local.INFO: TCP Data received {"connection_id":230364,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34f4e30012d490940068cfe28001301512d..."} 
[2026-11-04 02:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34f4e30012d490940068cfe28001301512d..."} 
[2026-11-04 02:59:55] local.INFO: Processing buffer {"connection_id":230364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34f4e30012d490940068cfe28001301512d..."} 
[2026-11-04 02:59:55] local.INFO: Packet analysis {"connection_id":230364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:59:55] local.INFO: Extracted packet for processing {"connection_id":230364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 02:59:55] local.INFO: GPS Element Parsed {"raw_longitude":759761216,"raw_latitude":109903400,"longitude_deg":75.9761216,"latitude_deg":10.99034,"altitude":19,"angle":337,"satellites":45,"speed":58,"hex_longitude":"2d490940","hex_latitude":"068cfe28","is_valid_coordinates":true} 
[2026-11-04 02: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-11-04 02:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197757184001,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20019744509788160,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5266959792342620160,"note":"Value kept but may cause issues"} 
[2026-11-04 02:59:55] 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-11-04 02:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793741246000,"timestamp_ms":1793741246000,"timestamp_seconds":1793741246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34f4e30"} 
[2026-11-04 02:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 02:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 02:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 02:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 02: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-11-04 02:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 02:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 02:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 02:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230364,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 02:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 02:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 02:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 02:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197757184001,"66":27843,"128":206,"19":48128,"24":58,"16":20019744509788160,"45":5266959792342620160},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-11-04 02:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 02:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 02:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197757184001,"description":"Unknown IO ID 0"} 
[2026-11-04 02:59:55] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 02:59:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 02:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20019744509788160,"km_value":20019744509788.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 02:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5266959792342620160,"description":"Unknown IO ID 45"} 
[2026-11-04 02:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197757184001,"power":27843,"unknown_128":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":5266959792342620160}} 
[2026-11-04 02:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":230364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 02:59:55] local.INFO: GPS data processed {"connection_id":230364,"processed":1,"errors":0,"total":1} 
[2026-11-04 02:59:55] local.INFO: Acknowledgment sent {"connection_id":230364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:00:10] local.INFO: TCP Data received {"connection_id":229102,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:00:10] local.INFO: Processing buffer {"connection_id":229102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:00:10] local.INFO: IMEI packet received {"connection_id":229102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":229102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:00:15] local.INFO: TCP Data received {"connection_id":229102,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:00:15] local.INFO: Processing buffer {"connection_id":229102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:00:15] local.INFO: IMEI packet received {"connection_id":229102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":229102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:00:16] local.INFO: TCP Data received {"connection_id":229102,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34f6988012d48fa00068d2300001301522c..."} 
[2026-11-04 03:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34f6988012d48fa00068d2300001301522c..."} 
[2026-11-04 03:00:16] local.INFO: Processing buffer {"connection_id":229102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34f6988012d48fa00068d2300001301522c..."} 
[2026-11-04 03:00:16] local.INFO: Packet analysis {"connection_id":229102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 03:00:16] local.INFO: Extracted packet for processing {"connection_id":229102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34f"} 
[2026-11-04 03:00:16] local.INFO: GPS Element Parsed {"raw_longitude":759757312,"raw_latitude":109912832,"longitude_deg":75.9757312,"latitude_deg":10.9912832,"altitude":19,"angle":338,"satellites":44,"speed":57,"hex_longitude":"2d48fa00","hex_latitude":"068d2300","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197758976001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20020238431027200,"note":"Value kept but may cause issues"} 
[2026-11-04 03:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5262808036438583296,"note":"Value kept but may cause issues"} 
[2026-11-04 03:00:16] 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-11-04 03:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793741253000,"timestamp_ms":1793741253000,"timestamp_seconds":1793741253,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34f6988"} 
[2026-11-04 03:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 03:00: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-11-04 03: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-11-04 03:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197758976001,"66":27800,"128":206,"19":48128,"24":57,"16":20020238431027200,"45":5262808036438583296},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-11-04 03:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197758976001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:00:16] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 03:00:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20020238431027200,"km_value":20020238431027.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5262808036438583296,"description":"Unknown IO ID 45"} 
[2026-11-04 03:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197758976001,"power":27800,"unknown_128":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":5262808036438583296}} 
[2026-11-04 03:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":229102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:00:16] local.INFO: GPS data processed {"connection_id":229102,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:00:16] local.INFO: Acknowledgment sent {"connection_id":229102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:00:35] local.INFO: TCP Data received {"connection_id":229103,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:00:35] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:00:35] local.INFO: IMEI packet received {"connection_id":229103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":229103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:00:40] local.INFO: TCP Data received {"connection_id":229103,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:00:40] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:00:40] local.INFO: IMEI packet received {"connection_id":229103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":229103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:00:41] local.INFO: TCP Data received {"connection_id":229103,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 03:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 03:00:41] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 03:00:41] local.INFO: Packet analysis {"connection_id":229103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 03:00:41] local.INFO: Extracted packet for processing {"connection_id":229103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 03:00:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 03:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 03:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:00:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":229103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:00:41] local.INFO: GPS data processed {"connection_id":229103,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:00:41] local.INFO: Acknowledgment sent {"connection_id":229103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:01:11] local.INFO: TCP Data received {"connection_id":229102,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3511350012d47ae40068df150003e010216..."} 
[2026-11-04 03:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3511350012d47ae40068df150003e010216..."} 
[2026-11-04 03:01:11] local.INFO: Processing buffer {"connection_id":229102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3511350012d47ae40068df150003e010216..."} 
[2026-11-04 03:01:11] local.INFO: Packet analysis {"connection_id":229102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:01:11] local.INFO: Extracted packet for processing {"connection_id":229102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:01:11] local.INFO: GPS Element Parsed {"raw_longitude":759672384,"raw_latitude":109965648,"longitude_deg":75.9672384,"latitude_deg":10.9965648,"altitude":62,"angle":258,"satellites":22,"speed":37,"hex_longitude":"2d47ae40","hex_latitude":"068df150","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20024743851720704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 03:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793741362000,"timestamp_ms":1793741362000,"timestamp_seconds":1793741362,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3511350"} 
[2026-11-04 03:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 03:01:11] 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-11-04 03: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-11-04 03:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"35":206,"19":48128,"24":37,"16":20024743851720704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16]} 
[2026-11-04 03:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 03:01:11] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 03:01:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20024743851720704,"km_value":20024743851720.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:01:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_35":206,"unknown_19":48128,"ignition":37,"odometer":null}} 
[2026-11-04 03:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":229102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:01:11] local.INFO: GPS data processed {"connection_id":229102,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:01:11] local.INFO: Acknowledgment sent {"connection_id":229102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:01:12] local.INFO: TCP Data received {"connection_id":229103,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 03:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 03:01:12] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a34da468012ce51bc007234b90000900802d..."} 
[2026-11-04 03:01:12] local.INFO: Packet analysis {"connection_id":229103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 03:01:12] local.INFO: Extracted packet for processing {"connection_id":229103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a34d"} 
[2026-11-04 03:01:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741137000,"timestamp_ms":1793741137000,"timestamp_seconds":1793741137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a34da468"} 
[2026-11-04 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-11-04 03:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 03:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197654016001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:01:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197654016001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":229103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:01:12] local.INFO: GPS data processed {"connection_id":229103,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:01:12] local.INFO: Acknowledgment sent {"connection_id":229103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:01:22] local.INFO: TCP Data received {"connection_id":232203,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:22] local.INFO: Processing buffer {"connection_id":232203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:22] local.INFO: IMEI packet received {"connection_id":232203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":232203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:01:24] local.INFO: TCP Data received {"connection_id":232203,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:24] local.INFO: Processing buffer {"connection_id":232203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:24] local.INFO: IMEI packet received {"connection_id":232203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":232203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:01:25] local.INFO: TCP Data received {"connection_id":232203,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:25] local.INFO: Processing buffer {"connection_id":232203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:01:25] local.INFO: IMEI packet received {"connection_id":232203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":232203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:01:27] local.INFO: TCP Data received {"connection_id":232203,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3516558012d476c80068ddd48004700fd23..."} 
[2026-11-04 03:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3516558012d476c80068ddd48004700fd23..."} 
[2026-11-04 03:01:27] local.INFO: Processing buffer {"connection_id":232203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3516558012d476c80068ddd48004700fd23..."} 
[2026-11-04 03:01:27] local.INFO: Packet analysis {"connection_id":232203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:01:27] local.INFO: Extracted packet for processing {"connection_id":232203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:01:27] local.INFO: GPS Element Parsed {"raw_longitude":759655552,"raw_latitude":109960520,"longitude_deg":75.9655552,"latitude_deg":10.996052,"altitude":71,"angle":253,"satellites":35,"speed":0,"hex_longitude":"2d476c80","hex_latitude":"068ddd48","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197788672001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20024743851720704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5165136219535921152,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793741383000,"timestamp_ms":1793741383000,"timestamp_seconds":1793741383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3516558"} 
[2026-11-04 03:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":232203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":232203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":232203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197788672001,"66":27745,"35":206,"19":48128,"24":0,"16":20024743851720704,"45":5165136219535921152},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-11-04 03:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197788672001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:01:27] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 03:01:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20024743851720704,"km_value":20024743851720.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5165136219535921152,"description":"Unknown IO ID 45"} 
[2026-11-04 03:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197788672001,"power":27745,"unknown_35":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5165136219535921152}} 
[2026-11-04 03:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":232203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:01:27] local.INFO: GPS data processed {"connection_id":232203,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:01:27] local.INFO: Acknowledgment sent {"connection_id":232203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:01:31] local.INFO: TCP Data received {"connection_id":232203,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a351af90012d472bc0068dcd380051010a23..."} 
[2026-11-04 03:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a351af90012d472bc0068dcd380051010a23..."} 
[2026-11-04 03:01:31] local.INFO: Processing buffer {"connection_id":232203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a351af90012d472bc0068dcd380051010a23..."} 
[2026-11-04 03:01:31] local.INFO: Packet analysis {"connection_id":232203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:01:31] local.INFO: Extracted packet for processing {"connection_id":232203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:01:31] local.INFO: GPS Element Parsed {"raw_longitude":759638976,"raw_latitude":109956408,"longitude_deg":75.9638976,"latitude_deg":10.9956408,"altitude":81,"angle":266,"satellites":35,"speed":33,"hex_longitude":"2d472bc0","hex_latitude":"068dcd38","is_valid_coordinates":true} 
[2026-11-04 03:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197794048001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20024743851720704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5146629239815882752,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793741402000,"timestamp_ms":1793741402000,"timestamp_seconds":1793741402,"priority":1,"record_length":96,"hex_timestamp":"000001a1a351af90"} 
[2026-11-04 03:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197794048001,"66":27767,"36":206,"19":48128,"24":33,"16":20024743851720704,"45":5146629239815882752},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-11-04 03:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197794048001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:01:31] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-11-04 03:01:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20024743851720704,"km_value":20024743851720.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5146629239815882752,"description":"Unknown IO ID 45"} 
[2026-11-04 03:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197794048001,"power":27767,"unknown_36":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5146629239815882752}} 
[2026-11-04 03:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":232203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:01:31] local.INFO: GPS data processed {"connection_id":232203,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:01:31] local.INFO: Acknowledgment sent {"connection_id":232203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:01:35] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:01:35] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:01:35] local.INFO: IMEI packet received {"connection_id":230365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":230365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:01:40] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:01:40] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:01:40] local.INFO: IMEI packet received {"connection_id":230365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":230365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:01:41] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:01:41] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:01:41] local.INFO: Packet analysis {"connection_id":230365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:01:41] local.INFO: Extracted packet for processing {"connection_id":230365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:01:41] 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-11-04 03:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":230365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:01:41] local.INFO: GPS data processed {"connection_id":230365,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:01:41] local.INFO: Acknowledgment sent {"connection_id":230365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:02:10] local.INFO: TCP Data received {"connection_id":228624,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:10] local.INFO: Processing buffer {"connection_id":228624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:10] local.INFO: IMEI packet received {"connection_id":228624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":228624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:02:12] local.INFO: TCP Data received {"connection_id":230365,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:12] local.INFO: Processing buffer {"connection_id":230365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:12] local.INFO: Packet analysis {"connection_id":230365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:12] local.INFO: Extracted packet for processing {"connection_id":230365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:02:12] 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-11-04 03: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-11-04 03:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:02:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":230365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:02:12] local.INFO: GPS data processed {"connection_id":230365,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:02:12] local.INFO: Acknowledgment sent {"connection_id":230365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:02:17] local.INFO: TCP Data received {"connection_id":228624,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:17] local.INFO: Processing buffer {"connection_id":228624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:17] local.INFO: IMEI packet received {"connection_id":228624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":228624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:02:18] local.INFO: TCP Data received {"connection_id":228624,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:18] local.INFO: Processing buffer {"connection_id":228624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:02:18] local.INFO: IMEI packet received {"connection_id":228624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":228624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:02:20] local.INFO: TCP Data received {"connection_id":228624,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a351fdb0012d46ea80068dd3f00056011927..."} 
[2026-11-04 03:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a351fdb0012d46ea80068dd3f00056011927..."} 
[2026-11-04 03:02:20] local.INFO: Processing buffer {"connection_id":228624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a351fdb0012d46ea80068dd3f00056011927..."} 
[2026-11-04 03:02:20] local.INFO: Packet analysis {"connection_id":228624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:02:20] local.INFO: Extracted packet for processing {"connection_id":228624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a351"} 
[2026-11-04 03:02:20] local.INFO: GPS Element Parsed {"raw_longitude":759622272,"raw_latitude":109958128,"longitude_deg":75.9622272,"latitude_deg":10.9958128,"altitude":86,"angle":281,"satellites":39,"speed":33,"hex_longitude":"2d46ea80","hex_latitude":"068dd3f0","is_valid_coordinates":true} 
[2026-11-04 03:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197798912001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20024743851720704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5128403735072815104,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793741422000,"timestamp_ms":1793741422000,"timestamp_seconds":1793741422,"priority":1,"record_length":96,"hex_timestamp":"000001a1a351fdb0"} 
[2026-11-04 03:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197798912001,"66":27843,"36":206,"19":48128,"24":33,"16":20024743851720704,"45":5128403735072815104},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-11-04 03:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197798912001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:02:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-11-04 03:02:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20024743851720704,"km_value":20024743851720.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5128403735072815104,"description":"Unknown IO ID 45"} 
[2026-11-04 03:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197798912001,"power":27843,"unknown_36":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5128403735072815104}} 
[2026-11-04 03:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":228624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:02:21] local.INFO: GPS data processed {"connection_id":228624,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:02:21] local.INFO: Acknowledgment sent {"connection_id":228624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:02:23] local.INFO: TCP Data received {"connection_id":228624,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3524fb8012d46a440068de5a8005d012228..."} 
[2026-11-04 03:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3524fb8012d46a440068de5a8005d012228..."} 
[2026-11-04 03:02:23] local.INFO: Processing buffer {"connection_id":228624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3524fb8012d46a440068de5a8005d012228..."} 
[2026-11-04 03:02:23] local.INFO: Packet analysis {"connection_id":228624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:23] local.INFO: Extracted packet for processing {"connection_id":228624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:23] local.INFO: GPS Element Parsed {"raw_longitude":759604288,"raw_latitude":109962664,"longitude_deg":75.9604288,"latitude_deg":10.9962664,"altitude":93,"angle":290,"satellites":40,"speed":0,"hex_longitude":"2d46a440","hex_latitude":"068de5a8","is_valid_coordinates":true} 
[2026-11-04 03:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197804032001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20024743851720704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5110037492842885120,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:23] 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-11-04 03:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793741443000,"timestamp_ms":1793741443000,"timestamp_seconds":1793741443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3524fb8"} 
[2026-11-04 03:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 03:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197804032001,"66":27832,"37":206,"19":48128,"24":0,"16":20024743851720704,"45":5110037492842885120},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-11-04 03:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197804032001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:02:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 03:02:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20024743851720704,"km_value":20024743851720.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5110037492842885120,"description":"Unknown IO ID 45"} 
[2026-11-04 03:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197804032001,"power":27832,"unknown_37":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5110037492842885120}} 
[2026-11-04 03:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":228624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:02:23] local.INFO: GPS data processed {"connection_id":228624,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:02:23] local.INFO: Acknowledgment sent {"connection_id":228624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:02:40] local.INFO: TCP Data received {"connection_id":232204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:02:40] local.INFO: Processing buffer {"connection_id":232204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:02:40] local.INFO: IMEI packet received {"connection_id":232204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":232204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:02:45] local.INFO: TCP Data received {"connection_id":232204,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:02:45] local.INFO: Processing buffer {"connection_id":232204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:02:45] local.INFO: IMEI packet received {"connection_id":232204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":232204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:02:46] local.INFO: TCP Data received {"connection_id":232204,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:46] local.INFO: Processing buffer {"connection_id":232204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:46] local.INFO: Packet analysis {"connection_id":232204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:46] local.INFO: Extracted packet for processing {"connection_id":232204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:02:46] 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-11-04 03: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-11-04 03:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:02:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:02:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":232204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:02:46] local.INFO: GPS data processed {"connection_id":232204,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:02:46] local.INFO: Acknowledgment sent {"connection_id":232204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:02:51] local.INFO: TCP Data received {"connection_id":232204,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:51] local.INFO: Processing buffer {"connection_id":232204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:02:51] local.INFO: Packet analysis {"connection_id":232204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:51] local.INFO: Extracted packet for processing {"connection_id":232204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:02:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:02:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":232204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:02:51] local.INFO: GPS data processed {"connection_id":232204,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:02:51] local.INFO: Acknowledgment sent {"connection_id":232204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:02:55] local.INFO: TCP Data received {"connection_id":228624,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3529220012d466ac0068e1a38005f014227..."} 
[2026-11-04 03:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3529220012d466ac0068e1a38005f014227..."} 
[2026-11-04 03:02:55] local.INFO: Processing buffer {"connection_id":228624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3529220012d466ac0068e1a38005f014227..."} 
[2026-11-04 03:02:55] local.INFO: Packet analysis {"connection_id":228624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:55] local.INFO: Extracted packet for processing {"connection_id":228624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:02:55] local.INFO: GPS Element Parsed {"raw_longitude":759589568,"raw_latitude":109976120,"longitude_deg":75.9589568,"latitude_deg":10.997612,"altitude":95,"angle":322,"satellites":39,"speed":52,"hex_longitude":"2d466ac0","hex_latitude":"068e1a38","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197809408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20024743851720704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5090263875730122752,"note":"Value kept but may cause issues"} 
[2026-11-04 03:02:55] 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-11-04 03:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793741460000,"timestamp_ms":1793741460000,"timestamp_seconds":1793741460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3529220"} 
[2026-11-04 03:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 03:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":228624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":228624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":228624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197809408001,"66":27821,"37":206,"19":48128,"24":52,"16":20024743851720704,"45":5090263875730122752},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-11-04 03:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197809408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:02:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 03:02:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20024743851720704,"km_value":20024743851720.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5090263875730122752,"description":"Unknown IO ID 45"} 
[2026-11-04 03:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197809408001,"power":27821,"unknown_37":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5090263875730122752}} 
[2026-11-04 03:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":228624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:02:55] local.INFO: GPS data processed {"connection_id":228624,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:02:55] local.INFO: Acknowledgment sent {"connection_id":228624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:03:10] local.INFO: TCP Data received {"connection_id":232205,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:10] local.INFO: Processing buffer {"connection_id":232205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:10] local.INFO: IMEI packet received {"connection_id":232205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":232205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:03:11] local.INFO: TCP Data received {"connection_id":232205,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:11] local.INFO: Processing buffer {"connection_id":232205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:11] local.INFO: IMEI packet received {"connection_id":232205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":232205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:03:14] local.INFO: TCP Data received {"connection_id":232205,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:14] local.INFO: Processing buffer {"connection_id":232205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:03:14] local.INFO: IMEI packet received {"connection_id":232205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":232205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:03:17] local.INFO: TCP Data received {"connection_id":232205,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a353c2d0012d45f0c0068fca88004901452e..."} 
[2026-11-04 03:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a353c2d0012d45f0c0068fca88004901452e..."} 
[2026-11-04 03:03:17] local.INFO: Processing buffer {"connection_id":232205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a353c2d0012d45f0c0068fca88004901452e..."} 
[2026-11-04 03:03:17] local.INFO: Packet analysis {"connection_id":232205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a353"} 
[2026-11-04 03:03:17] local.INFO: Extracted packet for processing {"connection_id":232205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a353"} 
[2026-11-04 03:03:17] local.INFO: GPS Element Parsed {"raw_longitude":759558336,"raw_latitude":110086792,"longitude_deg":75.9558336,"latitude_deg":11.0086792,"altitude":73,"angle":325,"satellites":46,"speed":59,"hex_longitude":"2d45f0c0","hex_latitude":"068fca88","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197832448001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20029283632152576,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5043820504603006976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:17] 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-11-04 03:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793741538000,"timestamp_ms":1793741538000,"timestamp_seconds":1793741538,"priority":1,"record_length":96,"hex_timestamp":"000001a1a353c2d0"} 
[2026-11-04 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-11-04 03:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197832448001,"66":27767,"178":206,"19":48128,"24":59,"16":20029283632152576,"45":5043820504603006976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 03:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197832448001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:03:17] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 03:03:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20029283632152576,"km_value":20029283632152.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5043820504603006976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197832448001,"power":27767,"unknown_178":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":5043820504603006976}} 
[2026-11-04 03:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":232205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:03:17] local.INFO: GPS data processed {"connection_id":232205,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:03:17] local.INFO: Acknowledgment sent {"connection_id":232205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:03:35] local.INFO: TCP Data received {"connection_id":228625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:03:35] local.INFO: Processing buffer {"connection_id":228625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:03:35] local.INFO: IMEI packet received {"connection_id":228625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":228625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:03:40] local.INFO: TCP Data received {"connection_id":228625,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:03:40] local.INFO: Processing buffer {"connection_id":228625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:03:40] local.INFO: IMEI packet received {"connection_id":228625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":228625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:03:41] local.INFO: TCP Data received {"connection_id":228625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:03:41] local.INFO: Processing buffer {"connection_id":228625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:03:41] local.INFO: Packet analysis {"connection_id":228625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:03:41] local.INFO: Extracted packet for processing {"connection_id":228625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:03:41] 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-11-04 03:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":228625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:03:41] local.INFO: GPS data processed {"connection_id":228625,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:03:41] local.INFO: Acknowledgment sent {"connection_id":228625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:03:49] local.INFO: TCP Data received {"connection_id":232205,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a353de28012d45d880068feb50004701442d..."} 
[2026-11-04 03:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a353de28012d45d880068feb50004701442d..."} 
[2026-11-04 03:03:49] local.INFO: Processing buffer {"connection_id":232205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a353de28012d45d880068feb50004701442d..."} 
[2026-11-04 03:03:49] local.INFO: Packet analysis {"connection_id":232205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a353"} 
[2026-11-04 03:03:49] local.INFO: Extracted packet for processing {"connection_id":232205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a353"} 
[2026-11-04 03:03:49] local.INFO: GPS Element Parsed {"raw_longitude":759552128,"raw_latitude":110095184,"longitude_deg":75.9552128,"latitude_deg":11.0095184,"altitude":71,"angle":324,"satellites":45,"speed":58,"hex_longitude":"2d45d880","hex_latitude":"068feb50","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197833728001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20029786143326208,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5039739117442336768,"note":"Value kept but may cause issues"} 
[2026-11-04 03:03:49] 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-11-04 03:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793741545000,"timestamp_ms":1793741545000,"timestamp_seconds":1793741545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a353de28"} 
[2026-11-04 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-11-04 03:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197833728001,"66":27745,"178":206,"19":48128,"24":58,"16":20029786143326208,"45":5039739117442336768},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 03:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197833728001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:03:49] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 03:03:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20029786143326208,"km_value":20029786143326.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5039739117442336768,"description":"Unknown IO ID 45"} 
[2026-11-04 03:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197833728001,"power":27745,"unknown_178":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":5039739117442336768}} 
[2026-11-04 03:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":232205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:03:49] local.INFO: GPS data processed {"connection_id":232205,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:03:49] local.INFO: Acknowledgment sent {"connection_id":232205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:04:13] local.INFO: TCP Data received {"connection_id":228625,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:04:13] local.INFO: Processing buffer {"connection_id":228625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:04:13] local.INFO: Packet analysis {"connection_id":228625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:04:13] local.INFO: Extracted packet for processing {"connection_id":228625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:04:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 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-11-04 03:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:04:13] 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-11-04 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-11-04 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-11-04 03:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:04:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:04:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":228625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:04:13] local.INFO: GPS data processed {"connection_id":228625,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:04:13] local.INFO: Acknowledgment sent {"connection_id":228625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:04:16] local.INFO: TCP Data received {"connection_id":232206,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:04:16] local.INFO: Processing buffer {"connection_id":232206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:04:16] local.INFO: IMEI packet received {"connection_id":232206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":232206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:04:18] local.INFO: TCP Data received {"connection_id":232206,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:04:18] local.INFO: Processing buffer {"connection_id":232206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:04:18] local.INFO: IMEI packet received {"connection_id":232206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":232206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:04:20] local.INFO: TCP Data received {"connection_id":232206,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a353f980012d45c10006900c28004601442c..."} 
[2026-11-04 03:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a353f980012d45c10006900c28004601442c..."} 
[2026-11-04 03:04:20] local.INFO: Processing buffer {"connection_id":232206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a353f980012d45c10006900c28004601442c..."} 
[2026-11-04 03:04:20] local.INFO: Packet analysis {"connection_id":232206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a353"} 
[2026-11-04 03:04:20] local.INFO: Extracted packet for processing {"connection_id":232206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a353"} 
[2026-11-04 03:04:20] local.INFO: GPS Element Parsed {"raw_longitude":759546112,"raw_latitude":110103592,"longitude_deg":75.9546112,"latitude_deg":11.0103592,"altitude":70,"angle":324,"satellites":44,"speed":58,"hex_longitude":"2d45c100","hex_latitude":"06900c28","is_valid_coordinates":true} 
[2026-11-04 03:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197835520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20030284359532544,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5032913349259251712,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:20] 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-11-04 03:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793741552000,"timestamp_ms":1793741552000,"timestamp_seconds":1793741552,"priority":1,"record_length":96,"hex_timestamp":"000001a1a353f980"} 
[2026-11-04 03:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197835520001,"66":27821,"178":206,"19":48128,"24":58,"16":20030284359532544,"45":5032913349259251712},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 03:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197835520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:04:20] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 03:04:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20030284359532544,"km_value":20030284359532.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5032913349259251712,"description":"Unknown IO ID 45"} 
[2026-11-04 03:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197835520001,"power":27821,"unknown_178":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":5032913349259251712}} 
[2026-11-04 03:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":232206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:04:20] local.INFO: GPS data processed {"connection_id":232206,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:04:20] local.INFO: Acknowledgment sent {"connection_id":232206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:04:25] local.INFO: TCP Data received {"connection_id":232206,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35414d8012d45a78006902ae80044013c2a..."} 
[2026-11-04 03:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35414d8012d45a78006902ae80044013c2a..."} 
[2026-11-04 03:04:25] local.INFO: Processing buffer {"connection_id":232206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35414d8012d45a78006902ae80044013c2a..."} 
[2026-11-04 03:04:25] local.INFO: Packet analysis {"connection_id":232206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a354"} 
[2026-11-04 03:04:25] local.INFO: Extracted packet for processing {"connection_id":232206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a354"} 
[2026-11-04 03:04:25] local.INFO: GPS Element Parsed {"raw_longitude":759539584,"raw_latitude":110111464,"longitude_deg":75.9539584,"latitude_deg":11.0111464,"altitude":68,"angle":316,"satellites":42,"speed":57,"hex_longitude":"2d45a780","hex_latitude":"06902ae8","is_valid_coordinates":true} 
[2026-11-04 03:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197837312001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20030778280771584,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5026298687308703744,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:25] 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-11-04 03:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793741559000,"timestamp_ms":1793741559000,"timestamp_seconds":1793741559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35414d8"} 
[2026-11-04 03:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 03:04: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-11-04 03:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197837312001,"66":27789,"178":206,"19":48128,"24":57,"16":20030778280771584,"45":5026298687308703744},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 03:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197837312001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:04:25] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 03:04:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20030778280771584,"km_value":20030778280771.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5026298687308703744,"description":"Unknown IO ID 45"} 
[2026-11-04 03:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197837312001,"power":27789,"unknown_178":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":5026298687308703744}} 
[2026-11-04 03:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":232206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:04:25] local.INFO: GPS data processed {"connection_id":232206,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:04:25] local.INFO: Acknowledgment sent {"connection_id":232206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:04:35] local.INFO: TCP Data received {"connection_id":229104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:04:35] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:04:35] local.INFO: IMEI packet received {"connection_id":229104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":229104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:04:40] local.INFO: TCP Data received {"connection_id":229104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:04:40] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:04:40] local.INFO: IMEI packet received {"connection_id":229104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":229104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:04:41] local.INFO: TCP Data received {"connection_id":229104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:04:41] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:04:41] local.INFO: Packet analysis {"connection_id":229104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:04:41] local.INFO: Extracted packet for processing {"connection_id":229104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:04:41] 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-11-04 03:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":229104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:04:41] local.INFO: GPS data processed {"connection_id":229104,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:04:41] local.INFO: Acknowledgment sent {"connection_id":229104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:05:10] local.INFO: TCP Data received {"connection_id":230366,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:10] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:10] local.INFO: IMEI packet received {"connection_id":230366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":230366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:05:12] local.INFO: TCP Data received {"connection_id":229104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:05:12] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:05:12] local.INFO: Packet analysis {"connection_id":229104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:05:12] local.INFO: Extracted packet for processing {"connection_id":229104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:05:12] 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-11-04 03: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-11-04 03:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":229104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:05:12] local.INFO: GPS data processed {"connection_id":229104,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:05:12] local.INFO: Acknowledgment sent {"connection_id":229104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:05:12] local.INFO: TCP Data received {"connection_id":230366,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:12] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:12] local.INFO: IMEI packet received {"connection_id":230366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":230366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:05:15] local.INFO: TCP Data received {"connection_id":230366,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:15] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:05:15] local.INFO: IMEI packet received {"connection_id":230366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":230366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:05:16] local.INFO: TCP Data received {"connection_id":230366,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3555528012d44b5400691ad70003701622b..."} 
[2026-11-04 03:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3555528012d44b5400691ad70003701622b..."} 
[2026-11-04 03:05:16] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3555528012d44b5400691ad70003701622b..."} 
[2026-11-04 03:05:16] local.INFO: Packet analysis {"connection_id":230366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a355"} 
[2026-11-04 03:05:16] local.INFO: Extracted packet for processing {"connection_id":230366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a355"} 
[2026-11-04 03:05:16] local.INFO: GPS Element Parsed {"raw_longitude":759477568,"raw_latitude":110210416,"longitude_deg":75.9477568,"latitude_deg":11.0210416,"altitude":55,"angle":354,"satellites":43,"speed":58,"hex_longitude":"2d44b540","hex_latitude":"0691ad70","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197858304001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20036542126882816,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4952411505946904576,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05: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-11-04 03:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793741641000,"timestamp_ms":1793741641000,"timestamp_seconds":1793741641,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3555528"} 
[2026-11-04 03:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 03:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197858304001,"66":27876,"179":206,"19":48128,"24":58,"16":20036542126882816,"45":4952411505946904576},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-11-04 03:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197858304001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:05:16] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 03:05:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20036542126882816,"km_value":20036542126882.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4952411505946904576,"description":"Unknown IO ID 45"} 
[2026-11-04 03:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197858304001,"power":27876,"unknown_179":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4952411505946904576}} 
[2026-11-04 03:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":230366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:05:17] local.INFO: GPS data processed {"connection_id":230366,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:05:17] local.INFO: Acknowledgment sent {"connection_id":230366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:05:18] local.INFO: TCP Data received {"connection_id":230366,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3557080012d44b3000691d5b8003401652d..."} 
[2026-11-04 03:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3557080012d44b3000691d5b8003401652d..."} 
[2026-11-04 03:05:18] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3557080012d44b3000691d5b8003401652d..."} 
[2026-11-04 03:05:18] local.INFO: Packet analysis {"connection_id":230366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a355"} 
[2026-11-04 03:05:18] local.INFO: Extracted packet for processing {"connection_id":230366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a355"} 
[2026-11-04 03:05:18] local.INFO: GPS Element Parsed {"raw_longitude":759476992,"raw_latitude":110220728,"longitude_deg":75.9476992,"latitude_deg":11.0220728,"altitude":52,"angle":357,"satellites":45,"speed":58,"hex_longitude":"2d44b300","hex_latitude":"0691d5b8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197860096001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20037040343089152,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950933762321772544,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:18] 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-11-04 03:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793741648000,"timestamp_ms":1793741648000,"timestamp_seconds":1793741648,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3557080"} 
[2026-11-04 03:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 03:05: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-11-04 03: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-11-04 03:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197860096001,"66":27789,"179":206,"19":48128,"24":58,"16":20037040343089152,"45":4950933762321772544},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-11-04 03:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197860096001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:05:18] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 03:05:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20037040343089152,"km_value":20037040343089.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950933762321772544,"description":"Unknown IO ID 45"} 
[2026-11-04 03:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197860096001,"power":27789,"unknown_179":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4950933762321772544}} 
[2026-11-04 03:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":230366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:05:18] local.INFO: GPS data processed {"connection_id":230366,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:05:18] local.INFO: Acknowledgment sent {"connection_id":230366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:05:35] local.INFO: TCP Data received {"connection_id":228626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:05:35] local.INFO: Processing buffer {"connection_id":228626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:05:35] local.INFO: IMEI packet received {"connection_id":228626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":228626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:05:40] local.INFO: TCP Data received {"connection_id":228626,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:05:40] local.INFO: Processing buffer {"connection_id":228626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:05:40] local.INFO: IMEI packet received {"connection_id":228626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":228626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:05:41] local.INFO: TCP Data received {"connection_id":228626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:05:41] local.INFO: Processing buffer {"connection_id":228626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:05:41] local.INFO: Packet analysis {"connection_id":228626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:05:41] local.INFO: Extracted packet for processing {"connection_id":228626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:05:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 03:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:05:41] 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-11-04 03: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-11-04 03:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:05:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":228626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:05:41] local.INFO: GPS data processed {"connection_id":228626,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:05:41] local.INFO: Acknowledgment sent {"connection_id":228626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:05:50] local.INFO: TCP Data received {"connection_id":230366,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3558bd8012d44b1400691fde8003201662a..."} 
[2026-11-04 03:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3558bd8012d44b1400691fde8003201662a..."} 
[2026-11-04 03:05:50] local.INFO: Processing buffer {"connection_id":230366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3558bd8012d44b1400691fde8003201662a..."} 
[2026-11-04 03:05:50] local.INFO: Packet analysis {"connection_id":230366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a355"} 
[2026-11-04 03:05:50] local.INFO: Extracted packet for processing {"connection_id":230366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a355"} 
[2026-11-04 03:05:50] local.INFO: GPS Element Parsed {"raw_longitude":759476544,"raw_latitude":110231016,"longitude_deg":75.9476544,"latitude_deg":11.0231016,"altitude":50,"angle":358,"satellites":42,"speed":58,"hex_longitude":"2d44b140","hex_latitude":"0691fde8","is_valid_coordinates":true} 
[2026-11-04 03:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197861888001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20037542854262784,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950300443626813440,"note":"Value kept but may cause issues"} 
[2026-11-04 03:05:50] 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-11-04 03:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793741655000,"timestamp_ms":1793741655000,"timestamp_seconds":1793741655,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3558bd8"} 
[2026-11-04 03:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 03:05:50] 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-11-04 03:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197861888001,"66":27832,"179":206,"19":48128,"24":58,"16":20037542854262784,"45":4950300443626813440},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-11-04 03:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197861888001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:05:50] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 03:05:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20037542854262784,"km_value":20037542854262.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950300443626813440,"description":"Unknown IO ID 45"} 
[2026-11-04 03:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197861888001,"power":27832,"unknown_179":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4950300443626813440}} 
[2026-11-04 03:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":230366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:05:50] local.INFO: GPS data processed {"connection_id":230366,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:05:50] local.INFO: Acknowledgment sent {"connection_id":230366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:06:12] local.INFO: TCP Data received {"connection_id":228626,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:06:12] local.INFO: Processing buffer {"connection_id":228626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3523c30012ce51bc007234b90000900802d..."} 
[2026-11-04 03:06:12] local.INFO: Packet analysis {"connection_id":228626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:06:12] local.INFO: Extracted packet for processing {"connection_id":228626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a352"} 
[2026-11-04 03:06:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197731072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741438000,"timestamp_ms":1793741438000,"timestamp_seconds":1793741438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3523c30"} 
[2026-11-04 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-11-04 03:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:06:12] 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-11-04 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-11-04 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-11-04 03:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197731072001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197731072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:06:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197731072001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":228626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:06:12] local.INFO: GPS data processed {"connection_id":228626,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:06:12] local.INFO: Acknowledgment sent {"connection_id":228626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:06:24] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:24] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:24] local.INFO: IMEI packet received {"connection_id":229105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":229105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:06:26] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:26] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:26] local.INFO: IMEI packet received {"connection_id":229105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":229105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:06:29] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:29] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:06:29] local.INFO: IMEI packet received {"connection_id":229105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":229105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:06:31] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3567250012d43e1400692dbc8002c013e2c..."} 
[2026-11-04 03:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3567250012d43e1400692dbc8002c013e2c..."} 
[2026-11-04 03:06:31] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3567250012d43e1400692dbc8002c013e2c..."} 
[2026-11-04 03:06:31] local.INFO: Packet analysis {"connection_id":229105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:06:31] local.INFO: Extracted packet for processing {"connection_id":229105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:06:31] local.INFO: GPS Element Parsed {"raw_longitude":759423296,"raw_latitude":110287816,"longitude_deg":75.9423296,"latitude_deg":11.0287816,"altitude":44,"angle":318,"satellites":44,"speed":57,"hex_longitude":"2d43e140","hex_latitude":"0692dbc8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197877760001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20041696087638016,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4895975773137833984,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:31] 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-11-04 03:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793741714000,"timestamp_ms":1793741714000,"timestamp_seconds":1793741714,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3567250"} 
[2026-11-04 03:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 03:06:31] 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-11-04 03: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-11-04 03:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197877760001,"66":27691,"179":206,"19":48128,"24":57,"16":20041696087638016,"45":4895975773137833984},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-11-04 03:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197877760001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:06:31] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 03:06:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20041696087638016,"km_value":20041696087638.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4895975773137833984,"description":"Unknown IO ID 45"} 
[2026-11-04 03:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197877760001,"power":27691,"unknown_179":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4895975773137833984}} 
[2026-11-04 03:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":229105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:06:31] local.INFO: GPS data processed {"connection_id":229105,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:06:31] local.INFO: Acknowledgment sent {"connection_id":229105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:06:35] local.INFO: TCP Data received {"connection_id":232207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:06:35] local.INFO: Processing buffer {"connection_id":232207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:06:35] local.INFO: IMEI packet received {"connection_id":232207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":232207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:06:40] local.INFO: TCP Data received {"connection_id":232207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:06:40] local.INFO: Processing buffer {"connection_id":232207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:06:40] local.INFO: IMEI packet received {"connection_id":232207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":232207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:06:41] local.INFO: TCP Data received {"connection_id":232207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:06:41] local.INFO: Processing buffer {"connection_id":232207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:06:41] local.INFO: Packet analysis {"connection_id":232207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:06:41] local.INFO: Extracted packet for processing {"connection_id":232207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:06:41] 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-11-04 03:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:06:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":232207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:06:41] local.INFO: GPS data processed {"connection_id":232207,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:06:41] local.INFO: Acknowledgment sent {"connection_id":232207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:07:09] local.INFO: TCP Data received {"connection_id":230367,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:09] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:09] local.INFO: IMEI packet received {"connection_id":230367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":230367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:07:09] local.INFO: TCP Data received {"connection_id":230367,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:09] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:09] local.INFO: IMEI packet received {"connection_id":230367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":230367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:07:11] local.INFO: TCP Data received {"connection_id":232207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:07:11] local.INFO: Processing buffer {"connection_id":232207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:07:11] local.INFO: Packet analysis {"connection_id":232207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:07:11] local.INFO: Extracted packet for processing {"connection_id":232207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:07:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:07:11] 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-11-04 03: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-11-04 03:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:07:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":232207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:07:12] local.INFO: GPS data processed {"connection_id":232207,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:07:12] local.INFO: Acknowledgment sent {"connection_id":232207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:07:16] local.INFO: TCP Data received {"connection_id":230367,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:16] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:07:16] local.INFO: IMEI packet received {"connection_id":230367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":230367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:07:25] local.INFO: TCP Data received {"connection_id":230367,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3577420012d43238006942080001c000825..."} 
[2026-11-04 03:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3577420012d43238006942080001c000825..."} 
[2026-11-04 03:07:25] local.INFO: Processing buffer {"connection_id":230367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3577420012d43238006942080001c000825..."} 
[2026-11-04 03:07:25] local.INFO: Packet analysis {"connection_id":230367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a357"} 
[2026-11-04 03:07:25] local.INFO: Extracted packet for processing {"connection_id":230367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a357"} 
[2026-11-04 03:07:25] local.INFO: GPS Element Parsed {"raw_longitude":759374720,"raw_latitude":110370944,"longitude_deg":75.937472,"latitude_deg":11.0370944,"altitude":28,"angle":8,"satellites":37,"speed":57,"hex_longitude":"2d432380","hex_latitude":"06942080","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197894656001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20046416256696320,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4837499346746953728,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:25] 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-11-04 03:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793741780000,"timestamp_ms":1793741780000,"timestamp_seconds":1793741780,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3577420"} 
[2026-11-04 03:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 03:07:25] 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-11-04 03: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-11-04 03:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197894656001,"66":27713,"238":206,"19":48128,"24":57,"16":20046416256696320,"45":4837499346746953728},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-11-04 03:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197894656001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:07:25] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-11-04 03:07:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20046416256696320,"km_value":20046416256696.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4837499346746953728,"description":"Unknown IO ID 45"} 
[2026-11-04 03:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197894656001,"power":27713,"unknown_238":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4837499346746953728}} 
[2026-11-04 03:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":230367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:07:26] local.INFO: GPS data processed {"connection_id":230367,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:07:26] local.INFO: Acknowledgment sent {"connection_id":230367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:07:35] local.INFO: TCP Data received {"connection_id":229106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:07:35] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:07:35] local.INFO: IMEI packet received {"connection_id":229106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":229106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:07:40] local.INFO: TCP Data received {"connection_id":229106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:07:40] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:07:40] local.INFO: IMEI packet received {"connection_id":229106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":229106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:07:41] local.INFO: TCP Data received {"connection_id":229106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:07:41] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:07:41] local.INFO: Packet analysis {"connection_id":229106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:07:41] local.INFO: Extracted packet for processing {"connection_id":229106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:07:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:07:41] 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-11-04 03:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":229106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:07:41] local.INFO: GPS data processed {"connection_id":229106,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:07:41] local.INFO: Acknowledgment sent {"connection_id":229106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:08:10] local.INFO: TCP Data received {"connection_id":228627,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:10] local.INFO: Processing buffer {"connection_id":228627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:10] local.INFO: IMEI packet received {"connection_id":228627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":228627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:08:12] local.INFO: TCP Data received {"connection_id":229106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:12] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:12] local.INFO: Packet analysis {"connection_id":229106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:08:12] local.INFO: Extracted packet for processing {"connection_id":229106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 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-11-04 03:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:08:12] 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-11-04 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-11-04 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-11-04 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:08:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":229106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:08:12] local.INFO: GPS data processed {"connection_id":229106,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:08:12] local.INFO: Acknowledgment sent {"connection_id":229106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:08:14] local.INFO: TCP Data received {"connection_id":228627,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:14] local.INFO: Processing buffer {"connection_id":228627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:14] local.INFO: IMEI packet received {"connection_id":228627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":228627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:08:15] local.INFO: TCP Data received {"connection_id":228627,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:15] local.INFO: Processing buffer {"connection_id":228627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:08:15] local.INFO: IMEI packet received {"connection_id":228627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":228627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:08:16] local.INFO: TCP Data received {"connection_id":228627,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3586a38012d439200069572000014015f2a..."} 
[2026-11-04 03:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3586a38012d439200069572000014015f2a..."} 
[2026-11-04 03:08:16] local.INFO: Processing buffer {"connection_id":228627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3586a38012d439200069572000014015f2a..."} 
[2026-11-04 03:08:16] local.INFO: Packet analysis {"connection_id":228627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:08:16] local.INFO: Extracted packet for processing {"connection_id":228627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:08:16] local.INFO: GPS Element Parsed {"raw_longitude":759403008,"raw_latitude":110457344,"longitude_deg":75.9403008,"latitude_deg":11.0457344,"altitude":20,"angle":351,"satellites":42,"speed":53,"hex_longitude":"2d439200","hex_latitude":"06957200","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197910528001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20050844367978496,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868954175416240128,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793741843000,"timestamp_ms":1793741843000,"timestamp_seconds":1793741843,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3586a38"} 
[2026-11-04 03:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197910528001,"66":27800,"28":206,"19":48128,"24":53,"16":20050844367978496,"45":4868954175416240128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-04 03:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197910528001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:08:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 03:08:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20050844367978496,"km_value":20050844367978.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868954175416240128,"description":"Unknown IO ID 45"} 
[2026-11-04 03:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197910528001,"power":27800,"unknown_28":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4868954175416240128}} 
[2026-11-04 03:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":228627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:08:16] local.INFO: GPS data processed {"connection_id":228627,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:08:16] local.INFO: Acknowledgment sent {"connection_id":228627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:08:21] local.INFO: TCP Data received {"connection_id":228627,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3588590012d4388c006959488001601532b..."} 
[2026-11-04 03:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3588590012d4388c006959488001601532b..."} 
[2026-11-04 03:08:21] local.INFO: Processing buffer {"connection_id":228627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3588590012d4388c006959488001601532b..."} 
[2026-11-04 03:08:21] local.INFO: Packet analysis {"connection_id":228627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:08:21] local.INFO: Extracted packet for processing {"connection_id":228627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:08:21] local.INFO: GPS Element Parsed {"raw_longitude":759400640,"raw_latitude":110466184,"longitude_deg":75.940064,"latitude_deg":11.0466184,"altitude":22,"angle":339,"satellites":43,"speed":51,"hex_longitude":"2d4388c0","hex_latitude":"06959488","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197911808001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20051291044577280,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868954175418007552,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793741850000,"timestamp_ms":1793741850000,"timestamp_seconds":1793741850,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3588590"} 
[2026-11-04 03:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 03:08:21] 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-11-04 03: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-11-04 03:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197911808001,"66":27767,"28":206,"19":48128,"24":51,"16":20051291044577280,"45":4868954175418007552},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-04 03:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197911808001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:08:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 03:08:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20051291044577280,"km_value":20051291044577.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868954175418007552,"description":"Unknown IO ID 45"} 
[2026-11-04 03:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197911808001,"power":27767,"unknown_28":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4868954175418007552}} 
[2026-11-04 03:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":228627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:08:22] local.INFO: GPS data processed {"connection_id":228627,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:08:22] local.INFO: Acknowledgment sent {"connection_id":228627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:08:40] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:08:40] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:08:40] local.INFO: IMEI packet received {"connection_id":230368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":230368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:08:48] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:08:48] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:08:48] local.INFO: IMEI packet received {"connection_id":230368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":230368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:08:53] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:53] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:53] local.INFO: Packet analysis {"connection_id":230368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:08:53] local.INFO: Extracted packet for processing {"connection_id":230368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:08:53] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:08:53] 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-11-04 03:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:08: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-11-04 03:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":230368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:08:53] local.INFO: GPS data processed {"connection_id":230368,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:08:53] local.INFO: Acknowledgment sent {"connection_id":230368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:08:53] local.INFO: TCP Data received {"connection_id":230368,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:53] local.INFO: Processing buffer {"connection_id":230368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:08:53] local.INFO: Packet analysis {"connection_id":230368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:08:53] local.INFO: Extracted packet for processing {"connection_id":230368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:08:53] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:08:53] 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-11-04 03:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:08: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-11-04 03:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:08:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":230368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:08:53] local.INFO: GPS data processed {"connection_id":230368,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:08:53] local.INFO: Acknowledgment sent {"connection_id":230368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:08:54] local.INFO: TCP Data received {"connection_id":228627,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3588590012d4388c006959488001601532b..."} 
[2026-11-04 03:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3588590012d4388c006959488001601532b..."} 
[2026-11-04 03:08:54] local.INFO: Processing buffer {"connection_id":228627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3588590012d4388c006959488001601532b..."} 
[2026-11-04 03:08:54] local.INFO: Packet analysis {"connection_id":228627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:08:54] local.INFO: Extracted packet for processing {"connection_id":228627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:08:54] local.INFO: GPS Element Parsed {"raw_longitude":759400640,"raw_latitude":110466184,"longitude_deg":75.940064,"latitude_deg":11.0466184,"altitude":22,"angle":339,"satellites":43,"speed":51,"hex_longitude":"2d4388c0","hex_latitude":"06959488","is_valid_coordinates":true} 
[2026-11-04 03:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197913600001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20051291044577280,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866350531885697024,"note":"Value kept but may cause issues"} 
[2026-11-04 03:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793741850000,"timestamp_ms":1793741850000,"timestamp_seconds":1793741850,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3588590"} 
[2026-11-04 03:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":228627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":228627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":228627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197913600001,"66":27767,"28":206,"19":48128,"24":51,"16":20051291044577280,"45":4866350531885697024},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-04 03:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197913600001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:08:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 03:08:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20051291044577280,"km_value":20051291044577.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866350531885697024,"description":"Unknown IO ID 45"} 
[2026-11-04 03:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197913600001,"power":27767,"unknown_28":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4866350531885697024}} 
[2026-11-04 03:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":228627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:08:54] local.INFO: GPS data processed {"connection_id":228627,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:08:54] local.INFO: Acknowledgment sent {"connection_id":228627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:09:09] local.INFO: TCP Data received {"connection_id":228628,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:09:09] local.INFO: Processing buffer {"connection_id":228628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:09:09] local.INFO: IMEI packet received {"connection_id":228628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":228628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:09:15] local.INFO: TCP Data received {"connection_id":228628,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:09:15] local.INFO: Processing buffer {"connection_id":228628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:09:15] local.INFO: IMEI packet received {"connection_id":228628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":228628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:09:17] local.INFO: TCP Data received {"connection_id":228628,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3589d00012d437b000695af98001801482b..."} 
[2026-11-04 03:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3589d00012d437b000695af98001801482b..."} 
[2026-11-04 03:09:17] local.INFO: Processing buffer {"connection_id":228628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3589d00012d437b000695af98001801482b..."} 
[2026-11-04 03:09:17] local.INFO: Packet analysis {"connection_id":228628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:09:17] local.INFO: Extracted packet for processing {"connection_id":228628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:09:17] local.INFO: GPS Element Parsed {"raw_longitude":759397120,"raw_latitude":110473112,"longitude_deg":75.939712,"latitude_deg":11.0473112,"altitude":24,"angle":328,"satellites":43,"speed":51,"hex_longitude":"2d437b00","hex_latitude":"0695af98","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197913600001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20051664706732032,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866350531885697024,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793741856000,"timestamp_ms":1793741856000,"timestamp_seconds":1793741856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3589d00"} 
[2026-11-04 03:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197913600001,"66":27908,"28":206,"19":48128,"24":51,"16":20051664706732032,"45":4866350531885697024},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-04 03:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197913600001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:09:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 03:09:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20051664706732032,"km_value":20051664706732.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866350531885697024,"description":"Unknown IO ID 45"} 
[2026-11-04 03:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197913600001,"power":27908,"unknown_28":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4866350531885697024}} 
[2026-11-04 03:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":228628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:09:17] local.INFO: GPS data processed {"connection_id":228628,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:09:17] local.INFO: Acknowledgment sent {"connection_id":228628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:09:35] local.INFO: TCP Data received {"connection_id":232208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:09:35] local.INFO: Processing buffer {"connection_id":232208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:09:35] local.INFO: IMEI packet received {"connection_id":232208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":232208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:09:40] local.INFO: TCP Data received {"connection_id":232208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:09:40] local.INFO: Processing buffer {"connection_id":232208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:09:40] local.INFO: IMEI packet received {"connection_id":232208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":232208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:09:41] local.INFO: TCP Data received {"connection_id":232208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:09:41] local.INFO: Processing buffer {"connection_id":232208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:09:41] local.INFO: Packet analysis {"connection_id":232208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:09:41] local.INFO: Extracted packet for processing {"connection_id":232208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:09:41] 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-11-04 03:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:09:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":232208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:09:41] local.INFO: GPS data processed {"connection_id":232208,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:09:41] local.INFO: Acknowledgment sent {"connection_id":232208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:09:48] local.INFO: TCP Data received {"connection_id":228628,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a358b858012d4365c00695cd28001801432c..."} 
[2026-11-04 03:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a358b858012d4365c00695cd28001801432c..."} 
[2026-11-04 03:09:48] local.INFO: Processing buffer {"connection_id":228628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a358b858012d4365c00695cd28001801432c..."} 
[2026-11-04 03:09:48] local.INFO: Packet analysis {"connection_id":228628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:09:48] local.INFO: Extracted packet for processing {"connection_id":228628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a358"} 
[2026-11-04 03:09:48] local.INFO: GPS Element Parsed {"raw_longitude":759391680,"raw_latitude":110480680,"longitude_deg":75.939168,"latitude_deg":11.048068,"altitude":24,"angle":323,"satellites":44,"speed":54,"hex_longitude":"2d4365c0","hex_latitude":"0695cd28","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197915136001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20052115678298112,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4862480250957699072,"note":"Value kept but may cause issues"} 
[2026-11-04 03:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793741863000,"timestamp_ms":1793741863000,"timestamp_seconds":1793741863,"priority":1,"record_length":96,"hex_timestamp":"000001a1a358b858"} 
[2026-11-04 03:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 03:09: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-11-04 03: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-11-04 03:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197915136001,"66":27821,"28":206,"19":48128,"24":54,"16":20052115678298112,"45":4862480250957699072},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-04 03:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197915136001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:09:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 03:09:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20052115678298112,"km_value":20052115678298.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4862480250957699072,"description":"Unknown IO ID 45"} 
[2026-11-04 03:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197915136001,"power":27821,"unknown_28":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":4862480250957699072}} 
[2026-11-04 03:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":228628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:09:49] local.INFO: GPS data processed {"connection_id":228628,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:09:49] local.INFO: Acknowledgment sent {"connection_id":228628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:10:12] local.INFO: TCP Data received {"connection_id":232208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:10:12] local.INFO: Processing buffer {"connection_id":232208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:10:12] local.INFO: Packet analysis {"connection_id":232208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:10:12] local.INFO: Extracted packet for processing {"connection_id":232208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:10:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:10:12] 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-11-04 03: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-11-04 03:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":232208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:10:12] local.INFO: GPS data processed {"connection_id":232208,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:10:12] local.INFO: Acknowledgment sent {"connection_id":232208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:10:15] local.INFO: TCP Data received {"connection_id":228629,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:10:15] local.INFO: Processing buffer {"connection_id":228629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:10:15] local.INFO: IMEI packet received {"connection_id":228629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":228629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:10:17] local.INFO: TCP Data received {"connection_id":228629,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:10:17] local.INFO: Processing buffer {"connection_id":228629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:10:17] local.INFO: IMEI packet received {"connection_id":228629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":228629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:10:18] local.INFO: TCP Data received {"connection_id":228629,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a359e908012d42d54006972068002301632b..."} 
[2026-11-04 03:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a359e908012d42d54006972068002301632b..."} 
[2026-11-04 03:10:18] local.INFO: Processing buffer {"connection_id":228629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a359e908012d42d54006972068002301632b..."} 
[2026-11-04 03:10:18] local.INFO: Packet analysis {"connection_id":228629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a359"} 
[2026-11-04 03:10:18] local.INFO: Extracted packet for processing {"connection_id":228629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a359"} 
[2026-11-04 03:10:18] local.INFO: GPS Element Parsed {"raw_longitude":759354688,"raw_latitude":110567528,"longitude_deg":75.9354688,"latitude_deg":11.0567528,"altitude":35,"angle":355,"satellites":43,"speed":38,"hex_longitude":"2d42d540","hex_latitude":"06972068","is_valid_coordinates":true} 
[2026-11-04 03:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197934336001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20056784307748864,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816951673496586240,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793741941000,"timestamp_ms":1793741941000,"timestamp_seconds":1793741941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a359e908"} 
[2026-11-04 03:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197934336001,"66":27745,"28":206,"19":48128,"24":38,"16":20056784307748864,"45":4816951673496586240},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-11-04 03:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197934336001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:10:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 03:10:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20056784307748864,"km_value":20056784307748.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816951673496586240,"description":"Unknown IO ID 45"} 
[2026-11-04 03:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197934336001,"power":27745,"unknown_28":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":4816951673496586240}} 
[2026-11-04 03:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":228629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:10:18] local.INFO: GPS data processed {"connection_id":228629,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:10:18] local.INFO: Acknowledgment sent {"connection_id":228629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:10:20] local.INFO: TCP Data received {"connection_id":228629,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35a1018012d42d300069745c8002601652a..."} 
[2026-11-04 03:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35a1018012d42d300069745c8002601652a..."} 
[2026-11-04 03:10:20] local.INFO: Processing buffer {"connection_id":228629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35a1018012d42d300069745c8002601652a..."} 
[2026-11-04 03:10:20] local.INFO: Packet analysis {"connection_id":228629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35a"} 
[2026-11-04 03:10:20] local.INFO: Extracted packet for processing {"connection_id":228629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35a"} 
[2026-11-04 03:10:20] local.INFO: GPS Element Parsed {"raw_longitude":759354112,"raw_latitude":110577096,"longitude_deg":75.9354112,"latitude_deg":11.0577096,"altitude":38,"angle":357,"satellites":42,"speed":38,"hex_longitude":"2d42d300","hex_latitude":"069745c8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197936896001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20057248164216832,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4815825773592078336,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793741951000,"timestamp_ms":1793741951000,"timestamp_seconds":1793741951,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35a1018"} 
[2026-11-04 03:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197936896001,"66":27767,"29":206,"19":48128,"24":38,"16":20057248164216832,"45":4815825773592078336},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-04 03:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197936896001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:10:20] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-04 03:10:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20057248164216832,"km_value":20057248164216.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4815825773592078336,"description":"Unknown IO ID 45"} 
[2026-11-04 03:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197936896001,"power":27767,"unknown_29":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":4815825773592078336}} 
[2026-11-04 03:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":228629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:10:20] local.INFO: GPS data processed {"connection_id":228629,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:10:20] local.INFO: Acknowledgment sent {"connection_id":228629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:10:35] local.INFO: TCP Data received {"connection_id":229107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:10:35] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:10:35] local.INFO: IMEI packet received {"connection_id":229107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":229107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:10:40] local.INFO: TCP Data received {"connection_id":229107,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:10:40] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:10:40] local.INFO: IMEI packet received {"connection_id":229107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":229107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:10:41] local.INFO: TCP Data received {"connection_id":229107,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:10:41] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:10:41] local.INFO: Packet analysis {"connection_id":229107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:10:41] local.INFO: Extracted packet for processing {"connection_id":229107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:10:41] 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-11-04 03:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:10:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":229107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:10:41] local.INFO: GPS data processed {"connection_id":229107,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:10:41] local.INFO: Acknowledgment sent {"connection_id":229107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:10:53] local.INFO: TCP Data received {"connection_id":228629,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35a3728012d42d08006976c30002a016429..."} 
[2026-11-04 03:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35a3728012d42d08006976c30002a016429..."} 
[2026-11-04 03:10:53] local.INFO: Processing buffer {"connection_id":228629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35a3728012d42d08006976c30002a016429..."} 
[2026-11-04 03:10:53] local.INFO: Packet analysis {"connection_id":228629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35a"} 
[2026-11-04 03:10:53] local.INFO: Extracted packet for processing {"connection_id":228629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35a"} 
[2026-11-04 03:10:53] local.INFO: GPS Element Parsed {"raw_longitude":759353472,"raw_latitude":110586928,"longitude_deg":75.9353472,"latitude_deg":11.0586928,"altitude":42,"angle":356,"satellites":41,"speed":39,"hex_longitude":"2d42d080","hex_latitude":"06976c30","is_valid_coordinates":true} 
[2026-11-04 03:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197939456001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20057724905586688,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4815192454896928768,"note":"Value kept but may cause issues"} 
[2026-11-04 03:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793741961000,"timestamp_ms":1793741961000,"timestamp_seconds":1793741961,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35a3728"} 
[2026-11-04 03:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":228629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":228629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":228629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197939456001,"66":27865,"29":206,"19":48128,"24":39,"16":20057724905586688,"45":4815192454896928768},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-04 03:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197939456001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:10:53] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-04 03:10:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20057724905586688,"km_value":20057724905586.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4815192454896928768,"description":"Unknown IO ID 45"} 
[2026-11-04 03:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197939456001,"power":27865,"unknown_29":206,"unknown_19":48128,"ignition":39,"odometer":null,"unknown_45":4815192454896928768}} 
[2026-11-04 03:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":228629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:10:53] local.INFO: GPS data processed {"connection_id":228629,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:10:53] local.INFO: Acknowledgment sent {"connection_id":228629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:11:08] local.INFO: TCP Data received {"connection_id":230369,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:08] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:08] local.INFO: IMEI packet received {"connection_id":230369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":230369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:11:09] local.INFO: TCP Data received {"connection_id":230369,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:09] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:09] local.INFO: IMEI packet received {"connection_id":230369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":230369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:11:12] local.INFO: TCP Data received {"connection_id":229107,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:11:12] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a356d3f8012ce51bc007234b90000900802c..."} 
[2026-11-04 03:11:12] local.INFO: Packet analysis {"connection_id":229107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:11:12] local.INFO: Extracted packet for processing {"connection_id":229107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a356"} 
[2026-11-04 03:11:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197808128001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793741739000,"timestamp_ms":1793741739000,"timestamp_seconds":1793741739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a356d3f8"} 
[2026-11-04 03:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:11:12] 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-11-04 03: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-11-04 03:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197808128001,"66":24810,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197808128001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197808128001,"power":24810,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:11:12] local.INFO: GPS data processed {"connection_id":229107,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:11:12] local.INFO: Acknowledgment sent {"connection_id":229107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:11:15] local.INFO: TCP Data received {"connection_id":230369,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:15] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:11:15] local.INFO: IMEI packet received {"connection_id":230369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":230369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:11:16] local.INFO: TCP Data received {"connection_id":230369,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b2d40012d41fd0006981520002801222c..."} 
[2026-11-04 03:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b2d40012d41fd0006981520002801222c..."} 
[2026-11-04 03:11:16] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b2d40012d41fd0006981520002801222c..."} 
[2026-11-04 03:11:16] local.INFO: Packet analysis {"connection_id":230369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:11:16] local.INFO: Extracted packet for processing {"connection_id":230369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:11:16] local.INFO: GPS Element Parsed {"raw_longitude":759299328,"raw_latitude":110630176,"longitude_deg":75.9299328,"latitude_deg":11.0630176,"altitude":40,"angle":290,"satellites":44,"speed":61,"hex_longitude":"2d41fd00","hex_latitude":"06981520","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197956608001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20061414282493952,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4764597327845969920,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742024000,"timestamp_ms":1793742024000,"timestamp_seconds":1793742024,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b2d40"} 
[2026-11-04 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-11-04 03:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 03:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197956608001,"66":27843,"29":206,"19":48128,"24":61,"16":20061414282493952,"45":4764597327845969920},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-04 03:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197956608001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20061414282493952,"km_value":20061414282493.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4764597327845969920,"description":"Unknown IO ID 45"} 
[2026-11-04 03:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197956608001,"power":27843,"unknown_29":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4764597327845969920}} 
[2026-11-04 03:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":230369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:11:16] local.INFO: GPS data processed {"connection_id":230369,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:11:16] local.INFO: Acknowledgment sent {"connection_id":230369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:11:35] local.INFO: TCP Data received {"connection_id":232209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:11:35] local.INFO: Processing buffer {"connection_id":232209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:11:35] local.INFO: IMEI packet received {"connection_id":232209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":232209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:11:40] local.INFO: TCP Data received {"connection_id":232209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:11:40] local.INFO: Processing buffer {"connection_id":232209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:11:40] local.INFO: IMEI packet received {"connection_id":232209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":232209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:11:41] local.INFO: TCP Data received {"connection_id":232209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:11:41] local.INFO: Processing buffer {"connection_id":232209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:11:41] local.INFO: Packet analysis {"connection_id":232209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:11:41] local.INFO: Extracted packet for processing {"connection_id":232209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:11:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:11:41] 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-11-04 03:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":232209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:11:41] local.INFO: GPS data processed {"connection_id":232209,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:11:41] local.INFO: Acknowledgment sent {"connection_id":232209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:12:12] local.INFO: TCP Data received {"connection_id":232209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:12:12] local.INFO: Processing buffer {"connection_id":232209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:12:12] local.INFO: Packet analysis {"connection_id":232209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:12:12] local.INFO: Extracted packet for processing {"connection_id":232209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:12:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:12:12] 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-11-04 03: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-11-04 03:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:12:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":232209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:12:12] local.INFO: GPS data processed {"connection_id":232209,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:12:12] local.INFO: Acknowledgment sent {"connection_id":232209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:12:20] local.INFO: TCP Data received {"connection_id":230369,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b44b0012d41db8006982378002501282b..."} 
[2026-11-04 03:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b44b0012d41db8006982378002501282b..."} 
[2026-11-04 03:12:20] local.INFO: Processing buffer {"connection_id":230369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b44b0012d41db8006982378002501282b..."} 
[2026-11-04 03:12:20] local.INFO: Packet analysis {"connection_id":230369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:12:20] local.INFO: Extracted packet for processing {"connection_id":230369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:12:20] local.INFO: GPS Element Parsed {"raw_longitude":759290752,"raw_latitude":110633848,"longitude_deg":75.9290752,"latitude_deg":11.0633848,"altitude":37,"angle":296,"satellites":43,"speed":61,"hex_longitude":"2d41db80","hex_latitude":"06982378","is_valid_coordinates":true} 
[2026-11-04 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197958144001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20061856664125440,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4754956809894436864,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793742030000,"timestamp_ms":1793742030000,"timestamp_seconds":1793742030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b44b0"} 
[2026-11-04 03:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 03:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197958144001,"66":27713,"29":206,"19":48128,"24":61,"16":20061856664125440,"45":4754956809894436864},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-04 03:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197958144001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:12:20] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-04 03:12:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20061856664125440,"km_value":20061856664125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4754956809894436864,"description":"Unknown IO ID 45"} 
[2026-11-04 03:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197958144001,"power":27713,"unknown_29":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4754956809894436864}} 
[2026-11-04 03:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":230369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:12:20] local.INFO: GPS data processed {"connection_id":230369,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:12:20] local.INFO: Acknowledgment sent {"connection_id":230369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:12:35] local.INFO: TCP Data received {"connection_id":228630,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:12:35] local.INFO: Processing buffer {"connection_id":228630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:12:35] local.INFO: IMEI packet received {"connection_id":228630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":228630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:12:40] local.INFO: TCP Data received {"connection_id":228630,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:12:40] local.INFO: Processing buffer {"connection_id":228630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:12:40] local.INFO: IMEI packet received {"connection_id":228630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":228630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:12:41] local.INFO: TCP Data received {"connection_id":228630,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:12:41] local.INFO: Processing buffer {"connection_id":228630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:12:41] local.INFO: Packet analysis {"connection_id":228630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:12:41] local.INFO: Extracted packet for processing {"connection_id":228630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:12:41] 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-11-04 03:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":228630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:12:41] local.INFO: GPS data processed {"connection_id":228630,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:12:41] local.INFO: Acknowledgment sent {"connection_id":228630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:12:46] local.INFO: TCP Data received {"connection_id":228631,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:12:46] local.INFO: Processing buffer {"connection_id":228631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:12:46] local.INFO: IMEI packet received {"connection_id":228631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":228631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:12:46] local.INFO: TCP Data received {"connection_id":228631,"ip":"117.225.214.33","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 03:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228631,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 03:12:46] local.INFO: Processing buffer {"connection_id":228631,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 03:12:46] local.INFO: IMEI packet received {"connection_id":228631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":228631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:12:50] local.INFO: TCP Data received {"connection_id":228631,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:12:50] local.INFO: Processing buffer {"connection_id":228631,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 03:12:50] local.INFO: IMEI packet received {"connection_id":228631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":228631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:12:51] local.INFO: TCP Data received {"connection_id":228631,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35c65c0012d407f0006990cc0002101352d..."} 
[2026-11-04 03:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35c65c0012d407f0006990cc0002101352d..."} 
[2026-11-04 03:12:51] local.INFO: Processing buffer {"connection_id":228631,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1a3..."} 
[2026-11-04 03:12:51] local.INFO: IMEI packet received {"connection_id":228631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":228631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:12:52] local.INFO: TCP Data received {"connection_id":228631,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35c7d30012d40628006992278001e01332c..."} 
[2026-11-04 03:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35c7d30012d40628006992278001e01332c..."} 
[2026-11-04 03:12:52] local.INFO: Processing buffer {"connection_id":228631,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a35c65c0012d407f0006990cc0002101352d..."} 
[2026-11-04 03:12:52] local.INFO: Packet analysis {"connection_id":228631,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:12:52] local.INFO: Extracted packet for processing {"connection_id":228631,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:12:52] local.INFO: GPS Element Parsed {"raw_longitude":759201536,"raw_latitude":110693568,"longitude_deg":75.9201536,"latitude_deg":11.0693568,"altitude":33,"angle":309,"satellites":45,"speed":60,"hex_longitude":"2d407f00","hex_latitude":"06990cc0","is_valid_coordinates":true} 
[2026-11-04 03:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197976832001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20067002034946048,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4656229461827733504,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:52] 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-11-04 03:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793742104000,"timestamp_ms":1793742104000,"timestamp_seconds":1793742104,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35c65c0"} 
[2026-11-04 03:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 03:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197976832001,"66":27789,"79":206,"19":48128,"24":60,"16":20067002034946048,"45":4656229461827733504},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197976832001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20067002034946048,"km_value":20067002034946.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4656229461827733504,"description":"Unknown IO ID 45"} 
[2026-11-04 03:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197976832001,"power":27789,"unknown_79":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4656229461827733504}} 
[2026-11-04 03:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":228631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:12:52] local.INFO: GPS data processed {"connection_id":228631,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:12:52] local.INFO: Acknowledgment sent {"connection_id":228631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:12:52] local.INFO: Packet analysis {"connection_id":228631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:12:52] local.INFO: Extracted packet for processing {"connection_id":228631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:12:52] local.INFO: GPS Element Parsed {"raw_longitude":759194240,"raw_latitude":110699128,"longitude_deg":75.919424,"latitude_deg":11.0699128,"altitude":30,"angle":307,"satellites":44,"speed":60,"hex_longitude":"2d406280","hex_latitude":"06992278","is_valid_coordinates":true} 
[2026-11-04 03:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197978624001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20067440121610240,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4647433368807194624,"note":"Value kept but may cause issues"} 
[2026-11-04 03:12:52] 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-11-04 03:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793742110000,"timestamp_ms":1793742110000,"timestamp_seconds":1793742110,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35c7d30"} 
[2026-11-04 03:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 03:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197978624001,"66":27821,"79":206,"19":48128,"24":60,"16":20067440121610240,"45":4647433368807194624},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 03:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197978624001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20067440121610240,"km_value":20067440121610.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4647433368807194624,"description":"Unknown IO ID 45"} 
[2026-11-04 03:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197978624001,"power":27821,"unknown_79":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4647433368807194624}} 
[2026-11-04 03:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":228631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56905,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:12:52] local.INFO: GPS data processed {"connection_id":228631,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:12:52] local.INFO: Acknowledgment sent {"connection_id":228631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:13:12] local.INFO: TCP Data received {"connection_id":228630,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:13:12] local.INFO: Processing buffer {"connection_id":228630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:13:12] local.INFO: Packet analysis {"connection_id":228630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:13:12] local.INFO: Extracted packet for processing {"connection_id":228630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 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-11-04 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:13:12] 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-11-04 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-11-04 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-11-04 03:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":228630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:13:12] local.INFO: GPS data processed {"connection_id":228630,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:13:12] local.INFO: Acknowledgment sent {"connection_id":228630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:13:16] local.INFO: TCP Data received {"connection_id":230370,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:13:16] local.INFO: Processing buffer {"connection_id":230370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:13:16] local.INFO: IMEI packet received {"connection_id":230370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":230370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:13:20] local.INFO: TCP Data received {"connection_id":230370,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:13:20] local.INFO: Processing buffer {"connection_id":230370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:13:20] local.INFO: IMEI packet received {"connection_id":230370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":230370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:13:23] local.INFO: TCP Data received {"connection_id":230370,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35c94a0012d40460006993838001c01322b..."} 
[2026-11-04 03:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35c94a0012d40460006993838001c01322b..."} 
[2026-11-04 03:13:23] local.INFO: Processing buffer {"connection_id":230370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35c94a0012d40460006993838001c01322b..."} 
[2026-11-04 03:13:23] local.INFO: Packet analysis {"connection_id":230370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:13:23] local.INFO: Extracted packet for processing {"connection_id":230370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:13:23] local.INFO: GPS Element Parsed {"raw_longitude":759186944,"raw_latitude":110704696,"longitude_deg":75.9186944,"latitude_deg":11.0704696,"altitude":28,"angle":306,"satellites":43,"speed":60,"hex_longitude":"2d404600","hex_latitude":"06993838","is_valid_coordinates":true} 
[2026-11-04 03:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197980160001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20067878208274432,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4639411331972364288,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:23] 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-11-04 03:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793742116000,"timestamp_ms":1793742116000,"timestamp_seconds":1793742116,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35c94a0"} 
[2026-11-04 03:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 03:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197980160001,"66":27745,"79":206,"19":48128,"24":60,"16":20067878208274432,"45":4639411331972364288},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 03:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197980160001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:13:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 03:13:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20067878208274432,"km_value":20067878208274.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4639411331972364288,"description":"Unknown IO ID 45"} 
[2026-11-04 03:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197980160001,"power":27745,"unknown_79":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4639411331972364288}} 
[2026-11-04 03:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":230370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:13:24] local.INFO: GPS data processed {"connection_id":230370,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:13:24] local.INFO: Acknowledgment sent {"connection_id":230370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:13:35] local.INFO: TCP Data received {"connection_id":232210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:13:35] local.INFO: Processing buffer {"connection_id":232210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:13:35] local.INFO: IMEI packet received {"connection_id":232210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":232210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:13:40] local.INFO: TCP Data received {"connection_id":232210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:13:40] local.INFO: Processing buffer {"connection_id":232210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:13:40] local.INFO: IMEI packet received {"connection_id":232210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":232210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:13:41] local.INFO: TCP Data received {"connection_id":232210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:13:41] local.INFO: Processing buffer {"connection_id":232210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:13:41] local.INFO: Packet analysis {"connection_id":232210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:13:41] local.INFO: Extracted packet for processing {"connection_id":232210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:13:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:13:41] 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-11-04 03:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":232210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:13:41] local.INFO: GPS data processed {"connection_id":232210,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:13:41] local.INFO: Acknowledgment sent {"connection_id":232210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:13:56] local.INFO: TCP Data received {"connection_id":230370,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35ca828012d402c40069947a0001901272c..."} 
[2026-11-04 03:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35ca828012d402c40069947a0001901272c..."} 
[2026-11-04 03:13:56] local.INFO: Processing buffer {"connection_id":230370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35ca828012d402c40069947a0001901272c..."} 
[2026-11-04 03:13:56] local.INFO: Packet analysis {"connection_id":230370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:13:56] local.INFO: Extracted packet for processing {"connection_id":230370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:13:56] local.INFO: GPS Element Parsed {"raw_longitude":759180352,"raw_latitude":110708640,"longitude_deg":75.9180352,"latitude_deg":11.070864,"altitude":25,"angle":295,"satellites":44,"speed":60,"hex_longitude":"2d402c40","hex_latitude":"069947a0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197981696001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20068247575461888,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4631389295137536000,"note":"Value kept but may cause issues"} 
[2026-11-04 03:13:56] 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-11-04 03:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793742121000,"timestamp_ms":1793742121000,"timestamp_seconds":1793742121,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35ca828"} 
[2026-11-04 03:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":230370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":230370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":230370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197981696001,"66":27832,"79":206,"19":48128,"24":60,"16":20068247575461888,"45":4631389295137536000},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 03:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197981696001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:13:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 03:13:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20068247575461888,"km_value":20068247575461.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":4631389295137536000,"description":"Unknown IO ID 45"} 
[2026-11-04 03:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197981696001,"power":27832,"unknown_79":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4631389295137536000}} 
[2026-11-04 03:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":230370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:13:56] local.INFO: GPS data processed {"connection_id":230370,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:13:56] local.INFO: Acknowledgment sent {"connection_id":230370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:14:09] local.INFO: TCP Data received {"connection_id":232211,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:09] local.INFO: Processing buffer {"connection_id":232211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:09] local.INFO: IMEI packet received {"connection_id":232211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":232211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:14:12] local.INFO: TCP Data received {"connection_id":232211,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:12] local.INFO: Processing buffer {"connection_id":232211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:12] local.INFO: IMEI packet received {"connection_id":232211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":232211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:14:12] local.INFO: TCP Data received {"connection_id":232210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:12] local.INFO: Processing buffer {"connection_id":232210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:12] local.INFO: Packet analysis {"connection_id":232210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:14:12] local.INFO: Extracted packet for processing {"connection_id":232210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:14:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:14:12] 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-11-04 03: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-11-04 03:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":232210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:14:12] local.INFO: GPS data processed {"connection_id":232210,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:14:12] local.INFO: Acknowledgment sent {"connection_id":232210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:14:14] local.INFO: TCP Data received {"connection_id":232211,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:14] local.INFO: Processing buffer {"connection_id":232211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:14:14] local.INFO: IMEI packet received {"connection_id":232211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":232211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:14:16] local.INFO: TCP Data received {"connection_id":232211,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35cbf98012d400ac0069953e00017011c2d..."} 
[2026-11-04 03:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35cbf98012d400ac0069953e00017011c2d..."} 
[2026-11-04 03:14:16] local.INFO: Processing buffer {"connection_id":232211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35cbf98012d400ac0069953e00017011c2d..."} 
[2026-11-04 03:14:16] local.INFO: Packet analysis {"connection_id":232211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:14:16] local.INFO: Extracted packet for processing {"connection_id":232211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":759171776,"raw_latitude":110711776,"longitude_deg":75.9171776,"latitude_deg":11.0711776,"altitude":23,"angle":284,"satellites":45,"speed":59,"hex_longitude":"2d400ac0","hex_latitude":"069953e0","is_valid_coordinates":true} 
[2026-11-04 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197982976001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20068685662126080,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4624141314488246272,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:16] 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-11-04 03:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742127000,"timestamp_ms":1793742127000,"timestamp_seconds":1793742127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35cbf98"} 
[2026-11-04 03:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 03:14:16] 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-11-04 03:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197982976001,"66":27908,"79":206,"19":48128,"24":59,"16":20068685662126080,"45":4624141314488246272},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 03:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197982976001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:14:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 03:14:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20068685662126080,"km_value":20068685662126.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4624141314488246272,"description":"Unknown IO ID 45"} 
[2026-11-04 03:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197982976001,"power":27908,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4624141314488246272}} 
[2026-11-04 03:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":232211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:14:16] local.INFO: GPS data processed {"connection_id":232211,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:14:16] local.INFO: Acknowledgment sent {"connection_id":232211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:14:40] local.INFO: TCP Data received {"connection_id":228632,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:14:40] local.INFO: Processing buffer {"connection_id":228632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:14:40] local.INFO: IMEI packet received {"connection_id":228632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":228632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:14:45] local.INFO: TCP Data received {"connection_id":228632,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:14:45] local.INFO: Processing buffer {"connection_id":228632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:14:45] local.INFO: IMEI packet received {"connection_id":228632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":228632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:14:46] local.INFO: TCP Data received {"connection_id":228632,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:46] local.INFO: Processing buffer {"connection_id":228632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:46] local.INFO: Packet analysis {"connection_id":228632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:14:46] local.INFO: Extracted packet for processing {"connection_id":228632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:14:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:14:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":228632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:14:46] local.INFO: GPS data processed {"connection_id":228632,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:14:46] local.INFO: Acknowledgment sent {"connection_id":228632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:14:47] local.INFO: TCP Data received {"connection_id":232211,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35cbf98012d400ac0069953e00017011c2d..."} 
[2026-11-04 03:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35cbf98012d400ac0069953e00017011c2d..."} 
[2026-11-04 03:14:47] local.INFO: Processing buffer {"connection_id":232211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35cbf98012d400ac0069953e00017011c2d..."} 
[2026-11-04 03:14:47] local.INFO: Packet analysis {"connection_id":232211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:14:47] local.INFO: Extracted packet for processing {"connection_id":232211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35c"} 
[2026-11-04 03:14:47] local.INFO: GPS Element Parsed {"raw_longitude":759171776,"raw_latitude":110711776,"longitude_deg":75.9171776,"latitude_deg":11.0711776,"altitude":23,"angle":284,"satellites":45,"speed":59,"hex_longitude":"2d400ac0","hex_latitude":"069953e0","is_valid_coordinates":true} 
[2026-11-04 03:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197984512001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20068685662126080,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4614711902769242112,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:47] 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-11-04 03:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793742127000,"timestamp_ms":1793742127000,"timestamp_seconds":1793742127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35cbf98"} 
[2026-11-04 03:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 03:14: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-11-04 03:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197984512001,"66":27908,"79":206,"19":48128,"24":59,"16":20068685662126080,"45":4614711902769242112},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 03:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197984512001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:14:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 03:14:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20068685662126080,"km_value":20068685662126.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4614711902769242112,"description":"Unknown IO ID 45"} 
[2026-11-04 03:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197984512001,"power":27908,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4614711902769242112}} 
[2026-11-04 03:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":232211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:14:47] local.INFO: GPS data processed {"connection_id":232211,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:14:47] local.INFO: Acknowledgment sent {"connection_id":232211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:14:51] local.INFO: TCP Data received {"connection_id":228632,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:51] local.INFO: Processing buffer {"connection_id":228632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:14:51] local.INFO: Packet analysis {"connection_id":228632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:14:51] local.INFO: Extracted packet for processing {"connection_id":228632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:14:51] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:14:51] 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-11-04 03:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:14:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:14:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":228632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:14:51] local.INFO: GPS data processed {"connection_id":228632,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:14:51] local.INFO: Acknowledgment sent {"connection_id":228632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:15:10] local.INFO: TCP Data received {"connection_id":232212,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:10] local.INFO: Processing buffer {"connection_id":232212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:10] local.INFO: IMEI packet received {"connection_id":232212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":232212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:15:13] local.INFO: TCP Data received {"connection_id":232212,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:13] local.INFO: Processing buffer {"connection_id":232212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:13] local.INFO: IMEI packet received {"connection_id":232212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":232212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:15:14] local.INFO: TCP Data received {"connection_id":232212,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:14] local.INFO: Processing buffer {"connection_id":232212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:15:14] local.INFO: IMEI packet received {"connection_id":232212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":232212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:15:16] local.INFO: TCP Data received {"connection_id":232212,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35eafb0012d3de600069a0d80001900002a..."} 
[2026-11-04 03:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35eafb0012d3de600069a0d80001900002a..."} 
[2026-11-04 03:15:16] local.INFO: Processing buffer {"connection_id":232212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35eafb0012d3de600069a0d80001900002a..."} 
[2026-11-04 03:15:16] local.INFO: Packet analysis {"connection_id":232212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35e"} 
[2026-11-04 03:15:16] local.INFO: Extracted packet for processing {"connection_id":232212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35e"} 
[2026-11-04 03:15:16] local.INFO: GPS Element Parsed {"raw_longitude":759031296,"raw_latitude":110759296,"longitude_deg":75.9031296,"latitude_deg":11.0759296,"altitude":25,"angle":0,"satellites":42,"speed":56,"hex_longitude":"2d3de600","hex_latitude":"069a0d80","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198015232001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20070871800479744,"note":"Value kept but may cause issues"} 
[2026-11-04 03:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460322878053009408,"note":"Value kept but may cause issues"} 
[2026-11-04 03:15:16] 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-11-04 03:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742254000,"timestamp_ms":1793742254000,"timestamp_seconds":1793742254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35eafb0"} 
[2026-11-04 03:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 03:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198015232001,"66":27691,"81":206,"19":48128,"24":56,"16":20070871800479744,"45":4460322878053009408},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-04 03:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198015232001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 03:15:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20070871800479744,"km_value":20070871800479.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460322878053009408,"description":"Unknown IO ID 45"} 
[2026-11-04 03:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198015232001,"power":27691,"unknown_81":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4460322878053009408}} 
[2026-11-04 03:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":232212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:15:16] local.INFO: GPS data processed {"connection_id":232212,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:15:16] local.INFO: Acknowledgment sent {"connection_id":232212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:15:35] local.INFO: TCP Data received {"connection_id":229108,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:15:35] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:15:35] local.INFO: IMEI packet received {"connection_id":229108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":229108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:15:40] local.INFO: TCP Data received {"connection_id":229108,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:15:40] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:15:40] local.INFO: IMEI packet received {"connection_id":229108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":229108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:15:41] local.INFO: TCP Data received {"connection_id":229108,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:15:41] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:15:41] local.INFO: Packet analysis {"connection_id":229108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:15:41] local.INFO: Extracted packet for processing {"connection_id":229108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:15:41] 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-11-04 03: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-11-04 03:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:15:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":229108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:15:41] local.INFO: GPS data processed {"connection_id":229108,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:15:41] local.INFO: Acknowledgment sent {"connection_id":229108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:16:05] local.INFO: TCP Data received {"connection_id":232212,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35ecb08012d3de600069a33c0001c01672c..."} 
[2026-11-04 03:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35ecb08012d3de600069a33c0001c01672c..."} 
[2026-11-04 03:16:05] local.INFO: Processing buffer {"connection_id":232212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35ecb08012d3de600069a33c0001c01672c..."} 
[2026-11-04 03:16:05] local.INFO: Packet analysis {"connection_id":232212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35e"} 
[2026-11-04 03:16:05] local.INFO: Extracted packet for processing {"connection_id":232212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35e"} 
[2026-11-04 03:16:05] local.INFO: GPS Element Parsed {"raw_longitude":759031296,"raw_latitude":110769088,"longitude_deg":75.9031296,"latitude_deg":11.0769088,"altitude":28,"angle":359,"satellites":44,"speed":53,"hex_longitude":"2d3de600","hex_latitude":"069a33c0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198017024001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20071348541849600,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460252509311434752,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793742261000,"timestamp_ms":1793742261000,"timestamp_seconds":1793742261,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35ecb08"} 
[2026-11-04 03:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 03:16:05] 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-11-04 03: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-11-04 03:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":232212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":232212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":232212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198017024001,"66":27713,"81":206,"19":48128,"24":53,"16":20071348541849600,"45":4460252509311434752},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-04 03:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198017024001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:16:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 03:16:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20071348541849600,"km_value":20071348541849.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460252509311434752,"description":"Unknown IO ID 45"} 
[2026-11-04 03:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198017024001,"power":27713,"unknown_81":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4460252509311434752}} 
[2026-11-04 03:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":232212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:16:05] local.INFO: GPS data processed {"connection_id":232212,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:16:05] local.INFO: Acknowledgment sent {"connection_id":232212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:16:09] local.INFO: TCP Data received {"connection_id":230371,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:09] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:09] local.INFO: IMEI packet received {"connection_id":230371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":230371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:16:10] local.INFO: TCP Data received {"connection_id":230371,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:10] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:10] local.INFO: IMEI packet received {"connection_id":230371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":230371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:16:12] local.INFO: TCP Data received {"connection_id":229108,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:16:12] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35b6bc0012ce51bc007234b90000900802b..."} 
[2026-11-04 03:16:12] local.INFO: Packet analysis {"connection_id":229108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:16:12] local.INFO: Extracted packet for processing {"connection_id":229108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35b"} 
[2026-11-04 03:16:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197885184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742040000,"timestamp_ms":1793742040000,"timestamp_seconds":1793742040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35b6bc0"} 
[2026-11-04 03:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:16:12] 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-11-04 03: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-11-04 03:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197885184001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197885184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:16:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197885184001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":229108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:16:12] local.INFO: GPS data processed {"connection_id":229108,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:16:12] local.INFO: Acknowledgment sent {"connection_id":229108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:16:15] local.INFO: TCP Data received {"connection_id":230371,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:15] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:16:15] local.INFO: IMEI packet received {"connection_id":230371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":230371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:16:16] local.INFO: TCP Data received {"connection_id":230371,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a35ee660012d3de440069a57f8001f01602c..."} 
[2026-11-04 03:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a35ee660012d3de440069a57f8001f01602c..."} 
[2026-11-04 03:16:16] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a35ee660012d3de440069a57f8001f01602c..."} 
[2026-11-04 03:16:16] local.INFO: Packet analysis {"connection_id":230371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a35e"} 
[2026-11-04 03:16:16] local.INFO: Extracted packet for processing {"connection_id":230371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a35e"} 
[2026-11-04 03:16:16] local.INFO: GPS Element Parsed {"raw_longitude":759030848,"raw_latitude":110778360,"longitude_deg":75.9030848,"latitude_deg":11.077836,"altitude":31,"angle":352,"satellites":44,"speed":51,"hex_longitude":"2d3de440","hex_latitude":"069a57f8","is_valid_coordinates":true} 
[2026-11-04 03:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198018816001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20071799513415680,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460252509313941504,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:16] 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-11-04 03:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742268000,"timestamp_ms":1793742268000,"timestamp_seconds":1793742268,"priority":1,"record_length":96,"hex_timestamp":"000001a1a35ee660"} 
[2026-11-04 03:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 03:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198018816001,"66":27767,"81":206,"19":48128,"24":51,"16":20071799513415680,"45":4460252509313941504},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-04 03:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198018816001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 03:16:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20071799513415680,"km_value":20071799513415.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460252509313941504,"description":"Unknown IO ID 45"} 
[2026-11-04 03:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198018816001,"power":27767,"unknown_81":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4460252509313941504}} 
[2026-11-04 03:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":230371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:16:17] local.INFO: GPS data processed {"connection_id":230371,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:16:17] local.INFO: Acknowledgment sent {"connection_id":230371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:16:35] local.INFO: TCP Data received {"connection_id":229109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:16:35] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:16:35] local.INFO: IMEI packet received {"connection_id":229109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":229109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:16:40] local.INFO: TCP Data received {"connection_id":229109,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:16:40] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:16:40] local.INFO: IMEI packet received {"connection_id":229109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":229109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:16:41] local.INFO: TCP Data received {"connection_id":229109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:16:41] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:16:41] local.INFO: Packet analysis {"connection_id":229109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:16:41] local.INFO: Extracted packet for processing {"connection_id":229109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 03:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:16:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":229109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:16:41] local.INFO: GPS data processed {"connection_id":229109,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:16:41] local.INFO: Acknowledgment sent {"connection_id":229109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:16:55] local.INFO: TCP Data received {"connection_id":230371,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3603268012d3d6e80069bfef0002801582c..."} 
[2026-11-04 03:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3603268012d3d6e80069bfef0002801582c..."} 
[2026-11-04 03:16:55] local.INFO: Processing buffer {"connection_id":230371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3603268012d3d6e80069bfef0002801582c..."} 
[2026-11-04 03:16:55] local.INFO: Packet analysis {"connection_id":230371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:16:55] local.INFO: Extracted packet for processing {"connection_id":230371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:16:55] local.INFO: GPS Element Parsed {"raw_longitude":759000704,"raw_latitude":110886640,"longitude_deg":75.9000704,"latitude_deg":11.088664,"altitude":40,"angle":344,"satellites":44,"speed":57,"hex_longitude":"2d3d6e80","hex_latitude":"069bfef0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198040576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20077279891685376,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4429712474368454656,"note":"Value kept but may cause issues"} 
[2026-11-04 03:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793742353000,"timestamp_ms":1793742353000,"timestamp_seconds":1793742353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3603268"} 
[2026-11-04 03:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 03:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198040576001,"66":27887,"161":206,"19":48128,"24":57,"16":20077279891685376,"45":4429712474368454656},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,19,24,16,45]} 
[2026-11-04 03:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198040576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:16:55] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-11-04 03:16:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20077279891685376,"km_value":20077279891685.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":4429712474368454656,"description":"Unknown IO ID 45"} 
[2026-11-04 03:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198040576001,"power":27887,"unknown_161":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4429712474368454656}} 
[2026-11-04 03:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":230371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:16:55] local.INFO: GPS data processed {"connection_id":230371,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:16:55] local.INFO: Acknowledgment sent {"connection_id":230371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:17:12] local.INFO: TCP Data received {"connection_id":229109,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:17:12] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:17:12] local.INFO: Packet analysis {"connection_id":229109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:17:12] local.INFO: Extracted packet for processing {"connection_id":229109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:17:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 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-11-04 03:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":229109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:17:12] local.INFO: GPS data processed {"connection_id":229109,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:17:12] local.INFO: Acknowledgment sent {"connection_id":229109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:17:13] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:13] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:13] local.INFO: IMEI packet received {"connection_id":229110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":229110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:17:14] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:14] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:14] local.INFO: IMEI packet received {"connection_id":229110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":229110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:17:19] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:19] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:17:19] local.INFO: IMEI packet received {"connection_id":229110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":229110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:17:21] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3604dc0012d3d6340069c2530002901572d..."} 
[2026-11-04 03:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3604dc0012d3d6340069c2530002901572d..."} 
[2026-11-04 03:17:21] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3604dc0012d3d6340069c2530002901572d..."} 
[2026-11-04 03:17:21] local.INFO: Packet analysis {"connection_id":229110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:17:21] local.INFO: Extracted packet for processing {"connection_id":229110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758997824,"raw_latitude":110896432,"longitude_deg":75.8997824,"latitude_deg":11.0896432,"altitude":41,"angle":343,"satellites":45,"speed":58,"hex_longitude":"2d3d6340","hex_latitude":"069c2530","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198042368001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20077773812924416,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4426616249627111424,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793742360000,"timestamp_ms":1793742360000,"timestamp_seconds":1793742360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3604dc0"} 
[2026-11-04 03:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 03:17:21] 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-11-04 03: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-11-04 03:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198042368001,"66":27767,"161":206,"19":48128,"24":58,"16":20077773812924416,"45":4426616249627111424},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,19,24,16,45]} 
[2026-11-04 03:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198042368001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:17:21] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-11-04 03:17:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20077773812924416,"km_value":20077773812924.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4426616249627111424,"description":"Unknown IO ID 45"} 
[2026-11-04 03:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198042368001,"power":27767,"unknown_161":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4426616249627111424}} 
[2026-11-04 03:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":229110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56923,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:17:21] local.INFO: GPS data processed {"connection_id":229110,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:17:21] local.INFO: Acknowledgment sent {"connection_id":229110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:17:36] local.INFO: TCP Data received {"connection_id":228633,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:17:36] local.INFO: Processing buffer {"connection_id":228633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:17:36] local.INFO: IMEI packet received {"connection_id":228633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":228633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:17:40] local.INFO: TCP Data received {"connection_id":228633,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:17:40] local.INFO: Processing buffer {"connection_id":228633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:17:40] local.INFO: IMEI packet received {"connection_id":228633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":228633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:17:41] local.INFO: TCP Data received {"connection_id":228633,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:17:41] local.INFO: Processing buffer {"connection_id":228633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:17:41] local.INFO: Packet analysis {"connection_id":228633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:17:41] local.INFO: Extracted packet for processing {"connection_id":228633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 03:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":228633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:17:41] local.INFO: GPS data processed {"connection_id":228633,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:17:41] local.INFO: Acknowledgment sent {"connection_id":228633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:18:03] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3606918012d3d5880069c4b30002c01582c..."} 
[2026-11-04 03:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3606918012d3d5880069c4b30002c01582c..."} 
[2026-11-04 03:18:03] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3606918012d3d5880069c4b30002c01582c..."} 
[2026-11-04 03:18:03] local.INFO: Packet analysis {"connection_id":229110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:18:03] local.INFO: Extracted packet for processing {"connection_id":229110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758995072,"raw_latitude":110906160,"longitude_deg":75.8995072,"latitude_deg":11.090616,"altitude":44,"angle":344,"satellites":44,"speed":57,"hex_longitude":"2d3d5880","hex_latitude":"069c4b30","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198044160001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20078263439196160,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4423449656141623296,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 03:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793742367000,"timestamp_ms":1793742367000,"timestamp_seconds":1793742367,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3606918"} 
[2026-11-04 03:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:18: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-11-04 03:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198044160001,"66":27908,"19":48128,"24":57,"16":20078263439196160,"45":4423449656141623296},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 03:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198044160001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:18:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20078263439196160,"km_value":20078263439196.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4423449656141623296,"description":"Unknown IO ID 45"} 
[2026-11-04 03:18:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459198044160001,"power":27908,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4423449656141623296}} 
[2026-11-04 03:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":229110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:18:03] local.INFO: GPS data processed {"connection_id":229110,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:18:03] local.INFO: Acknowledgment sent {"connection_id":229110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:18:09] local.INFO: TCP Data received {"connection_id":230372,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:09] local.INFO: Processing buffer {"connection_id":230372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:09] local.INFO: IMEI packet received {"connection_id":230372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":230372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:18:09] local.INFO: TCP Data received {"connection_id":230372,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:09] local.INFO: Processing buffer {"connection_id":230372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:09] local.INFO: IMEI packet received {"connection_id":230372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":230372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:18:12] local.INFO: TCP Data received {"connection_id":228633,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:18:12] local.INFO: Processing buffer {"connection_id":228633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:18:12] local.INFO: Packet analysis {"connection_id":228633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:18:12] local.INFO: Extracted packet for processing {"connection_id":228633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 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-11-04 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:18:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":228633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:18:12] local.INFO: GPS data processed {"connection_id":228633,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:18:12] local.INFO: Acknowledgment sent {"connection_id":228633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:18:15] local.INFO: TCP Data received {"connection_id":230372,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:15] local.INFO: Processing buffer {"connection_id":230372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:18:15] local.INFO: IMEI packet received {"connection_id":230372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":230372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:18:17] local.INFO: TCP Data received {"connection_id":230372,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3617a88012d3cc380069d9fa0003001332c..."} 
[2026-11-04 03:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3617a88012d3cc380069d9fa0003001332c..."} 
[2026-11-04 03:18:17] local.INFO: Processing buffer {"connection_id":230372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3617a88012d3cc380069d9fa0003001332c..."} 
[2026-11-04 03:18:17] local.INFO: Packet analysis {"connection_id":230372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a361"} 
[2026-11-04 03:18:17] local.INFO: Extracted packet for processing {"connection_id":230372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a361"} 
[2026-11-04 03:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758956928,"raw_latitude":110993312,"longitude_deg":75.8956928,"latitude_deg":11.0993312,"altitude":48,"angle":307,"satellites":44,"speed":58,"hex_longitude":"2d3cc380","hex_latitude":"069d9fa0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198062336001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20082957838450688,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4386083853006581760,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:17] 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-11-04 03:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793742437000,"timestamp_ms":1793742437000,"timestamp_seconds":1793742437,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3617a88"} 
[2026-11-04 03:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198062336001,"66":27821,"19":48128,"24":58,"16":20082957838450688,"45":4386083853006581760},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 03:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198062336001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:18:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20082957838450688,"km_value":20082957838450.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4386083853006581760,"description":"Unknown IO ID 45"} 
[2026-11-04 03:18:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459198062336001,"power":27821,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4386083853006581760}} 
[2026-11-04 03:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":230372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:18:17] local.INFO: GPS data processed {"connection_id":230372,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:18:17] local.INFO: Acknowledgment sent {"connection_id":230372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:18:35] local.INFO: TCP Data received {"connection_id":229111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:18:35] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:18:35] local.INFO: IMEI packet received {"connection_id":229111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":229111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:18:40] local.INFO: TCP Data received {"connection_id":229111,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:18:40] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:18:40] local.INFO: IMEI packet received {"connection_id":229111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":229111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:18:41] local.INFO: TCP Data received {"connection_id":229111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:18:41] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:18:41] local.INFO: Packet analysis {"connection_id":229111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:18:41] local.INFO: Extracted packet for processing {"connection_id":229111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 03:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":229111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:18:41] local.INFO: GPS data processed {"connection_id":229111,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:18:41] local.INFO: Acknowledgment sent {"connection_id":229111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:18:48] local.INFO: TCP Data received {"connection_id":230372,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36195e0012d3ca3c0069db7b0003001342c..."} 
[2026-11-04 03:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36195e0012d3ca3c0069db7b0003001342c..."} 
[2026-11-04 03:18:48] local.INFO: Processing buffer {"connection_id":230372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36195e0012d3ca3c0069db7b0003001342c..."} 
[2026-11-04 03:18:48] local.INFO: Packet analysis {"connection_id":230372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a361"} 
[2026-11-04 03:18:48] local.INFO: Extracted packet for processing {"connection_id":230372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a361"} 
[2026-11-04 03:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758948800,"raw_latitude":110999472,"longitude_deg":75.89488,"latitude_deg":11.0999472,"altitude":48,"angle":308,"satellites":44,"speed":56,"hex_longitude":"2d3ca3c0","hex_latitude":"069db7b0","is_valid_coordinates":true} 
[2026-11-04 03:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198063872001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20083443169755136,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378484028636897280,"note":"Value kept but may cause issues"} 
[2026-11-04 03:18:48] 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-11-04 03:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793742444000,"timestamp_ms":1793742444000,"timestamp_seconds":1793742444,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36195e0"} 
[2026-11-04 03:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 03:18: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-11-04 03:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198063872001,"66":27745,"19":48128,"24":56,"16":20083443169755136,"45":4378484028636897280},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 03:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198063872001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20083443169755136,"km_value":20083443169755.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378484028636897280,"description":"Unknown IO ID 45"} 
[2026-11-04 03:18:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459198063872001,"power":27745,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4378484028636897280}} 
[2026-11-04 03:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":230372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56929,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:18:48] local.INFO: GPS data processed {"connection_id":230372,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:18:48] local.INFO: Acknowledgment sent {"connection_id":230372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:19:09] local.INFO: TCP Data received {"connection_id":232213,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:19:09] local.INFO: Processing buffer {"connection_id":232213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:19:09] local.INFO: IMEI packet received {"connection_id":232213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":232213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:19:12] local.INFO: TCP Data received {"connection_id":232213,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:19:12] local.INFO: Processing buffer {"connection_id":232213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:19:12] local.INFO: IMEI packet received {"connection_id":232213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":232213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:19:12] local.INFO: TCP Data received {"connection_id":229111,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:12] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:12] local.INFO: Packet analysis {"connection_id":229111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:19:12] local.INFO: Extracted packet for processing {"connection_id":229111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:19:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 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-11-04 03:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:19:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":229111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:19:12] local.INFO: GPS data processed {"connection_id":229111,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:19:12] local.INFO: Acknowledgment sent {"connection_id":229111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:19:13] local.INFO: TCP Data received {"connection_id":232213,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a361b138012d3c8780069dd0900033013d2b..."} 
[2026-11-04 03:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a361b138012d3c8780069dd0900033013d2b..."} 
[2026-11-04 03:19:13] local.INFO: Processing buffer {"connection_id":232213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a361b138012d3c8780069dd0900033013d2b..."} 
[2026-11-04 03:19:13] local.INFO: Packet analysis {"connection_id":232213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a361"} 
[2026-11-04 03:19:13] local.INFO: Extracted packet for processing {"connection_id":232213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a361"} 
[2026-11-04 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758941568,"raw_latitude":111005840,"longitude_deg":75.8941568,"latitude_deg":11.100584,"altitude":51,"angle":317,"satellites":43,"speed":53,"hex_longitude":"2d3c8780","hex_latitude":"069dd090","is_valid_coordinates":true} 
[2026-11-04 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198065664001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20083907026223104,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369547198127910912,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:13] 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-11-04 03:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793742451000,"timestamp_ms":1793742451000,"timestamp_seconds":1793742451,"priority":1,"record_length":96,"hex_timestamp":"000001a1a361b138"} 
[2026-11-04 03:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198065664001,"66":27876,"19":48128,"24":53,"16":20083907026223104,"45":4369547198127910912},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 03:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198065664001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:19:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20083907026223104,"km_value":20083907026223.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369547198127910912,"description":"Unknown IO ID 45"} 
[2026-11-04 03:19:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459198065664001,"power":27876,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4369547198127910912}} 
[2026-11-04 03:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":232213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:19:13] local.INFO: GPS data processed {"connection_id":232213,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:19:13] local.INFO: Acknowledgment sent {"connection_id":232213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:19:40] local.INFO: TCP Data received {"connection_id":228634,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:19:40] local.INFO: Processing buffer {"connection_id":228634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:19:40] local.INFO: IMEI packet received {"connection_id":228634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":228634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:19:45] local.INFO: TCP Data received {"connection_id":232213,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a362de00012d3be440069f4970004300032b..."} 
[2026-11-04 03:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a362de00012d3be440069f4970004300032b..."} 
[2026-11-04 03:19:45] local.INFO: Processing buffer {"connection_id":232213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a362de00012d3be440069f4970004300032b..."} 
[2026-11-04 03:19:45] local.INFO: Packet analysis {"connection_id":232213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a362"} 
[2026-11-04 03:19:45] local.INFO: Extracted packet for processing {"connection_id":232213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a362"} 
[2026-11-04 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758899776,"raw_latitude":111102320,"longitude_deg":75.8899776,"latitude_deg":11.110232,"altitude":67,"angle":3,"satellites":43,"speed":58,"hex_longitude":"2d3be440","hex_latitude":"069f4970","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198085376001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20089065281945600,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4315996583832469504,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19: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-11-04 03:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793742528000,"timestamp_ms":1793742528000,"timestamp_seconds":1793742528,"priority":1,"record_length":96,"hex_timestamp":"000001a1a362de00"} 
[2026-11-04 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-11-04 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 03:19: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-11-04 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-11-04 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-11-04 03:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232213,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198085376001,"66":27767,"57":206,"19":48128,"24":58,"16":20089065281945600,"45":4315996583832469504},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198085376001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:19:45] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:19:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20089065281945600,"km_value":20089065281945.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4315996583832469504,"description":"Unknown IO ID 45"} 
[2026-11-04 03:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198085376001,"power":27767,"unknown_57":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4315996583832469504}} 
[2026-11-04 03:19:45] local.INFO: TCP Data received {"connection_id":228634,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:19:45] local.INFO: Processing buffer {"connection_id":228634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:19:45] local.INFO: IMEI packet received {"connection_id":228634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":228634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":232213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:19:45] local.INFO: GPS data processed {"connection_id":232213,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:19:45] local.INFO: Acknowledgment sent {"connection_id":232213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:19:46] local.INFO: TCP Data received {"connection_id":228634,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:46] local.INFO: Processing buffer {"connection_id":228634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:46] local.INFO: Packet analysis {"connection_id":228634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:19:46] local.INFO: Extracted packet for processing {"connection_id":228634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:19:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 03:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:19:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":228634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:19:46] local.INFO: GPS data processed {"connection_id":228634,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:19:46] local.INFO: Acknowledgment sent {"connection_id":228634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:19:50] local.INFO: TCP Data received {"connection_id":228634,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:50] local.INFO: Processing buffer {"connection_id":228634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:19:50] local.INFO: Packet analysis {"connection_id":228634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:19:50] local.INFO: Extracted packet for processing {"connection_id":228634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:19:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 03:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:19:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":228634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:19:50] local.INFO: GPS data processed {"connection_id":228634,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:19:50] local.INFO: Acknowledgment sent {"connection_id":228634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:20:14] local.INFO: TCP Data received {"connection_id":228635,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:14] local.INFO: Processing buffer {"connection_id":228635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:14] local.INFO: IMEI packet received {"connection_id":228635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":228635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:20:14] local.INFO: TCP Data received {"connection_id":228635,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:14] local.INFO: Processing buffer {"connection_id":228635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:14] local.INFO: IMEI packet received {"connection_id":228635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":228635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:20:21] local.INFO: TCP Data received {"connection_id":228635,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:21] local.INFO: Processing buffer {"connection_id":228635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:20:21] local.INFO: IMEI packet received {"connection_id":228635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":228635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:20:23] local.INFO: TCP Data received {"connection_id":228635,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a362f570012d3be7c0069f6c50004300092b..."} 
[2026-11-04 03:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a362f570012d3be7c0069f6c50004300092b..."} 
[2026-11-04 03:20:23] local.INFO: Processing buffer {"connection_id":228635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a362f570012d3be7c0069f6c50004300092b..."} 
[2026-11-04 03:20:23] local.INFO: Packet analysis {"connection_id":228635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a362"} 
[2026-11-04 03:20:23] local.INFO: Extracted packet for processing {"connection_id":228635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a362"} 
[2026-11-04 03:20:23] local.INFO: GPS Element Parsed {"raw_longitude":758900672,"raw_latitude":111111248,"longitude_deg":75.8900672,"latitude_deg":11.1111248,"altitude":67,"angle":9,"satellites":43,"speed":59,"hex_longitude":"2d3be7c0","hex_latitude":"069f6c50","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198087168001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20089499073642496,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4315644740114149376,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20: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-11-04 03:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793742534000,"timestamp_ms":1793742534000,"timestamp_seconds":1793742534,"priority":1,"record_length":96,"hex_timestamp":"000001a1a362f570"} 
[2026-11-04 03:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 03:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198087168001,"66":27908,"57":206,"19":48128,"24":59,"16":20089499073642496,"45":4315644740114149376},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198087168001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:20:23] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:20:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20089499073642496,"km_value":20089499073642.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4315644740114149376,"description":"Unknown IO ID 45"} 
[2026-11-04 03:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198087168001,"power":27908,"unknown_57":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4315644740114149376}} 
[2026-11-04 03:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":228635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:20:23] local.INFO: GPS data processed {"connection_id":228635,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:20:23] local.INFO: Acknowledgment sent {"connection_id":228635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:20:35] local.INFO: TCP Data received {"connection_id":228636,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:20:35] local.INFO: Processing buffer {"connection_id":228636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:20:35] local.INFO: IMEI packet received {"connection_id":228636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":228636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:20:40] local.INFO: TCP Data received {"connection_id":228636,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:20:40] local.INFO: Processing buffer {"connection_id":228636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:20:40] local.INFO: IMEI packet received {"connection_id":228636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":228636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:20:45] local.INFO: TCP Data received {"connection_id":228636,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:20:45] local.INFO: Processing buffer {"connection_id":228636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:20:45] local.INFO: Packet analysis {"connection_id":228636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:20:45] local.INFO: Extracted packet for processing {"connection_id":228636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:20:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 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-11-04 03:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:20:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:20:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":228636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:20:45] local.INFO: GPS data processed {"connection_id":228636,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:20:45] local.INFO: Acknowledgment sent {"connection_id":228636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:20:54] local.INFO: TCP Data received {"connection_id":228635,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a363f740012d3c77c006a0d540002d00112d..."} 
[2026-11-04 03:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a363f740012d3c77c006a0d540002d00112d..."} 
[2026-11-04 03:20:54] local.INFO: Processing buffer {"connection_id":228635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a363f740012d3c77c006a0d540002d00112d..."} 
[2026-11-04 03:20:54] local.INFO: Packet analysis {"connection_id":228635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a363"} 
[2026-11-04 03:20:54] local.INFO: Extracted packet for processing {"connection_id":228635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a363"} 
[2026-11-04 03:20:54] local.INFO: GPS Element Parsed {"raw_longitude":758937536,"raw_latitude":111203648,"longitude_deg":75.8937536,"latitude_deg":11.1203648,"altitude":45,"angle":17,"satellites":45,"speed":57,"hex_longitude":"2d3c77c0","hex_latitude":"06a0d540","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198104064001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20094373861523456,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4354136443203106816,"note":"Value kept but may cause issues"} 
[2026-11-04 03:20:54] 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-11-04 03:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793742600000,"timestamp_ms":1793742600000,"timestamp_seconds":1793742600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a363f740"} 
[2026-11-04 03:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 03:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":228635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":228635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":228635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198104064001,"66":27800,"57":206,"19":48128,"24":57,"16":20094373861523456,"45":4354136443203106816},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198104064001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:20:54] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:20:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20094373861523456,"km_value":20094373861523.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4354136443203106816,"description":"Unknown IO ID 45"} 
[2026-11-04 03:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198104064001,"power":27800,"unknown_57":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4354136443203106816}} 
[2026-11-04 03:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":228635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:20:55] local.INFO: GPS data processed {"connection_id":228635,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:20:55] local.INFO: Acknowledgment sent {"connection_id":228635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:21:15] local.INFO: TCP Data received {"connection_id":228637,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:15] local.INFO: Processing buffer {"connection_id":228637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:15] local.INFO: IMEI packet received {"connection_id":228637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":228637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:21:16] local.INFO: TCP Data received {"connection_id":228637,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:16] local.INFO: Processing buffer {"connection_id":228637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:16] local.INFO: IMEI packet received {"connection_id":228637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":228637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:21:20] local.INFO: TCP Data received {"connection_id":228636,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:21:20] local.INFO: Processing buffer {"connection_id":228636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3600388012ce51bc007234b90000900802b..."} 
[2026-11-04 03:21:20] local.INFO: Packet analysis {"connection_id":228636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:21:20] local.INFO: Extracted packet for processing {"connection_id":228636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a360"} 
[2026-11-04 03:21:20] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459197962240001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793742341000,"timestamp_ms":1793742341000,"timestamp_seconds":1793742341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3600388"} 
[2026-11-04 03:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459197962240001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459197962240001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:21:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:21:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459197962240001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":228636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:21:20] local.INFO: GPS data processed {"connection_id":228636,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:21:20] local.INFO: Acknowledgment sent {"connection_id":228636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:21:20] local.INFO: TCP Data received {"connection_id":228637,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:20] local.INFO: Processing buffer {"connection_id":228637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:21:20] local.INFO: IMEI packet received {"connection_id":228637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":228637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:21:22] local.INFO: TCP Data received {"connection_id":228637,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3641298012d3c840006a0fa28003000112c..."} 
[2026-11-04 03:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3641298012d3c840006a0fa28003000112c..."} 
[2026-11-04 03:21:22] local.INFO: Processing buffer {"connection_id":228637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3641298012d3c840006a0fa28003000112c..."} 
[2026-11-04 03:21:22] local.INFO: Packet analysis {"connection_id":228637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:21:22] local.INFO: Extracted packet for processing {"connection_id":228637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:21:22] local.INFO: GPS Element Parsed {"raw_longitude":758940672,"raw_latitude":111213096,"longitude_deg":75.8940672,"latitude_deg":11.1213096,"altitude":48,"angle":17,"satellites":44,"speed":55,"hex_longitude":"2d3c8400","hex_latitude":"06a0fa28","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198105600001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20094854897860608,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357162299204911104,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:22] 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-11-04 03:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793742607000,"timestamp_ms":1793742607000,"timestamp_seconds":1793742607,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3641298"} 
[2026-11-04 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-11-04 03:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":152,"data_length":795,"current_offset":136} 
[2026-11-04 03:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198105600001,"66":27908,"57":206,"19":48128,"24":55,"16":20094854897860608,"45":4357162299204911104},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198105600001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:21:22] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:21:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20094854897860608,"km_value":20094854897860.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357162299204911104,"description":"Unknown IO ID 45"} 
[2026-11-04 03:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198105600001,"power":27908,"unknown_57":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":4357162299204911104}} 
[2026-11-04 03:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":228637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:21:22] local.INFO: GPS data processed {"connection_id":228637,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:21:22] local.INFO: Acknowledgment sent {"connection_id":228637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:21:25] local.INFO: TCP Data received {"connection_id":228637,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3642df0012d3c8f0006a11d18003300122c..."} 
[2026-11-04 03:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3642df0012d3c8f0006a11d18003300122c..."} 
[2026-11-04 03:21:25] local.INFO: Processing buffer {"connection_id":228637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3642df0012d3c8f0006a11d18003300122c..."} 
[2026-11-04 03:21:25] local.INFO: Packet analysis {"connection_id":228637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:21:25] local.INFO: Extracted packet for processing {"connection_id":228637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758943488,"raw_latitude":111222040,"longitude_deg":75.8943488,"latitude_deg":11.122204,"altitude":51,"angle":18,"satellites":44,"speed":52,"hex_longitude":"2d3c8f00","hex_latitude":"06a11d18","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198107392001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20095310164393984,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360610367672035328,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:25] 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-11-04 03:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793742614000,"timestamp_ms":1793742614000,"timestamp_seconds":1793742614,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3642df0"} 
[2026-11-04 03:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 03:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198107392001,"66":27800,"57":206,"19":48128,"24":52,"16":20095310164393984,"45":4360610367672035328},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198107392001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:21:25] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:21:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20095310164393984,"km_value":20095310164393.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360610367672035328,"description":"Unknown IO ID 45"} 
[2026-11-04 03:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198107392001,"power":27800,"unknown_57":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4360610367672035328}} 
[2026-11-04 03:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":228637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:21:25] local.INFO: GPS data processed {"connection_id":228637,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:21:25] local.INFO: Acknowledgment sent {"connection_id":228637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:21:35] local.INFO: TCP Data received {"connection_id":232214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:21:35] local.INFO: Processing buffer {"connection_id":232214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:21:35] local.INFO: IMEI packet received {"connection_id":232214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":232214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:21:40] local.INFO: TCP Data received {"connection_id":232214,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:21:40] local.INFO: Processing buffer {"connection_id":232214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:21:40] local.INFO: IMEI packet received {"connection_id":232214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":232214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:21:41] local.INFO: TCP Data received {"connection_id":232214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:21:41] local.INFO: Processing buffer {"connection_id":232214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:21:41] local.INFO: Packet analysis {"connection_id":232214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:21:41] local.INFO: Extracted packet for processing {"connection_id":232214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:21:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:21:41] 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-11-04 03:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:21:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":232214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:21:41] local.INFO: GPS data processed {"connection_id":232214,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:21:41] local.INFO: Acknowledgment sent {"connection_id":232214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:22:10] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:22:10] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:22:10] local.INFO: IMEI packet received {"connection_id":229112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":229112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:22:12] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:22:12] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:22:12] local.INFO: IMEI packet received {"connection_id":229112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":229112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:22:12] local.INFO: TCP Data received {"connection_id":232214,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:22:12] local.INFO: Processing buffer {"connection_id":232214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:22:12] local.INFO: Packet analysis {"connection_id":232214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:12] local.INFO: Extracted packet for processing {"connection_id":232214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 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-11-04 03:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:22:12] 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-11-04 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-11-04 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-11-04 03:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:22:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":232214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:22:12] local.INFO: GPS data processed {"connection_id":232214,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:22:12] local.INFO: Acknowledgment sent {"connection_id":232214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:22:13] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3644948012d3c99c006a13e50003600102b..."} 
[2026-11-04 03:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3644948012d3c99c006a13e50003600102b..."} 
[2026-11-04 03:22:13] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3644948012d3c99c006a13e50003600102b..."} 
[2026-11-04 03:22:13] local.INFO: Packet analysis {"connection_id":229112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:13] local.INFO: Extracted packet for processing {"connection_id":229112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758946240,"raw_latitude":111230544,"longitude_deg":75.894624,"latitude_deg":11.1230544,"altitude":54,"angle":16,"satellites":43,"speed":49,"hex_longitude":"2d3c99c0","hex_latitude":"06a13e50","is_valid_coordinates":true} 
[2026-11-04 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198109184001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20095739661123584,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363706592418142208,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22: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-11-04 03:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793742621000,"timestamp_ms":1793742621000,"timestamp_seconds":1793742621,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3644948"} 
[2026-11-04 03:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 03:22: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-11-04 03:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198109184001,"66":27713,"57":206,"19":48128,"24":49,"16":20095739661123584,"45":4363706592418142208},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198109184001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:22:13] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:22:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20095739661123584,"km_value":20095739661123.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363706592418142208,"description":"Unknown IO ID 45"} 
[2026-11-04 03:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198109184001,"power":27713,"unknown_57":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4363706592418142208}} 
[2026-11-04 03:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":229112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:22:13] local.INFO: GPS data processed {"connection_id":229112,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:22:13] local.INFO: Acknowledgment sent {"connection_id":229112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:22:35] local.INFO: TCP Data received {"connection_id":228638,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:22:35] local.INFO: Processing buffer {"connection_id":228638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:22:35] local.INFO: IMEI packet received {"connection_id":228638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":228638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:22:40] local.INFO: TCP Data received {"connection_id":228638,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:22:40] local.INFO: Processing buffer {"connection_id":228638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:22:40] local.INFO: IMEI packet received {"connection_id":228638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":228638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:22:41] local.INFO: TCP Data received {"connection_id":228638,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:22:41] local.INFO: Processing buffer {"connection_id":228638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:22:41] local.INFO: Packet analysis {"connection_id":228638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:41] local.INFO: Extracted packet for processing {"connection_id":228638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:22:41] 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-11-04 03:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:22:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:22:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":228638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:22:41] local.INFO: GPS data processed {"connection_id":228638,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:22:41] local.INFO: Acknowledgment sent {"connection_id":228638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:22:45] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3646888012d3ca38006a162b8003900092a..."} 
[2026-11-04 03:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3646888012d3ca38006a162b8003900092a..."} 
[2026-11-04 03:22:45] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3646888012d3ca38006a162b8003900092a..."} 
[2026-11-04 03:22:45] local.INFO: Packet analysis {"connection_id":229112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:45] local.INFO: Extracted packet for processing {"connection_id":229112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758948736,"raw_latitude":111239864,"longitude_deg":75.8948736,"latitude_deg":11.1239864,"altitude":57,"angle":9,"satellites":42,"speed":47,"hex_longitude":"2d3ca380","hex_latitude":"06a162b8","is_valid_coordinates":true} 
[2026-11-04 03:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198110976001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20096207812558848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366732448419958784,"note":"Value kept but may cause issues"} 
[2026-11-04 03:22: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-11-04 03:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793742629000,"timestamp_ms":1793742629000,"timestamp_seconds":1793742629,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3646888"} 
[2026-11-04 03:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 03:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198110976001,"66":27908,"57":206,"19":48128,"24":47,"16":20096207812558848,"45":4366732448419958784},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198110976001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:22:45] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:22:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20096207812558848,"km_value":20096207812558.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366732448419958784,"description":"Unknown IO ID 45"} 
[2026-11-04 03:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198110976001,"power":27908,"unknown_57":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4366732448419958784}} 
[2026-11-04 03:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":229112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:22:45] local.INFO: GPS data processed {"connection_id":229112,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:22:45] local.INFO: Acknowledgment sent {"connection_id":229112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:23:08] local.INFO: TCP Data received {"connection_id":230373,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:08] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:08] local.INFO: IMEI packet received {"connection_id":230373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":230373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:23:08] local.INFO: TCP Data received {"connection_id":230373,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:08] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:08] local.INFO: IMEI packet received {"connection_id":230373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":230373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:23:09] local.INFO: TCP Data received {"connection_id":230373,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:09] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:09] local.INFO: IMEI packet received {"connection_id":230373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":230373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:23:12] local.INFO: TCP Data received {"connection_id":228638,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:23:12] local.INFO: Processing buffer {"connection_id":228638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:23:12] local.INFO: Packet analysis {"connection_id":228638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:23:12] local.INFO: Extracted packet for processing {"connection_id":228638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:23:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 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-11-04 03:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:23:12] 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-11-04 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-11-04 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-11-04 03:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:23:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:23:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":228638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:23:12] local.INFO: GPS data processed {"connection_id":228638,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:23:12] local.INFO: Acknowledgment sent {"connection_id":228638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:23:15] local.INFO: TCP Data received {"connection_id":230373,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:15] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:23:15] local.INFO: IMEI packet received {"connection_id":230373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":230373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:23:16] local.INFO: TCP Data received {"connection_id":230373,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36487c8012d3ca68006a18618003d00002c..."} 
[2026-11-04 03:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36487c8012d3ca68006a18618003d00002c..."} 
[2026-11-04 03:23:16] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36487c8012d3ca68006a18618003d00002c..."} 
[2026-11-04 03:23:16] local.INFO: Packet analysis {"connection_id":230373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:23:16] local.INFO: Extracted packet for processing {"connection_id":230373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758949504,"raw_latitude":111248920,"longitude_deg":75.8949504,"latitude_deg":11.124892,"altitude":61,"angle":0,"satellites":44,"speed":43,"hex_longitude":"2d3ca680","hex_latitude":"06a18618","is_valid_coordinates":true} 
[2026-11-04 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198113024001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20096650194190336,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369476829445273600,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23: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-11-04 03:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742637000,"timestamp_ms":1793742637000,"timestamp_seconds":1793742637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36487c8"} 
[2026-11-04 03:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 03:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198113024001,"66":27821,"57":206,"19":48128,"24":43,"16":20096650194190336,"45":4369476829445273600},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 03:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198113024001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:23:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 03:23:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20096650194190336,"km_value":20096650194190.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369476829445273600,"description":"Unknown IO ID 45"} 
[2026-11-04 03:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198113024001,"power":27821,"unknown_57":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4369476829445273600}} 
[2026-11-04 03:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":230373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:23:16] local.INFO: GPS data processed {"connection_id":230373,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:23:16] local.INFO: Acknowledgment sent {"connection_id":230373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:23:35] local.INFO: TCP Data received {"connection_id":230374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:23:35] local.INFO: Processing buffer {"connection_id":230374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:23:35] local.INFO: IMEI packet received {"connection_id":230374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":230374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:23:40] local.INFO: TCP Data received {"connection_id":230374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:23:40] local.INFO: Processing buffer {"connection_id":230374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:23:40] local.INFO: IMEI packet received {"connection_id":230374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":230374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:23:41] local.INFO: TCP Data received {"connection_id":230374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:23:41] local.INFO: Processing buffer {"connection_id":230374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:23:41] local.INFO: Packet analysis {"connection_id":230374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:23:41] local.INFO: Extracted packet for processing {"connection_id":230374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:23:41] 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-11-04 03:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":230374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:23:41] local.INFO: GPS data processed {"connection_id":230374,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:23:41] local.INFO: Acknowledgment sent {"connection_id":230374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:23:47] local.INFO: TCP Data received {"connection_id":230373,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3669720012d3c87c006a337680041000829..."} 
[2026-11-04 03:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3669720012d3c87c006a337680041000829..."} 
[2026-11-04 03:23:47] local.INFO: Processing buffer {"connection_id":230373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3669720012d3c87c006a337680041000829..."} 
[2026-11-04 03:23:47] local.INFO: Packet analysis {"connection_id":230373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a366"} 
[2026-11-04 03:23:47] local.INFO: Extracted packet for processing {"connection_id":230373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a366"} 
[2026-11-04 03:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758941632,"raw_latitude":111359848,"longitude_deg":75.8941632,"latitude_deg":11.1359848,"altitude":65,"angle":8,"satellites":41,"speed":52,"hex_longitude":"2d3c87c0","hex_latitude":"06a33768","is_valid_coordinates":true} 
[2026-11-04 03:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198147840001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20102104802656256,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360117786498031616,"note":"Value kept but may cause issues"} 
[2026-11-04 03:23:47] 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-11-04 03:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793742772000,"timestamp_ms":1793742772000,"timestamp_seconds":1793742772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3669720"} 
[2026-11-04 03:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 03:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198147840001,"66":27832,"58":206,"19":48128,"24":52,"16":20102104802656256,"45":4360117786498031616},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198147840001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:23:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:23:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20102104802656256,"km_value":20102104802656.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360117786498031616,"description":"Unknown IO ID 45"} 
[2026-11-04 03:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198147840001,"power":27832,"unknown_58":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4360117786498031616}} 
[2026-11-04 03:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":230373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:23:47] local.INFO: GPS data processed {"connection_id":230373,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:23:47] local.INFO: Acknowledgment sent {"connection_id":230373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:24:09] local.INFO: TCP Data received {"connection_id":230375,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:24:09] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:24:09] local.INFO: IMEI packet received {"connection_id":230375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":230375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:24:12] local.INFO: TCP Data received {"connection_id":230374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:12] local.INFO: Processing buffer {"connection_id":230374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:12] local.INFO: Packet analysis {"connection_id":230374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:24:12] local.INFO: Extracted packet for processing {"connection_id":230374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:24:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:24:12] 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-11-04 03: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-11-04 03:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:24:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":230374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:24:12] local.INFO: GPS data processed {"connection_id":230374,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:24:12] local.INFO: Acknowledgment sent {"connection_id":230374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:24:15] local.INFO: TCP Data received {"connection_id":230375,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:24:15] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:24:15] local.INFO: IMEI packet received {"connection_id":230375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":230375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:24:16] local.INFO: TCP Data received {"connection_id":230375,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a366b278012d3c8d4006a35a38003e00082b..."} 
[2026-11-04 03:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a366b278012d3c8d4006a35a38003e00082b..."} 
[2026-11-04 03:24:16] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a366b278012d3c8d4006a35a38003e00082b..."} 
[2026-11-04 03:24:16] local.INFO: Packet analysis {"connection_id":230375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a366"} 
[2026-11-04 03:24:16] local.INFO: Extracted packet for processing {"connection_id":230375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a366"} 
[2026-11-04 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758943040,"raw_latitude":111368760,"longitude_deg":75.894304,"latitude_deg":11.136876,"altitude":62,"angle":8,"satellites":43,"speed":49,"hex_longitude":"2d3c8d40","hex_latitude":"06a35a38","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198149632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20102542889320448,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361665898872268800,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:16] 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-11-04 03:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742779000,"timestamp_ms":1793742779000,"timestamp_seconds":1793742779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a366b278"} 
[2026-11-04 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-11-04 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":184,"data_length":795,"current_offset":136} 
[2026-11-04 03:24:16] 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-11-04 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-11-04 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-11-04 03:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198149632001,"66":27626,"58":206,"19":48128,"24":49,"16":20102542889320448,"45":4361665898872268800},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198149632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:24:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:24:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20102542889320448,"km_value":20102542889320.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361665898872268800,"description":"Unknown IO ID 45"} 
[2026-11-04 03:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198149632001,"power":27626,"unknown_58":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4361665898872268800}} 
[2026-11-04 03:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":230375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:24:16] local.INFO: GPS data processed {"connection_id":230375,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:24:16] local.INFO: Acknowledgment sent {"connection_id":230375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:24:40] local.INFO: TCP Data received {"connection_id":232215,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:24:40] local.INFO: Processing buffer {"connection_id":232215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:24:40] local.INFO: IMEI packet received {"connection_id":232215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":232215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:24:45] local.INFO: TCP Data received {"connection_id":232215,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:24:45] local.INFO: Processing buffer {"connection_id":232215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:24:45] local.INFO: IMEI packet received {"connection_id":232215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":232215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:24:46] local.INFO: TCP Data received {"connection_id":232215,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:46] local.INFO: Processing buffer {"connection_id":232215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:46] local.INFO: Packet analysis {"connection_id":232215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:24:46] local.INFO: Extracted packet for processing {"connection_id":232215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:24:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:24:46] 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-11-04 03: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-11-04 03:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:24:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":232215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:24:46] local.INFO: GPS data processed {"connection_id":232215,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:24:46] local.INFO: Acknowledgment sent {"connection_id":232215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:24:47] local.INFO: TCP Data received {"connection_id":230375,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a366d1b8012d3c928006a37f00003f00062b..."} 
[2026-11-04 03:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a366d1b8012d3c928006a37f00003f00062b..."} 
[2026-11-04 03:24:47] local.INFO: Processing buffer {"connection_id":230375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a366d1b8012d3c928006a37f00003f00062b..."} 
[2026-11-04 03:24:47] local.INFO: Packet analysis {"connection_id":230375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a366"} 
[2026-11-04 03:24:47] local.INFO: Extracted packet for processing {"connection_id":230375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a366"} 
[2026-11-04 03:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758944384,"raw_latitude":111378176,"longitude_deg":75.8944384,"latitude_deg":11.1378176,"altitude":63,"angle":6,"satellites":43,"speed":41,"hex_longitude":"2d3c9280","hex_latitude":"06a37f00","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198151424001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103002450821120,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363214011246458880,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:47] 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-11-04 03:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793742787000,"timestamp_ms":1793742787000,"timestamp_seconds":1793742787,"priority":1,"record_length":96,"hex_timestamp":"000001a1a366d1b8"} 
[2026-11-04 03:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 03:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198151424001,"66":27745,"58":206,"19":48128,"24":41,"16":20103002450821120,"45":4363214011246458880},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198151424001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:24:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:24:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103002450821120,"km_value":20103002450821.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363214011246458880,"description":"Unknown IO ID 45"} 
[2026-11-04 03:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198151424001,"power":27745,"unknown_58":206,"unknown_19":48128,"ignition":41,"odometer":null,"unknown_45":4363214011246458880}} 
[2026-11-04 03:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":230375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:24:48] local.INFO: GPS data processed {"connection_id":230375,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:24:48] local.INFO: Acknowledgment sent {"connection_id":230375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:24:50] local.INFO: TCP Data received {"connection_id":232215,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:50] local.INFO: Processing buffer {"connection_id":232215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:24:50] local.INFO: Packet analysis {"connection_id":232215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:24:50] local.INFO: Extracted packet for processing {"connection_id":232215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:24:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:24:50] 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-11-04 03:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:24:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":232215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:24:50] local.INFO: GPS data processed {"connection_id":232215,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:24:50] local.INFO: Acknowledgment sent {"connection_id":232215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:25:09] local.INFO: TCP Data received {"connection_id":230376,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:09] local.INFO: Processing buffer {"connection_id":230376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:09] local.INFO: IMEI packet received {"connection_id":230376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":230376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:25:09] local.INFO: TCP Data received {"connection_id":230376,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:09] local.INFO: Processing buffer {"connection_id":230376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:09] local.INFO: IMEI packet received {"connection_id":230376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":230376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:25:15] local.INFO: TCP Data received {"connection_id":230376,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:15] local.INFO: Processing buffer {"connection_id":230376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:25:15] local.INFO: IMEI packet received {"connection_id":230376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":230376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:25:16] local.INFO: TCP Data received {"connection_id":230376,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36723c0012d3c954006a3a038004700082b..."} 
[2026-11-04 03:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36723c0012d3c954006a3a038004700082b..."} 
[2026-11-04 03:25:16] local.INFO: Processing buffer {"connection_id":230376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36723c0012d3c954006a3a038004700082b..."} 
[2026-11-04 03:25:16] local.INFO: Packet analysis {"connection_id":230376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a367"} 
[2026-11-04 03:25:16] local.INFO: Extracted packet for processing {"connection_id":230376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a367"} 
[2026-11-04 03:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758945088,"raw_latitude":111386680,"longitude_deg":75.8945088,"latitude_deg":11.138668,"altitude":71,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2d3c9540","hex_latitude":"06a3a038","is_valid_coordinates":true} 
[2026-11-04 03:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198153472001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103419062648832,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364691754876600320,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:16] 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-11-04 03:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742808000,"timestamp_ms":1793742808000,"timestamp_seconds":1793742808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36723c0"} 
[2026-11-04 03:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 03:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198153472001,"66":27952,"58":206,"19":48128,"24":0,"16":20103419062648832,"45":4364691754876600320},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198153472001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:25:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:25:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103419062648832,"km_value":20103419062648.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364691754876600320,"description":"Unknown IO ID 45"} 
[2026-11-04 03:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198153472001,"power":27952,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364691754876600320}} 
[2026-11-04 03:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":230376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:25:16] local.INFO: GPS data processed {"connection_id":230376,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:25:16] local.INFO: Acknowledgment sent {"connection_id":230376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:25:35] local.INFO: TCP Data received {"connection_id":230377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:25:35] local.INFO: Processing buffer {"connection_id":230377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:25:35] local.INFO: IMEI packet received {"connection_id":230377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":230377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:25:40] local.INFO: TCP Data received {"connection_id":230377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:25:40] local.INFO: Processing buffer {"connection_id":230377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:25:40] local.INFO: IMEI packet received {"connection_id":230377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":230377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:25:41] local.INFO: TCP Data received {"connection_id":230377,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:25:41] local.INFO: Processing buffer {"connection_id":230377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:25:41] local.INFO: Packet analysis {"connection_id":230377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:25:41] local.INFO: Extracted packet for processing {"connection_id":230377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:25:41] 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-11-04 03:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:25:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":230377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:25:41] local.INFO: GPS data processed {"connection_id":230377,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:25:41] local.INFO: Acknowledgment sent {"connection_id":230377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:25:47] local.INFO: TCP Data received {"connection_id":230376,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36775c8012d3c954006a3a038004700082b..."} 
[2026-11-04 03:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36775c8012d3c954006a3a038004700082b..."} 
[2026-11-04 03:25:47] local.INFO: Processing buffer {"connection_id":230376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36775c8012d3c954006a3a038004700082b..."} 
[2026-11-04 03:25:47] local.INFO: Packet analysis {"connection_id":230376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a367"} 
[2026-11-04 03:25:47] local.INFO: Extracted packet for processing {"connection_id":230376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a367"} 
[2026-11-04 03:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758945088,"raw_latitude":111386680,"longitude_deg":75.8945088,"latitude_deg":11.138668,"altitude":71,"angle":8,"satellites":43,"speed":0,"hex_longitude":"2d3c9540","hex_latitude":"06a3a038","is_valid_coordinates":true} 
[2026-11-04 03:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198158848001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103419062648832,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365465811064731648,"note":"Value kept but may cause issues"} 
[2026-11-04 03:25:47] 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-11-04 03:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793742829000,"timestamp_ms":1793742829000,"timestamp_seconds":1793742829,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36775c8"} 
[2026-11-04 03:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 03:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198158848001,"66":27713,"58":206,"19":48128,"24":0,"16":20103419062648832,"45":4365465811064731648},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198158848001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:25:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103419062648832,"km_value":20103419062648.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365465811064731648,"description":"Unknown IO ID 45"} 
[2026-11-04 03:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198158848001,"power":27713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365465811064731648}} 
[2026-11-04 03:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":230376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:25:47] local.INFO: GPS data processed {"connection_id":230376,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:25:47] local.INFO: Acknowledgment sent {"connection_id":230376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:26:09] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:09] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:09] local.INFO: IMEI packet received {"connection_id":229113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":229113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:26:12] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:12] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:12] local.INFO: IMEI packet received {"connection_id":229113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":229113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:26:12] local.INFO: TCP Data received {"connection_id":230377,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:26:12] local.INFO: Processing buffer {"connection_id":230377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3649b50012ce51bc007234b90000900802a..."} 
[2026-11-04 03:26:12] local.INFO: Packet analysis {"connection_id":230377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:26:12] local.INFO: Extracted packet for processing {"connection_id":230377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a364"} 
[2026-11-04 03:26:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198039296001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742642000,"timestamp_ms":1793742642000,"timestamp_seconds":1793742642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3649b50"} 
[2026-11-04 03:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:26:12] 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-11-04 03: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-11-04 03:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198039296001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198039296001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:26:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198039296001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":230377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:26:12] local.INFO: GPS data processed {"connection_id":230377,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:26:12] local.INFO: Acknowledgment sent {"connection_id":230377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:26:16] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:16] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:26:16] local.INFO: IMEI packet received {"connection_id":229113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":229113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:26:17] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a367c7d0012d3c950006a397d8004800082c..."} 
[2026-11-04 03:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a367c7d0012d3c950006a397d8004800082c..."} 
[2026-11-04 03:26:17] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a367c7d0012d3c950006a397d8004800082c..."} 
[2026-11-04 03:26:17] local.INFO: Packet analysis {"connection_id":229113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a367"} 
[2026-11-04 03:26:17] local.INFO: Extracted packet for processing {"connection_id":229113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a367"} 
[2026-11-04 03:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758945024,"raw_latitude":111384536,"longitude_deg":75.8945024,"latitude_deg":11.1384536,"altitude":72,"angle":8,"satellites":44,"speed":2,"hex_longitude":"2d3c9500","hex_latitude":"06a397d8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198164224001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103526436831232,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365465811064731648,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:17] 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-11-04 03:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793742850000,"timestamp_ms":1793742850000,"timestamp_seconds":1793742850,"priority":1,"record_length":96,"hex_timestamp":"000001a1a367c7d0"} 
[2026-11-04 03:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 03:26: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-11-04 03: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-11-04 03:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198164224001,"66":27615,"58":206,"19":48128,"24":2,"16":20103526436831232,"45":4365465811064731648},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198164224001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:26:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:26:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103526436831232,"km_value":20103526436831.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365465811064731648,"description":"Unknown IO ID 45"} 
[2026-11-04 03:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198164224001,"power":27615,"unknown_58":206,"unknown_19":48128,"ignition":2,"odometer":null,"unknown_45":4365465811064731648}} 
[2026-11-04 03:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":229113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:26:17] local.INFO: GPS data processed {"connection_id":229113,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:26:17] local.INFO: Acknowledgment sent {"connection_id":229113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:26:35] local.INFO: TCP Data received {"connection_id":232216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:26:35] local.INFO: Processing buffer {"connection_id":232216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:26:35] local.INFO: IMEI packet received {"connection_id":232216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":232216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:26:40] local.INFO: TCP Data received {"connection_id":232216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:26:40] local.INFO: Processing buffer {"connection_id":232216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:26:40] local.INFO: IMEI packet received {"connection_id":232216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":232216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:26:41] local.INFO: TCP Data received {"connection_id":232216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:26:41] local.INFO: Processing buffer {"connection_id":232216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:26:41] local.INFO: Packet analysis {"connection_id":232216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:26:41] local.INFO: Extracted packet for processing {"connection_id":232216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 03:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:26:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":232216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:26:41] local.INFO: GPS data processed {"connection_id":232216,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:26:41] local.INFO: Acknowledgment sent {"connection_id":232216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:26:48] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36819d8012d3c940006a39298004600082c..."} 
[2026-11-04 03:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36819d8012d3c940006a39298004600082c..."} 
[2026-11-04 03:26:48] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36819d8012d3c940006a39298004600082c..."} 
[2026-11-04 03:26:48] local.INFO: Packet analysis {"connection_id":229113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a368"} 
[2026-11-04 03:26:48] local.INFO: Extracted packet for processing {"connection_id":229113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a368"} 
[2026-11-04 03:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758944768,"raw_latitude":111383192,"longitude_deg":75.8944768,"latitude_deg":11.1383192,"altitude":70,"angle":8,"satellites":44,"speed":3,"hex_longitude":"2d3c9400","hex_latitude":"06a39298","is_valid_coordinates":true} 
[2026-11-04 03:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198169600001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103595156307968,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365395442320005120,"note":"Value kept but may cause issues"} 
[2026-11-04 03:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793742871000,"timestamp_ms":1793742871000,"timestamp_seconds":1793742871,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36819d8"} 
[2026-11-04 03:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 03:26:48] 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-11-04 03:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198169600001,"66":26984,"58":206,"19":48128,"24":3,"16":20103595156307968,"45":4365395442320005120},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198169600001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:26:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:26:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103595156307968,"km_value":20103595156307.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365395442320005120,"description":"Unknown IO ID 45"} 
[2026-11-04 03:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198169600001,"power":26984,"unknown_58":206,"unknown_19":48128,"ignition":3,"odometer":null,"unknown_45":4365395442320005120}} 
[2026-11-04 03:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":229113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:26:48] local.INFO: GPS data processed {"connection_id":229113,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:26:48] local.INFO: Acknowledgment sent {"connection_id":229113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:27:09] local.INFO: TCP Data received {"connection_id":232217,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:27:09] local.INFO: Processing buffer {"connection_id":232217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:27:09] local.INFO: IMEI packet received {"connection_id":232217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":232217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:27:12] local.INFO: TCP Data received {"connection_id":232216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:27:12] local.INFO: Processing buffer {"connection_id":232216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:27:12] local.INFO: Packet analysis {"connection_id":232216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:27:12] local.INFO: Extracted packet for processing {"connection_id":232216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:27:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 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-11-04 03:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:27:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":232216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:27:12] local.INFO: GPS data processed {"connection_id":232216,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:27:12] local.INFO: Acknowledgment sent {"connection_id":232216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:27:15] local.INFO: TCP Data received {"connection_id":232217,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:27:15] local.INFO: Processing buffer {"connection_id":232217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:27:15] local.INFO: IMEI packet received {"connection_id":232217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":232217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:27:16] local.INFO: TCP Data received {"connection_id":232217,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3686be0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3686be0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:27:16] local.INFO: Processing buffer {"connection_id":232217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3686be0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:27:16] local.INFO: Packet analysis {"connection_id":232217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a368"} 
[2026-11-04 03:27:16] local.INFO: Extracted packet for processing {"connection_id":232217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a368"} 
[2026-11-04 03:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198174976001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365113967342950400,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:16] 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-11-04 03:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742892000,"timestamp_ms":1793742892000,"timestamp_seconds":1793742892,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3686be0"} 
[2026-11-04 03:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 03:27:16] 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-11-04 03: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-11-04 03:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198174976001,"66":27908,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365113967342950400},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198174976001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:27:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:27:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365113967342950400,"description":"Unknown IO ID 45"} 
[2026-11-04 03:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198174976001,"power":27908,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365113967342950400}} 
[2026-11-04 03:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":232217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:27:17] local.INFO: GPS data processed {"connection_id":232217,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:27:17] local.INFO: Acknowledgment sent {"connection_id":232217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:27:36] local.INFO: TCP Data received {"connection_id":229114,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:27:36] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:27:36] local.INFO: IMEI packet received {"connection_id":229114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":229114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:27:40] local.INFO: TCP Data received {"connection_id":229114,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:27:40] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:27:40] local.INFO: IMEI packet received {"connection_id":229114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":229114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:27:41] local.INFO: TCP Data received {"connection_id":229114,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:27:41] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:27:41] local.INFO: Packet analysis {"connection_id":229114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:27:41] local.INFO: Extracted packet for processing {"connection_id":229114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:27:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 03:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:27:41] 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-11-04 03:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:27:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":229114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:27:41] local.INFO: GPS data processed {"connection_id":229114,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:27:41] local.INFO: Acknowledgment sent {"connection_id":229114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:27:50] local.INFO: TCP Data received {"connection_id":232217,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a368bde8012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a368bde8012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:27:50] local.INFO: Processing buffer {"connection_id":232217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a368bde8012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:27:50] local.INFO: Packet analysis {"connection_id":232217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a368"} 
[2026-11-04 03:27:50] local.INFO: Extracted packet for processing {"connection_id":232217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a368"} 
[2026-11-04 03:27:50] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198180352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:27:50] 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-11-04 03:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793742913000,"timestamp_ms":1793742913000,"timestamp_seconds":1793742913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a368bde8"} 
[2026-11-04 03:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 03:27: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-11-04 03:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198180352001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198180352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:27:50] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:27:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198180352001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":232217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:27:51] local.INFO: GPS data processed {"connection_id":232217,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:27:51] local.INFO: Acknowledgment sent {"connection_id":232217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:28:09] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:28:09] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:28:09] local.INFO: IMEI packet received {"connection_id":229115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:28:12] local.INFO: TCP Data received {"connection_id":229114,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:28:12] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:28:12] local.INFO: Packet analysis {"connection_id":229114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:12] local.INFO: Extracted packet for processing {"connection_id":229114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 03:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:28:12] 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-11-04 03:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:28:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":229114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:28:12] local.INFO: GPS data processed {"connection_id":229114,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:28:12] local.INFO: Acknowledgment sent {"connection_id":229114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:28:15] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:28:15] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:28:15] local.INFO: IMEI packet received {"connection_id":229115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":229115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:28:16] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3690ff0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3690ff0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:28:16] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3690ff0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:28:16] local.INFO: Packet analysis {"connection_id":229115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:16] local.INFO: Extracted packet for processing {"connection_id":229115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198185728001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:16] 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-11-04 03:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793742934000,"timestamp_ms":1793742934000,"timestamp_seconds":1793742934,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3690ff0"} 
[2026-11-04 03:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:28: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-11-04 03: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-11-04 03:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198185728001,"66":28354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198185728001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:28:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:28:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198185728001,"power":28354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":229115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:28:16] local.INFO: GPS data processed {"connection_id":229115,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:28:16] local.INFO: Acknowledgment sent {"connection_id":229115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:28:35] local.INFO: TCP Data received {"connection_id":229116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:28:35] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:28:35] local.INFO: IMEI packet received {"connection_id":229116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":229116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:28:40] local.INFO: TCP Data received {"connection_id":229116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:28:40] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:28:40] local.INFO: IMEI packet received {"connection_id":229116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":229116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:28:41] local.INFO: TCP Data received {"connection_id":229116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:28:41] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:28:41] local.INFO: Packet analysis {"connection_id":229116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:41] local.INFO: Extracted packet for processing {"connection_id":229116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 03:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":229116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:28:41] local.INFO: GPS data processed {"connection_id":229116,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:28:41] local.INFO: Acknowledgment sent {"connection_id":229116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:28:47] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36961f8012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36961f8012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:28:47] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36961f8012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:28:47] local.INFO: Packet analysis {"connection_id":229115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:47] local.INFO: Extracted packet for processing {"connection_id":229115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198191104001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:28:47] 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-11-04 03:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793742955000,"timestamp_ms":1793742955000,"timestamp_seconds":1793742955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36961f8"} 
[2026-11-04 03:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 03:28:47] 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-11-04 03:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198191104001,"66":28452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198191104001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:28:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:28:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198191104001,"power":28452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":229115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:28:47] local.INFO: GPS data processed {"connection_id":229115,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:28:47] local.INFO: Acknowledgment sent {"connection_id":229115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:29:13] local.INFO: TCP Data received {"connection_id":229116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:13] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:13] local.INFO: Packet analysis {"connection_id":229116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:13] local.INFO: Extracted packet for processing {"connection_id":229116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 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-11-04 03:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:29:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:29:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":229116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:29:13] local.INFO: GPS data processed {"connection_id":229116,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:29:13] local.INFO: Acknowledgment sent {"connection_id":229116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:29:15] local.INFO: TCP Data received {"connection_id":230378,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:29:15] local.INFO: Processing buffer {"connection_id":230378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:29:15] local.INFO: IMEI packet received {"connection_id":230378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":230378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:29:20] local.INFO: TCP Data received {"connection_id":230378,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:29:20] local.INFO: Processing buffer {"connection_id":230378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:29:20] local.INFO: IMEI packet received {"connection_id":230378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":230378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:29:21] local.INFO: TCP Data received {"connection_id":230378,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a369b400012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a369b400012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:29:21] local.INFO: Processing buffer {"connection_id":230378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a369b400012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:29:21] local.INFO: Packet analysis {"connection_id":230378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:21] local.INFO: Extracted packet for processing {"connection_id":230378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198196480001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:21] 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-11-04 03:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793742976000,"timestamp_ms":1793742976000,"timestamp_seconds":1793742976,"priority":1,"record_length":96,"hex_timestamp":"000001a1a369b400"} 
[2026-11-04 03:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 03:29:21] 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-11-04 03: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-11-04 03:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198196480001,"66":28398,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198196480001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:29:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:29:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198196480001,"power":28398,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":230378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:29:21] local.INFO: GPS data processed {"connection_id":230378,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:29:21] local.INFO: Acknowledgment sent {"connection_id":230378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:29:40] local.INFO: TCP Data received {"connection_id":228639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:29:40] local.INFO: Processing buffer {"connection_id":228639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:29:40] local.INFO: IMEI packet received {"connection_id":228639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":228639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:29:45] local.INFO: TCP Data received {"connection_id":228639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:29:45] local.INFO: Processing buffer {"connection_id":228639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:29:45] local.INFO: IMEI packet received {"connection_id":228639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":228639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:29:46] local.INFO: TCP Data received {"connection_id":228639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:46] local.INFO: Processing buffer {"connection_id":228639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:46] local.INFO: Packet analysis {"connection_id":228639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:46] local.INFO: Extracted packet for processing {"connection_id":228639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 03:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:29:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":228639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:29:46] local.INFO: GPS data processed {"connection_id":228639,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:29:46] local.INFO: Acknowledgment sent {"connection_id":228639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:29:50] local.INFO: TCP Data received {"connection_id":228639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:50] local.INFO: Processing buffer {"connection_id":228639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:29:50] local.INFO: Packet analysis {"connection_id":228639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:50] local.INFO: Extracted packet for processing {"connection_id":228639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:29:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 03:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:29:50] 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-11-04 03:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:29:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":228639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:29:51] local.INFO: GPS data processed {"connection_id":228639,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:29:51] local.INFO: Acknowledgment sent {"connection_id":228639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:29:53] local.INFO: TCP Data received {"connection_id":230378,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36a0608012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36a0608012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:29:53] local.INFO: Processing buffer {"connection_id":230378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36a0608012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:29:53] local.INFO: Packet analysis {"connection_id":230378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:29:53] local.INFO: Extracted packet for processing {"connection_id":230378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:29:53] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198201856001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:29:53] 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-11-04 03:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793742997000,"timestamp_ms":1793742997000,"timestamp_seconds":1793742997,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36a0608"} 
[2026-11-04 03:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 03:29:53] 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-11-04 03: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-11-04 03:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198201856001,"66":28332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198201856001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:29:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:29:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198201856001,"power":28332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":230378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:29:53] local.INFO: GPS data processed {"connection_id":230378,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:29:53] local.INFO: Acknowledgment sent {"connection_id":230378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:30:09] local.INFO: TCP Data received {"connection_id":232218,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:30:09] local.INFO: Processing buffer {"connection_id":232218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:30:09] local.INFO: IMEI packet received {"connection_id":232218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":232218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:30:15] local.INFO: TCP Data received {"connection_id":232218,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:30:15] local.INFO: Processing buffer {"connection_id":232218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:30:15] local.INFO: IMEI packet received {"connection_id":232218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":232218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:30:18] local.INFO: TCP Data received {"connection_id":232218,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:30:18] local.INFO: Processing buffer {"connection_id":232218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:30:18] local.INFO: Packet analysis {"connection_id":232218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:30:18] local.INFO: Extracted packet for processing {"connection_id":232218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198207232001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:18] 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-11-04 03:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793743012000,"timestamp_ms":1793743012000,"timestamp_seconds":1793743012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36a40a0"} 
[2026-11-04 03:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":172,"data_length":795,"current_offset":136} 
[2026-11-04 03:30:18] 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-11-04 03: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-11-04 03:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198207232001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198207232001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:30:18] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:30:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198207232001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":232218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:30:18] local.INFO: GPS data processed {"connection_id":232218,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:30:18] local.INFO: Acknowledgment sent {"connection_id":232218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:30:35] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:30:35] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:30:35] local.INFO: IMEI packet received {"connection_id":230379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":230379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:30:40] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:30:40] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:30:40] local.INFO: IMEI packet received {"connection_id":230379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":230379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:30:41] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:30:41] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:30:41] local.INFO: Packet analysis {"connection_id":230379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:30:41] local.INFO: Extracted packet for processing {"connection_id":230379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:30:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 03:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:30:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":230379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:30:41] local.INFO: GPS data processed {"connection_id":230379,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:30:41] local.INFO: Acknowledgment sent {"connection_id":230379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:30:49] local.INFO: TCP Data received {"connection_id":232218,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:30:49] local.INFO: Processing buffer {"connection_id":232218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:30:49] local.INFO: Packet analysis {"connection_id":232218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:30:49] local.INFO: Extracted packet for processing {"connection_id":232218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:30: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-11-04 03:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198207232001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:30:49] 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-11-04 03:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793743012000,"timestamp_ms":1793743012000,"timestamp_seconds":1793743012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36a40a0"} 
[2026-11-04 03:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 03:30:49] 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-11-04 03:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198207232001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198207232001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:30:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:30:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198207232001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":232218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:30:49] local.INFO: GPS data processed {"connection_id":232218,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:30:49] local.INFO: Acknowledgment sent {"connection_id":232218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:31:09] local.INFO: TCP Data received {"connection_id":228640,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:31:09] local.INFO: Processing buffer {"connection_id":228640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:31:09] local.INFO: IMEI packet received {"connection_id":228640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":228640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:31:12] local.INFO: TCP Data received {"connection_id":230379,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:31:12] local.INFO: Processing buffer {"connection_id":230379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3693318012ce51bc007234b900009008029..."} 
[2026-11-04 03:31:12] local.INFO: Packet analysis {"connection_id":230379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:31:12] local.INFO: Extracted packet for processing {"connection_id":230379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a369"} 
[2026-11-04 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198116352001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793742943000,"timestamp_ms":1793742943000,"timestamp_seconds":1793742943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3693318"} 
[2026-11-04 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-11-04 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198116352001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198116352001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:31:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198116352001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":230379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:31:12] local.INFO: GPS data processed {"connection_id":230379,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:31:12] local.INFO: Acknowledgment sent {"connection_id":230379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:31:15] local.INFO: TCP Data received {"connection_id":228640,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:31:15] local.INFO: Processing buffer {"connection_id":228640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:31:15] local.INFO: IMEI packet received {"connection_id":228640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":228640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:31:16] local.INFO: TCP Data received {"connection_id":228640,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:31:16] local.INFO: Processing buffer {"connection_id":228640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:31:16] local.INFO: Packet analysis {"connection_id":228640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:31:16] local.INFO: Extracted packet for processing {"connection_id":228640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198207232001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:16] 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-11-04 03:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793743012000,"timestamp_ms":1793743012000,"timestamp_seconds":1793743012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36a40a0"} 
[2026-11-04 03:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 03:31: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-11-04 03: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-11-04 03:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198207232001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198207232001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:31:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:31:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198207232001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":228640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:31:16] local.INFO: GPS data processed {"connection_id":228640,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:31:16] local.INFO: Acknowledgment sent {"connection_id":228640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:31:35] local.INFO: TCP Data received {"connection_id":228641,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:31:35] local.INFO: Processing buffer {"connection_id":228641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:31:35] local.INFO: IMEI packet received {"connection_id":228641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":228641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:31:40] local.INFO: TCP Data received {"connection_id":228641,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:31:40] local.INFO: Processing buffer {"connection_id":228641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:31:40] local.INFO: IMEI packet received {"connection_id":228641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":228641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:31:41] local.INFO: TCP Data received {"connection_id":228641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:31:41] local.INFO: Processing buffer {"connection_id":228641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:31:41] local.INFO: Packet analysis {"connection_id":228641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:31:41] local.INFO: Extracted packet for processing {"connection_id":228641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:31:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":228641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:31:41] local.INFO: GPS data processed {"connection_id":228641,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:31:41] local.INFO: Acknowledgment sent {"connection_id":228641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:31:47] local.INFO: TCP Data received {"connection_id":228640,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:31:47] local.INFO: Processing buffer {"connection_id":228640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:31:47] local.INFO: Packet analysis {"connection_id":228640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:31:47] local.INFO: Extracted packet for processing {"connection_id":228640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198207232001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:31:47] 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-11-04 03:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793743012000,"timestamp_ms":1793743012000,"timestamp_seconds":1793743012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36a40a0"} 
[2026-11-04 03:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 03:31:47] 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-11-04 03:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198207232001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198207232001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:31:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:31:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198207232001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":228640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:31:47] local.INFO: GPS data processed {"connection_id":228640,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:31:47] local.INFO: Acknowledgment sent {"connection_id":228640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:32:15] local.INFO: TCP Data received {"connection_id":228641,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:32:15] local.INFO: Processing buffer {"connection_id":228641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:32:15] local.INFO: Packet analysis {"connection_id":228641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:32:15] local.INFO: Extracted packet for processing {"connection_id":228641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:32:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:32:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":228641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:32:15] local.INFO: GPS data processed {"connection_id":228641,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:32:15] local.INFO: Acknowledgment sent {"connection_id":228641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:32:15] local.INFO: TCP Data received {"connection_id":230380,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:32:15] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:32:15] local.INFO: IMEI packet received {"connection_id":230380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":230380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:32:20] local.INFO: TCP Data received {"connection_id":230380,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:32:20] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:32:20] local.INFO: IMEI packet received {"connection_id":230380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":230380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:32:21] local.INFO: TCP Data received {"connection_id":230380,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:32:21] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:32:21] local.INFO: Packet analysis {"connection_id":230380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:32:21] local.INFO: Extracted packet for processing {"connection_id":230380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198207232001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:21] 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-11-04 03:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793743012000,"timestamp_ms":1793743012000,"timestamp_seconds":1793743012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36a40a0"} 
[2026-11-04 03:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 03:32:21] 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-11-04 03: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-11-04 03:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198207232001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198207232001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:32:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:32:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198207232001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":230380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:32:21] local.INFO: GPS data processed {"connection_id":230380,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:32:21] local.INFO: Acknowledgment sent {"connection_id":230380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:32:26] local.INFO: TCP Data received {"connection_id":230380,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:32:26] local.INFO: Processing buffer {"connection_id":230380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36a40a0012d3c938006a38fc0004600082c..."} 
[2026-11-04 03:32:26] local.INFO: Packet analysis {"connection_id":230380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:32:26] local.INFO: Extracted packet for processing {"connection_id":230380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36a"} 
[2026-11-04 03:32:26] local.INFO: GPS Element Parsed {"raw_longitude":758944640,"raw_latitude":111382464,"longitude_deg":75.894464,"latitude_deg":11.1382464,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c9380","hex_latitude":"06a38fc0","is_valid_coordinates":true} 
[2026-11-04 03:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198207232001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:26] 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-11-04 03:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793743012000,"timestamp_ms":1793743012000,"timestamp_seconds":1793743012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36a40a0"} 
[2026-11-04 03:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 03: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 03:32: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-11-04 03: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-11-04 03:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198207232001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198207232001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:32:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:32:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198207232001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":230380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:32:26] local.INFO: GPS data processed {"connection_id":230380,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:32:26] local.INFO: Acknowledgment sent {"connection_id":230380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:32:35] local.INFO: TCP Data received {"connection_id":232219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:32:35] local.INFO: Processing buffer {"connection_id":232219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:32:35] local.INFO: IMEI packet received {"connection_id":232219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":232219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:32:40] local.INFO: TCP Data received {"connection_id":232219,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:32:40] local.INFO: Processing buffer {"connection_id":232219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:32:40] local.INFO: IMEI packet received {"connection_id":232219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":232219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:32:41] local.INFO: TCP Data received {"connection_id":232219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:32:41] local.INFO: Processing buffer {"connection_id":232219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:32:41] local.INFO: Packet analysis {"connection_id":232219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:32:41] local.INFO: Extracted packet for processing {"connection_id":232219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":232219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:32:41] local.INFO: GPS data processed {"connection_id":232219,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:32:41] local.INFO: Acknowledgment sent {"connection_id":232219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:33:11] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:33:11] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:33:11] local.INFO: IMEI packet received {"connection_id":229117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":229117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:33:12] local.INFO: TCP Data received {"connection_id":232219,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:33:12] local.INFO: Processing buffer {"connection_id":232219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:33:12] local.INFO: Packet analysis {"connection_id":232219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:33:12] local.INFO: Extracted packet for processing {"connection_id":232219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:33:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":232219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:33:12] local.INFO: GPS data processed {"connection_id":232219,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:33:12] local.INFO: Acknowledgment sent {"connection_id":232219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:33:15] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:33:15] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:33:15] local.INFO: IMEI packet received {"connection_id":229117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":229117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:33:16] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:16] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:16] local.INFO: Packet analysis {"connection_id":229117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:33:16] local.INFO: Extracted packet for processing {"connection_id":229117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:16] 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-11-04 03:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:33: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-11-04 03: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-11-04 03:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:33:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:33:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":229117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:33:16] local.INFO: GPS data processed {"connection_id":229117,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:33:16] local.INFO: Acknowledgment sent {"connection_id":229117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:33:21] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:21] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:21] local.INFO: Packet analysis {"connection_id":229117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:33:21] local.INFO: Extracted packet for processing {"connection_id":229117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:21] 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-11-04 03:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 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-11-04 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:33:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:33:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":229117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:33:21] local.INFO: GPS data processed {"connection_id":229117,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:33:21] local.INFO: Acknowledgment sent {"connection_id":229117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:33:35] local.INFO: TCP Data received {"connection_id":228642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:33:35] local.INFO: Processing buffer {"connection_id":228642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:33:35] local.INFO: IMEI packet received {"connection_id":228642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":228642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:33:40] local.INFO: TCP Data received {"connection_id":228642,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:33:40] local.INFO: Processing buffer {"connection_id":228642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:33:40] local.INFO: IMEI packet received {"connection_id":228642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":228642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:33:41] local.INFO: TCP Data received {"connection_id":228642,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:33:41] local.INFO: Processing buffer {"connection_id":228642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:33:41] local.INFO: Packet analysis {"connection_id":228642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:33:41] local.INFO: Extracted packet for processing {"connection_id":228642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:33:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:33:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":228642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:33:41] local.INFO: GPS data processed {"connection_id":228642,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:33:41] local.INFO: Acknowledgment sent {"connection_id":228642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:33:53] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:53] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:33:53] local.INFO: Packet analysis {"connection_id":229117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:33:53] local.INFO: Extracted packet for processing {"connection_id":229117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:33:53] 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-11-04 03:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:33:53] 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-11-04 03:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:33:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:33:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":229117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:33:53] local.INFO: GPS data processed {"connection_id":229117,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:33:53] local.INFO: Acknowledgment sent {"connection_id":229117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:34:09] local.INFO: TCP Data received {"connection_id":232220,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:34:09] local.INFO: Processing buffer {"connection_id":232220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:34:09] local.INFO: IMEI packet received {"connection_id":232220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":232220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:34:12] local.INFO: TCP Data received {"connection_id":228642,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:34:12] local.INFO: Processing buffer {"connection_id":228642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:34:12] local.INFO: Packet analysis {"connection_id":228642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:34:12] local.INFO: Extracted packet for processing {"connection_id":228642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:34:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:34:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":228642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:34:12] local.INFO: GPS data processed {"connection_id":228642,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:34:12] local.INFO: Acknowledgment sent {"connection_id":228642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:34:14] local.INFO: TCP Data received {"connection_id":232220,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:34:14] local.INFO: Processing buffer {"connection_id":232220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:34:14] local.INFO: IMEI packet received {"connection_id":232220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":232220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:34:15] local.INFO: TCP Data received {"connection_id":232220,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:34:15] local.INFO: Processing buffer {"connection_id":232220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:34:15] local.INFO: Packet analysis {"connection_id":232220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:34:15] local.INFO: Extracted packet for processing {"connection_id":232220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:15] 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-11-04 03:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:34:15] 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-11-04 03: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-11-04 03:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:34:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:34:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":232220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:34:15] local.INFO: GPS data processed {"connection_id":232220,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:34:15] local.INFO: Acknowledgment sent {"connection_id":232220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:34:35] local.INFO: TCP Data received {"connection_id":229118,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:34:35] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:34:35] local.INFO: IMEI packet received {"connection_id":229118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":229118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:34:40] local.INFO: TCP Data received {"connection_id":229118,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:34:40] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:34:40] local.INFO: IMEI packet received {"connection_id":229118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":229118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:34:41] local.INFO: TCP Data received {"connection_id":229118,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:34:41] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:34:41] local.INFO: Packet analysis {"connection_id":229118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:34:41] local.INFO: Extracted packet for processing {"connection_id":229118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:34:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:34:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":229118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:34:41] local.INFO: GPS data processed {"connection_id":229118,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:34:41] local.INFO: Acknowledgment sent {"connection_id":229118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:34:47] local.INFO: TCP Data received {"connection_id":232220,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:34:47] local.INFO: Processing buffer {"connection_id":232220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:34:47] local.INFO: Packet analysis {"connection_id":232220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:34:47] local.INFO: Extracted packet for processing {"connection_id":232220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:34:47] 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-11-04 03:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:34: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-11-04 03:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:34:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:34:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":232220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:34:47] local.INFO: GPS data processed {"connection_id":232220,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:34:47] local.INFO: Acknowledgment sent {"connection_id":232220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:35:09] local.INFO: TCP Data received {"connection_id":228643,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:35:09] local.INFO: Processing buffer {"connection_id":228643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:35:09] local.INFO: IMEI packet received {"connection_id":228643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":228643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:35:12] local.INFO: TCP Data received {"connection_id":229118,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:12] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:12] local.INFO: Packet analysis {"connection_id":229118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:35:12] local.INFO: Extracted packet for processing {"connection_id":229118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:35:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 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-11-04 03:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:35: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-11-04 03:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:35:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":229118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:35:12] local.INFO: GPS data processed {"connection_id":229118,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:35:12] local.INFO: Acknowledgment sent {"connection_id":229118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:35:15] local.INFO: TCP Data received {"connection_id":228643,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:35:15] local.INFO: Processing buffer {"connection_id":228643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:35:15] local.INFO: IMEI packet received {"connection_id":228643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":228643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:35:16] local.INFO: TCP Data received {"connection_id":228643,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:35:16] local.INFO: Processing buffer {"connection_id":228643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:35:16] local.INFO: Packet analysis {"connection_id":228643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:35:16] local.INFO: Extracted packet for processing {"connection_id":228643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:16] 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-11-04 03:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:35: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-11-04 03: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-11-04 03:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:35:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:35:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":228643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:35:16] local.INFO: GPS data processed {"connection_id":228643,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:35:16] local.INFO: Acknowledgment sent {"connection_id":228643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:35:40] local.INFO: TCP Data received {"connection_id":232221,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:35:40] local.INFO: Processing buffer {"connection_id":232221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:35:40] local.INFO: IMEI packet received {"connection_id":232221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":232221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:35:45] local.INFO: TCP Data received {"connection_id":232221,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:35:45] local.INFO: Processing buffer {"connection_id":232221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:35:45] local.INFO: IMEI packet received {"connection_id":232221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":232221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:35:46] local.INFO: TCP Data received {"connection_id":232221,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:46] local.INFO: Processing buffer {"connection_id":232221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:46] local.INFO: Packet analysis {"connection_id":232221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:35:46] local.INFO: Extracted packet for processing {"connection_id":232221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:35:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:35:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":232221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:35:46] local.INFO: GPS data processed {"connection_id":232221,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:35:46] local.INFO: Acknowledgment sent {"connection_id":232221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:35:47] local.INFO: TCP Data received {"connection_id":228643,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:35:47] local.INFO: Processing buffer {"connection_id":228643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:35:47] local.INFO: Packet analysis {"connection_id":228643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:35:47] local.INFO: Extracted packet for processing {"connection_id":228643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:47] 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-11-04 03:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:35: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-11-04 03:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:35:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:35:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":228643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:35:47] local.INFO: GPS data processed {"connection_id":228643,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:35:47] local.INFO: Acknowledgment sent {"connection_id":228643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:35:50] local.INFO: TCP Data received {"connection_id":232221,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:50] local.INFO: Processing buffer {"connection_id":232221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36dcae0012ce51bc007234b900009008029..."} 
[2026-11-04 03:35:50] local.INFO: Packet analysis {"connection_id":232221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:35:50] local.INFO: Extracted packet for processing {"connection_id":232221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36d"} 
[2026-11-04 03:35:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198193408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793743244000,"timestamp_ms":1793743244000,"timestamp_seconds":1793743244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36dcae0"} 
[2026-11-04 03:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 03:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198193408001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198193408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:35:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198193408001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":232221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":56999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:35:50] local.INFO: GPS data processed {"connection_id":232221,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:35:50] local.INFO: Acknowledgment sent {"connection_id":232221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:36:15] local.INFO: TCP Data received {"connection_id":230381,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:36:15] local.INFO: Processing buffer {"connection_id":230381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:36:15] local.INFO: IMEI packet received {"connection_id":230381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":230381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:36:20] local.INFO: TCP Data received {"connection_id":230381,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:36:20] local.INFO: Processing buffer {"connection_id":230381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:36:20] local.INFO: IMEI packet received {"connection_id":230381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":230381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:36:21] local.INFO: TCP Data received {"connection_id":230381,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:36:21] local.INFO: Processing buffer {"connection_id":230381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:36:21] local.INFO: Packet analysis {"connection_id":230381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:36:21] local.INFO: Extracted packet for processing {"connection_id":230381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:21] 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-11-04 03:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:36:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:36:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":230381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:36:21] local.INFO: GPS data processed {"connection_id":230381,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:36:21] local.INFO: Acknowledgment sent {"connection_id":230381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:36:35] local.INFO: TCP Data received {"connection_id":229119,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:36:35] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:36:35] local.INFO: IMEI packet received {"connection_id":229119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":229119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:36:40] local.INFO: TCP Data received {"connection_id":229119,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:36:40] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:36:40] local.INFO: IMEI packet received {"connection_id":229119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":229119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:36:41] local.INFO: TCP Data received {"connection_id":229119,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:36:41] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:36:41] local.INFO: Packet analysis {"connection_id":229119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:36:41] local.INFO: Extracted packet for processing {"connection_id":229119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:36:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":229119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:36:41] local.INFO: GPS data processed {"connection_id":229119,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:36:41] local.INFO: Acknowledgment sent {"connection_id":229119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:36:53] local.INFO: TCP Data received {"connection_id":230381,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:36:53] local.INFO: Processing buffer {"connection_id":230381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:36:53] local.INFO: Packet analysis {"connection_id":230381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:36:53] local.INFO: Extracted packet for processing {"connection_id":230381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:36:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:36:53] 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-11-04 03:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:36:53] 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-11-04 03: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-11-04 03:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:36:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:36:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":230381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:36:53] local.INFO: GPS data processed {"connection_id":230381,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:36:53] local.INFO: Acknowledgment sent {"connection_id":230381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:37:09] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:37:09] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:37:09] local.INFO: IMEI packet received {"connection_id":229120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":229120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:37:12] local.INFO: TCP Data received {"connection_id":229119,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:37:12] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:37:12] local.INFO: Packet analysis {"connection_id":229119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:37:12] local.INFO: Extracted packet for processing {"connection_id":229119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:37:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":229119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:37:12] local.INFO: GPS data processed {"connection_id":229119,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:37:12] local.INFO: Acknowledgment sent {"connection_id":229119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:37:15] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:37:15] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:37:15] local.INFO: IMEI packet received {"connection_id":229120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":229120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:37:16] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:37:16] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a36eebf0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:37:16] local.INFO: Packet analysis {"connection_id":229120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:37:16] local.INFO: Extracted packet for processing {"connection_id":229120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a36e"} 
[2026-11-04 03:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198211072001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364973229854408704,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:16] 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-11-04 03:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793743318000,"timestamp_ms":1793743318000,"timestamp_seconds":1793743318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a36eebf0"} 
[2026-11-04 03:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 03:37: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-11-04 03:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198211072001,"66":26876,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364973229854408704},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198211072001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:37:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:37:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364973229854408704,"description":"Unknown IO ID 45"} 
[2026-11-04 03:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198211072001,"power":26876,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364973229854408704}} 
[2026-11-04 03:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":229120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:37:17] local.INFO: GPS data processed {"connection_id":229120,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:37:17] local.INFO: Acknowledgment sent {"connection_id":229120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:37:35] local.INFO: TCP Data received {"connection_id":228644,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:37:35] local.INFO: Processing buffer {"connection_id":228644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:37:35] local.INFO: IMEI packet received {"connection_id":228644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":228644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:37:40] local.INFO: TCP Data received {"connection_id":228644,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:37:40] local.INFO: Processing buffer {"connection_id":228644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:37:40] local.INFO: IMEI packet received {"connection_id":228644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":228644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:37:41] local.INFO: TCP Data received {"connection_id":228644,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:37:41] local.INFO: Processing buffer {"connection_id":228644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:37:41] local.INFO: Packet analysis {"connection_id":228644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:37:41] local.INFO: Extracted packet for processing {"connection_id":228644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:37:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:37:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":228644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:37:41] local.INFO: GPS data processed {"connection_id":228644,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:37:41] local.INFO: Acknowledgment sent {"connection_id":228644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:37:49] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:37:49] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:37:49] local.INFO: Packet analysis {"connection_id":229120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:37:49] local.INFO: Extracted packet for processing {"connection_id":229120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:37:49] 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-11-04 03:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:37:49] 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-11-04 03: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-11-04 03:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:37:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:37:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":229120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:37:49] local.INFO: GPS data processed {"connection_id":229120,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:37:49] local.INFO: Acknowledgment sent {"connection_id":229120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:38:09] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:38:09] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:38:09] local.INFO: IMEI packet received {"connection_id":229121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":229121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:38:12] local.INFO: TCP Data received {"connection_id":228644,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:38:12] local.INFO: Processing buffer {"connection_id":228644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:38:12] local.INFO: Packet analysis {"connection_id":228644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:38:12] local.INFO: Extracted packet for processing {"connection_id":228644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:38:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":228644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:38:12] local.INFO: GPS data processed {"connection_id":228644,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:38:12] local.INFO: Acknowledgment sent {"connection_id":228644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:38:15] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:38:15] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:38:15] local.INFO: IMEI packet received {"connection_id":229121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":229121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:38:17] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:38:17] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:38:17] local.INFO: Packet analysis {"connection_id":229121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:38:17] local.INFO: Extracted packet for processing {"connection_id":229121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:17] 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-11-04 03:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 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-11-04 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:38:17] 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-11-04 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-11-04 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-11-04 03:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:38:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:38:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":229121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:38:17] local.INFO: GPS data processed {"connection_id":229121,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:38:17] local.INFO: Acknowledgment sent {"connection_id":229121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:38:35] local.INFO: TCP Data received {"connection_id":228645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:38:35] local.INFO: Processing buffer {"connection_id":228645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:38:35] local.INFO: IMEI packet received {"connection_id":228645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":228645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:38:40] local.INFO: TCP Data received {"connection_id":228645,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:38:40] local.INFO: Processing buffer {"connection_id":228645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:38:40] local.INFO: IMEI packet received {"connection_id":228645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":228645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:38:41] local.INFO: TCP Data received {"connection_id":228645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:38:41] local.INFO: Processing buffer {"connection_id":228645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:38:41] local.INFO: Packet analysis {"connection_id":228645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:38:41] local.INFO: Extracted packet for processing {"connection_id":228645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:38:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:38:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":228645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:38:41] local.INFO: GPS data processed {"connection_id":228645,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:38:41] local.INFO: Acknowledgment sent {"connection_id":228645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:38:49] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:38:49] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:38:49] local.INFO: Packet analysis {"connection_id":229121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:38:49] local.INFO: Extracted packet for processing {"connection_id":229121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:38:49] 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-11-04 03:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 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-11-04 03:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:38:49] 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-11-04 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-11-04 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-11-04 03:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:38:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:38:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":229121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:38:49] local.INFO: GPS data processed {"connection_id":229121,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:38:49] local.INFO: Acknowledgment sent {"connection_id":229121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:39:11] local.INFO: TCP Data received {"connection_id":228645,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:39:11] local.INFO: Processing buffer {"connection_id":228645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:39:11] local.INFO: Packet analysis {"connection_id":228645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:39:11] local.INFO: Extracted packet for processing {"connection_id":228645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:39:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:39:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:39:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":228645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:39:11] local.INFO: GPS data processed {"connection_id":228645,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:39:11] local.INFO: Acknowledgment sent {"connection_id":228645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:39:15] local.INFO: TCP Data received {"connection_id":232222,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:39:15] local.INFO: Processing buffer {"connection_id":232222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:39:15] local.INFO: IMEI packet received {"connection_id":232222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":232222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:39:20] local.INFO: TCP Data received {"connection_id":232222,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:39:20] local.INFO: Processing buffer {"connection_id":232222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:39:20] local.INFO: IMEI packet received {"connection_id":232222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":232222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:39:21] local.INFO: TCP Data received {"connection_id":232222,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:39:21] local.INFO: Processing buffer {"connection_id":232222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:39:21] local.INFO: Packet analysis {"connection_id":232222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:39:21] local.INFO: Extracted packet for processing {"connection_id":232222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:39: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-11-04 03:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:21] 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-11-04 03:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:39: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:39:21] 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-11-04 03:39: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-11-04 03:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:39:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:39:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":232222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:39:21] local.INFO: GPS data processed {"connection_id":232222,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:39:21] local.INFO: Acknowledgment sent {"connection_id":232222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:39:25] local.INFO: TCP Data received {"connection_id":232222,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:39:25] local.INFO: Processing buffer {"connection_id":232222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:39:25] local.INFO: Packet analysis {"connection_id":232222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:39:25] local.INFO: Extracted packet for processing {"connection_id":232222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:39:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:25] 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-11-04 03:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:39:25] 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-11-04 03: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-11-04 03:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:39:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:39:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":232222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:39:26] local.INFO: GPS data processed {"connection_id":232222,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:39:26] local.INFO: Acknowledgment sent {"connection_id":232222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:39:35] local.INFO: TCP Data received {"connection_id":230382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:39:35] local.INFO: Processing buffer {"connection_id":230382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:39:35] local.INFO: IMEI packet received {"connection_id":230382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":230382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:39:40] local.INFO: TCP Data received {"connection_id":230382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:39:40] local.INFO: Processing buffer {"connection_id":230382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:39:40] local.INFO: IMEI packet received {"connection_id":230382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":230382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:39:40] local.INFO: TCP Data received {"connection_id":230382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:39:40] local.INFO: Processing buffer {"connection_id":230382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:39:40] local.INFO: Packet analysis {"connection_id":230382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:39:40] local.INFO: Extracted packet for processing {"connection_id":230382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:39:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:39:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:39:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:39:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":230382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:39:41] local.INFO: GPS data processed {"connection_id":230382,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:39:41] local.INFO: Acknowledgment sent {"connection_id":230382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:40:10] local.INFO: TCP Data received {"connection_id":228646,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:40:10] local.INFO: Processing buffer {"connection_id":228646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:40:10] local.INFO: IMEI packet received {"connection_id":228646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":228646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:40:11] local.INFO: TCP Data received {"connection_id":230382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:11] local.INFO: Processing buffer {"connection_id":230382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:11] local.INFO: Packet analysis {"connection_id":230382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:40:11] local.INFO: Extracted packet for processing {"connection_id":230382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:40:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:40:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":230382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:40:11] local.INFO: GPS data processed {"connection_id":230382,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:40:11] local.INFO: Acknowledgment sent {"connection_id":230382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:40:15] local.INFO: TCP Data received {"connection_id":228646,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:40:15] local.INFO: Processing buffer {"connection_id":228646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:40:15] local.INFO: IMEI packet received {"connection_id":228646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":228646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:40:16] local.INFO: TCP Data received {"connection_id":228646,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:40:16] local.INFO: Processing buffer {"connection_id":228646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:40:16] local.INFO: Packet analysis {"connection_id":228646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:40:16] local.INFO: Extracted packet for processing {"connection_id":228646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:16] 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-11-04 03:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:40:16] 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-11-04 03: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-11-04 03:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:40:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:40:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":228646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:40:17] local.INFO: GPS data processed {"connection_id":228646,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:40:17] local.INFO: Acknowledgment sent {"connection_id":228646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:40:40] local.INFO: TCP Data received {"connection_id":229122,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:40:40] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:40:40] local.INFO: IMEI packet received {"connection_id":229122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":229122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:40:45] local.INFO: TCP Data received {"connection_id":229122,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:40:45] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:40:45] local.INFO: IMEI packet received {"connection_id":229122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":229122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:40:46] local.INFO: TCP Data received {"connection_id":229122,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:46] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:46] local.INFO: Packet analysis {"connection_id":229122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:40:46] local.INFO: Extracted packet for processing {"connection_id":229122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:40:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:40:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:40:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:40:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":229122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:40:46] local.INFO: GPS data processed {"connection_id":229122,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:40:46] local.INFO: Acknowledgment sent {"connection_id":229122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:40:48] local.INFO: TCP Data received {"connection_id":228646,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:40:48] local.INFO: Processing buffer {"connection_id":228646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:40:48] local.INFO: Packet analysis {"connection_id":228646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:40:48] local.INFO: Extracted packet for processing {"connection_id":228646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:40:48] 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-11-04 03:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:40:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:40:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":228646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:40:48] local.INFO: GPS data processed {"connection_id":228646,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:40:48] local.INFO: Acknowledgment sent {"connection_id":228646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:40:50] local.INFO: TCP Data received {"connection_id":229122,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:50] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37262a8012ce51bc007234b90000900802a..."} 
[2026-11-04 03:40:50] local.INFO: Packet analysis {"connection_id":229122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:40:50] local.INFO: Extracted packet for processing {"connection_id":229122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a372"} 
[2026-11-04 03:40:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198270464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793743545000,"timestamp_ms":1793743545000,"timestamp_seconds":1793743545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37262a8"} 
[2026-11-04 03:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 03:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198270464001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198270464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:40:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198270464001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":229122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:40:50] local.INFO: GPS data processed {"connection_id":229122,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:40:50] local.INFO: Acknowledgment sent {"connection_id":229122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:41:09] local.INFO: TCP Data received {"connection_id":230383,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:41:09] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:41:09] local.INFO: IMEI packet received {"connection_id":230383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":230383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:41:15] local.INFO: TCP Data received {"connection_id":230383,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:41:15] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:41:15] local.INFO: IMEI packet received {"connection_id":230383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":230383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:41:16] local.INFO: TCP Data received {"connection_id":230383,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:41:16] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:41:16] local.INFO: Packet analysis {"connection_id":230383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:41:16] local.INFO: Extracted packet for processing {"connection_id":230383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:41: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-11-04 03:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:16] 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-11-04 03:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:41: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:41:16] 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-11-04 03:41: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-11-04 03:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:41:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:41:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":230383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:41:17] local.INFO: GPS data processed {"connection_id":230383,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:41:17] local.INFO: Acknowledgment sent {"connection_id":230383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:41:35] local.INFO: TCP Data received {"connection_id":232223,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:41:35] local.INFO: Processing buffer {"connection_id":232223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:41:35] local.INFO: IMEI packet received {"connection_id":232223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":232223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:41:40] local.INFO: TCP Data received {"connection_id":232223,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:41:40] local.INFO: Processing buffer {"connection_id":232223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:41:40] local.INFO: IMEI packet received {"connection_id":232223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":232223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:41:41] local.INFO: TCP Data received {"connection_id":232223,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:41:41] local.INFO: Processing buffer {"connection_id":232223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:41:41] local.INFO: Packet analysis {"connection_id":232223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:41:41] local.INFO: Extracted packet for processing {"connection_id":232223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 03:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":232223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:41:41] local.INFO: GPS data processed {"connection_id":232223,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:41:41] local.INFO: Acknowledgment sent {"connection_id":232223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:41:48] local.INFO: TCP Data received {"connection_id":230383,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:41:48] local.INFO: Processing buffer {"connection_id":230383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:41:48] local.INFO: Packet analysis {"connection_id":230383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:41:48] local.INFO: Extracted packet for processing {"connection_id":230383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:41:48] 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-11-04 03: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-11-04 03:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:41:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:41:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":230383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:41:48] local.INFO: GPS data processed {"connection_id":230383,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:41:48] local.INFO: Acknowledgment sent {"connection_id":230383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:42:12] local.INFO: TCP Data received {"connection_id":232223,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:42:12] local.INFO: Processing buffer {"connection_id":232223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:42:12] local.INFO: Packet analysis {"connection_id":232223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:42:12] local.INFO: Extracted packet for processing {"connection_id":232223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 03:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:42:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":232223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:42:12] local.INFO: GPS data processed {"connection_id":232223,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:42:12] local.INFO: Acknowledgment sent {"connection_id":232223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:42:15] local.INFO: TCP Data received {"connection_id":228647,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:42:15] local.INFO: Processing buffer {"connection_id":228647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:42:15] local.INFO: IMEI packet received {"connection_id":228647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":228647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:42:20] local.INFO: TCP Data received {"connection_id":228647,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:42:20] local.INFO: Processing buffer {"connection_id":228647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:42:20] local.INFO: IMEI packet received {"connection_id":228647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":228647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:42:22] local.INFO: TCP Data received {"connection_id":228647,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:42:22] local.INFO: Processing buffer {"connection_id":228647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:42:22] local.INFO: Packet analysis {"connection_id":228647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:42:22] local.INFO: Extracted packet for processing {"connection_id":228647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:42:22] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:22] 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-11-04 03:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:42:22] 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-11-04 03: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-11-04 03:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:42:22] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:42:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":228647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:42:23] local.INFO: GPS data processed {"connection_id":228647,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:42:23] local.INFO: Acknowledgment sent {"connection_id":228647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:42:25] local.INFO: TCP Data received {"connection_id":228647,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:42:25] local.INFO: Processing buffer {"connection_id":228647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37383b8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:42:25] local.INFO: Packet analysis {"connection_id":228647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:42:25] local.INFO: Extracted packet for processing {"connection_id":228647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a373"} 
[2026-11-04 03:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198289408001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:25] 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-11-04 03:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793743619000,"timestamp_ms":1793743619000,"timestamp_seconds":1793743619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37383b8"} 
[2026-11-04 03:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 03:42:25] 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-11-04 03:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198289408001,"66":26713,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198289408001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:42:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:42:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198289408001,"power":26713,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":228647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:42:25] local.INFO: GPS data processed {"connection_id":228647,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:42:25] local.INFO: Acknowledgment sent {"connection_id":228647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:42:35] local.INFO: TCP Data received {"connection_id":232224,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:42:35] local.INFO: Processing buffer {"connection_id":232224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:42:35] local.INFO: IMEI packet received {"connection_id":232224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":232224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:42:40] local.INFO: TCP Data received {"connection_id":232224,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:42:40] local.INFO: Processing buffer {"connection_id":232224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:42:40] local.INFO: IMEI packet received {"connection_id":232224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":232224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:42:41] local.INFO: TCP Data received {"connection_id":232224,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:42:41] local.INFO: Processing buffer {"connection_id":232224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:42:41] local.INFO: Packet analysis {"connection_id":232224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:42:41] local.INFO: Extracted packet for processing {"connection_id":232224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:42:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 03:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":232224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:42:41] local.INFO: GPS data processed {"connection_id":232224,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:42:41] local.INFO: Acknowledgment sent {"connection_id":232224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:43:10] local.INFO: TCP Data received {"connection_id":228648,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:43:10] local.INFO: Processing buffer {"connection_id":228648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:43:10] local.INFO: IMEI packet received {"connection_id":228648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":228648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:43:12] local.INFO: TCP Data received {"connection_id":232224,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:43:12] local.INFO: Processing buffer {"connection_id":232224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:43:12] local.INFO: Packet analysis {"connection_id":232224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:43:12] local.INFO: Extracted packet for processing {"connection_id":232224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:43:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 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-11-04 03:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:43:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":232224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:43:12] local.INFO: GPS data processed {"connection_id":232224,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:43:12] local.INFO: Acknowledgment sent {"connection_id":232224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:43:15] local.INFO: TCP Data received {"connection_id":228648,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:43:15] local.INFO: Processing buffer {"connection_id":228648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:43:15] local.INFO: IMEI packet received {"connection_id":228648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":228648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:43:17] local.INFO: TCP Data received {"connection_id":228648,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:43:17] local.INFO: Processing buffer {"connection_id":228648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:43:17] local.INFO: Packet analysis {"connection_id":228648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:43:17] local.INFO: Extracted packet for processing {"connection_id":228648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:43:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:17] 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-11-04 03:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:43:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:43:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":228648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:43:17] local.INFO: GPS data processed {"connection_id":228648,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:43:17] local.INFO: Acknowledgment sent {"connection_id":228648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:43:35] local.INFO: TCP Data received {"connection_id":229123,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:43:35] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:43:35] local.INFO: IMEI packet received {"connection_id":229123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":229123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:43:40] local.INFO: TCP Data received {"connection_id":229123,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:43:40] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:43:40] local.INFO: IMEI packet received {"connection_id":229123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":229123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:43:41] local.INFO: TCP Data received {"connection_id":229123,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:43:41] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:43:41] local.INFO: Packet analysis {"connection_id":229123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:43:41] local.INFO: Extracted packet for processing {"connection_id":229123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 03:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":229123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:43:41] local.INFO: GPS data processed {"connection_id":229123,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:43:41] local.INFO: Acknowledgment sent {"connection_id":229123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:43:48] local.INFO: TCP Data received {"connection_id":228648,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:43:48] local.INFO: Processing buffer {"connection_id":228648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:43:48] local.INFO: Packet analysis {"connection_id":228648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:43:48] local.INFO: Extracted packet for processing {"connection_id":228648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:43:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:43:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":228648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:43:48] local.INFO: GPS data processed {"connection_id":228648,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:43:48] local.INFO: Acknowledgment sent {"connection_id":228648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:44:09] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:44:09] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:44:09] local.INFO: IMEI packet received {"connection_id":229124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":229124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:44:12] local.INFO: TCP Data received {"connection_id":229123,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:44:12] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:44:12] local.INFO: Packet analysis {"connection_id":229123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:44:12] local.INFO: Extracted packet for processing {"connection_id":229123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 03:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:44:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":229123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:44:12] local.INFO: GPS data processed {"connection_id":229123,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:44:12] local.INFO: Acknowledgment sent {"connection_id":229123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:44:15] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:44:15] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:44:15] local.INFO: IMEI packet received {"connection_id":229124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":229124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:44:16] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:44:16] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:44:16] local.INFO: Packet analysis {"connection_id":229124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:44:16] local.INFO: Extracted packet for processing {"connection_id":229124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:16] 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-11-04 03:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:44:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:44:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":229124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:44:16] local.INFO: GPS data processed {"connection_id":229124,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:44:16] local.INFO: Acknowledgment sent {"connection_id":229124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:44:35] local.INFO: TCP Data received {"connection_id":229125,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:44:35] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:44:35] local.INFO: IMEI packet received {"connection_id":229125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":229125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:44:40] local.INFO: TCP Data received {"connection_id":229125,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:44:40] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:44:40] local.INFO: IMEI packet received {"connection_id":229125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":229125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:44:41] local.INFO: TCP Data received {"connection_id":229125,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:44:41] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:44:41] local.INFO: Packet analysis {"connection_id":229125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:44:41] local.INFO: Extracted packet for processing {"connection_id":229125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:44:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 03:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:44:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":229125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:44:41] local.INFO: GPS data processed {"connection_id":229125,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:44:41] local.INFO: Acknowledgment sent {"connection_id":229125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:44:48] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:44:48] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:44:48] local.INFO: Packet analysis {"connection_id":229124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:44:48] local.INFO: Extracted packet for processing {"connection_id":229124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:44:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:44:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":229124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:44:48] local.INFO: GPS data processed {"connection_id":229124,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:44:48] local.INFO: Acknowledgment sent {"connection_id":229124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:45:09] local.INFO: TCP Data received {"connection_id":230384,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:45:09] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:45:09] local.INFO: IMEI packet received {"connection_id":230384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":230384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:45:13] local.INFO: TCP Data received {"connection_id":229125,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:45:13] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:45:13] local.INFO: Packet analysis {"connection_id":229125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:45:13] local.INFO: Extracted packet for processing {"connection_id":229125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 03:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:45:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:45:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":229125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:45:13] local.INFO: GPS data processed {"connection_id":229125,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:45:13] local.INFO: Acknowledgment sent {"connection_id":229125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:45:15] local.INFO: TCP Data received {"connection_id":230384,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:45:15] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:45:15] local.INFO: IMEI packet received {"connection_id":230384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":230384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:45:18] local.INFO: TCP Data received {"connection_id":230384,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:45:18] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:45:18] local.INFO: Packet analysis {"connection_id":230384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:45:18] local.INFO: Extracted packet for processing {"connection_id":230384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:18] 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-11-04 03:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:45:18] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:45:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":230384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:45:18] local.INFO: GPS data processed {"connection_id":230384,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:45:18] local.INFO: Acknowledgment sent {"connection_id":230384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:45:35] local.INFO: TCP Data received {"connection_id":228649,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:45:35] local.INFO: Processing buffer {"connection_id":228649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:45:35] local.INFO: IMEI packet received {"connection_id":228649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":228649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:45:40] local.INFO: TCP Data received {"connection_id":228649,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:45:40] local.INFO: Processing buffer {"connection_id":228649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:45:40] local.INFO: IMEI packet received {"connection_id":228649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":228649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:45:41] local.INFO: TCP Data received {"connection_id":228649,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:45:41] local.INFO: Processing buffer {"connection_id":228649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:45:41] local.INFO: Packet analysis {"connection_id":228649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:45:41] local.INFO: Extracted packet for processing {"connection_id":228649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 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-11-04 03:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":228649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:45:41] local.INFO: GPS data processed {"connection_id":228649,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:45:41] local.INFO: Acknowledgment sent {"connection_id":228649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:45:49] local.INFO: TCP Data received {"connection_id":230384,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:45:49] local.INFO: Processing buffer {"connection_id":230384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:45:49] local.INFO: Packet analysis {"connection_id":230384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:45:49] local.INFO: Extracted packet for processing {"connection_id":230384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:45:49] 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-11-04 03:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:45:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:45:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":230384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:45:49] local.INFO: GPS data processed {"connection_id":230384,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:45:49] local.INFO: Acknowledgment sent {"connection_id":230384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:46:12] local.INFO: TCP Data received {"connection_id":228649,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:46:12] local.INFO: Processing buffer {"connection_id":228649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a376fa70012ce51bc007234b900009008029..."} 
[2026-11-04 03:46:12] local.INFO: Packet analysis {"connection_id":228649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:46:12] local.INFO: Extracted packet for processing {"connection_id":228649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a376"} 
[2026-11-04 03:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198347520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793743846000,"timestamp_ms":1793743846000,"timestamp_seconds":1793743846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a376fa70"} 
[2026-11-04 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-11-04 03:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:46: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-11-04 03:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198347520001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198347520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198347520001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":228649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:46:12] local.INFO: GPS data processed {"connection_id":228649,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:46:12] local.INFO: Acknowledgment sent {"connection_id":228649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:46:15] local.INFO: TCP Data received {"connection_id":228650,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:46:15] local.INFO: Processing buffer {"connection_id":228650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:46:15] local.INFO: IMEI packet received {"connection_id":228650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":228650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:46:20] local.INFO: TCP Data received {"connection_id":228650,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:46:20] local.INFO: Processing buffer {"connection_id":228650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:46:20] local.INFO: IMEI packet received {"connection_id":228650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":228650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:46:21] local.INFO: TCP Data received {"connection_id":228650,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:46:21] local.INFO: Processing buffer {"connection_id":228650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:46:21] local.INFO: Packet analysis {"connection_id":228650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:46:21] local.INFO: Extracted packet for processing {"connection_id":228650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:21] 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-11-04 03:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:46:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:46:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":228650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:46:21] local.INFO: GPS data processed {"connection_id":228650,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:46:21] local.INFO: Acknowledgment sent {"connection_id":228650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:46:26] local.INFO: TCP Data received {"connection_id":228650,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:46:26] local.INFO: Processing buffer {"connection_id":228650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:46:26] local.INFO: Packet analysis {"connection_id":228650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:46:26] local.INFO: Extracted packet for processing {"connection_id":228650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:46:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:26] 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-11-04 03:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:46:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:46:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":228650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:46:26] local.INFO: GPS data processed {"connection_id":228650,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:46:26] local.INFO: Acknowledgment sent {"connection_id":228650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:46:40] local.INFO: TCP Data received {"connection_id":232225,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:46:40] local.INFO: Processing buffer {"connection_id":232225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:46:40] local.INFO: IMEI packet received {"connection_id":232225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":232225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:46:45] local.INFO: TCP Data received {"connection_id":232225,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:46:45] local.INFO: Processing buffer {"connection_id":232225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:46:45] local.INFO: IMEI packet received {"connection_id":232225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":232225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:46:46] local.INFO: TCP Data received {"connection_id":232225,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:46:46] local.INFO: Processing buffer {"connection_id":232225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:46:46] local.INFO: Packet analysis {"connection_id":232225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:46:46] local.INFO: Extracted packet for processing {"connection_id":232225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:46:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:46:46] 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-11-04 03: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-11-04 03:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:46:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:46:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":232225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:46:46] local.INFO: GPS data processed {"connection_id":232225,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:46:46] local.INFO: Acknowledgment sent {"connection_id":232225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:46:50] local.INFO: TCP Data received {"connection_id":232225,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:46:50] local.INFO: Processing buffer {"connection_id":232225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:46:50] local.INFO: Packet analysis {"connection_id":232225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:46:50] local.INFO: Extracted packet for processing {"connection_id":232225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:46:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:46:50] 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-11-04 03:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:46:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":232225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:46:50] local.INFO: GPS data processed {"connection_id":232225,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:46:50] local.INFO: Acknowledgment sent {"connection_id":232225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:47:09] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:47:09] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:47:09] local.INFO: IMEI packet received {"connection_id":229126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":229126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:47:20] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:47:20] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:47:20] local.INFO: IMEI packet received {"connection_id":229126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":229126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:47:21] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:47:21] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3781b80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:47:21] local.INFO: Packet analysis {"connection_id":229126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:47:21] local.INFO: Extracted packet for processing {"connection_id":229126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a378"} 
[2026-11-04 03:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198366464001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:21] 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-11-04 03:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793743920000,"timestamp_ms":1793743920000,"timestamp_seconds":1793743920,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3781b80"} 
[2026-11-04 03:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 03:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198366464001,"66":26658,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198366464001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:47:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:47:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198366464001,"power":26658,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":229126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:47:21] local.INFO: GPS data processed {"connection_id":229126,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:47:21] local.INFO: Acknowledgment sent {"connection_id":229126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:47:35] local.INFO: TCP Data received {"connection_id":232226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:47:35] local.INFO: Processing buffer {"connection_id":232226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:47:35] local.INFO: IMEI packet received {"connection_id":232226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":232226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:47:40] local.INFO: TCP Data received {"connection_id":232226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:47:40] local.INFO: Processing buffer {"connection_id":232226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:47:40] local.INFO: IMEI packet received {"connection_id":232226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":232226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:47:41] local.INFO: TCP Data received {"connection_id":232226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:47:41] local.INFO: Processing buffer {"connection_id":232226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:47:41] local.INFO: Packet analysis {"connection_id":232226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:47:41] local.INFO: Extracted packet for processing {"connection_id":232226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:47:41] 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-11-04 03:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":232226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:47:41] local.INFO: GPS data processed {"connection_id":232226,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:47:41] local.INFO: Acknowledgment sent {"connection_id":232226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:47:53] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:47:53] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:47:53] local.INFO: Packet analysis {"connection_id":229126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:47:53] local.INFO: Extracted packet for processing {"connection_id":229126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:47:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:47:53] 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-11-04 03:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:47:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:47:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":229126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:47:53] local.INFO: GPS data processed {"connection_id":229126,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:47:53] local.INFO: Acknowledgment sent {"connection_id":229126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:48:12] local.INFO: TCP Data received {"connection_id":232226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:48:12] local.INFO: Processing buffer {"connection_id":232226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:48:12] local.INFO: Packet analysis {"connection_id":232226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:48:12] local.INFO: Extracted packet for processing {"connection_id":232226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:48:12] 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-11-04 03: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-11-04 03:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":232226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:48:12] local.INFO: GPS data processed {"connection_id":232226,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:48:12] local.INFO: Acknowledgment sent {"connection_id":232226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:48:15] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:48:15] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:48:15] local.INFO: IMEI packet received {"connection_id":229127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":229127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:48:20] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:48:20] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:48:20] local.INFO: IMEI packet received {"connection_id":229127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":229127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:48:21] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:48:21] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:48:21] local.INFO: Packet analysis {"connection_id":229127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:48:21] local.INFO: Extracted packet for processing {"connection_id":229127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:21] 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-11-04 03:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:48:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:48:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":229127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:48:21] local.INFO: GPS data processed {"connection_id":229127,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:48:21] local.INFO: Acknowledgment sent {"connection_id":229127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:48:26] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:48:26] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:48:26] local.INFO: Packet analysis {"connection_id":229127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:48:26] local.INFO: Extracted packet for processing {"connection_id":229127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:48:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:26] 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-11-04 03:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:48:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:48:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":229127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:48:26] local.INFO: GPS data processed {"connection_id":229127,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:48:26] local.INFO: Acknowledgment sent {"connection_id":229127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:48:35] local.INFO: TCP Data received {"connection_id":232227,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:48:35] local.INFO: Processing buffer {"connection_id":232227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:48:35] local.INFO: IMEI packet received {"connection_id":232227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":232227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:48:40] local.INFO: TCP Data received {"connection_id":232227,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:48:40] local.INFO: Processing buffer {"connection_id":232227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:48:40] local.INFO: IMEI packet received {"connection_id":232227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":232227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:48:41] local.INFO: TCP Data received {"connection_id":232227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:48:41] local.INFO: Processing buffer {"connection_id":232227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:48:41] local.INFO: Packet analysis {"connection_id":232227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:48:41] local.INFO: Extracted packet for processing {"connection_id":232227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:48:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:48:41] 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-11-04 03:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:48:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":232227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:48:41] local.INFO: GPS data processed {"connection_id":232227,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:48:41] local.INFO: Acknowledgment sent {"connection_id":232227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:49:10] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:49:10] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:49:10] local.INFO: IMEI packet received {"connection_id":229128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":229128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:49:12] local.INFO: TCP Data received {"connection_id":232227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:49:12] local.INFO: Processing buffer {"connection_id":232227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:49:12] local.INFO: Packet analysis {"connection_id":232227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:49:12] local.INFO: Extracted packet for processing {"connection_id":232227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:49:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:49:12] 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-11-04 03: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-11-04 03:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":232227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:49:12] local.INFO: GPS data processed {"connection_id":232227,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:49:12] local.INFO: Acknowledgment sent {"connection_id":232227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:49:15] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:49:15] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:49:15] local.INFO: IMEI packet received {"connection_id":229128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":229128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:49:18] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:49:18] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:49:18] local.INFO: Packet analysis {"connection_id":229128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:49:18] local.INFO: Extracted packet for processing {"connection_id":229128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:18] 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-11-04 03:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:49:18] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:49:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":229128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:49:18] local.INFO: GPS data processed {"connection_id":229128,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:49:18] local.INFO: Acknowledgment sent {"connection_id":229128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:49:35] local.INFO: TCP Data received {"connection_id":229129,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:49:35] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:49:35] local.INFO: IMEI packet received {"connection_id":229129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":229129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:49:40] local.INFO: TCP Data received {"connection_id":229129,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:49:40] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:49:40] local.INFO: IMEI packet received {"connection_id":229129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":229129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:49:41] local.INFO: TCP Data received {"connection_id":229129,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:49:41] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:49:41] local.INFO: Packet analysis {"connection_id":229129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:49:41] local.INFO: Extracted packet for processing {"connection_id":229129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:49:41] 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-11-04 03:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":229129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:49:41] local.INFO: GPS data processed {"connection_id":229129,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:49:41] local.INFO: Acknowledgment sent {"connection_id":229129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:49:49] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:49:49] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:49:49] local.INFO: Packet analysis {"connection_id":229128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:49:49] local.INFO: Extracted packet for processing {"connection_id":229128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:49:49] 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-11-04 03:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:49:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:49:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":229128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:49:49] local.INFO: GPS data processed {"connection_id":229128,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:49:49] local.INFO: Acknowledgment sent {"connection_id":229128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:50:09] local.INFO: TCP Data received {"connection_id":232228,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:50:10] local.INFO: Processing buffer {"connection_id":232228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:50:10] local.INFO: IMEI packet received {"connection_id":232228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":232228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:50:12] local.INFO: TCP Data received {"connection_id":229129,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:50:12] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:50:12] local.INFO: Packet analysis {"connection_id":229129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:50:12] local.INFO: Extracted packet for processing {"connection_id":229129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:50:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:50:12] 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-11-04 03: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-11-04 03:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":229129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:50:12] local.INFO: GPS data processed {"connection_id":229129,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:50:12] local.INFO: Acknowledgment sent {"connection_id":229129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:50:15] local.INFO: TCP Data received {"connection_id":232228,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:50:15] local.INFO: Processing buffer {"connection_id":232228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:50:15] local.INFO: IMEI packet received {"connection_id":232228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":232228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:50:16] local.INFO: TCP Data received {"connection_id":232228,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:50:16] local.INFO: Processing buffer {"connection_id":232228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:50:16] local.INFO: Packet analysis {"connection_id":232228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:50:16] local.INFO: Extracted packet for processing {"connection_id":232228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:50: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-11-04 03:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:16] 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-11-04 03:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:50: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:50: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-11-04 03:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:50:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:50:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":232228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:50:16] local.INFO: GPS data processed {"connection_id":232228,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:50:16] local.INFO: Acknowledgment sent {"connection_id":232228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:50:35] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:50:35] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:50:35] local.INFO: IMEI packet received {"connection_id":230385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":230385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:50:40] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:50:40] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:50:40] local.INFO: IMEI packet received {"connection_id":230385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":230385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:50:40] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:50:40] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:50:40] local.INFO: Packet analysis {"connection_id":230385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:50:40] local.INFO: Extracted packet for processing {"connection_id":230385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:50:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:50:40] 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-11-04 03:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:50:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:50:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":230385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:50:40] local.INFO: GPS data processed {"connection_id":230385,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:50:40] local.INFO: Acknowledgment sent {"connection_id":230385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:50:48] local.INFO: TCP Data received {"connection_id":232228,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:50:48] local.INFO: Processing buffer {"connection_id":232228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:50:48] local.INFO: Packet analysis {"connection_id":232228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:50:48] local.INFO: Extracted packet for processing {"connection_id":232228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:50:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:50:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":232228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:50:48] local.INFO: GPS data processed {"connection_id":232228,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:50:48] local.INFO: Acknowledgment sent {"connection_id":232228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:51:09] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:51:09] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:51:09] local.INFO: IMEI packet received {"connection_id":229130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":229130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:51:11] local.INFO: TCP Data received {"connection_id":230385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:51:11] local.INFO: Processing buffer {"connection_id":230385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37b9238012ce51bc007234b90000900802b..."} 
[2026-11-04 03:51:11] local.INFO: Packet analysis {"connection_id":230385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:51:11] local.INFO: Extracted packet for processing {"connection_id":230385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37b"} 
[2026-11-04 03:51:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198424576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793744147000,"timestamp_ms":1793744147000,"timestamp_seconds":1793744147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37b9238"} 
[2026-11-04 03:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:51:11] 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-11-04 03: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-11-04 03:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198424576001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198424576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:51:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:51:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198424576001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":230385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:51:11] local.INFO: GPS data processed {"connection_id":230385,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:51:11] local.INFO: Acknowledgment sent {"connection_id":230385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:51:16] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:51:16] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:51:16] local.INFO: IMEI packet received {"connection_id":229130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":229130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:51:21] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:51:21] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:51:21] local.INFO: Packet analysis {"connection_id":229130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:51:21] local.INFO: Extracted packet for processing {"connection_id":229130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:21] 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-11-04 03:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:51:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:51:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":229130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:51:22] local.INFO: GPS data processed {"connection_id":229130,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:51:22] local.INFO: Acknowledgment sent {"connection_id":229130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:51:35] local.INFO: TCP Data received {"connection_id":232229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:51:35] local.INFO: Processing buffer {"connection_id":232229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:51:35] local.INFO: IMEI packet received {"connection_id":232229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":232229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:51:40] local.INFO: TCP Data received {"connection_id":232229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:51:40] local.INFO: Processing buffer {"connection_id":232229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:51:40] local.INFO: IMEI packet received {"connection_id":232229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":232229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:51:41] local.INFO: TCP Data received {"connection_id":232229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:51:41] local.INFO: Processing buffer {"connection_id":232229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:51:41] local.INFO: Packet analysis {"connection_id":232229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:51:41] local.INFO: Extracted packet for processing {"connection_id":232229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:51:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 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-11-04 03:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:51:41] 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-11-04 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-11-04 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-11-04 03:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:51:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":232229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:51:41] local.INFO: GPS data processed {"connection_id":232229,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:51:41] local.INFO: Acknowledgment sent {"connection_id":232229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:51:52] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:51:53] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:51:53] local.INFO: Packet analysis {"connection_id":229130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:51:53] local.INFO: Extracted packet for processing {"connection_id":229130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:51:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:51:53] 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-11-04 03:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:51:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:51:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":229130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:51:53] local.INFO: GPS data processed {"connection_id":229130,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:51:53] local.INFO: Acknowledgment sent {"connection_id":229130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:52:09] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:52:09] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:52:09] local.INFO: IMEI packet received {"connection_id":229131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":229131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:52:12] local.INFO: TCP Data received {"connection_id":232229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:52:12] local.INFO: Processing buffer {"connection_id":232229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:52:12] local.INFO: Packet analysis {"connection_id":232229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:52:12] local.INFO: Extracted packet for processing {"connection_id":232229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:52:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 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-11-04 03:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:52:12] 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-11-04 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-11-04 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-11-04 03:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:52:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":232229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:52:12] local.INFO: GPS data processed {"connection_id":232229,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:52:12] local.INFO: Acknowledgment sent {"connection_id":232229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:52:15] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:52:15] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:52:15] local.INFO: IMEI packet received {"connection_id":229131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":229131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:52:17] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:52:17] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a37cb348012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:52:17] local.INFO: Packet analysis {"connection_id":229131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:52:17] local.INFO: Extracted packet for processing {"connection_id":229131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a37c"} 
[2026-11-04 03:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198443520001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:17] 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-11-04 03:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793744221000,"timestamp_ms":1793744221000,"timestamp_seconds":1793744221,"priority":1,"record_length":96,"hex_timestamp":"000001a1a37cb348"} 
[2026-11-04 03:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 03:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198443520001,"66":26582,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198443520001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:52:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:52:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198443520001,"power":26582,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":229131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:52:17] local.INFO: GPS data processed {"connection_id":229131,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:52:17] local.INFO: Acknowledgment sent {"connection_id":229131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:52:35] local.INFO: TCP Data received {"connection_id":230386,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:52:35] local.INFO: Processing buffer {"connection_id":230386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:52:35] local.INFO: IMEI packet received {"connection_id":230386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":230386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:52:40] local.INFO: TCP Data received {"connection_id":230386,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:52:40] local.INFO: Processing buffer {"connection_id":230386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:52:40] local.INFO: IMEI packet received {"connection_id":230386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":230386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:52:41] local.INFO: TCP Data received {"connection_id":230386,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:52:41] local.INFO: Processing buffer {"connection_id":230386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:52:41] local.INFO: Packet analysis {"connection_id":230386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:52:41] local.INFO: Extracted packet for processing {"connection_id":230386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:52:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 03:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:52:41] 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-11-04 03:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":230386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:52:41] local.INFO: GPS data processed {"connection_id":230386,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:52:41] local.INFO: Acknowledgment sent {"connection_id":230386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:52:49] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:52:49] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:52:49] local.INFO: Packet analysis {"connection_id":229131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:52:49] local.INFO: Extracted packet for processing {"connection_id":229131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:52:49] 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-11-04 03:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:52:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:52:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":229131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:52:49] local.INFO: GPS data processed {"connection_id":229131,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:52:49] local.INFO: Acknowledgment sent {"connection_id":229131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:53:10] local.INFO: TCP Data received {"connection_id":230387,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:53:10] local.INFO: Processing buffer {"connection_id":230387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:53:10] local.INFO: IMEI packet received {"connection_id":230387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":230387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:53:12] local.INFO: TCP Data received {"connection_id":230386,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:53:12] local.INFO: Processing buffer {"connection_id":230386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:53:12] local.INFO: Packet analysis {"connection_id":230386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:53:12] local.INFO: Extracted packet for processing {"connection_id":230386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 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-11-04 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:53:12] 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-11-04 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-11-04 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-11-04 03:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":230386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:53:12] local.INFO: GPS data processed {"connection_id":230386,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:53:12] local.INFO: Acknowledgment sent {"connection_id":230386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:53:15] local.INFO: TCP Data received {"connection_id":230387,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:53:15] local.INFO: Processing buffer {"connection_id":230387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:53:15] local.INFO: IMEI packet received {"connection_id":230387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":230387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:53:17] local.INFO: TCP Data received {"connection_id":230387,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:53:17] local.INFO: Processing buffer {"connection_id":230387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:53:17] local.INFO: Packet analysis {"connection_id":230387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:53:17] local.INFO: Extracted packet for processing {"connection_id":230387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:17] 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-11-04 03:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:53:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:53:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":230387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:53:17] local.INFO: GPS data processed {"connection_id":230387,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:53:17] local.INFO: Acknowledgment sent {"connection_id":230387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:53:35] local.INFO: TCP Data received {"connection_id":232230,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:53:35] local.INFO: Processing buffer {"connection_id":232230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:53:35] local.INFO: IMEI packet received {"connection_id":232230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":232230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:53:40] local.INFO: TCP Data received {"connection_id":232230,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:53:40] local.INFO: Processing buffer {"connection_id":232230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:53:40] local.INFO: IMEI packet received {"connection_id":232230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":232230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:53:41] local.INFO: TCP Data received {"connection_id":232230,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:53:41] local.INFO: Processing buffer {"connection_id":232230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:53:41] local.INFO: Packet analysis {"connection_id":232230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:53:41] local.INFO: Extracted packet for processing {"connection_id":232230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:53:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 03:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:53:41] 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-11-04 03:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":232230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:53:41] local.INFO: GPS data processed {"connection_id":232230,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:53:41] local.INFO: Acknowledgment sent {"connection_id":232230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:53:48] local.INFO: TCP Data received {"connection_id":230387,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:53:48] local.INFO: Processing buffer {"connection_id":230387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:53:48] local.INFO: Packet analysis {"connection_id":230387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:53:48] local.INFO: Extracted packet for processing {"connection_id":230387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:53:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:53:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":230387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:53:48] local.INFO: GPS data processed {"connection_id":230387,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:53:48] local.INFO: Acknowledgment sent {"connection_id":230387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:54:09] local.INFO: TCP Data received {"connection_id":228651,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:54:09] local.INFO: Processing buffer {"connection_id":228651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:54:09] local.INFO: IMEI packet received {"connection_id":228651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":228651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:54:12] local.INFO: TCP Data received {"connection_id":232230,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:54:12] local.INFO: Processing buffer {"connection_id":232230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:54:12] local.INFO: Packet analysis {"connection_id":232230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:54:12] local.INFO: Extracted packet for processing {"connection_id":232230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 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-11-04 03:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:54:12] 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-11-04 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-11-04 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-11-04 03:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:54:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":232230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:54:12] local.INFO: GPS data processed {"connection_id":232230,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:54:12] local.INFO: Acknowledgment sent {"connection_id":232230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:54:15] local.INFO: TCP Data received {"connection_id":228651,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:54:15] local.INFO: Processing buffer {"connection_id":228651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:54:15] local.INFO: IMEI packet received {"connection_id":228651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":228651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:54:18] local.INFO: TCP Data received {"connection_id":228651,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:54:18] local.INFO: Processing buffer {"connection_id":228651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:54:18] local.INFO: Packet analysis {"connection_id":228651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:54:18] local.INFO: Extracted packet for processing {"connection_id":228651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:18] 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-11-04 03:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:54:18] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:54:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":228651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:54:18] local.INFO: GPS data processed {"connection_id":228651,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:54:18] local.INFO: Acknowledgment sent {"connection_id":228651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:54:35] local.INFO: TCP Data received {"connection_id":228652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:54:35] local.INFO: Processing buffer {"connection_id":228652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:54:35] local.INFO: IMEI packet received {"connection_id":228652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":228652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:54:40] local.INFO: TCP Data received {"connection_id":228652,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:54:40] local.INFO: Processing buffer {"connection_id":228652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:54:40] local.INFO: IMEI packet received {"connection_id":228652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":228652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:54:41] local.INFO: TCP Data received {"connection_id":228652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:54:41] local.INFO: Processing buffer {"connection_id":228652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:54:41] local.INFO: Packet analysis {"connection_id":228652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:54:41] local.INFO: Extracted packet for processing {"connection_id":228652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 03:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:54:41] 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-11-04 03:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":228652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:54:41] local.INFO: GPS data processed {"connection_id":228652,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:54:41] local.INFO: Acknowledgment sent {"connection_id":228652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:54:49] local.INFO: TCP Data received {"connection_id":228651,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:54:49] local.INFO: Processing buffer {"connection_id":228651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:54:49] local.INFO: Packet analysis {"connection_id":228651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:54:49] local.INFO: Extracted packet for processing {"connection_id":228651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:54:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:54:49] 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-11-04 03:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:54:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:54:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":228651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:54:50] local.INFO: GPS data processed {"connection_id":228651,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:54:50] local.INFO: Acknowledgment sent {"connection_id":228651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:55:09] local.INFO: TCP Data received {"connection_id":232231,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:55:09] local.INFO: Processing buffer {"connection_id":232231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:55:09] local.INFO: IMEI packet received {"connection_id":232231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":232231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:55:12] local.INFO: TCP Data received {"connection_id":228652,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:55:12] local.INFO: Processing buffer {"connection_id":228652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:55:12] local.INFO: Packet analysis {"connection_id":228652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:55:12] local.INFO: Extracted packet for processing {"connection_id":228652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 03:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:55:12] 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-11-04 03: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-11-04 03:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":228652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:55:12] local.INFO: GPS data processed {"connection_id":228652,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:55:12] local.INFO: Acknowledgment sent {"connection_id":228652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:55:15] local.INFO: TCP Data received {"connection_id":232231,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:55:15] local.INFO: Processing buffer {"connection_id":232231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:55:15] local.INFO: IMEI packet received {"connection_id":232231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":232231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:55:16] local.INFO: TCP Data received {"connection_id":232231,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:55:17] local.INFO: Processing buffer {"connection_id":232231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:55:17] local.INFO: Packet analysis {"connection_id":232231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:55:17] local.INFO: Extracted packet for processing {"connection_id":232231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:17] 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-11-04 03:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:55:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:55:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":232231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:55:17] local.INFO: GPS data processed {"connection_id":232231,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:55:17] local.INFO: Acknowledgment sent {"connection_id":232231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:55:35] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:55:35] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:55:35] local.INFO: IMEI packet received {"connection_id":230388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":230388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:55:42] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:55:42] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:55:42] local.INFO: IMEI packet received {"connection_id":230388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":230388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:55:45] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:55:45] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:55:45] local.INFO: Packet analysis {"connection_id":230388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:55:45] local.INFO: Extracted packet for processing {"connection_id":230388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:55:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 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-11-04 03:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:55:45] 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-11-04 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-11-04 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-11-04 03:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:55:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:55:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:55:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":230388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:55:45] local.INFO: GPS data processed {"connection_id":230388,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:55:45] local.INFO: Acknowledgment sent {"connection_id":230388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:55:48] local.INFO: TCP Data received {"connection_id":232231,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:55:48] local.INFO: Processing buffer {"connection_id":232231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:55:48] local.INFO: Packet analysis {"connection_id":232231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:55:48] local.INFO: Extracted packet for processing {"connection_id":232231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:55:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:55:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":232231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:55:48] local.INFO: GPS data processed {"connection_id":232231,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:55:48] local.INFO: Acknowledgment sent {"connection_id":232231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:56:09] local.INFO: TCP Data received {"connection_id":232232,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:56:09] local.INFO: Processing buffer {"connection_id":232232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:56:09] local.INFO: IMEI packet received {"connection_id":232232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":232232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:56:15] local.INFO: TCP Data received {"connection_id":232232,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:56:15] local.INFO: Processing buffer {"connection_id":232232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:56:15] local.INFO: IMEI packet received {"connection_id":232232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":232232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:56:16] local.INFO: TCP Data received {"connection_id":232232,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:56:16] local.INFO: Processing buffer {"connection_id":232232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:56:16] local.INFO: Packet analysis {"connection_id":232232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:56:16] local.INFO: Extracted packet for processing {"connection_id":232232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:16] 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-11-04 03:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":232232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:56:16] local.INFO: GPS data processed {"connection_id":232232,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:56:16] local.INFO: Acknowledgment sent {"connection_id":232232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:56:16] local.INFO: TCP Data received {"connection_id":230388,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:56:16] local.INFO: Processing buffer {"connection_id":230388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3802a00012ce51bc007234b90000900802a..."} 
[2026-11-04 03:56:16] local.INFO: Packet analysis {"connection_id":230388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:56:16] local.INFO: Extracted packet for processing {"connection_id":230388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a380"} 
[2026-11-04 03:56:16] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198501632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793744448000,"timestamp_ms":1793744448000,"timestamp_seconds":1793744448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3802a00"} 
[2026-11-04 03:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 03:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198501632001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198501632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:56:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198501632001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":230388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:56:16] local.INFO: GPS data processed {"connection_id":230388,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:56:16] local.INFO: Acknowledgment sent {"connection_id":230388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:56:35] local.INFO: TCP Data received {"connection_id":228653,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:56:35] local.INFO: Processing buffer {"connection_id":228653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:56:35] local.INFO: IMEI packet received {"connection_id":228653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":228653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:56:40] local.INFO: TCP Data received {"connection_id":228653,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:56:40] local.INFO: Processing buffer {"connection_id":228653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:56:40] local.INFO: IMEI packet received {"connection_id":228653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":228653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:56:41] local.INFO: TCP Data received {"connection_id":228653,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:56:41] local.INFO: Processing buffer {"connection_id":228653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:56:41] local.INFO: Packet analysis {"connection_id":228653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:56:41] local.INFO: Extracted packet for processing {"connection_id":228653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:56:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 03:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:56:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:56:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:56:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":228653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:56:41] local.INFO: GPS data processed {"connection_id":228653,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:56:41] local.INFO: Acknowledgment sent {"connection_id":228653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:56:48] local.INFO: TCP Data received {"connection_id":232232,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:56:48] local.INFO: Processing buffer {"connection_id":232232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:56:48] local.INFO: Packet analysis {"connection_id":232232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:56:48] local.INFO: Extracted packet for processing {"connection_id":232232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:56:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:56:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":232232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:56:48] local.INFO: GPS data processed {"connection_id":232232,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:56:48] local.INFO: Acknowledgment sent {"connection_id":232232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:57:12] local.INFO: TCP Data received {"connection_id":228653,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:57:12] local.INFO: Processing buffer {"connection_id":228653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:57:12] local.INFO: Packet analysis {"connection_id":228653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:57:12] local.INFO: Extracted packet for processing {"connection_id":228653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:57:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 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-11-04 03:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:57:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:57:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":228653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:57:12] local.INFO: GPS data processed {"connection_id":228653,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:57:12] local.INFO: Acknowledgment sent {"connection_id":228653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:57:15] local.INFO: TCP Data received {"connection_id":230389,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:57:15] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:57:15] local.INFO: IMEI packet received {"connection_id":230389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":230389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:57:20] local.INFO: TCP Data received {"connection_id":230389,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:57:20] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:57:20] local.INFO: IMEI packet received {"connection_id":230389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":230389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:57:21] local.INFO: TCP Data received {"connection_id":230389,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:57:21] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:57:21] local.INFO: Packet analysis {"connection_id":230389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:57:21] local.INFO: Extracted packet for processing {"connection_id":230389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:57:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:57: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-11-04 03:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:21] 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-11-04 03:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:57: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:57: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-11-04 03:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:57:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:57:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":230389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:57:21] local.INFO: GPS data processed {"connection_id":230389,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:57:21] local.INFO: Acknowledgment sent {"connection_id":230389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:57:26] local.INFO: TCP Data received {"connection_id":230389,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:57:26] local.INFO: Processing buffer {"connection_id":230389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3814b10012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:57:26] local.INFO: Packet analysis {"connection_id":230389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:57:26] local.INFO: Extracted packet for processing {"connection_id":230389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a381"} 
[2026-11-04 03:57:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198520576001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:26] 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-11-04 03:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793744522000,"timestamp_ms":1793744522000,"timestamp_seconds":1793744522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3814b10"} 
[2026-11-04 03:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 03:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198520576001,"66":26560,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198520576001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:57:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:57:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198520576001,"power":26560,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":230389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:57:26] local.INFO: GPS data processed {"connection_id":230389,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:57:26] local.INFO: Acknowledgment sent {"connection_id":230389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:57:35] local.INFO: TCP Data received {"connection_id":232233,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:57:35] local.INFO: Processing buffer {"connection_id":232233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:57:35] local.INFO: IMEI packet received {"connection_id":232233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":232233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:57:40] local.INFO: TCP Data received {"connection_id":232233,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:57:40] local.INFO: Processing buffer {"connection_id":232233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:57:40] local.INFO: IMEI packet received {"connection_id":232233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":232233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:57:41] local.INFO: TCP Data received {"connection_id":232233,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:57:41] local.INFO: Processing buffer {"connection_id":232233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:57:41] local.INFO: Packet analysis {"connection_id":232233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:57:41] local.INFO: Extracted packet for processing {"connection_id":232233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:57:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 03:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:57:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":232233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:57:41] local.INFO: GPS data processed {"connection_id":232233,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:57:41] local.INFO: Acknowledgment sent {"connection_id":232233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:58:10] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:58:10] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:58:10] local.INFO: IMEI packet received {"connection_id":229132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":229132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:58:12] local.INFO: TCP Data received {"connection_id":232233,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:58:12] local.INFO: Processing buffer {"connection_id":232233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:58:12] local.INFO: Packet analysis {"connection_id":232233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:58:12] local.INFO: Extracted packet for processing {"connection_id":232233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:58:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 03:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 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-11-04 03:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 03:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:58:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":232233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:58:12] local.INFO: GPS data processed {"connection_id":232233,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:58:12] local.INFO: Acknowledgment sent {"connection_id":232233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:58:15] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:58:15] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:58:15] local.INFO: IMEI packet received {"connection_id":229132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":229132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:58:16] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:58:16] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:58:16] local.INFO: Packet analysis {"connection_id":229132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:58:16] local.INFO: Extracted packet for processing {"connection_id":229132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:16] 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-11-04 03:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 03:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 03:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:58:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:58:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":229132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:58:16] local.INFO: GPS data processed {"connection_id":229132,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:58:16] local.INFO: Acknowledgment sent {"connection_id":229132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:58:35] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:58:35] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:58:35] local.INFO: IMEI packet received {"connection_id":230390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":230390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:58:40] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:58:40] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:58:40] local.INFO: IMEI packet received {"connection_id":230390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":230390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:58:41] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:58:41] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:58:41] local.INFO: Packet analysis {"connection_id":230390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:58:41] local.INFO: Extracted packet for processing {"connection_id":230390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:58:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 03:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":230390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:58:41] local.INFO: GPS data processed {"connection_id":230390,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:58:41] local.INFO: Acknowledgment sent {"connection_id":230390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:58:48] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:58:48] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:58:48] local.INFO: Packet analysis {"connection_id":229132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:58:48] local.INFO: Extracted packet for processing {"connection_id":229132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 03:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 03:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:58:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:58:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":229132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:58:48] local.INFO: GPS data processed {"connection_id":229132,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:58:48] local.INFO: Acknowledgment sent {"connection_id":229132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:59:09] local.INFO: TCP Data received {"connection_id":230391,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:59:09] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:59:09] local.INFO: IMEI packet received {"connection_id":230391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 03:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":230391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:59:12] local.INFO: TCP Data received {"connection_id":230390,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:59:12] local.INFO: Processing buffer {"connection_id":230390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:59:12] local.INFO: Packet analysis {"connection_id":230390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:59:12] local.INFO: Extracted packet for processing {"connection_id":230390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 03:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:59:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":230390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:59:12] local.INFO: GPS data processed {"connection_id":230390,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:59:12] local.INFO: Acknowledgment sent {"connection_id":230390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:59:15] local.INFO: TCP Data received {"connection_id":230391,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:59:15] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 03:59:15] local.INFO: IMEI packet received {"connection_id":230391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 03:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":230391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:59:16] local.INFO: TCP Data received {"connection_id":230391,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:59:16] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:59:16] local.INFO: Packet analysis {"connection_id":230391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:59:16] local.INFO: Extracted packet for processing {"connection_id":230391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03: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-11-04 03:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:16] 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-11-04 03:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 03:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 03:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03: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-11-04 03:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:59:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:59:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":230391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:59:16] local.INFO: GPS data processed {"connection_id":230391,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:59:16] local.INFO: Acknowledgment sent {"connection_id":230391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:59:35] local.INFO: TCP Data received {"connection_id":229133,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:59:35] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:59:35] local.INFO: IMEI packet received {"connection_id":229133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 03:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":229133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 03:59:40] local.INFO: TCP Data received {"connection_id":229133,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:59:40] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 03:59:40] local.INFO: IMEI packet received {"connection_id":229133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 03:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":229133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 03:59:41] local.INFO: TCP Data received {"connection_id":229133,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:59:41] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 03:59:41] local.INFO: Packet analysis {"connection_id":229133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:59:41] local.INFO: Extracted packet for processing {"connection_id":229133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 03:59:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 03:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 03:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 03:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 03:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 03:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 03:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 03:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 03:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 03:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 03:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 03:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 03:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 03:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":229133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:59:41] local.INFO: GPS data processed {"connection_id":229133,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:59:41] local.INFO: Acknowledgment sent {"connection_id":229133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 03:59:48] local.INFO: TCP Data received {"connection_id":230391,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:59:48] local.INFO: Processing buffer {"connection_id":230391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 03:59:48] local.INFO: Packet analysis {"connection_id":230391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:59:48] local.INFO: Extracted packet for processing {"connection_id":230391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 03:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 03:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 03:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 03:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 03:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 03:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 03:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 03:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 03:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 03:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 03:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 03:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 03:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 03:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 03:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 03:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 03:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 03:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 03:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 03:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 03:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 03:59:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 03:59:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 03:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 03:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 03:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 03:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":230391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 03:59:48] local.INFO: GPS data processed {"connection_id":230391,"processed":1,"errors":0,"total":1} 
[2026-11-04 03:59:48] local.INFO: Acknowledgment sent {"connection_id":230391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:00:09] local.INFO: TCP Data received {"connection_id":232234,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:00:09] local.INFO: Processing buffer {"connection_id":232234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:00:09] local.INFO: IMEI packet received {"connection_id":232234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":232234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:00:12] local.INFO: TCP Data received {"connection_id":229133,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:00:12] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:00:12] local.INFO: Packet analysis {"connection_id":229133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 04:00:12] local.INFO: Extracted packet for processing {"connection_id":229133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 04:00:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 04:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:00:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":229133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:00:12] local.INFO: GPS data processed {"connection_id":229133,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:00:12] local.INFO: Acknowledgment sent {"connection_id":229133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:00:15] local.INFO: TCP Data received {"connection_id":232234,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:00:15] local.INFO: Processing buffer {"connection_id":232234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:00:15] local.INFO: IMEI packet received {"connection_id":232234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":232234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:00:16] local.INFO: TCP Data received {"connection_id":232234,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:00:16] local.INFO: Processing buffer {"connection_id":232234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:00:16] local.INFO: Packet analysis {"connection_id":232234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:00:16] local.INFO: Extracted packet for processing {"connection_id":232234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:16] 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-11-04 04:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 04:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 04:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:00:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:00:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":232234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:00:16] local.INFO: GPS data processed {"connection_id":232234,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:00:16] local.INFO: Acknowledgment sent {"connection_id":232234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:00:35] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:00:35] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:00:35] local.INFO: IMEI packet received {"connection_id":230392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":230392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:00:40] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:00:40] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:00:40] local.INFO: IMEI packet received {"connection_id":230392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":230392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:00:41] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:00:41] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:00:41] local.INFO: Packet analysis {"connection_id":230392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 04:00:41] local.INFO: Extracted packet for processing {"connection_id":230392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 04:00:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 04:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:00:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:00:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:00:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":230392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:00:41] local.INFO: GPS data processed {"connection_id":230392,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:00:41] local.INFO: Acknowledgment sent {"connection_id":230392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:00:48] local.INFO: TCP Data received {"connection_id":232234,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:00:48] local.INFO: Processing buffer {"connection_id":232234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:00:48] local.INFO: Packet analysis {"connection_id":232234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:00:48] local.INFO: Extracted packet for processing {"connection_id":232234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 04:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 04:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232234,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:00:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:00:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":232234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:00:48] local.INFO: GPS data processed {"connection_id":232234,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:00:48] local.INFO: Acknowledgment sent {"connection_id":232234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:01:12] local.INFO: TCP Data received {"connection_id":230392,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:01:12] local.INFO: Processing buffer {"connection_id":230392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a384c1c8012ce51bc007234b900009008029..."} 
[2026-11-04 04:01:12] local.INFO: Packet analysis {"connection_id":230392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 04:01:12] local.INFO: Extracted packet for processing {"connection_id":230392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a384"} 
[2026-11-04 04:01:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198578688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793744749000,"timestamp_ms":1793744749000,"timestamp_seconds":1793744749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a384c1c8"} 
[2026-11-04 04:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198578688001,"66":24788,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198578688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:01:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198578688001,"power":24788,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":230392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:01:12] local.INFO: GPS data processed {"connection_id":230392,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:01:12] local.INFO: Acknowledgment sent {"connection_id":230392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:01:15] local.INFO: TCP Data received {"connection_id":228654,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:01:15] local.INFO: Processing buffer {"connection_id":228654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:01:15] local.INFO: IMEI packet received {"connection_id":228654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":228654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:01:20] local.INFO: TCP Data received {"connection_id":228654,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:01:20] local.INFO: Processing buffer {"connection_id":228654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:01:20] local.INFO: IMEI packet received {"connection_id":228654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":228654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:01:21] local.INFO: TCP Data received {"connection_id":228654,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:01:21] local.INFO: Processing buffer {"connection_id":228654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:01:21] local.INFO: Packet analysis {"connection_id":228654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:01:21] local.INFO: Extracted packet for processing {"connection_id":228654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:21] 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-11-04 04:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 04:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 04:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:01:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:01:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":228654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:01:21] local.INFO: GPS data processed {"connection_id":228654,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:01:21] local.INFO: Acknowledgment sent {"connection_id":228654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:01:25] local.INFO: TCP Data received {"connection_id":228654,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:01:25] local.INFO: Processing buffer {"connection_id":228654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:01:25] local.INFO: Packet analysis {"connection_id":228654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:01:25] local.INFO: Extracted packet for processing {"connection_id":228654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:01:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:25] 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-11-04 04:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 04:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 04:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:01:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:01:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":228654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:01:25] local.INFO: GPS data processed {"connection_id":228654,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:01:25] local.INFO: Acknowledgment sent {"connection_id":228654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:01:35] local.INFO: TCP Data received {"connection_id":232235,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:01:35] local.INFO: Processing buffer {"connection_id":232235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:01:35] local.INFO: IMEI packet received {"connection_id":232235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":232235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:01:40] local.INFO: TCP Data received {"connection_id":232235,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:01:40] local.INFO: Processing buffer {"connection_id":232235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:01:40] local.INFO: IMEI packet received {"connection_id":232235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":232235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:01:41] local.INFO: TCP Data received {"connection_id":232235,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:01:41] local.INFO: Processing buffer {"connection_id":232235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:01:41] local.INFO: Packet analysis {"connection_id":232235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:01:41] local.INFO: Extracted packet for processing {"connection_id":232235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 04:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":232235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:01:41] local.INFO: GPS data processed {"connection_id":232235,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:01:41] local.INFO: Acknowledgment sent {"connection_id":232235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:02:11] local.INFO: TCP Data received {"connection_id":230393,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:02:11] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:02:11] local.INFO: IMEI packet received {"connection_id":230393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":230393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:02:12] local.INFO: TCP Data received {"connection_id":232235,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:02:12] local.INFO: Processing buffer {"connection_id":232235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:02:12] local.INFO: Packet analysis {"connection_id":232235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:02:12] local.INFO: Extracted packet for processing {"connection_id":232235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 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-11-04 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:02:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":232235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:02:12] local.INFO: GPS data processed {"connection_id":232235,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:02:12] local.INFO: Acknowledgment sent {"connection_id":232235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:02:15] local.INFO: TCP Data received {"connection_id":230393,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:02:15] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:02:15] local.INFO: IMEI packet received {"connection_id":230393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":230393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:02:16] local.INFO: TCP Data received {"connection_id":230393,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:02:16] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a385e2d8012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:02:16] local.INFO: Packet analysis {"connection_id":230393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:02:16] local.INFO: Extracted packet for processing {"connection_id":230393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a385"} 
[2026-11-04 04:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:16] 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-11-04 04:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793744823000,"timestamp_ms":1793744823000,"timestamp_seconds":1793744823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a385e2d8"} 
[2026-11-04 04:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 04:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198597632001,"66":26528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:02:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:02:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198597632001,"power":26528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":230393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:02:16] local.INFO: GPS data processed {"connection_id":230393,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:02:16] local.INFO: Acknowledgment sent {"connection_id":230393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:02:35] local.INFO: TCP Data received {"connection_id":232236,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:02:35] local.INFO: Processing buffer {"connection_id":232236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:02:35] local.INFO: IMEI packet received {"connection_id":232236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":232236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:02:40] local.INFO: TCP Data received {"connection_id":232236,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:02:40] local.INFO: Processing buffer {"connection_id":232236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:02:40] local.INFO: IMEI packet received {"connection_id":232236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":232236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:02:41] local.INFO: TCP Data received {"connection_id":232236,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:02:41] local.INFO: Processing buffer {"connection_id":232236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:02:41] local.INFO: Packet analysis {"connection_id":232236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:02:41] local.INFO: Extracted packet for processing {"connection_id":232236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 04:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:02:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":232236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:02:41] local.INFO: GPS data processed {"connection_id":232236,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:02:41] local.INFO: Acknowledgment sent {"connection_id":232236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:02:48] local.INFO: TCP Data received {"connection_id":230393,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:02:48] local.INFO: Processing buffer {"connection_id":230393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:02:48] local.INFO: Packet analysis {"connection_id":230393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:02:48] local.INFO: Extracted packet for processing {"connection_id":230393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:02:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":230393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:02:48] local.INFO: GPS data processed {"connection_id":230393,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:02:48] local.INFO: Acknowledgment sent {"connection_id":230393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:03:09] local.INFO: TCP Data received {"connection_id":232237,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:03:09] local.INFO: Processing buffer {"connection_id":232237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:03:09] local.INFO: IMEI packet received {"connection_id":232237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":232237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:03:12] local.INFO: TCP Data received {"connection_id":232236,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:03:12] local.INFO: Processing buffer {"connection_id":232236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:03:12] local.INFO: Packet analysis {"connection_id":232236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:03:12] local.INFO: Extracted packet for processing {"connection_id":232236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 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-11-04 04:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:03:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":232236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:03:12] local.INFO: GPS data processed {"connection_id":232236,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:03:12] local.INFO: Acknowledgment sent {"connection_id":232236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:03:15] local.INFO: TCP Data received {"connection_id":232237,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:03:15] local.INFO: Processing buffer {"connection_id":232237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:03:15] local.INFO: IMEI packet received {"connection_id":232237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":232237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:03:16] local.INFO: TCP Data received {"connection_id":232237,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:03:16] local.INFO: Processing buffer {"connection_id":232237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:03:16] local.INFO: Packet analysis {"connection_id":232237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:03:16] local.INFO: Extracted packet for processing {"connection_id":232237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:16] 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-11-04 04:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:03:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:03:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":232237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:03:16] local.INFO: GPS data processed {"connection_id":232237,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:03:16] local.INFO: Acknowledgment sent {"connection_id":232237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:03:35] local.INFO: TCP Data received {"connection_id":228655,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:03:35] local.INFO: Processing buffer {"connection_id":228655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:03:35] local.INFO: IMEI packet received {"connection_id":228655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":228655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:03:40] local.INFO: TCP Data received {"connection_id":228655,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:03:40] local.INFO: Processing buffer {"connection_id":228655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:03:40] local.INFO: IMEI packet received {"connection_id":228655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":228655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:03:41] local.INFO: TCP Data received {"connection_id":228655,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:03:41] local.INFO: Processing buffer {"connection_id":228655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:03:41] local.INFO: Packet analysis {"connection_id":228655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:03:41] local.INFO: Extracted packet for processing {"connection_id":228655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 04:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":228655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:03:41] local.INFO: GPS data processed {"connection_id":228655,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:03:41] local.INFO: Acknowledgment sent {"connection_id":228655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:03:48] local.INFO: TCP Data received {"connection_id":232237,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:03:48] local.INFO: Processing buffer {"connection_id":232237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:03:48] local.INFO: Packet analysis {"connection_id":232237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:03:48] local.INFO: Extracted packet for processing {"connection_id":232237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:03:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:03:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":232237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:03:48] local.INFO: GPS data processed {"connection_id":232237,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:03:48] local.INFO: Acknowledgment sent {"connection_id":232237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:04:09] local.INFO: TCP Data received {"connection_id":228656,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:04:09] local.INFO: Processing buffer {"connection_id":228656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:04:09] local.INFO: IMEI packet received {"connection_id":228656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":228656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:04:12] local.INFO: TCP Data received {"connection_id":228655,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:04:12] local.INFO: Processing buffer {"connection_id":228655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:04:12] local.INFO: Packet analysis {"connection_id":228655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:04:12] local.INFO: Extracted packet for processing {"connection_id":228655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:04:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 04:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":228655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:04:12] local.INFO: GPS data processed {"connection_id":228655,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:04:12] local.INFO: Acknowledgment sent {"connection_id":228655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:04:15] local.INFO: TCP Data received {"connection_id":228656,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:04:15] local.INFO: Processing buffer {"connection_id":228656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:04:15] local.INFO: IMEI packet received {"connection_id":228656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":228656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:04:17] local.INFO: TCP Data received {"connection_id":228656,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:04:17] local.INFO: Processing buffer {"connection_id":228656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:04:17] local.INFO: Packet analysis {"connection_id":228656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:04:17] local.INFO: Extracted packet for processing {"connection_id":228656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:17] 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-11-04 04:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 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-11-04 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:04:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:04:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":228656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:04:17] local.INFO: GPS data processed {"connection_id":228656,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:04:17] local.INFO: Acknowledgment sent {"connection_id":228656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:04:35] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:04:35] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:04:35] local.INFO: IMEI packet received {"connection_id":230394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":230394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:04:40] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:04:40] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:04:40] local.INFO: IMEI packet received {"connection_id":230394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":230394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:04:41] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:04:41] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:04:41] local.INFO: Packet analysis {"connection_id":230394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:04:41] local.INFO: Extracted packet for processing {"connection_id":230394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 04:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":230394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:04:41] local.INFO: GPS data processed {"connection_id":230394,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:04:41] local.INFO: Acknowledgment sent {"connection_id":230394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:04:48] local.INFO: TCP Data received {"connection_id":228656,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:04:48] local.INFO: Processing buffer {"connection_id":228656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:04:48] local.INFO: Packet analysis {"connection_id":228656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:04:48] local.INFO: Extracted packet for processing {"connection_id":228656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:04:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:04:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":228656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:04:49] local.INFO: GPS data processed {"connection_id":228656,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:04:49] local.INFO: Acknowledgment sent {"connection_id":228656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:05:12] local.INFO: TCP Data received {"connection_id":230394,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:05:12] local.INFO: Processing buffer {"connection_id":230394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:05:12] local.INFO: Packet analysis {"connection_id":230394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:05:12] local.INFO: Extracted packet for processing {"connection_id":230394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 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-11-04 04:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:05: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-11-04 04:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":230394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:05:12] local.INFO: GPS data processed {"connection_id":230394,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:05:12] local.INFO: Acknowledgment sent {"connection_id":230394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:05:15] local.INFO: TCP Data received {"connection_id":232238,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:05:15] local.INFO: Processing buffer {"connection_id":232238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:05:15] local.INFO: IMEI packet received {"connection_id":232238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":232238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:05:20] local.INFO: TCP Data received {"connection_id":232238,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:05:20] local.INFO: Processing buffer {"connection_id":232238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:05:20] local.INFO: IMEI packet received {"connection_id":232238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":232238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:05:21] local.INFO: TCP Data received {"connection_id":232238,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:05:21] local.INFO: Processing buffer {"connection_id":232238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:05:21] local.INFO: Packet analysis {"connection_id":232238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:05:21] local.INFO: Extracted packet for processing {"connection_id":232238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:21] 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-11-04 04:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:05:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:05:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":232238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:05:21] local.INFO: GPS data processed {"connection_id":232238,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:05:21] local.INFO: Acknowledgment sent {"connection_id":232238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:05:26] local.INFO: TCP Data received {"connection_id":232238,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:05:26] local.INFO: Processing buffer {"connection_id":232238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:05:26] local.INFO: Packet analysis {"connection_id":232238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:05:26] local.INFO: Extracted packet for processing {"connection_id":232238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:26] 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-11-04 04:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:05:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:05:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":232238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:05:26] local.INFO: GPS data processed {"connection_id":232238,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:05:26] local.INFO: Acknowledgment sent {"connection_id":232238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:05:35] local.INFO: TCP Data received {"connection_id":228657,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:05:35] local.INFO: Processing buffer {"connection_id":228657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:05:35] local.INFO: IMEI packet received {"connection_id":228657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":228657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:05:40] local.INFO: TCP Data received {"connection_id":228657,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:05:40] local.INFO: Processing buffer {"connection_id":228657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:05:40] local.INFO: IMEI packet received {"connection_id":228657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":228657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:05:41] local.INFO: TCP Data received {"connection_id":228657,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:05:41] local.INFO: Processing buffer {"connection_id":228657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:05:41] local.INFO: Packet analysis {"connection_id":228657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:05:41] local.INFO: Extracted packet for processing {"connection_id":228657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:05:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 04:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:05:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:05:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:05:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":228657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:05:41] local.INFO: GPS data processed {"connection_id":228657,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:05:41] local.INFO: Acknowledgment sent {"connection_id":228657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:06:10] local.INFO: TCP Data received {"connection_id":228658,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:06:10] local.INFO: Processing buffer {"connection_id":228658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:06:10] local.INFO: IMEI packet received {"connection_id":228658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":228658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:06:13] local.INFO: TCP Data received {"connection_id":228657,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:06:13] local.INFO: Processing buffer {"connection_id":228657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3895990012ce51bc007234b90000900802a..."} 
[2026-11-04 04:06:13] local.INFO: Packet analysis {"connection_id":228657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:06:13] local.INFO: Extracted packet for processing {"connection_id":228657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a389"} 
[2026-11-04 04:06:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198655744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793745050000,"timestamp_ms":1793745050000,"timestamp_seconds":1793745050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3895990"} 
[2026-11-04 04:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 04:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198655744001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198655744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:06:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198655744001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":228657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:06:13] local.INFO: GPS data processed {"connection_id":228657,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:06:13] local.INFO: Acknowledgment sent {"connection_id":228657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:06:15] local.INFO: TCP Data received {"connection_id":228658,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:06:15] local.INFO: Processing buffer {"connection_id":228658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:06:15] local.INFO: IMEI packet received {"connection_id":228658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":228658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:06:16] local.INFO: TCP Data received {"connection_id":228658,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:06:16] local.INFO: Processing buffer {"connection_id":228658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:06:16] local.INFO: Packet analysis {"connection_id":228658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:06:16] local.INFO: Extracted packet for processing {"connection_id":228658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:16] 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-11-04 04:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:06:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:06:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":228658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:06:17] local.INFO: GPS data processed {"connection_id":228658,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:06:17] local.INFO: Acknowledgment sent {"connection_id":228658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:06:35] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:06:35] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:06:35] local.INFO: IMEI packet received {"connection_id":230395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":230395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:06:40] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:06:40] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:06:40] local.INFO: IMEI packet received {"connection_id":230395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":230395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:06:41] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:06:41] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:06:41] local.INFO: Packet analysis {"connection_id":230395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:06:41] local.INFO: Extracted packet for processing {"connection_id":230395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:06:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 04:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:06:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:06:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:06:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":230395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:06:41] local.INFO: GPS data processed {"connection_id":230395,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:06:41] local.INFO: Acknowledgment sent {"connection_id":230395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:06:48] local.INFO: TCP Data received {"connection_id":228658,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:06:48] local.INFO: Processing buffer {"connection_id":228658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:06:48] local.INFO: Packet analysis {"connection_id":228658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:06:48] local.INFO: Extracted packet for processing {"connection_id":228658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:06:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:06:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":228658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:06:48] local.INFO: GPS data processed {"connection_id":228658,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:06:48] local.INFO: Acknowledgment sent {"connection_id":228658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:07:09] local.INFO: TCP Data received {"connection_id":230396,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:07:09] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:07:09] local.INFO: IMEI packet received {"connection_id":230396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":230396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:07:12] local.INFO: TCP Data received {"connection_id":230395,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:07:12] local.INFO: Processing buffer {"connection_id":230395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:07:12] local.INFO: Packet analysis {"connection_id":230395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:07:12] local.INFO: Extracted packet for processing {"connection_id":230395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 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-11-04 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:07:12] 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-11-04 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-11-04 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-11-04 04:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:07:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:07:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":230395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:07:12] local.INFO: GPS data processed {"connection_id":230395,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:07:12] local.INFO: Acknowledgment sent {"connection_id":230395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:07:15] local.INFO: TCP Data received {"connection_id":230396,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:07:15] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:07:15] local.INFO: IMEI packet received {"connection_id":230396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":230396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:07:16] local.INFO: TCP Data received {"connection_id":230396,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:07:16] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38a7aa0012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:07:16] local.INFO: Packet analysis {"connection_id":230396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:07:16] local.INFO: Extracted packet for processing {"connection_id":230396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38a"} 
[2026-11-04 04:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198674688001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:16] 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-11-04 04:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745124000,"timestamp_ms":1793745124000,"timestamp_seconds":1793745124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38a7aa0"} 
[2026-11-04 04:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 04:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198674688001,"66":26473,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198674688001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:07:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:07:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198674688001,"power":26473,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":230396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:07:16] local.INFO: GPS data processed {"connection_id":230396,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:07:16] local.INFO: Acknowledgment sent {"connection_id":230396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:07:35] local.INFO: TCP Data received {"connection_id":228659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:07:35] local.INFO: Processing buffer {"connection_id":228659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:07:35] local.INFO: IMEI packet received {"connection_id":228659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":228659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:07:40] local.INFO: TCP Data received {"connection_id":228659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:07:40] local.INFO: Processing buffer {"connection_id":228659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:07:40] local.INFO: IMEI packet received {"connection_id":228659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":228659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:07:41] local.INFO: TCP Data received {"connection_id":228659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:07:41] local.INFO: Processing buffer {"connection_id":228659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:07:41] local.INFO: Packet analysis {"connection_id":228659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:07:41] local.INFO: Extracted packet for processing {"connection_id":228659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:07:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 04:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":228659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:07:41] local.INFO: GPS data processed {"connection_id":228659,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:07:41] local.INFO: Acknowledgment sent {"connection_id":228659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:07:48] local.INFO: TCP Data received {"connection_id":230396,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:07:48] local.INFO: Processing buffer {"connection_id":230396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:07:48] local.INFO: Packet analysis {"connection_id":230396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:07:48] local.INFO: Extracted packet for processing {"connection_id":230396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:07:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:07:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":230396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:07:48] local.INFO: GPS data processed {"connection_id":230396,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:07:48] local.INFO: Acknowledgment sent {"connection_id":230396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:08:09] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:08:09] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:08:09] local.INFO: IMEI packet received {"connection_id":229134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":229134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:08:12] local.INFO: TCP Data received {"connection_id":228659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:08:12] local.INFO: Processing buffer {"connection_id":228659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:08:12] local.INFO: Packet analysis {"connection_id":228659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:08:12] local.INFO: Extracted packet for processing {"connection_id":228659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:08:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 04:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:08:12] 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-11-04 04: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-11-04 04:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:08:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":228659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:08:12] local.INFO: GPS data processed {"connection_id":228659,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:08:12] local.INFO: Acknowledgment sent {"connection_id":228659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:08:15] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:08:15] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:08:15] local.INFO: IMEI packet received {"connection_id":229134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":229134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:08:16] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:08:16] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:08:16] local.INFO: Packet analysis {"connection_id":229134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:08:16] local.INFO: Extracted packet for processing {"connection_id":229134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:16] 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-11-04 04:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:08:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:08:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":229134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:08:16] local.INFO: GPS data processed {"connection_id":229134,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:08:16] local.INFO: Acknowledgment sent {"connection_id":229134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:08:35] local.INFO: TCP Data received {"connection_id":229135,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:08:35] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:08:35] local.INFO: IMEI packet received {"connection_id":229135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":229135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:08:40] local.INFO: TCP Data received {"connection_id":229135,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:08:40] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:08:40] local.INFO: IMEI packet received {"connection_id":229135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":229135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:08:41] local.INFO: TCP Data received {"connection_id":229135,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:08:41] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:08:41] local.INFO: Packet analysis {"connection_id":229135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:08:41] local.INFO: Extracted packet for processing {"connection_id":229135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 04:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":229135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:08:41] local.INFO: GPS data processed {"connection_id":229135,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:08:41] local.INFO: Acknowledgment sent {"connection_id":229135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:08:48] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:08:48] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:08:48] local.INFO: Packet analysis {"connection_id":229134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:08:48] local.INFO: Extracted packet for processing {"connection_id":229134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:08:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":229134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:08:48] local.INFO: GPS data processed {"connection_id":229134,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:08:48] local.INFO: Acknowledgment sent {"connection_id":229134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:09:12] local.INFO: TCP Data received {"connection_id":229135,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:09:12] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:09:12] local.INFO: Packet analysis {"connection_id":229135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:09:12] local.INFO: Extracted packet for processing {"connection_id":229135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:09:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 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-11-04 04:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:09:12] 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-11-04 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-11-04 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-11-04 04:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":229135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:09:12] local.INFO: GPS data processed {"connection_id":229135,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:09:12] local.INFO: Acknowledgment sent {"connection_id":229135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:09:15] local.INFO: TCP Data received {"connection_id":232239,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:09:15] local.INFO: Processing buffer {"connection_id":232239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:09:15] local.INFO: IMEI packet received {"connection_id":232239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":232239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:09:20] local.INFO: TCP Data received {"connection_id":232239,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:09:20] local.INFO: Processing buffer {"connection_id":232239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:09:20] local.INFO: IMEI packet received {"connection_id":232239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":232239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:09:21] local.INFO: TCP Data received {"connection_id":232239,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:09:21] local.INFO: Processing buffer {"connection_id":232239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:09:21] local.INFO: Packet analysis {"connection_id":232239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:09:21] local.INFO: Extracted packet for processing {"connection_id":232239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:21] 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-11-04 04:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:09:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:09:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":232239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:09:21] local.INFO: GPS data processed {"connection_id":232239,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:09:21] local.INFO: Acknowledgment sent {"connection_id":232239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:09:26] local.INFO: TCP Data received {"connection_id":232239,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:09:26] local.INFO: Processing buffer {"connection_id":232239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:09:26] local.INFO: Packet analysis {"connection_id":232239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:09:26] local.INFO: Extracted packet for processing {"connection_id":232239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:26] 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-11-04 04:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:09:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:09:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":232239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:09:26] local.INFO: GPS data processed {"connection_id":232239,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:09:26] local.INFO: Acknowledgment sent {"connection_id":232239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:09:35] local.INFO: TCP Data received {"connection_id":229136,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:09:35] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:09:35] local.INFO: IMEI packet received {"connection_id":229136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":229136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:09:40] local.INFO: TCP Data received {"connection_id":229136,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:09:40] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:09:40] local.INFO: IMEI packet received {"connection_id":229136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":229136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:09:41] local.INFO: TCP Data received {"connection_id":229136,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:09:41] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:09:41] local.INFO: Packet analysis {"connection_id":229136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:09:41] local.INFO: Extracted packet for processing {"connection_id":229136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 04:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:09:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":229136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:09:41] local.INFO: GPS data processed {"connection_id":229136,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:09:41] local.INFO: Acknowledgment sent {"connection_id":229136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:10:10] local.INFO: TCP Data received {"connection_id":228660,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:10:10] local.INFO: Processing buffer {"connection_id":228660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:10:10] local.INFO: IMEI packet received {"connection_id":228660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":228660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:10:12] local.INFO: TCP Data received {"connection_id":229136,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:10:12] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:10:12] local.INFO: Packet analysis {"connection_id":229136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:10:12] local.INFO: Extracted packet for processing {"connection_id":229136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:10:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 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-11-04 04:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:10:12] 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-11-04 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-11-04 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-11-04 04:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:10:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:10:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:10:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":229136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:10:12] local.INFO: GPS data processed {"connection_id":229136,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:10:12] local.INFO: Acknowledgment sent {"connection_id":229136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:10:15] local.INFO: TCP Data received {"connection_id":228660,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:10:15] local.INFO: Processing buffer {"connection_id":228660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:10:15] local.INFO: IMEI packet received {"connection_id":228660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":228660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:10:16] local.INFO: TCP Data received {"connection_id":228660,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:10:16] local.INFO: Processing buffer {"connection_id":228660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:10:16] local.INFO: Packet analysis {"connection_id":228660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:10:16] local.INFO: Extracted packet for processing {"connection_id":228660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:16] 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-11-04 04:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":228660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:10:16] local.INFO: GPS data processed {"connection_id":228660,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:10:16] local.INFO: Acknowledgment sent {"connection_id":228660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:10:35] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:10:35] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:10:35] local.INFO: IMEI packet received {"connection_id":230397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":230397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:10:40] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:10:40] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:10:40] local.INFO: IMEI packet received {"connection_id":230397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":230397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:10:41] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:10:41] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:10:41] local.INFO: Packet analysis {"connection_id":230397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:10:41] local.INFO: Extracted packet for processing {"connection_id":230397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 04:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:10:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":230397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:10:41] local.INFO: GPS data processed {"connection_id":230397,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:10:41] local.INFO: Acknowledgment sent {"connection_id":230397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:10:48] local.INFO: TCP Data received {"connection_id":228660,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:10:48] local.INFO: Processing buffer {"connection_id":228660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:10:48] local.INFO: Packet analysis {"connection_id":228660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:10:48] local.INFO: Extracted packet for processing {"connection_id":228660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:10:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:10:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":228660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:10:48] local.INFO: GPS data processed {"connection_id":228660,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:10:48] local.INFO: Acknowledgment sent {"connection_id":228660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:11:09] local.INFO: TCP Data received {"connection_id":230398,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:11:09] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:11:09] local.INFO: IMEI packet received {"connection_id":230398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":230398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:11:12] local.INFO: TCP Data received {"connection_id":230397,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:11:12] local.INFO: Processing buffer {"connection_id":230397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38df158012ce51bc007234b900009008029..."} 
[2026-11-04 04:11:12] local.INFO: Packet analysis {"connection_id":230397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:11:12] local.INFO: Extracted packet for processing {"connection_id":230397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38d"} 
[2026-11-04 04:11:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198732800001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745351000,"timestamp_ms":1793745351000,"timestamp_seconds":1793745351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38df158"} 
[2026-11-04 04:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:11:12] 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-11-04 04: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-11-04 04:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198732800001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198732800001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198732800001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":230397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:11:12] local.INFO: GPS data processed {"connection_id":230397,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:11:12] local.INFO: Acknowledgment sent {"connection_id":230397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:11:15] local.INFO: TCP Data received {"connection_id":230398,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:11:15] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:11:15] local.INFO: IMEI packet received {"connection_id":230398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":230398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:11:17] local.INFO: TCP Data received {"connection_id":230398,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:11:17] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:11:17] local.INFO: Packet analysis {"connection_id":230398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:11:17] local.INFO: Extracted packet for processing {"connection_id":230398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:11:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:17] 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-11-04 04:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:11:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:11:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":230398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:11:17] local.INFO: GPS data processed {"connection_id":230398,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:11:17] local.INFO: Acknowledgment sent {"connection_id":230398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:11:38] local.INFO: TCP Data received {"connection_id":232240,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:11:38] local.INFO: Processing buffer {"connection_id":232240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:11:38] local.INFO: IMEI packet received {"connection_id":232240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":232240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:11:40] local.INFO: TCP Data received {"connection_id":232240,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:11:40] local.INFO: Processing buffer {"connection_id":232240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:11:40] local.INFO: IMEI packet received {"connection_id":232240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":232240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:11:41] local.INFO: TCP Data received {"connection_id":232240,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:11:41] local.INFO: Processing buffer {"connection_id":232240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:11:41] local.INFO: Packet analysis {"connection_id":232240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:11:41] local.INFO: Extracted packet for processing {"connection_id":232240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:11:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":232240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:11:41] local.INFO: GPS data processed {"connection_id":232240,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:11:41] local.INFO: Acknowledgment sent {"connection_id":232240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:11:48] local.INFO: TCP Data received {"connection_id":230398,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:11:48] local.INFO: Processing buffer {"connection_id":230398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:11:48] local.INFO: Packet analysis {"connection_id":230398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:11:48] local.INFO: Extracted packet for processing {"connection_id":230398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:11:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:11:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:11:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":230398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:11:48] local.INFO: GPS data processed {"connection_id":230398,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:11:48] local.INFO: Acknowledgment sent {"connection_id":230398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:12:09] local.INFO: TCP Data received {"connection_id":232241,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:12:09] local.INFO: Processing buffer {"connection_id":232241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:12:09] local.INFO: IMEI packet received {"connection_id":232241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":232241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:12:12] local.INFO: TCP Data received {"connection_id":232240,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:12:12] local.INFO: Processing buffer {"connection_id":232240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:12:12] local.INFO: Packet analysis {"connection_id":232240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:12:12] local.INFO: Extracted packet for processing {"connection_id":232240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:12:12] 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-11-04 04:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:12:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":232240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:12:12] local.INFO: GPS data processed {"connection_id":232240,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:12:12] local.INFO: Acknowledgment sent {"connection_id":232240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:12:15] local.INFO: TCP Data received {"connection_id":232241,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:12:15] local.INFO: Processing buffer {"connection_id":232241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:12:15] local.INFO: IMEI packet received {"connection_id":232241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":232241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:12:16] local.INFO: TCP Data received {"connection_id":232241,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:12:16] local.INFO: Processing buffer {"connection_id":232241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a38f0e80012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:12:16] local.INFO: Packet analysis {"connection_id":232241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:12:16] local.INFO: Extracted packet for processing {"connection_id":232241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a38f"} 
[2026-11-04 04:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198751744001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:16] 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-11-04 04:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745424000,"timestamp_ms":1793745424000,"timestamp_seconds":1793745424,"priority":1,"record_length":96,"hex_timestamp":"000001a1a38f0e80"} 
[2026-11-04 04:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 04:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198751744001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198751744001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:12:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:12:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198751744001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":232241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:12:16] local.INFO: GPS data processed {"connection_id":232241,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:12:16] local.INFO: Acknowledgment sent {"connection_id":232241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:12:35] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:12:35] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:12:35] local.INFO: IMEI packet received {"connection_id":230399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":230399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:12:40] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:12:40] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:12:40] local.INFO: IMEI packet received {"connection_id":230399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":230399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:12:44] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:12:44] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:12:44] local.INFO: Packet analysis {"connection_id":230399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:12:44] local.INFO: Extracted packet for processing {"connection_id":230399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:12:44] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:12:44] 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-11-04 04: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-11-04 04:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:12:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:12:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":230399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:12:44] local.INFO: GPS data processed {"connection_id":230399,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:12:44] local.INFO: Acknowledgment sent {"connection_id":230399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:12:48] local.INFO: TCP Data received {"connection_id":232241,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:12:48] local.INFO: Processing buffer {"connection_id":232241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:12:48] local.INFO: Packet analysis {"connection_id":232241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:12:48] local.INFO: Extracted packet for processing {"connection_id":232241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 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-11-04 04:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:12:48] 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-11-04 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-11-04 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-11-04 04:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:12:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:12:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":232241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:12:48] local.INFO: GPS data processed {"connection_id":232241,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:12:48] local.INFO: Acknowledgment sent {"connection_id":232241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:13:15] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:13:15] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:13:15] local.INFO: IMEI packet received {"connection_id":229137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":229137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:13:20] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:13:20] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:13:20] local.INFO: IMEI packet received {"connection_id":229137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":229137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:13:21] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:13:21] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:13:21] local.INFO: Packet analysis {"connection_id":229137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:13:21] local.INFO: Extracted packet for processing {"connection_id":229137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:21] 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-11-04 04:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:13:21] 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-11-04 04:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:13:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:13:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":229137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:13:21] local.INFO: GPS data processed {"connection_id":229137,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:13:21] local.INFO: Acknowledgment sent {"connection_id":229137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:13:35] local.INFO: TCP Data received {"connection_id":228661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:13:35] local.INFO: Processing buffer {"connection_id":228661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:13:35] local.INFO: IMEI packet received {"connection_id":228661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":228661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:13:40] local.INFO: TCP Data received {"connection_id":230399,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:13:40] local.INFO: Processing buffer {"connection_id":230399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:13:40] local.INFO: Packet analysis {"connection_id":230399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:13:40] local.INFO: Extracted packet for processing {"connection_id":230399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:13:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:13:40] 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-11-04 04:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:13:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:13:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:13:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:13:40] local.INFO: TCP Data received {"connection_id":228661,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":230399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:13:40] local.INFO: GPS data processed {"connection_id":230399,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:13:40] local.INFO: Acknowledgment sent {"connection_id":230399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:13:40] local.INFO: Processing buffer {"connection_id":228661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:13:40] local.INFO: IMEI packet received {"connection_id":228661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":228661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:13:41] local.INFO: TCP Data received {"connection_id":228661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:13:41] local.INFO: Processing buffer {"connection_id":228661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:13:41] local.INFO: Packet analysis {"connection_id":228661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:13:41] local.INFO: Extracted packet for processing {"connection_id":228661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":228661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:13:41] local.INFO: GPS data processed {"connection_id":228661,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:13:41] local.INFO: Acknowledgment sent {"connection_id":228661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:13:53] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:13:53] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:13:53] local.INFO: Packet analysis {"connection_id":229137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:13:53] local.INFO: Extracted packet for processing {"connection_id":229137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:13:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:13:53] 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-11-04 04:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:13:53] 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-11-04 04:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:13:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:13:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":229137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:13:53] local.INFO: GPS data processed {"connection_id":229137,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:13:53] local.INFO: Acknowledgment sent {"connection_id":229137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:14:10] local.INFO: TCP Data received {"connection_id":228662,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:14:10] local.INFO: Processing buffer {"connection_id":228662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:14:10] local.INFO: IMEI packet received {"connection_id":228662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":228662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:14:12] local.INFO: TCP Data received {"connection_id":228661,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:14:12] local.INFO: Processing buffer {"connection_id":228661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:14:12] local.INFO: Packet analysis {"connection_id":228661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:14:12] local.INFO: Extracted packet for processing {"connection_id":228661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:14:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 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-11-04 04:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:14:12] 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-11-04 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-11-04 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-11-04 04:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":228661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:14:12] local.INFO: GPS data processed {"connection_id":228661,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:14:12] local.INFO: Acknowledgment sent {"connection_id":228661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:14:15] local.INFO: TCP Data received {"connection_id":228662,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:14:15] local.INFO: Processing buffer {"connection_id":228662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:14:15] local.INFO: IMEI packet received {"connection_id":228662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":228662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:14:17] local.INFO: TCP Data received {"connection_id":228662,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:14:17] local.INFO: Processing buffer {"connection_id":228662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:14:17] local.INFO: Packet analysis {"connection_id":228662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:14:17] local.INFO: Extracted packet for processing {"connection_id":228662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:17] 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-11-04 04:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:14:17] 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-11-04 04:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:14:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:14:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":228662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:14:17] local.INFO: GPS data processed {"connection_id":228662,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:14:17] local.INFO: Acknowledgment sent {"connection_id":228662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:14:35] local.INFO: TCP Data received {"connection_id":229138,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:14:35] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:14:35] local.INFO: IMEI packet received {"connection_id":229138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":229138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:14:40] local.INFO: TCP Data received {"connection_id":229138,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:14:40] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:14:40] local.INFO: IMEI packet received {"connection_id":229138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":229138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:14:41] local.INFO: TCP Data received {"connection_id":229138,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:14:41] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:14:41] local.INFO: Packet analysis {"connection_id":229138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:14:41] local.INFO: Extracted packet for processing {"connection_id":229138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:14:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:14:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":229138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:14:41] local.INFO: GPS data processed {"connection_id":229138,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:14:41] local.INFO: Acknowledgment sent {"connection_id":229138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:14:49] local.INFO: TCP Data received {"connection_id":228662,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:14:49] local.INFO: Processing buffer {"connection_id":228662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:14:49] local.INFO: Packet analysis {"connection_id":228662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:14:49] local.INFO: Extracted packet for processing {"connection_id":228662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:14:49] 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-11-04 04:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:14: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-11-04 04:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:14:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:14:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":228662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:14:49] local.INFO: GPS data processed {"connection_id":228662,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:14:49] local.INFO: Acknowledgment sent {"connection_id":228662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:15:09] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:15:09] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:15:09] local.INFO: IMEI packet received {"connection_id":229139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":229139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:15:12] local.INFO: TCP Data received {"connection_id":229138,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:15:12] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:15:12] local.INFO: Packet analysis {"connection_id":229138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:15:12] local.INFO: Extracted packet for processing {"connection_id":229138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 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-11-04 04:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:15:12] 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-11-04 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-11-04 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-11-04 04:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:15:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":229138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:15:12] local.INFO: GPS data processed {"connection_id":229138,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:15:12] local.INFO: Acknowledgment sent {"connection_id":229138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:15:15] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:15:15] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:15:15] local.INFO: IMEI packet received {"connection_id":229139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":229139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:15:16] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:15:16] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:15:16] local.INFO: Packet analysis {"connection_id":229139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:15:16] local.INFO: Extracted packet for processing {"connection_id":229139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:16] 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-11-04 04:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:15: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-11-04 04: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-11-04 04:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:15:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:15:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":229139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:15:16] local.INFO: GPS data processed {"connection_id":229139,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:15:16] local.INFO: Acknowledgment sent {"connection_id":229139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:15:35] local.INFO: TCP Data received {"connection_id":232242,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:15:35] local.INFO: Processing buffer {"connection_id":232242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:15:35] local.INFO: IMEI packet received {"connection_id":232242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":232242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:15:40] local.INFO: TCP Data received {"connection_id":232242,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:15:40] local.INFO: Processing buffer {"connection_id":232242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:15:40] local.INFO: IMEI packet received {"connection_id":232242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":232242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:15:41] local.INFO: TCP Data received {"connection_id":232242,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:15:41] local.INFO: Processing buffer {"connection_id":232242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:15:41] local.INFO: Packet analysis {"connection_id":232242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:15:41] local.INFO: Extracted packet for processing {"connection_id":232242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:15:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":232242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:15:41] local.INFO: GPS data processed {"connection_id":232242,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:15:41] local.INFO: Acknowledgment sent {"connection_id":232242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:15:48] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:15:48] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:15:48] local.INFO: Packet analysis {"connection_id":229139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:15:48] local.INFO: Extracted packet for processing {"connection_id":229139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:15: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-11-04 04:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:15: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:15:48] 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-11-04 04:15: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-11-04 04:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:15:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:15:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":229139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:15:48] local.INFO: GPS data processed {"connection_id":229139,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:15:48] local.INFO: Acknowledgment sent {"connection_id":229139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:16:12] local.INFO: TCP Data received {"connection_id":232242,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:16:12] local.INFO: Processing buffer {"connection_id":232242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3928920012ce51bc007234b90000900802b..."} 
[2026-11-04 04:16:12] local.INFO: Packet analysis {"connection_id":232242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:16:12] local.INFO: Extracted packet for processing {"connection_id":232242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a392"} 
[2026-11-04 04:16:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198809856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745652000,"timestamp_ms":1793745652000,"timestamp_seconds":1793745652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3928920"} 
[2026-11-04 04:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:16:12] 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-11-04 04: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-11-04 04:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198809856001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198809856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:16:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198809856001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":232242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:16:12] local.INFO: GPS data processed {"connection_id":232242,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:16:12] local.INFO: Acknowledgment sent {"connection_id":232242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:16:15] local.INFO: TCP Data received {"connection_id":228663,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:16:15] local.INFO: Processing buffer {"connection_id":228663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:16:15] local.INFO: IMEI packet received {"connection_id":228663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":228663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:16:20] local.INFO: TCP Data received {"connection_id":228663,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:16:20] local.INFO: Processing buffer {"connection_id":228663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:16:20] local.INFO: IMEI packet received {"connection_id":228663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":228663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:16:21] local.INFO: TCP Data received {"connection_id":228663,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:16:21] local.INFO: Processing buffer {"connection_id":228663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:16:21] local.INFO: Packet analysis {"connection_id":228663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:16:21] local.INFO: Extracted packet for processing {"connection_id":228663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:16: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-11-04 04:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:21] 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-11-04 04:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:16: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:16:21] 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-11-04 04:16: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-11-04 04:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:16:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:16:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":228663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:16:21] local.INFO: GPS data processed {"connection_id":228663,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:16:21] local.INFO: Acknowledgment sent {"connection_id":228663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:16:26] local.INFO: TCP Data received {"connection_id":228663,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:16:26] local.INFO: Processing buffer {"connection_id":228663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:16:26] local.INFO: Packet analysis {"connection_id":228663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:16:26] local.INFO: Extracted packet for processing {"connection_id":228663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:26] 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-11-04 04:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228663,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:16:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:16:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":228663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:16:26] local.INFO: GPS data processed {"connection_id":228663,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:16:26] local.INFO: Acknowledgment sent {"connection_id":228663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:16:35] local.INFO: TCP Data received {"connection_id":229140,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:16:35] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:16:35] local.INFO: IMEI packet received {"connection_id":229140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":229140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:16:40] local.INFO: TCP Data received {"connection_id":229140,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:16:40] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:16:40] local.INFO: IMEI packet received {"connection_id":229140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":229140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:16:41] local.INFO: TCP Data received {"connection_id":229140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:16:41] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:16:41] local.INFO: Packet analysis {"connection_id":229140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:16:41] local.INFO: Extracted packet for processing {"connection_id":229140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:16:41] 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-11-04 04:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:16:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":229140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:16:41] local.INFO: GPS data processed {"connection_id":229140,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:16:41] local.INFO: Acknowledgment sent {"connection_id":229140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:17:10] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:17:10] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:17:10] local.INFO: IMEI packet received {"connection_id":229141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":229141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:17:12] local.INFO: TCP Data received {"connection_id":229140,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:17:12] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:17:12] local.INFO: Packet analysis {"connection_id":229140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:17:12] local.INFO: Extracted packet for processing {"connection_id":229140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:17:12] 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-11-04 04:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":229140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:17:12] local.INFO: GPS data processed {"connection_id":229140,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:17:12] local.INFO: Acknowledgment sent {"connection_id":229140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:17:15] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:17:15] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:17:15] local.INFO: IMEI packet received {"connection_id":229141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":229141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:17:16] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:17:16] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a393aa30012d3c94c006a38fb8004600082c..."} 
[2026-11-04 04:17:16] local.INFO: Packet analysis {"connection_id":229141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:17:16] local.INFO: Extracted packet for processing {"connection_id":229141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a393"} 
[2026-11-04 04:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111382456,"longitude_deg":75.894496,"latitude_deg":11.1382456,"altitude":70,"angle":8,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a38fb8","is_valid_coordinates":true} 
[2026-11-04 04:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198828544001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:16] 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-11-04 04:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793745726000,"timestamp_ms":1793745726000,"timestamp_seconds":1793745726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a393aa30"} 
[2026-11-04 04:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:17: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-11-04 04:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198828544001,"66":26452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198828544001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:17:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:17:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198828544001,"power":26452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":229141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:17:16] local.INFO: GPS data processed {"connection_id":229141,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:17:16] local.INFO: Acknowledgment sent {"connection_id":229141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:17:35] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:17:35] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:17:35] local.INFO: IMEI packet received {"connection_id":230400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":230400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:17:40] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:17:40] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:17:40] local.INFO: IMEI packet received {"connection_id":230400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":230400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:17:41] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:17:41] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:17:41] local.INFO: Packet analysis {"connection_id":230400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:17:41] local.INFO: Extracted packet for processing {"connection_id":230400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:17:41] 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-11-04 04:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":230400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:17:41] local.INFO: GPS data processed {"connection_id":230400,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:17:41] local.INFO: Acknowledgment sent {"connection_id":230400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:17:47] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:17:47] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:17:47] local.INFO: Packet analysis {"connection_id":229141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:17:47] local.INFO: Extracted packet for processing {"connection_id":229141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:17:47] 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-11-04 04:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:17:47] 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-11-04 04:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:17:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:17:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":229141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:17:47] local.INFO: GPS data processed {"connection_id":229141,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:17:47] local.INFO: Acknowledgment sent {"connection_id":229141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:18:09] local.INFO: TCP Data received {"connection_id":228664,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:18:09] local.INFO: Processing buffer {"connection_id":228664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:18:09] local.INFO: IMEI packet received {"connection_id":228664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":228664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:18:12] local.INFO: TCP Data received {"connection_id":230400,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:18:12] local.INFO: Processing buffer {"connection_id":230400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:18:12] local.INFO: Packet analysis {"connection_id":230400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:18:12] local.INFO: Extracted packet for processing {"connection_id":230400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:18:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:18:12] 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-11-04 04: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-11-04 04:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:18:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":230400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:18:12] local.INFO: GPS data processed {"connection_id":230400,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:18:12] local.INFO: Acknowledgment sent {"connection_id":230400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:18:15] local.INFO: TCP Data received {"connection_id":228664,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:18:15] local.INFO: Processing buffer {"connection_id":228664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:18:15] local.INFO: IMEI packet received {"connection_id":228664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":228664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:18:16] local.INFO: TCP Data received {"connection_id":228664,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:18:16] local.INFO: Processing buffer {"connection_id":228664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:18:16] local.INFO: Packet analysis {"connection_id":228664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:18:16] local.INFO: Extracted packet for processing {"connection_id":228664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:16] 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-11-04 04:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:18: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-11-04 04:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:18:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:18:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":228664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:18:16] local.INFO: GPS data processed {"connection_id":228664,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:18:16] local.INFO: Acknowledgment sent {"connection_id":228664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:18:35] local.INFO: TCP Data received {"connection_id":228665,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:18:35] local.INFO: Processing buffer {"connection_id":228665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:18:35] local.INFO: IMEI packet received {"connection_id":228665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":228665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:18:40] local.INFO: TCP Data received {"connection_id":228665,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:18:40] local.INFO: Processing buffer {"connection_id":228665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:18:40] local.INFO: IMEI packet received {"connection_id":228665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":228665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:18:41] local.INFO: TCP Data received {"connection_id":228665,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:18:41] local.INFO: Processing buffer {"connection_id":228665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:18:41] local.INFO: Packet analysis {"connection_id":228665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:18:41] local.INFO: Extracted packet for processing {"connection_id":228665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:18:41] 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-11-04 04:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":228665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:18:41] local.INFO: GPS data processed {"connection_id":228665,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:18:41] local.INFO: Acknowledgment sent {"connection_id":228665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:18:48] local.INFO: TCP Data received {"connection_id":228664,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:18:48] local.INFO: Processing buffer {"connection_id":228664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:18:48] local.INFO: Packet analysis {"connection_id":228664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:18:48] local.INFO: Extracted packet for processing {"connection_id":228664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:18:48] 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-11-04 04: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-11-04 04:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:18:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":228664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:18:48] local.INFO: GPS data processed {"connection_id":228664,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:18:48] local.INFO: Acknowledgment sent {"connection_id":228664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:19:12] local.INFO: TCP Data received {"connection_id":228665,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:19:12] local.INFO: Processing buffer {"connection_id":228665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:19:12] local.INFO: Packet analysis {"connection_id":228665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:19:12] local.INFO: Extracted packet for processing {"connection_id":228665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:19:12] 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-11-04 04:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:19:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":228665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:19:12] local.INFO: GPS data processed {"connection_id":228665,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:19:12] local.INFO: Acknowledgment sent {"connection_id":228665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:19:15] local.INFO: TCP Data received {"connection_id":230401,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:19:15] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:19:15] local.INFO: IMEI packet received {"connection_id":230401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":230401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:19:20] local.INFO: TCP Data received {"connection_id":230401,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:19:20] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:19:20] local.INFO: IMEI packet received {"connection_id":230401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":230401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:19:21] local.INFO: TCP Data received {"connection_id":230401,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:19:21] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:19:21] local.INFO: Packet analysis {"connection_id":230401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:19:21] local.INFO: Extracted packet for processing {"connection_id":230401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:21] 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-11-04 04:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:19:21] 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-11-04 04: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-11-04 04:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:19:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:19:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":230401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:19:21] local.INFO: GPS data processed {"connection_id":230401,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:19:21] local.INFO: Acknowledgment sent {"connection_id":230401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:19:26] local.INFO: TCP Data received {"connection_id":230401,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:19:26] local.INFO: Processing buffer {"connection_id":230401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:19:26] local.INFO: Packet analysis {"connection_id":230401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:19:26] local.INFO: Extracted packet for processing {"connection_id":230401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:19:26] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:26] 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-11-04 04:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:19:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:19:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":230401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:19:26] local.INFO: GPS data processed {"connection_id":230401,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:19:26] local.INFO: Acknowledgment sent {"connection_id":230401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:19:35] local.INFO: TCP Data received {"connection_id":232243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:19:35] local.INFO: Processing buffer {"connection_id":232243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:19:35] local.INFO: IMEI packet received {"connection_id":232243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":232243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:19:40] local.INFO: TCP Data received {"connection_id":232243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:19:40] local.INFO: Processing buffer {"connection_id":232243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:19:40] local.INFO: IMEI packet received {"connection_id":232243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":232243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:19:41] local.INFO: TCP Data received {"connection_id":232243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:19:41] local.INFO: Processing buffer {"connection_id":232243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:19:41] local.INFO: Packet analysis {"connection_id":232243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:19:41] local.INFO: Extracted packet for processing {"connection_id":232243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:19:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:19:41] 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-11-04 04:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":232243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:19:41] local.INFO: GPS data processed {"connection_id":232243,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:19:41] local.INFO: Acknowledgment sent {"connection_id":232243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:20:10] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:20:10] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:20:10] local.INFO: IMEI packet received {"connection_id":229142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":229142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:20:12] local.INFO: TCP Data received {"connection_id":232243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:20:12] local.INFO: Processing buffer {"connection_id":232243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:20:12] local.INFO: Packet analysis {"connection_id":232243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:20:12] local.INFO: Extracted packet for processing {"connection_id":232243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:20:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:20:12] 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-11-04 04:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:20:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":232243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:20:12] local.INFO: GPS data processed {"connection_id":232243,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:20:12] local.INFO: Acknowledgment sent {"connection_id":232243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:20:15] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:20:15] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:20:15] local.INFO: IMEI packet received {"connection_id":229142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":229142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:20:16] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:20:16] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:20:16] local.INFO: Packet analysis {"connection_id":229142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:20:16] local.INFO: Extracted packet for processing {"connection_id":229142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:16] 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-11-04 04:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:20: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-11-04 04: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-11-04 04:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:20:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:20:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":229142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:20:16] local.INFO: GPS data processed {"connection_id":229142,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:20:16] local.INFO: Acknowledgment sent {"connection_id":229142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:20:35] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:20:35] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:20:35] local.INFO: IMEI packet received {"connection_id":230402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":230402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:20:40] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:20:40] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:20:40] local.INFO: IMEI packet received {"connection_id":230402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":230402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:20:40] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:20:40] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:20:40] local.INFO: Packet analysis {"connection_id":230402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:20:40] local.INFO: Extracted packet for processing {"connection_id":230402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:20:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:20:40] 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-11-04 04:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:20:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":230402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:20:40] local.INFO: GPS data processed {"connection_id":230402,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:20:40] local.INFO: Acknowledgment sent {"connection_id":230402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:20:48] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:20:48] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:20:48] local.INFO: Packet analysis {"connection_id":229142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:20:48] local.INFO: Extracted packet for processing {"connection_id":229142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:20:48] 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-11-04 04: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-11-04 04:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:20:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:20:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":229142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:20:48] local.INFO: GPS data processed {"connection_id":229142,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:20:48] local.INFO: Acknowledgment sent {"connection_id":229142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:21:09] local.INFO: TCP Data received {"connection_id":228666,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:21:09] local.INFO: Processing buffer {"connection_id":228666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:21:09] local.INFO: IMEI packet received {"connection_id":228666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":228666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:21:11] local.INFO: TCP Data received {"connection_id":230402,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:21:11] local.INFO: Processing buffer {"connection_id":230402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39720e8012ce51bc007234b90000900802c..."} 
[2026-11-04 04:21:11] local.INFO: Packet analysis {"connection_id":230402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:21:11] local.INFO: Extracted packet for processing {"connection_id":230402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a397"} 
[2026-11-04 04:21:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198886912001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793745953000,"timestamp_ms":1793745953000,"timestamp_seconds":1793745953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39720e8"} 
[2026-11-04 04:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:21:11] 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-11-04 04: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-11-04 04:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198886912001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198886912001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:21:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198886912001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":230402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:21:11] local.INFO: GPS data processed {"connection_id":230402,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:21:11] local.INFO: Acknowledgment sent {"connection_id":230402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:21:15] local.INFO: TCP Data received {"connection_id":228666,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:21:15] local.INFO: Processing buffer {"connection_id":228666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:21:15] local.INFO: IMEI packet received {"connection_id":228666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":228666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:21:16] local.INFO: TCP Data received {"connection_id":228666,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:21:16] local.INFO: Processing buffer {"connection_id":228666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:21:16] local.INFO: Packet analysis {"connection_id":228666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:21:16] local.INFO: Extracted packet for processing {"connection_id":228666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:16] 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-11-04 04:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:21: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-11-04 04: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-11-04 04:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:21:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:21:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":228666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:21:17] local.INFO: GPS data processed {"connection_id":228666,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:21:17] local.INFO: Acknowledgment sent {"connection_id":228666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:21:35] local.INFO: TCP Data received {"connection_id":229143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:21:35] local.INFO: Processing buffer {"connection_id":229143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:21:35] local.INFO: IMEI packet received {"connection_id":229143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":229143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:21:40] local.INFO: TCP Data received {"connection_id":229143,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:21:40] local.INFO: Processing buffer {"connection_id":229143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:21:40] local.INFO: IMEI packet received {"connection_id":229143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":229143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:21:40] local.INFO: TCP Data received {"connection_id":229143,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:21:40] local.INFO: Processing buffer {"connection_id":229143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:21:40] local.INFO: Packet analysis {"connection_id":229143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:21:40] local.INFO: Extracted packet for processing {"connection_id":229143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:21:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:21:40] 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-11-04 04:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:21:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":229143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:21:40] local.INFO: GPS data processed {"connection_id":229143,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:21:40] local.INFO: Acknowledgment sent {"connection_id":229143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:21:47] local.INFO: TCP Data received {"connection_id":228666,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:21:47] local.INFO: Processing buffer {"connection_id":228666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:21:47] local.INFO: Packet analysis {"connection_id":228666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:21:47] local.INFO: Extracted packet for processing {"connection_id":228666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:21:47] 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-11-04 04:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:21:47] 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-11-04 04:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:21:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:21:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":228666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:21:48] local.INFO: GPS data processed {"connection_id":228666,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:21:48] local.INFO: Acknowledgment sent {"connection_id":228666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:22:09] local.INFO: TCP Data received {"connection_id":232244,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:22:09] local.INFO: Processing buffer {"connection_id":232244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:22:09] local.INFO: IMEI packet received {"connection_id":232244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":232244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:22:15] local.INFO: TCP Data received {"connection_id":232244,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:22:15] local.INFO: Processing buffer {"connection_id":232244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:22:15] local.INFO: IMEI packet received {"connection_id":232244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":232244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:22:17] local.INFO: TCP Data received {"connection_id":232244,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:22:17] local.INFO: Processing buffer {"connection_id":232244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3983a28012d3c934006a39440004601582d..."} 
[2026-11-04 04:22:17] local.INFO: Packet analysis {"connection_id":232244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:22:17] local.INFO: Extracted packet for processing {"connection_id":232244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a398"} 
[2026-11-04 04:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198905856001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575294976,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:17] 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-11-04 04:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793746025000,"timestamp_ms":1793746025000,"timestamp_seconds":1793746025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3983a28"} 
[2026-11-04 04:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-11-04 04:22:17] 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-11-04 04: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-11-04 04:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198905856001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575294976},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198905856001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:22:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:22:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575294976,"description":"Unknown IO ID 45"} 
[2026-11-04 04:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198905856001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575294976}} 
[2026-11-04 04:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":232244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:22:17] local.INFO: GPS data processed {"connection_id":232244,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:22:17] local.INFO: Acknowledgment sent {"connection_id":232244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:22:30] local.INFO: TCP Data received {"connection_id":229144,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:22:30] local.INFO: Processing buffer {"connection_id":229144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:22:30] local.INFO: IMEI packet received {"connection_id":229144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":229144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:22:35] local.INFO: TCP Data received {"connection_id":229144,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:22:35] local.INFO: Processing buffer {"connection_id":229144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:22:35] local.INFO: IMEI packet received {"connection_id":229144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":229144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:22:36] local.INFO: TCP Data received {"connection_id":229144,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:22:36] local.INFO: Processing buffer {"connection_id":229144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:22:36] local.INFO: Packet analysis {"connection_id":229144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:22:36] local.INFO: Extracted packet for processing {"connection_id":229144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:22:36] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:22:36] 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-11-04 04:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:22:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":229144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:22:36] local.INFO: GPS data processed {"connection_id":229144,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:22:36] local.INFO: Acknowledgment sent {"connection_id":229144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:22:49] local.INFO: TCP Data received {"connection_id":232244,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:22:49] local.INFO: Processing buffer {"connection_id":232244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:22:49] local.INFO: Packet analysis {"connection_id":232244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:22:49] local.INFO: Extracted packet for processing {"connection_id":232244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:22:49] 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-11-04 04:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:22: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-11-04 04: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-11-04 04:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:22:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:22:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":232244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:22:49] local.INFO: GPS data processed {"connection_id":232244,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:22:49] local.INFO: Acknowledgment sent {"connection_id":232244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:23:07] local.INFO: TCP Data received {"connection_id":229144,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:23:07] local.INFO: Processing buffer {"connection_id":229144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:23:07] local.INFO: Packet analysis {"connection_id":229144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:23:07] local.INFO: Extracted packet for processing {"connection_id":229144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:23:07] 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-11-04 04:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:23:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":229144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:23:07] local.INFO: GPS data processed {"connection_id":229144,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:23:07] local.INFO: Acknowledgment sent {"connection_id":229144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:23:15] local.INFO: TCP Data received {"connection_id":232245,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:23:15] local.INFO: Processing buffer {"connection_id":232245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:23:15] local.INFO: IMEI packet received {"connection_id":232245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":232245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:23:20] local.INFO: TCP Data received {"connection_id":232245,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:23:20] local.INFO: Processing buffer {"connection_id":232245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:23:20] local.INFO: IMEI packet received {"connection_id":232245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":232245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:23:22] local.INFO: TCP Data received {"connection_id":232245,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:23:22] local.INFO: Processing buffer {"connection_id":232245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:23:22] local.INFO: Packet analysis {"connection_id":232245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:23:22] local.INFO: Extracted packet for processing {"connection_id":232245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:23:22] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:22] 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-11-04 04:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:23: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-11-04 04: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-11-04 04:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:23:22] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:23:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":232245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:23:22] local.INFO: GPS data processed {"connection_id":232245,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:23:22] local.INFO: Acknowledgment sent {"connection_id":232245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:23:26] local.INFO: TCP Data received {"connection_id":232245,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:23:26] local.INFO: Processing buffer {"connection_id":232245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:23:26] local.INFO: Packet analysis {"connection_id":232245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:23:26] local.INFO: Extracted packet for processing {"connection_id":232245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:23:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:26] 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-11-04 04:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:23:26] 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-11-04 04: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-11-04 04:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:23:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:23:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":232245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:23:26] local.INFO: GPS data processed {"connection_id":232245,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:23:26] local.INFO: Acknowledgment sent {"connection_id":232245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:23:35] local.INFO: TCP Data received {"connection_id":232246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:23:35] local.INFO: Processing buffer {"connection_id":232246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:23:35] local.INFO: IMEI packet received {"connection_id":232246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":232246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:23:40] local.INFO: TCP Data received {"connection_id":232246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:23:40] local.INFO: Processing buffer {"connection_id":232246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:23:40] local.INFO: IMEI packet received {"connection_id":232246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":232246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:23:41] local.INFO: TCP Data received {"connection_id":232246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:23:41] local.INFO: Processing buffer {"connection_id":232246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:23:41] local.INFO: Packet analysis {"connection_id":232246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:23:41] local.INFO: Extracted packet for processing {"connection_id":232246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:23:41] 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-11-04 04:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":232246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:23:41] local.INFO: GPS data processed {"connection_id":232246,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:23:41] local.INFO: Acknowledgment sent {"connection_id":232246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:24:09] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:24:09] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:24:09] local.INFO: IMEI packet received {"connection_id":229145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":229145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:24:12] local.INFO: TCP Data received {"connection_id":232246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:24:12] local.INFO: Processing buffer {"connection_id":232246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:24:12] local.INFO: Packet analysis {"connection_id":232246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:24:12] local.INFO: Extracted packet for processing {"connection_id":232246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:24:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:24:12] 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-11-04 04: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-11-04 04:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:24: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-11-04 04:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:24:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":232246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:24:12] local.INFO: GPS data processed {"connection_id":232246,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:24:12] local.INFO: Acknowledgment sent {"connection_id":232246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:24:15] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:24:15] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:24:15] local.INFO: IMEI packet received {"connection_id":229145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":229145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:24:16] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:24:16] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:24:16] local.INFO: Packet analysis {"connection_id":229145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:24:16] local.INFO: Extracted packet for processing {"connection_id":229145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:16] 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-11-04 04:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:24:16] 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-11-04 04: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-11-04 04:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":229145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:24:16] local.INFO: GPS data processed {"connection_id":229145,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:24:16] local.INFO: Acknowledgment sent {"connection_id":229145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:24:35] local.INFO: TCP Data received {"connection_id":232247,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:24:35] local.INFO: Processing buffer {"connection_id":232247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:24:35] local.INFO: IMEI packet received {"connection_id":232247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":232247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:24:40] local.INFO: TCP Data received {"connection_id":232247,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:24:40] local.INFO: Processing buffer {"connection_id":232247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:24:40] local.INFO: IMEI packet received {"connection_id":232247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":232247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:24:41] local.INFO: TCP Data received {"connection_id":232247,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:24:41] local.INFO: Processing buffer {"connection_id":232247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:24:41] local.INFO: Packet analysis {"connection_id":232247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:24:41] local.INFO: Extracted packet for processing {"connection_id":232247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:24:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:24:41] 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-11-04 04:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:24:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":232247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:24:41] local.INFO: GPS data processed {"connection_id":232247,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:24:41] local.INFO: Acknowledgment sent {"connection_id":232247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:24:48] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:24:48] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:24:48] local.INFO: Packet analysis {"connection_id":229145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:24:48] local.INFO: Extracted packet for processing {"connection_id":229145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:24:48] 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-11-04 04: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-11-04 04:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:24:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:24:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":229145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:24:48] local.INFO: GPS data processed {"connection_id":229145,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:24:48] local.INFO: Acknowledgment sent {"connection_id":229145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:25:09] local.INFO: TCP Data received {"connection_id":232248,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:25:09] local.INFO: Processing buffer {"connection_id":232248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:25:09] local.INFO: IMEI packet received {"connection_id":232248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":232248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:25:12] local.INFO: TCP Data received {"connection_id":232247,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:25:12] local.INFO: Processing buffer {"connection_id":232247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:25:12] local.INFO: Packet analysis {"connection_id":232247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:25:12] local.INFO: Extracted packet for processing {"connection_id":232247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:25:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:25:12] 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-11-04 04: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-11-04 04:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:25: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-11-04 04:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:25:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":232247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:25:12] local.INFO: GPS data processed {"connection_id":232247,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:25:12] local.INFO: Acknowledgment sent {"connection_id":232247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:25:15] local.INFO: TCP Data received {"connection_id":232248,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:25:15] local.INFO: Processing buffer {"connection_id":232248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:25:15] local.INFO: IMEI packet received {"connection_id":232248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":232248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:25:16] local.INFO: TCP Data received {"connection_id":232248,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:25:16] local.INFO: Processing buffer {"connection_id":232248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:25:16] local.INFO: Packet analysis {"connection_id":232248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:25:16] local.INFO: Extracted packet for processing {"connection_id":232248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:16] 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-11-04 04:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:25:16] 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-11-04 04:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:25:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:25:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":232248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:25:16] local.INFO: GPS data processed {"connection_id":232248,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:25:16] local.INFO: Acknowledgment sent {"connection_id":232248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:25:35] local.INFO: TCP Data received {"connection_id":232249,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:25:35] local.INFO: Processing buffer {"connection_id":232249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:25:35] local.INFO: IMEI packet received {"connection_id":232249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":232249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:25:40] local.INFO: TCP Data received {"connection_id":232249,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:25:40] local.INFO: Processing buffer {"connection_id":232249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:25:40] local.INFO: IMEI packet received {"connection_id":232249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":232249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:25:41] local.INFO: TCP Data received {"connection_id":232249,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:25:41] local.INFO: Processing buffer {"connection_id":232249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:25:41] local.INFO: Packet analysis {"connection_id":232249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:25:41] local.INFO: Extracted packet for processing {"connection_id":232249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:25:41] 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-11-04 04:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:25:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":232249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:25:41] local.INFO: GPS data processed {"connection_id":232249,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:25:41] local.INFO: Acknowledgment sent {"connection_id":232249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:25:47] local.INFO: TCP Data received {"connection_id":232248,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:25:47] local.INFO: Processing buffer {"connection_id":232248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:25:47] local.INFO: Packet analysis {"connection_id":232248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:25:47] local.INFO: Extracted packet for processing {"connection_id":232248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:25:47] 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-11-04 04:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:25:47] 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-11-04 04:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232248,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:25:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":232248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:25:47] local.INFO: GPS data processed {"connection_id":232248,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:25:47] local.INFO: Acknowledgment sent {"connection_id":232248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:26:12] local.INFO: TCP Data received {"connection_id":232249,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:26:12] local.INFO: Processing buffer {"connection_id":232249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39bb8b0012ce51bc007234b90000900802a..."} 
[2026-11-04 04:26:12] local.INFO: Packet analysis {"connection_id":232249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:26:12] local.INFO: Extracted packet for processing {"connection_id":232249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39b"} 
[2026-11-04 04:26:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198963968001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746254000,"timestamp_ms":1793746254000,"timestamp_seconds":1793746254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39bb8b0"} 
[2026-11-04 04:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:26:12] 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-11-04 04:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:26: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-11-04 04:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198963968001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198963968001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:26:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198963968001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":232249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:26:12] local.INFO: GPS data processed {"connection_id":232249,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:26:12] local.INFO: Acknowledgment sent {"connection_id":232249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:26:15] local.INFO: TCP Data received {"connection_id":228667,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:26:15] local.INFO: Processing buffer {"connection_id":228667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:26:15] local.INFO: IMEI packet received {"connection_id":228667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":228667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:26:20] local.INFO: TCP Data received {"connection_id":228667,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:26:20] local.INFO: Processing buffer {"connection_id":228667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:26:20] local.INFO: IMEI packet received {"connection_id":228667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":228667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:26:21] local.INFO: TCP Data received {"connection_id":228667,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:26:21] local.INFO: Processing buffer {"connection_id":228667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:26:21] local.INFO: Packet analysis {"connection_id":228667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:26:21] local.INFO: Extracted packet for processing {"connection_id":228667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:21] 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-11-04 04:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:26:21] 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-11-04 04:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:26:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:26:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":228667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:26:21] local.INFO: GPS data processed {"connection_id":228667,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:26:21] local.INFO: Acknowledgment sent {"connection_id":228667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:26:25] local.INFO: TCP Data received {"connection_id":228667,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:26:25] local.INFO: Processing buffer {"connection_id":228667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:26:25] local.INFO: Packet analysis {"connection_id":228667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:26:25] local.INFO: Extracted packet for processing {"connection_id":228667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:25] 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-11-04 04:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:26:25] 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-11-04 04: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-11-04 04:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:26:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:26:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":228667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:26:25] local.INFO: GPS data processed {"connection_id":228667,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:26:25] local.INFO: Acknowledgment sent {"connection_id":228667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:26:35] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:26:35] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:26:35] local.INFO: IMEI packet received {"connection_id":230403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":230403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:26:40] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:26:40] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:26:40] local.INFO: IMEI packet received {"connection_id":230403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":230403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:26:41] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:26:41] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:26:41] local.INFO: Packet analysis {"connection_id":230403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:26:41] local.INFO: Extracted packet for processing {"connection_id":230403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:26:41] 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-11-04 04:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:26:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":230403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:26:41] local.INFO: GPS data processed {"connection_id":230403,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:26:41] local.INFO: Acknowledgment sent {"connection_id":230403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:27:10] local.INFO: TCP Data received {"connection_id":228668,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:27:10] local.INFO: Processing buffer {"connection_id":228668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:27:10] local.INFO: IMEI packet received {"connection_id":228668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":228668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:27:12] local.INFO: TCP Data received {"connection_id":230403,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:27:12] local.INFO: Processing buffer {"connection_id":230403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:27:12] local.INFO: Packet analysis {"connection_id":230403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:27:12] local.INFO: Extracted packet for processing {"connection_id":230403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:27:12] 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-11-04 04:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:27: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-11-04 04:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:27:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":230403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:27:12] local.INFO: GPS data processed {"connection_id":230403,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:27:12] local.INFO: Acknowledgment sent {"connection_id":230403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:27:15] local.INFO: TCP Data received {"connection_id":228668,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:27:15] local.INFO: Processing buffer {"connection_id":228668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:27:15] local.INFO: IMEI packet received {"connection_id":228668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":228668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:27:17] local.INFO: TCP Data received {"connection_id":228668,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:27:17] local.INFO: Processing buffer {"connection_id":228668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a39cd1f0012d3c94c006a39460004601582d..."} 
[2026-11-04 04:27:17] local.INFO: Packet analysis {"connection_id":228668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:27:17] local.INFO: Extracted packet for processing {"connection_id":228668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a39c"} 
[2026-11-04 04:27:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459198982400001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:17] 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-11-04 04:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793746326000,"timestamp_ms":1793746326000,"timestamp_seconds":1793746326,"priority":1,"record_length":96,"hex_timestamp":"000001a1a39cd1f0"} 
[2026-11-04 04:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:27: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-11-04 04: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-11-04 04:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459198982400001,"66":26430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459198982400001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:27:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:27:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 04:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459198982400001,"power":26430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 04:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":228668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:27:17] local.INFO: GPS data processed {"connection_id":228668,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:27:17] local.INFO: Acknowledgment sent {"connection_id":228668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:27:35] local.INFO: TCP Data received {"connection_id":232250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:27:35] local.INFO: Processing buffer {"connection_id":232250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:27:35] local.INFO: IMEI packet received {"connection_id":232250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":232250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:27:40] local.INFO: TCP Data received {"connection_id":232250,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:27:40] local.INFO: Processing buffer {"connection_id":232250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:27:40] local.INFO: IMEI packet received {"connection_id":232250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":232250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:27:41] local.INFO: TCP Data received {"connection_id":232250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:27:41] local.INFO: Processing buffer {"connection_id":232250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:27:41] local.INFO: Packet analysis {"connection_id":232250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:27:41] local.INFO: Extracted packet for processing {"connection_id":232250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:27:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:27:41] 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-11-04 04:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:27:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":232250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:27:41] local.INFO: GPS data processed {"connection_id":232250,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:27:41] local.INFO: Acknowledgment sent {"connection_id":232250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:27:48] local.INFO: TCP Data received {"connection_id":228668,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:27:48] local.INFO: Processing buffer {"connection_id":228668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:27:48] local.INFO: Packet analysis {"connection_id":228668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:27:48] local.INFO: Extracted packet for processing {"connection_id":228668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:27:48] 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-11-04 04: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-11-04 04:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:27:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:27:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":228668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:27:48] local.INFO: GPS data processed {"connection_id":228668,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:27:48] local.INFO: Acknowledgment sent {"connection_id":228668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:28:09] local.INFO: TCP Data received {"connection_id":230404,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:28:09] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:28:09] local.INFO: IMEI packet received {"connection_id":230404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":230404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:28:12] local.INFO: TCP Data received {"connection_id":232250,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:28:12] local.INFO: Processing buffer {"connection_id":232250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:28:12] local.INFO: Packet analysis {"connection_id":232250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:28:12] local.INFO: Extracted packet for processing {"connection_id":232250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:28:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:28:12] 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-11-04 04: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-11-04 04:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:28:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":232250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:28:12] local.INFO: GPS data processed {"connection_id":232250,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:28:12] local.INFO: Acknowledgment sent {"connection_id":232250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:28:15] local.INFO: TCP Data received {"connection_id":230404,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:28:15] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:28:15] local.INFO: IMEI packet received {"connection_id":230404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":230404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:28:17] local.INFO: TCP Data received {"connection_id":230404,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:28:17] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:28:17] local.INFO: Packet analysis {"connection_id":230404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:28:17] local.INFO: Extracted packet for processing {"connection_id":230404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:17] 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-11-04 04:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:28: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-11-04 04: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-11-04 04:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:28:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:28:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":230404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:28:17] local.INFO: GPS data processed {"connection_id":230404,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:28:17] local.INFO: Acknowledgment sent {"connection_id":230404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:28:35] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:28:35] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:28:35] local.INFO: IMEI packet received {"connection_id":230405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":230405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:28:40] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:28:40] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:28:40] local.INFO: IMEI packet received {"connection_id":230405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":230405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:28:41] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:28:41] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:28:41] local.INFO: Packet analysis {"connection_id":230405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:28:41] local.INFO: Extracted packet for processing {"connection_id":230405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:28:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:28:41] 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-11-04 04: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-11-04 04:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":230405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:28:41] local.INFO: GPS data processed {"connection_id":230405,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:28:41] local.INFO: Acknowledgment sent {"connection_id":230405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:28:49] local.INFO: TCP Data received {"connection_id":230404,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:28:49] local.INFO: Processing buffer {"connection_id":230404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:28:49] local.INFO: Packet analysis {"connection_id":230404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:28:49] local.INFO: Extracted packet for processing {"connection_id":230404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:28:49] 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-11-04 04:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:28: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-11-04 04:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:28:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:28:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":230404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:28:49] local.INFO: GPS data processed {"connection_id":230404,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:28:49] local.INFO: Acknowledgment sent {"connection_id":230404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:29:12] local.INFO: TCP Data received {"connection_id":230405,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:29:12] local.INFO: Processing buffer {"connection_id":230405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:29:12] local.INFO: Packet analysis {"connection_id":230405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:29:12] local.INFO: Extracted packet for processing {"connection_id":230405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:29:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:29:12] 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-11-04 04: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-11-04 04:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:29: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-11-04 04:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:29:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":230405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:29:12] local.INFO: GPS data processed {"connection_id":230405,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:29:12] local.INFO: Acknowledgment sent {"connection_id":230405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:29:15] local.INFO: TCP Data received {"connection_id":230406,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:29:15] local.INFO: Processing buffer {"connection_id":230406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:29:15] local.INFO: IMEI packet received {"connection_id":230406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":230406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:29:20] local.INFO: TCP Data received {"connection_id":230406,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:29:20] local.INFO: Processing buffer {"connection_id":230406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:29:20] local.INFO: IMEI packet received {"connection_id":230406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":230406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:29:21] local.INFO: TCP Data received {"connection_id":230406,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:29:21] local.INFO: Processing buffer {"connection_id":230406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:29:21] local.INFO: Packet analysis {"connection_id":230406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:29:21] local.INFO: Extracted packet for processing {"connection_id":230406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:21] 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-11-04 04:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:29:21] 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-11-04 04:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:29:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:29:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":230406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:29:21] local.INFO: GPS data processed {"connection_id":230406,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:29:21] local.INFO: Acknowledgment sent {"connection_id":230406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:29:26] local.INFO: TCP Data received {"connection_id":230406,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:29:26] local.INFO: Processing buffer {"connection_id":230406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:29:26] local.INFO: Packet analysis {"connection_id":230406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:29:26] local.INFO: Extracted packet for processing {"connection_id":230406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:29:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:26] 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-11-04 04:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:29:26] 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-11-04 04: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-11-04 04:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:29:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:29:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":230406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:29:26] local.INFO: GPS data processed {"connection_id":230406,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:29:26] local.INFO: Acknowledgment sent {"connection_id":230406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:29:35] local.INFO: TCP Data received {"connection_id":228669,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:29:35] local.INFO: Processing buffer {"connection_id":228669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:29:35] local.INFO: IMEI packet received {"connection_id":228669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":228669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:29:40] local.INFO: TCP Data received {"connection_id":228669,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:29:40] local.INFO: Processing buffer {"connection_id":228669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:29:40] local.INFO: IMEI packet received {"connection_id":228669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":228669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:29:41] local.INFO: TCP Data received {"connection_id":228669,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:29:41] local.INFO: Processing buffer {"connection_id":228669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:29:41] local.INFO: Packet analysis {"connection_id":228669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:29:41] local.INFO: Extracted packet for processing {"connection_id":228669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:29:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:29:41] 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-11-04 04: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-11-04 04:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:29:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:29:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:29:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":228669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:29:41] local.INFO: GPS data processed {"connection_id":228669,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:29:41] local.INFO: Acknowledgment sent {"connection_id":228669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:30:10] local.INFO: TCP Data received {"connection_id":232251,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:30:10] local.INFO: Processing buffer {"connection_id":232251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:30:10] local.INFO: IMEI packet received {"connection_id":232251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":232251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:30:12] local.INFO: TCP Data received {"connection_id":228669,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:30:12] local.INFO: Processing buffer {"connection_id":228669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:30:12] local.INFO: Packet analysis {"connection_id":228669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:30:12] local.INFO: Extracted packet for processing {"connection_id":228669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:30:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:30:12] 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-11-04 04: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-11-04 04:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:30:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":228669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:30:12] local.INFO: GPS data processed {"connection_id":228669,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:30:12] local.INFO: Acknowledgment sent {"connection_id":228669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:30:15] local.INFO: TCP Data received {"connection_id":232251,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:30:15] local.INFO: Processing buffer {"connection_id":232251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:30:15] local.INFO: IMEI packet received {"connection_id":232251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":232251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:30:16] local.INFO: TCP Data received {"connection_id":232251,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:30:16] local.INFO: Processing buffer {"connection_id":232251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:30:16] local.INFO: Packet analysis {"connection_id":232251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:30:16] local.INFO: Extracted packet for processing {"connection_id":232251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:16] 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-11-04 04:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:30:16] 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-11-04 04: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-11-04 04:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:30:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:30:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":232251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:30:16] local.INFO: GPS data processed {"connection_id":232251,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:30:16] local.INFO: Acknowledgment sent {"connection_id":232251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:30:35] local.INFO: TCP Data received {"connection_id":232252,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:30:35] local.INFO: Processing buffer {"connection_id":232252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:30:35] local.INFO: IMEI packet received {"connection_id":232252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":232252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:30:40] local.INFO: TCP Data received {"connection_id":232252,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:30:40] local.INFO: Processing buffer {"connection_id":232252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:30:40] local.INFO: IMEI packet received {"connection_id":232252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":232252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:30:41] local.INFO: TCP Data received {"connection_id":232252,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:30:41] local.INFO: Processing buffer {"connection_id":232252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:30:41] local.INFO: Packet analysis {"connection_id":232252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:30:41] local.INFO: Extracted packet for processing {"connection_id":232252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:30:41] 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-11-04 04:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:30:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":232252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:30:41] local.INFO: GPS data processed {"connection_id":232252,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:30:41] local.INFO: Acknowledgment sent {"connection_id":232252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:30:48] local.INFO: TCP Data received {"connection_id":232251,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:30:48] local.INFO: Processing buffer {"connection_id":232251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:30:48] local.INFO: Packet analysis {"connection_id":232251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:30:48] local.INFO: Extracted packet for processing {"connection_id":232251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:30:48] 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-11-04 04: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-11-04 04:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:30:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:30:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":232251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:30:48] local.INFO: GPS data processed {"connection_id":232251,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:30:48] local.INFO: Acknowledgment sent {"connection_id":232251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:31:09] local.INFO: TCP Data received {"connection_id":230407,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:31:09] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:31:09] local.INFO: IMEI packet received {"connection_id":230407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":230407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:31:15] local.INFO: TCP Data received {"connection_id":232252,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:31:15] local.INFO: Processing buffer {"connection_id":232252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a05078012ce51bc007234b90000900802b..."} 
[2026-11-04 04:31:15] local.INFO: Packet analysis {"connection_id":232252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:31:15] local.INFO: Extracted packet for processing {"connection_id":232252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a0"} 
[2026-11-04 04:31:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199041024001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793746555000,"timestamp_ms":1793746555000,"timestamp_seconds":1793746555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a05078"} 
[2026-11-04 04:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 04:31:15] 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-11-04 04:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:31:15] 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-11-04 04:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199041024001,"66":24745,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199041024001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:31:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:31:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199041024001,"power":24745,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":232252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:31:15] local.INFO: GPS data processed {"connection_id":232252,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:31:15] local.INFO: Acknowledgment sent {"connection_id":232252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:31:15] local.INFO: TCP Data received {"connection_id":230407,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:31:15] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:31:15] local.INFO: IMEI packet received {"connection_id":230407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":230407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:31:16] local.INFO: TCP Data received {"connection_id":230407,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:31:16] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:31:16] local.INFO: Packet analysis {"connection_id":230407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:31:16] local.INFO: Extracted packet for processing {"connection_id":230407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:16] 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-11-04 04:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:31:16] 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-11-04 04: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-11-04 04:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:31:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:31:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":230407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:31:16] local.INFO: GPS data processed {"connection_id":230407,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:31:16] local.INFO: Acknowledgment sent {"connection_id":230407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:31:35] local.INFO: TCP Data received {"connection_id":229146,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:31:35] local.INFO: Processing buffer {"connection_id":229146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:31:35] local.INFO: IMEI packet received {"connection_id":229146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":229146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:31:40] local.INFO: TCP Data received {"connection_id":229146,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:31:40] local.INFO: Processing buffer {"connection_id":229146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:31:40] local.INFO: IMEI packet received {"connection_id":229146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":229146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:31:41] local.INFO: TCP Data received {"connection_id":229146,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:31:41] local.INFO: Processing buffer {"connection_id":229146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:31:41] local.INFO: Packet analysis {"connection_id":229146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:31:41] local.INFO: Extracted packet for processing {"connection_id":229146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:31:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":229146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:31:41] local.INFO: GPS data processed {"connection_id":229146,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:31:41] local.INFO: Acknowledgment sent {"connection_id":229146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:31:47] local.INFO: TCP Data received {"connection_id":230407,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:31:47] local.INFO: Processing buffer {"connection_id":230407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:31:47] local.INFO: Packet analysis {"connection_id":230407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:31:47] local.INFO: Extracted packet for processing {"connection_id":230407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:31:47] 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-11-04 04:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:31:47] 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-11-04 04:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:31:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:31:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":230407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:31:48] local.INFO: GPS data processed {"connection_id":230407,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:31:48] local.INFO: Acknowledgment sent {"connection_id":230407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:32:09] local.INFO: TCP Data received {"connection_id":228670,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:32:09] local.INFO: Processing buffer {"connection_id":228670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:32:09] local.INFO: IMEI packet received {"connection_id":228670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":228670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:32:12] local.INFO: TCP Data received {"connection_id":229146,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:32:12] local.INFO: Processing buffer {"connection_id":229146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:32:12] local.INFO: Packet analysis {"connection_id":229146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:32:12] local.INFO: Extracted packet for processing {"connection_id":229146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:32:12] 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-11-04 04:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:32:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:32:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":229146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:32:12] local.INFO: GPS data processed {"connection_id":229146,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:32:12] local.INFO: Acknowledgment sent {"connection_id":229146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:32:15] local.INFO: TCP Data received {"connection_id":228670,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:32:15] local.INFO: Processing buffer {"connection_id":228670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:32:15] local.INFO: IMEI packet received {"connection_id":228670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":228670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:32:16] local.INFO: TCP Data received {"connection_id":228670,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:32:16] local.INFO: Processing buffer {"connection_id":228670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a169b8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:32:16] local.INFO: Packet analysis {"connection_id":228670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:32:16] local.INFO: Extracted packet for processing {"connection_id":228670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a1"} 
[2026-11-04 04:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:32: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-11-04 04:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199059456001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:16] 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-11-04 04:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746627000,"timestamp_ms":1793746627000,"timestamp_seconds":1793746627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a169b8"} 
[2026-11-04 04:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:32: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":62,"data_length":795,"current_offset":136} 
[2026-11-04 04:32:16] 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-11-04 04:32: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-11-04 04:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199059456001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199059456001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:32:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:32:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199059456001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":228670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:32:16] local.INFO: GPS data processed {"connection_id":228670,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:32:16] local.INFO: Acknowledgment sent {"connection_id":228670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:32:35] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:32:35] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:32:35] local.INFO: IMEI packet received {"connection_id":230408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":230408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:32:40] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:32:40] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:32:40] local.INFO: IMEI packet received {"connection_id":230408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":230408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:32:41] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:32:41] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:32:41] local.INFO: Packet analysis {"connection_id":230408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:32:41] local.INFO: Extracted packet for processing {"connection_id":230408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":230408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:32:41] local.INFO: GPS data processed {"connection_id":230408,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:32:41] local.INFO: Acknowledgment sent {"connection_id":230408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:32:48] local.INFO: TCP Data received {"connection_id":228670,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:32:48] local.INFO: Processing buffer {"connection_id":228670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:32:48] local.INFO: Packet analysis {"connection_id":228670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:32:48] local.INFO: Extracted packet for processing {"connection_id":228670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:32:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:32:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":228670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:32:48] local.INFO: GPS data processed {"connection_id":228670,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:32:48] local.INFO: Acknowledgment sent {"connection_id":228670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:33:12] local.INFO: TCP Data received {"connection_id":230408,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:33:12] local.INFO: Processing buffer {"connection_id":230408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:33:12] local.INFO: Packet analysis {"connection_id":230408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:33:12] local.INFO: Extracted packet for processing {"connection_id":230408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:33:12] 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-11-04 04: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-11-04 04:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:33:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":230408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:33:12] local.INFO: GPS data processed {"connection_id":230408,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:33:12] local.INFO: Acknowledgment sent {"connection_id":230408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:33:15] local.INFO: TCP Data received {"connection_id":232253,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:33:15] local.INFO: Processing buffer {"connection_id":232253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:33:15] local.INFO: IMEI packet received {"connection_id":232253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":232253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:33:20] local.INFO: TCP Data received {"connection_id":232253,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:33:20] local.INFO: Processing buffer {"connection_id":232253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:33:20] local.INFO: IMEI packet received {"connection_id":232253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":232253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:33:21] local.INFO: TCP Data received {"connection_id":232253,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:33:21] local.INFO: Processing buffer {"connection_id":232253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:33:21] local.INFO: Packet analysis {"connection_id":232253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:33:21] local.INFO: Extracted packet for processing {"connection_id":232253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:33:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:21] 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-11-04 04:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:33:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:33:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":232253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:33:21] local.INFO: GPS data processed {"connection_id":232253,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:33:21] local.INFO: Acknowledgment sent {"connection_id":232253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:33:35] local.INFO: TCP Data received {"connection_id":228671,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:33:35] local.INFO: Processing buffer {"connection_id":228671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:33:35] local.INFO: IMEI packet received {"connection_id":228671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":228671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:33:40] local.INFO: TCP Data received {"connection_id":228671,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:33:40] local.INFO: Processing buffer {"connection_id":228671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:33:40] local.INFO: IMEI packet received {"connection_id":228671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":228671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:33:41] local.INFO: TCP Data received {"connection_id":228671,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:33:41] local.INFO: Processing buffer {"connection_id":228671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:33:41] local.INFO: Packet analysis {"connection_id":228671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:33:41] local.INFO: Extracted packet for processing {"connection_id":228671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:33:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":228671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:33:41] local.INFO: GPS data processed {"connection_id":228671,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:33:41] local.INFO: Acknowledgment sent {"connection_id":228671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:33:53] local.INFO: TCP Data received {"connection_id":232253,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:33:53] local.INFO: Processing buffer {"connection_id":232253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:33:53] local.INFO: Packet analysis {"connection_id":232253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:33:53] local.INFO: Extracted packet for processing {"connection_id":232253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:33:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:33:53] 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-11-04 04:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":232253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":232253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":232253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:33:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:33:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":232253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:33:53] local.INFO: GPS data processed {"connection_id":232253,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:33:53] local.INFO: Acknowledgment sent {"connection_id":232253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:34:09] local.INFO: TCP Data received {"connection_id":228672,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:34:09] local.INFO: Processing buffer {"connection_id":228672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:34:09] local.INFO: IMEI packet received {"connection_id":228672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":228672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:34:12] local.INFO: TCP Data received {"connection_id":228671,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:34:12] local.INFO: Processing buffer {"connection_id":228671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:34:12] local.INFO: Packet analysis {"connection_id":228671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:34:12] local.INFO: Extracted packet for processing {"connection_id":228671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:34:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:34:12] 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-11-04 04:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:34:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":228671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:34:12] local.INFO: GPS data processed {"connection_id":228671,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:34:12] local.INFO: Acknowledgment sent {"connection_id":228671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:34:15] local.INFO: TCP Data received {"connection_id":228672,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:34:15] local.INFO: Processing buffer {"connection_id":228672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:34:15] local.INFO: IMEI packet received {"connection_id":228672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":228672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:34:16] local.INFO: TCP Data received {"connection_id":228672,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:34:16] local.INFO: Processing buffer {"connection_id":228672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:34:16] local.INFO: Packet analysis {"connection_id":228672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:34:16] local.INFO: Extracted packet for processing {"connection_id":228672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:16] 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-11-04 04:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:34:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:34:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":228672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:34:16] local.INFO: GPS data processed {"connection_id":228672,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:34:16] local.INFO: Acknowledgment sent {"connection_id":228672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:34:35] local.INFO: TCP Data received {"connection_id":229147,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:34:35] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:34:35] local.INFO: IMEI packet received {"connection_id":229147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":229147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:34:40] local.INFO: TCP Data received {"connection_id":229147,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:34:40] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:34:40] local.INFO: IMEI packet received {"connection_id":229147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":229147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:34:41] local.INFO: TCP Data received {"connection_id":229147,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:34:41] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:34:41] local.INFO: Packet analysis {"connection_id":229147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:34:41] local.INFO: Extracted packet for processing {"connection_id":229147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:34:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:34:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:34:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":229147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:34:41] local.INFO: GPS data processed {"connection_id":229147,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:34:41] local.INFO: Acknowledgment sent {"connection_id":229147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:34:48] local.INFO: TCP Data received {"connection_id":228672,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:34:48] local.INFO: Processing buffer {"connection_id":228672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:34:48] local.INFO: Packet analysis {"connection_id":228672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:34:48] local.INFO: Extracted packet for processing {"connection_id":228672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:34:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:34:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":228672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:34:48] local.INFO: GPS data processed {"connection_id":228672,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:34:48] local.INFO: Acknowledgment sent {"connection_id":228672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:35:09] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:35:09] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:35:09] local.INFO: IMEI packet received {"connection_id":229148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":229148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:35:12] local.INFO: TCP Data received {"connection_id":229147,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:35:12] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:35:12] local.INFO: Packet analysis {"connection_id":229147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:35:12] local.INFO: Extracted packet for processing {"connection_id":229147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:35:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:35:12] 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-11-04 04:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:35:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:35:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":229147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:35:12] local.INFO: GPS data processed {"connection_id":229147,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:35:12] local.INFO: Acknowledgment sent {"connection_id":229147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:35:15] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:35:15] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:35:15] local.INFO: IMEI packet received {"connection_id":229148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":229148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:35:16] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:35:16] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:35:16] local.INFO: Packet analysis {"connection_id":229148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:35:16] local.INFO: Extracted packet for processing {"connection_id":229148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:16] 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-11-04 04:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:35:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:35:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":229148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:35:16] local.INFO: GPS data processed {"connection_id":229148,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:35:16] local.INFO: Acknowledgment sent {"connection_id":229148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:35:35] local.INFO: TCP Data received {"connection_id":229149,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:35:35] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:35:35] local.INFO: IMEI packet received {"connection_id":229149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":229149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:35:40] local.INFO: TCP Data received {"connection_id":229149,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:35:40] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:35:40] local.INFO: IMEI packet received {"connection_id":229149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":229149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:35:41] local.INFO: TCP Data received {"connection_id":229149,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:35:41] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:35:41] local.INFO: Packet analysis {"connection_id":229149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:35:41] local.INFO: Extracted packet for processing {"connection_id":229149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:35:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:35:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:35:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":229149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:35:41] local.INFO: GPS data processed {"connection_id":229149,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:35:41] local.INFO: Acknowledgment sent {"connection_id":229149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:35:47] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:35:47] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:35:47] local.INFO: Packet analysis {"connection_id":229148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:35:47] local.INFO: Extracted packet for processing {"connection_id":229148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:35:47] 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-11-04 04:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229148,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:35:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:35:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":229148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:35:47] local.INFO: GPS data processed {"connection_id":229148,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:35:47] local.INFO: Acknowledgment sent {"connection_id":229148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:36:12] local.INFO: TCP Data received {"connection_id":229149,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:36:12] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a4e840012ce51bc007234b90000900802a..."} 
[2026-11-04 04:36:12] local.INFO: Packet analysis {"connection_id":229149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:36:12] local.INFO: Extracted packet for processing {"connection_id":229149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a4"} 
[2026-11-04 04:36:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199118080001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793746856000,"timestamp_ms":1793746856000,"timestamp_seconds":1793746856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a4e840"} 
[2026-11-04 04:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-11-04 04:36:12] 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-11-04 04: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-11-04 04:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199118080001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199118080001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:36:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:36:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:36:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199118080001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":229149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:36:12] local.INFO: GPS data processed {"connection_id":229149,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:36:12] local.INFO: Acknowledgment sent {"connection_id":229149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:36:15] local.INFO: TCP Data received {"connection_id":230409,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:36:15] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:36:15] local.INFO: IMEI packet received {"connection_id":230409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":230409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:36:20] local.INFO: TCP Data received {"connection_id":230409,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:36:20] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:36:20] local.INFO: IMEI packet received {"connection_id":230409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":230409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:36:21] local.INFO: TCP Data received {"connection_id":230409,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:36:21] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:36:21] local.INFO: Packet analysis {"connection_id":230409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:36:21] local.INFO: Extracted packet for processing {"connection_id":230409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:21] 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-11-04 04:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:36:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:36:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":230409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:36:21] local.INFO: GPS data processed {"connection_id":230409,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:36:21] local.INFO: Acknowledgment sent {"connection_id":230409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:36:25] local.INFO: TCP Data received {"connection_id":230409,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:36:25] local.INFO: Processing buffer {"connection_id":230409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:36:25] local.INFO: Packet analysis {"connection_id":230409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:36:25] local.INFO: Extracted packet for processing {"connection_id":230409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:36:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:25] 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-11-04 04:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:36:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:36:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":230409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:36:26] local.INFO: GPS data processed {"connection_id":230409,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:36:26] local.INFO: Acknowledgment sent {"connection_id":230409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:36:35] local.INFO: TCP Data received {"connection_id":232254,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:35] local.INFO: Processing buffer {"connection_id":232254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:35] local.INFO: IMEI packet received {"connection_id":232254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":232254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:36:35] local.INFO: TCP Data received {"connection_id":232254,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:35] local.INFO: Processing buffer {"connection_id":232254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:35] local.INFO: IMEI packet received {"connection_id":232254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":232254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:36:40] local.INFO: TCP Data received {"connection_id":232254,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:40] local.INFO: Processing buffer {"connection_id":232254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:36:40] local.INFO: IMEI packet received {"connection_id":232254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":232254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:36:41] local.INFO: TCP Data received {"connection_id":232254,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:36:41] local.INFO: Processing buffer {"connection_id":232254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:36:41] local.INFO: Packet analysis {"connection_id":232254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:36:41] local.INFO: Extracted packet for processing {"connection_id":232254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:36:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":232254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:36:41] local.INFO: GPS data processed {"connection_id":232254,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:36:41] local.INFO: Acknowledgment sent {"connection_id":232254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:37:10] local.INFO: TCP Data received {"connection_id":232255,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:37:10] local.INFO: Processing buffer {"connection_id":232255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:37:10] local.INFO: IMEI packet received {"connection_id":232255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":232255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:37:12] local.INFO: TCP Data received {"connection_id":232254,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:37:12] local.INFO: Processing buffer {"connection_id":232254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:37:12] local.INFO: Packet analysis {"connection_id":232254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:37:12] local.INFO: Extracted packet for processing {"connection_id":232254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:37:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:37:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":232254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:37:12] local.INFO: GPS data processed {"connection_id":232254,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:37:12] local.INFO: Acknowledgment sent {"connection_id":232254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:37:15] local.INFO: TCP Data received {"connection_id":232255,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:37:15] local.INFO: Processing buffer {"connection_id":232255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:37:15] local.INFO: IMEI packet received {"connection_id":232255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":232255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:37:16] local.INFO: TCP Data received {"connection_id":232255,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:37:16] local.INFO: Processing buffer {"connection_id":232255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:37:16] local.INFO: Packet analysis {"connection_id":232255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:37:16] local.INFO: Extracted packet for processing {"connection_id":232255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:16] 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-11-04 04:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 04:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:37:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:37:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":232255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:37:16] local.INFO: GPS data processed {"connection_id":232255,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:37:16] local.INFO: Acknowledgment sent {"connection_id":232255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:37:35] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:37:35] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:37:35] local.INFO: IMEI packet received {"connection_id":230410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":230410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:37:40] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:37:40] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:37:40] local.INFO: IMEI packet received {"connection_id":230410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":230410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:37:41] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:37:41] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:37:41] local.INFO: Packet analysis {"connection_id":230410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:37:41] local.INFO: Extracted packet for processing {"connection_id":230410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:37:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:37:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":230410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:37:41] local.INFO: GPS data processed {"connection_id":230410,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:37:41] local.INFO: Acknowledgment sent {"connection_id":230410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:37:49] local.INFO: TCP Data received {"connection_id":232255,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:37:49] local.INFO: Processing buffer {"connection_id":232255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a60180012d3c94c006a39460004601582d..."} 
[2026-11-04 04:37:49] local.INFO: Packet analysis {"connection_id":232255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:37:49] local.INFO: Extracted packet for processing {"connection_id":232255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a6"} 
[2026-11-04 04:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199136512001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:37:49] 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-11-04 04:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793746928000,"timestamp_ms":1793746928000,"timestamp_seconds":1793746928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a60180"} 
[2026-11-04 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-11-04 04:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199136512001,"66":26419,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199136512001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:37:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:37:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199136512001,"power":26419,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":232255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:37:49] local.INFO: GPS data processed {"connection_id":232255,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:37:49] local.INFO: Acknowledgment sent {"connection_id":232255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:38:12] local.INFO: TCP Data received {"connection_id":230410,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:38:12] local.INFO: Processing buffer {"connection_id":230410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:38:12] local.INFO: Packet analysis {"connection_id":230410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:38:12] local.INFO: Extracted packet for processing {"connection_id":230410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:38:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":230410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:38:12] local.INFO: GPS data processed {"connection_id":230410,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:38:12] local.INFO: Acknowledgment sent {"connection_id":230410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:38:15] local.INFO: TCP Data received {"connection_id":229150,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:38:15] local.INFO: Processing buffer {"connection_id":229150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:38:15] local.INFO: IMEI packet received {"connection_id":229150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":229150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:38:20] local.INFO: TCP Data received {"connection_id":229150,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:38:20] local.INFO: Processing buffer {"connection_id":229150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:38:20] local.INFO: IMEI packet received {"connection_id":229150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":229150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:38:21] local.INFO: TCP Data received {"connection_id":229150,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:38:21] local.INFO: Processing buffer {"connection_id":229150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:38:21] local.INFO: Packet analysis {"connection_id":229150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:38:21] local.INFO: Extracted packet for processing {"connection_id":229150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:38:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:21] 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-11-04 04:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:38:21] 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-11-04 04: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-11-04 04:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:38:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:38:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":229150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:38:21] local.INFO: GPS data processed {"connection_id":229150,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:38:21] local.INFO: Acknowledgment sent {"connection_id":229150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:38:26] local.INFO: TCP Data received {"connection_id":229150,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:38:26] local.INFO: Processing buffer {"connection_id":229150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:38:26] local.INFO: Packet analysis {"connection_id":229150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:38:26] local.INFO: Extracted packet for processing {"connection_id":229150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:38:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:26] 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-11-04 04:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:38:26] 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-11-04 04:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:38:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:38:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":229150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:38:26] local.INFO: GPS data processed {"connection_id":229150,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:38:26] local.INFO: Acknowledgment sent {"connection_id":229150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:38:35] local.INFO: TCP Data received {"connection_id":232256,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:38:35] local.INFO: Processing buffer {"connection_id":232256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:38:35] local.INFO: IMEI packet received {"connection_id":232256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":232256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:38:40] local.INFO: TCP Data received {"connection_id":232256,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:38:40] local.INFO: Processing buffer {"connection_id":232256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:38:40] local.INFO: IMEI packet received {"connection_id":232256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":232256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:38:43] local.INFO: TCP Data received {"connection_id":232256,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:38:43] local.INFO: Processing buffer {"connection_id":232256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:38:43] local.INFO: Packet analysis {"connection_id":232256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:38:43] local.INFO: Extracted packet for processing {"connection_id":232256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:38:43] 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-11-04 04:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:38:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:38:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":232256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:38:43] local.INFO: GPS data processed {"connection_id":232256,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:38:43] local.INFO: Acknowledgment sent {"connection_id":232256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:39:10] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:39:10] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:39:10] local.INFO: IMEI packet received {"connection_id":229151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":229151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:39:14] local.INFO: TCP Data received {"connection_id":232256,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:39:14] local.INFO: Processing buffer {"connection_id":232256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:39:14] local.INFO: Packet analysis {"connection_id":232256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:39:14] local.INFO: Extracted packet for processing {"connection_id":232256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:39:14] 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-11-04 04:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:39:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:39:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:39:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":232256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:39:14] local.INFO: GPS data processed {"connection_id":232256,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:39:14] local.INFO: Acknowledgment sent {"connection_id":232256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:39:15] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:39:15] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:39:15] local.INFO: IMEI packet received {"connection_id":229151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":229151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:39:17] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:39:17] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:39:17] local.INFO: Packet analysis {"connection_id":229151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:39:17] local.INFO: Extracted packet for processing {"connection_id":229151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:17] 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-11-04 04:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:39:17] 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-11-04 04:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:39:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:39:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":229151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:39:17] local.INFO: GPS data processed {"connection_id":229151,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:39:17] local.INFO: Acknowledgment sent {"connection_id":229151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:39:35] local.INFO: TCP Data received {"connection_id":228673,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:39:35] local.INFO: Processing buffer {"connection_id":228673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:39:35] local.INFO: IMEI packet received {"connection_id":228673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":228673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:39:40] local.INFO: TCP Data received {"connection_id":228673,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:39:40] local.INFO: Processing buffer {"connection_id":228673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:39:40] local.INFO: IMEI packet received {"connection_id":228673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":228673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:39:41] local.INFO: TCP Data received {"connection_id":228673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:39:41] local.INFO: Processing buffer {"connection_id":228673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:39:41] local.INFO: Packet analysis {"connection_id":228673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:39:41] local.INFO: Extracted packet for processing {"connection_id":228673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:39:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":228673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:39:41] local.INFO: GPS data processed {"connection_id":228673,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:39:41] local.INFO: Acknowledgment sent {"connection_id":228673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:39:49] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:39:49] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:39:49] local.INFO: Packet analysis {"connection_id":229151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:39:49] local.INFO: Extracted packet for processing {"connection_id":229151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:39:49] 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-11-04 04:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:39:49] 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-11-04 04:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:39:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:39:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":229151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:39:49] local.INFO: GPS data processed {"connection_id":229151,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:39:49] local.INFO: Acknowledgment sent {"connection_id":229151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:40:09] local.INFO: TCP Data received {"connection_id":230411,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:40:09] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:40:09] local.INFO: IMEI packet received {"connection_id":230411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":230411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:40:12] local.INFO: TCP Data received {"connection_id":228673,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:40:12] local.INFO: Processing buffer {"connection_id":228673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:40:12] local.INFO: Packet analysis {"connection_id":228673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:40:12] local.INFO: Extracted packet for processing {"connection_id":228673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:40:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":228673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:40:12] local.INFO: GPS data processed {"connection_id":228673,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:40:12] local.INFO: Acknowledgment sent {"connection_id":228673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:40:15] local.INFO: TCP Data received {"connection_id":230411,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:40:15] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:40:15] local.INFO: IMEI packet received {"connection_id":230411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":230411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:40:16] local.INFO: TCP Data received {"connection_id":230411,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:40:16] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:40:16] local.INFO: Packet analysis {"connection_id":230411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:40:16] local.INFO: Extracted packet for processing {"connection_id":230411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:16] 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-11-04 04:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:40:16] 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-11-04 04: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-11-04 04:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:40:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:40:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":230411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:40:16] local.INFO: GPS data processed {"connection_id":230411,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:40:16] local.INFO: Acknowledgment sent {"connection_id":230411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:40:35] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:40:35] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:40:35] local.INFO: IMEI packet received {"connection_id":230412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":230412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:40:40] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:40:40] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:40:40] local.INFO: IMEI packet received {"connection_id":230412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":230412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:40:40] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:40:40] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:40:40] local.INFO: Packet analysis {"connection_id":230412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:40:40] local.INFO: Extracted packet for processing {"connection_id":230412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:40:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:40:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:40:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":230412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:40:40] local.INFO: GPS data processed {"connection_id":230412,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:40:40] local.INFO: Acknowledgment sent {"connection_id":230412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:40:48] local.INFO: TCP Data received {"connection_id":230411,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:40:48] local.INFO: Processing buffer {"connection_id":230411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:40:48] local.INFO: Packet analysis {"connection_id":230411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:40:48] local.INFO: Extracted packet for processing {"connection_id":230411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:40:48] 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-11-04 04:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:40:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:40:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":230411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:40:48] local.INFO: GPS data processed {"connection_id":230411,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:40:48] local.INFO: Acknowledgment sent {"connection_id":230411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:41:09] local.INFO: TCP Data received {"connection_id":228674,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:41:09] local.INFO: Processing buffer {"connection_id":228674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:41:09] local.INFO: IMEI packet received {"connection_id":228674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":228674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:41:11] local.INFO: TCP Data received {"connection_id":230412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:41:11] local.INFO: Processing buffer {"connection_id":230412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3a98008012ce51bc007234b90000900802a..."} 
[2026-11-04 04:41:11] local.INFO: Packet analysis {"connection_id":230412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:41:11] local.INFO: Extracted packet for processing {"connection_id":230412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3a9"} 
[2026-11-04 04:41:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199195136001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793747157000,"timestamp_ms":1793747157000,"timestamp_seconds":1793747157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3a98008"} 
[2026-11-04 04:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 04:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199195136001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199195136001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:41:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:41:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199195136001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":230412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:41:11] local.INFO: GPS data processed {"connection_id":230412,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:41:11] local.INFO: Acknowledgment sent {"connection_id":230412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:41:15] local.INFO: TCP Data received {"connection_id":228674,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:41:15] local.INFO: Processing buffer {"connection_id":228674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:41:15] local.INFO: IMEI packet received {"connection_id":228674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":228674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:41:16] local.INFO: TCP Data received {"connection_id":228674,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:41:16] local.INFO: Processing buffer {"connection_id":228674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:41:16] local.INFO: Packet analysis {"connection_id":228674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:41:16] local.INFO: Extracted packet for processing {"connection_id":228674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:41: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-11-04 04:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:16] 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-11-04 04:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:41: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":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:41:16] 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-11-04 04:41: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-11-04 04:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:41:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:41:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":228674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:41:16] local.INFO: GPS data processed {"connection_id":228674,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:41:16] local.INFO: Acknowledgment sent {"connection_id":228674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:41:36] local.INFO: TCP Data received {"connection_id":228675,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:36] local.INFO: Processing buffer {"connection_id":228675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:36] local.INFO: IMEI packet received {"connection_id":228675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":228675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:41:40] local.INFO: TCP Data received {"connection_id":228675,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:40] local.INFO: Processing buffer {"connection_id":228675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:40] local.INFO: IMEI packet received {"connection_id":228675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":228675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:41:45] local.INFO: TCP Data received {"connection_id":228675,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:45] local.INFO: Processing buffer {"connection_id":228675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:41:45] local.INFO: IMEI packet received {"connection_id":228675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":228675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:41:46] local.INFO: TCP Data received {"connection_id":228675,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:41:46] local.INFO: Processing buffer {"connection_id":228675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:41:46] local.INFO: Packet analysis {"connection_id":228675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:41:46] local.INFO: Extracted packet for processing {"connection_id":228675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:41:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:41:46] 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-11-04 04: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-11-04 04:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:41:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:41:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:41:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":228675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:41:46] local.INFO: GPS data processed {"connection_id":228675,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:41:46] local.INFO: Acknowledgment sent {"connection_id":228675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:41:47] local.INFO: TCP Data received {"connection_id":228674,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:41:47] local.INFO: Processing buffer {"connection_id":228674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:41:47] local.INFO: Packet analysis {"connection_id":228674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:41:47] local.INFO: Extracted packet for processing {"connection_id":228674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:47] 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-11-04 04:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:41:47] 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-11-04 04:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:41:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:41:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":228674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:41:47] local.INFO: GPS data processed {"connection_id":228674,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:41:47] local.INFO: Acknowledgment sent {"connection_id":228674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:41:50] local.INFO: TCP Data received {"connection_id":228675,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:41:50] local.INFO: Processing buffer {"connection_id":228675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:41:50] local.INFO: Packet analysis {"connection_id":228675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:41:50] local.INFO: Extracted packet for processing {"connection_id":228675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:41:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:41:50] 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-11-04 04:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:41:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:41:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":228675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:41:50] local.INFO: GPS data processed {"connection_id":228675,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:41:50] local.INFO: Acknowledgment sent {"connection_id":228675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:42:09] local.INFO: TCP Data received {"connection_id":230413,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:42:09] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:42:09] local.INFO: IMEI packet received {"connection_id":230413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":230413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:42:15] local.INFO: TCP Data received {"connection_id":230413,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:42:15] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:42:15] local.INFO: IMEI packet received {"connection_id":230413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":230413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:42:16] local.INFO: TCP Data received {"connection_id":230413,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:42:16] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:42:16] local.INFO: Packet analysis {"connection_id":230413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:42:16] local.INFO: Extracted packet for processing {"connection_id":230413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:16] 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-11-04 04:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:42:16] 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-11-04 04: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-11-04 04:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:42:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:42:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":230413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:42:16] local.INFO: GPS data processed {"connection_id":230413,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:42:16] local.INFO: Acknowledgment sent {"connection_id":230413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:42:35] local.INFO: TCP Data received {"connection_id":229152,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:42:35] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:42:35] local.INFO: IMEI packet received {"connection_id":229152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":229152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:42:40] local.INFO: TCP Data received {"connection_id":229152,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:42:40] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:42:40] local.INFO: IMEI packet received {"connection_id":229152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":229152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:42:41] local.INFO: TCP Data received {"connection_id":229152,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:42:41] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:42:41] local.INFO: Packet analysis {"connection_id":229152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:42:41] local.INFO: Extracted packet for processing {"connection_id":229152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:42:41] 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-11-04 04:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":229152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:42:41] local.INFO: GPS data processed {"connection_id":229152,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:42:41] local.INFO: Acknowledgment sent {"connection_id":229152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:42:48] local.INFO: TCP Data received {"connection_id":230413,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:42:48] local.INFO: Processing buffer {"connection_id":230413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3aa9948012d3c94c006a39460004601582d..."} 
[2026-11-04 04:42:48] local.INFO: Packet analysis {"connection_id":230413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:42:48] local.INFO: Extracted packet for processing {"connection_id":230413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3aa"} 
[2026-11-04 04:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199213568001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793747229000,"timestamp_ms":1793747229000,"timestamp_seconds":1793747229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3aa9948"} 
[2026-11-04 04:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 04:42:48] 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-11-04 04:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199213568001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199213568001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:42:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199213568001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":230413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:42:48] local.INFO: GPS data processed {"connection_id":230413,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:42:48] local.INFO: Acknowledgment sent {"connection_id":230413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:43:09] local.INFO: TCP Data received {"connection_id":232257,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:43:09] local.INFO: Processing buffer {"connection_id":232257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:43:09] local.INFO: IMEI packet received {"connection_id":232257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":232257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:43:12] local.INFO: TCP Data received {"connection_id":229152,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:43:12] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:43:12] local.INFO: Packet analysis {"connection_id":229152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:43:12] local.INFO: Extracted packet for processing {"connection_id":229152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:43:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:43:12] 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-11-04 04: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-11-04 04:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:43:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":229152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:43:12] local.INFO: GPS data processed {"connection_id":229152,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:43:12] local.INFO: Acknowledgment sent {"connection_id":229152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:43:15] local.INFO: TCP Data received {"connection_id":232257,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:43:15] local.INFO: Processing buffer {"connection_id":232257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:43:15] local.INFO: IMEI packet received {"connection_id":232257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":232257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:43:16] local.INFO: TCP Data received {"connection_id":232257,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:43:16] local.INFO: Processing buffer {"connection_id":232257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:43:16] local.INFO: Packet analysis {"connection_id":232257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:43:16] local.INFO: Extracted packet for processing {"connection_id":232257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:16] 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-11-04 04:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":232257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:43:16] local.INFO: GPS data processed {"connection_id":232257,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:43:16] local.INFO: Acknowledgment sent {"connection_id":232257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:43:35] local.INFO: TCP Data received {"connection_id":232258,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:43:35] local.INFO: Processing buffer {"connection_id":232258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:43:35] local.INFO: IMEI packet received {"connection_id":232258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":232258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:43:40] local.INFO: TCP Data received {"connection_id":232258,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:43:40] local.INFO: Processing buffer {"connection_id":232258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:43:40] local.INFO: IMEI packet received {"connection_id":232258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":232258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:43:41] local.INFO: TCP Data received {"connection_id":232258,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:43:41] local.INFO: Processing buffer {"connection_id":232258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:43:41] local.INFO: Packet analysis {"connection_id":232258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:43:41] local.INFO: Extracted packet for processing {"connection_id":232258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:43:41] 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-11-04 04: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-11-04 04:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":232258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:43:41] local.INFO: GPS data processed {"connection_id":232258,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:43:41] local.INFO: Acknowledgment sent {"connection_id":232258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:43:47] local.INFO: TCP Data received {"connection_id":232257,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:43:47] local.INFO: Processing buffer {"connection_id":232257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:43:47] local.INFO: Packet analysis {"connection_id":232257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:43:47] local.INFO: Extracted packet for processing {"connection_id":232257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:43:47] 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-11-04 04:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:43:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:43:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":232257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:43:47] local.INFO: GPS data processed {"connection_id":232257,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:43:47] local.INFO: Acknowledgment sent {"connection_id":232257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:44:09] local.INFO: TCP Data received {"connection_id":230414,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:44:09] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:44:09] local.INFO: IMEI packet received {"connection_id":230414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":230414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:44:12] local.INFO: TCP Data received {"connection_id":232258,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:44:12] local.INFO: Processing buffer {"connection_id":232258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:44:12] local.INFO: Packet analysis {"connection_id":232258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:44:12] local.INFO: Extracted packet for processing {"connection_id":232258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 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-11-04 04:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:44:12] 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-11-04 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-11-04 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-11-04 04:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:44:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":232258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:44:12] local.INFO: GPS data processed {"connection_id":232258,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:44:12] local.INFO: Acknowledgment sent {"connection_id":232258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:44:15] local.INFO: TCP Data received {"connection_id":230414,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:44:15] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:44:15] local.INFO: IMEI packet received {"connection_id":230414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":230414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:44:16] local.INFO: TCP Data received {"connection_id":230414,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:44:16] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:44:16] local.INFO: Packet analysis {"connection_id":230414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:44:16] local.INFO: Extracted packet for processing {"connection_id":230414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:16] 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-11-04 04:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:44:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:44:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":230414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:44:16] local.INFO: GPS data processed {"connection_id":230414,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:44:16] local.INFO: Acknowledgment sent {"connection_id":230414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:44:35] local.INFO: TCP Data received {"connection_id":229153,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:44:35] local.INFO: Processing buffer {"connection_id":229153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:44:35] local.INFO: IMEI packet received {"connection_id":229153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":229153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:44:40] local.INFO: TCP Data received {"connection_id":229153,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:44:40] local.INFO: Processing buffer {"connection_id":229153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:44:40] local.INFO: IMEI packet received {"connection_id":229153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":229153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:44:41] local.INFO: TCP Data received {"connection_id":229153,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:44:41] local.INFO: Processing buffer {"connection_id":229153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:44:41] local.INFO: Packet analysis {"connection_id":229153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:44:41] local.INFO: Extracted packet for processing {"connection_id":229153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:44:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:44:41] 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-11-04 04:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:44:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:44:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":229153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:44:41] local.INFO: GPS data processed {"connection_id":229153,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:44:41] local.INFO: Acknowledgment sent {"connection_id":229153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:44:48] local.INFO: TCP Data received {"connection_id":230414,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:44:48] local.INFO: Processing buffer {"connection_id":230414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:44:48] local.INFO: Packet analysis {"connection_id":230414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:44:48] local.INFO: Extracted packet for processing {"connection_id":230414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:44:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:44:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":230414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:44:48] local.INFO: GPS data processed {"connection_id":230414,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:44:48] local.INFO: Acknowledgment sent {"connection_id":230414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:45:12] local.INFO: TCP Data received {"connection_id":229153,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:45:12] local.INFO: Processing buffer {"connection_id":229153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:45:12] local.INFO: Packet analysis {"connection_id":229153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:45:12] local.INFO: Extracted packet for processing {"connection_id":229153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:45:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:45:12] 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-11-04 04: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-11-04 04:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:45:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":229153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:45:12] local.INFO: GPS data processed {"connection_id":229153,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:45:12] local.INFO: Acknowledgment sent {"connection_id":229153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:45:15] local.INFO: TCP Data received {"connection_id":228676,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:45:15] local.INFO: Processing buffer {"connection_id":228676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:45:15] local.INFO: IMEI packet received {"connection_id":228676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":228676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:45:20] local.INFO: TCP Data received {"connection_id":228676,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:45:20] local.INFO: Processing buffer {"connection_id":228676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:45:20] local.INFO: IMEI packet received {"connection_id":228676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":228676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:45:21] local.INFO: TCP Data received {"connection_id":228676,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:45:21] local.INFO: Processing buffer {"connection_id":228676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:45:21] local.INFO: Packet analysis {"connection_id":228676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:45:21] local.INFO: Extracted packet for processing {"connection_id":228676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:21] 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-11-04 04:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 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-11-04 04:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:45:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:45:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":228676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:45:21] local.INFO: GPS data processed {"connection_id":228676,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:45:21] local.INFO: Acknowledgment sent {"connection_id":228676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:45:26] local.INFO: TCP Data received {"connection_id":228676,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:45:26] local.INFO: Processing buffer {"connection_id":228676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:45:26] local.INFO: Packet analysis {"connection_id":228676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:45:26] local.INFO: Extracted packet for processing {"connection_id":228676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:45:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:26] 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-11-04 04:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:45:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:45:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":228676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:45:26] local.INFO: GPS data processed {"connection_id":228676,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:45:26] local.INFO: Acknowledgment sent {"connection_id":228676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:45:35] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:45:35] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:45:35] local.INFO: IMEI packet received {"connection_id":230415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":230415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:45:40] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:45:40] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:45:40] local.INFO: IMEI packet received {"connection_id":230415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":230415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:45:41] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:45:41] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:45:41] local.INFO: Packet analysis {"connection_id":230415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:45:41] local.INFO: Extracted packet for processing {"connection_id":230415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 04:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:45:41] 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-11-04 04: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-11-04 04:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":230415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:45:41] local.INFO: GPS data processed {"connection_id":230415,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:45:41] local.INFO: Acknowledgment sent {"connection_id":230415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:46:10] local.INFO: TCP Data received {"connection_id":228677,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:46:10] local.INFO: Processing buffer {"connection_id":228677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:46:10] local.INFO: IMEI packet received {"connection_id":228677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":228677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:46:12] local.INFO: TCP Data received {"connection_id":230415,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:12] local.INFO: Processing buffer {"connection_id":230415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ae17d0012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:12] local.INFO: Packet analysis {"connection_id":230415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:46:12] local.INFO: Extracted packet for processing {"connection_id":230415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ae"} 
[2026-11-04 04:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747458000,"timestamp_ms":1793747458000,"timestamp_seconds":1793747458,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ae17d0"} 
[2026-11-04 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-11-04 04:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:46:12] 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-11-04 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-11-04 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-11-04 04:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199272192001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199272192001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":230415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:46:12] local.INFO: GPS data processed {"connection_id":230415,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:46:12] local.INFO: Acknowledgment sent {"connection_id":230415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:46:15] local.INFO: TCP Data received {"connection_id":228677,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:46:15] local.INFO: Processing buffer {"connection_id":228677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:46:15] local.INFO: IMEI packet received {"connection_id":228677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":228677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:46:16] local.INFO: TCP Data received {"connection_id":228677,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:46:16] local.INFO: Processing buffer {"connection_id":228677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:46:16] local.INFO: Packet analysis {"connection_id":228677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:46:16] local.INFO: Extracted packet for processing {"connection_id":228677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:16] 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-11-04 04:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:46:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:46:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":228677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:46:16] local.INFO: GPS data processed {"connection_id":228677,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:46:16] local.INFO: Acknowledgment sent {"connection_id":228677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:46:37] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:37] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:37] local.INFO: IMEI packet received {"connection_id":230416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":230416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:46:42] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:42] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:42] local.INFO: IMEI packet received {"connection_id":230416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":230416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:46:45] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:45] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:46:45] local.INFO: IMEI packet received {"connection_id":230416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":230416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:46:45] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:45] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:45] local.INFO: Packet analysis {"connection_id":230416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:46:45] local.INFO: Extracted packet for processing {"connection_id":230416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:46:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:46:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:46:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":230416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:46:45] local.INFO: GPS data processed {"connection_id":230416,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:46:45] local.INFO: Acknowledgment sent {"connection_id":230416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:46:48] local.INFO: TCP Data received {"connection_id":228677,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:46:48] local.INFO: Processing buffer {"connection_id":228677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:46:48] local.INFO: Packet analysis {"connection_id":228677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:46:48] local.INFO: Extracted packet for processing {"connection_id":228677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:46:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:46:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":228677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:46:48] local.INFO: GPS data processed {"connection_id":228677,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:46:48] local.INFO: Acknowledgment sent {"connection_id":228677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:46:50] local.INFO: TCP Data received {"connection_id":230416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:50] local.INFO: Processing buffer {"connection_id":230416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:46:50] local.INFO: Packet analysis {"connection_id":230416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:46:50] local.INFO: Extracted packet for processing {"connection_id":230416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:46:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:46:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":230416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:46:50] local.INFO: GPS data processed {"connection_id":230416,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:46:50] local.INFO: Acknowledgment sent {"connection_id":230416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:47:09] local.INFO: TCP Data received {"connection_id":232259,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:47:09] local.INFO: Processing buffer {"connection_id":232259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:47:09] local.INFO: IMEI packet received {"connection_id":232259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":232259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:47:15] local.INFO: TCP Data received {"connection_id":232259,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:47:15] local.INFO: Processing buffer {"connection_id":232259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:47:15] local.INFO: IMEI packet received {"connection_id":232259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":232259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:47:16] local.INFO: TCP Data received {"connection_id":232259,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:47:16] local.INFO: Processing buffer {"connection_id":232259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:47:16] local.INFO: Packet analysis {"connection_id":232259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:47:16] local.INFO: Extracted packet for processing {"connection_id":232259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:16] 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-11-04 04:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:47:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:47:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":232259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:47:16] local.INFO: GPS data processed {"connection_id":232259,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:47:16] local.INFO: Acknowledgment sent {"connection_id":232259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:47:35] local.INFO: TCP Data received {"connection_id":229154,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:47:35] local.INFO: Processing buffer {"connection_id":229154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:47:35] local.INFO: IMEI packet received {"connection_id":229154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":229154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:47:40] local.INFO: TCP Data received {"connection_id":229154,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:47:40] local.INFO: Processing buffer {"connection_id":229154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:47:40] local.INFO: IMEI packet received {"connection_id":229154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":229154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:47:41] local.INFO: TCP Data received {"connection_id":229154,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:47:41] local.INFO: Processing buffer {"connection_id":229154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:47:41] local.INFO: Packet analysis {"connection_id":229154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:47:41] local.INFO: Extracted packet for processing {"connection_id":229154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:47:41] 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-11-04 04:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":229154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:47:41] local.INFO: GPS data processed {"connection_id":229154,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:47:41] local.INFO: Acknowledgment sent {"connection_id":229154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:47:47] local.INFO: TCP Data received {"connection_id":232259,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:47:47] local.INFO: Processing buffer {"connection_id":232259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3af3110012d3c94c006a39460004601582d..."} 
[2026-11-04 04:47:47] local.INFO: Packet analysis {"connection_id":232259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:47:47] local.INFO: Extracted packet for processing {"connection_id":232259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3af"} 
[2026-11-04 04:47:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:47: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-11-04 04:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:47:47] 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-11-04 04:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793747530000,"timestamp_ms":1793747530000,"timestamp_seconds":1793747530,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3af3110"} 
[2026-11-04 04:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:47: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":187,"data_length":795,"current_offset":136} 
[2026-11-04 04:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:47: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-11-04 04:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199290624001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:47:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:47:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199290624001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":232259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:47:47] local.INFO: GPS data processed {"connection_id":232259,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:47:47] local.INFO: Acknowledgment sent {"connection_id":232259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:48:12] local.INFO: TCP Data received {"connection_id":229154,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:48:12] local.INFO: Processing buffer {"connection_id":229154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:48:12] local.INFO: Packet analysis {"connection_id":229154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:48:12] local.INFO: Extracted packet for processing {"connection_id":229154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:48:12] 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-11-04 04:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":229154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:48:12] local.INFO: GPS data processed {"connection_id":229154,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:48:12] local.INFO: Acknowledgment sent {"connection_id":229154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:48:15] local.INFO: TCP Data received {"connection_id":232260,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:48:15] local.INFO: Processing buffer {"connection_id":232260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:48:15] local.INFO: IMEI packet received {"connection_id":232260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":232260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:48:20] local.INFO: TCP Data received {"connection_id":232260,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:48:20] local.INFO: Processing buffer {"connection_id":232260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:48:20] local.INFO: IMEI packet received {"connection_id":232260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":232260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:48:21] local.INFO: TCP Data received {"connection_id":232260,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:48:21] local.INFO: Processing buffer {"connection_id":232260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:48:21] local.INFO: Packet analysis {"connection_id":232260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:48:21] local.INFO: Extracted packet for processing {"connection_id":232260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:21] 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-11-04 04:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 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-11-04 04:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:48:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:48:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":232260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:48:21] local.INFO: GPS data processed {"connection_id":232260,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:48:21] local.INFO: Acknowledgment sent {"connection_id":232260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:48:25] local.INFO: TCP Data received {"connection_id":232260,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:48:25] local.INFO: Processing buffer {"connection_id":232260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:48:25] local.INFO: Packet analysis {"connection_id":232260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:48:25] local.INFO: Extracted packet for processing {"connection_id":232260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:25] 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-11-04 04:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232260,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:48:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:48:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:48:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:48:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":232260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:48:26] local.INFO: GPS data processed {"connection_id":232260,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:48:26] local.INFO: Acknowledgment sent {"connection_id":232260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:48:35] local.INFO: TCP Data received {"connection_id":228678,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:48:35] local.INFO: Processing buffer {"connection_id":228678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:48:35] local.INFO: IMEI packet received {"connection_id":228678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":228678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:48:40] local.INFO: TCP Data received {"connection_id":228678,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:48:40] local.INFO: Processing buffer {"connection_id":228678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:48:40] local.INFO: IMEI packet received {"connection_id":228678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":228678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:48:41] local.INFO: TCP Data received {"connection_id":228678,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:48:41] local.INFO: Processing buffer {"connection_id":228678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:48:41] local.INFO: Packet analysis {"connection_id":228678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:48:41] local.INFO: Extracted packet for processing {"connection_id":228678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:48:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:48:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:48:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:48:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":228678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:48:41] local.INFO: GPS data processed {"connection_id":228678,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:48:41] local.INFO: Acknowledgment sent {"connection_id":228678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:49:09] local.INFO: TCP Data received {"connection_id":232261,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:49:09] local.INFO: Processing buffer {"connection_id":232261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:49:09] local.INFO: IMEI packet received {"connection_id":232261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":232261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:49:12] local.INFO: TCP Data received {"connection_id":228678,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:49:12] local.INFO: Processing buffer {"connection_id":228678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:49:12] local.INFO: Packet analysis {"connection_id":228678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:49:12] local.INFO: Extracted packet for processing {"connection_id":228678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:49:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 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-11-04 04:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:49:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":228678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:49:12] local.INFO: GPS data processed {"connection_id":228678,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:49:12] local.INFO: Acknowledgment sent {"connection_id":228678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:49:15] local.INFO: TCP Data received {"connection_id":232261,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:49:15] local.INFO: Processing buffer {"connection_id":232261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:49:15] local.INFO: IMEI packet received {"connection_id":232261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":232261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:49:16] local.INFO: TCP Data received {"connection_id":232261,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:49:16] local.INFO: Processing buffer {"connection_id":232261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:49:16] local.INFO: Packet analysis {"connection_id":232261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:49:16] local.INFO: Extracted packet for processing {"connection_id":232261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:16] 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-11-04 04:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:49:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:49:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":232261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:49:16] local.INFO: GPS data processed {"connection_id":232261,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:49:16] local.INFO: Acknowledgment sent {"connection_id":232261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:49:35] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:49:35] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:49:35] local.INFO: IMEI packet received {"connection_id":230417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":230417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:49:40] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:49:40] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:49:40] local.INFO: IMEI packet received {"connection_id":230417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":230417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:49:41] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:49:41] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:49:41] local.INFO: Packet analysis {"connection_id":230417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:49:41] local.INFO: Extracted packet for processing {"connection_id":230417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":230417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:49:41] local.INFO: GPS data processed {"connection_id":230417,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:49:41] local.INFO: Acknowledgment sent {"connection_id":230417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:49:47] local.INFO: TCP Data received {"connection_id":232261,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:49:47] local.INFO: Processing buffer {"connection_id":232261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:49:47] local.INFO: Packet analysis {"connection_id":232261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:49:47] local.INFO: Extracted packet for processing {"connection_id":232261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:49:47] 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-11-04 04:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232261,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:49:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:49:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":232261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:49:47] local.INFO: GPS data processed {"connection_id":232261,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:49:47] local.INFO: Acknowledgment sent {"connection_id":232261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:50:09] local.INFO: TCP Data received {"connection_id":230418,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:50:09] local.INFO: Processing buffer {"connection_id":230418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:50:09] local.INFO: IMEI packet received {"connection_id":230418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":230418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:50:12] local.INFO: TCP Data received {"connection_id":230417,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:50:12] local.INFO: Processing buffer {"connection_id":230417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:50:12] local.INFO: Packet analysis {"connection_id":230417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:50:12] local.INFO: Extracted packet for processing {"connection_id":230417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":230417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:50:12] local.INFO: GPS data processed {"connection_id":230417,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:50:12] local.INFO: Acknowledgment sent {"connection_id":230417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:50:15] local.INFO: TCP Data received {"connection_id":230418,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:50:15] local.INFO: Processing buffer {"connection_id":230418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:50:15] local.INFO: IMEI packet received {"connection_id":230418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":230418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:50:16] local.INFO: TCP Data received {"connection_id":230418,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:50:16] local.INFO: Processing buffer {"connection_id":230418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:50:16] local.INFO: Packet analysis {"connection_id":230418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:50:16] local.INFO: Extracted packet for processing {"connection_id":230418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:50: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-11-04 04:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:16] 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-11-04 04:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:50: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":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:50: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-11-04 04:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:50:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:50:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":230418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:50:16] local.INFO: GPS data processed {"connection_id":230418,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:50:16] local.INFO: Acknowledgment sent {"connection_id":230418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:50:35] local.INFO: TCP Data received {"connection_id":229155,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:50:35] local.INFO: Processing buffer {"connection_id":229155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:50:35] local.INFO: IMEI packet received {"connection_id":229155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":229155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:50:40] local.INFO: TCP Data received {"connection_id":229155,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:50:40] local.INFO: Processing buffer {"connection_id":229155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:50:40] local.INFO: IMEI packet received {"connection_id":229155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":229155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:50:41] local.INFO: TCP Data received {"connection_id":229155,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:50:41] local.INFO: Processing buffer {"connection_id":229155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:50:41] local.INFO: Packet analysis {"connection_id":229155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:50:41] local.INFO: Extracted packet for processing {"connection_id":229155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 04:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:50:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":229155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:50:41] local.INFO: GPS data processed {"connection_id":229155,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:50:41] local.INFO: Acknowledgment sent {"connection_id":229155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:50:48] local.INFO: TCP Data received {"connection_id":230418,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:50:48] local.INFO: Processing buffer {"connection_id":230418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:50:48] local.INFO: Packet analysis {"connection_id":230418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:50:48] local.INFO: Extracted packet for processing {"connection_id":230418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:50:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:50:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":230418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:50:48] local.INFO: GPS data processed {"connection_id":230418,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:50:48] local.INFO: Acknowledgment sent {"connection_id":230418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:51:09] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:51:09] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:51:09] local.INFO: IMEI packet received {"connection_id":229156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":229156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:51:12] local.INFO: TCP Data received {"connection_id":229155,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:12] local.INFO: Processing buffer {"connection_id":229155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b2af98012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:12] local.INFO: Packet analysis {"connection_id":229155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:51:12] local.INFO: Extracted packet for processing {"connection_id":229155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b2"} 
[2026-11-04 04:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793747759000,"timestamp_ms":1793747759000,"timestamp_seconds":1793747759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b2af98"} 
[2026-11-04 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-11-04 04:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 04:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199349248001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199349248001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:51:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199349248001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":229155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:51:12] local.INFO: GPS data processed {"connection_id":229155,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:51:12] local.INFO: Acknowledgment sent {"connection_id":229155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:51:15] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:51:15] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:51:15] local.INFO: IMEI packet received {"connection_id":229156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":229156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:51:16] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:51:16] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:51:16] local.INFO: Packet analysis {"connection_id":229156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:51:16] local.INFO: Extracted packet for processing {"connection_id":229156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:16] 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-11-04 04:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:51:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:51:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":229156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:51:16] local.INFO: GPS data processed {"connection_id":229156,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:51:16] local.INFO: Acknowledgment sent {"connection_id":229156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:51:38] local.INFO: TCP Data received {"connection_id":229157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:38] local.INFO: Processing buffer {"connection_id":229157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:38] local.INFO: IMEI packet received {"connection_id":229157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":229157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:51:40] local.INFO: TCP Data received {"connection_id":229157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:40] local.INFO: Processing buffer {"connection_id":229157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:40] local.INFO: IMEI packet received {"connection_id":229157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":229157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:51:45] local.INFO: TCP Data received {"connection_id":229157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:45] local.INFO: Processing buffer {"connection_id":229157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:51:45] local.INFO: IMEI packet received {"connection_id":229157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":229157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:51:46] local.INFO: TCP Data received {"connection_id":229157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:46] local.INFO: Processing buffer {"connection_id":229157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:46] local.INFO: Packet analysis {"connection_id":229157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:51:46] local.INFO: Extracted packet for processing {"connection_id":229157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:51:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 04:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:51:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:51:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":229157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:51:46] local.INFO: GPS data processed {"connection_id":229157,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:51:46] local.INFO: Acknowledgment sent {"connection_id":229157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:51:47] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:51:47] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:51:47] local.INFO: Packet analysis {"connection_id":229156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:51:47] local.INFO: Extracted packet for processing {"connection_id":229156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:47] 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-11-04 04:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 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-11-04 04:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229156,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:51:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:51:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":229156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:51:47] local.INFO: GPS data processed {"connection_id":229156,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:51:47] local.INFO: Acknowledgment sent {"connection_id":229156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:51:50] local.INFO: TCP Data received {"connection_id":229157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:50] local.INFO: Processing buffer {"connection_id":229157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:51:50] local.INFO: Packet analysis {"connection_id":229157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:51:50] local.INFO: Extracted packet for processing {"connection_id":229157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:51:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 04:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:51:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":229157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:51:50] local.INFO: GPS data processed {"connection_id":229157,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:51:50] local.INFO: Acknowledgment sent {"connection_id":229157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:52:15] local.INFO: TCP Data received {"connection_id":230419,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:52:15] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:52:15] local.INFO: IMEI packet received {"connection_id":230419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":230419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:52:19] local.INFO: TCP Data received {"connection_id":230419,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:52:19] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:52:19] local.INFO: IMEI packet received {"connection_id":230419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":230419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:52:20] local.INFO: TCP Data received {"connection_id":230419,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:52:20] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:52:20] local.INFO: Packet analysis {"connection_id":230419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:52:20] local.INFO: Extracted packet for processing {"connection_id":230419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:52:20] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52: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-11-04 04:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:52:20] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:52:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":230419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:52:20] local.INFO: GPS data processed {"connection_id":230419,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:52:20] local.INFO: Acknowledgment sent {"connection_id":230419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:52:26] local.INFO: TCP Data received {"connection_id":230419,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:52:26] local.INFO: Processing buffer {"connection_id":230419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b3c8d8012d3c94c006a39460004601582d..."} 
[2026-11-04 04:52:26] local.INFO: Packet analysis {"connection_id":230419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:52:26] local.INFO: Extracted packet for processing {"connection_id":230419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b3"} 
[2026-11-04 04:52:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":45,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199367680001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:26] 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-11-04 04:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793747831000,"timestamp_ms":1793747831000,"timestamp_seconds":1793747831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b3c8d8"} 
[2026-11-04 04:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230419,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199367680001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199367680001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:52:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:52:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199367680001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":230419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:52:26] local.INFO: GPS data processed {"connection_id":230419,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:52:26] local.INFO: Acknowledgment sent {"connection_id":230419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:52:35] local.INFO: TCP Data received {"connection_id":229158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:52:35] local.INFO: Processing buffer {"connection_id":229158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:52:35] local.INFO: IMEI packet received {"connection_id":229158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":229158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:52:40] local.INFO: TCP Data received {"connection_id":229158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:52:40] local.INFO: Processing buffer {"connection_id":229158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:52:40] local.INFO: IMEI packet received {"connection_id":229158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":229158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:52:41] local.INFO: TCP Data received {"connection_id":229158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:52:41] local.INFO: Processing buffer {"connection_id":229158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:52:41] local.INFO: Packet analysis {"connection_id":229158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:52:41] local.INFO: Extracted packet for processing {"connection_id":229158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 04:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":229158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:52:41] local.INFO: GPS data processed {"connection_id":229158,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:52:41] local.INFO: Acknowledgment sent {"connection_id":229158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:53:09] local.INFO: TCP Data received {"connection_id":232262,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:53:09] local.INFO: Processing buffer {"connection_id":232262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:53:09] local.INFO: IMEI packet received {"connection_id":232262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":232262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:53:12] local.INFO: TCP Data received {"connection_id":229158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:53:12] local.INFO: Processing buffer {"connection_id":229158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:53:12] local.INFO: Packet analysis {"connection_id":229158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:53:12] local.INFO: Extracted packet for processing {"connection_id":229158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:53:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 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-11-04 04:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":229158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:53:12] local.INFO: GPS data processed {"connection_id":229158,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:53:12] local.INFO: Acknowledgment sent {"connection_id":229158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:53:15] local.INFO: TCP Data received {"connection_id":232262,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:53:15] local.INFO: Processing buffer {"connection_id":232262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:53:15] local.INFO: IMEI packet received {"connection_id":232262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":232262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:53:16] local.INFO: TCP Data received {"connection_id":232262,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:53:16] local.INFO: Processing buffer {"connection_id":232262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:53:16] local.INFO: Packet analysis {"connection_id":232262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:53:16] local.INFO: Extracted packet for processing {"connection_id":232262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:16] 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-11-04 04:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:53:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:53:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":232262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:53:16] local.INFO: GPS data processed {"connection_id":232262,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:53:16] local.INFO: Acknowledgment sent {"connection_id":232262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:53:35] local.INFO: TCP Data received {"connection_id":232263,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:53:35] local.INFO: Processing buffer {"connection_id":232263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:53:35] local.INFO: IMEI packet received {"connection_id":232263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":232263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:53:40] local.INFO: TCP Data received {"connection_id":232263,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:53:40] local.INFO: Processing buffer {"connection_id":232263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:53:40] local.INFO: IMEI packet received {"connection_id":232263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":232263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:53:41] local.INFO: TCP Data received {"connection_id":232263,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:53:41] local.INFO: Processing buffer {"connection_id":232263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:53:41] local.INFO: Packet analysis {"connection_id":232263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:53:41] local.INFO: Extracted packet for processing {"connection_id":232263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:53:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 04:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":232263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:53:41] local.INFO: GPS data processed {"connection_id":232263,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:53:41] local.INFO: Acknowledgment sent {"connection_id":232263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:53:47] local.INFO: TCP Data received {"connection_id":232262,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:53:47] local.INFO: Processing buffer {"connection_id":232262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:53:47] local.INFO: Packet analysis {"connection_id":232262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:53:47] local.INFO: Extracted packet for processing {"connection_id":232262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:53:47] 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-11-04 04:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 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-11-04 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:53:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:53:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":232262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:53:47] local.INFO: GPS data processed {"connection_id":232262,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:53:47] local.INFO: Acknowledgment sent {"connection_id":232262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:54:09] local.INFO: TCP Data received {"connection_id":230420,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:54:09] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:54:09] local.INFO: IMEI packet received {"connection_id":230420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":230420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:54:12] local.INFO: TCP Data received {"connection_id":232263,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:54:12] local.INFO: Processing buffer {"connection_id":232263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:54:12] local.INFO: Packet analysis {"connection_id":232263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:54:12] local.INFO: Extracted packet for processing {"connection_id":232263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 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-11-04 04:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:54:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":232263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:54:12] local.INFO: GPS data processed {"connection_id":232263,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:54:12] local.INFO: Acknowledgment sent {"connection_id":232263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:54:15] local.INFO: TCP Data received {"connection_id":230420,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:54:15] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:54:15] local.INFO: IMEI packet received {"connection_id":230420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":230420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:54:16] local.INFO: TCP Data received {"connection_id":230420,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:54:16] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:54:16] local.INFO: Packet analysis {"connection_id":230420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:54:16] local.INFO: Extracted packet for processing {"connection_id":230420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:16] 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-11-04 04:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":230420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:54:16] local.INFO: GPS data processed {"connection_id":230420,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:54:16] local.INFO: Acknowledgment sent {"connection_id":230420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:54:35] local.INFO: TCP Data received {"connection_id":228679,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:54:35] local.INFO: Processing buffer {"connection_id":228679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:54:35] local.INFO: IMEI packet received {"connection_id":228679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":228679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:54:40] local.INFO: TCP Data received {"connection_id":228679,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:54:40] local.INFO: Processing buffer {"connection_id":228679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:54:40] local.INFO: IMEI packet received {"connection_id":228679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":228679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:54:44] local.INFO: TCP Data received {"connection_id":228679,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:54:44] local.INFO: Processing buffer {"connection_id":228679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:54:44] local.INFO: Packet analysis {"connection_id":228679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:54:44] local.INFO: Extracted packet for processing {"connection_id":228679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:54:44] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 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-11-04 04:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:54:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:54:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:54:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":228679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:54:44] local.INFO: GPS data processed {"connection_id":228679,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:54:44] local.INFO: Acknowledgment sent {"connection_id":228679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:54:48] local.INFO: TCP Data received {"connection_id":230420,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:54:48] local.INFO: Processing buffer {"connection_id":230420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:54:48] local.INFO: Packet analysis {"connection_id":230420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:54:48] local.INFO: Extracted packet for processing {"connection_id":230420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:54:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:54:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":230420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:54:48] local.INFO: GPS data processed {"connection_id":230420,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:54:48] local.INFO: Acknowledgment sent {"connection_id":230420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:55:15] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:55:15] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:55:15] local.INFO: IMEI packet received {"connection_id":229159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":229159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:55:15] local.INFO: TCP Data received {"connection_id":228679,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:15] local.INFO: Processing buffer {"connection_id":228679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:15] local.INFO: Packet analysis {"connection_id":228679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:55:15] local.INFO: Extracted packet for processing {"connection_id":228679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:55:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 04:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:55:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:55:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:55:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":228679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:55:15] local.INFO: GPS data processed {"connection_id":228679,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:55:15] local.INFO: Acknowledgment sent {"connection_id":228679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:55:20] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:55:20] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:55:20] local.INFO: IMEI packet received {"connection_id":229159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":229159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:55:21] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:55:21] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:55:21] local.INFO: Packet analysis {"connection_id":229159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:55:21] local.INFO: Extracted packet for processing {"connection_id":229159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:21] 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-11-04 04:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:55:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:55:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":229159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:55:21] local.INFO: GPS data processed {"connection_id":229159,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:55:21] local.INFO: Acknowledgment sent {"connection_id":229159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:55:25] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:55:25] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:55:25] local.INFO: Packet analysis {"connection_id":229159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:55:25] local.INFO: Extracted packet for processing {"connection_id":229159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:55:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:25] 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-11-04 04:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:55:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:55:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":229159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:55:25] local.INFO: GPS data processed {"connection_id":229159,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:55:25] local.INFO: Acknowledgment sent {"connection_id":229159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:55:40] local.INFO: TCP Data received {"connection_id":232264,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:55:40] local.INFO: Processing buffer {"connection_id":232264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:55:40] local.INFO: IMEI packet received {"connection_id":232264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":232264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:55:45] local.INFO: TCP Data received {"connection_id":232264,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:55:45] local.INFO: Processing buffer {"connection_id":232264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:55:45] local.INFO: IMEI packet received {"connection_id":232264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":232264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:55:46] local.INFO: TCP Data received {"connection_id":232264,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:46] local.INFO: Processing buffer {"connection_id":232264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:46] local.INFO: Packet analysis {"connection_id":232264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:55:46] local.INFO: Extracted packet for processing {"connection_id":232264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:55:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 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-11-04 04:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 04:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:55:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:55:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":232264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:55:46] local.INFO: GPS data processed {"connection_id":232264,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:55:46] local.INFO: Acknowledgment sent {"connection_id":232264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:55:50] local.INFO: TCP Data received {"connection_id":232264,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:50] local.INFO: Processing buffer {"connection_id":232264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b74760012ce51bc007234b900009008029..."} 
[2026-11-04 04:55:50] local.INFO: Packet analysis {"connection_id":232264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:55:50] local.INFO: Extracted packet for processing {"connection_id":232264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b7"} 
[2026-11-04 04:55:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199426304001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793748060000,"timestamp_ms":1793748060000,"timestamp_seconds":1793748060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b74760"} 
[2026-11-04 04:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 04:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199426304001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199426304001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:55:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199426304001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":232264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:55:50] local.INFO: GPS data processed {"connection_id":232264,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:55:50] local.INFO: Acknowledgment sent {"connection_id":232264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:56:09] local.INFO: TCP Data received {"connection_id":230421,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:56:09] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:56:09] local.INFO: IMEI packet received {"connection_id":230421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":230421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:56:15] local.INFO: TCP Data received {"connection_id":230421,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:56:15] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:56:15] local.INFO: IMEI packet received {"connection_id":230421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":230421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:56:16] local.INFO: TCP Data received {"connection_id":230421,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:56:16] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:56:16] local.INFO: Packet analysis {"connection_id":230421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:56:16] local.INFO: Extracted packet for processing {"connection_id":230421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:16] 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-11-04 04:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:56:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:56:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":230421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:56:16] local.INFO: GPS data processed {"connection_id":230421,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:56:16] local.INFO: Acknowledgment sent {"connection_id":230421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:56:35] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:56:35] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:56:35] local.INFO: IMEI packet received {"connection_id":230422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":230422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:56:39] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:56:39] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:56:39] local.INFO: IMEI packet received {"connection_id":230422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":230422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:56:39] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:56:39] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:56:39] local.INFO: Packet analysis {"connection_id":230422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:56:39] local.INFO: Extracted packet for processing {"connection_id":230422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 04:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:56:39] 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-11-04 04: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-11-04 04:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":230422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:56:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:56:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":230422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:56:39] local.INFO: GPS data processed {"connection_id":230422,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:56:39] local.INFO: Acknowledgment sent {"connection_id":230422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:56:48] local.INFO: TCP Data received {"connection_id":230421,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:56:48] local.INFO: Processing buffer {"connection_id":230421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:56:48] local.INFO: Packet analysis {"connection_id":230421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:56:48] local.INFO: Extracted packet for processing {"connection_id":230421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:56:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:56:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":230421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:56:48] local.INFO: GPS data processed {"connection_id":230421,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:56:48] local.INFO: Acknowledgment sent {"connection_id":230421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:57:09] local.INFO: TCP Data received {"connection_id":229160,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:57:09] local.INFO: Processing buffer {"connection_id":229160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:57:09] local.INFO: IMEI packet received {"connection_id":229160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":229160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:57:10] local.INFO: TCP Data received {"connection_id":230422,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:57:10] local.INFO: Processing buffer {"connection_id":230422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:57:10] local.INFO: Packet analysis {"connection_id":230422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:57:10] local.INFO: Extracted packet for processing {"connection_id":230422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 04:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:57:10] 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-11-04 04: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-11-04 04:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":230422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":230422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:57: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-11-04 04:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:57:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:57:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:57:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":230422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:57:10] local.INFO: GPS data processed {"connection_id":230422,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:57:10] local.INFO: Acknowledgment sent {"connection_id":230422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:57:15] local.INFO: TCP Data received {"connection_id":229160,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:57:15] local.INFO: Processing buffer {"connection_id":229160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:57:15] local.INFO: IMEI packet received {"connection_id":229160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":229160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:57:16] local.INFO: TCP Data received {"connection_id":229160,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:57:16] local.INFO: Processing buffer {"connection_id":229160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:57:16] local.INFO: Packet analysis {"connection_id":229160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:57:16] local.INFO: Extracted packet for processing {"connection_id":229160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:16] 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-11-04 04:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:57:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:57:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":229160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:57:16] local.INFO: GPS data processed {"connection_id":229160,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:57:16] local.INFO: Acknowledgment sent {"connection_id":229160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:57:35] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:57:35] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:57:35] local.INFO: IMEI packet received {"connection_id":230423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":230423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:57:40] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:57:40] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:57:40] local.INFO: IMEI packet received {"connection_id":230423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":230423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:57:40] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:57:40] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:57:40] local.INFO: Packet analysis {"connection_id":230423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:57:40] local.INFO: Extracted packet for processing {"connection_id":230423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:57:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 04:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:57:40] 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-11-04 04:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:57:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:57:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:57:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":230423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:57:40] local.INFO: GPS data processed {"connection_id":230423,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:57:40] local.INFO: Acknowledgment sent {"connection_id":230423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:57:47] local.INFO: TCP Data received {"connection_id":229160,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:57:47] local.INFO: Processing buffer {"connection_id":229160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3b860a0012d3c94c006a39460004601582a..."} 
[2026-11-04 04:57:47] local.INFO: Packet analysis {"connection_id":229160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:57:47] local.INFO: Extracted packet for processing {"connection_id":229160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3b8"} 
[2026-11-04 04:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199444736001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:57:47] 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-11-04 04:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793748132000,"timestamp_ms":1793748132000,"timestamp_seconds":1793748132,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3b860a0"} 
[2026-11-04 04:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 04:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229160,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199444736001,"66":26408,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199444736001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:57:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:57:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199444736001,"power":26408,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":229160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:57:47] local.INFO: GPS data processed {"connection_id":229160,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:57:47] local.INFO: Acknowledgment sent {"connection_id":229160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:58:09] local.INFO: TCP Data received {"connection_id":228680,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:58:09] local.INFO: Processing buffer {"connection_id":228680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:58:09] local.INFO: IMEI packet received {"connection_id":228680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":228680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:58:11] local.INFO: TCP Data received {"connection_id":230423,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:58:11] local.INFO: Processing buffer {"connection_id":230423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:58:11] local.INFO: Packet analysis {"connection_id":230423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:58:11] local.INFO: Extracted packet for processing {"connection_id":230423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:58:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 04:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 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-11-04 04:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:58:11] 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-11-04 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-11-04 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-11-04 04:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:58:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":230423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:58:11] local.INFO: GPS data processed {"connection_id":230423,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:58:11] local.INFO: Acknowledgment sent {"connection_id":230423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:58:15] local.INFO: TCP Data received {"connection_id":228680,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:58:15] local.INFO: Processing buffer {"connection_id":228680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:58:15] local.INFO: IMEI packet received {"connection_id":228680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":228680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:58:17] local.INFO: TCP Data received {"connection_id":228680,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:58:17] local.INFO: Processing buffer {"connection_id":228680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:58:17] local.INFO: Packet analysis {"connection_id":228680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:58:17] local.INFO: Extracted packet for processing {"connection_id":228680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:17] 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-11-04 04:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 04:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:58:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:58:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":228680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:58:17] local.INFO: GPS data processed {"connection_id":228680,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:58:17] local.INFO: Acknowledgment sent {"connection_id":228680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:58:35] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:58:35] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:58:35] local.INFO: IMEI packet received {"connection_id":230424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":230424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:58:40] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:58:40] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:58:40] local.INFO: IMEI packet received {"connection_id":230424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":230424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:58:40] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:58:40] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:58:40] local.INFO: Packet analysis {"connection_id":230424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:58:40] local.INFO: Extracted packet for processing {"connection_id":230424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:58:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 04:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:58:40] 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-11-04 04:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:58: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-11-04 04:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:58:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:58:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:58:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":230424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:58:40] local.INFO: GPS data processed {"connection_id":230424,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:58:40] local.INFO: Acknowledgment sent {"connection_id":230424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:58:49] local.INFO: TCP Data received {"connection_id":228680,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:58:49] local.INFO: Processing buffer {"connection_id":228680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:58:49] local.INFO: Packet analysis {"connection_id":228680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:58:49] local.INFO: Extracted packet for processing {"connection_id":228680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:58:49] 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-11-04 04:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 04:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:58:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:58:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":228680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:58:49] local.INFO: GPS data processed {"connection_id":228680,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:58:49] local.INFO: Acknowledgment sent {"connection_id":228680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:59:11] local.INFO: TCP Data received {"connection_id":230424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:59:11] local.INFO: Processing buffer {"connection_id":230424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:59:11] local.INFO: Packet analysis {"connection_id":230424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:59:11] local.INFO: Extracted packet for processing {"connection_id":230424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 04:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:59:11] 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-11-04 04: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-11-04 04:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:59: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-11-04 04:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:59:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:59:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:59:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":230424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:59:11] local.INFO: GPS data processed {"connection_id":230424,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:59:11] local.INFO: Acknowledgment sent {"connection_id":230424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:59:15] local.INFO: TCP Data received {"connection_id":229161,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:59:15] local.INFO: Processing buffer {"connection_id":229161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:59:15] local.INFO: IMEI packet received {"connection_id":229161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 04:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":229161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:59:20] local.INFO: TCP Data received {"connection_id":229161,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:59:20] local.INFO: Processing buffer {"connection_id":229161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 04:59:20] local.INFO: IMEI packet received {"connection_id":229161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 04:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":229161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:59:21] local.INFO: TCP Data received {"connection_id":229161,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:59:21] local.INFO: Processing buffer {"connection_id":229161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:59:21] local.INFO: Packet analysis {"connection_id":229161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:59:21] local.INFO: Extracted packet for processing {"connection_id":229161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04: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-11-04 04:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:21] 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-11-04 04:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 04:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04: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-11-04 04:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:59:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":229161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:59:21] local.INFO: GPS data processed {"connection_id":229161,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:59:21] local.INFO: Acknowledgment sent {"connection_id":229161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:59:25] local.INFO: TCP Data received {"connection_id":229161,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:59:25] local.INFO: Processing buffer {"connection_id":229161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 04:59:25] local.INFO: Packet analysis {"connection_id":229161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:59:25] local.INFO: Extracted packet for processing {"connection_id":229161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 04:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 04:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:25] 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-11-04 04:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 04:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 04:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 04:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 04:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 04:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 04:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 04:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 04:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 04:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:59:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 04:59:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 04:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 04:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 04:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":229161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:59:26] local.INFO: GPS data processed {"connection_id":229161,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:59:26] local.INFO: Acknowledgment sent {"connection_id":229161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 04:59:35] local.INFO: TCP Data received {"connection_id":228681,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:59:35] local.INFO: Processing buffer {"connection_id":228681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:59:35] local.INFO: IMEI packet received {"connection_id":228681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 04:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":228681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 04:59:40] local.INFO: TCP Data received {"connection_id":228681,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:59:40] local.INFO: Processing buffer {"connection_id":228681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 04:59:40] local.INFO: IMEI packet received {"connection_id":228681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 04:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":228681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 04:59:41] local.INFO: TCP Data received {"connection_id":228681,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:59:41] local.INFO: Processing buffer {"connection_id":228681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 04:59:41] local.INFO: Packet analysis {"connection_id":228681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:59:41] local.INFO: Extracted packet for processing {"connection_id":228681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 04:59:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 04:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 04:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 04:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 04:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 04:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 04:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 04:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 04:59:41] 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-11-04 04:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 04:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 04:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 04:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 04:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 04:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 04:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 04:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 04:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 04:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 04:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 04:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 04:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 04:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 04:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 04:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 04:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 04:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":228681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 04:59:41] local.INFO: GPS data processed {"connection_id":228681,"processed":1,"errors":0,"total":1} 
[2026-11-04 04:59:41] local.INFO: Acknowledgment sent {"connection_id":228681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:00:10] local.INFO: TCP Data received {"connection_id":232265,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:00:10] local.INFO: Processing buffer {"connection_id":232265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:00:10] local.INFO: IMEI packet received {"connection_id":232265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":232265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:00:12] local.INFO: TCP Data received {"connection_id":228681,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:12] local.INFO: Processing buffer {"connection_id":228681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:12] local.INFO: Packet analysis {"connection_id":228681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 05:00:12] local.INFO: Extracted packet for processing {"connection_id":228681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 05:00:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 05:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:00:12] 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-11-04 05: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-11-04 05:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:00:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":228681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:00:12] local.INFO: GPS data processed {"connection_id":228681,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:00:12] local.INFO: Acknowledgment sent {"connection_id":228681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:00:15] local.INFO: TCP Data received {"connection_id":232265,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:00:15] local.INFO: Processing buffer {"connection_id":232265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:00:15] local.INFO: IMEI packet received {"connection_id":232265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":232265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:00:16] local.INFO: TCP Data received {"connection_id":232265,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:00:16] local.INFO: Processing buffer {"connection_id":232265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:00:16] local.INFO: Packet analysis {"connection_id":232265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:00:16] local.INFO: Extracted packet for processing {"connection_id":232265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:16] 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-11-04 05:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 05:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 05:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":232265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:00:16] local.INFO: GPS data processed {"connection_id":232265,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:00:16] local.INFO: Acknowledgment sent {"connection_id":232265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:00:40] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:00:40] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:00:40] local.INFO: IMEI packet received {"connection_id":230425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":230425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:00:45] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:00:45] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:00:45] local.INFO: IMEI packet received {"connection_id":230425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":230425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:00:45] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:45] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:45] local.INFO: Packet analysis {"connection_id":230425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 05:00:45] local.INFO: Extracted packet for processing {"connection_id":230425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 05:00:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 05:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:00:45] 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-11-04 05: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-11-04 05:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:00:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:00:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:00:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":230425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:00:45] local.INFO: GPS data processed {"connection_id":230425,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:00:45] local.INFO: Acknowledgment sent {"connection_id":230425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:00:48] local.INFO: TCP Data received {"connection_id":232265,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:00:48] local.INFO: Processing buffer {"connection_id":232265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:00:48] local.INFO: Packet analysis {"connection_id":232265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:00:48] local.INFO: Extracted packet for processing {"connection_id":232265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 05:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 05:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:00:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:00:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":232265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:00:48] local.INFO: GPS data processed {"connection_id":232265,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:00:48] local.INFO: Acknowledgment sent {"connection_id":232265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:00:50] local.INFO: TCP Data received {"connection_id":230425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:50] local.INFO: Processing buffer {"connection_id":230425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bbdf28012ce51bc007234b900009008028..."} 
[2026-11-04 05:00:50] local.INFO: Packet analysis {"connection_id":230425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 05:00:50] local.INFO: Extracted packet for processing {"connection_id":230425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bb"} 
[2026-11-04 05:00:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199503360001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793748361000,"timestamp_ms":1793748361000,"timestamp_seconds":1793748361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bbdf28"} 
[2026-11-04 05:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:00:50] 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-11-04 05:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199503360001,"66":24071,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199503360001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:00:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199503360001,"power":24071,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":230425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:00:50] local.INFO: GPS data processed {"connection_id":230425,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:00:50] local.INFO: Acknowledgment sent {"connection_id":230425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:01:09] local.INFO: TCP Data received {"connection_id":229162,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:01:09] local.INFO: Processing buffer {"connection_id":229162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:01:09] local.INFO: IMEI packet received {"connection_id":229162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":229162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:01:15] local.INFO: TCP Data received {"connection_id":229162,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:01:15] local.INFO: Processing buffer {"connection_id":229162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:01:15] local.INFO: IMEI packet received {"connection_id":229162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":229162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:01:17] local.INFO: TCP Data received {"connection_id":229162,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:01:17] local.INFO: Processing buffer {"connection_id":229162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:01:17] local.INFO: Packet analysis {"connection_id":229162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:01:17] local.INFO: Extracted packet for processing {"connection_id":229162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:01:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:17] 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-11-04 05:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 05:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 05:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:01:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:01:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":229162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:01:17] local.INFO: GPS data processed {"connection_id":229162,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:01:17] local.INFO: Acknowledgment sent {"connection_id":229162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:01:38] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:01:38] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:01:38] local.INFO: IMEI packet received {"connection_id":230426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":230426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:01:40] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:01:40] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:01:40] local.INFO: IMEI packet received {"connection_id":230426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":230426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:01:40] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:01:40] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:01:40] local.INFO: Packet analysis {"connection_id":230426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:01:40] local.INFO: Extracted packet for processing {"connection_id":230426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:01:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:01:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:01:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:01:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":230426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:01:40] local.INFO: GPS data processed {"connection_id":230426,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:01:40] local.INFO: Acknowledgment sent {"connection_id":230426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:01:41] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:01:41] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:01:41] local.INFO: Packet analysis {"connection_id":230426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:01:41] local.INFO: Extracted packet for processing {"connection_id":230426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":230426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:01:41] local.INFO: GPS data processed {"connection_id":230426,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:01:41] local.INFO: Acknowledgment sent {"connection_id":230426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:01:48] local.INFO: TCP Data received {"connection_id":229162,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:01:48] local.INFO: Processing buffer {"connection_id":229162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:01:48] local.INFO: Packet analysis {"connection_id":229162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:01:48] local.INFO: Extracted packet for processing {"connection_id":229162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:01: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-11-04 05:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 05:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:01: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 05:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:01: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-11-04 05:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:01:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:01:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":229162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:01:48] local.INFO: GPS data processed {"connection_id":229162,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:01:48] local.INFO: Acknowledgment sent {"connection_id":229162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:02:09] local.INFO: TCP Data received {"connection_id":230427,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:02:09] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:02:09] local.INFO: IMEI packet received {"connection_id":230427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":230427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:02:12] local.INFO: TCP Data received {"connection_id":230426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:02:12] local.INFO: Processing buffer {"connection_id":230426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:02:12] local.INFO: Packet analysis {"connection_id":230426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:02:12] local.INFO: Extracted packet for processing {"connection_id":230426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:02:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:02:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":230426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:02:12] local.INFO: GPS data processed {"connection_id":230426,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:02:12] local.INFO: Acknowledgment sent {"connection_id":230426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:02:15] local.INFO: TCP Data received {"connection_id":230427,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:02:15] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:02:15] local.INFO: IMEI packet received {"connection_id":230427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":230427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:02:16] local.INFO: TCP Data received {"connection_id":230427,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:02:16] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:02:16] local.INFO: Packet analysis {"connection_id":230427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:02:16] local.INFO: Extracted packet for processing {"connection_id":230427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:16] 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-11-04 05:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 05:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 05:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:02:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:02:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":230427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:02:16] local.INFO: GPS data processed {"connection_id":230427,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:02:16] local.INFO: Acknowledgment sent {"connection_id":230427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:02:35] local.INFO: TCP Data received {"connection_id":229163,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:02:35] local.INFO: Processing buffer {"connection_id":229163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:02:35] local.INFO: IMEI packet received {"connection_id":229163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":229163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:02:40] local.INFO: TCP Data received {"connection_id":229163,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:02:40] local.INFO: Processing buffer {"connection_id":229163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:02:40] local.INFO: IMEI packet received {"connection_id":229163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":229163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:02:41] local.INFO: TCP Data received {"connection_id":229163,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:02:41] local.INFO: Processing buffer {"connection_id":229163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:02:41] local.INFO: Packet analysis {"connection_id":229163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:02:41] local.INFO: Extracted packet for processing {"connection_id":229163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:02:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":229163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:02:41] local.INFO: GPS data processed {"connection_id":229163,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:02:41] local.INFO: Acknowledgment sent {"connection_id":229163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:02:48] local.INFO: TCP Data received {"connection_id":230427,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:02:48] local.INFO: Processing buffer {"connection_id":230427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3bcf868012d3c94c006a39460004601582a..."} 
[2026-11-04 05:02:48] local.INFO: Packet analysis {"connection_id":230427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:02:48] local.INFO: Extracted packet for processing {"connection_id":230427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3bc"} 
[2026-11-04 05:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199521792001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793748433000,"timestamp_ms":1793748433000,"timestamp_seconds":1793748433,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3bcf868"} 
[2026-11-04 05:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 05:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199521792001,"66":26376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199521792001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:02:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199521792001,"power":26376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":230427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:02:48] local.INFO: GPS data processed {"connection_id":230427,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:02:48] local.INFO: Acknowledgment sent {"connection_id":230427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:03:12] local.INFO: TCP Data received {"connection_id":229163,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:03:12] local.INFO: Processing buffer {"connection_id":229163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:03:12] local.INFO: Packet analysis {"connection_id":229163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:03:12] local.INFO: Extracted packet for processing {"connection_id":229163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 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-11-04 05:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:03:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":229163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:03:12] local.INFO: GPS data processed {"connection_id":229163,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:03:12] local.INFO: Acknowledgment sent {"connection_id":229163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:03:15] local.INFO: TCP Data received {"connection_id":230428,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:03:15] local.INFO: Processing buffer {"connection_id":230428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:03:15] local.INFO: IMEI packet received {"connection_id":230428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":230428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:03:20] local.INFO: TCP Data received {"connection_id":230428,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:03:20] local.INFO: Processing buffer {"connection_id":230428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:03:20] local.INFO: IMEI packet received {"connection_id":230428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":230428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:03:21] local.INFO: TCP Data received {"connection_id":230428,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:03:21] local.INFO: Processing buffer {"connection_id":230428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:03:21] local.INFO: Packet analysis {"connection_id":230428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:03:21] local.INFO: Extracted packet for processing {"connection_id":230428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:03:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:21] 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-11-04 05:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:03:21] 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-11-04 05: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-11-04 05:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:03:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:03:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":230428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:03:21] local.INFO: GPS data processed {"connection_id":230428,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:03:21] local.INFO: Acknowledgment sent {"connection_id":230428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:03:35] local.INFO: TCP Data received {"connection_id":232266,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:03:35] local.INFO: Processing buffer {"connection_id":232266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:03:35] local.INFO: IMEI packet received {"connection_id":232266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":232266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:03:40] local.INFO: TCP Data received {"connection_id":232266,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:03:40] local.INFO: Processing buffer {"connection_id":232266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:03:40] local.INFO: IMEI packet received {"connection_id":232266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":232266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:03:41] local.INFO: TCP Data received {"connection_id":232266,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:03:41] local.INFO: Processing buffer {"connection_id":232266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:03:41] local.INFO: Packet analysis {"connection_id":232266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:03:41] local.INFO: Extracted packet for processing {"connection_id":232266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":232266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:03:41] local.INFO: GPS data processed {"connection_id":232266,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:03:41] local.INFO: Acknowledgment sent {"connection_id":232266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:03:53] local.INFO: TCP Data received {"connection_id":230428,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:03:53] local.INFO: Processing buffer {"connection_id":230428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:03:53] local.INFO: Packet analysis {"connection_id":230428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:03:53] local.INFO: Extracted packet for processing {"connection_id":230428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:03:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:03: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-11-04 05:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:03:53] 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-11-04 05:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:03:53] 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-11-04 05:03: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-11-04 05:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:03:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:03:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":230428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:03:53] local.INFO: GPS data processed {"connection_id":230428,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:03:53] local.INFO: Acknowledgment sent {"connection_id":230428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:04:09] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:04:09] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:04:09] local.INFO: IMEI packet received {"connection_id":229164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":229164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:04:12] local.INFO: TCP Data received {"connection_id":232266,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:04:12] local.INFO: Processing buffer {"connection_id":232266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:04:12] local.INFO: Packet analysis {"connection_id":232266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:04:12] local.INFO: Extracted packet for processing {"connection_id":232266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":232266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:04:12] local.INFO: GPS data processed {"connection_id":232266,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:04:12] local.INFO: Acknowledgment sent {"connection_id":232266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:04:15] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:04:15] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:04:15] local.INFO: IMEI packet received {"connection_id":229164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":229164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:04:16] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:04:16] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:04:16] local.INFO: Packet analysis {"connection_id":229164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:04:16] local.INFO: Extracted packet for processing {"connection_id":229164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:16] 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-11-04 05:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:04:16] 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-11-04 05:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:04:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:04:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":229164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:04:16] local.INFO: GPS data processed {"connection_id":229164,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:04:16] local.INFO: Acknowledgment sent {"connection_id":229164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:04:35] local.INFO: TCP Data received {"connection_id":232267,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:04:35] local.INFO: Processing buffer {"connection_id":232267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:04:35] local.INFO: IMEI packet received {"connection_id":232267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":232267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:04:40] local.INFO: TCP Data received {"connection_id":232267,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:04:40] local.INFO: Processing buffer {"connection_id":232267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:04:40] local.INFO: IMEI packet received {"connection_id":232267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":232267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:04:41] local.INFO: TCP Data received {"connection_id":232267,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:04:41] local.INFO: Processing buffer {"connection_id":232267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:04:41] local.INFO: Packet analysis {"connection_id":232267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:04:41] local.INFO: Extracted packet for processing {"connection_id":232267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":232267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:04:41] local.INFO: GPS data processed {"connection_id":232267,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:04:41] local.INFO: Acknowledgment sent {"connection_id":232267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:04:48] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:04:48] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:04:48] local.INFO: Packet analysis {"connection_id":229164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:04:48] local.INFO: Extracted packet for processing {"connection_id":229164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:04:48] 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-11-04 05:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:04:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:04:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":229164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:04:48] local.INFO: GPS data processed {"connection_id":229164,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:04:48] local.INFO: Acknowledgment sent {"connection_id":229164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:05:09] local.INFO: TCP Data received {"connection_id":228682,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:05:09] local.INFO: Processing buffer {"connection_id":228682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:05:09] local.INFO: IMEI packet received {"connection_id":228682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":228682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:05:12] local.INFO: TCP Data received {"connection_id":232267,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:12] local.INFO: Processing buffer {"connection_id":232267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:12] local.INFO: Packet analysis {"connection_id":232267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:05:12] local.INFO: Extracted packet for processing {"connection_id":232267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":232267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:05:12] local.INFO: GPS data processed {"connection_id":232267,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:05:12] local.INFO: Acknowledgment sent {"connection_id":232267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:05:15] local.INFO: TCP Data received {"connection_id":228682,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:05:15] local.INFO: Processing buffer {"connection_id":228682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:05:15] local.INFO: IMEI packet received {"connection_id":228682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":228682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:05:16] local.INFO: TCP Data received {"connection_id":228682,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:05:16] local.INFO: Processing buffer {"connection_id":228682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:05:16] local.INFO: Packet analysis {"connection_id":228682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:05:16] local.INFO: Extracted packet for processing {"connection_id":228682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:16] 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-11-04 05:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:05:16] 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-11-04 05: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-11-04 05:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":228682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:05:16] local.INFO: GPS data processed {"connection_id":228682,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:05:16] local.INFO: Acknowledgment sent {"connection_id":228682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:05:40] local.INFO: TCP Data received {"connection_id":229165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:05:40] local.INFO: Processing buffer {"connection_id":229165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:05:40] local.INFO: IMEI packet received {"connection_id":229165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":229165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:05:45] local.INFO: TCP Data received {"connection_id":229165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:05:45] local.INFO: Processing buffer {"connection_id":229165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:05:45] local.INFO: IMEI packet received {"connection_id":229165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":229165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:05:46] local.INFO: TCP Data received {"connection_id":229165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:46] local.INFO: Processing buffer {"connection_id":229165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:46] local.INFO: Packet analysis {"connection_id":229165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:05:46] local.INFO: Extracted packet for processing {"connection_id":229165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:05:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:05:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":229165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:05:46] local.INFO: GPS data processed {"connection_id":229165,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:05:46] local.INFO: Acknowledgment sent {"connection_id":229165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:05:47] local.INFO: TCP Data received {"connection_id":228682,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:05:47] local.INFO: Processing buffer {"connection_id":228682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:05:47] local.INFO: Packet analysis {"connection_id":228682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:05:47] local.INFO: Extracted packet for processing {"connection_id":228682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:47] 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-11-04 05:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:05:47] 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-11-04 05:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:05:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:05:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":228682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:05:47] local.INFO: GPS data processed {"connection_id":228682,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:05:47] local.INFO: Acknowledgment sent {"connection_id":228682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:05:50] local.INFO: TCP Data received {"connection_id":229165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:50] local.INFO: Processing buffer {"connection_id":229165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:05:50] local.INFO: Packet analysis {"connection_id":229165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:05:50] local.INFO: Extracted packet for processing {"connection_id":229165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:05:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:05:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":229165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:05:50] local.INFO: GPS data processed {"connection_id":229165,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:05:50] local.INFO: Acknowledgment sent {"connection_id":229165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:06:09] local.INFO: TCP Data received {"connection_id":230429,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:06:09] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:06:09] local.INFO: IMEI packet received {"connection_id":230429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":230429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:06:15] local.INFO: TCP Data received {"connection_id":230429,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:06:15] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:06:15] local.INFO: IMEI packet received {"connection_id":230429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":230429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:06:16] local.INFO: TCP Data received {"connection_id":230429,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:06:16] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:06:16] local.INFO: Packet analysis {"connection_id":230429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:06:16] local.INFO: Extracted packet for processing {"connection_id":230429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:16] 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-11-04 05:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:06:16] 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-11-04 05: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-11-04 05:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:06:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:06:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":230429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:06:16] local.INFO: GPS data processed {"connection_id":230429,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:06:16] local.INFO: Acknowledgment sent {"connection_id":230429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:06:19] local.INFO: TCP Data received {"connection_id":232268,"ip":"8.211.39.142","data_length":243,"data_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-11-04 05:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232268,"packet_length":243,"packet_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-11-04 05:06:19] local.INFO: Processing buffer {"connection_id":232268,"buffer_length":243,"buffer_hex":"16030100ee010000ea03034906b2f9bc9969c059fbf8ba652d8355645d0e8db7..."} 
[2026-11-04 05:06:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":232268,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03034906b2f9bc"} 
[2026-11-04 05:06:32] local.INFO: TCP Data received {"connection_id":228683,"ip":"8.211.39.142","data_length":81,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-11-04 05:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228683,"packet_length":81,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-11-04 05:06:32] local.INFO: Processing buffer {"connection_id":228683,"buffer_length":81,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-11-04 05:06:32] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":228683,"buffer_length":81,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-11-04 05:06:35] local.INFO: TCP Data received {"connection_id":232269,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:06:35] local.INFO: Processing buffer {"connection_id":232269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:06:35] local.INFO: IMEI packet received {"connection_id":232269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":232269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:06:40] local.INFO: TCP Data received {"connection_id":232269,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:06:40] local.INFO: Processing buffer {"connection_id":232269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:06:40] local.INFO: IMEI packet received {"connection_id":232269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":232269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:06:40] local.INFO: TCP Data received {"connection_id":232269,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:06:40] local.INFO: Processing buffer {"connection_id":232269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c076f0012ce51bc007234b900009008028..."} 
[2026-11-04 05:06:40] local.INFO: Packet analysis {"connection_id":232269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:06:40] local.INFO: Extracted packet for processing {"connection_id":232269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c0"} 
[2026-11-04 05:06:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199580416001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793748662000,"timestamp_ms":1793748662000,"timestamp_seconds":1793748662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c076f0"} 
[2026-11-04 05:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-11-04 05:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199580416001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199580416001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:06:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:06:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199580416001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":232269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:06:40] local.INFO: GPS data processed {"connection_id":232269,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:06:40] local.INFO: Acknowledgment sent {"connection_id":232269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:06:45] local.INFO: TCP Data received {"connection_id":229166,"ip":"8.211.39.142","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-11-04 05:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229166,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-11-04 05:06:45] local.INFO: Processing buffer {"connection_id":229166,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-11-04 05:06:45] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":229166,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-11-04 05:06:48] local.INFO: TCP Data received {"connection_id":230429,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:06:48] local.INFO: Processing buffer {"connection_id":230429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:06:48] local.INFO: Packet analysis {"connection_id":230429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:06:48] local.INFO: Extracted packet for processing {"connection_id":230429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:06:48] 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-11-04 05: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-11-04 05:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:06:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:06:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":230429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:06:48] local.INFO: GPS data processed {"connection_id":230429,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:06:48] local.INFO: Acknowledgment sent {"connection_id":230429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:07:11] local.INFO: TCP Data received {"connection_id":232269,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:07:11] local.INFO: Processing buffer {"connection_id":232269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:07:11] local.INFO: Packet analysis {"connection_id":232269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:07:11] local.INFO: Extracted packet for processing {"connection_id":232269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:07:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:07:11] 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-11-04 05: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-11-04 05:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:07:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":232269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:07:11] local.INFO: GPS data processed {"connection_id":232269,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:07:11] local.INFO: Acknowledgment sent {"connection_id":232269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:07:15] local.INFO: TCP Data received {"connection_id":230430,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:07:15] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:07:15] local.INFO: IMEI packet received {"connection_id":230430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":230430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:07:20] local.INFO: TCP Data received {"connection_id":230430,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:07:20] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:07:20] local.INFO: IMEI packet received {"connection_id":230430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":230430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:07:21] local.INFO: TCP Data received {"connection_id":230430,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:07:21] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:07:21] local.INFO: Packet analysis {"connection_id":230430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:07:21] local.INFO: Extracted packet for processing {"connection_id":230430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:21] 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-11-04 05:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:07:21] 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-11-04 05:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:07:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:07:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":230430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:07:21] local.INFO: GPS data processed {"connection_id":230430,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:07:21] local.INFO: Acknowledgment sent {"connection_id":230430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:07:26] local.INFO: TCP Data received {"connection_id":230430,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:07:26] local.INFO: Processing buffer {"connection_id":230430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c19418012d3c94c006a39460004601582a..."} 
[2026-11-04 05:07:26] local.INFO: Packet analysis {"connection_id":230430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:07:26] local.INFO: Extracted packet for processing {"connection_id":230430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c1"} 
[2026-11-04 05:07:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199598848001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:26] 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-11-04 05:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793748735000,"timestamp_ms":1793748735000,"timestamp_seconds":1793748735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c19418"} 
[2026-11-04 05:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-11-04 05:07:26] 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-11-04 05:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199598848001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199598848001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:07:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:07:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199598848001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":230430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:07:26] local.INFO: GPS data processed {"connection_id":230430,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:07:26] local.INFO: Acknowledgment sent {"connection_id":230430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:07:35] local.INFO: TCP Data received {"connection_id":228684,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:07:35] local.INFO: Processing buffer {"connection_id":228684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:07:35] local.INFO: IMEI packet received {"connection_id":228684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":228684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:07:40] local.INFO: TCP Data received {"connection_id":228684,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:07:40] local.INFO: Processing buffer {"connection_id":228684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:07:40] local.INFO: IMEI packet received {"connection_id":228684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":228684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:07:41] local.INFO: TCP Data received {"connection_id":228684,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:07:41] local.INFO: Processing buffer {"connection_id":228684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:07:41] local.INFO: Packet analysis {"connection_id":228684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:07:41] local.INFO: Extracted packet for processing {"connection_id":228684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:07:41] 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-11-04 05:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":228684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:07:41] local.INFO: GPS data processed {"connection_id":228684,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:07:41] local.INFO: Acknowledgment sent {"connection_id":228684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:08:10] local.INFO: TCP Data received {"connection_id":230431,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:08:10] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:08:10] local.INFO: IMEI packet received {"connection_id":230431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":230431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:08:12] local.INFO: TCP Data received {"connection_id":228684,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:08:12] local.INFO: Processing buffer {"connection_id":228684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:08:12] local.INFO: Packet analysis {"connection_id":228684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:08:12] local.INFO: Extracted packet for processing {"connection_id":228684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:08:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 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-11-04 05:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:08:12] 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-11-04 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-11-04 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-11-04 05:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:08:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":228684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:08:12] local.INFO: GPS data processed {"connection_id":228684,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:08:12] local.INFO: Acknowledgment sent {"connection_id":228684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:08:15] local.INFO: TCP Data received {"connection_id":230431,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:08:15] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:08:15] local.INFO: IMEI packet received {"connection_id":230431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":230431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:08:16] local.INFO: TCP Data received {"connection_id":230431,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:08:16] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:08:16] local.INFO: Packet analysis {"connection_id":230431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:08:16] local.INFO: Extracted packet for processing {"connection_id":230431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:16] 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-11-04 05:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":230431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:08:16] local.INFO: GPS data processed {"connection_id":230431,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:08:16] local.INFO: Acknowledgment sent {"connection_id":230431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:08:35] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:08:35] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:08:35] local.INFO: IMEI packet received {"connection_id":230432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":230432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:08:40] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:08:40] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:08:40] local.INFO: IMEI packet received {"connection_id":230432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":230432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:08:41] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:08:41] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:08:41] local.INFO: Packet analysis {"connection_id":230432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:08:41] local.INFO: Extracted packet for processing {"connection_id":230432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:08:41] 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-11-04 05:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":230432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:08:41] local.INFO: GPS data processed {"connection_id":230432,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:08:41] local.INFO: Acknowledgment sent {"connection_id":230432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:08:48] local.INFO: TCP Data received {"connection_id":230431,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:08:48] local.INFO: Processing buffer {"connection_id":230431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:08:48] local.INFO: Packet analysis {"connection_id":230431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:08:48] local.INFO: Extracted packet for processing {"connection_id":230431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:08:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":230431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:08:48] local.INFO: GPS data processed {"connection_id":230431,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:08:48] local.INFO: Acknowledgment sent {"connection_id":230431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:09:09] local.INFO: TCP Data received {"connection_id":232270,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:09:09] local.INFO: Processing buffer {"connection_id":232270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:09:09] local.INFO: IMEI packet received {"connection_id":232270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":232270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:09:12] local.INFO: TCP Data received {"connection_id":230432,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:12] local.INFO: Processing buffer {"connection_id":230432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:12] local.INFO: Packet analysis {"connection_id":230432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:09:12] local.INFO: Extracted packet for processing {"connection_id":230432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:09:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:09:12] 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-11-04 05: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-11-04 05:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":230432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:09:12] local.INFO: GPS data processed {"connection_id":230432,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:09:12] local.INFO: Acknowledgment sent {"connection_id":230432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:09:15] local.INFO: TCP Data received {"connection_id":232270,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:09:15] local.INFO: Processing buffer {"connection_id":232270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:09:15] local.INFO: IMEI packet received {"connection_id":232270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":232270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:09:16] local.INFO: TCP Data received {"connection_id":232270,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:09:16] local.INFO: Processing buffer {"connection_id":232270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:09:16] local.INFO: Packet analysis {"connection_id":232270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:09:16] local.INFO: Extracted packet for processing {"connection_id":232270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:09: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-11-04 05:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:16] 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-11-04 05:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:09: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":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:09: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-11-04 05:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:09:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:09:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":232270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:09:16] local.INFO: GPS data processed {"connection_id":232270,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:09:16] local.INFO: Acknowledgment sent {"connection_id":232270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:09:40] local.INFO: TCP Data received {"connection_id":228685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:09:40] local.INFO: Processing buffer {"connection_id":228685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:09:40] local.INFO: IMEI packet received {"connection_id":228685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":228685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:09:45] local.INFO: TCP Data received {"connection_id":228685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:09:45] local.INFO: Processing buffer {"connection_id":228685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:09:45] local.INFO: IMEI packet received {"connection_id":228685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":228685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:09:46] local.INFO: TCP Data received {"connection_id":228685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:46] local.INFO: Processing buffer {"connection_id":228685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:46] local.INFO: Packet analysis {"connection_id":228685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:09:46] local.INFO: Extracted packet for processing {"connection_id":228685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:09:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:09:46] 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-11-04 05: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-11-04 05:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:09:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":228685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:09:46] local.INFO: GPS data processed {"connection_id":228685,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:09:46] local.INFO: Acknowledgment sent {"connection_id":228685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:09:47] local.INFO: TCP Data received {"connection_id":232270,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:09:47] local.INFO: Processing buffer {"connection_id":232270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:09:47] local.INFO: Packet analysis {"connection_id":232270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:09:47] local.INFO: Extracted packet for processing {"connection_id":232270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:47] 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-11-04 05:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:09:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:09:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":232270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:09:47] local.INFO: GPS data processed {"connection_id":232270,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:09:47] local.INFO: Acknowledgment sent {"connection_id":232270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:09:50] local.INFO: TCP Data received {"connection_id":228685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:50] local.INFO: Processing buffer {"connection_id":228685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:09:50] local.INFO: Packet analysis {"connection_id":228685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:09:50] local.INFO: Extracted packet for processing {"connection_id":228685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:09:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:09:50] 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-11-04 05:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:09:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":228685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:09:50] local.INFO: GPS data processed {"connection_id":228685,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:09:50] local.INFO: Acknowledgment sent {"connection_id":228685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:10:09] local.INFO: TCP Data received {"connection_id":230433,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:10:09] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:10:09] local.INFO: IMEI packet received {"connection_id":230433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":230433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:10:15] local.INFO: TCP Data received {"connection_id":230433,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:10:15] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:10:15] local.INFO: IMEI packet received {"connection_id":230433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":230433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:10:16] local.INFO: TCP Data received {"connection_id":230433,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:10:16] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:10:16] local.INFO: Packet analysis {"connection_id":230433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:10:16] local.INFO: Extracted packet for processing {"connection_id":230433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:16] 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-11-04 05:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:10:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:10:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":230433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:10:16] local.INFO: GPS data processed {"connection_id":230433,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:10:16] local.INFO: Acknowledgment sent {"connection_id":230433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:10:35] local.INFO: TCP Data received {"connection_id":232271,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:10:35] local.INFO: Processing buffer {"connection_id":232271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:10:35] local.INFO: IMEI packet received {"connection_id":232271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":232271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:10:40] local.INFO: TCP Data received {"connection_id":232271,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:10:40] local.INFO: Processing buffer {"connection_id":232271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:10:40] local.INFO: IMEI packet received {"connection_id":232271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":232271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:10:41] local.INFO: TCP Data received {"connection_id":232271,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:10:41] local.INFO: Processing buffer {"connection_id":232271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:10:41] local.INFO: Packet analysis {"connection_id":232271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:10:41] local.INFO: Extracted packet for processing {"connection_id":232271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:10:41] 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-11-04 05:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:10:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":232271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:10:41] local.INFO: GPS data processed {"connection_id":232271,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:10:41] local.INFO: Acknowledgment sent {"connection_id":232271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:10:48] local.INFO: TCP Data received {"connection_id":230433,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:10:48] local.INFO: Processing buffer {"connection_id":230433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:10:48] local.INFO: Packet analysis {"connection_id":230433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:10:48] local.INFO: Extracted packet for processing {"connection_id":230433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:10:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:10:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":230433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:10:48] local.INFO: GPS data processed {"connection_id":230433,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:10:48] local.INFO: Acknowledgment sent {"connection_id":230433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:11:12] local.INFO: TCP Data received {"connection_id":232271,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:11:12] local.INFO: Processing buffer {"connection_id":232271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:11:12] local.INFO: Packet analysis {"connection_id":232271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:11:12] local.INFO: Extracted packet for processing {"connection_id":232271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:11:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 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-11-04 05:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:11:12] 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-11-04 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-11-04 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-11-04 05:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":232271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:11:12] local.INFO: GPS data processed {"connection_id":232271,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:11:12] local.INFO: Acknowledgment sent {"connection_id":232271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:11:15] local.INFO: TCP Data received {"connection_id":228686,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:11:15] local.INFO: Processing buffer {"connection_id":228686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:11:15] local.INFO: IMEI packet received {"connection_id":228686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":228686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:11:20] local.INFO: TCP Data received {"connection_id":228686,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:11:20] local.INFO: Processing buffer {"connection_id":228686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:11:20] local.INFO: IMEI packet received {"connection_id":228686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":228686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:11:21] local.INFO: TCP Data received {"connection_id":228686,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:11:21] local.INFO: Processing buffer {"connection_id":228686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:11:21] local.INFO: Packet analysis {"connection_id":228686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:11:21] local.INFO: Extracted packet for processing {"connection_id":228686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:21] 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-11-04 05:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:11:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:11:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":228686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:11:21] local.INFO: GPS data processed {"connection_id":228686,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:11:21] local.INFO: Acknowledgment sent {"connection_id":228686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:11:26] local.INFO: TCP Data received {"connection_id":228686,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:11:26] local.INFO: Processing buffer {"connection_id":228686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:11:26] local.INFO: Packet analysis {"connection_id":228686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:11:26] local.INFO: Extracted packet for processing {"connection_id":228686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:11:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:26] 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-11-04 05:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:11:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:11:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":228686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:11:26] local.INFO: GPS data processed {"connection_id":228686,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:11:26] local.INFO: Acknowledgment sent {"connection_id":228686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:11:35] local.INFO: TCP Data received {"connection_id":229167,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:11:35] local.INFO: Processing buffer {"connection_id":229167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:11:35] local.INFO: IMEI packet received {"connection_id":229167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":229167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:11:40] local.INFO: TCP Data received {"connection_id":229167,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:11:40] local.INFO: Processing buffer {"connection_id":229167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:11:40] local.INFO: IMEI packet received {"connection_id":229167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":229167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:11:41] local.INFO: TCP Data received {"connection_id":229167,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:11:41] local.INFO: Processing buffer {"connection_id":229167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c50eb8012ce51bc007234b900009008028..."} 
[2026-11-04 05:11:41] local.INFO: Packet analysis {"connection_id":229167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:11:41] local.INFO: Extracted packet for processing {"connection_id":229167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c5"} 
[2026-11-04 05:11:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":40,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199657472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793748963000,"timestamp_ms":1793748963000,"timestamp_seconds":1793748963,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c50eb8"} 
[2026-11-04 05:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:11:41] 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-11-04 05:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199657472001,"66":24701,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199657472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199657472001,"power":24701,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":229167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:11:41] local.INFO: GPS data processed {"connection_id":229167,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:11:41] local.INFO: Acknowledgment sent {"connection_id":229167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:12:09] local.INFO: TCP Data received {"connection_id":230434,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:12:09] local.INFO: Processing buffer {"connection_id":230434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:12:09] local.INFO: IMEI packet received {"connection_id":230434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":230434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:12:12] local.INFO: TCP Data received {"connection_id":229167,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:12:12] local.INFO: Processing buffer {"connection_id":229167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:12:12] local.INFO: Packet analysis {"connection_id":229167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:12:12] local.INFO: Extracted packet for processing {"connection_id":229167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:12:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:12:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":229167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:12:12] local.INFO: GPS data processed {"connection_id":229167,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:12:12] local.INFO: Acknowledgment sent {"connection_id":229167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:12:15] local.INFO: TCP Data received {"connection_id":230434,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:12:15] local.INFO: Processing buffer {"connection_id":230434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:12:15] local.INFO: IMEI packet received {"connection_id":230434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":230434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:12:16] local.INFO: TCP Data received {"connection_id":230434,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:12:16] local.INFO: Processing buffer {"connection_id":230434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:12:16] local.INFO: Packet analysis {"connection_id":230434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:12:16] local.INFO: Extracted packet for processing {"connection_id":230434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:16] 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-11-04 05:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:12:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:12:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":230434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:12:16] local.INFO: GPS data processed {"connection_id":230434,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:12:16] local.INFO: Acknowledgment sent {"connection_id":230434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:12:35] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:12:35] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:12:35] local.INFO: IMEI packet received {"connection_id":230435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":230435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:12:40] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:12:40] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:12:40] local.INFO: IMEI packet received {"connection_id":230435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":230435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:12:41] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:12:41] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:12:41] local.INFO: Packet analysis {"connection_id":230435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:12:41] local.INFO: Extracted packet for processing {"connection_id":230435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":230435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:12:41] local.INFO: GPS data processed {"connection_id":230435,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:12:41] local.INFO: Acknowledgment sent {"connection_id":230435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:12:48] local.INFO: TCP Data received {"connection_id":230434,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:12:48] local.INFO: Processing buffer {"connection_id":230434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c62fc8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:12:48] local.INFO: Packet analysis {"connection_id":230434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:12:48] local.INFO: Extracted packet for processing {"connection_id":230434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c6"} 
[2026-11-04 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199676160001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793749037000,"timestamp_ms":1793749037000,"timestamp_seconds":1793749037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c62fc8"} 
[2026-11-04 05:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230434,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199676160001,"66":26332,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199676160001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:12:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:12:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199676160001,"power":26332,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":230434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:12:48] local.INFO: GPS data processed {"connection_id":230434,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:12:48] local.INFO: Acknowledgment sent {"connection_id":230434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:13:09] local.INFO: TCP Data received {"connection_id":229168,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:13:09] local.INFO: Processing buffer {"connection_id":229168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:13:09] local.INFO: IMEI packet received {"connection_id":229168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":229168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:13:12] local.INFO: TCP Data received {"connection_id":230435,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:13:12] local.INFO: Processing buffer {"connection_id":230435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:13:12] local.INFO: Packet analysis {"connection_id":230435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:13:12] local.INFO: Extracted packet for processing {"connection_id":230435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:13:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 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-11-04 05:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":230435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:13:12] local.INFO: GPS data processed {"connection_id":230435,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:13:12] local.INFO: Acknowledgment sent {"connection_id":230435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:13:14] local.INFO: TCP Data received {"connection_id":229168,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:13:14] local.INFO: Processing buffer {"connection_id":229168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:13:14] local.INFO: IMEI packet received {"connection_id":229168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":229168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:13:15] local.INFO: TCP Data received {"connection_id":229168,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:13:15] local.INFO: Processing buffer {"connection_id":229168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:13:15] local.INFO: Packet analysis {"connection_id":229168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:13:15] local.INFO: Extracted packet for processing {"connection_id":229168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:15] 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-11-04 05:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:13:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:13:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":229168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:13:15] local.INFO: GPS data processed {"connection_id":229168,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:13:15] local.INFO: Acknowledgment sent {"connection_id":229168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:13:35] local.INFO: TCP Data received {"connection_id":228687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:13:35] local.INFO: Processing buffer {"connection_id":228687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:13:35] local.INFO: IMEI packet received {"connection_id":228687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":228687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:13:40] local.INFO: TCP Data received {"connection_id":228687,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:13:40] local.INFO: Processing buffer {"connection_id":228687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:13:40] local.INFO: IMEI packet received {"connection_id":228687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":228687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:13:41] local.INFO: TCP Data received {"connection_id":228687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:13:41] local.INFO: Processing buffer {"connection_id":228687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:13:41] local.INFO: Packet analysis {"connection_id":228687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:13:41] local.INFO: Extracted packet for processing {"connection_id":228687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:13:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:13:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:13:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:13:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":228687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:13:41] local.INFO: GPS data processed {"connection_id":228687,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:13:41] local.INFO: Acknowledgment sent {"connection_id":228687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:13:46] local.INFO: TCP Data received {"connection_id":229168,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:13:46] local.INFO: Processing buffer {"connection_id":229168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:13:46] local.INFO: Packet analysis {"connection_id":229168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:13:46] local.INFO: Extracted packet for processing {"connection_id":229168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:13:46] 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-11-04 05:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229168,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:13:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:13:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":229168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:13:46] local.INFO: GPS data processed {"connection_id":229168,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:13:46] local.INFO: Acknowledgment sent {"connection_id":229168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:14:10] local.INFO: TCP Data received {"connection_id":228688,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:14:10] local.INFO: Processing buffer {"connection_id":228688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:14:10] local.INFO: IMEI packet received {"connection_id":228688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":228688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:14:12] local.INFO: TCP Data received {"connection_id":228687,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:12] local.INFO: Processing buffer {"connection_id":228687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:12] local.INFO: Packet analysis {"connection_id":228687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:14:12] local.INFO: Extracted packet for processing {"connection_id":228687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:14:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 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-11-04 05:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:14:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":228687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:14:12] local.INFO: GPS data processed {"connection_id":228687,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:14:12] local.INFO: Acknowledgment sent {"connection_id":228687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:14:15] local.INFO: TCP Data received {"connection_id":228688,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:14:15] local.INFO: Processing buffer {"connection_id":228688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:14:15] local.INFO: IMEI packet received {"connection_id":228688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":228688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:14:16] local.INFO: TCP Data received {"connection_id":228688,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:16] local.INFO: Processing buffer {"connection_id":228688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:16] local.INFO: Packet analysis {"connection_id":228688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:14:16] local.INFO: Extracted packet for processing {"connection_id":228688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:16] 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-11-04 05:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:14:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:14:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":228688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:14:16] local.INFO: GPS data processed {"connection_id":228688,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:14:16] local.INFO: Acknowledgment sent {"connection_id":228688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:14:21] local.INFO: TCP Data received {"connection_id":228688,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:21] local.INFO: Processing buffer {"connection_id":228688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:21] local.INFO: Packet analysis {"connection_id":228688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:14:21] local.INFO: Extracted packet for processing {"connection_id":228688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:21] 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-11-04 05:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:14:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:14:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":228688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:14:21] local.INFO: GPS data processed {"connection_id":228688,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:14:21] local.INFO: Acknowledgment sent {"connection_id":228688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:14:40] local.INFO: TCP Data received {"connection_id":229169,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:14:40] local.INFO: Processing buffer {"connection_id":229169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:14:40] local.INFO: IMEI packet received {"connection_id":229169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":229169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:14:45] local.INFO: TCP Data received {"connection_id":229169,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:14:45] local.INFO: Processing buffer {"connection_id":229169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:14:45] local.INFO: IMEI packet received {"connection_id":229169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":229169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:14:46] local.INFO: TCP Data received {"connection_id":229169,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:46] local.INFO: Processing buffer {"connection_id":229169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:46] local.INFO: Packet analysis {"connection_id":229169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:14:46] local.INFO: Extracted packet for processing {"connection_id":229169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:14:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:14:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":229169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:14:46] local.INFO: GPS data processed {"connection_id":229169,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:14:46] local.INFO: Acknowledgment sent {"connection_id":229169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:14:50] local.INFO: TCP Data received {"connection_id":229169,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:50] local.INFO: Processing buffer {"connection_id":229169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:14:50] local.INFO: Packet analysis {"connection_id":229169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:14:50] local.INFO: Extracted packet for processing {"connection_id":229169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:14:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:14:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":229169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:14:50] local.INFO: GPS data processed {"connection_id":229169,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:14:50] local.INFO: Acknowledgment sent {"connection_id":229169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:14:54] local.INFO: TCP Data received {"connection_id":228688,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:54] local.INFO: Processing buffer {"connection_id":228688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:14:54] local.INFO: Packet analysis {"connection_id":228688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:14:54] local.INFO: Extracted packet for processing {"connection_id":228688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:14:54] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:14:54] 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-11-04 05:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":228688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":228688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":228688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:14:54] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:14:54] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":228688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:14:54] local.INFO: GPS data processed {"connection_id":228688,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:14:54] local.INFO: Acknowledgment sent {"connection_id":228688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:15:10] local.INFO: TCP Data received {"connection_id":232272,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:15:10] local.INFO: Processing buffer {"connection_id":232272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:15:10] local.INFO: IMEI packet received {"connection_id":232272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":232272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:15:15] local.INFO: TCP Data received {"connection_id":232272,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:15:15] local.INFO: Processing buffer {"connection_id":232272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:15:15] local.INFO: IMEI packet received {"connection_id":232272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":232272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:15:16] local.INFO: TCP Data received {"connection_id":232272,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:15:16] local.INFO: Processing buffer {"connection_id":232272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:15:16] local.INFO: Packet analysis {"connection_id":232272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:15:16] local.INFO: Extracted packet for processing {"connection_id":232272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:16] 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-11-04 05:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:15:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:15:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":232272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:15:16] local.INFO: GPS data processed {"connection_id":232272,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:15:16] local.INFO: Acknowledgment sent {"connection_id":232272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:15:35] local.INFO: TCP Data received {"connection_id":232273,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:15:35] local.INFO: Processing buffer {"connection_id":232273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:15:35] local.INFO: IMEI packet received {"connection_id":232273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":232273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:15:40] local.INFO: TCP Data received {"connection_id":232273,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:15:40] local.INFO: Processing buffer {"connection_id":232273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:15:40] local.INFO: IMEI packet received {"connection_id":232273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":232273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:15:41] local.INFO: TCP Data received {"connection_id":232273,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:15:41] local.INFO: Processing buffer {"connection_id":232273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:15:41] local.INFO: Packet analysis {"connection_id":232273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:15:41] local.INFO: Extracted packet for processing {"connection_id":232273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:15:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:15:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:15:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:15:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":232273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:15:41] local.INFO: GPS data processed {"connection_id":232273,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:15:41] local.INFO: Acknowledgment sent {"connection_id":232273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:15:47] local.INFO: TCP Data received {"connection_id":232272,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:15:47] local.INFO: Processing buffer {"connection_id":232272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:15:47] local.INFO: Packet analysis {"connection_id":232272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:15:47] local.INFO: Extracted packet for processing {"connection_id":232272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:15:47] 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-11-04 05:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:15:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:15:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":232272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:15:47] local.INFO: GPS data processed {"connection_id":232272,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:15:47] local.INFO: Acknowledgment sent {"connection_id":232272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:16:09] local.INFO: TCP Data received {"connection_id":230436,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:16:09] local.INFO: Processing buffer {"connection_id":230436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:16:09] local.INFO: IMEI packet received {"connection_id":230436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":230436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:16:12] local.INFO: TCP Data received {"connection_id":232273,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:16:12] local.INFO: Processing buffer {"connection_id":232273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:16:12] local.INFO: Packet analysis {"connection_id":232273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:16:12] local.INFO: Extracted packet for processing {"connection_id":232273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:16:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:16:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":232273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:16:12] local.INFO: GPS data processed {"connection_id":232273,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:16:12] local.INFO: Acknowledgment sent {"connection_id":232273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:16:15] local.INFO: TCP Data received {"connection_id":230436,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:16:15] local.INFO: Processing buffer {"connection_id":230436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:16:15] local.INFO: IMEI packet received {"connection_id":230436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":230436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:16:16] local.INFO: TCP Data received {"connection_id":230436,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:16:16] local.INFO: Processing buffer {"connection_id":230436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:16:16] local.INFO: Packet analysis {"connection_id":230436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:16:16] local.INFO: Extracted packet for processing {"connection_id":230436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:16] 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-11-04 05:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:16:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:16:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":230436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:16:16] local.INFO: GPS data processed {"connection_id":230436,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:16:16] local.INFO: Acknowledgment sent {"connection_id":230436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:16:35] local.INFO: TCP Data received {"connection_id":229170,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:16:35] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:16:35] local.INFO: IMEI packet received {"connection_id":229170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":229170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:16:40] local.INFO: TCP Data received {"connection_id":229170,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:16:40] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:16:40] local.INFO: IMEI packet received {"connection_id":229170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":229170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:16:41] local.INFO: TCP Data received {"connection_id":229170,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:16:41] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3c9a680012ce51bc007234b900009008029..."} 
[2026-11-04 05:16:41] local.INFO: Packet analysis {"connection_id":229170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:16:41] local.INFO: Extracted packet for processing {"connection_id":229170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3c9"} 
[2026-11-04 05:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199734528001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749264000,"timestamp_ms":1793749264000,"timestamp_seconds":1793749264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3c9a680"} 
[2026-11-04 05:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 05:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1803,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199734528001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199734528001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:16:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199734528001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":229170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:16:41] local.INFO: GPS data processed {"connection_id":229170,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:16:41] local.INFO: Acknowledgment sent {"connection_id":229170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:16:47] local.INFO: TCP Data received {"connection_id":230436,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:16:47] local.INFO: Processing buffer {"connection_id":230436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:16:47] local.INFO: Packet analysis {"connection_id":230436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:16:47] local.INFO: Extracted packet for processing {"connection_id":230436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:16:47] 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-11-04 05:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:16:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:16:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":230436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:16:48] local.INFO: GPS data processed {"connection_id":230436,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:16:48] local.INFO: Acknowledgment sent {"connection_id":230436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:17:09] local.INFO: TCP Data received {"connection_id":232274,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:17:09] local.INFO: Processing buffer {"connection_id":232274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:17:09] local.INFO: IMEI packet received {"connection_id":232274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":232274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:17:12] local.INFO: TCP Data received {"connection_id":229170,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:17:12] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:17:12] local.INFO: Packet analysis {"connection_id":229170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:17:12] local.INFO: Extracted packet for processing {"connection_id":229170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":229170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:17:12] local.INFO: GPS data processed {"connection_id":229170,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:17:12] local.INFO: Acknowledgment sent {"connection_id":229170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:17:15] local.INFO: TCP Data received {"connection_id":232274,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:17:15] local.INFO: Processing buffer {"connection_id":232274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:17:15] local.INFO: IMEI packet received {"connection_id":232274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":232274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:17:16] local.INFO: TCP Data received {"connection_id":232274,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:17:16] local.INFO: Processing buffer {"connection_id":232274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:17:16] local.INFO: Packet analysis {"connection_id":232274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:17:16] local.INFO: Extracted packet for processing {"connection_id":232274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:16] 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-11-04 05:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:17:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:17:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":232274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:17:16] local.INFO: GPS data processed {"connection_id":232274,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:17:16] local.INFO: Acknowledgment sent {"connection_id":232274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:17:35] local.INFO: TCP Data received {"connection_id":229171,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:17:35] local.INFO: Processing buffer {"connection_id":229171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:17:35] local.INFO: IMEI packet received {"connection_id":229171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":229171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:17:40] local.INFO: TCP Data received {"connection_id":229171,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:17:40] local.INFO: Processing buffer {"connection_id":229171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:17:40] local.INFO: IMEI packet received {"connection_id":229171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":229171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:17:41] local.INFO: TCP Data received {"connection_id":229171,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:17:41] local.INFO: Processing buffer {"connection_id":229171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:17:41] local.INFO: Packet analysis {"connection_id":229171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:17:41] local.INFO: Extracted packet for processing {"connection_id":229171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:17:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:17:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":229171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:17:41] local.INFO: GPS data processed {"connection_id":229171,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:17:41] local.INFO: Acknowledgment sent {"connection_id":229171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:17:47] local.INFO: TCP Data received {"connection_id":232274,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:17:47] local.INFO: Processing buffer {"connection_id":232274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cacb78012d3c94c006a39460004601582a..."} 
[2026-11-04 05:17:47] local.INFO: Packet analysis {"connection_id":232274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:17:47] local.INFO: Extracted packet for processing {"connection_id":232274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ca"} 
[2026-11-04 05:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199753472001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:17:47] 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-11-04 05:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793749339000,"timestamp_ms":1793749339000,"timestamp_seconds":1793749339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cacb78"} 
[2026-11-04 05:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-11-04 05:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232274,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199753472001,"66":26354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199753472001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:17:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:17:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199753472001,"power":26354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":232274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:17:47] local.INFO: GPS data processed {"connection_id":232274,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:17:47] local.INFO: Acknowledgment sent {"connection_id":232274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:18:12] local.INFO: TCP Data received {"connection_id":229171,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:18:12] local.INFO: Processing buffer {"connection_id":229171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:18:12] local.INFO: Packet analysis {"connection_id":229171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:18:12] local.INFO: Extracted packet for processing {"connection_id":229171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:18:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:18:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:18:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":229171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:18:12] local.INFO: GPS data processed {"connection_id":229171,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:18:12] local.INFO: Acknowledgment sent {"connection_id":229171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:18:15] local.INFO: TCP Data received {"connection_id":230437,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:18:15] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:18:15] local.INFO: IMEI packet received {"connection_id":230437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":230437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:18:20] local.INFO: TCP Data received {"connection_id":230437,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:18:20] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:18:20] local.INFO: IMEI packet received {"connection_id":230437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":230437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:18:21] local.INFO: TCP Data received {"connection_id":230437,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:18:21] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:18:21] local.INFO: Packet analysis {"connection_id":230437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:18:21] local.INFO: Extracted packet for processing {"connection_id":230437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:21] 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-11-04 05:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:18:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:18:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":230437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:18:21] local.INFO: GPS data processed {"connection_id":230437,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:18:21] local.INFO: Acknowledgment sent {"connection_id":230437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:18:26] local.INFO: TCP Data received {"connection_id":230437,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:18:26] local.INFO: Processing buffer {"connection_id":230437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:18:26] local.INFO: Packet analysis {"connection_id":230437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:18:26] local.INFO: Extracted packet for processing {"connection_id":230437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:18:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:26] 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-11-04 05:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:18:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:18:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":230437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:18:26] local.INFO: GPS data processed {"connection_id":230437,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:18:26] local.INFO: Acknowledgment sent {"connection_id":230437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:18:35] local.INFO: TCP Data received {"connection_id":229172,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:18:35] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:18:35] local.INFO: IMEI packet received {"connection_id":229172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":229172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:18:40] local.INFO: TCP Data received {"connection_id":229172,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:18:40] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:18:40] local.INFO: IMEI packet received {"connection_id":229172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":229172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:18:41] local.INFO: TCP Data received {"connection_id":229172,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:18:41] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:18:41] local.INFO: Packet analysis {"connection_id":229172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:18:41] local.INFO: Extracted packet for processing {"connection_id":229172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:18:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:18:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:18:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:18:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":229172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:18:41] local.INFO: GPS data processed {"connection_id":229172,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:18:41] local.INFO: Acknowledgment sent {"connection_id":229172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:19:09] local.INFO: TCP Data received {"connection_id":232275,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:19:09] local.INFO: Processing buffer {"connection_id":232275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:19:09] local.INFO: IMEI packet received {"connection_id":232275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":232275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:19:12] local.INFO: TCP Data received {"connection_id":229172,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:12] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:12] local.INFO: Packet analysis {"connection_id":229172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:19:12] local.INFO: Extracted packet for processing {"connection_id":229172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 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-11-04 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:19:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":229172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:19:12] local.INFO: GPS data processed {"connection_id":229172,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:19:12] local.INFO: Acknowledgment sent {"connection_id":229172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:19:15] local.INFO: TCP Data received {"connection_id":232275,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:19:15] local.INFO: Processing buffer {"connection_id":232275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:19:15] local.INFO: IMEI packet received {"connection_id":232275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":232275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:19:16] local.INFO: TCP Data received {"connection_id":232275,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:19:16] local.INFO: Processing buffer {"connection_id":232275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:19:16] local.INFO: Packet analysis {"connection_id":232275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:19:16] local.INFO: Extracted packet for processing {"connection_id":232275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:16] 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-11-04 05:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:19:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:19:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:19:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":232275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:19:16] local.INFO: GPS data processed {"connection_id":232275,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:19:16] local.INFO: Acknowledgment sent {"connection_id":232275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:19:40] local.INFO: TCP Data received {"connection_id":229173,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:19:40] local.INFO: Processing buffer {"connection_id":229173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:19:40] local.INFO: IMEI packet received {"connection_id":229173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":229173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:19:45] local.INFO: TCP Data received {"connection_id":229173,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:19:45] local.INFO: Processing buffer {"connection_id":229173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:19:45] local.INFO: IMEI packet received {"connection_id":229173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":229173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:19:46] local.INFO: TCP Data received {"connection_id":229173,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:46] local.INFO: Processing buffer {"connection_id":229173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:46] local.INFO: Packet analysis {"connection_id":229173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:19:46] local.INFO: Extracted packet for processing {"connection_id":229173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:19:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:19:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":229173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:19:46] local.INFO: GPS data processed {"connection_id":229173,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:19:46] local.INFO: Acknowledgment sent {"connection_id":229173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:19:47] local.INFO: TCP Data received {"connection_id":232275,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:19:47] local.INFO: Processing buffer {"connection_id":232275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:19:47] local.INFO: Packet analysis {"connection_id":232275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:19:47] local.INFO: Extracted packet for processing {"connection_id":232275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:47] 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-11-04 05:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:19:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:19:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":232275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:19:47] local.INFO: GPS data processed {"connection_id":232275,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:19:47] local.INFO: Acknowledgment sent {"connection_id":232275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:19:50] local.INFO: TCP Data received {"connection_id":229173,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:50] local.INFO: Processing buffer {"connection_id":229173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:19:50] local.INFO: Packet analysis {"connection_id":229173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:19:50] local.INFO: Extracted packet for processing {"connection_id":229173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:19:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:19:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":229173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:19:50] local.INFO: GPS data processed {"connection_id":229173,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:19:50] local.INFO: Acknowledgment sent {"connection_id":229173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:20:09] local.INFO: TCP Data received {"connection_id":228689,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:20:09] local.INFO: Processing buffer {"connection_id":228689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:20:09] local.INFO: IMEI packet received {"connection_id":228689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":228689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:20:15] local.INFO: TCP Data received {"connection_id":228689,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:20:15] local.INFO: Processing buffer {"connection_id":228689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:20:15] local.INFO: IMEI packet received {"connection_id":228689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":228689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:20:16] local.INFO: TCP Data received {"connection_id":228689,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:20:16] local.INFO: Processing buffer {"connection_id":228689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:20:16] local.INFO: Packet analysis {"connection_id":228689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:20:16] local.INFO: Extracted packet for processing {"connection_id":228689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:16] 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-11-04 05:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:20:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:20:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":228689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:20:16] local.INFO: GPS data processed {"connection_id":228689,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:20:16] local.INFO: Acknowledgment sent {"connection_id":228689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:20:35] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:20:35] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:20:35] local.INFO: IMEI packet received {"connection_id":230438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":230438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:20:40] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:20:40] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:20:40] local.INFO: IMEI packet received {"connection_id":230438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":230438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:20:40] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:20:40] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:20:40] local.INFO: Packet analysis {"connection_id":230438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:20:40] local.INFO: Extracted packet for processing {"connection_id":230438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:20:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:20:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":230438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:20:40] local.INFO: GPS data processed {"connection_id":230438,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:20:40] local.INFO: Acknowledgment sent {"connection_id":230438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:20:48] local.INFO: TCP Data received {"connection_id":228689,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:20:48] local.INFO: Processing buffer {"connection_id":228689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:20:48] local.INFO: Packet analysis {"connection_id":228689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:20:48] local.INFO: Extracted packet for processing {"connection_id":228689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:20:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:20:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":228689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:20:48] local.INFO: GPS data processed {"connection_id":228689,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:20:48] local.INFO: Acknowledgment sent {"connection_id":228689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:21:11] local.INFO: TCP Data received {"connection_id":230438,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:21:11] local.INFO: Processing buffer {"connection_id":230438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:21:11] local.INFO: Packet analysis {"connection_id":230438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:21:11] local.INFO: Extracted packet for processing {"connection_id":230438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:21:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:21: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-11-04 05:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:21:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":230438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:21:11] local.INFO: GPS data processed {"connection_id":230438,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:21:11] local.INFO: Acknowledgment sent {"connection_id":230438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:21:15] local.INFO: TCP Data received {"connection_id":232276,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:21:15] local.INFO: Processing buffer {"connection_id":232276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:21:15] local.INFO: IMEI packet received {"connection_id":232276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":232276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:21:20] local.INFO: TCP Data received {"connection_id":232276,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:21:20] local.INFO: Processing buffer {"connection_id":232276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:21:20] local.INFO: IMEI packet received {"connection_id":232276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":232276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:21:21] local.INFO: TCP Data received {"connection_id":232276,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:21:21] local.INFO: Processing buffer {"connection_id":232276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:21:21] local.INFO: Packet analysis {"connection_id":232276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:21:21] local.INFO: Extracted packet for processing {"connection_id":232276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:21] 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-11-04 05:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:21: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-11-04 05:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:21:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:21:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":232276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:21:21] local.INFO: GPS data processed {"connection_id":232276,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:21:21] local.INFO: Acknowledgment sent {"connection_id":232276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:21:26] local.INFO: TCP Data received {"connection_id":232276,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:21:26] local.INFO: Processing buffer {"connection_id":232276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:21:26] local.INFO: Packet analysis {"connection_id":232276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:21:26] local.INFO: Extracted packet for processing {"connection_id":232276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:21:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:26] 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-11-04 05:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:21:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:21:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":232276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:21:26] local.INFO: GPS data processed {"connection_id":232276,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:21:26] local.INFO: Acknowledgment sent {"connection_id":232276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:21:35] local.INFO: TCP Data received {"connection_id":229174,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:21:35] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:21:35] local.INFO: IMEI packet received {"connection_id":229174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":229174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:21:40] local.INFO: TCP Data received {"connection_id":229174,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:21:40] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:21:40] local.INFO: IMEI packet received {"connection_id":229174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":229174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:21:41] local.INFO: TCP Data received {"connection_id":229174,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:21:41] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ce3e48012ce51bc007234b900009008029..."} 
[2026-11-04 05:21:41] local.INFO: Packet analysis {"connection_id":229174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:21:41] local.INFO: Extracted packet for processing {"connection_id":229174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ce"} 
[2026-11-04 05:21:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":41,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199811584001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749565000,"timestamp_ms":1793749565000,"timestamp_seconds":1793749565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ce3e48"} 
[2026-11-04 05:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199811584001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199811584001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:21:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199811584001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":229174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:21:41] local.INFO: GPS data processed {"connection_id":229174,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:21:41] local.INFO: Acknowledgment sent {"connection_id":229174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:22:10] local.INFO: TCP Data received {"connection_id":230439,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:22:10] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:22:10] local.INFO: IMEI packet received {"connection_id":230439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":230439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:22:12] local.INFO: TCP Data received {"connection_id":229174,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:22:12] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:22:12] local.INFO: Packet analysis {"connection_id":229174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:22:12] local.INFO: Extracted packet for processing {"connection_id":229174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:22:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:22:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":229174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:22:12] local.INFO: GPS data processed {"connection_id":229174,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:22:12] local.INFO: Acknowledgment sent {"connection_id":229174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:22:15] local.INFO: TCP Data received {"connection_id":230439,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:22:15] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:22:15] local.INFO: IMEI packet received {"connection_id":230439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":230439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:22:16] local.INFO: TCP Data received {"connection_id":230439,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:22:16] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:22:16] local.INFO: Packet analysis {"connection_id":230439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:22:16] local.INFO: Extracted packet for processing {"connection_id":230439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:16] 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-11-04 05:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:22:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:22:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":230439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:22:16] local.INFO: GPS data processed {"connection_id":230439,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:22:16] local.INFO: Acknowledgment sent {"connection_id":230439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:22:35] local.INFO: TCP Data received {"connection_id":228690,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:22:35] local.INFO: Processing buffer {"connection_id":228690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:22:35] local.INFO: IMEI packet received {"connection_id":228690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":228690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:22:40] local.INFO: TCP Data received {"connection_id":228690,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:22:40] local.INFO: Processing buffer {"connection_id":228690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:22:40] local.INFO: IMEI packet received {"connection_id":228690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":228690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:22:40] local.INFO: TCP Data received {"connection_id":228690,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:22:40] local.INFO: Processing buffer {"connection_id":228690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:22:40] local.INFO: Packet analysis {"connection_id":228690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:22:40] local.INFO: Extracted packet for processing {"connection_id":228690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:22:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:22:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:22:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":228690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:22:40] local.INFO: GPS data processed {"connection_id":228690,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:22:40] local.INFO: Acknowledgment sent {"connection_id":228690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:22:48] local.INFO: TCP Data received {"connection_id":230439,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:22:48] local.INFO: Processing buffer {"connection_id":230439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3cf5788012d3c94c006a39460004601582a..."} 
[2026-11-04 05:22:48] local.INFO: Packet analysis {"connection_id":230439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:22:48] local.INFO: Extracted packet for processing {"connection_id":230439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3cf"} 
[2026-11-04 05:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199830784001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793749637000,"timestamp_ms":1793749637000,"timestamp_seconds":1793749637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3cf5788"} 
[2026-11-04 05:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-11-04 05:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2886,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199830784001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199830784001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:22:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:22:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199830784001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":230439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:22:48] local.INFO: GPS data processed {"connection_id":230439,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:22:48] local.INFO: Acknowledgment sent {"connection_id":230439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:23:09] local.INFO: TCP Data received {"connection_id":228691,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:23:09] local.INFO: Processing buffer {"connection_id":228691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:23:09] local.INFO: IMEI packet received {"connection_id":228691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":228691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:23:11] local.INFO: TCP Data received {"connection_id":228690,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:23:11] local.INFO: Processing buffer {"connection_id":228690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:23:11] local.INFO: Packet analysis {"connection_id":228690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:23:11] local.INFO: Extracted packet for processing {"connection_id":228690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":228690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:23:11] local.INFO: GPS data processed {"connection_id":228690,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:23:11] local.INFO: Acknowledgment sent {"connection_id":228690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:23:14] local.INFO: TCP Data received {"connection_id":228691,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:23:14] local.INFO: Processing buffer {"connection_id":228691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:23:14] local.INFO: IMEI packet received {"connection_id":228691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":228691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:23:15] local.INFO: TCP Data received {"connection_id":228691,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:23:15] local.INFO: Processing buffer {"connection_id":228691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:23:15] local.INFO: Packet analysis {"connection_id":228691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:23:15] local.INFO: Extracted packet for processing {"connection_id":228691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:15] 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-11-04 05:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:23:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:23:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":228691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:23:15] local.INFO: GPS data processed {"connection_id":228691,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:23:15] local.INFO: Acknowledgment sent {"connection_id":228691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:23:35] local.INFO: TCP Data received {"connection_id":228692,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:23:35] local.INFO: Processing buffer {"connection_id":228692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:23:35] local.INFO: IMEI packet received {"connection_id":228692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":228692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:23:40] local.INFO: TCP Data received {"connection_id":228692,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:23:40] local.INFO: Processing buffer {"connection_id":228692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:23:40] local.INFO: IMEI packet received {"connection_id":228692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":228692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:23:41] local.INFO: TCP Data received {"connection_id":228692,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:23:41] local.INFO: Processing buffer {"connection_id":228692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:23:41] local.INFO: Packet analysis {"connection_id":228692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:23:41] local.INFO: Extracted packet for processing {"connection_id":228692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:23:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:23:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:23:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":228692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:23:41] local.INFO: GPS data processed {"connection_id":228692,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:23:41] local.INFO: Acknowledgment sent {"connection_id":228692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:23:46] local.INFO: TCP Data received {"connection_id":228691,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:23:46] local.INFO: Processing buffer {"connection_id":228691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:23:46] local.INFO: Packet analysis {"connection_id":228691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:23:46] local.INFO: Extracted packet for processing {"connection_id":228691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:23:46] 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-11-04 05:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:23:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:23:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":228691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:23:46] local.INFO: GPS data processed {"connection_id":228691,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:23:46] local.INFO: Acknowledgment sent {"connection_id":228691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:24:09] local.INFO: TCP Data received {"connection_id":232277,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:24:09] local.INFO: Processing buffer {"connection_id":232277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:24:09] local.INFO: IMEI packet received {"connection_id":232277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":232277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:24:12] local.INFO: TCP Data received {"connection_id":228692,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:12] local.INFO: Processing buffer {"connection_id":228692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:12] local.INFO: Packet analysis {"connection_id":228692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:24:12] local.INFO: Extracted packet for processing {"connection_id":228692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:24:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 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-11-04 05:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:24:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":228692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:24:12] local.INFO: GPS data processed {"connection_id":228692,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:24:12] local.INFO: Acknowledgment sent {"connection_id":228692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:24:15] local.INFO: TCP Data received {"connection_id":232277,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:24:15] local.INFO: Processing buffer {"connection_id":232277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:24:15] local.INFO: IMEI packet received {"connection_id":232277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":232277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:24:16] local.INFO: TCP Data received {"connection_id":232277,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:24:16] local.INFO: Processing buffer {"connection_id":232277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:24:16] local.INFO: Packet analysis {"connection_id":232277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:24:16] local.INFO: Extracted packet for processing {"connection_id":232277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:16] 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-11-04 05:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:24:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:24:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":232277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:24:16] local.INFO: GPS data processed {"connection_id":232277,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:24:16] local.INFO: Acknowledgment sent {"connection_id":232277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:24:40] local.INFO: TCP Data received {"connection_id":229175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:24:40] local.INFO: Processing buffer {"connection_id":229175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:24:40] local.INFO: IMEI packet received {"connection_id":229175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":229175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:24:45] local.INFO: TCP Data received {"connection_id":229175,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:24:45] local.INFO: Processing buffer {"connection_id":229175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:24:45] local.INFO: IMEI packet received {"connection_id":229175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":229175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:24:46] local.INFO: TCP Data received {"connection_id":229175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:46] local.INFO: Processing buffer {"connection_id":229175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:46] local.INFO: Packet analysis {"connection_id":229175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:24:46] local.INFO: Extracted packet for processing {"connection_id":229175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:24:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:24:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:24:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":229175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:24:46] local.INFO: GPS data processed {"connection_id":229175,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:24:46] local.INFO: Acknowledgment sent {"connection_id":229175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:24:48] local.INFO: TCP Data received {"connection_id":232277,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:24:48] local.INFO: Processing buffer {"connection_id":232277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:24:48] local.INFO: Packet analysis {"connection_id":232277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:24:48] local.INFO: Extracted packet for processing {"connection_id":232277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:24:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:24:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":232277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:24:48] local.INFO: GPS data processed {"connection_id":232277,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:24:48] local.INFO: Acknowledgment sent {"connection_id":232277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:24:50] local.INFO: TCP Data received {"connection_id":229175,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:50] local.INFO: Processing buffer {"connection_id":229175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:24:50] local.INFO: Packet analysis {"connection_id":229175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:24:50] local.INFO: Extracted packet for processing {"connection_id":229175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:24:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:24:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":229175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:24:50] local.INFO: GPS data processed {"connection_id":229175,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:24:50] local.INFO: Acknowledgment sent {"connection_id":229175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:25:15] local.INFO: TCP Data received {"connection_id":230440,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:25:15] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:25:15] local.INFO: IMEI packet received {"connection_id":230440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":230440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:25:20] local.INFO: TCP Data received {"connection_id":230440,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:25:20] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:25:20] local.INFO: IMEI packet received {"connection_id":230440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":230440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:25:21] local.INFO: TCP Data received {"connection_id":230440,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:25:21] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:25:21] local.INFO: Packet analysis {"connection_id":230440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:25:21] local.INFO: Extracted packet for processing {"connection_id":230440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:25: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-11-04 05:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:21] 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-11-04 05:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:25: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-11-04 05:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:25:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:25:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":230440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:25:21] local.INFO: GPS data processed {"connection_id":230440,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:25:21] local.INFO: Acknowledgment sent {"connection_id":230440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:25:25] local.INFO: TCP Data received {"connection_id":230440,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:25:25] local.INFO: Processing buffer {"connection_id":230440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:25:25] local.INFO: Packet analysis {"connection_id":230440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:25:25] local.INFO: Extracted packet for processing {"connection_id":230440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:25] 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-11-04 05:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:25:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:25:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":230440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:25:26] local.INFO: GPS data processed {"connection_id":230440,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:25:26] local.INFO: Acknowledgment sent {"connection_id":230440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:25:35] local.INFO: TCP Data received {"connection_id":229176,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:25:35] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:25:35] local.INFO: IMEI packet received {"connection_id":229176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":229176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:25:40] local.INFO: TCP Data received {"connection_id":229176,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:25:40] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:25:40] local.INFO: IMEI packet received {"connection_id":229176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":229176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:25:41] local.INFO: TCP Data received {"connection_id":229176,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:25:41] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:25:41] local.INFO: Packet analysis {"connection_id":229176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:25:41] local.INFO: Extracted packet for processing {"connection_id":229176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:25:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:25:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:25:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":229176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:25:41] local.INFO: GPS data processed {"connection_id":229176,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:25:41] local.INFO: Acknowledgment sent {"connection_id":229176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:26:10] local.INFO: TCP Data received {"connection_id":229177,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:26:10] local.INFO: Processing buffer {"connection_id":229177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:26:10] local.INFO: IMEI packet received {"connection_id":229177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":229177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:26:12] local.INFO: TCP Data received {"connection_id":229176,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:26:12] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:26:12] local.INFO: Packet analysis {"connection_id":229176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:26:12] local.INFO: Extracted packet for processing {"connection_id":229176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:26:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:26:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":229176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:26:12] local.INFO: GPS data processed {"connection_id":229176,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:26:12] local.INFO: Acknowledgment sent {"connection_id":229176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:26:15] local.INFO: TCP Data received {"connection_id":229177,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:26:15] local.INFO: Processing buffer {"connection_id":229177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:26:15] local.INFO: IMEI packet received {"connection_id":229177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":229177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:26:16] local.INFO: TCP Data received {"connection_id":229177,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:26:16] local.INFO: Processing buffer {"connection_id":229177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:26:16] local.INFO: Packet analysis {"connection_id":229177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:26:16] local.INFO: Extracted packet for processing {"connection_id":229177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:16] 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-11-04 05:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:26:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:26:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":229177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:26:16] local.INFO: GPS data processed {"connection_id":229177,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:26:16] local.INFO: Acknowledgment sent {"connection_id":229177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:26:35] local.INFO: TCP Data received {"connection_id":232278,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:26:35] local.INFO: Processing buffer {"connection_id":232278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:26:35] local.INFO: IMEI packet received {"connection_id":232278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":232278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:26:40] local.INFO: TCP Data received {"connection_id":232278,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:26:40] local.INFO: Processing buffer {"connection_id":232278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:26:40] local.INFO: IMEI packet received {"connection_id":232278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":232278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:26:41] local.INFO: TCP Data received {"connection_id":232278,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:26:41] local.INFO: Processing buffer {"connection_id":232278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d2d610012ce51bc007234b90000900802a..."} 
[2026-11-04 05:26:41] local.INFO: Packet analysis {"connection_id":232278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:26:41] local.INFO: Extracted packet for processing {"connection_id":232278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d2"} 
[2026-11-04 05:26:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199888640001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793749866000,"timestamp_ms":1793749866000,"timestamp_seconds":1793749866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d2d610"} 
[2026-11-04 05:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 05:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199888640001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199888640001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:26:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:26:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:26:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199888640001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":232278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:26:41] local.INFO: GPS data processed {"connection_id":232278,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:26:41] local.INFO: Acknowledgment sent {"connection_id":232278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:26:48] local.INFO: TCP Data received {"connection_id":229177,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:26:48] local.INFO: Processing buffer {"connection_id":229177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:26:48] local.INFO: Packet analysis {"connection_id":229177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:26:48] local.INFO: Extracted packet for processing {"connection_id":229177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:26:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:26:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":229177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:26:48] local.INFO: GPS data processed {"connection_id":229177,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:26:48] local.INFO: Acknowledgment sent {"connection_id":229177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:27:09] local.INFO: TCP Data received {"connection_id":232279,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:27:09] local.INFO: Processing buffer {"connection_id":232279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:27:09] local.INFO: IMEI packet received {"connection_id":232279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":232279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:27:12] local.INFO: TCP Data received {"connection_id":232278,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:27:12] local.INFO: Processing buffer {"connection_id":232278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:27:12] local.INFO: Packet analysis {"connection_id":232278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:27:12] local.INFO: Extracted packet for processing {"connection_id":232278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:27:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:27:12] 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-11-04 05: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-11-04 05:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:27:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":232278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:27:12] local.INFO: GPS data processed {"connection_id":232278,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:27:12] local.INFO: Acknowledgment sent {"connection_id":232278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:27:15] local.INFO: TCP Data received {"connection_id":232279,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:27:15] local.INFO: Processing buffer {"connection_id":232279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:27:15] local.INFO: IMEI packet received {"connection_id":232279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":232279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:27:16] local.INFO: TCP Data received {"connection_id":232279,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:27:16] local.INFO: Processing buffer {"connection_id":232279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:27:16] local.INFO: Packet analysis {"connection_id":232279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:27:16] local.INFO: Extracted packet for processing {"connection_id":232279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:16] 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-11-04 05:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:27:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:27:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":232279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:27:16] local.INFO: GPS data processed {"connection_id":232279,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:27:16] local.INFO: Acknowledgment sent {"connection_id":232279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:27:35] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:27:35] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:27:35] local.INFO: IMEI packet received {"connection_id":230441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":230441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:27:40] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:27:40] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:27:40] local.INFO: IMEI packet received {"connection_id":230441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":230441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:27:41] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:27:41] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:27:41] local.INFO: Packet analysis {"connection_id":230441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:27:41] local.INFO: Extracted packet for processing {"connection_id":230441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:27:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:27:41] 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-11-04 05:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:27:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:27:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:27:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":230441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:27:41] local.INFO: GPS data processed {"connection_id":230441,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:27:41] local.INFO: Acknowledgment sent {"connection_id":230441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:27:47] local.INFO: TCP Data received {"connection_id":232279,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:27:47] local.INFO: Processing buffer {"connection_id":232279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d3ef50012d3c94c006a39460004601582a..."} 
[2026-11-04 05:27:47] local.INFO: Packet analysis {"connection_id":232279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:27:47] local.INFO: Extracted packet for processing {"connection_id":232279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d3"} 
[2026-11-04 05:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199907072001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:27:47] 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-11-04 05:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793749938000,"timestamp_ms":1793749938000,"timestamp_seconds":1793749938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d3ef50"} 
[2026-11-04 05:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232279,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199907072001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199907072001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:27:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:27:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199907072001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":232279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:27:47] local.INFO: GPS data processed {"connection_id":232279,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:27:47] local.INFO: Acknowledgment sent {"connection_id":232279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:28:09] local.INFO: TCP Data received {"connection_id":232280,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:28:09] local.INFO: Processing buffer {"connection_id":232280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:28:09] local.INFO: IMEI packet received {"connection_id":232280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":232280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:28:12] local.INFO: TCP Data received {"connection_id":230441,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:28:12] local.INFO: Processing buffer {"connection_id":230441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:28:12] local.INFO: Packet analysis {"connection_id":230441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:28:12] local.INFO: Extracted packet for processing {"connection_id":230441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:28:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 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-11-04 05:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:28:12] 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-11-04 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-11-04 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-11-04 05:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:28: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-11-04 05:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:28:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:28:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:28:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":230441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:28:12] local.INFO: GPS data processed {"connection_id":230441,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:28:12] local.INFO: Acknowledgment sent {"connection_id":230441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:28:14] local.INFO: TCP Data received {"connection_id":232280,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:28:14] local.INFO: Processing buffer {"connection_id":232280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:28:14] local.INFO: IMEI packet received {"connection_id":232280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":232280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:28:15] local.INFO: TCP Data received {"connection_id":232280,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:28:15] local.INFO: Processing buffer {"connection_id":232280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:28:15] local.INFO: Packet analysis {"connection_id":232280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:28:15] local.INFO: Extracted packet for processing {"connection_id":232280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:15] 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-11-04 05:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:28:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:28:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":232280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:28:15] local.INFO: GPS data processed {"connection_id":232280,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:28:15] local.INFO: Acknowledgment sent {"connection_id":232280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:28:35] local.INFO: TCP Data received {"connection_id":230442,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:28:35] local.INFO: Processing buffer {"connection_id":230442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:28:35] local.INFO: IMEI packet received {"connection_id":230442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":230442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:28:40] local.INFO: TCP Data received {"connection_id":230442,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:28:40] local.INFO: Processing buffer {"connection_id":230442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:28:40] local.INFO: IMEI packet received {"connection_id":230442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":230442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:28:41] local.INFO: TCP Data received {"connection_id":230442,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:28:41] local.INFO: Processing buffer {"connection_id":230442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:28:41] local.INFO: Packet analysis {"connection_id":230442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:28:41] local.INFO: Extracted packet for processing {"connection_id":230442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:28:41] 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-11-04 05:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:28:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:28:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:28:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":230442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:28:41] local.INFO: GPS data processed {"connection_id":230442,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:28:41] local.INFO: Acknowledgment sent {"connection_id":230442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:28:47] local.INFO: TCP Data received {"connection_id":232280,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:28:47] local.INFO: Processing buffer {"connection_id":232280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:28:47] local.INFO: Packet analysis {"connection_id":232280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:28:47] local.INFO: Extracted packet for processing {"connection_id":232280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:28:47] 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-11-04 05:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:28:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:28:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":232280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:28:47] local.INFO: GPS data processed {"connection_id":232280,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:28:47] local.INFO: Acknowledgment sent {"connection_id":232280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:29:09] local.INFO: TCP Data received {"connection_id":230443,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:29:09] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:29:09] local.INFO: IMEI packet received {"connection_id":230443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":230443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:29:12] local.INFO: TCP Data received {"connection_id":230442,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:12] local.INFO: Processing buffer {"connection_id":230442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:12] local.INFO: Packet analysis {"connection_id":230442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:29:12] local.INFO: Extracted packet for processing {"connection_id":230442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:29:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 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-11-04 05:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:29:12] 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-11-04 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-11-04 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-11-04 05:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:29:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:29:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:29:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":230442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:29:12] local.INFO: GPS data processed {"connection_id":230442,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:29:12] local.INFO: Acknowledgment sent {"connection_id":230442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:29:15] local.INFO: TCP Data received {"connection_id":230443,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:29:15] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:29:15] local.INFO: IMEI packet received {"connection_id":230443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":230443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:29:16] local.INFO: TCP Data received {"connection_id":230443,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:29:16] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:29:16] local.INFO: Packet analysis {"connection_id":230443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:29:16] local.INFO: Extracted packet for processing {"connection_id":230443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:29: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-11-04 05:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:16] 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-11-04 05:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:29: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":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:29: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-11-04 05:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:29:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:29:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":230443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:29:16] local.INFO: GPS data processed {"connection_id":230443,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:29:16] local.INFO: Acknowledgment sent {"connection_id":230443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:29:40] local.INFO: TCP Data received {"connection_id":229178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:29:40] local.INFO: Processing buffer {"connection_id":229178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:29:40] local.INFO: IMEI packet received {"connection_id":229178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":229178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:29:45] local.INFO: TCP Data received {"connection_id":229178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:29:45] local.INFO: Processing buffer {"connection_id":229178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:29:45] local.INFO: IMEI packet received {"connection_id":229178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":229178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:29:46] local.INFO: TCP Data received {"connection_id":229178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:46] local.INFO: Processing buffer {"connection_id":229178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:46] local.INFO: Packet analysis {"connection_id":229178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:29:46] local.INFO: Extracted packet for processing {"connection_id":229178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:29:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:29:46] 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-11-04 05:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:29:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:29:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:29:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":229178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:29:46] local.INFO: GPS data processed {"connection_id":229178,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:29:46] local.INFO: Acknowledgment sent {"connection_id":229178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:29:48] local.INFO: TCP Data received {"connection_id":230443,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:29:48] local.INFO: Processing buffer {"connection_id":230443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:29:48] local.INFO: Packet analysis {"connection_id":230443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:29:48] local.INFO: Extracted packet for processing {"connection_id":230443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:29:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:29:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:29:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":230443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:29:48] local.INFO: GPS data processed {"connection_id":230443,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:29:48] local.INFO: Acknowledgment sent {"connection_id":230443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:29:54] local.INFO: TCP Data received {"connection_id":229178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:54] local.INFO: Processing buffer {"connection_id":229178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:29:54] local.INFO: Packet analysis {"connection_id":229178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:29:54] local.INFO: Extracted packet for processing {"connection_id":229178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:29:54] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:29:54] 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-11-04 05:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:29: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-11-04 05:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:29:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":229178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:29:54] local.INFO: GPS data processed {"connection_id":229178,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:29:54] local.INFO: Acknowledgment sent {"connection_id":229178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:30:09] local.INFO: TCP Data received {"connection_id":230444,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:30:09] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:30:09] local.INFO: IMEI packet received {"connection_id":230444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":230444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:30:15] local.INFO: TCP Data received {"connection_id":230444,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:30:15] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:30:15] local.INFO: IMEI packet received {"connection_id":230444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":230444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:30:16] local.INFO: TCP Data received {"connection_id":230444,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:30:16] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:30:16] local.INFO: Packet analysis {"connection_id":230444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:30:16] local.INFO: Extracted packet for processing {"connection_id":230444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:16] 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-11-04 05:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:30:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:30:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":230444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:30:16] local.INFO: GPS data processed {"connection_id":230444,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:30:16] local.INFO: Acknowledgment sent {"connection_id":230444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:30:35] local.INFO: TCP Data received {"connection_id":232281,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:30:35] local.INFO: Processing buffer {"connection_id":232281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:30:35] local.INFO: IMEI packet received {"connection_id":232281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":232281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:30:40] local.INFO: TCP Data received {"connection_id":232281,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:30:40] local.INFO: Processing buffer {"connection_id":232281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:30:40] local.INFO: IMEI packet received {"connection_id":232281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":232281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:30:41] local.INFO: TCP Data received {"connection_id":232281,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:30:41] local.INFO: Processing buffer {"connection_id":232281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:30:41] local.INFO: Packet analysis {"connection_id":232281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:30:41] local.INFO: Extracted packet for processing {"connection_id":232281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:30:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:30:41] 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-11-04 05:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:30:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":232281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:30:41] local.INFO: GPS data processed {"connection_id":232281,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:30:41] local.INFO: Acknowledgment sent {"connection_id":232281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:30:48] local.INFO: TCP Data received {"connection_id":230444,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:30:48] local.INFO: Processing buffer {"connection_id":230444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:30:48] local.INFO: Packet analysis {"connection_id":230444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:30:48] local.INFO: Extracted packet for processing {"connection_id":230444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:30:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:30:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":230444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:30:48] local.INFO: GPS data processed {"connection_id":230444,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:30:48] local.INFO: Acknowledgment sent {"connection_id":230444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:31:12] local.INFO: TCP Data received {"connection_id":232281,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:12] local.INFO: Processing buffer {"connection_id":232281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:12] local.INFO: Packet analysis {"connection_id":232281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:31:12] local.INFO: Extracted packet for processing {"connection_id":232281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:31:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:31:12] 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-11-04 05: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-11-04 05:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:31:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:31:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":232281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:31:12] local.INFO: GPS data processed {"connection_id":232281,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:31:12] local.INFO: Acknowledgment sent {"connection_id":232281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:31:15] local.INFO: TCP Data received {"connection_id":230445,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:31:15] local.INFO: Processing buffer {"connection_id":230445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:31:15] local.INFO: IMEI packet received {"connection_id":230445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":230445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:31:20] local.INFO: TCP Data received {"connection_id":230445,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:31:20] local.INFO: Processing buffer {"connection_id":230445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:31:20] local.INFO: IMEI packet received {"connection_id":230445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":230445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:31:21] local.INFO: TCP Data received {"connection_id":230445,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:31:21] local.INFO: Processing buffer {"connection_id":230445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:31:21] local.INFO: Packet analysis {"connection_id":230445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:31:21] local.INFO: Extracted packet for processing {"connection_id":230445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:21] 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-11-04 05:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 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-11-04 05:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:31:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:31:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":230445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:31:21] local.INFO: GPS data processed {"connection_id":230445,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:31:21] local.INFO: Acknowledgment sent {"connection_id":230445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:31:25] local.INFO: TCP Data received {"connection_id":230445,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:31:25] local.INFO: Processing buffer {"connection_id":230445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:31:25] local.INFO: Packet analysis {"connection_id":230445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:31:25] local.INFO: Extracted packet for processing {"connection_id":230445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:31:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:25] 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-11-04 05:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:31:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:31:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":230445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:31:26] local.INFO: GPS data processed {"connection_id":230445,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:31:26] local.INFO: Acknowledgment sent {"connection_id":230445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:31:35] local.INFO: TCP Data received {"connection_id":230446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:31:35] local.INFO: Processing buffer {"connection_id":230446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:31:35] local.INFO: IMEI packet received {"connection_id":230446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":230446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:31:40] local.INFO: TCP Data received {"connection_id":230446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:31:40] local.INFO: Processing buffer {"connection_id":230446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:31:40] local.INFO: IMEI packet received {"connection_id":230446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":230446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:31:41] local.INFO: TCP Data received {"connection_id":230446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:41] local.INFO: Processing buffer {"connection_id":230446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:41] local.INFO: Packet analysis {"connection_id":230446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:31:41] local.INFO: Extracted packet for processing {"connection_id":230446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:31:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:31:41] 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-11-04 05:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:31:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:31:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":230446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:31:41] local.INFO: GPS data processed {"connection_id":230446,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:31:41] local.INFO: Acknowledgment sent {"connection_id":230446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:31:45] local.INFO: TCP Data received {"connection_id":230446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:45] local.INFO: Processing buffer {"connection_id":230446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d76dd8012ce51bc007234b90000900802a..."} 
[2026-11-04 05:31:45] local.INFO: Packet analysis {"connection_id":230446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:31:45] local.INFO: Extracted packet for processing {"connection_id":230446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d7"} 
[2026-11-04 05:31:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":42,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199965696001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793750167000,"timestamp_ms":1793750167000,"timestamp_seconds":1793750167,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d76dd8"} 
[2026-11-04 05:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:31:45] 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-11-04 05: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-11-04 05:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199965696001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199965696001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:31:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199965696001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":230446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:31:45] local.INFO: GPS data processed {"connection_id":230446,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:31:45] local.INFO: Acknowledgment sent {"connection_id":230446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:32:10] local.INFO: TCP Data received {"connection_id":230447,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:32:10] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:32:10] local.INFO: IMEI packet received {"connection_id":230447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":230447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:32:15] local.INFO: TCP Data received {"connection_id":230447,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:32:15] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:32:15] local.INFO: IMEI packet received {"connection_id":230447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":230447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:32:16] local.INFO: TCP Data received {"connection_id":230447,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:32:16] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:32:16] local.INFO: Packet analysis {"connection_id":230447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:32:16] local.INFO: Extracted packet for processing {"connection_id":230447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:32: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-11-04 05:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:16] 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-11-04 05:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:32: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":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:32: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-11-04 05:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":230447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:32:16] local.INFO: GPS data processed {"connection_id":230447,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:32:16] local.INFO: Acknowledgment sent {"connection_id":230447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:32:16] local.INFO: TCP Data received {"connection_id":230446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:32:16] local.INFO: Processing buffer {"connection_id":230446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:32:16] local.INFO: Packet analysis {"connection_id":230446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:32:16] local.INFO: Extracted packet for processing {"connection_id":230446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:32:16] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:32: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-11-04 05:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:32:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:32:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:32: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-11-04 05:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:32:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":230446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:32:16] local.INFO: GPS data processed {"connection_id":230446,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:32:16] local.INFO: Acknowledgment sent {"connection_id":230446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:32:35] local.INFO: TCP Data received {"connection_id":229179,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:32:35] local.INFO: Processing buffer {"connection_id":229179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:32:35] local.INFO: IMEI packet received {"connection_id":229179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":229179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:32:40] local.INFO: TCP Data received {"connection_id":229179,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:32:40] local.INFO: Processing buffer {"connection_id":229179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:32:40] local.INFO: IMEI packet received {"connection_id":229179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":229179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:32:41] local.INFO: TCP Data received {"connection_id":229179,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:32:41] local.INFO: Processing buffer {"connection_id":229179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:32:41] local.INFO: Packet analysis {"connection_id":229179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:32:41] local.INFO: Extracted packet for processing {"connection_id":229179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:32:41] 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-11-04 05:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":229179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:32:41] local.INFO: GPS data processed {"connection_id":229179,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:32:41] local.INFO: Acknowledgment sent {"connection_id":229179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:32:48] local.INFO: TCP Data received {"connection_id":230447,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:32:48] local.INFO: Processing buffer {"connection_id":230447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3d88718012d3c94c006a39460004601582a..."} 
[2026-11-04 05:32:48] local.INFO: Packet analysis {"connection_id":230447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:32:48] local.INFO: Extracted packet for processing {"connection_id":230447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3d8"} 
[2026-11-04 05:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459199984128001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793750239000,"timestamp_ms":1793750239000,"timestamp_seconds":1793750239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3d88718"} 
[2026-11-04 05:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459199984128001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459199984128001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:32:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:32:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459199984128001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":230447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:32:48] local.INFO: GPS data processed {"connection_id":230447,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:32:48] local.INFO: Acknowledgment sent {"connection_id":230447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:33:09] local.INFO: TCP Data received {"connection_id":232282,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:33:09] local.INFO: Processing buffer {"connection_id":232282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:33:09] local.INFO: IMEI packet received {"connection_id":232282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":232282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:33:12] local.INFO: TCP Data received {"connection_id":229179,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:33:12] local.INFO: Processing buffer {"connection_id":229179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:33:12] local.INFO: Packet analysis {"connection_id":229179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:33:12] local.INFO: Extracted packet for processing {"connection_id":229179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:33:12] 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-11-04 05: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-11-04 05:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:33:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":229179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:33:12] local.INFO: GPS data processed {"connection_id":229179,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:33:12] local.INFO: Acknowledgment sent {"connection_id":229179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:33:14] local.INFO: TCP Data received {"connection_id":232282,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:33:14] local.INFO: Processing buffer {"connection_id":232282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:33:14] local.INFO: IMEI packet received {"connection_id":232282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":232282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:33:15] local.INFO: TCP Data received {"connection_id":232282,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:33:15] local.INFO: Processing buffer {"connection_id":232282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:33:15] local.INFO: Packet analysis {"connection_id":232282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:33:15] local.INFO: Extracted packet for processing {"connection_id":232282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:15] 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-11-04 05:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":232282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:33:15] local.INFO: GPS data processed {"connection_id":232282,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:33:15] local.INFO: Acknowledgment sent {"connection_id":232282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:33:40] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:33:40] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:33:40] local.INFO: IMEI packet received {"connection_id":230448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":230448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:33:45] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:33:45] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:33:45] local.INFO: IMEI packet received {"connection_id":230448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":230448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:33:46] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:33:46] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:33:46] local.INFO: Packet analysis {"connection_id":230448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:33:46] local.INFO: Extracted packet for processing {"connection_id":230448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:33:46] 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-11-04 05: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-11-04 05:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":230448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:33:46] local.INFO: GPS data processed {"connection_id":230448,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:33:46] local.INFO: Acknowledgment sent {"connection_id":230448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:33:46] local.INFO: TCP Data received {"connection_id":232282,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:33:46] local.INFO: Processing buffer {"connection_id":232282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:33:46] local.INFO: Packet analysis {"connection_id":232282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:33:46] local.INFO: Extracted packet for processing {"connection_id":232282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:33:46] 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-11-04 05:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":232282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:33:46] local.INFO: GPS data processed {"connection_id":232282,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:33:46] local.INFO: Acknowledgment sent {"connection_id":232282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:34:09] local.INFO: TCP Data received {"connection_id":230449,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:34:09] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:34:09] local.INFO: IMEI packet received {"connection_id":230449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":230449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:34:15] local.INFO: TCP Data received {"connection_id":230449,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:34:15] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:34:15] local.INFO: IMEI packet received {"connection_id":230449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":230449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:34:16] local.INFO: TCP Data received {"connection_id":230449,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:34:16] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:34:16] local.INFO: Packet analysis {"connection_id":230449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:34:16] local.INFO: Extracted packet for processing {"connection_id":230449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:16] 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-11-04 05:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:34:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:34:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":230449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:34:16] local.INFO: GPS data processed {"connection_id":230449,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:34:16] local.INFO: Acknowledgment sent {"connection_id":230449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:34:21] local.INFO: TCP Data received {"connection_id":230448,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:34:21] local.INFO: Processing buffer {"connection_id":230448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:34:21] local.INFO: Packet analysis {"connection_id":230448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:34:21] local.INFO: Extracted packet for processing {"connection_id":230448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:34:21] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:34:21] 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-11-04 05:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:34:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:34:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":230448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:34:21] local.INFO: GPS data processed {"connection_id":230448,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:34:21] local.INFO: Acknowledgment sent {"connection_id":230448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:34:35] local.INFO: TCP Data received {"connection_id":228693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:34:35] local.INFO: Processing buffer {"connection_id":228693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:34:35] local.INFO: IMEI packet received {"connection_id":228693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":228693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:34:40] local.INFO: TCP Data received {"connection_id":228693,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:34:40] local.INFO: Processing buffer {"connection_id":228693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:34:40] local.INFO: IMEI packet received {"connection_id":228693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":228693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:34:40] local.INFO: TCP Data received {"connection_id":228693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:34:40] local.INFO: Processing buffer {"connection_id":228693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:34:40] local.INFO: Packet analysis {"connection_id":228693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:34:40] local.INFO: Extracted packet for processing {"connection_id":228693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:34:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:34:40] 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-11-04 05:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:34:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":228693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:34:40] local.INFO: GPS data processed {"connection_id":228693,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:34:40] local.INFO: Acknowledgment sent {"connection_id":228693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:34:48] local.INFO: TCP Data received {"connection_id":230449,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:34:48] local.INFO: Processing buffer {"connection_id":230449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:34:48] local.INFO: Packet analysis {"connection_id":230449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:34:48] local.INFO: Extracted packet for processing {"connection_id":230449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:34:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:34:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":230449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:34:48] local.INFO: GPS data processed {"connection_id":230449,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:34:48] local.INFO: Acknowledgment sent {"connection_id":230449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:35:11] local.INFO: TCP Data received {"connection_id":228693,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:35:11] local.INFO: Processing buffer {"connection_id":228693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:35:11] local.INFO: Packet analysis {"connection_id":228693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:35:11] local.INFO: Extracted packet for processing {"connection_id":228693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:35:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:35:11] 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-11-04 05: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-11-04 05:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:35:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":228693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:35:11] local.INFO: GPS data processed {"connection_id":228693,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:35:11] local.INFO: Acknowledgment sent {"connection_id":228693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:35:15] local.INFO: TCP Data received {"connection_id":228694,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:35:15] local.INFO: Processing buffer {"connection_id":228694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:35:15] local.INFO: IMEI packet received {"connection_id":228694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":228694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:35:20] local.INFO: TCP Data received {"connection_id":228694,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:35:20] local.INFO: Processing buffer {"connection_id":228694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:35:20] local.INFO: IMEI packet received {"connection_id":228694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":228694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:35:21] local.INFO: TCP Data received {"connection_id":228694,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:35:21] local.INFO: Processing buffer {"connection_id":228694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:35:21] local.INFO: Packet analysis {"connection_id":228694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:35:21] local.INFO: Extracted packet for processing {"connection_id":228694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:21] 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-11-04 05:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:35:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:35:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":228694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:35:21] local.INFO: GPS data processed {"connection_id":228694,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:35:21] local.INFO: Acknowledgment sent {"connection_id":228694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:35:26] local.INFO: TCP Data received {"connection_id":228694,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:35:26] local.INFO: Processing buffer {"connection_id":228694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:35:26] local.INFO: Packet analysis {"connection_id":228694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:35:26] local.INFO: Extracted packet for processing {"connection_id":228694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:35:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:26] 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-11-04 05:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:35:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:35:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":228694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:35:26] local.INFO: GPS data processed {"connection_id":228694,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:35:26] local.INFO: Acknowledgment sent {"connection_id":228694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:35:35] local.INFO: TCP Data received {"connection_id":229180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:35:35] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:35:35] local.INFO: IMEI packet received {"connection_id":229180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":229180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:35:40] local.INFO: TCP Data received {"connection_id":229180,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:35:40] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:35:40] local.INFO: IMEI packet received {"connection_id":229180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":229180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:35:43] local.INFO: TCP Data received {"connection_id":229180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:35:43] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:35:43] local.INFO: Packet analysis {"connection_id":229180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:35:43] local.INFO: Extracted packet for processing {"connection_id":229180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:35:43] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:35:43] 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-11-04 05: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-11-04 05:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:35:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":229180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:35:43] local.INFO: GPS data processed {"connection_id":229180,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:35:43] local.INFO: Acknowledgment sent {"connection_id":229180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:36:10] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:36:10] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:36:10] local.INFO: IMEI packet received {"connection_id":230450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":230450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:36:14] local.INFO: TCP Data received {"connection_id":229180,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:36:14] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:36:14] local.INFO: Packet analysis {"connection_id":229180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:36:14] local.INFO: Extracted packet for processing {"connection_id":229180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:36:14] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:36:14] 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-11-04 05:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:36:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:36:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:36:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":229180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:36:14] local.INFO: GPS data processed {"connection_id":229180,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:36:14] local.INFO: Acknowledgment sent {"connection_id":229180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:36:15] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:36:15] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:36:15] local.INFO: IMEI packet received {"connection_id":230450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":230450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:36:17] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:36:17] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:36:17] local.INFO: Packet analysis {"connection_id":230450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:36:17] local.INFO: Extracted packet for processing {"connection_id":230450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:17] 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-11-04 05:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:36:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:36:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":230450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:36:18] local.INFO: GPS data processed {"connection_id":230450,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:36:18] local.INFO: Acknowledgment sent {"connection_id":230450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:36:35] local.INFO: TCP Data received {"connection_id":229181,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:36:35] local.INFO: Processing buffer {"connection_id":229181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:36:35] local.INFO: IMEI packet received {"connection_id":229181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":229181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:36:40] local.INFO: TCP Data received {"connection_id":229181,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:36:40] local.INFO: Processing buffer {"connection_id":229181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:36:40] local.INFO: IMEI packet received {"connection_id":229181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":229181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:36:41] local.INFO: TCP Data received {"connection_id":229181,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:36:41] local.INFO: Processing buffer {"connection_id":229181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dc05a0012ce51bc007234b90000900802b..."} 
[2026-11-04 05:36:41] local.INFO: Packet analysis {"connection_id":229181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:36:41] local.INFO: Extracted packet for processing {"connection_id":229181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dc"} 
[2026-11-04 05:36:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200042752001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750468000,"timestamp_ms":1793750468000,"timestamp_seconds":1793750468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dc05a0"} 
[2026-11-04 05:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:36:41] 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-11-04 05:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200042752001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200042752001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200042752001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":229181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:36:41] local.INFO: GPS data processed {"connection_id":229181,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:36:41] local.INFO: Acknowledgment sent {"connection_id":229181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:36:50] local.INFO: TCP Data received {"connection_id":230450,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:36:50] local.INFO: Processing buffer {"connection_id":230450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:36:50] local.INFO: Packet analysis {"connection_id":230450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:36:50] local.INFO: Extracted packet for processing {"connection_id":230450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:36:50] 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-11-04 05:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:36:50] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:36:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":230450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:36:50] local.INFO: GPS data processed {"connection_id":230450,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:36:50] local.INFO: Acknowledgment sent {"connection_id":230450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:37:09] local.INFO: TCP Data received {"connection_id":232283,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:37:09] local.INFO: Processing buffer {"connection_id":232283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:37:09] local.INFO: IMEI packet received {"connection_id":232283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":232283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:37:12] local.INFO: TCP Data received {"connection_id":229181,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:37:12] local.INFO: Processing buffer {"connection_id":229181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:37:12] local.INFO: Packet analysis {"connection_id":229181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:37:12] local.INFO: Extracted packet for processing {"connection_id":229181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:37:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:37:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":229181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:37:12] local.INFO: GPS data processed {"connection_id":229181,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:37:12] local.INFO: Acknowledgment sent {"connection_id":229181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:37:15] local.INFO: TCP Data received {"connection_id":232283,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:37:15] local.INFO: Processing buffer {"connection_id":232283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:37:15] local.INFO: IMEI packet received {"connection_id":232283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":232283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:37:16] local.INFO: TCP Data received {"connection_id":232283,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:37:16] local.INFO: Processing buffer {"connection_id":232283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:37:16] local.INFO: Packet analysis {"connection_id":232283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:37:16] local.INFO: Extracted packet for processing {"connection_id":232283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:16] 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-11-04 05:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 05:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:37:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:37:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":232283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:37:16] local.INFO: GPS data processed {"connection_id":232283,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:37:16] local.INFO: Acknowledgment sent {"connection_id":232283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:37:35] local.INFO: TCP Data received {"connection_id":232284,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:37:35] local.INFO: Processing buffer {"connection_id":232284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:37:35] local.INFO: IMEI packet received {"connection_id":232284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":232284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:37:40] local.INFO: TCP Data received {"connection_id":232284,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:37:40] local.INFO: Processing buffer {"connection_id":232284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:37:40] local.INFO: IMEI packet received {"connection_id":232284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":232284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:37:41] local.INFO: TCP Data received {"connection_id":232284,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:37:41] local.INFO: Processing buffer {"connection_id":232284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:37:41] local.INFO: Packet analysis {"connection_id":232284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:37:41] local.INFO: Extracted packet for processing {"connection_id":232284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:37:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":232284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:37:41] local.INFO: GPS data processed {"connection_id":232284,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:37:41] local.INFO: Acknowledgment sent {"connection_id":232284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:37:47] local.INFO: TCP Data received {"connection_id":232283,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:37:47] local.INFO: Processing buffer {"connection_id":232283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3dd1ee0012d3c94c006a39460004601582a..."} 
[2026-11-04 05:37:47] local.INFO: Packet analysis {"connection_id":232283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:37:47] local.INFO: Extracted packet for processing {"connection_id":232283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3dd"} 
[2026-11-04 05:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200061184001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:37:47] 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-11-04 05:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793750540000,"timestamp_ms":1793750540000,"timestamp_seconds":1793750540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3dd1ee0"} 
[2026-11-04 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-11-04 05:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200061184001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200061184001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:37:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:37:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200061184001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":232283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:37:47] local.INFO: GPS data processed {"connection_id":232283,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:37:47] local.INFO: Acknowledgment sent {"connection_id":232283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:38:09] local.INFO: TCP Data received {"connection_id":228695,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:38:09] local.INFO: Processing buffer {"connection_id":228695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:38:09] local.INFO: IMEI packet received {"connection_id":228695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":228695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:38:12] local.INFO: TCP Data received {"connection_id":232284,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:12] local.INFO: Processing buffer {"connection_id":232284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:12] local.INFO: Packet analysis {"connection_id":232284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:38:12] local.INFO: Extracted packet for processing {"connection_id":232284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:38:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":232284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:38:12] local.INFO: GPS data processed {"connection_id":232284,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:38:12] local.INFO: Acknowledgment sent {"connection_id":232284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:38:15] local.INFO: TCP Data received {"connection_id":228695,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:38:15] local.INFO: Processing buffer {"connection_id":228695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:38:15] local.INFO: IMEI packet received {"connection_id":228695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":228695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:38:16] local.INFO: TCP Data received {"connection_id":228695,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:38:16] local.INFO: Processing buffer {"connection_id":228695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:38:16] local.INFO: Packet analysis {"connection_id":228695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:38:16] local.INFO: Extracted packet for processing {"connection_id":228695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:16] 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-11-04 05:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 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-11-04 05:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:38:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:38:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":228695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:38:16] local.INFO: GPS data processed {"connection_id":228695,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:38:16] local.INFO: Acknowledgment sent {"connection_id":228695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:38:40] local.INFO: TCP Data received {"connection_id":230451,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:38:40] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:38:40] local.INFO: IMEI packet received {"connection_id":230451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":230451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:38:45] local.INFO: TCP Data received {"connection_id":230451,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:38:45] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:38:45] local.INFO: IMEI packet received {"connection_id":230451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":230451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:38:46] local.INFO: TCP Data received {"connection_id":230451,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:46] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:46] local.INFO: Packet analysis {"connection_id":230451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:38:46] local.INFO: Extracted packet for processing {"connection_id":230451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:38:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:38:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:38:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":230451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:38:46] local.INFO: GPS data processed {"connection_id":230451,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:38:46] local.INFO: Acknowledgment sent {"connection_id":230451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:38:48] local.INFO: TCP Data received {"connection_id":228695,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:38:48] local.INFO: Processing buffer {"connection_id":228695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:38:48] local.INFO: Packet analysis {"connection_id":228695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:38:48] local.INFO: Extracted packet for processing {"connection_id":228695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228695,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:38:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:38:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":228695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:38:48] local.INFO: GPS data processed {"connection_id":228695,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:38:48] local.INFO: Acknowledgment sent {"connection_id":228695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:38:50] local.INFO: TCP Data received {"connection_id":230451,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:50] local.INFO: Processing buffer {"connection_id":230451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:38:50] local.INFO: Packet analysis {"connection_id":230451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:38:50] local.INFO: Extracted packet for processing {"connection_id":230451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:38:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:38:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":230451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:38:50] local.INFO: GPS data processed {"connection_id":230451,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:38:50] local.INFO: Acknowledgment sent {"connection_id":230451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:39:09] local.INFO: TCP Data received {"connection_id":229182,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:39:09] local.INFO: Processing buffer {"connection_id":229182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:39:09] local.INFO: IMEI packet received {"connection_id":229182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":229182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:39:15] local.INFO: TCP Data received {"connection_id":229182,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:39:15] local.INFO: Processing buffer {"connection_id":229182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:39:15] local.INFO: IMEI packet received {"connection_id":229182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":229182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:39:16] local.INFO: TCP Data received {"connection_id":229182,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:39:16] local.INFO: Processing buffer {"connection_id":229182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:39:16] local.INFO: Packet analysis {"connection_id":229182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:39:16] local.INFO: Extracted packet for processing {"connection_id":229182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:16] 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-11-04 05:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:39:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:39:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":229182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:39:16] local.INFO: GPS data processed {"connection_id":229182,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:39:16] local.INFO: Acknowledgment sent {"connection_id":229182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:39:35] local.INFO: TCP Data received {"connection_id":232285,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:39:35] local.INFO: Processing buffer {"connection_id":232285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:39:35] local.INFO: IMEI packet received {"connection_id":232285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":232285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:39:40] local.INFO: TCP Data received {"connection_id":232285,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:39:40] local.INFO: Processing buffer {"connection_id":232285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:39:40] local.INFO: IMEI packet received {"connection_id":232285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":232285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:39:41] local.INFO: TCP Data received {"connection_id":232285,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:39:41] local.INFO: Processing buffer {"connection_id":232285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:39:41] local.INFO: Packet analysis {"connection_id":232285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:39:41] local.INFO: Extracted packet for processing {"connection_id":232285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:39:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":232285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:39:41] local.INFO: GPS data processed {"connection_id":232285,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:39:41] local.INFO: Acknowledgment sent {"connection_id":232285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:39:47] local.INFO: TCP Data received {"connection_id":229182,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:39:47] local.INFO: Processing buffer {"connection_id":229182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:39:47] local.INFO: Packet analysis {"connection_id":229182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:39:47] local.INFO: Extracted packet for processing {"connection_id":229182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:39:47] 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-11-04 05:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:39:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:39:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":229182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:39:47] local.INFO: GPS data processed {"connection_id":229182,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:39:47] local.INFO: Acknowledgment sent {"connection_id":229182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:40:12] local.INFO: TCP Data received {"connection_id":232285,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:40:12] local.INFO: Processing buffer {"connection_id":232285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:40:12] local.INFO: Packet analysis {"connection_id":232285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:40:12] local.INFO: Extracted packet for processing {"connection_id":232285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:40:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":232285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:40:12] local.INFO: GPS data processed {"connection_id":232285,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:40:12] local.INFO: Acknowledgment sent {"connection_id":232285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:40:15] local.INFO: TCP Data received {"connection_id":228696,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:40:15] local.INFO: Processing buffer {"connection_id":228696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:40:15] local.INFO: IMEI packet received {"connection_id":228696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":228696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:40:20] local.INFO: TCP Data received {"connection_id":228696,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:40:20] local.INFO: Processing buffer {"connection_id":228696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:40:20] local.INFO: IMEI packet received {"connection_id":228696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":228696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:40:21] local.INFO: TCP Data received {"connection_id":228696,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:40:21] local.INFO: Processing buffer {"connection_id":228696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:40:21] local.INFO: Packet analysis {"connection_id":228696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:40:21] local.INFO: Extracted packet for processing {"connection_id":228696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:21] 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-11-04 05:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:40:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:40:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":228696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:40:21] local.INFO: GPS data processed {"connection_id":228696,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:40:21] local.INFO: Acknowledgment sent {"connection_id":228696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:40:25] local.INFO: TCP Data received {"connection_id":228696,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:40:25] local.INFO: Processing buffer {"connection_id":228696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:40:25] local.INFO: Packet analysis {"connection_id":228696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:40:25] local.INFO: Extracted packet for processing {"connection_id":228696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:40:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:25] 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-11-04 05:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:40:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:40:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":228696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:40:25] local.INFO: GPS data processed {"connection_id":228696,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:40:25] local.INFO: Acknowledgment sent {"connection_id":228696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:40:35] local.INFO: TCP Data received {"connection_id":232286,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:40:35] local.INFO: Processing buffer {"connection_id":232286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:40:35] local.INFO: IMEI packet received {"connection_id":232286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":232286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:40:40] local.INFO: TCP Data received {"connection_id":232286,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:40:40] local.INFO: Processing buffer {"connection_id":232286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:40:40] local.INFO: IMEI packet received {"connection_id":232286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":232286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:40:41] local.INFO: TCP Data received {"connection_id":232286,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:40:41] local.INFO: Processing buffer {"connection_id":232286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:40:41] local.INFO: Packet analysis {"connection_id":232286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:40:41] local.INFO: Extracted packet for processing {"connection_id":232286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:40:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:40:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:40:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":232286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:40:41] local.INFO: GPS data processed {"connection_id":232286,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:40:41] local.INFO: Acknowledgment sent {"connection_id":232286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:41:10] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:41:10] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:41:10] local.INFO: IMEI packet received {"connection_id":229183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":229183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:41:12] local.INFO: TCP Data received {"connection_id":232286,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:41:12] local.INFO: Processing buffer {"connection_id":232286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:41:12] local.INFO: Packet analysis {"connection_id":232286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:41:12] local.INFO: Extracted packet for processing {"connection_id":232286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:41:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:41:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:41:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":232286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:41:12] local.INFO: GPS data processed {"connection_id":232286,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:41:12] local.INFO: Acknowledgment sent {"connection_id":232286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:41:15] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:41:15] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:41:15] local.INFO: IMEI packet received {"connection_id":229183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":229183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:41:16] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:41:16] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:41:16] local.INFO: Packet analysis {"connection_id":229183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:41:16] local.INFO: Extracted packet for processing {"connection_id":229183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:41: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-11-04 05:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:16] 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-11-04 05:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:41: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":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:41: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-11-04 05:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":229183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:41:16] local.INFO: GPS data processed {"connection_id":229183,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:41:16] local.INFO: Acknowledgment sent {"connection_id":229183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:41:35] local.INFO: TCP Data received {"connection_id":230452,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:41:35] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:41:35] local.INFO: IMEI packet received {"connection_id":230452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":230452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:41:40] local.INFO: TCP Data received {"connection_id":230452,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:41:40] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:41:40] local.INFO: IMEI packet received {"connection_id":230452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":230452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:41:41] local.INFO: TCP Data received {"connection_id":230452,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:41:41] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e09d68012ce51bc007234b90000900802c..."} 
[2026-11-04 05:41:41] local.INFO: Packet analysis {"connection_id":230452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:41:41] local.INFO: Extracted packet for processing {"connection_id":230452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e0"} 
[2026-11-04 05:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200119808001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793750769000,"timestamp_ms":1793750769000,"timestamp_seconds":1793750769,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e09d68"} 
[2026-11-04 05:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 05:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200119808001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200119808001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200119808001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":230452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:41:41] local.INFO: GPS data processed {"connection_id":230452,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:41:41] local.INFO: Acknowledgment sent {"connection_id":230452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:41:47] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:41:47] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:41:47] local.INFO: Packet analysis {"connection_id":229183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:41:47] local.INFO: Extracted packet for processing {"connection_id":229183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:41:47] 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-11-04 05:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:41:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:41:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":229183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:41:47] local.INFO: GPS data processed {"connection_id":229183,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:41:47] local.INFO: Acknowledgment sent {"connection_id":229183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:42:09] local.INFO: TCP Data received {"connection_id":229184,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:42:09] local.INFO: Processing buffer {"connection_id":229184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:42:09] local.INFO: IMEI packet received {"connection_id":229184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":229184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:42:12] local.INFO: TCP Data received {"connection_id":230452,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:12] local.INFO: Processing buffer {"connection_id":230452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:12] local.INFO: Packet analysis {"connection_id":230452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:42:12] local.INFO: Extracted packet for processing {"connection_id":230452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:42:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":230452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:42:12] local.INFO: GPS data processed {"connection_id":230452,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:42:12] local.INFO: Acknowledgment sent {"connection_id":230452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:42:15] local.INFO: TCP Data received {"connection_id":229184,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:42:15] local.INFO: Processing buffer {"connection_id":229184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:42:15] local.INFO: IMEI packet received {"connection_id":229184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":229184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:42:16] local.INFO: TCP Data received {"connection_id":229184,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:42:16] local.INFO: Processing buffer {"connection_id":229184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:42:16] local.INFO: Packet analysis {"connection_id":229184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:42:16] local.INFO: Extracted packet for processing {"connection_id":229184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:16] 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-11-04 05:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:42:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:42:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":229184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:42:16] local.INFO: GPS data processed {"connection_id":229184,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:42:16] local.INFO: Acknowledgment sent {"connection_id":229184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:42:40] local.INFO: TCP Data received {"connection_id":228697,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:42:40] local.INFO: Processing buffer {"connection_id":228697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:42:40] local.INFO: IMEI packet received {"connection_id":228697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":228697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:42:45] local.INFO: TCP Data received {"connection_id":228697,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:42:45] local.INFO: Processing buffer {"connection_id":228697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:42:45] local.INFO: IMEI packet received {"connection_id":228697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":228697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:42:45] local.INFO: TCP Data received {"connection_id":228697,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:45] local.INFO: Processing buffer {"connection_id":228697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:45] local.INFO: Packet analysis {"connection_id":228697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:42:45] local.INFO: Extracted packet for processing {"connection_id":228697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:42:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:42:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:42:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:42:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":228697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:42:45] local.INFO: GPS data processed {"connection_id":228697,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:42:45] local.INFO: Acknowledgment sent {"connection_id":228697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:42:48] local.INFO: TCP Data received {"connection_id":229184,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:42:48] local.INFO: Processing buffer {"connection_id":229184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e1b6a8012d3c94c006a39460004601582a..."} 
[2026-11-04 05:42:48] local.INFO: Packet analysis {"connection_id":229184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:42:48] local.INFO: Extracted packet for processing {"connection_id":229184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e1"} 
[2026-11-04 05:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200138240001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793750841000,"timestamp_ms":1793750841000,"timestamp_seconds":1793750841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e1b6a8"} 
[2026-11-04 05:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200138240001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200138240001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:42:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:42:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200138240001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":229184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57508,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:42:48] local.INFO: GPS data processed {"connection_id":229184,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:42:48] local.INFO: Acknowledgment sent {"connection_id":229184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:42:50] local.INFO: TCP Data received {"connection_id":228697,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:50] local.INFO: Processing buffer {"connection_id":228697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:42:50] local.INFO: Packet analysis {"connection_id":228697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:42:50] local.INFO: Extracted packet for processing {"connection_id":228697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:42:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:42:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":228697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:42:50] local.INFO: GPS data processed {"connection_id":228697,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:42:50] local.INFO: Acknowledgment sent {"connection_id":228697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:43:09] local.INFO: TCP Data received {"connection_id":232287,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:43:09] local.INFO: Processing buffer {"connection_id":232287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:43:09] local.INFO: IMEI packet received {"connection_id":232287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":232287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:43:15] local.INFO: TCP Data received {"connection_id":232287,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:43:15] local.INFO: Processing buffer {"connection_id":232287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:43:15] local.INFO: IMEI packet received {"connection_id":232287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":232287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:43:16] local.INFO: TCP Data received {"connection_id":232287,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:43:16] local.INFO: Processing buffer {"connection_id":232287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:43:16] local.INFO: Packet analysis {"connection_id":232287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:43:16] local.INFO: Extracted packet for processing {"connection_id":232287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:43:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:16] 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-11-04 05:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:43:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:43:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:43:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":232287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:43:16] local.INFO: GPS data processed {"connection_id":232287,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:43:16] local.INFO: Acknowledgment sent {"connection_id":232287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:43:35] local.INFO: TCP Data received {"connection_id":229185,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:43:35] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:43:35] local.INFO: IMEI packet received {"connection_id":229185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":229185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:43:40] local.INFO: TCP Data received {"connection_id":229185,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:43:40] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:43:40] local.INFO: IMEI packet received {"connection_id":229185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":229185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:43:41] local.INFO: TCP Data received {"connection_id":229185,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:43:41] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:43:41] local.INFO: Packet analysis {"connection_id":229185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:43:41] local.INFO: Extracted packet for processing {"connection_id":229185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":229185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:43:41] local.INFO: GPS data processed {"connection_id":229185,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:43:41] local.INFO: Acknowledgment sent {"connection_id":229185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:43:48] local.INFO: TCP Data received {"connection_id":232287,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:43:48] local.INFO: Processing buffer {"connection_id":232287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:43:48] local.INFO: Packet analysis {"connection_id":232287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:43:48] local.INFO: Extracted packet for processing {"connection_id":232287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:43:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:43:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":232287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:43:48] local.INFO: GPS data processed {"connection_id":232287,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:43:48] local.INFO: Acknowledgment sent {"connection_id":232287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:44:09] local.INFO: TCP Data received {"connection_id":229186,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:44:09] local.INFO: Processing buffer {"connection_id":229186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:44:09] local.INFO: IMEI packet received {"connection_id":229186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":229186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:44:12] local.INFO: TCP Data received {"connection_id":229185,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:44:12] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:44:12] local.INFO: Packet analysis {"connection_id":229185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:44:12] local.INFO: Extracted packet for processing {"connection_id":229185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:44:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":229185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:44:12] local.INFO: GPS data processed {"connection_id":229185,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:44:12] local.INFO: Acknowledgment sent {"connection_id":229185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:44:15] local.INFO: TCP Data received {"connection_id":229186,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:44:15] local.INFO: Processing buffer {"connection_id":229186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:44:15] local.INFO: IMEI packet received {"connection_id":229186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":229186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:44:16] local.INFO: TCP Data received {"connection_id":229186,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:44:16] local.INFO: Processing buffer {"connection_id":229186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:44:16] local.INFO: Packet analysis {"connection_id":229186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:44:16] local.INFO: Extracted packet for processing {"connection_id":229186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:16] 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-11-04 05:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:44:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:44:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":229186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:44:16] local.INFO: GPS data processed {"connection_id":229186,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:44:16] local.INFO: Acknowledgment sent {"connection_id":229186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:44:35] local.INFO: TCP Data received {"connection_id":232288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:44:35] local.INFO: Processing buffer {"connection_id":232288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:44:35] local.INFO: IMEI packet received {"connection_id":232288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":232288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:44:40] local.INFO: TCP Data received {"connection_id":232288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:44:40] local.INFO: Processing buffer {"connection_id":232288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:44:40] local.INFO: IMEI packet received {"connection_id":232288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":232288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:44:43] local.INFO: TCP Data received {"connection_id":232288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:44:43] local.INFO: Processing buffer {"connection_id":232288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:44:43] local.INFO: Packet analysis {"connection_id":232288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:44:43] local.INFO: Extracted packet for processing {"connection_id":232288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:44:43] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:44:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:44:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":232288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:44:43] local.INFO: GPS data processed {"connection_id":232288,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:44:43] local.INFO: Acknowledgment sent {"connection_id":232288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:44:48] local.INFO: TCP Data received {"connection_id":229186,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:44:48] local.INFO: Processing buffer {"connection_id":229186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:44:48] local.INFO: Packet analysis {"connection_id":229186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:44:48] local.INFO: Extracted packet for processing {"connection_id":229186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:44:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:44:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":229186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:44:48] local.INFO: GPS data processed {"connection_id":229186,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:44:48] local.INFO: Acknowledgment sent {"connection_id":229186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:45:14] local.INFO: TCP Data received {"connection_id":228698,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:45:14] local.INFO: Processing buffer {"connection_id":228698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:45:14] local.INFO: IMEI packet received {"connection_id":228698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":228698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:45:17] local.INFO: TCP Data received {"connection_id":232288,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:45:17] local.INFO: Processing buffer {"connection_id":232288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:45:17] local.INFO: Packet analysis {"connection_id":232288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:45:17] local.INFO: Extracted packet for processing {"connection_id":232288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:45:17] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:45:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":232288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:45:17] local.INFO: GPS data processed {"connection_id":232288,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:45:17] local.INFO: Acknowledgment sent {"connection_id":232288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:45:19] local.INFO: TCP Data received {"connection_id":228698,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:45:19] local.INFO: Processing buffer {"connection_id":228698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:45:19] local.INFO: IMEI packet received {"connection_id":228698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":228698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:45:21] local.INFO: TCP Data received {"connection_id":228698,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:45:21] local.INFO: Processing buffer {"connection_id":228698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:45:21] local.INFO: Packet analysis {"connection_id":228698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:45:21] local.INFO: Extracted packet for processing {"connection_id":228698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:21] 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-11-04 05:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:45:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:45:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":228698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:45:21] local.INFO: GPS data processed {"connection_id":228698,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:45:21] local.INFO: Acknowledgment sent {"connection_id":228698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:45:35] local.INFO: TCP Data received {"connection_id":229187,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:45:35] local.INFO: Processing buffer {"connection_id":229187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:45:35] local.INFO: IMEI packet received {"connection_id":229187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":229187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:45:40] local.INFO: TCP Data received {"connection_id":229187,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:45:40] local.INFO: Processing buffer {"connection_id":229187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:45:40] local.INFO: IMEI packet received {"connection_id":229187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":229187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:45:41] local.INFO: TCP Data received {"connection_id":229187,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:45:41] local.INFO: Processing buffer {"connection_id":229187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:45:41] local.INFO: Packet analysis {"connection_id":229187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:45:41] local.INFO: Extracted packet for processing {"connection_id":229187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":229187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:45:41] local.INFO: GPS data processed {"connection_id":229187,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:45:41] local.INFO: Acknowledgment sent {"connection_id":229187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:45:52] local.INFO: TCP Data received {"connection_id":228698,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:45:52] local.INFO: Processing buffer {"connection_id":228698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:45:52] local.INFO: Packet analysis {"connection_id":228698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:45:52] local.INFO: Extracted packet for processing {"connection_id":228698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:45:52] 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-11-04 05:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:45:52] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:45:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":228698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:45:52] local.INFO: GPS data processed {"connection_id":228698,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:45:52] local.INFO: Acknowledgment sent {"connection_id":228698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:46:10] local.INFO: TCP Data received {"connection_id":232289,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:46:10] local.INFO: Processing buffer {"connection_id":232289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:46:10] local.INFO: IMEI packet received {"connection_id":232289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":232289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:46:12] local.INFO: TCP Data received {"connection_id":229187,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:46:12] local.INFO: Processing buffer {"connection_id":229187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:46:12] local.INFO: Packet analysis {"connection_id":229187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:46:12] local.INFO: Extracted packet for processing {"connection_id":229187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 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-11-04 05:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":229187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:46:12] local.INFO: GPS data processed {"connection_id":229187,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:46:12] local.INFO: Acknowledgment sent {"connection_id":229187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:46:15] local.INFO: TCP Data received {"connection_id":232289,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:46:15] local.INFO: Processing buffer {"connection_id":232289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:46:15] local.INFO: IMEI packet received {"connection_id":232289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":232289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:46:16] local.INFO: TCP Data received {"connection_id":232289,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:46:16] local.INFO: Processing buffer {"connection_id":232289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:46:16] local.INFO: Packet analysis {"connection_id":232289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:46:16] local.INFO: Extracted packet for processing {"connection_id":232289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:16] 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-11-04 05:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":232289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:46:17] local.INFO: GPS data processed {"connection_id":232289,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:46:17] local.INFO: Acknowledgment sent {"connection_id":232289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:46:35] local.INFO: TCP Data received {"connection_id":230453,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:46:35] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:46:35] local.INFO: IMEI packet received {"connection_id":230453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":230453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:46:40] local.INFO: TCP Data received {"connection_id":230453,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:46:40] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:46:40] local.INFO: IMEI packet received {"connection_id":230453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":230453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:46:41] local.INFO: TCP Data received {"connection_id":230453,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:46:41] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e53530012ce51bc007234b90000900802c..."} 
[2026-11-04 05:46:41] local.INFO: Packet analysis {"connection_id":230453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:46:41] local.INFO: Extracted packet for processing {"connection_id":230453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e5"} 
[2026-11-04 05:46:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200196864001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751070000,"timestamp_ms":1793751070000,"timestamp_seconds":1793751070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e53530"} 
[2026-11-04 05:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 05:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200196864001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200196864001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:46:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:46:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200196864001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":230453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:46:41] local.INFO: GPS data processed {"connection_id":230453,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:46:41] local.INFO: Acknowledgment sent {"connection_id":230453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:46:48] local.INFO: TCP Data received {"connection_id":232289,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:46:48] local.INFO: Processing buffer {"connection_id":232289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:46:48] local.INFO: Packet analysis {"connection_id":232289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:46:48] local.INFO: Extracted packet for processing {"connection_id":232289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:46:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:46:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":232289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:46:48] local.INFO: GPS data processed {"connection_id":232289,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:46:48] local.INFO: Acknowledgment sent {"connection_id":232289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:47:11] local.INFO: TCP Data received {"connection_id":230453,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:47:11] local.INFO: Processing buffer {"connection_id":230453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:47:11] local.INFO: Packet analysis {"connection_id":230453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:47:11] local.INFO: Extracted packet for processing {"connection_id":230453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:47:11] 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-11-04 05: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-11-04 05:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:47:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:47:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":230453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:47:12] local.INFO: GPS data processed {"connection_id":230453,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:47:12] local.INFO: Acknowledgment sent {"connection_id":230453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:47:15] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:47:15] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:47:15] local.INFO: IMEI packet received {"connection_id":230454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":230454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:47:20] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:47:20] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:47:20] local.INFO: IMEI packet received {"connection_id":230454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":230454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:47:21] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:47:21] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:47:21] local.INFO: Packet analysis {"connection_id":230454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:47:21] local.INFO: Extracted packet for processing {"connection_id":230454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:21] 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-11-04 05:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:47:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:47:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":230454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:47:21] local.INFO: GPS data processed {"connection_id":230454,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:47:21] local.INFO: Acknowledgment sent {"connection_id":230454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:47:26] local.INFO: TCP Data received {"connection_id":230454,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:47:26] local.INFO: Processing buffer {"connection_id":230454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e64e70012d3c94c006a39460004601582a..."} 
[2026-11-04 05:47:26] local.INFO: Packet analysis {"connection_id":230454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:47:26] local.INFO: Extracted packet for processing {"connection_id":230454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e6"} 
[2026-11-04 05:47:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200215296001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:26] 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-11-04 05:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793751142000,"timestamp_ms":1793751142000,"timestamp_seconds":1793751142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e64e70"} 
[2026-11-04 05:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 05:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200215296001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200215296001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:47:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:47:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200215296001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":230454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:47:26] local.INFO: GPS data processed {"connection_id":230454,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:47:26] local.INFO: Acknowledgment sent {"connection_id":230454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:47:35] local.INFO: TCP Data received {"connection_id":232290,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:47:35] local.INFO: Processing buffer {"connection_id":232290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:47:35] local.INFO: IMEI packet received {"connection_id":232290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":232290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:47:40] local.INFO: TCP Data received {"connection_id":232290,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:47:40] local.INFO: Processing buffer {"connection_id":232290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:47:40] local.INFO: IMEI packet received {"connection_id":232290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":232290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:47:41] local.INFO: TCP Data received {"connection_id":232290,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:47:41] local.INFO: Processing buffer {"connection_id":232290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:47:41] local.INFO: Packet analysis {"connection_id":232290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:47:41] local.INFO: Extracted packet for processing {"connection_id":232290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:47:41] 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-11-04 05:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":232290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:47:41] local.INFO: GPS data processed {"connection_id":232290,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:47:41] local.INFO: Acknowledgment sent {"connection_id":232290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:48:10] local.INFO: TCP Data received {"connection_id":232291,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:48:10] local.INFO: Processing buffer {"connection_id":232291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:48:10] local.INFO: IMEI packet received {"connection_id":232291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":232291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:48:12] local.INFO: TCP Data received {"connection_id":232290,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:48:12] local.INFO: Processing buffer {"connection_id":232290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:48:12] local.INFO: Packet analysis {"connection_id":232290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:48:12] local.INFO: Extracted packet for processing {"connection_id":232290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:48:12] 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-11-04 05:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":232290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:48:12] local.INFO: GPS data processed {"connection_id":232290,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:48:12] local.INFO: Acknowledgment sent {"connection_id":232290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:48:15] local.INFO: TCP Data received {"connection_id":232291,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232291,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:48:15] local.INFO: Processing buffer {"connection_id":232291,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:48:15] local.INFO: IMEI packet received {"connection_id":232291,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":232291,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:48:16] local.INFO: TCP Data received {"connection_id":232291,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:48:16] local.INFO: Processing buffer {"connection_id":232291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:48:16] local.INFO: Packet analysis {"connection_id":232291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:48:16] local.INFO: Extracted packet for processing {"connection_id":232291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:16] 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-11-04 05:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:48:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:48:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":232291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:48:16] local.INFO: GPS data processed {"connection_id":232291,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:48:16] local.INFO: Acknowledgment sent {"connection_id":232291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:48:35] local.INFO: TCP Data received {"connection_id":228699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:48:35] local.INFO: Processing buffer {"connection_id":228699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:48:35] local.INFO: IMEI packet received {"connection_id":228699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":228699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:48:40] local.INFO: TCP Data received {"connection_id":228699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:48:40] local.INFO: Processing buffer {"connection_id":228699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:48:40] local.INFO: IMEI packet received {"connection_id":228699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":228699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:48:40] local.INFO: TCP Data received {"connection_id":228699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:48:40] local.INFO: Processing buffer {"connection_id":228699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:48:40] local.INFO: Packet analysis {"connection_id":228699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:48:40] local.INFO: Extracted packet for processing {"connection_id":228699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:48:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:48:40] 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-11-04 05:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:48:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":228699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:48:40] local.INFO: GPS data processed {"connection_id":228699,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:48:40] local.INFO: Acknowledgment sent {"connection_id":228699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:48:48] local.INFO: TCP Data received {"connection_id":232291,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:48:48] local.INFO: Processing buffer {"connection_id":232291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:48:48] local.INFO: Packet analysis {"connection_id":232291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:48:48] local.INFO: Extracted packet for processing {"connection_id":232291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232291,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:48:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:48:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":232291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:48:48] local.INFO: GPS data processed {"connection_id":232291,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:48:48] local.INFO: Acknowledgment sent {"connection_id":232291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:49:09] local.INFO: TCP Data received {"connection_id":232292,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:49:09] local.INFO: Processing buffer {"connection_id":232292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:49:09] local.INFO: IMEI packet received {"connection_id":232292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":232292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:49:11] local.INFO: TCP Data received {"connection_id":228699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:49:11] local.INFO: Processing buffer {"connection_id":228699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:49:11] local.INFO: Packet analysis {"connection_id":228699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:49:11] local.INFO: Extracted packet for processing {"connection_id":228699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:49:11] 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-11-04 05: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-11-04 05:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:49:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:49:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":228699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:49:11] local.INFO: GPS data processed {"connection_id":228699,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:49:11] local.INFO: Acknowledgment sent {"connection_id":228699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:49:15] local.INFO: TCP Data received {"connection_id":232292,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:49:15] local.INFO: Processing buffer {"connection_id":232292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:49:15] local.INFO: IMEI packet received {"connection_id":232292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":232292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:49:16] local.INFO: TCP Data received {"connection_id":232292,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:49:16] local.INFO: Processing buffer {"connection_id":232292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:49:16] local.INFO: Packet analysis {"connection_id":232292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:49:16] local.INFO: Extracted packet for processing {"connection_id":232292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:49:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:16] 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-11-04 05:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:49:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:49:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":232292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:49:16] local.INFO: GPS data processed {"connection_id":232292,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:49:16] local.INFO: Acknowledgment sent {"connection_id":232292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:49:35] local.INFO: TCP Data received {"connection_id":232293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:49:35] local.INFO: Processing buffer {"connection_id":232293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:49:35] local.INFO: IMEI packet received {"connection_id":232293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":232293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:49:40] local.INFO: TCP Data received {"connection_id":232293,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:49:40] local.INFO: Processing buffer {"connection_id":232293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:49:40] local.INFO: IMEI packet received {"connection_id":232293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":232293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:49:40] local.INFO: TCP Data received {"connection_id":232293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:49:40] local.INFO: Processing buffer {"connection_id":232293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:49:40] local.INFO: Packet analysis {"connection_id":232293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:49:40] local.INFO: Extracted packet for processing {"connection_id":232293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:49:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:49:40] 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-11-04 05:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:49:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:49:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":232293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:49:40] local.INFO: GPS data processed {"connection_id":232293,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:49:40] local.INFO: Acknowledgment sent {"connection_id":232293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:49:47] local.INFO: TCP Data received {"connection_id":232292,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:49:47] local.INFO: Processing buffer {"connection_id":232292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:49:47] local.INFO: Packet analysis {"connection_id":232292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:49:47] local.INFO: Extracted packet for processing {"connection_id":232292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:49:47] 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-11-04 05:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:49:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:49:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":232292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:49:47] local.INFO: GPS data processed {"connection_id":232292,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:49:47] local.INFO: Acknowledgment sent {"connection_id":232292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:50:09] local.INFO: TCP Data received {"connection_id":228700,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:50:09] local.INFO: Processing buffer {"connection_id":228700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:50:09] local.INFO: IMEI packet received {"connection_id":228700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":228700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:50:11] local.INFO: TCP Data received {"connection_id":232293,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:50:11] local.INFO: Processing buffer {"connection_id":232293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:50:11] local.INFO: Packet analysis {"connection_id":232293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:50:11] local.INFO: Extracted packet for processing {"connection_id":232293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:50:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:50:11] 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-11-04 05: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-11-04 05:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:50:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:50:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:50:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":232293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:50:11] local.INFO: GPS data processed {"connection_id":232293,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:50:11] local.INFO: Acknowledgment sent {"connection_id":232293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:50:15] local.INFO: TCP Data received {"connection_id":228700,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:50:15] local.INFO: Processing buffer {"connection_id":228700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:50:15] local.INFO: IMEI packet received {"connection_id":228700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":228700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:50:16] local.INFO: TCP Data received {"connection_id":228700,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:50:16] local.INFO: Processing buffer {"connection_id":228700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:50:16] local.INFO: Packet analysis {"connection_id":228700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:50:16] local.INFO: Extracted packet for processing {"connection_id":228700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:50: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-11-04 05:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:16] 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-11-04 05:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:50: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":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:50: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-11-04 05:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:50:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:50:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":228700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:50:16] local.INFO: GPS data processed {"connection_id":228700,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:50:16] local.INFO: Acknowledgment sent {"connection_id":228700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:50:35] local.INFO: TCP Data received {"connection_id":228701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:50:35] local.INFO: Processing buffer {"connection_id":228701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:50:35] local.INFO: IMEI packet received {"connection_id":228701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":228701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:50:40] local.INFO: TCP Data received {"connection_id":228701,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:50:40] local.INFO: Processing buffer {"connection_id":228701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:50:40] local.INFO: IMEI packet received {"connection_id":228701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":228701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:50:41] local.INFO: TCP Data received {"connection_id":228701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:50:41] local.INFO: Processing buffer {"connection_id":228701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:50:41] local.INFO: Packet analysis {"connection_id":228701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:50:41] local.INFO: Extracted packet for processing {"connection_id":228701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:50:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:50:41] 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-11-04 05:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:50:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:50:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":228701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:50:41] local.INFO: GPS data processed {"connection_id":228701,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:50:41] local.INFO: Acknowledgment sent {"connection_id":228701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:50:47] local.INFO: TCP Data received {"connection_id":228700,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:50:47] local.INFO: Processing buffer {"connection_id":228700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:50:47] local.INFO: Packet analysis {"connection_id":228700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:50:47] local.INFO: Extracted packet for processing {"connection_id":228700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:50:47] 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-11-04 05:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:50:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:50:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:50:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":228700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:50:48] local.INFO: GPS data processed {"connection_id":228700,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:50:48] local.INFO: Acknowledgment sent {"connection_id":228700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:51:12] local.INFO: TCP Data received {"connection_id":228701,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:51:12] local.INFO: Processing buffer {"connection_id":228701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:51:12] local.INFO: Packet analysis {"connection_id":228701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:51:12] local.INFO: Extracted packet for processing {"connection_id":228701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 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-11-04 05:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:51:12] 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-11-04 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-11-04 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-11-04 05:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:51:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:51:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:51:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":228701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:51:12] local.INFO: GPS data processed {"connection_id":228701,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:51:12] local.INFO: Acknowledgment sent {"connection_id":228701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:51:15] local.INFO: TCP Data received {"connection_id":230455,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:51:15] local.INFO: Processing buffer {"connection_id":230455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:51:15] local.INFO: IMEI packet received {"connection_id":230455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":230455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:51:20] local.INFO: TCP Data received {"connection_id":230455,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:51:20] local.INFO: Processing buffer {"connection_id":230455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:51:20] local.INFO: IMEI packet received {"connection_id":230455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":230455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:51:21] local.INFO: TCP Data received {"connection_id":230455,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:51:21] local.INFO: Processing buffer {"connection_id":230455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:51:21] local.INFO: Packet analysis {"connection_id":230455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:51:21] local.INFO: Extracted packet for processing {"connection_id":230455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:21] 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-11-04 05:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:51:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:51:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":230455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:51:21] local.INFO: GPS data processed {"connection_id":230455,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:51:21] local.INFO: Acknowledgment sent {"connection_id":230455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:51:25] local.INFO: TCP Data received {"connection_id":230455,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:51:25] local.INFO: Processing buffer {"connection_id":230455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:51:25] local.INFO: Packet analysis {"connection_id":230455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:51:25] local.INFO: Extracted packet for processing {"connection_id":230455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:25] 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-11-04 05:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:51:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:51:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":230455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:51:25] local.INFO: GPS data processed {"connection_id":230455,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:51:25] local.INFO: Acknowledgment sent {"connection_id":230455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:51:35] local.INFO: TCP Data received {"connection_id":228702,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:51:35] local.INFO: Processing buffer {"connection_id":228702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:51:35] local.INFO: IMEI packet received {"connection_id":228702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":228702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:51:40] local.INFO: TCP Data received {"connection_id":228702,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:51:40] local.INFO: Processing buffer {"connection_id":228702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:51:40] local.INFO: IMEI packet received {"connection_id":228702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":228702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:51:41] local.INFO: TCP Data received {"connection_id":228702,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:51:41] local.INFO: Processing buffer {"connection_id":228702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3e9ccf8012ce51bc007234b90000900802d..."} 
[2026-11-04 05:51:41] local.INFO: Packet analysis {"connection_id":228702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:51:41] local.INFO: Extracted packet for processing {"connection_id":228702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3e9"} 
[2026-11-04 05:51:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200273920001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751371000,"timestamp_ms":1793751371000,"timestamp_seconds":1793751371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3e9ccf8"} 
[2026-11-04 05:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:51:41] 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-11-04 05:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200273920001,"66":24734,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200273920001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:51:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200273920001,"power":24734,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":228702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:51:41] local.INFO: GPS data processed {"connection_id":228702,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:51:41] local.INFO: Acknowledgment sent {"connection_id":228702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:52:10] local.INFO: TCP Data received {"connection_id":228703,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:52:10] local.INFO: Processing buffer {"connection_id":228703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:52:10] local.INFO: IMEI packet received {"connection_id":228703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":228703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:52:11] local.INFO: TCP Data received {"connection_id":228702,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:52:11] local.INFO: Processing buffer {"connection_id":228702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:52:11] local.INFO: Packet analysis {"connection_id":228702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:52:11] local.INFO: Extracted packet for processing {"connection_id":228702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:52:11] 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-11-04 05:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:52:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":228702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:52:11] local.INFO: GPS data processed {"connection_id":228702,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:52:11] local.INFO: Acknowledgment sent {"connection_id":228702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:52:15] local.INFO: TCP Data received {"connection_id":228703,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:52:15] local.INFO: Processing buffer {"connection_id":228703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:52:15] local.INFO: IMEI packet received {"connection_id":228703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":228703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:52:16] local.INFO: TCP Data received {"connection_id":228703,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:52:16] local.INFO: Processing buffer {"connection_id":228703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:52:16] local.INFO: Packet analysis {"connection_id":228703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:52:16] local.INFO: Extracted packet for processing {"connection_id":228703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:16] 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-11-04 05:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:52:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:52:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":228703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:52:16] local.INFO: GPS data processed {"connection_id":228703,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:52:16] local.INFO: Acknowledgment sent {"connection_id":228703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:52:35] local.INFO: TCP Data received {"connection_id":229188,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:52:35] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:52:35] local.INFO: IMEI packet received {"connection_id":229188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":229188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:52:40] local.INFO: TCP Data received {"connection_id":229188,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:52:40] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:52:40] local.INFO: IMEI packet received {"connection_id":229188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":229188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:52:41] local.INFO: TCP Data received {"connection_id":229188,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:52:41] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:52:41] local.INFO: Packet analysis {"connection_id":229188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:52:41] local.INFO: Extracted packet for processing {"connection_id":229188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:52:41] 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-11-04 05:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":229188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:52:41] local.INFO: GPS data processed {"connection_id":229188,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:52:41] local.INFO: Acknowledgment sent {"connection_id":229188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:52:48] local.INFO: TCP Data received {"connection_id":228703,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:52:48] local.INFO: Processing buffer {"connection_id":228703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3eae638012d3c94c006a39460004601582a..."} 
[2026-11-04 05:52:48] local.INFO: Packet analysis {"connection_id":228703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:52:48] local.INFO: Extracted packet for processing {"connection_id":228703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ea"} 
[2026-11-04 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200292352001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751443000,"timestamp_ms":1793751443000,"timestamp_seconds":1793751443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3eae638"} 
[2026-11-04 05:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200292352001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200292352001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:52:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:52:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200292352001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":228703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:52:48] local.INFO: GPS data processed {"connection_id":228703,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:52:48] local.INFO: Acknowledgment sent {"connection_id":228703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:53:09] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:53:09] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:53:09] local.INFO: IMEI packet received {"connection_id":230456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":230456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:53:12] local.INFO: TCP Data received {"connection_id":229188,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:53:12] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:53:12] local.INFO: Packet analysis {"connection_id":229188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:53:12] local.INFO: Extracted packet for processing {"connection_id":229188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:53:12] 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-11-04 05:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":229188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:53:12] local.INFO: GPS data processed {"connection_id":229188,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:53:12] local.INFO: Acknowledgment sent {"connection_id":229188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:53:15] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:53:15] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:53:15] local.INFO: IMEI packet received {"connection_id":230456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":230456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:53:16] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:53:16] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:53:16] local.INFO: Packet analysis {"connection_id":230456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:53:16] local.INFO: Extracted packet for processing {"connection_id":230456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:16] 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-11-04 05:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:53:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:53:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":230456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:53:16] local.INFO: GPS data processed {"connection_id":230456,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:53:16] local.INFO: Acknowledgment sent {"connection_id":230456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:53:35] local.INFO: TCP Data received {"connection_id":228704,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:53:35] local.INFO: Processing buffer {"connection_id":228704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:53:35] local.INFO: IMEI packet received {"connection_id":228704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":228704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:53:40] local.INFO: TCP Data received {"connection_id":228704,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:53:40] local.INFO: Processing buffer {"connection_id":228704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:53:40] local.INFO: IMEI packet received {"connection_id":228704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":228704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:53:41] local.INFO: TCP Data received {"connection_id":228704,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:53:41] local.INFO: Processing buffer {"connection_id":228704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:53:41] local.INFO: Packet analysis {"connection_id":228704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:53:41] local.INFO: Extracted packet for processing {"connection_id":228704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:53:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:53:41] 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-11-04 05:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:53:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:53:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":228704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:53:41] local.INFO: GPS data processed {"connection_id":228704,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:53:41] local.INFO: Acknowledgment sent {"connection_id":228704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:53:48] local.INFO: TCP Data received {"connection_id":230456,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:53:48] local.INFO: Processing buffer {"connection_id":230456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:53:48] local.INFO: Packet analysis {"connection_id":230456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:53:48] local.INFO: Extracted packet for processing {"connection_id":230456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:53:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:53:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:53:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":230456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:53:48] local.INFO: GPS data processed {"connection_id":230456,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:53:48] local.INFO: Acknowledgment sent {"connection_id":230456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:54:12] local.INFO: TCP Data received {"connection_id":228704,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:54:12] local.INFO: Processing buffer {"connection_id":228704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:54:12] local.INFO: Packet analysis {"connection_id":228704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:54:12] local.INFO: Extracted packet for processing {"connection_id":228704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 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-11-04 05:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:54:12] 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-11-04 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-11-04 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-11-04 05:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:54:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:54:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":228704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:54:12] local.INFO: GPS data processed {"connection_id":228704,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:54:12] local.INFO: Acknowledgment sent {"connection_id":228704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:54:15] local.INFO: TCP Data received {"connection_id":228705,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:54:15] local.INFO: Processing buffer {"connection_id":228705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:54:15] local.INFO: IMEI packet received {"connection_id":228705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":228705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:54:20] local.INFO: TCP Data received {"connection_id":228705,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:54:20] local.INFO: Processing buffer {"connection_id":228705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:54:20] local.INFO: IMEI packet received {"connection_id":228705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":228705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:54:21] local.INFO: TCP Data received {"connection_id":228705,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:54:21] local.INFO: Processing buffer {"connection_id":228705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:54:21] local.INFO: Packet analysis {"connection_id":228705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:54:21] local.INFO: Extracted packet for processing {"connection_id":228705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:21] 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-11-04 05:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:54:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:54:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":228705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:54:21] local.INFO: GPS data processed {"connection_id":228705,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:54:21] local.INFO: Acknowledgment sent {"connection_id":228705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:54:26] local.INFO: TCP Data received {"connection_id":228705,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:54:26] local.INFO: Processing buffer {"connection_id":228705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:54:26] local.INFO: Packet analysis {"connection_id":228705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:54:26] local.INFO: Extracted packet for processing {"connection_id":228705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:54:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:26] 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-11-04 05:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:54:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:54:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":228705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:54:26] local.INFO: GPS data processed {"connection_id":228705,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:54:26] local.INFO: Acknowledgment sent {"connection_id":228705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:54:35] local.INFO: TCP Data received {"connection_id":229189,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:54:35] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:54:35] local.INFO: IMEI packet received {"connection_id":229189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":229189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:54:40] local.INFO: TCP Data received {"connection_id":229189,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:54:40] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:54:40] local.INFO: IMEI packet received {"connection_id":229189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":229189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:54:41] local.INFO: TCP Data received {"connection_id":229189,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:54:41] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:54:41] local.INFO: Packet analysis {"connection_id":229189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:54:41] local.INFO: Extracted packet for processing {"connection_id":229189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:54:41] 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-11-04 05:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":229189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:54:41] local.INFO: GPS data processed {"connection_id":229189,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:54:41] local.INFO: Acknowledgment sent {"connection_id":229189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:55:10] local.INFO: TCP Data received {"connection_id":228706,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:55:10] local.INFO: Processing buffer {"connection_id":228706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:55:10] local.INFO: IMEI packet received {"connection_id":228706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":228706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:55:12] local.INFO: TCP Data received {"connection_id":229189,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:55:12] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:55:12] local.INFO: Packet analysis {"connection_id":229189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:55:12] local.INFO: Extracted packet for processing {"connection_id":229189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:55:12] 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-11-04 05: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-11-04 05:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:55:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":229189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:55:12] local.INFO: GPS data processed {"connection_id":229189,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:55:12] local.INFO: Acknowledgment sent {"connection_id":229189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:55:15] local.INFO: TCP Data received {"connection_id":228706,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:55:15] local.INFO: Processing buffer {"connection_id":228706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:55:15] local.INFO: IMEI packet received {"connection_id":228706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":228706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:55:16] local.INFO: TCP Data received {"connection_id":228706,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:55:16] local.INFO: Processing buffer {"connection_id":228706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:55:16] local.INFO: Packet analysis {"connection_id":228706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:55:16] local.INFO: Extracted packet for processing {"connection_id":228706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:16] 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-11-04 05:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:55:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:55:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":228706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:55:16] local.INFO: GPS data processed {"connection_id":228706,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:55:16] local.INFO: Acknowledgment sent {"connection_id":228706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:55:35] local.INFO: TCP Data received {"connection_id":232294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:55:35] local.INFO: Processing buffer {"connection_id":232294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:55:35] local.INFO: IMEI packet received {"connection_id":232294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":232294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:55:40] local.INFO: TCP Data received {"connection_id":232294,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:55:40] local.INFO: Processing buffer {"connection_id":232294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:55:40] local.INFO: IMEI packet received {"connection_id":232294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":232294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:55:41] local.INFO: TCP Data received {"connection_id":232294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:55:41] local.INFO: Processing buffer {"connection_id":232294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:55:41] local.INFO: Packet analysis {"connection_id":232294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:55:41] local.INFO: Extracted packet for processing {"connection_id":232294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:55:41] 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-11-04 05:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":232294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:55:41] local.INFO: GPS data processed {"connection_id":232294,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:55:41] local.INFO: Acknowledgment sent {"connection_id":232294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:55:48] local.INFO: TCP Data received {"connection_id":228706,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:55:48] local.INFO: Processing buffer {"connection_id":228706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:55:48] local.INFO: Packet analysis {"connection_id":228706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:55:48] local.INFO: Extracted packet for processing {"connection_id":228706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:55:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:55:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":228706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:55:48] local.INFO: GPS data processed {"connection_id":228706,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:55:48] local.INFO: Acknowledgment sent {"connection_id":228706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:56:09] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:56:09] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:56:09] local.INFO: IMEI packet received {"connection_id":230457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":230457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:56:12] local.INFO: TCP Data received {"connection_id":232294,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:12] local.INFO: Processing buffer {"connection_id":232294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:12] local.INFO: Packet analysis {"connection_id":232294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:56:12] local.INFO: Extracted packet for processing {"connection_id":232294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:56:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:56:12] 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-11-04 05: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-11-04 05:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:56:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":232294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:56:12] local.INFO: GPS data processed {"connection_id":232294,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:56:12] local.INFO: Acknowledgment sent {"connection_id":232294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:56:15] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:56:15] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:56:15] local.INFO: IMEI packet received {"connection_id":230457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":230457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:56:16] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:56:16] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:56:16] local.INFO: Packet analysis {"connection_id":230457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:56:16] local.INFO: Extracted packet for processing {"connection_id":230457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:56:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:16] 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-11-04 05:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 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-11-04 05:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:56:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:56:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:56:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":230457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:56:16] local.INFO: GPS data processed {"connection_id":230457,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:56:16] local.INFO: Acknowledgment sent {"connection_id":230457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:56:40] local.INFO: TCP Data received {"connection_id":230458,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:56:40] local.INFO: Processing buffer {"connection_id":230458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:56:40] local.INFO: IMEI packet received {"connection_id":230458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":230458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:56:45] local.INFO: TCP Data received {"connection_id":230458,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:56:45] local.INFO: Processing buffer {"connection_id":230458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:56:45] local.INFO: IMEI packet received {"connection_id":230458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":230458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:56:45] local.INFO: TCP Data received {"connection_id":230458,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:45] local.INFO: Processing buffer {"connection_id":230458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:45] local.INFO: Packet analysis {"connection_id":230458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:56:45] local.INFO: Extracted packet for processing {"connection_id":230458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:56:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:56:45] 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-11-04 05: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-11-04 05:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:56:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:56:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:56:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":230458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:56:45] local.INFO: GPS data processed {"connection_id":230458,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:56:45] local.INFO: Acknowledgment sent {"connection_id":230458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:56:48] local.INFO: TCP Data received {"connection_id":230457,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:56:48] local.INFO: Processing buffer {"connection_id":230457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:56:48] local.INFO: Packet analysis {"connection_id":230457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:56:48] local.INFO: Extracted packet for processing {"connection_id":230457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 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-11-04 05:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 05:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:56:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:56:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":230457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:56:48] local.INFO: GPS data processed {"connection_id":230457,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:56:48] local.INFO: Acknowledgment sent {"connection_id":230457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:56:50] local.INFO: TCP Data received {"connection_id":230458,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:50] local.INFO: Processing buffer {"connection_id":230458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ee64c0012ce51bc007234b90000900802d..."} 
[2026-11-04 05:56:50] local.INFO: Packet analysis {"connection_id":230458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:56:50] local.INFO: Extracted packet for processing {"connection_id":230458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ee"} 
[2026-11-04 05:56:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200350976001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793751672000,"timestamp_ms":1793751672000,"timestamp_seconds":1793751672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ee64c0"} 
[2026-11-04 05:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 05:56:50] 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-11-04 05:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200350976001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200350976001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:56:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200350976001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":230458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:56:50] local.INFO: GPS data processed {"connection_id":230458,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:56:50] local.INFO: Acknowledgment sent {"connection_id":230458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:57:09] local.INFO: TCP Data received {"connection_id":228707,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:57:09] local.INFO: Processing buffer {"connection_id":228707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:57:09] local.INFO: IMEI packet received {"connection_id":228707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":228707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:57:15] local.INFO: TCP Data received {"connection_id":228707,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:57:15] local.INFO: Processing buffer {"connection_id":228707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:57:15] local.INFO: IMEI packet received {"connection_id":228707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":228707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:57:16] local.INFO: TCP Data received {"connection_id":228707,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:57:16] local.INFO: Processing buffer {"connection_id":228707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:57:16] local.INFO: Packet analysis {"connection_id":228707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:57:16] local.INFO: Extracted packet for processing {"connection_id":228707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:16] 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-11-04 05:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:57:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:57:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":228707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:57:16] local.INFO: GPS data processed {"connection_id":228707,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:57:16] local.INFO: Acknowledgment sent {"connection_id":228707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:57:35] local.INFO: TCP Data received {"connection_id":229190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:57:35] local.INFO: Processing buffer {"connection_id":229190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:57:35] local.INFO: IMEI packet received {"connection_id":229190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":229190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:57:40] local.INFO: TCP Data received {"connection_id":229190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:57:40] local.INFO: Processing buffer {"connection_id":229190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:57:40] local.INFO: IMEI packet received {"connection_id":229190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":229190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:57:41] local.INFO: TCP Data received {"connection_id":229190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:57:41] local.INFO: Processing buffer {"connection_id":229190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:57:41] local.INFO: Packet analysis {"connection_id":229190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:57:41] local.INFO: Extracted packet for processing {"connection_id":229190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:57:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 05:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:57:41] 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-11-04 05:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:57:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:57:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:57:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":229190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:57:41] local.INFO: GPS data processed {"connection_id":229190,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:57:41] local.INFO: Acknowledgment sent {"connection_id":229190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:57:47] local.INFO: TCP Data received {"connection_id":228707,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:57:47] local.INFO: Processing buffer {"connection_id":228707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3ef7e00012d3c94c006a39460004601582a..."} 
[2026-11-04 05:57:47] local.INFO: Packet analysis {"connection_id":228707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:57:47] local.INFO: Extracted packet for processing {"connection_id":228707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3ef"} 
[2026-11-04 05:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":42,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200369408001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:57:47] 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-11-04 05:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793751744000,"timestamp_ms":1793751744000,"timestamp_seconds":1793751744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3ef7e00"} 
[2026-11-04 05:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 05:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200369408001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200369408001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:57:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:57:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200369408001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":228707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:57:47] local.INFO: GPS data processed {"connection_id":228707,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:57:47] local.INFO: Acknowledgment sent {"connection_id":228707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:58:09] local.INFO: TCP Data received {"connection_id":230459,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:58:09] local.INFO: Processing buffer {"connection_id":230459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:58:09] local.INFO: IMEI packet received {"connection_id":230459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":230459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:58:12] local.INFO: TCP Data received {"connection_id":229190,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:58:12] local.INFO: Processing buffer {"connection_id":229190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:58:12] local.INFO: Packet analysis {"connection_id":229190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:58:12] local.INFO: Extracted packet for processing {"connection_id":229190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:58:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 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-11-04 05:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:58:12] 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-11-04 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-11-04 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-11-04 05:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:58:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:58:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:58:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":229190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:58:12] local.INFO: GPS data processed {"connection_id":229190,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:58:12] local.INFO: Acknowledgment sent {"connection_id":229190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:58:15] local.INFO: TCP Data received {"connection_id":230459,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:58:15] local.INFO: Processing buffer {"connection_id":230459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:58:15] local.INFO: IMEI packet received {"connection_id":230459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":230459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:58:16] local.INFO: TCP Data received {"connection_id":230459,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:58:16] local.INFO: Processing buffer {"connection_id":230459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:58:16] local.INFO: Packet analysis {"connection_id":230459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:58:16] local.INFO: Extracted packet for processing {"connection_id":230459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:16] 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-11-04 05:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 05:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 05:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:58:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:58:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":230459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:58:16] local.INFO: GPS data processed {"connection_id":230459,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:58:16] local.INFO: Acknowledgment sent {"connection_id":230459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:58:35] local.INFO: TCP Data received {"connection_id":232295,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:58:35] local.INFO: Processing buffer {"connection_id":232295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:58:35] local.INFO: IMEI packet received {"connection_id":232295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":232295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:58:40] local.INFO: TCP Data received {"connection_id":232295,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:58:40] local.INFO: Processing buffer {"connection_id":232295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:58:40] local.INFO: IMEI packet received {"connection_id":232295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":232295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:58:41] local.INFO: TCP Data received {"connection_id":232295,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:58:41] local.INFO: Processing buffer {"connection_id":232295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:58:41] local.INFO: Packet analysis {"connection_id":232295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:58:41] local.INFO: Extracted packet for processing {"connection_id":232295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:58:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 05:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:58:41] 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-11-04 05:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:58:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:58:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:58:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":232295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:58:41] local.INFO: GPS data processed {"connection_id":232295,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:58:41] local.INFO: Acknowledgment sent {"connection_id":232295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:58:48] local.INFO: TCP Data received {"connection_id":230459,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:58:48] local.INFO: Processing buffer {"connection_id":230459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:58:48] local.INFO: Packet analysis {"connection_id":230459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:58:48] local.INFO: Extracted packet for processing {"connection_id":230459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 05:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 05:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:58:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:58:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":230459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57572,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:58:48] local.INFO: GPS data processed {"connection_id":230459,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:58:48] local.INFO: Acknowledgment sent {"connection_id":230459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:59:09] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:59:09] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:59:09] local.INFO: IMEI packet received {"connection_id":230460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 05:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":230460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:59:12] local.INFO: TCP Data received {"connection_id":232295,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:59:12] local.INFO: Processing buffer {"connection_id":232295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:59:12] local.INFO: Packet analysis {"connection_id":232295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:59:12] local.INFO: Extracted packet for processing {"connection_id":232295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 05:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 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-11-04 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:59:12] 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-11-04 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-11-04 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-11-04 05:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:59:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:59:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":232295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:59:12] local.INFO: GPS data processed {"connection_id":232295,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:59:12] local.INFO: Acknowledgment sent {"connection_id":232295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:59:15] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:59:15] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 05:59:15] local.INFO: IMEI packet received {"connection_id":230460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 05:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":230460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:59:16] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:59:16] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:59:16] local.INFO: Packet analysis {"connection_id":230460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:59:16] local.INFO: Extracted packet for processing {"connection_id":230460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:16] 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-11-04 05:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 05:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 05:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:59:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:59:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":230460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:59:17] local.INFO: GPS data processed {"connection_id":230460,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:59:17] local.INFO: Acknowledgment sent {"connection_id":230460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:59:35] local.INFO: TCP Data received {"connection_id":232296,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:59:35] local.INFO: Processing buffer {"connection_id":232296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:59:35] local.INFO: IMEI packet received {"connection_id":232296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 05:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":232296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 05:59:40] local.INFO: TCP Data received {"connection_id":232296,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:59:40] local.INFO: Processing buffer {"connection_id":232296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 05:59:40] local.INFO: IMEI packet received {"connection_id":232296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 05:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":232296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 05:59:41] local.INFO: TCP Data received {"connection_id":232296,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:59:41] local.INFO: Processing buffer {"connection_id":232296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 05:59:41] local.INFO: Packet analysis {"connection_id":232296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:59:41] local.INFO: Extracted packet for processing {"connection_id":232296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 05:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 05:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 05:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 05:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 05:59:41] 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-11-04 05:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 05:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 05:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 05:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 05:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 05:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 05:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 05:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:59:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 05:59:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 05:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:59:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 05:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 05:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":232296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:59:41] local.INFO: GPS data processed {"connection_id":232296,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:59:41] local.INFO: Acknowledgment sent {"connection_id":232296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 05:59:49] local.INFO: TCP Data received {"connection_id":230460,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:59:49] local.INFO: Processing buffer {"connection_id":230460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 05:59:49] local.INFO: Packet analysis {"connection_id":230460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:59:49] local.INFO: Extracted packet for processing {"connection_id":230460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 05:59:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 05: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-11-04 05:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 05:59:49] 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-11-04 05:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 05:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 05:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 05: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 05:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 05: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-11-04 05:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 05:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 05:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 05:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 05:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 05:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 05:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 05:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 05:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 05:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 05:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 05:59:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 05:59:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 05:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 05:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 05:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 05:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":230460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 05:59:49] local.INFO: GPS data processed {"connection_id":230460,"processed":1,"errors":0,"total":1} 
[2026-11-04 05:59:49] local.INFO: Acknowledgment sent {"connection_id":230460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:00:12] local.INFO: TCP Data received {"connection_id":232296,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:12] local.INFO: Processing buffer {"connection_id":232296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:12] local.INFO: Packet analysis {"connection_id":232296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:00:12] local.INFO: Extracted packet for processing {"connection_id":232296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:00:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 06:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:00:12] 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-11-04 06:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:00:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:00:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":232296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:00:12] local.INFO: GPS data processed {"connection_id":232296,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:00:12] local.INFO: Acknowledgment sent {"connection_id":232296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:00:15] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:00:15] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:00:15] local.INFO: IMEI packet received {"connection_id":229191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":229191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:00:20] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:00:20] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:00:20] local.INFO: IMEI packet received {"connection_id":229191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":229191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:00:21] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:00:21] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:00:21] local.INFO: Packet analysis {"connection_id":229191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:00:21] local.INFO: Extracted packet for processing {"connection_id":229191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:00:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:21] 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-11-04 06:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 06:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:00:22] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":229191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:00:22] local.INFO: GPS data processed {"connection_id":229191,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:00:22] local.INFO: Acknowledgment sent {"connection_id":229191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:00:25] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:00:25] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:00:25] local.INFO: Packet analysis {"connection_id":229191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:00:25] local.INFO: Extracted packet for processing {"connection_id":229191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:00:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:25] 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-11-04 06:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 06:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:00:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:00:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":229191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:00:25] local.INFO: GPS data processed {"connection_id":229191,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:00:25] local.INFO: Acknowledgment sent {"connection_id":229191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:00:40] local.INFO: TCP Data received {"connection_id":230461,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:00:40] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:00:40] local.INFO: IMEI packet received {"connection_id":230461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":230461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:00:45] local.INFO: TCP Data received {"connection_id":230461,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:00:45] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:00:45] local.INFO: IMEI packet received {"connection_id":230461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":230461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:00:46] local.INFO: TCP Data received {"connection_id":230461,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:46] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:46] local.INFO: Packet analysis {"connection_id":230461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:00:46] local.INFO: Extracted packet for processing {"connection_id":230461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:00:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 06:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:00:46] 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-11-04 06:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:00:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":230461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:00:46] local.INFO: GPS data processed {"connection_id":230461,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:00:46] local.INFO: Acknowledgment sent {"connection_id":230461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:00:50] local.INFO: TCP Data received {"connection_id":230461,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:50] local.INFO: Processing buffer {"connection_id":230461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:00:50] local.INFO: Packet analysis {"connection_id":230461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:00:50] local.INFO: Extracted packet for processing {"connection_id":230461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:00:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 06:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:00:50] 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-11-04 06:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:00:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":230461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:00:50] local.INFO: GPS data processed {"connection_id":230461,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:00:50] local.INFO: Acknowledgment sent {"connection_id":230461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:01:10] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:01:10] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:01:10] local.INFO: IMEI packet received {"connection_id":230462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":230462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:01:15] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:01:15] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:01:15] local.INFO: IMEI packet received {"connection_id":230462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":230462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:01:16] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:01:16] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:01:16] local.INFO: Packet analysis {"connection_id":230462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:01:16] local.INFO: Extracted packet for processing {"connection_id":230462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:16] 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-11-04 06:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 06:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:01:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:01:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":230462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:01:16] local.INFO: GPS data processed {"connection_id":230462,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:01:16] local.INFO: Acknowledgment sent {"connection_id":230462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:01:35] local.INFO: TCP Data received {"connection_id":229192,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:01:35] local.INFO: Processing buffer {"connection_id":229192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:01:35] local.INFO: IMEI packet received {"connection_id":229192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":229192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:01:40] local.INFO: TCP Data received {"connection_id":229192,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:01:40] local.INFO: Processing buffer {"connection_id":229192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:01:40] local.INFO: IMEI packet received {"connection_id":229192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":229192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:01:41] local.INFO: TCP Data received {"connection_id":229192,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:01:41] local.INFO: Processing buffer {"connection_id":229192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f2fc88012ce51bc007234b90000900802d..."} 
[2026-11-04 06:01:41] local.INFO: Packet analysis {"connection_id":229192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:01:41] local.INFO: Extracted packet for processing {"connection_id":229192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f2"} 
[2026-11-04 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200428032001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793751973000,"timestamp_ms":1793751973000,"timestamp_seconds":1793751973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f2fc88"} 
[2026-11-04 06:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:01:41] 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-11-04 06:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200428032001,"66":24538,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200428032001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:01:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:01:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200428032001,"power":24538,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":229192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:01:41] local.INFO: GPS data processed {"connection_id":229192,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:01:41] local.INFO: Acknowledgment sent {"connection_id":229192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:01:48] local.INFO: TCP Data received {"connection_id":230462,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:01:48] local.INFO: Processing buffer {"connection_id":230462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:01:48] local.INFO: Packet analysis {"connection_id":230462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:01:48] local.INFO: Extracted packet for processing {"connection_id":230462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:01: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-11-04 06:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 06:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:01: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-11-04 06:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:01:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:01:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":230462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:01:48] local.INFO: GPS data processed {"connection_id":230462,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:01:48] local.INFO: Acknowledgment sent {"connection_id":230462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:02:09] local.INFO: TCP Data received {"connection_id":232297,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:02:09] local.INFO: Processing buffer {"connection_id":232297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:02:09] local.INFO: IMEI packet received {"connection_id":232297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":232297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:02:15] local.INFO: TCP Data received {"connection_id":232297,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:02:15] local.INFO: Processing buffer {"connection_id":232297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:02:15] local.INFO: IMEI packet received {"connection_id":232297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":232297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:02:15] local.INFO: TCP Data received {"connection_id":229192,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:02:15] local.INFO: Processing buffer {"connection_id":229192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:02:15] local.INFO: Packet analysis {"connection_id":229192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:02:15] local.INFO: Extracted packet for processing {"connection_id":229192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:02:15] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:02:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:02:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":229192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:02:15] local.INFO: GPS data processed {"connection_id":229192,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:02:15] local.INFO: Acknowledgment sent {"connection_id":229192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:02:16] local.INFO: TCP Data received {"connection_id":232297,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:02:16] local.INFO: Processing buffer {"connection_id":232297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:02:16] local.INFO: Packet analysis {"connection_id":232297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:02:16] local.INFO: Extracted packet for processing {"connection_id":232297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:16] 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-11-04 06:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 06:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:02:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:02:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":232297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:02:16] local.INFO: GPS data processed {"connection_id":232297,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:02:16] local.INFO: Acknowledgment sent {"connection_id":232297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:02:35] local.INFO: TCP Data received {"connection_id":228708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:02:35] local.INFO: Processing buffer {"connection_id":228708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:02:35] local.INFO: IMEI packet received {"connection_id":228708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":228708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:02:40] local.INFO: TCP Data received {"connection_id":228708,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:02:40] local.INFO: Processing buffer {"connection_id":228708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:02:40] local.INFO: IMEI packet received {"connection_id":228708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":228708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:02:41] local.INFO: TCP Data received {"connection_id":228708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:02:41] local.INFO: Processing buffer {"connection_id":228708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:02:41] local.INFO: Packet analysis {"connection_id":228708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:02:41] local.INFO: Extracted packet for processing {"connection_id":228708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:02:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":228708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:02:41] local.INFO: GPS data processed {"connection_id":228708,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:02:41] local.INFO: Acknowledgment sent {"connection_id":228708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:02:48] local.INFO: TCP Data received {"connection_id":232297,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:02:48] local.INFO: Processing buffer {"connection_id":232297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f415c8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:02:48] local.INFO: Packet analysis {"connection_id":232297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:02:48] local.INFO: Extracted packet for processing {"connection_id":232297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f4"} 
[2026-11-04 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200446464001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752045000,"timestamp_ms":1793752045000,"timestamp_seconds":1793752045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f415c8"} 
[2026-11-04 06:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232297,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200446464001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200446464001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:02:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200446464001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":232297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:02:48] local.INFO: GPS data processed {"connection_id":232297,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:02:48] local.INFO: Acknowledgment sent {"connection_id":232297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:03:09] local.INFO: TCP Data received {"connection_id":228709,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:03:09] local.INFO: Processing buffer {"connection_id":228709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:03:09] local.INFO: IMEI packet received {"connection_id":228709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":228709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:03:12] local.INFO: TCP Data received {"connection_id":228708,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:03:12] local.INFO: Processing buffer {"connection_id":228708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:03:12] local.INFO: Packet analysis {"connection_id":228708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:03:12] local.INFO: Extracted packet for processing {"connection_id":228708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 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-11-04 06:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:03:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:03:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":228708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:03:12] local.INFO: GPS data processed {"connection_id":228708,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:03:12] local.INFO: Acknowledgment sent {"connection_id":228708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:03:15] local.INFO: TCP Data received {"connection_id":228709,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:03:15] local.INFO: Processing buffer {"connection_id":228709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:03:15] local.INFO: IMEI packet received {"connection_id":228709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":228709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:03:16] local.INFO: TCP Data received {"connection_id":228709,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:03:16] local.INFO: Processing buffer {"connection_id":228709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:03:16] local.INFO: Packet analysis {"connection_id":228709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:03:16] local.INFO: Extracted packet for processing {"connection_id":228709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:16] 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-11-04 06:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:03:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:03:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":228709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:03:16] local.INFO: GPS data processed {"connection_id":228709,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:03:16] local.INFO: Acknowledgment sent {"connection_id":228709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:03:35] local.INFO: TCP Data received {"connection_id":230463,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:03:35] local.INFO: Processing buffer {"connection_id":230463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:03:35] local.INFO: IMEI packet received {"connection_id":230463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":230463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:03:40] local.INFO: TCP Data received {"connection_id":230463,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:03:40] local.INFO: Processing buffer {"connection_id":230463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:03:40] local.INFO: IMEI packet received {"connection_id":230463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":230463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:03:41] local.INFO: TCP Data received {"connection_id":230463,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:03:41] local.INFO: Processing buffer {"connection_id":230463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:03:41] local.INFO: Packet analysis {"connection_id":230463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:03:41] local.INFO: Extracted packet for processing {"connection_id":230463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:03:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:03:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":230463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:03:41] local.INFO: GPS data processed {"connection_id":230463,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:03:41] local.INFO: Acknowledgment sent {"connection_id":230463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:03:48] local.INFO: TCP Data received {"connection_id":228709,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:03:48] local.INFO: Processing buffer {"connection_id":228709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:03:48] local.INFO: Packet analysis {"connection_id":228709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:03:48] local.INFO: Extracted packet for processing {"connection_id":228709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:03:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:03:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":228709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:03:48] local.INFO: GPS data processed {"connection_id":228709,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:03:48] local.INFO: Acknowledgment sent {"connection_id":228709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:04:10] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:04:10] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:04:10] local.INFO: IMEI packet received {"connection_id":229193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":229193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:04:12] local.INFO: TCP Data received {"connection_id":230463,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:04:12] local.INFO: Processing buffer {"connection_id":230463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:04:12] local.INFO: Packet analysis {"connection_id":230463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:04:12] local.INFO: Extracted packet for processing {"connection_id":230463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:04:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 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-11-04 06:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":230463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:04:12] local.INFO: GPS data processed {"connection_id":230463,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:04:12] local.INFO: Acknowledgment sent {"connection_id":230463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:04:15] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:04:15] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:04:15] local.INFO: IMEI packet received {"connection_id":229193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":229193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:04:16] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:04:16] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:04:16] local.INFO: Packet analysis {"connection_id":229193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:04:16] local.INFO: Extracted packet for processing {"connection_id":229193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:16] 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-11-04 06:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:04:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:04:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":229193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:04:16] local.INFO: GPS data processed {"connection_id":229193,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:04:16] local.INFO: Acknowledgment sent {"connection_id":229193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:04:35] local.INFO: TCP Data received {"connection_id":232298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:04:35] local.INFO: Processing buffer {"connection_id":232298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:04:35] local.INFO: IMEI packet received {"connection_id":232298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":232298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:04:40] local.INFO: TCP Data received {"connection_id":232298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:04:40] local.INFO: Processing buffer {"connection_id":232298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:04:40] local.INFO: IMEI packet received {"connection_id":232298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":232298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:04:41] local.INFO: TCP Data received {"connection_id":232298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:04:41] local.INFO: Processing buffer {"connection_id":232298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:04:41] local.INFO: Packet analysis {"connection_id":232298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:04:41] local.INFO: Extracted packet for processing {"connection_id":232298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:04:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:04:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:04:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":232298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:04:41] local.INFO: GPS data processed {"connection_id":232298,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:04:41] local.INFO: Acknowledgment sent {"connection_id":232298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:04:48] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:04:48] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:04:48] local.INFO: Packet analysis {"connection_id":229193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:04:48] local.INFO: Extracted packet for processing {"connection_id":229193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:04:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:04:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":229193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:04:48] local.INFO: GPS data processed {"connection_id":229193,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:04:48] local.INFO: Acknowledgment sent {"connection_id":229193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:05:09] local.INFO: TCP Data received {"connection_id":232299,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:05:09] local.INFO: Processing buffer {"connection_id":232299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:05:09] local.INFO: IMEI packet received {"connection_id":232299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":232299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:05:12] local.INFO: TCP Data received {"connection_id":232298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:12] local.INFO: Processing buffer {"connection_id":232298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:12] local.INFO: Packet analysis {"connection_id":232298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:05:12] local.INFO: Extracted packet for processing {"connection_id":232298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:05:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:05:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":232298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:05:12] local.INFO: GPS data processed {"connection_id":232298,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:05:12] local.INFO: Acknowledgment sent {"connection_id":232298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:05:15] local.INFO: TCP Data received {"connection_id":232299,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:05:15] local.INFO: Processing buffer {"connection_id":232299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:05:15] local.INFO: IMEI packet received {"connection_id":232299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":232299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:05:16] local.INFO: TCP Data received {"connection_id":232299,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:05:16] local.INFO: Processing buffer {"connection_id":232299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:05:16] local.INFO: Packet analysis {"connection_id":232299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:05:16] local.INFO: Extracted packet for processing {"connection_id":232299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:16] 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-11-04 06:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:05:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:05:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":232299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:05:16] local.INFO: GPS data processed {"connection_id":232299,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:05:16] local.INFO: Acknowledgment sent {"connection_id":232299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:05:40] local.INFO: TCP Data received {"connection_id":230464,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:05:40] local.INFO: Processing buffer {"connection_id":230464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:05:40] local.INFO: IMEI packet received {"connection_id":230464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":230464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:05:45] local.INFO: TCP Data received {"connection_id":230464,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:05:45] local.INFO: Processing buffer {"connection_id":230464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:05:45] local.INFO: IMEI packet received {"connection_id":230464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":230464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:05:46] local.INFO: TCP Data received {"connection_id":230464,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:46] local.INFO: Processing buffer {"connection_id":230464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:46] local.INFO: Packet analysis {"connection_id":230464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:05:46] local.INFO: Extracted packet for processing {"connection_id":230464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:05:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:05:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":230464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:05:46] local.INFO: GPS data processed {"connection_id":230464,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:05:46] local.INFO: Acknowledgment sent {"connection_id":230464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:05:48] local.INFO: TCP Data received {"connection_id":232299,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:05:48] local.INFO: Processing buffer {"connection_id":232299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:05:48] local.INFO: Packet analysis {"connection_id":232299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:05:48] local.INFO: Extracted packet for processing {"connection_id":232299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:05:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:05:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":232299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:05:48] local.INFO: GPS data processed {"connection_id":232299,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:05:48] local.INFO: Acknowledgment sent {"connection_id":232299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:05:50] local.INFO: TCP Data received {"connection_id":230464,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:50] local.INFO: Processing buffer {"connection_id":230464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:05:50] local.INFO: Packet analysis {"connection_id":230464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:05:50] local.INFO: Extracted packet for processing {"connection_id":230464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:05:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:05:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":230464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:05:50] local.INFO: GPS data processed {"connection_id":230464,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:05:50] local.INFO: Acknowledgment sent {"connection_id":230464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:06:09] local.INFO: TCP Data received {"connection_id":232300,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:06:09] local.INFO: Processing buffer {"connection_id":232300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:06:09] local.INFO: IMEI packet received {"connection_id":232300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":232300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:06:15] local.INFO: TCP Data received {"connection_id":232300,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:06:15] local.INFO: Processing buffer {"connection_id":232300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:06:15] local.INFO: IMEI packet received {"connection_id":232300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":232300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:06:16] local.INFO: TCP Data received {"connection_id":232300,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:06:16] local.INFO: Processing buffer {"connection_id":232300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:06:16] local.INFO: Packet analysis {"connection_id":232300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:06:16] local.INFO: Extracted packet for processing {"connection_id":232300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:16] 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-11-04 06:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:06:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:06:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":232300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:06:16] local.INFO: GPS data processed {"connection_id":232300,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:06:16] local.INFO: Acknowledgment sent {"connection_id":232300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:06:35] local.INFO: TCP Data received {"connection_id":232301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:06:35] local.INFO: Processing buffer {"connection_id":232301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:06:35] local.INFO: IMEI packet received {"connection_id":232301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":232301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:06:40] local.INFO: TCP Data received {"connection_id":232301,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:06:40] local.INFO: Processing buffer {"connection_id":232301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:06:40] local.INFO: IMEI packet received {"connection_id":232301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":232301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:06:40] local.INFO: TCP Data received {"connection_id":232301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:06:40] local.INFO: Processing buffer {"connection_id":232301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f79450012ce51bc007234b90000900802d..."} 
[2026-11-04 06:06:40] local.INFO: Packet analysis {"connection_id":232301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:06:40] local.INFO: Extracted packet for processing {"connection_id":232301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f7"} 
[2026-11-04 06:06:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200505088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793752274000,"timestamp_ms":1793752274000,"timestamp_seconds":1793752274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f79450"} 
[2026-11-04 06:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 06:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:06: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-11-04 06:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200505088001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200505088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:06:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:06:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200505088001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":232301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:06:40] local.INFO: GPS data processed {"connection_id":232301,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:06:40] local.INFO: Acknowledgment sent {"connection_id":232301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:06:48] local.INFO: TCP Data received {"connection_id":232300,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:06:48] local.INFO: Processing buffer {"connection_id":232300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:06:48] local.INFO: Packet analysis {"connection_id":232300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:06:48] local.INFO: Extracted packet for processing {"connection_id":232300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232300,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:06:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:06:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":232300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:06:48] local.INFO: GPS data processed {"connection_id":232300,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:06:48] local.INFO: Acknowledgment sent {"connection_id":232300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:07:11] local.INFO: TCP Data received {"connection_id":232301,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:07:11] local.INFO: Processing buffer {"connection_id":232301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:07:11] local.INFO: Packet analysis {"connection_id":232301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:07:11] local.INFO: Extracted packet for processing {"connection_id":232301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:07:11] 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-11-04 06: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-11-04 06:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:07: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-11-04 06:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:07:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:07:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:07:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":232301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:07:11] local.INFO: GPS data processed {"connection_id":232301,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:07:11] local.INFO: Acknowledgment sent {"connection_id":232301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:07:15] local.INFO: TCP Data received {"connection_id":228710,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:07:15] local.INFO: Processing buffer {"connection_id":228710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:07:15] local.INFO: IMEI packet received {"connection_id":228710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":228710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:07:20] local.INFO: TCP Data received {"connection_id":228710,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:07:20] local.INFO: Processing buffer {"connection_id":228710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:07:20] local.INFO: IMEI packet received {"connection_id":228710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":228710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:07:21] local.INFO: TCP Data received {"connection_id":228710,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:07:21] local.INFO: Processing buffer {"connection_id":228710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:07:21] local.INFO: Packet analysis {"connection_id":228710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:07:21] local.INFO: Extracted packet for processing {"connection_id":228710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:07:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:21] 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-11-04 06:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:07:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:07:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":228710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:07:21] local.INFO: GPS data processed {"connection_id":228710,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:07:21] local.INFO: Acknowledgment sent {"connection_id":228710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:07:25] local.INFO: TCP Data received {"connection_id":228710,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:07:25] local.INFO: Processing buffer {"connection_id":228710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3f8ad90012d3c94c006a39460004601582c..."} 
[2026-11-04 06:07:25] local.INFO: Packet analysis {"connection_id":228710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:07:25] local.INFO: Extracted packet for processing {"connection_id":228710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3f8"} 
[2026-11-04 06:07:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200523520001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:25] 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-11-04 06:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793752346000,"timestamp_ms":1793752346000,"timestamp_seconds":1793752346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3f8ad90"} 
[2026-11-04 06:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200523520001,"66":26289,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200523520001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:07:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:07:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200523520001,"power":26289,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":228710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:07:26] local.INFO: GPS data processed {"connection_id":228710,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:07:26] local.INFO: Acknowledgment sent {"connection_id":228710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:07:35] local.INFO: TCP Data received {"connection_id":232302,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:07:35] local.INFO: Processing buffer {"connection_id":232302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:07:35] local.INFO: IMEI packet received {"connection_id":232302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":232302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:07:40] local.INFO: TCP Data received {"connection_id":232302,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:07:40] local.INFO: Processing buffer {"connection_id":232302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:07:40] local.INFO: IMEI packet received {"connection_id":232302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":232302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:07:41] local.INFO: TCP Data received {"connection_id":232302,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:07:41] local.INFO: Processing buffer {"connection_id":232302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:07:41] local.INFO: Packet analysis {"connection_id":232302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:07:41] local.INFO: Extracted packet for processing {"connection_id":232302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:07:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:07:41] 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-11-04 06:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:07:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:07:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:07:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":232302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:07:41] local.INFO: GPS data processed {"connection_id":232302,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:07:41] local.INFO: Acknowledgment sent {"connection_id":232302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:08:09] local.INFO: TCP Data received {"connection_id":232303,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:08:09] local.INFO: Processing buffer {"connection_id":232303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:08:09] local.INFO: IMEI packet received {"connection_id":232303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":232303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:08:12] local.INFO: TCP Data received {"connection_id":232302,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:08:12] local.INFO: Processing buffer {"connection_id":232302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:08:12] local.INFO: Packet analysis {"connection_id":232302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:08:12] local.INFO: Extracted packet for processing {"connection_id":232302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:08:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:08:12] 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-11-04 06: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-11-04 06:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:08:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:08:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":232302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:08:12] local.INFO: GPS data processed {"connection_id":232302,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:08:12] local.INFO: Acknowledgment sent {"connection_id":232302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:08:15] local.INFO: TCP Data received {"connection_id":232303,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:08:15] local.INFO: Processing buffer {"connection_id":232303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:08:15] local.INFO: IMEI packet received {"connection_id":232303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":232303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:08:16] local.INFO: TCP Data received {"connection_id":232303,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:08:16] local.INFO: Processing buffer {"connection_id":232303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:08:16] local.INFO: Packet analysis {"connection_id":232303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:08:16] local.INFO: Extracted packet for processing {"connection_id":232303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:16] 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-11-04 06:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:08:16] 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-11-04 06: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-11-04 06:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:08:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:08:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":232303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:08:16] local.INFO: GPS data processed {"connection_id":232303,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:08:16] local.INFO: Acknowledgment sent {"connection_id":232303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:08:35] local.INFO: TCP Data received {"connection_id":230465,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:08:35] local.INFO: Processing buffer {"connection_id":230465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:08:35] local.INFO: IMEI packet received {"connection_id":230465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":230465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:08:40] local.INFO: TCP Data received {"connection_id":230465,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:08:40] local.INFO: Processing buffer {"connection_id":230465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:08:40] local.INFO: IMEI packet received {"connection_id":230465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":230465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:08:41] local.INFO: TCP Data received {"connection_id":230465,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:08:41] local.INFO: Processing buffer {"connection_id":230465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:08:41] local.INFO: Packet analysis {"connection_id":230465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:08:41] local.INFO: Extracted packet for processing {"connection_id":230465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:08:41] 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-11-04 06:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:08:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":230465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:08:41] local.INFO: GPS data processed {"connection_id":230465,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:08:41] local.INFO: Acknowledgment sent {"connection_id":230465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:08:48] local.INFO: TCP Data received {"connection_id":232303,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:08:48] local.INFO: Processing buffer {"connection_id":232303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:08:48] local.INFO: Packet analysis {"connection_id":232303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:08:48] local.INFO: Extracted packet for processing {"connection_id":232303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:08:48] 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-11-04 06: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-11-04 06:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:08:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":232303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:08:48] local.INFO: GPS data processed {"connection_id":232303,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:08:48] local.INFO: Acknowledgment sent {"connection_id":232303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:09:12] local.INFO: TCP Data received {"connection_id":230465,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:12] local.INFO: Processing buffer {"connection_id":230465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:12] local.INFO: Packet analysis {"connection_id":230465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:09:12] local.INFO: Extracted packet for processing {"connection_id":230465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:09:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:09:12] 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-11-04 06: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-11-04 06:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:09:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":230465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:09:12] local.INFO: GPS data processed {"connection_id":230465,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:09:12] local.INFO: Acknowledgment sent {"connection_id":230465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:09:20] local.INFO: TCP Data received {"connection_id":232304,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:09:20] local.INFO: Processing buffer {"connection_id":232304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:09:20] local.INFO: IMEI packet received {"connection_id":232304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":232304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:09:20] local.INFO: TCP Data received {"connection_id":232304,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:09:20] local.INFO: Processing buffer {"connection_id":232304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:09:20] local.INFO: IMEI packet received {"connection_id":232304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":232304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:09:21] local.INFO: TCP Data received {"connection_id":232304,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:09:21] local.INFO: Processing buffer {"connection_id":232304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:09:21] local.INFO: Packet analysis {"connection_id":232304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:09:21] local.INFO: Extracted packet for processing {"connection_id":232304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:21] 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-11-04 06:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:09:21] 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-11-04 06: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-11-04 06:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:09:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:09:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":232304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:09:21] local.INFO: GPS data processed {"connection_id":232304,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:09:21] local.INFO: Acknowledgment sent {"connection_id":232304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:09:26] local.INFO: TCP Data received {"connection_id":232304,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:09:26] local.INFO: Processing buffer {"connection_id":232304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:09:26] local.INFO: Packet analysis {"connection_id":232304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:09:26] local.INFO: Extracted packet for processing {"connection_id":232304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:09:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:26] 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-11-04 06:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:09:26] 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-11-04 06:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:09:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:09:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":232304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:09:26] local.INFO: GPS data processed {"connection_id":232304,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:09:26] local.INFO: Acknowledgment sent {"connection_id":232304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:09:40] local.INFO: TCP Data received {"connection_id":228711,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:09:40] local.INFO: Processing buffer {"connection_id":228711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:09:40] local.INFO: IMEI packet received {"connection_id":228711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":228711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:09:45] local.INFO: TCP Data received {"connection_id":228711,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:09:45] local.INFO: Processing buffer {"connection_id":228711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:09:45] local.INFO: IMEI packet received {"connection_id":228711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":228711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:09:46] local.INFO: TCP Data received {"connection_id":228711,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:46] local.INFO: Processing buffer {"connection_id":228711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:46] local.INFO: Packet analysis {"connection_id":228711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:09:46] local.INFO: Extracted packet for processing {"connection_id":228711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:09:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:09:46] 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-11-04 06: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-11-04 06:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:09:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:09:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":228711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:09:46] local.INFO: GPS data processed {"connection_id":228711,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:09:46] local.INFO: Acknowledgment sent {"connection_id":228711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:09:50] local.INFO: TCP Data received {"connection_id":228711,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:50] local.INFO: Processing buffer {"connection_id":228711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:09:50] local.INFO: Packet analysis {"connection_id":228711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:09:50] local.INFO: Extracted packet for processing {"connection_id":228711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:09:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:09:50] 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-11-04 06:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:09:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":228711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:09:50] local.INFO: GPS data processed {"connection_id":228711,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:09:50] local.INFO: Acknowledgment sent {"connection_id":228711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:10:10] local.INFO: TCP Data received {"connection_id":232305,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:10:10] local.INFO: Processing buffer {"connection_id":232305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:10:10] local.INFO: IMEI packet received {"connection_id":232305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":232305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:10:15] local.INFO: TCP Data received {"connection_id":232305,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:10:15] local.INFO: Processing buffer {"connection_id":232305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:10:15] local.INFO: IMEI packet received {"connection_id":232305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":232305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:10:16] local.INFO: TCP Data received {"connection_id":232305,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:10:16] local.INFO: Processing buffer {"connection_id":232305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:10:16] local.INFO: Packet analysis {"connection_id":232305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:10:16] local.INFO: Extracted packet for processing {"connection_id":232305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:16] 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-11-04 06:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:10:16] 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-11-04 06:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:10:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:10:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":232305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:10:16] local.INFO: GPS data processed {"connection_id":232305,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:10:16] local.INFO: Acknowledgment sent {"connection_id":232305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:10:35] local.INFO: TCP Data received {"connection_id":232306,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:10:35] local.INFO: Processing buffer {"connection_id":232306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:10:35] local.INFO: IMEI packet received {"connection_id":232306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":232306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:10:40] local.INFO: TCP Data received {"connection_id":232306,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:10:40] local.INFO: Processing buffer {"connection_id":232306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:10:40] local.INFO: IMEI packet received {"connection_id":232306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":232306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:10:41] local.INFO: TCP Data received {"connection_id":232306,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:10:41] local.INFO: Processing buffer {"connection_id":232306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:10:41] local.INFO: Packet analysis {"connection_id":232306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:10:41] local.INFO: Extracted packet for processing {"connection_id":232306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:10:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:10:41] 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-11-04 06:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:10:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":232306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:10:41] local.INFO: GPS data processed {"connection_id":232306,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:10:41] local.INFO: Acknowledgment sent {"connection_id":232306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:10:48] local.INFO: TCP Data received {"connection_id":232305,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:10:48] local.INFO: Processing buffer {"connection_id":232305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:10:48] local.INFO: Packet analysis {"connection_id":232305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:10:48] local.INFO: Extracted packet for processing {"connection_id":232305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:10:48] 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-11-04 06:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:10:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:10:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":232305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:10:48] local.INFO: GPS data processed {"connection_id":232305,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:10:48] local.INFO: Acknowledgment sent {"connection_id":232305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:11:09] local.INFO: TCP Data received {"connection_id":230466,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:11:09] local.INFO: Processing buffer {"connection_id":230466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:11:09] local.INFO: IMEI packet received {"connection_id":230466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":230466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:11:12] local.INFO: TCP Data received {"connection_id":232306,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:11:12] local.INFO: Processing buffer {"connection_id":232306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:11:12] local.INFO: Packet analysis {"connection_id":232306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:11:12] local.INFO: Extracted packet for processing {"connection_id":232306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:11:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:11:12] 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-11-04 06: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-11-04 06:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:11:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":232306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:11:12] local.INFO: GPS data processed {"connection_id":232306,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:11:12] local.INFO: Acknowledgment sent {"connection_id":232306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:11:15] local.INFO: TCP Data received {"connection_id":230466,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:11:15] local.INFO: Processing buffer {"connection_id":230466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:11:15] local.INFO: IMEI packet received {"connection_id":230466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":230466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:11:16] local.INFO: TCP Data received {"connection_id":230466,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:11:16] local.INFO: Processing buffer {"connection_id":230466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:11:16] local.INFO: Packet analysis {"connection_id":230466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:11:16] local.INFO: Extracted packet for processing {"connection_id":230466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:16] 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-11-04 06:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:11:16] 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-11-04 06: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-11-04 06:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:11:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:11:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":230466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:11:16] local.INFO: GPS data processed {"connection_id":230466,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:11:16] local.INFO: Acknowledgment sent {"connection_id":230466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:11:35] local.INFO: TCP Data received {"connection_id":229194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:11:35] local.INFO: Processing buffer {"connection_id":229194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:11:35] local.INFO: IMEI packet received {"connection_id":229194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":229194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:11:40] local.INFO: TCP Data received {"connection_id":229194,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:11:40] local.INFO: Processing buffer {"connection_id":229194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:11:40] local.INFO: IMEI packet received {"connection_id":229194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":229194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:11:41] local.INFO: TCP Data received {"connection_id":229194,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:11:41] local.INFO: Processing buffer {"connection_id":229194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fc2c18012ce51bc007234b90000900802d..."} 
[2026-11-04 06:11:41] local.INFO: Packet analysis {"connection_id":229194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:11:41] local.INFO: Extracted packet for processing {"connection_id":229194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fc"} 
[2026-11-04 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752575000,"timestamp_ms":1793752575000,"timestamp_seconds":1793752575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fc2c18"} 
[2026-11-04 06:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:11:41] 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-11-04 06:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200582144001,"66":24604,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:11:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:11:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200582144001,"power":24604,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":229194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:11:41] local.INFO: GPS data processed {"connection_id":229194,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:11:41] local.INFO: Acknowledgment sent {"connection_id":229194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:11:47] local.INFO: TCP Data received {"connection_id":230466,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:11:47] local.INFO: Processing buffer {"connection_id":230466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:11:47] local.INFO: Packet analysis {"connection_id":230466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:11:47] local.INFO: Extracted packet for processing {"connection_id":230466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:11:47] 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-11-04 06:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:11:47] 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-11-04 06: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-11-04 06:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:11:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:11:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":230466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:11:47] local.INFO: GPS data processed {"connection_id":230466,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:11:47] local.INFO: Acknowledgment sent {"connection_id":230466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:12:12] local.INFO: TCP Data received {"connection_id":229194,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:12:12] local.INFO: Processing buffer {"connection_id":229194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:12:12] local.INFO: Packet analysis {"connection_id":229194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:12:12] local.INFO: Extracted packet for processing {"connection_id":229194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:12:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:12:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":229194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:12:12] local.INFO: GPS data processed {"connection_id":229194,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:12:12] local.INFO: Acknowledgment sent {"connection_id":229194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:12:14] local.INFO: TCP Data received {"connection_id":229195,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:12:14] local.INFO: Processing buffer {"connection_id":229195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:12:14] local.INFO: IMEI packet received {"connection_id":229195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":229195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:12:20] local.INFO: TCP Data received {"connection_id":229195,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:12:20] local.INFO: Processing buffer {"connection_id":229195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:12:20] local.INFO: IMEI packet received {"connection_id":229195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":229195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:12:21] local.INFO: TCP Data received {"connection_id":229195,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:12:21] local.INFO: Processing buffer {"connection_id":229195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:12:21] local.INFO: Packet analysis {"connection_id":229195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:12:21] local.INFO: Extracted packet for processing {"connection_id":229195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:12:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:21] 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-11-04 06:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:12:21] 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-11-04 06: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-11-04 06:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:12:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:12:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":229195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:12:21] local.INFO: GPS data processed {"connection_id":229195,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:12:21] local.INFO: Acknowledgment sent {"connection_id":229195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:12:34] local.INFO: TCP Data received {"connection_id":230467,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:12:34] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:12:34] local.INFO: IMEI packet received {"connection_id":230467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":230467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:12:40] local.INFO: TCP Data received {"connection_id":230467,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:12:40] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:12:40] local.INFO: IMEI packet received {"connection_id":230467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":230467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:12:41] local.INFO: TCP Data received {"connection_id":230467,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:12:41] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:12:41] local.INFO: Packet analysis {"connection_id":230467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:12:41] local.INFO: Extracted packet for processing {"connection_id":230467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:12:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:12:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:12:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":230467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:12:41] local.INFO: GPS data processed {"connection_id":230467,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:12:41] local.INFO: Acknowledgment sent {"connection_id":230467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:12:53] local.INFO: TCP Data received {"connection_id":229195,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:12:53] local.INFO: Processing buffer {"connection_id":229195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a3fd4558012d3c94c006a39460004601582c..."} 
[2026-11-04 06:12:53] local.INFO: Packet analysis {"connection_id":229195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:12:53] local.INFO: Extracted packet for processing {"connection_id":229195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a3fd"} 
[2026-11-04 06:12:53] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200600576001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:12:53] 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-11-04 06:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793752647000,"timestamp_ms":1793752647000,"timestamp_seconds":1793752647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a3fd4558"} 
[2026-11-04 06:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 06:12:53] 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-11-04 06:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200600576001,"66":26321,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200600576001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:12:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:12:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200600576001,"power":26321,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":229195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:12:53] local.INFO: GPS data processed {"connection_id":229195,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:12:53] local.INFO: Acknowledgment sent {"connection_id":229195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:13:09] local.INFO: TCP Data received {"connection_id":228712,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:13:09] local.INFO: Processing buffer {"connection_id":228712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:13:09] local.INFO: IMEI packet received {"connection_id":228712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":228712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:13:12] local.INFO: TCP Data received {"connection_id":230467,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:12] local.INFO: Processing buffer {"connection_id":230467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:12] local.INFO: Packet analysis {"connection_id":230467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:13:12] local.INFO: Extracted packet for processing {"connection_id":230467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:13:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:13:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":230467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:13:12] local.INFO: GPS data processed {"connection_id":230467,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:13:12] local.INFO: Acknowledgment sent {"connection_id":230467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:13:15] local.INFO: TCP Data received {"connection_id":228712,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:13:15] local.INFO: Processing buffer {"connection_id":228712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:13:15] local.INFO: IMEI packet received {"connection_id":228712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":228712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:13:17] local.INFO: TCP Data received {"connection_id":228712,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:13:17] local.INFO: Processing buffer {"connection_id":228712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:13:17] local.INFO: Packet analysis {"connection_id":228712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:13:17] local.INFO: Extracted packet for processing {"connection_id":228712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:17] 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-11-04 06:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:13:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:13:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":228712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57630,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:13:17] local.INFO: GPS data processed {"connection_id":228712,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:13:17] local.INFO: Acknowledgment sent {"connection_id":228712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:13:40] local.INFO: TCP Data received {"connection_id":228713,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:13:40] local.INFO: Processing buffer {"connection_id":228713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:13:40] local.INFO: IMEI packet received {"connection_id":228713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":228713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:13:45] local.INFO: TCP Data received {"connection_id":228713,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:13:45] local.INFO: Processing buffer {"connection_id":228713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:13:45] local.INFO: IMEI packet received {"connection_id":228713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":228713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:13:46] local.INFO: TCP Data received {"connection_id":228713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:46] local.INFO: Processing buffer {"connection_id":228713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:46] local.INFO: Packet analysis {"connection_id":228713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:13:46] local.INFO: Extracted packet for processing {"connection_id":228713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:13:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:13:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:13:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:13:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":228713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:13:46] local.INFO: GPS data processed {"connection_id":228713,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:13:46] local.INFO: Acknowledgment sent {"connection_id":228713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:13:48] local.INFO: TCP Data received {"connection_id":228712,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:13:48] local.INFO: Processing buffer {"connection_id":228712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:13:48] local.INFO: Packet analysis {"connection_id":228712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:13:48] local.INFO: Extracted packet for processing {"connection_id":228712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:13:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:13:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":228712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:13:48] local.INFO: GPS data processed {"connection_id":228712,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:13:48] local.INFO: Acknowledgment sent {"connection_id":228712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:13:50] local.INFO: TCP Data received {"connection_id":228713,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:50] local.INFO: Processing buffer {"connection_id":228713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:13:50] local.INFO: Packet analysis {"connection_id":228713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:13:50] local.INFO: Extracted packet for processing {"connection_id":228713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:13:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:13:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":228713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:13:50] local.INFO: GPS data processed {"connection_id":228713,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:13:50] local.INFO: Acknowledgment sent {"connection_id":228713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:14:09] local.INFO: TCP Data received {"connection_id":232307,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:14:09] local.INFO: Processing buffer {"connection_id":232307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:14:09] local.INFO: IMEI packet received {"connection_id":232307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":232307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:14:15] local.INFO: TCP Data received {"connection_id":232307,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:14:15] local.INFO: Processing buffer {"connection_id":232307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:14:15] local.INFO: IMEI packet received {"connection_id":232307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":232307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:14:16] local.INFO: TCP Data received {"connection_id":232307,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:14:16] local.INFO: Processing buffer {"connection_id":232307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:14:16] local.INFO: Packet analysis {"connection_id":232307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:14:16] local.INFO: Extracted packet for processing {"connection_id":232307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:14:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:16] 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-11-04 06:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:14:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:14:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":232307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:14:16] local.INFO: GPS data processed {"connection_id":232307,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:14:16] local.INFO: Acknowledgment sent {"connection_id":232307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:14:35] local.INFO: TCP Data received {"connection_id":229196,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:14:35] local.INFO: Processing buffer {"connection_id":229196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:14:35] local.INFO: IMEI packet received {"connection_id":229196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":229196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:14:40] local.INFO: TCP Data received {"connection_id":229196,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:14:40] local.INFO: Processing buffer {"connection_id":229196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:14:40] local.INFO: IMEI packet received {"connection_id":229196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":229196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:14:41] local.INFO: TCP Data received {"connection_id":229196,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:14:41] local.INFO: Processing buffer {"connection_id":229196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:14:41] local.INFO: Packet analysis {"connection_id":229196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:14:41] local.INFO: Extracted packet for processing {"connection_id":229196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:14:41] 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-11-04 06:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:14:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:14:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":229196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:14:41] local.INFO: GPS data processed {"connection_id":229196,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:14:41] local.INFO: Acknowledgment sent {"connection_id":229196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:14:48] local.INFO: TCP Data received {"connection_id":232307,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:14:48] local.INFO: Processing buffer {"connection_id":232307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:14:48] local.INFO: Packet analysis {"connection_id":232307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:14:48] local.INFO: Extracted packet for processing {"connection_id":232307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:14:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:14:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":232307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:14:48] local.INFO: GPS data processed {"connection_id":232307,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:14:48] local.INFO: Acknowledgment sent {"connection_id":232307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:15:09] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:15:09] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:15:09] local.INFO: IMEI packet received {"connection_id":230468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":230468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:15:12] local.INFO: TCP Data received {"connection_id":229196,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:12] local.INFO: Processing buffer {"connection_id":229196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:12] local.INFO: Packet analysis {"connection_id":229196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:15:12] local.INFO: Extracted packet for processing {"connection_id":229196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:15:12] 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-11-04 06:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:15:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:15:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":229196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:15:12] local.INFO: GPS data processed {"connection_id":229196,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:15:12] local.INFO: Acknowledgment sent {"connection_id":229196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:15:15] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:15:15] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:15:15] local.INFO: IMEI packet received {"connection_id":230468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":230468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:15:16] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:15:16] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:15:16] local.INFO: Packet analysis {"connection_id":230468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:15:16] local.INFO: Extracted packet for processing {"connection_id":230468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:16] 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-11-04 06:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:15:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:15:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":230468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:15:16] local.INFO: GPS data processed {"connection_id":230468,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:15:16] local.INFO: Acknowledgment sent {"connection_id":230468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:15:34] local.INFO: TCP Data received {"connection_id":232308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:15:35] local.INFO: Processing buffer {"connection_id":232308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:15:35] local.INFO: IMEI packet received {"connection_id":232308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":232308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:15:40] local.INFO: TCP Data received {"connection_id":232308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:15:40] local.INFO: Processing buffer {"connection_id":232308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:15:40] local.INFO: IMEI packet received {"connection_id":232308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":232308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:15:40] local.INFO: TCP Data received {"connection_id":232308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:40] local.INFO: Processing buffer {"connection_id":232308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:40] local.INFO: Packet analysis {"connection_id":232308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:15:40] local.INFO: Extracted packet for processing {"connection_id":232308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:15:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:15:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:15:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":232308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:15:40] local.INFO: GPS data processed {"connection_id":232308,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:15:40] local.INFO: Acknowledgment sent {"connection_id":232308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:15:45] local.INFO: TCP Data received {"connection_id":232308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:45] local.INFO: Processing buffer {"connection_id":232308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:15:45] local.INFO: Packet analysis {"connection_id":232308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:15:45] local.INFO: Extracted packet for processing {"connection_id":232308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:15:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 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-11-04 06:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:15:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:15:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":232308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:15:45] local.INFO: GPS data processed {"connection_id":232308,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:15:45] local.INFO: Acknowledgment sent {"connection_id":232308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:15:48] local.INFO: TCP Data received {"connection_id":230468,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:15:48] local.INFO: Processing buffer {"connection_id":230468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:15:48] local.INFO: Packet analysis {"connection_id":230468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:15:48] local.INFO: Extracted packet for processing {"connection_id":230468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:15: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-11-04 06:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:15: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":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:15: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-11-04 06:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:15:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:15:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":230468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:15:48] local.INFO: GPS data processed {"connection_id":230468,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:15:48] local.INFO: Acknowledgment sent {"connection_id":230468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:16:15] local.INFO: TCP Data received {"connection_id":228714,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:16:15] local.INFO: Processing buffer {"connection_id":228714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:16:15] local.INFO: IMEI packet received {"connection_id":228714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":228714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:16:16] local.INFO: TCP Data received {"connection_id":232308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:16:16] local.INFO: Processing buffer {"connection_id":232308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:16:16] local.INFO: Packet analysis {"connection_id":232308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:16:16] local.INFO: Extracted packet for processing {"connection_id":232308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:16:16] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:16:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:16:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:16:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":232308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:16:16] local.INFO: GPS data processed {"connection_id":232308,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:16:16] local.INFO: Acknowledgment sent {"connection_id":232308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:16:20] local.INFO: TCP Data received {"connection_id":228714,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:16:20] local.INFO: Processing buffer {"connection_id":228714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:16:20] local.INFO: IMEI packet received {"connection_id":228714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":228714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:16:21] local.INFO: TCP Data received {"connection_id":228714,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:16:21] local.INFO: Processing buffer {"connection_id":228714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:16:21] local.INFO: Packet analysis {"connection_id":228714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:16:21] local.INFO: Extracted packet for processing {"connection_id":228714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:16:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:16: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-11-04 06:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:21] 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-11-04 06:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:16: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-11-04 06:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:16:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:16:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":228714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:16:21] local.INFO: GPS data processed {"connection_id":228714,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:16:21] local.INFO: Acknowledgment sent {"connection_id":228714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:16:26] local.INFO: TCP Data received {"connection_id":228714,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:16:26] local.INFO: Processing buffer {"connection_id":228714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:16:26] local.INFO: Packet analysis {"connection_id":228714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:16:26] local.INFO: Extracted packet for processing {"connection_id":228714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:16:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:26] 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-11-04 06:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:16:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:16:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:16:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:16:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":228714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:16:26] local.INFO: GPS data processed {"connection_id":228714,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:16:26] local.INFO: Acknowledgment sent {"connection_id":228714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:16:34] local.INFO: TCP Data received {"connection_id":230469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:16:35] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:16:35] local.INFO: IMEI packet received {"connection_id":230469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":230469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:16:40] local.INFO: TCP Data received {"connection_id":230469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:16:40] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:16:40] local.INFO: IMEI packet received {"connection_id":230469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":230469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:16:41] local.INFO: TCP Data received {"connection_id":230469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:16:41] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a400c3e0012ce51bc007234b90000900802d..."} 
[2026-11-04 06:16:41] local.INFO: Packet analysis {"connection_id":230469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:16:41] local.INFO: Extracted packet for processing {"connection_id":230469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a400"} 
[2026-11-04 06:16:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200659200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793752876000,"timestamp_ms":1793752876000,"timestamp_seconds":1793752876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a400c3e0"} 
[2026-11-04 06:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 06:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200659200001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200659200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:16:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:16:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200659200001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":230469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:16:41] local.INFO: GPS data processed {"connection_id":230469,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:16:41] local.INFO: Acknowledgment sent {"connection_id":230469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:17:10] local.INFO: TCP Data received {"connection_id":229197,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:17:10] local.INFO: Processing buffer {"connection_id":229197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:17:10] local.INFO: IMEI packet received {"connection_id":229197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":229197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:17:12] local.INFO: TCP Data received {"connection_id":230469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:17:12] local.INFO: Processing buffer {"connection_id":230469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:17:12] local.INFO: Packet analysis {"connection_id":230469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:17:12] local.INFO: Extracted packet for processing {"connection_id":230469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:17:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:17:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":230469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:17:12] local.INFO: GPS data processed {"connection_id":230469,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:17:12] local.INFO: Acknowledgment sent {"connection_id":230469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:17:15] local.INFO: TCP Data received {"connection_id":229197,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:17:15] local.INFO: Processing buffer {"connection_id":229197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:17:15] local.INFO: IMEI packet received {"connection_id":229197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":229197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:17:16] local.INFO: TCP Data received {"connection_id":229197,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:17:16] local.INFO: Processing buffer {"connection_id":229197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:17:16] local.INFO: Packet analysis {"connection_id":229197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:17:16] local.INFO: Extracted packet for processing {"connection_id":229197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:16] 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-11-04 06:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:17:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:17:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":229197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:17:16] local.INFO: GPS data processed {"connection_id":229197,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:17:16] local.INFO: Acknowledgment sent {"connection_id":229197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:17:40] local.INFO: TCP Data received {"connection_id":228715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:17:40] local.INFO: Processing buffer {"connection_id":228715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:17:40] local.INFO: IMEI packet received {"connection_id":228715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":228715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:17:45] local.INFO: TCP Data received {"connection_id":228715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:17:45] local.INFO: Processing buffer {"connection_id":228715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:17:45] local.INFO: IMEI packet received {"connection_id":228715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":228715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:17:46] local.INFO: TCP Data received {"connection_id":228715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:17:46] local.INFO: Processing buffer {"connection_id":228715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:17:46] local.INFO: Packet analysis {"connection_id":228715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:17:46] local.INFO: Extracted packet for processing {"connection_id":228715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:17:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:17:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":228715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:17:46] local.INFO: GPS data processed {"connection_id":228715,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:17:46] local.INFO: Acknowledgment sent {"connection_id":228715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:17:47] local.INFO: TCP Data received {"connection_id":229197,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:17:47] local.INFO: Processing buffer {"connection_id":229197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a401dd20012d3c94c006a39460004601582c..."} 
[2026-11-04 06:17:47] local.INFO: Packet analysis {"connection_id":229197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:17:47] local.INFO: Extracted packet for processing {"connection_id":229197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a401"} 
[2026-11-04 06:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200677632001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:17:47] 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-11-04 06:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793752948000,"timestamp_ms":1793752948000,"timestamp_seconds":1793752948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a401dd20"} 
[2026-11-04 06:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-11-04 06:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200677632001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200677632001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:17:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:17:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200677632001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":229197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:17:47] local.INFO: GPS data processed {"connection_id":229197,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:17:47] local.INFO: Acknowledgment sent {"connection_id":229197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:18:07] local.INFO: TCP Data received {"connection_id":230470,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:07] local.INFO: Processing buffer {"connection_id":230470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:07] local.INFO: IMEI packet received {"connection_id":230470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":230470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:18:09] local.INFO: TCP Data received {"connection_id":230470,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:09] local.INFO: Processing buffer {"connection_id":230470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:09] local.INFO: IMEI packet received {"connection_id":230470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":230470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:18:15] local.INFO: TCP Data received {"connection_id":230470,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:15] local.INFO: Processing buffer {"connection_id":230470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:18:15] local.INFO: IMEI packet received {"connection_id":230470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":230470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:18:16] local.INFO: TCP Data received {"connection_id":230470,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:18:16] local.INFO: Processing buffer {"connection_id":230470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:18:16] local.INFO: Packet analysis {"connection_id":230470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:18:16] local.INFO: Extracted packet for processing {"connection_id":230470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:16] 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-11-04 06:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:18:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:18:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":230470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:18:16] local.INFO: GPS data processed {"connection_id":230470,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:18:16] local.INFO: Acknowledgment sent {"connection_id":230470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:18:35] local.INFO: TCP Data received {"connection_id":229198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:18:35] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:18:35] local.INFO: IMEI packet received {"connection_id":229198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":229198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:18:39] local.INFO: TCP Data received {"connection_id":229198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:18:39] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:18:39] local.INFO: IMEI packet received {"connection_id":229198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":229198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:18:40] local.INFO: TCP Data received {"connection_id":229198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:18:40] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:18:40] local.INFO: Packet analysis {"connection_id":229198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:18:40] local.INFO: Extracted packet for processing {"connection_id":229198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:18:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:18:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:18:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:18:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":229198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:18:40] local.INFO: GPS data processed {"connection_id":229198,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:18:40] local.INFO: Acknowledgment sent {"connection_id":229198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:18:42] local.INFO: TCP Data received {"connection_id":228715,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:18:42] local.INFO: Processing buffer {"connection_id":228715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:18:42] local.INFO: Packet analysis {"connection_id":228715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:18:42] local.INFO: Extracted packet for processing {"connection_id":228715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":228715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":228715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":228715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:18:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":228715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:18:42] local.INFO: GPS data processed {"connection_id":228715,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:18:42] local.INFO: Acknowledgment sent {"connection_id":228715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:18:48] local.INFO: TCP Data received {"connection_id":230470,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:18:48] local.INFO: Processing buffer {"connection_id":230470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:18:48] local.INFO: Packet analysis {"connection_id":230470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:18:48] local.INFO: Extracted packet for processing {"connection_id":230470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:18:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":230470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:18:48] local.INFO: GPS data processed {"connection_id":230470,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:18:48] local.INFO: Acknowledgment sent {"connection_id":230470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:19:11] local.INFO: TCP Data received {"connection_id":229198,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:19:11] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:19:11] local.INFO: Packet analysis {"connection_id":229198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:19:11] local.INFO: Extracted packet for processing {"connection_id":229198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:19:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:19:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:19:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":229198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:19:11] local.INFO: GPS data processed {"connection_id":229198,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:19:11] local.INFO: Acknowledgment sent {"connection_id":229198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:19:15] local.INFO: TCP Data received {"connection_id":229199,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:19:15] local.INFO: Processing buffer {"connection_id":229199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:19:15] local.INFO: IMEI packet received {"connection_id":229199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":229199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:19:20] local.INFO: TCP Data received {"connection_id":229199,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:19:20] local.INFO: Processing buffer {"connection_id":229199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:19:20] local.INFO: IMEI packet received {"connection_id":229199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":229199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:19:21] local.INFO: TCP Data received {"connection_id":229199,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:19:21] local.INFO: Processing buffer {"connection_id":229199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:19:21] local.INFO: Packet analysis {"connection_id":229199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:19:21] local.INFO: Extracted packet for processing {"connection_id":229199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:21] 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-11-04 06:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:19:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:19:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":229199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:19:21] local.INFO: GPS data processed {"connection_id":229199,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:19:21] local.INFO: Acknowledgment sent {"connection_id":229199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:19:25] local.INFO: TCP Data received {"connection_id":229199,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:19:25] local.INFO: Processing buffer {"connection_id":229199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:19:25] local.INFO: Packet analysis {"connection_id":229199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:19:25] local.INFO: Extracted packet for processing {"connection_id":229199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:19:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:25] 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-11-04 06:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:19:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:19:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":229199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:19:25] local.INFO: GPS data processed {"connection_id":229199,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:19:25] local.INFO: Acknowledgment sent {"connection_id":229199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:19:35] local.INFO: TCP Data received {"connection_id":232309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:19:35] local.INFO: Processing buffer {"connection_id":232309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:19:35] local.INFO: IMEI packet received {"connection_id":232309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":232309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:19:39] local.INFO: TCP Data received {"connection_id":232309,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:19:39] local.INFO: Processing buffer {"connection_id":232309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:19:39] local.INFO: IMEI packet received {"connection_id":232309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":232309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:19:41] local.INFO: TCP Data received {"connection_id":232309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:19:41] local.INFO: Processing buffer {"connection_id":232309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:19:41] local.INFO: Packet analysis {"connection_id":232309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:19:41] local.INFO: Extracted packet for processing {"connection_id":232309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:19:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:19:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":232309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:19:41] local.INFO: GPS data processed {"connection_id":232309,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:19:41] local.INFO: Acknowledgment sent {"connection_id":232309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:20:09] local.INFO: TCP Data received {"connection_id":232310,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:20:09] local.INFO: Processing buffer {"connection_id":232310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:20:09] local.INFO: IMEI packet received {"connection_id":232310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":232310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:20:12] local.INFO: TCP Data received {"connection_id":232309,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:20:12] local.INFO: Processing buffer {"connection_id":232309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:20:12] local.INFO: Packet analysis {"connection_id":232309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:20:12] local.INFO: Extracted packet for processing {"connection_id":232309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:20:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:20:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:20:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:20:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":232309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:20:12] local.INFO: GPS data processed {"connection_id":232309,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:20:12] local.INFO: Acknowledgment sent {"connection_id":232309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:20:15] local.INFO: TCP Data received {"connection_id":232310,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:20:15] local.INFO: Processing buffer {"connection_id":232310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:20:15] local.INFO: IMEI packet received {"connection_id":232310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":232310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:20:16] local.INFO: TCP Data received {"connection_id":232310,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:20:16] local.INFO: Processing buffer {"connection_id":232310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:20:16] local.INFO: Packet analysis {"connection_id":232310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:20:16] local.INFO: Extracted packet for processing {"connection_id":232310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:16] 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-11-04 06:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:20:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:20:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":232310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:20:16] local.INFO: GPS data processed {"connection_id":232310,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:20:16] local.INFO: Acknowledgment sent {"connection_id":232310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:20:34] local.INFO: TCP Data received {"connection_id":229200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:20:34] local.INFO: Processing buffer {"connection_id":229200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:20:34] local.INFO: IMEI packet received {"connection_id":229200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":229200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:20:40] local.INFO: TCP Data received {"connection_id":229200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:20:40] local.INFO: Processing buffer {"connection_id":229200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:20:40] local.INFO: IMEI packet received {"connection_id":229200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":229200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:20:40] local.INFO: TCP Data received {"connection_id":229200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:20:40] local.INFO: Processing buffer {"connection_id":229200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:20:40] local.INFO: Packet analysis {"connection_id":229200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:20:40] local.INFO: Extracted packet for processing {"connection_id":229200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:20:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:20:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":229200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:20:40] local.INFO: GPS data processed {"connection_id":229200,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:20:40] local.INFO: Acknowledgment sent {"connection_id":229200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:20:48] local.INFO: TCP Data received {"connection_id":232310,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:20:48] local.INFO: Processing buffer {"connection_id":232310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:20:48] local.INFO: Packet analysis {"connection_id":232310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:20:48] local.INFO: Extracted packet for processing {"connection_id":232310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:20:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:20:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":232310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:20:48] local.INFO: GPS data processed {"connection_id":232310,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:20:48] local.INFO: Acknowledgment sent {"connection_id":232310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:21:09] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:21:09] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:21:09] local.INFO: IMEI packet received {"connection_id":230471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":230471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:21:11] local.INFO: TCP Data received {"connection_id":229200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:21:11] local.INFO: Processing buffer {"connection_id":229200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:21:11] local.INFO: Packet analysis {"connection_id":229200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:21:11] local.INFO: Extracted packet for processing {"connection_id":229200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:21:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":229200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:21:11] local.INFO: GPS data processed {"connection_id":229200,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:21:11] local.INFO: Acknowledgment sent {"connection_id":229200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:21:15] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:21:15] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:21:15] local.INFO: IMEI packet received {"connection_id":230471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":230471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:21:16] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:21:16] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:21:16] local.INFO: Packet analysis {"connection_id":230471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:21:16] local.INFO: Extracted packet for processing {"connection_id":230471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:16] 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-11-04 06:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":230471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:21:16] local.INFO: GPS data processed {"connection_id":230471,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:21:16] local.INFO: Acknowledgment sent {"connection_id":230471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:21:34] local.INFO: TCP Data received {"connection_id":228716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:21:34] local.INFO: Processing buffer {"connection_id":228716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:21:34] local.INFO: IMEI packet received {"connection_id":228716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":228716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:21:39] local.INFO: TCP Data received {"connection_id":228716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:21:39] local.INFO: Processing buffer {"connection_id":228716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:21:39] local.INFO: IMEI packet received {"connection_id":228716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":228716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:21:40] local.INFO: TCP Data received {"connection_id":228716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:21:40] local.INFO: Processing buffer {"connection_id":228716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4055ba8012ce51bc007234b90000900802d..."} 
[2026-11-04 06:21:40] local.INFO: Packet analysis {"connection_id":228716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:21:40] local.INFO: Extracted packet for processing {"connection_id":228716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a405"} 
[2026-11-04 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200736256001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753177000,"timestamp_ms":1793753177000,"timestamp_seconds":1793753177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4055ba8"} 
[2026-11-04 06:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200736256001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200736256001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:21:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:21:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200736256001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":228716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:21:40] local.INFO: GPS data processed {"connection_id":228716,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:21:40] local.INFO: Acknowledgment sent {"connection_id":228716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:21:47] local.INFO: TCP Data received {"connection_id":230471,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:21:47] local.INFO: Processing buffer {"connection_id":230471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:21:47] local.INFO: Packet analysis {"connection_id":230471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:21:47] local.INFO: Extracted packet for processing {"connection_id":230471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:21:47] 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-11-04 06:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:21:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:21:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":230471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:21:47] local.INFO: GPS data processed {"connection_id":230471,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:21:47] local.INFO: Acknowledgment sent {"connection_id":230471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:22:09] local.INFO: TCP Data received {"connection_id":232311,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:22:09] local.INFO: Processing buffer {"connection_id":232311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:22:09] local.INFO: IMEI packet received {"connection_id":232311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":232311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:22:11] local.INFO: TCP Data received {"connection_id":228716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:22:11] local.INFO: Processing buffer {"connection_id":228716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:22:11] local.INFO: Packet analysis {"connection_id":228716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:22:11] local.INFO: Extracted packet for processing {"connection_id":228716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:22:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:22:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:22:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":228716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:22:11] local.INFO: GPS data processed {"connection_id":228716,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:22:11] local.INFO: Acknowledgment sent {"connection_id":228716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:22:15] local.INFO: TCP Data received {"connection_id":232311,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:22:15] local.INFO: Processing buffer {"connection_id":232311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:22:15] local.INFO: IMEI packet received {"connection_id":232311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":232311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:22:17] local.INFO: TCP Data received {"connection_id":232311,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:22:17] local.INFO: Processing buffer {"connection_id":232311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:22:17] local.INFO: Packet analysis {"connection_id":232311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:22:17] local.INFO: Extracted packet for processing {"connection_id":232311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:17] 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-11-04 06:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:22:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:22:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":232311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:22:17] local.INFO: GPS data processed {"connection_id":232311,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:22:17] local.INFO: Acknowledgment sent {"connection_id":232311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:22:34] local.INFO: TCP Data received {"connection_id":232312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:22:34] local.INFO: Processing buffer {"connection_id":232312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:22:34] local.INFO: IMEI packet received {"connection_id":232312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":232312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:22:39] local.INFO: TCP Data received {"connection_id":232312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:22:39] local.INFO: Processing buffer {"connection_id":232312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:22:39] local.INFO: IMEI packet received {"connection_id":232312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":232312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:22:40] local.INFO: TCP Data received {"connection_id":232312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:22:40] local.INFO: Processing buffer {"connection_id":232312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:22:40] local.INFO: Packet analysis {"connection_id":232312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:22:40] local.INFO: Extracted packet for processing {"connection_id":232312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:22:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:22:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:22:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:22:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":232312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:22:40] local.INFO: GPS data processed {"connection_id":232312,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:22:40] local.INFO: Acknowledgment sent {"connection_id":232312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:22:49] local.INFO: TCP Data received {"connection_id":232311,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:22:49] local.INFO: Processing buffer {"connection_id":232311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40674e8012d3c94c006a39460004601582c..."} 
[2026-11-04 06:22:49] local.INFO: Packet analysis {"connection_id":232311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:22:49] local.INFO: Extracted packet for processing {"connection_id":232311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a406"} 
[2026-11-04 06:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200754688001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:22:49] 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-11-04 06:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793753249000,"timestamp_ms":1793753249000,"timestamp_seconds":1793753249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40674e8"} 
[2026-11-04 06:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200754688001,"66":26310,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200754688001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:22:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:22:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200754688001,"power":26310,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":232311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:22:49] local.INFO: GPS data processed {"connection_id":232311,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:22:49] local.INFO: Acknowledgment sent {"connection_id":232311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:23:11] local.INFO: TCP Data received {"connection_id":232312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:11] local.INFO: Processing buffer {"connection_id":232312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:11] local.INFO: Packet analysis {"connection_id":232312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:23:11] local.INFO: Extracted packet for processing {"connection_id":232312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:23:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:23:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":232312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:23:11] local.INFO: GPS data processed {"connection_id":232312,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:23:11] local.INFO: Acknowledgment sent {"connection_id":232312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:23:15] local.INFO: TCP Data received {"connection_id":229201,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:23:15] local.INFO: Processing buffer {"connection_id":229201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:23:15] local.INFO: IMEI packet received {"connection_id":229201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":229201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:23:20] local.INFO: TCP Data received {"connection_id":229201,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:23:20] local.INFO: Processing buffer {"connection_id":229201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:23:20] local.INFO: IMEI packet received {"connection_id":229201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":229201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:23:21] local.INFO: TCP Data received {"connection_id":229201,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:23:21] local.INFO: Processing buffer {"connection_id":229201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:23:21] local.INFO: Packet analysis {"connection_id":229201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:23:21] local.INFO: Extracted packet for processing {"connection_id":229201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:21] 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-11-04 06:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:23:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:23:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":229201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:23:21] local.INFO: GPS data processed {"connection_id":229201,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:23:21] local.INFO: Acknowledgment sent {"connection_id":229201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:23:26] local.INFO: TCP Data received {"connection_id":229201,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:23:26] local.INFO: Processing buffer {"connection_id":229201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:23:26] local.INFO: Packet analysis {"connection_id":229201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:23:26] local.INFO: Extracted packet for processing {"connection_id":229201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:23:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:26] 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-11-04 06:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:23:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:23:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":229201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:23:26] local.INFO: GPS data processed {"connection_id":229201,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:23:26] local.INFO: Acknowledgment sent {"connection_id":229201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:23:39] local.INFO: TCP Data received {"connection_id":228717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:23:39] local.INFO: Processing buffer {"connection_id":228717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:23:39] local.INFO: IMEI packet received {"connection_id":228717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":228717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:23:44] local.INFO: TCP Data received {"connection_id":228717,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:23:44] local.INFO: Processing buffer {"connection_id":228717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:23:44] local.INFO: IMEI packet received {"connection_id":228717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":228717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:23:45] local.INFO: TCP Data received {"connection_id":228717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:45] local.INFO: Processing buffer {"connection_id":228717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:45] local.INFO: Packet analysis {"connection_id":228717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:23:45] local.INFO: Extracted packet for processing {"connection_id":228717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:23:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 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-11-04 06:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:23:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:23:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:23:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":228717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:23:45] local.INFO: GPS data processed {"connection_id":228717,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:23:45] local.INFO: Acknowledgment sent {"connection_id":228717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:23:50] local.INFO: TCP Data received {"connection_id":228717,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:50] local.INFO: Processing buffer {"connection_id":228717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:23:50] local.INFO: Packet analysis {"connection_id":228717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:23:50] local.INFO: Extracted packet for processing {"connection_id":228717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:23:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:23:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":228717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:23:50] local.INFO: GPS data processed {"connection_id":228717,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:23:50] local.INFO: Acknowledgment sent {"connection_id":228717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:24:09] local.INFO: TCP Data received {"connection_id":232313,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:24:09] local.INFO: Processing buffer {"connection_id":232313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:24:09] local.INFO: IMEI packet received {"connection_id":232313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":232313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:24:15] local.INFO: TCP Data received {"connection_id":232313,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:24:15] local.INFO: Processing buffer {"connection_id":232313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:24:15] local.INFO: IMEI packet received {"connection_id":232313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":232313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:24:16] local.INFO: TCP Data received {"connection_id":232313,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:24:16] local.INFO: Processing buffer {"connection_id":232313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:24:16] local.INFO: Packet analysis {"connection_id":232313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:24:16] local.INFO: Extracted packet for processing {"connection_id":232313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:16] 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-11-04 06:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:24:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:24:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":232313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:24:16] local.INFO: GPS data processed {"connection_id":232313,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:24:16] local.INFO: Acknowledgment sent {"connection_id":232313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:24:34] local.INFO: TCP Data received {"connection_id":229202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:24:34] local.INFO: Processing buffer {"connection_id":229202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:24:34] local.INFO: IMEI packet received {"connection_id":229202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":229202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:24:39] local.INFO: TCP Data received {"connection_id":229202,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:24:39] local.INFO: Processing buffer {"connection_id":229202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:24:39] local.INFO: IMEI packet received {"connection_id":229202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":229202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:24:40] local.INFO: TCP Data received {"connection_id":229202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:24:40] local.INFO: Processing buffer {"connection_id":229202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:24:40] local.INFO: Packet analysis {"connection_id":229202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:24:40] local.INFO: Extracted packet for processing {"connection_id":229202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:24:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:24:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:24:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:24:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":229202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:24:40] local.INFO: GPS data processed {"connection_id":229202,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:24:40] local.INFO: Acknowledgment sent {"connection_id":229202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:24:48] local.INFO: TCP Data received {"connection_id":232313,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:24:48] local.INFO: Processing buffer {"connection_id":232313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:24:48] local.INFO: Packet analysis {"connection_id":232313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:24:48] local.INFO: Extracted packet for processing {"connection_id":232313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:24:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:24:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":232313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:24:48] local.INFO: GPS data processed {"connection_id":232313,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:24:48] local.INFO: Acknowledgment sent {"connection_id":232313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:25:09] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:25:09] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:25:09] local.INFO: IMEI packet received {"connection_id":229203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":229203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:25:11] local.INFO: TCP Data received {"connection_id":229202,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:25:11] local.INFO: Processing buffer {"connection_id":229202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:25:11] local.INFO: Packet analysis {"connection_id":229202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:25:11] local.INFO: Extracted packet for processing {"connection_id":229202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:25:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:25:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":229202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:25:11] local.INFO: GPS data processed {"connection_id":229202,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:25:11] local.INFO: Acknowledgment sent {"connection_id":229202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:25:15] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:25:15] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:25:15] local.INFO: IMEI packet received {"connection_id":229203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":229203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:25:16] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:25:16] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:25:16] local.INFO: Packet analysis {"connection_id":229203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:25:16] local.INFO: Extracted packet for processing {"connection_id":229203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:25:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:16] 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-11-04 06:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:25:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:25:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":229203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:25:16] local.INFO: GPS data processed {"connection_id":229203,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:25:16] local.INFO: Acknowledgment sent {"connection_id":229203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:25:34] local.INFO: TCP Data received {"connection_id":232314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:25:34] local.INFO: Processing buffer {"connection_id":232314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:25:34] local.INFO: IMEI packet received {"connection_id":232314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":232314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:25:39] local.INFO: TCP Data received {"connection_id":232314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:25:39] local.INFO: Processing buffer {"connection_id":232314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:25:39] local.INFO: IMEI packet received {"connection_id":232314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":232314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:25:40] local.INFO: TCP Data received {"connection_id":232314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:25:40] local.INFO: Processing buffer {"connection_id":232314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:25:40] local.INFO: Packet analysis {"connection_id":232314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:25:40] local.INFO: Extracted packet for processing {"connection_id":232314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:25:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:25:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":232314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:25:40] local.INFO: GPS data processed {"connection_id":232314,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:25:40] local.INFO: Acknowledgment sent {"connection_id":232314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:25:47] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:25:47] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:25:47] local.INFO: Packet analysis {"connection_id":229203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:25:47] local.INFO: Extracted packet for processing {"connection_id":229203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:25:47] 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-11-04 06:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:25:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:25:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:25:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":229203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:25:47] local.INFO: GPS data processed {"connection_id":229203,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:25:47] local.INFO: Acknowledgment sent {"connection_id":229203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:26:11] local.INFO: TCP Data received {"connection_id":232314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:26:11] local.INFO: Processing buffer {"connection_id":232314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:26:11] local.INFO: Packet analysis {"connection_id":232314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:26:11] local.INFO: Extracted packet for processing {"connection_id":232314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:26:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":232314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:26:11] local.INFO: GPS data processed {"connection_id":232314,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:26:11] local.INFO: Acknowledgment sent {"connection_id":232314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:26:15] local.INFO: TCP Data received {"connection_id":229204,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:26:15] local.INFO: Processing buffer {"connection_id":229204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:26:15] local.INFO: IMEI packet received {"connection_id":229204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":229204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:26:20] local.INFO: TCP Data received {"connection_id":229204,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:26:20] local.INFO: Processing buffer {"connection_id":229204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:26:20] local.INFO: IMEI packet received {"connection_id":229204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":229204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:26:21] local.INFO: TCP Data received {"connection_id":229204,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:26:21] local.INFO: Processing buffer {"connection_id":229204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:26:21] local.INFO: Packet analysis {"connection_id":229204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:26:21] local.INFO: Extracted packet for processing {"connection_id":229204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:26:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:21] 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-11-04 06:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 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-11-04 06:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:26:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:26:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":229204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:26:21] local.INFO: GPS data processed {"connection_id":229204,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:26:21] local.INFO: Acknowledgment sent {"connection_id":229204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:26:25] local.INFO: TCP Data received {"connection_id":229204,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:26:25] local.INFO: Processing buffer {"connection_id":229204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:26:25] local.INFO: Packet analysis {"connection_id":229204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:26:25] local.INFO: Extracted packet for processing {"connection_id":229204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:26:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:25] 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-11-04 06:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:26:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:26:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":229204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:26:26] local.INFO: GPS data processed {"connection_id":229204,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:26:26] local.INFO: Acknowledgment sent {"connection_id":229204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:26:34] local.INFO: TCP Data received {"connection_id":228718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:26:34] local.INFO: Processing buffer {"connection_id":228718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:26:34] local.INFO: IMEI packet received {"connection_id":228718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":228718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:26:39] local.INFO: TCP Data received {"connection_id":228718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:26:39] local.INFO: Processing buffer {"connection_id":228718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:26:39] local.INFO: IMEI packet received {"connection_id":228718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":228718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:26:40] local.INFO: TCP Data received {"connection_id":228718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:26:40] local.INFO: Processing buffer {"connection_id":228718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a409f370012ce51bc007234b90000900802b..."} 
[2026-11-04 06:26:40] local.INFO: Packet analysis {"connection_id":228718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:26:40] local.INFO: Extracted packet for processing {"connection_id":228718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a409"} 
[2026-11-04 06:26:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":43,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200813312001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753478000,"timestamp_ms":1793753478000,"timestamp_seconds":1793753478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a409f370"} 
[2026-11-04 06:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200813312001,"66":24636,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200813312001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:26:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200813312001,"power":24636,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":228718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:26:40] local.INFO: GPS data processed {"connection_id":228718,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:26:40] local.INFO: Acknowledgment sent {"connection_id":228718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:27:10] local.INFO: TCP Data received {"connection_id":228719,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:27:10] local.INFO: Processing buffer {"connection_id":228719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:27:10] local.INFO: IMEI packet received {"connection_id":228719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":228719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:27:11] local.INFO: TCP Data received {"connection_id":228718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:27:11] local.INFO: Processing buffer {"connection_id":228718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:27:11] local.INFO: Packet analysis {"connection_id":228718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:27:11] local.INFO: Extracted packet for processing {"connection_id":228718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:27:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:27:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":228718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:27:11] local.INFO: GPS data processed {"connection_id":228718,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:27:11] local.INFO: Acknowledgment sent {"connection_id":228718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:27:15] local.INFO: TCP Data received {"connection_id":228719,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:27:15] local.INFO: Processing buffer {"connection_id":228719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:27:15] local.INFO: IMEI packet received {"connection_id":228719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":228719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:27:16] local.INFO: TCP Data received {"connection_id":228719,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:27:16] local.INFO: Processing buffer {"connection_id":228719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:27:16] local.INFO: Packet analysis {"connection_id":228719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:27:16] local.INFO: Extracted packet for processing {"connection_id":228719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:16] 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-11-04 06:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:27:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:27:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":228719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:27:16] local.INFO: GPS data processed {"connection_id":228719,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:27:16] local.INFO: Acknowledgment sent {"connection_id":228719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:27:34] local.INFO: TCP Data received {"connection_id":230472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:27:34] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:27:34] local.INFO: IMEI packet received {"connection_id":230472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":230472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:27:39] local.INFO: TCP Data received {"connection_id":230472,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:27:39] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:27:39] local.INFO: IMEI packet received {"connection_id":230472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":230472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:27:40] local.INFO: TCP Data received {"connection_id":230472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:27:40] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:27:40] local.INFO: Packet analysis {"connection_id":230472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:27:40] local.INFO: Extracted packet for processing {"connection_id":230472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:27:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:27:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:27:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:27:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":230472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:27:40] local.INFO: GPS data processed {"connection_id":230472,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:27:40] local.INFO: Acknowledgment sent {"connection_id":230472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:27:47] local.INFO: TCP Data received {"connection_id":228719,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:27:47] local.INFO: Processing buffer {"connection_id":228719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40b0cb0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:27:47] local.INFO: Packet analysis {"connection_id":228719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:27:47] local.INFO: Extracted packet for processing {"connection_id":228719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40b"} 
[2026-11-04 06:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200831744001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:27:47] 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-11-04 06:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793753550000,"timestamp_ms":1793753550000,"timestamp_seconds":1793753550,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40b0cb0"} 
[2026-11-04 06:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-11-04 06:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2490,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200831744001,"66":26299,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200831744001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:27:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:27:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200831744001,"power":26299,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":228719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:27:47] local.INFO: GPS data processed {"connection_id":228719,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:27:47] local.INFO: Acknowledgment sent {"connection_id":228719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:28:09] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:09] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:09] local.INFO: IMEI packet received {"connection_id":229205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:28:10] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:10] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:10] local.INFO: IMEI packet received {"connection_id":229205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":229205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:28:11] local.INFO: TCP Data received {"connection_id":230472,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:28:11] local.INFO: Processing buffer {"connection_id":230472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:28:11] local.INFO: Packet analysis {"connection_id":230472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:28:11] local.INFO: Extracted packet for processing {"connection_id":230472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:28:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:28:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:28:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:28:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":230472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:28:11] local.INFO: GPS data processed {"connection_id":230472,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:28:11] local.INFO: Acknowledgment sent {"connection_id":230472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:28:15] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:15] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:28:15] local.INFO: IMEI packet received {"connection_id":229205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":229205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:28:16] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:28:16] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:28:16] local.INFO: Packet analysis {"connection_id":229205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:28:16] local.INFO: Extracted packet for processing {"connection_id":229205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:16] 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-11-04 06:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:28:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:28:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":229205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:28:16] local.INFO: GPS data processed {"connection_id":229205,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:28:16] local.INFO: Acknowledgment sent {"connection_id":229205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:28:34] local.INFO: TCP Data received {"connection_id":230473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:28:34] local.INFO: Processing buffer {"connection_id":230473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:28:34] local.INFO: IMEI packet received {"connection_id":230473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":230473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:28:39] local.INFO: TCP Data received {"connection_id":230473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:28:39] local.INFO: Processing buffer {"connection_id":230473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:28:39] local.INFO: IMEI packet received {"connection_id":230473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":230473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:28:40] local.INFO: TCP Data received {"connection_id":230473,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:28:40] local.INFO: Processing buffer {"connection_id":230473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:28:40] local.INFO: Packet analysis {"connection_id":230473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:28:40] local.INFO: Extracted packet for processing {"connection_id":230473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:28:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":230473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:28:40] local.INFO: GPS data processed {"connection_id":230473,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:28:40] local.INFO: Acknowledgment sent {"connection_id":230473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:28:48] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:28:48] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:28:48] local.INFO: Packet analysis {"connection_id":229205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:28:48] local.INFO: Extracted packet for processing {"connection_id":229205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:28:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:28:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":229205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:28:48] local.INFO: GPS data processed {"connection_id":229205,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:28:48] local.INFO: Acknowledgment sent {"connection_id":229205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:29:10] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:29:10] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:29:10] local.INFO: IMEI packet received {"connection_id":230474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":230474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:29:11] local.INFO: TCP Data received {"connection_id":230473,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:29:11] local.INFO: Processing buffer {"connection_id":230473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:29:11] local.INFO: Packet analysis {"connection_id":230473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:29:11] local.INFO: Extracted packet for processing {"connection_id":230473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:29:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:29:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":230473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:29:11] local.INFO: GPS data processed {"connection_id":230473,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:29:11] local.INFO: Acknowledgment sent {"connection_id":230473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:29:15] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:29:15] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:29:15] local.INFO: IMEI packet received {"connection_id":230474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":230474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:29:16] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:29:16] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:29:16] local.INFO: Packet analysis {"connection_id":230474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:29:16] local.INFO: Extracted packet for processing {"connection_id":230474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:29: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-11-04 06:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:16] 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-11-04 06:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:29: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":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:29: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-11-04 06:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:29:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:29:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":230474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:29:16] local.INFO: GPS data processed {"connection_id":230474,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:29:16] local.INFO: Acknowledgment sent {"connection_id":230474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:29:34] local.INFO: TCP Data received {"connection_id":229206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:29:34] local.INFO: Processing buffer {"connection_id":229206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:29:34] local.INFO: IMEI packet received {"connection_id":229206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":229206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:29:39] local.INFO: TCP Data received {"connection_id":229206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:29:39] local.INFO: Processing buffer {"connection_id":229206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:29:39] local.INFO: IMEI packet received {"connection_id":229206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":229206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:29:40] local.INFO: TCP Data received {"connection_id":229206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:29:40] local.INFO: Processing buffer {"connection_id":229206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:29:40] local.INFO: Packet analysis {"connection_id":229206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:29:40] local.INFO: Extracted packet for processing {"connection_id":229206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:29:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:29:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:29:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":229206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:29:40] local.INFO: GPS data processed {"connection_id":229206,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:29:40] local.INFO: Acknowledgment sent {"connection_id":229206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:29:47] local.INFO: TCP Data received {"connection_id":230474,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:29:47] local.INFO: Processing buffer {"connection_id":230474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:29:47] local.INFO: Packet analysis {"connection_id":230474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:29:47] local.INFO: Extracted packet for processing {"connection_id":230474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:29:47] 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-11-04 06:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:29:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:29:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":230474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:29:47] local.INFO: GPS data processed {"connection_id":230474,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:29:47] local.INFO: Acknowledgment sent {"connection_id":230474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:30:09] local.INFO: TCP Data received {"connection_id":228720,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:30:09] local.INFO: Processing buffer {"connection_id":228720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:30:09] local.INFO: IMEI packet received {"connection_id":228720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":228720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:30:11] local.INFO: TCP Data received {"connection_id":229206,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:30:11] local.INFO: Processing buffer {"connection_id":229206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:30:11] local.INFO: Packet analysis {"connection_id":229206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:30:11] local.INFO: Extracted packet for processing {"connection_id":229206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:30:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:30:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:30:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:30:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":229206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:30:11] local.INFO: GPS data processed {"connection_id":229206,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:30:11] local.INFO: Acknowledgment sent {"connection_id":229206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:30:15] local.INFO: TCP Data received {"connection_id":228720,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:30:15] local.INFO: Processing buffer {"connection_id":228720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:30:15] local.INFO: IMEI packet received {"connection_id":228720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":228720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:30:16] local.INFO: TCP Data received {"connection_id":228720,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:30:16] local.INFO: Processing buffer {"connection_id":228720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:30:16] local.INFO: Packet analysis {"connection_id":228720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:30:16] local.INFO: Extracted packet for processing {"connection_id":228720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:16] 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-11-04 06:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:30:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:30:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":228720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:30:16] local.INFO: GPS data processed {"connection_id":228720,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:30:16] local.INFO: Acknowledgment sent {"connection_id":228720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:30:37] local.INFO: TCP Data received {"connection_id":230475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:30:37] local.INFO: Processing buffer {"connection_id":230475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:30:37] local.INFO: IMEI packet received {"connection_id":230475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":230475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:30:39] local.INFO: TCP Data received {"connection_id":230475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:30:39] local.INFO: Processing buffer {"connection_id":230475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:30:39] local.INFO: IMEI packet received {"connection_id":230475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":230475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:30:48] local.INFO: TCP Data received {"connection_id":228720,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:30:48] local.INFO: Processing buffer {"connection_id":228720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:30:48] local.INFO: Packet analysis {"connection_id":228720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:30:48] local.INFO: Extracted packet for processing {"connection_id":228720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:30:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:30:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":228720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:30:48] local.INFO: GPS data processed {"connection_id":228720,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:30:48] local.INFO: Acknowledgment sent {"connection_id":228720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:30:58] local.INFO: TCP Data received {"connection_id":230475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:30:58] local.INFO: Processing buffer {"connection_id":230475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:30:58] local.INFO: Packet analysis {"connection_id":230475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:30:58] local.INFO: Extracted packet for processing {"connection_id":230475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:30:58] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:30: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-11-04 06:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:30:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":230475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:30:58] local.INFO: GPS data processed {"connection_id":230475,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:30:58] local.INFO: Acknowledgment sent {"connection_id":230475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:31:09] local.INFO: TCP Data received {"connection_id":228721,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:31:09] local.INFO: Processing buffer {"connection_id":228721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:31:09] local.INFO: IMEI packet received {"connection_id":228721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":228721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:31:15] local.INFO: TCP Data received {"connection_id":228721,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:31:15] local.INFO: Processing buffer {"connection_id":228721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:31:15] local.INFO: IMEI packet received {"connection_id":228721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":228721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:31:16] local.INFO: TCP Data received {"connection_id":228721,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:31:16] local.INFO: Processing buffer {"connection_id":228721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:31:16] local.INFO: Packet analysis {"connection_id":228721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:31:16] local.INFO: Extracted packet for processing {"connection_id":228721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:16] 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-11-04 06:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 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-11-04 06:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:31:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:31:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":228721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:31:16] local.INFO: GPS data processed {"connection_id":228721,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:31:16] local.INFO: Acknowledgment sent {"connection_id":228721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:31:39] local.INFO: TCP Data received {"connection_id":229207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:31:39] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:31:39] local.INFO: IMEI packet received {"connection_id":229207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":229207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:31:44] local.INFO: TCP Data received {"connection_id":229207,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:31:44] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:31:44] local.INFO: IMEI packet received {"connection_id":229207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":229207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:31:45] local.INFO: TCP Data received {"connection_id":229207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:31:45] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:31:45] local.INFO: Packet analysis {"connection_id":229207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:31:45] local.INFO: Extracted packet for processing {"connection_id":229207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:31:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:31:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:31:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:31:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":229207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:31:45] local.INFO: GPS data processed {"connection_id":229207,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:31:45] local.INFO: Acknowledgment sent {"connection_id":229207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:31:47] local.INFO: TCP Data received {"connection_id":228721,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:31:47] local.INFO: Processing buffer {"connection_id":228721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:31:47] local.INFO: Packet analysis {"connection_id":228721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:31:47] local.INFO: Extracted packet for processing {"connection_id":228721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:47] 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-11-04 06:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:31:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:31:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":228721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:31:47] local.INFO: GPS data processed {"connection_id":228721,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:31:47] local.INFO: Acknowledgment sent {"connection_id":228721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:31:50] local.INFO: TCP Data received {"connection_id":229207,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:31:50] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40e8b38012ce51bc007234b90000900802d..."} 
[2026-11-04 06:31:50] local.INFO: Packet analysis {"connection_id":229207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:31:50] local.INFO: Extracted packet for processing {"connection_id":229207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40e"} 
[2026-11-04 06:31:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200890368001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793753779000,"timestamp_ms":1793753779000,"timestamp_seconds":1793753779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40e8b38"} 
[2026-11-04 06:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 06:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200890368001,"66":24658,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200890368001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:31:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200890368001,"power":24658,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":229207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:31:50] local.INFO: GPS data processed {"connection_id":229207,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:31:50] local.INFO: Acknowledgment sent {"connection_id":229207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:32:15] local.INFO: TCP Data received {"connection_id":232315,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:32:15] local.INFO: Processing buffer {"connection_id":232315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:32:15] local.INFO: IMEI packet received {"connection_id":232315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":232315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:32:20] local.INFO: TCP Data received {"connection_id":232315,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:32:20] local.INFO: Processing buffer {"connection_id":232315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:32:20] local.INFO: IMEI packet received {"connection_id":232315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":232315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:32:21] local.INFO: TCP Data received {"connection_id":232315,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:32:21] local.INFO: Processing buffer {"connection_id":232315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:32:21] local.INFO: Packet analysis {"connection_id":232315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:32:21] local.INFO: Extracted packet for processing {"connection_id":232315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:21] 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-11-04 06:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:32:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:32:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":232315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:32:21] local.INFO: GPS data processed {"connection_id":232315,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:32:21] local.INFO: Acknowledgment sent {"connection_id":232315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:32:25] local.INFO: TCP Data received {"connection_id":232315,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:32:25] local.INFO: Processing buffer {"connection_id":232315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a40fa478012d3c94c006a39460004601582c..."} 
[2026-11-04 06:32:25] local.INFO: Packet analysis {"connection_id":232315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:32:25] local.INFO: Extracted packet for processing {"connection_id":232315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a40f"} 
[2026-11-04 06:32:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200908800001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:25] 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-11-04 06:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793753851000,"timestamp_ms":1793753851000,"timestamp_seconds":1793753851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a40fa478"} 
[2026-11-04 06:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-11-04 06:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2391,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200908800001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200908800001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:32:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:32:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200908800001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":232315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:32:25] local.INFO: GPS data processed {"connection_id":232315,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:32:25] local.INFO: Acknowledgment sent {"connection_id":232315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:32:34] local.INFO: TCP Data received {"connection_id":232316,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:32:34] local.INFO: Processing buffer {"connection_id":232316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:32:34] local.INFO: IMEI packet received {"connection_id":232316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":232316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:32:40] local.INFO: TCP Data received {"connection_id":232316,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:32:40] local.INFO: Processing buffer {"connection_id":232316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:32:40] local.INFO: IMEI packet received {"connection_id":232316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":232316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:32:41] local.INFO: TCP Data received {"connection_id":232316,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:32:41] local.INFO: Processing buffer {"connection_id":232316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:32:41] local.INFO: Packet analysis {"connection_id":232316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:32:41] local.INFO: Extracted packet for processing {"connection_id":232316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:32:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":232316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:32:41] local.INFO: GPS data processed {"connection_id":232316,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:32:41] local.INFO: Acknowledgment sent {"connection_id":232316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:33:10] local.INFO: TCP Data received {"connection_id":228722,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:10] local.INFO: Processing buffer {"connection_id":228722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:10] local.INFO: IMEI packet received {"connection_id":228722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":228722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:33:10] local.INFO: TCP Data received {"connection_id":228722,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:10] local.INFO: Processing buffer {"connection_id":228722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:10] local.INFO: IMEI packet received {"connection_id":228722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":228722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:33:12] local.INFO: TCP Data received {"connection_id":232316,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:33:12] local.INFO: Processing buffer {"connection_id":232316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:33:12] local.INFO: Packet analysis {"connection_id":232316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:33:12] local.INFO: Extracted packet for processing {"connection_id":232316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:33:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:33: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-11-04 06:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:33:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:33:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":232316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:33:12] local.INFO: GPS data processed {"connection_id":232316,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:33:12] local.INFO: Acknowledgment sent {"connection_id":232316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:33:15] local.INFO: TCP Data received {"connection_id":228722,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:15] local.INFO: Processing buffer {"connection_id":228722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:33:15] local.INFO: IMEI packet received {"connection_id":228722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":228722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:33:16] local.INFO: TCP Data received {"connection_id":228722,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:33:16] local.INFO: Processing buffer {"connection_id":228722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:33:16] local.INFO: Packet analysis {"connection_id":228722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:33:16] local.INFO: Extracted packet for processing {"connection_id":228722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:16] 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-11-04 06:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:33:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:33:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":228722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:33:16] local.INFO: GPS data processed {"connection_id":228722,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:33:16] local.INFO: Acknowledgment sent {"connection_id":228722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:33:34] local.INFO: TCP Data received {"connection_id":232317,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:33:34] local.INFO: Processing buffer {"connection_id":232317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:33:34] local.INFO: IMEI packet received {"connection_id":232317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":232317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:33:40] local.INFO: TCP Data received {"connection_id":232317,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:33:40] local.INFO: Processing buffer {"connection_id":232317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:33:40] local.INFO: IMEI packet received {"connection_id":232317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":232317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:33:41] local.INFO: TCP Data received {"connection_id":232317,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:33:41] local.INFO: Processing buffer {"connection_id":232317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:33:41] local.INFO: Packet analysis {"connection_id":232317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:33:41] local.INFO: Extracted packet for processing {"connection_id":232317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:33:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:33:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":232317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:33:41] local.INFO: GPS data processed {"connection_id":232317,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:33:41] local.INFO: Acknowledgment sent {"connection_id":232317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:33:47] local.INFO: TCP Data received {"connection_id":228722,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:33:47] local.INFO: Processing buffer {"connection_id":228722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:33:47] local.INFO: Packet analysis {"connection_id":228722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:33:47] local.INFO: Extracted packet for processing {"connection_id":228722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:33:47] 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-11-04 06:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:33:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:33:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":228722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:33:47] local.INFO: GPS data processed {"connection_id":228722,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:33:47] local.INFO: Acknowledgment sent {"connection_id":228722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:34:09] local.INFO: TCP Data received {"connection_id":229208,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:34:09] local.INFO: Processing buffer {"connection_id":229208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:34:09] local.INFO: IMEI packet received {"connection_id":229208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":229208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:34:15] local.INFO: TCP Data received {"connection_id":229208,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:34:15] local.INFO: Processing buffer {"connection_id":229208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:34:15] local.INFO: IMEI packet received {"connection_id":229208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":229208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:34:16] local.INFO: TCP Data received {"connection_id":229208,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:34:16] local.INFO: Processing buffer {"connection_id":229208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:34:16] local.INFO: Packet analysis {"connection_id":229208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:34:16] local.INFO: Extracted packet for processing {"connection_id":229208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:34:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:16] 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-11-04 06:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:34:16] local.INFO: TCP Data received {"connection_id":232317,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:34:16] local.INFO: Processing buffer {"connection_id":232317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:34:16] local.INFO: Packet analysis {"connection_id":232317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:34:16] local.INFO: Extracted packet for processing {"connection_id":232317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:34:16] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:34:16] 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-11-04 06:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:34:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":229208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:34:16] local.INFO: GPS data processed {"connection_id":229208,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:34:16] local.INFO: Acknowledgment sent {"connection_id":229208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":232317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:34:16] local.INFO: GPS data processed {"connection_id":232317,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:34:16] local.INFO: Acknowledgment sent {"connection_id":232317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:34:34] local.INFO: TCP Data received {"connection_id":230476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:34:34] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:34:34] local.INFO: IMEI packet received {"connection_id":230476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":230476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:34:39] local.INFO: TCP Data received {"connection_id":230476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:34:39] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:34:39] local.INFO: IMEI packet received {"connection_id":230476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":230476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:34:40] local.INFO: TCP Data received {"connection_id":230476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:34:40] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:34:40] local.INFO: Packet analysis {"connection_id":230476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:34:40] local.INFO: Extracted packet for processing {"connection_id":230476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:34:40] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:34:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:34:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:34:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":230476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:34:40] local.INFO: GPS data processed {"connection_id":230476,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:34:40] local.INFO: Acknowledgment sent {"connection_id":230476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:34:48] local.INFO: TCP Data received {"connection_id":229208,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:34:48] local.INFO: Processing buffer {"connection_id":229208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:34:48] local.INFO: Packet analysis {"connection_id":229208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:34:48] local.INFO: Extracted packet for processing {"connection_id":229208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:34:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:34:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":229208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:34:48] local.INFO: GPS data processed {"connection_id":229208,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:34:48] local.INFO: Acknowledgment sent {"connection_id":229208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:35:11] local.INFO: TCP Data received {"connection_id":230476,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:11] local.INFO: Processing buffer {"connection_id":230476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:11] local.INFO: Packet analysis {"connection_id":230476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:35:11] local.INFO: Extracted packet for processing {"connection_id":230476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:35:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":230476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:35:11] local.INFO: GPS data processed {"connection_id":230476,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:35:11] local.INFO: Acknowledgment sent {"connection_id":230476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:35:15] local.INFO: TCP Data received {"connection_id":228723,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:35:15] local.INFO: Processing buffer {"connection_id":228723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:35:15] local.INFO: IMEI packet received {"connection_id":228723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":228723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:35:20] local.INFO: TCP Data received {"connection_id":228723,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:35:20] local.INFO: Processing buffer {"connection_id":228723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:35:20] local.INFO: IMEI packet received {"connection_id":228723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":228723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:35:21] local.INFO: TCP Data received {"connection_id":228723,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:35:21] local.INFO: Processing buffer {"connection_id":228723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:35:21] local.INFO: Packet analysis {"connection_id":228723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:35:21] local.INFO: Extracted packet for processing {"connection_id":228723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:21] 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-11-04 06:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:35:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:35:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":228723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:35:21] local.INFO: GPS data processed {"connection_id":228723,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:35:21] local.INFO: Acknowledgment sent {"connection_id":228723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:35:25] local.INFO: TCP Data received {"connection_id":228723,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:35:25] local.INFO: Processing buffer {"connection_id":228723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:35:25] local.INFO: Packet analysis {"connection_id":228723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:35:25] local.INFO: Extracted packet for processing {"connection_id":228723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:25] 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-11-04 06:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:35:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:35:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:35:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":228723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:35:25] local.INFO: GPS data processed {"connection_id":228723,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:35:25] local.INFO: Acknowledgment sent {"connection_id":228723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:35:40] local.INFO: TCP Data received {"connection_id":232318,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:35:40] local.INFO: Processing buffer {"connection_id":232318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:35:40] local.INFO: IMEI packet received {"connection_id":232318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":232318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:35:45] local.INFO: TCP Data received {"connection_id":232318,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:35:45] local.INFO: Processing buffer {"connection_id":232318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:35:45] local.INFO: IMEI packet received {"connection_id":232318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":232318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:35:46] local.INFO: TCP Data received {"connection_id":232318,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:46] local.INFO: Processing buffer {"connection_id":232318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:46] local.INFO: Packet analysis {"connection_id":232318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:35:46] local.INFO: Extracted packet for processing {"connection_id":232318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:35:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:35:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:35:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":232318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:35:46] local.INFO: GPS data processed {"connection_id":232318,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:35:46] local.INFO: Acknowledgment sent {"connection_id":232318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:35:50] local.INFO: TCP Data received {"connection_id":232318,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:50] local.INFO: Processing buffer {"connection_id":232318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:35:50] local.INFO: Packet analysis {"connection_id":232318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:35:50] local.INFO: Extracted packet for processing {"connection_id":232318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:35:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 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-11-04 06:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:35:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":232318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:35:50] local.INFO: GPS data processed {"connection_id":232318,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:35:50] local.INFO: Acknowledgment sent {"connection_id":232318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:36:10] local.INFO: TCP Data received {"connection_id":232319,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:36:10] local.INFO: Processing buffer {"connection_id":232319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:36:10] local.INFO: IMEI packet received {"connection_id":232319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":232319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:36:15] local.INFO: TCP Data received {"connection_id":232319,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232319,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:36:15] local.INFO: Processing buffer {"connection_id":232319,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:36:15] local.INFO: IMEI packet received {"connection_id":232319,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":232319,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:36:16] local.INFO: TCP Data received {"connection_id":232319,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:36:16] local.INFO: Processing buffer {"connection_id":232319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:36:16] local.INFO: Packet analysis {"connection_id":232319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:36:16] local.INFO: Extracted packet for processing {"connection_id":232319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:16] 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-11-04 06:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:36:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:36:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":232319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:36:16] local.INFO: GPS data processed {"connection_id":232319,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:36:16] local.INFO: Acknowledgment sent {"connection_id":232319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:36:35] local.INFO: TCP Data received {"connection_id":229209,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:36:35] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:36:35] local.INFO: IMEI packet received {"connection_id":229209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":229209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:36:40] local.INFO: TCP Data received {"connection_id":229209,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:36:40] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:36:40] local.INFO: IMEI packet received {"connection_id":229209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":229209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:36:41] local.INFO: TCP Data received {"connection_id":229209,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:36:41] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4132300012ce51bc007234b90000900802c..."} 
[2026-11-04 06:36:41] local.INFO: Packet analysis {"connection_id":229209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:36:41] local.INFO: Extracted packet for processing {"connection_id":229209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a413"} 
[2026-11-04 06:36:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":44,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200967424001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754080000,"timestamp_ms":1793754080000,"timestamp_seconds":1793754080,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4132300"} 
[2026-11-04 06:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-11-04 06:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200967424001,"66":24647,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200967424001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:36:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:36:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200967424001,"power":24647,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":229209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:36:41] local.INFO: GPS data processed {"connection_id":229209,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:36:41] local.INFO: Acknowledgment sent {"connection_id":229209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:36:48] local.INFO: TCP Data received {"connection_id":232319,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:36:48] local.INFO: Processing buffer {"connection_id":232319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:36:48] local.INFO: Packet analysis {"connection_id":232319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:36:48] local.INFO: Extracted packet for processing {"connection_id":232319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232319,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:36:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:36:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":232319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:36:48] local.INFO: GPS data processed {"connection_id":232319,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:36:48] local.INFO: Acknowledgment sent {"connection_id":232319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:37:09] local.INFO: TCP Data received {"connection_id":229210,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:37:09] local.INFO: Processing buffer {"connection_id":229210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:37:09] local.INFO: IMEI packet received {"connection_id":229210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":229210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:37:11] local.INFO: TCP Data received {"connection_id":229209,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:37:11] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:37:11] local.INFO: Packet analysis {"connection_id":229209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:37:11] local.INFO: Extracted packet for processing {"connection_id":229209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:37:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":229209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:37:11] local.INFO: GPS data processed {"connection_id":229209,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:37:11] local.INFO: Acknowledgment sent {"connection_id":229209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:37:15] local.INFO: TCP Data received {"connection_id":229210,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:37:15] local.INFO: Processing buffer {"connection_id":229210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:37:15] local.INFO: IMEI packet received {"connection_id":229210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":229210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:37:16] local.INFO: TCP Data received {"connection_id":229210,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:37:16] local.INFO: Processing buffer {"connection_id":229210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:37:16] local.INFO: Packet analysis {"connection_id":229210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:37:16] local.INFO: Extracted packet for processing {"connection_id":229210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:16] 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-11-04 06:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:37:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:37:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":229210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:37:16] local.INFO: GPS data processed {"connection_id":229210,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:37:16] local.INFO: Acknowledgment sent {"connection_id":229210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:37:34] local.INFO: TCP Data received {"connection_id":228724,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:37:34] local.INFO: Processing buffer {"connection_id":228724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:37:34] local.INFO: IMEI packet received {"connection_id":228724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":228724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:37:40] local.INFO: TCP Data received {"connection_id":228724,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:37:40] local.INFO: Processing buffer {"connection_id":228724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:37:40] local.INFO: IMEI packet received {"connection_id":228724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":228724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:37:41] local.INFO: TCP Data received {"connection_id":228724,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:37:41] local.INFO: Processing buffer {"connection_id":228724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:37:41] local.INFO: Packet analysis {"connection_id":228724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:37:41] local.INFO: Extracted packet for processing {"connection_id":228724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:37:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:37:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:37:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:37:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":228724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:37:41] local.INFO: GPS data processed {"connection_id":228724,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:37:41] local.INFO: Acknowledgment sent {"connection_id":228724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:37:47] local.INFO: TCP Data received {"connection_id":229210,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:37:47] local.INFO: Processing buffer {"connection_id":229210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4143c40012d3c94c006a39460004601582c..."} 
[2026-11-04 06:37:47] local.INFO: Packet analysis {"connection_id":229210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:37:47] local.INFO: Extracted packet for processing {"connection_id":229210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a414"} 
[2026-11-04 06:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459200985856001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:37:47] 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-11-04 06:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793754152000,"timestamp_ms":1793754152000,"timestamp_seconds":1793754152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4143c40"} 
[2026-11-04 06:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459200985856001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459200985856001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:37:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:37:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459200985856001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":229210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:37:48] local.INFO: GPS data processed {"connection_id":229210,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:37:48] local.INFO: Acknowledgment sent {"connection_id":229210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:38:09] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:09] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:09] local.INFO: IMEI packet received {"connection_id":230477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":230477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:38:11] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:11] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:11] local.INFO: IMEI packet received {"connection_id":230477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":230477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:38:12] local.INFO: TCP Data received {"connection_id":228724,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:38:12] local.INFO: Processing buffer {"connection_id":228724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:38:12] local.INFO: Packet analysis {"connection_id":228724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:38:12] local.INFO: Extracted packet for processing {"connection_id":228724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:38:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 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-11-04 06:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:38:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:38:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":228724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:38:12] local.INFO: GPS data processed {"connection_id":228724,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:38:12] local.INFO: Acknowledgment sent {"connection_id":228724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:38:15] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:15] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:38:15] local.INFO: IMEI packet received {"connection_id":230477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":230477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:38:16] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:38:16] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:38:16] local.INFO: Packet analysis {"connection_id":230477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:38:16] local.INFO: Extracted packet for processing {"connection_id":230477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:16] 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-11-04 06:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:38:16] 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-11-04 06: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-11-04 06:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:38:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:38:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":230477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:38:16] local.INFO: GPS data processed {"connection_id":230477,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:38:16] local.INFO: Acknowledgment sent {"connection_id":230477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:38:34] local.INFO: TCP Data received {"connection_id":232320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:38:34] local.INFO: Processing buffer {"connection_id":232320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:38:34] local.INFO: IMEI packet received {"connection_id":232320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":232320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:38:40] local.INFO: TCP Data received {"connection_id":232320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:38:40] local.INFO: Processing buffer {"connection_id":232320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:38:40] local.INFO: IMEI packet received {"connection_id":232320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":232320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:38:41] local.INFO: TCP Data received {"connection_id":232320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:38:41] local.INFO: Processing buffer {"connection_id":232320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:38:41] local.INFO: Packet analysis {"connection_id":232320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:38:41] local.INFO: Extracted packet for processing {"connection_id":232320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:38:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":232320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:38:41] local.INFO: GPS data processed {"connection_id":232320,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:38:41] local.INFO: Acknowledgment sent {"connection_id":232320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:38:48] local.INFO: TCP Data received {"connection_id":230477,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:38:48] local.INFO: Processing buffer {"connection_id":230477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:38:48] local.INFO: Packet analysis {"connection_id":230477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:38:48] local.INFO: Extracted packet for processing {"connection_id":230477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:38:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:38:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":230477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:38:48] local.INFO: GPS data processed {"connection_id":230477,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:38:48] local.INFO: Acknowledgment sent {"connection_id":230477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:39:09] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:39:09] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:39:09] local.INFO: IMEI packet received {"connection_id":229211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":229211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:39:12] local.INFO: TCP Data received {"connection_id":232320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:39:12] local.INFO: Processing buffer {"connection_id":232320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:39:12] local.INFO: Packet analysis {"connection_id":232320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:39:12] local.INFO: Extracted packet for processing {"connection_id":232320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:39: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-11-04 06:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:39:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:39:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":232320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:39:12] local.INFO: GPS data processed {"connection_id":232320,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:39:12] local.INFO: Acknowledgment sent {"connection_id":232320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:39:15] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:39:15] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:39:15] local.INFO: IMEI packet received {"connection_id":229211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":229211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:39:16] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:39:16] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:39:16] local.INFO: Packet analysis {"connection_id":229211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:39:16] local.INFO: Extracted packet for processing {"connection_id":229211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:39:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:16] 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-11-04 06:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:39:16] 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-11-04 06: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-11-04 06:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:39:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:39:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":229211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:39:16] local.INFO: GPS data processed {"connection_id":229211,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:39:16] local.INFO: Acknowledgment sent {"connection_id":229211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:39:34] local.INFO: TCP Data received {"connection_id":232321,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:39:34] local.INFO: Processing buffer {"connection_id":232321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:39:34] local.INFO: IMEI packet received {"connection_id":232321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":232321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:39:40] local.INFO: TCP Data received {"connection_id":232321,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:39:40] local.INFO: Processing buffer {"connection_id":232321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:39:40] local.INFO: IMEI packet received {"connection_id":232321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":232321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:39:41] local.INFO: TCP Data received {"connection_id":232321,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:39:41] local.INFO: Processing buffer {"connection_id":232321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:39:41] local.INFO: Packet analysis {"connection_id":232321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:39:41] local.INFO: Extracted packet for processing {"connection_id":232321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:39:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:39:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:39:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":232321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:39:41] local.INFO: GPS data processed {"connection_id":232321,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:39:41] local.INFO: Acknowledgment sent {"connection_id":232321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:39:47] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:39:47] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:39:47] local.INFO: Packet analysis {"connection_id":229211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:39:47] local.INFO: Extracted packet for processing {"connection_id":229211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:39:47] 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-11-04 06:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:39:47] 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-11-04 06: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-11-04 06:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:39:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:39:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":229211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:39:47] local.INFO: GPS data processed {"connection_id":229211,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:39:47] local.INFO: Acknowledgment sent {"connection_id":229211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:40:09] local.INFO: TCP Data received {"connection_id":230478,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:40:09] local.INFO: Processing buffer {"connection_id":230478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:40:09] local.INFO: IMEI packet received {"connection_id":230478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":230478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:40:12] local.INFO: TCP Data received {"connection_id":232321,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:12] local.INFO: Processing buffer {"connection_id":232321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:12] local.INFO: Packet analysis {"connection_id":232321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:40:12] local.INFO: Extracted packet for processing {"connection_id":232321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:40: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-11-04 06:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:40:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:40:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:40:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":232321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:40:12] local.INFO: GPS data processed {"connection_id":232321,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:40:12] local.INFO: Acknowledgment sent {"connection_id":232321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:40:15] local.INFO: TCP Data received {"connection_id":230478,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:40:15] local.INFO: Processing buffer {"connection_id":230478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:40:15] local.INFO: IMEI packet received {"connection_id":230478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":230478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:40:16] local.INFO: TCP Data received {"connection_id":230478,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:40:16] local.INFO: Processing buffer {"connection_id":230478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:40:16] local.INFO: Packet analysis {"connection_id":230478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:40:16] local.INFO: Extracted packet for processing {"connection_id":230478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:16] 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-11-04 06:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:40:16] 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-11-04 06: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-11-04 06:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:40:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:40:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":230478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:40:16] local.INFO: GPS data processed {"connection_id":230478,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:40:16] local.INFO: Acknowledgment sent {"connection_id":230478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:40:40] local.INFO: TCP Data received {"connection_id":228725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:40:40] local.INFO: Processing buffer {"connection_id":228725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:40:40] local.INFO: IMEI packet received {"connection_id":228725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":228725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:40:44] local.INFO: TCP Data received {"connection_id":228725,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:40:44] local.INFO: Processing buffer {"connection_id":228725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:40:44] local.INFO: IMEI packet received {"connection_id":228725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":228725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:40:45] local.INFO: TCP Data received {"connection_id":228725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:45] local.INFO: Processing buffer {"connection_id":228725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:45] local.INFO: Packet analysis {"connection_id":228725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:40:45] local.INFO: Extracted packet for processing {"connection_id":228725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:40:45] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:40:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":228725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:40:45] local.INFO: GPS data processed {"connection_id":228725,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:40:45] local.INFO: Acknowledgment sent {"connection_id":228725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:40:48] local.INFO: TCP Data received {"connection_id":230478,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:40:48] local.INFO: Processing buffer {"connection_id":230478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:40:48] local.INFO: Packet analysis {"connection_id":230478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:40:48] local.INFO: Extracted packet for processing {"connection_id":230478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:40:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:40:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":230478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:40:48] local.INFO: GPS data processed {"connection_id":230478,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:40:48] local.INFO: Acknowledgment sent {"connection_id":230478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:40:50] local.INFO: TCP Data received {"connection_id":228725,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:50] local.INFO: Processing buffer {"connection_id":228725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:40:50] local.INFO: Packet analysis {"connection_id":228725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:40:50] local.INFO: Extracted packet for processing {"connection_id":228725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:40:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:40:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:40:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":228725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:40:50] local.INFO: GPS data processed {"connection_id":228725,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:40:50] local.INFO: Acknowledgment sent {"connection_id":228725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:41:15] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:41:15] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:41:15] local.INFO: IMEI packet received {"connection_id":229212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":229212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:41:20] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:41:20] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:41:20] local.INFO: IMEI packet received {"connection_id":229212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":229212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:41:21] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:41:21] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:41:21] local.INFO: Packet analysis {"connection_id":229212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:41:21] local.INFO: Extracted packet for processing {"connection_id":229212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:21] 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-11-04 06:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:41: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-11-04 06: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-11-04 06:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:41:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:41:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":229212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:41:21] local.INFO: GPS data processed {"connection_id":229212,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:41:21] local.INFO: Acknowledgment sent {"connection_id":229212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:41:26] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:41:26] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:41:26] local.INFO: Packet analysis {"connection_id":229212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:41:26] local.INFO: Extracted packet for processing {"connection_id":229212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:26] 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-11-04 06:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:41: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-11-04 06: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-11-04 06:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:41:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:41:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":229212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:41:26] local.INFO: GPS data processed {"connection_id":229212,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:41:26] local.INFO: Acknowledgment sent {"connection_id":229212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:41:35] local.INFO: TCP Data received {"connection_id":232322,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:41:35] local.INFO: Processing buffer {"connection_id":232322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:41:35] local.INFO: IMEI packet received {"connection_id":232322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":232322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:41:40] local.INFO: TCP Data received {"connection_id":232322,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:41:40] local.INFO: Processing buffer {"connection_id":232322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:41:40] local.INFO: IMEI packet received {"connection_id":232322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":232322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:41:41] local.INFO: TCP Data received {"connection_id":232322,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:41:41] local.INFO: Processing buffer {"connection_id":232322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a417bac8012ce51bc007234b900009008030..."} 
[2026-11-04 06:41:41] local.INFO: Packet analysis {"connection_id":232322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:41:41] local.INFO: Extracted packet for processing {"connection_id":232322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a417"} 
[2026-11-04 06:41:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201044480001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754381000,"timestamp_ms":1793754381000,"timestamp_seconds":1793754381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a417bac8"} 
[2026-11-04 06:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 06:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1317,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201044480001,"66":24723,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201044480001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:41:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:41:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201044480001,"power":24723,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":232322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:41:41] local.INFO: GPS data processed {"connection_id":232322,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:41:41] local.INFO: Acknowledgment sent {"connection_id":232322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:42:09] local.INFO: TCP Data received {"connection_id":228726,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:42:09] local.INFO: Processing buffer {"connection_id":228726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:42:09] local.INFO: IMEI packet received {"connection_id":228726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":228726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:42:12] local.INFO: TCP Data received {"connection_id":232322,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:42:12] local.INFO: Processing buffer {"connection_id":232322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:42:12] local.INFO: Packet analysis {"connection_id":232322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:42:12] local.INFO: Extracted packet for processing {"connection_id":232322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:42:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:42:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:42:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:42:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":232322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:42:12] local.INFO: GPS data processed {"connection_id":232322,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:42:12] local.INFO: Acknowledgment sent {"connection_id":232322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:42:15] local.INFO: TCP Data received {"connection_id":228726,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:42:15] local.INFO: Processing buffer {"connection_id":228726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:42:15] local.INFO: IMEI packet received {"connection_id":228726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":228726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:42:17] local.INFO: TCP Data received {"connection_id":228726,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:42:17] local.INFO: Processing buffer {"connection_id":228726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:42:17] local.INFO: Packet analysis {"connection_id":228726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:42:17] local.INFO: Extracted packet for processing {"connection_id":228726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:42:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:17] 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-11-04 06:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:42: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-11-04 06: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-11-04 06:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:42:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:42:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":228726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:42:17] local.INFO: GPS data processed {"connection_id":228726,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:42:17] local.INFO: Acknowledgment sent {"connection_id":228726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:42:34] local.INFO: TCP Data received {"connection_id":229213,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:42:34] local.INFO: Processing buffer {"connection_id":229213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:42:34] local.INFO: IMEI packet received {"connection_id":229213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":229213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:42:40] local.INFO: TCP Data received {"connection_id":229213,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:42:40] local.INFO: Processing buffer {"connection_id":229213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:42:40] local.INFO: IMEI packet received {"connection_id":229213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":229213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:42:41] local.INFO: TCP Data received {"connection_id":229213,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:42:41] local.INFO: Processing buffer {"connection_id":229213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:42:41] local.INFO: Packet analysis {"connection_id":229213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:42:41] local.INFO: Extracted packet for processing {"connection_id":229213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:42:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:42:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":229213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:42:41] local.INFO: GPS data processed {"connection_id":229213,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:42:41] local.INFO: Acknowledgment sent {"connection_id":229213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:42:49] local.INFO: TCP Data received {"connection_id":228726,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:42:49] local.INFO: Processing buffer {"connection_id":228726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a418d408012d3c94c006a39460004601582c..."} 
[2026-11-04 06:42:49] local.INFO: Packet analysis {"connection_id":228726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:42:49] local.INFO: Extracted packet for processing {"connection_id":228726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a418"} 
[2026-11-04 06:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201062912001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:42:49] 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-11-04 06:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793754453000,"timestamp_ms":1793754453000,"timestamp_seconds":1793754453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a418d408"} 
[2026-11-04 06:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:42: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-11-04 06: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-11-04 06:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201062912001,"66":25799,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201062912001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:42:49] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:42:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201062912001,"power":25799,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":228726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:42:49] local.INFO: GPS data processed {"connection_id":228726,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:42:49] local.INFO: Acknowledgment sent {"connection_id":228726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:43:09] local.INFO: TCP Data received {"connection_id":229214,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:09] local.INFO: Processing buffer {"connection_id":229214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:09] local.INFO: IMEI packet received {"connection_id":229214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":229214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:43:12] local.INFO: TCP Data received {"connection_id":229213,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:43:12] local.INFO: Processing buffer {"connection_id":229213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:43:12] local.INFO: Packet analysis {"connection_id":229213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:43:12] local.INFO: Extracted packet for processing {"connection_id":229213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:43:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:43:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":229213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:43:12] local.INFO: GPS data processed {"connection_id":229213,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:43:12] local.INFO: Acknowledgment sent {"connection_id":229213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:43:13] local.INFO: TCP Data received {"connection_id":229214,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:13] local.INFO: Processing buffer {"connection_id":229214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:13] local.INFO: IMEI packet received {"connection_id":229214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":229214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:43:14] local.INFO: TCP Data received {"connection_id":229214,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:14] local.INFO: Processing buffer {"connection_id":229214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:43:14] local.INFO: IMEI packet received {"connection_id":229214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":229214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:43:15] local.INFO: TCP Data received {"connection_id":229214,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:15] local.INFO: Processing buffer {"connection_id":229214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:15] local.INFO: Packet analysis {"connection_id":229214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:43:15] local.INFO: Extracted packet for processing {"connection_id":229214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:15] 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-11-04 06:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:43:15] 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-11-04 06: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-11-04 06:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:43:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:43:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":229214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:43:15] local.INFO: GPS data processed {"connection_id":229214,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:43:15] local.INFO: Acknowledgment sent {"connection_id":229214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:43:20] local.INFO: TCP Data received {"connection_id":229214,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:20] local.INFO: Processing buffer {"connection_id":229214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:20] local.INFO: Packet analysis {"connection_id":229214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:43:20] local.INFO: Extracted packet for processing {"connection_id":229214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:43:20] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43: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-11-04 06:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:43:20] 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-11-04 06: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-11-04 06:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:43:20] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:43:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":229214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:43:20] local.INFO: GPS data processed {"connection_id":229214,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:43:20] local.INFO: Acknowledgment sent {"connection_id":229214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:43:34] local.INFO: TCP Data received {"connection_id":232323,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:43:34] local.INFO: Processing buffer {"connection_id":232323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:43:34] local.INFO: IMEI packet received {"connection_id":232323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":232323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:43:40] local.INFO: TCP Data received {"connection_id":232323,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:43:40] local.INFO: Processing buffer {"connection_id":232323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:43:40] local.INFO: IMEI packet received {"connection_id":232323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":232323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:43:41] local.INFO: TCP Data received {"connection_id":232323,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:43:41] local.INFO: Processing buffer {"connection_id":232323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:43:41] local.INFO: Packet analysis {"connection_id":232323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:43:41] local.INFO: Extracted packet for processing {"connection_id":232323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:43:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:43:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:43:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:43:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":232323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:43:41] local.INFO: GPS data processed {"connection_id":232323,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:43:41] local.INFO: Acknowledgment sent {"connection_id":232323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:43:52] local.INFO: TCP Data received {"connection_id":229214,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:52] local.INFO: Processing buffer {"connection_id":229214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:43:52] local.INFO: Packet analysis {"connection_id":229214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:43:52] local.INFO: Extracted packet for processing {"connection_id":229214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:43:52] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:43:52] 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-11-04 06:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:43:52] 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-11-04 06:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:43:52] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:43:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":229214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:43:52] local.INFO: GPS data processed {"connection_id":229214,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:43:52] local.INFO: Acknowledgment sent {"connection_id":229214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:44:10] local.INFO: TCP Data received {"connection_id":232324,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:44:10] local.INFO: Processing buffer {"connection_id":232324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:44:10] local.INFO: IMEI packet received {"connection_id":232324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":232324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:44:12] local.INFO: TCP Data received {"connection_id":232323,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:12] local.INFO: Processing buffer {"connection_id":232323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:12] local.INFO: Packet analysis {"connection_id":232323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:44:12] local.INFO: Extracted packet for processing {"connection_id":232323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:44:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":232323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:44:12] local.INFO: GPS data processed {"connection_id":232323,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:44:12] local.INFO: Acknowledgment sent {"connection_id":232323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:44:15] local.INFO: TCP Data received {"connection_id":232324,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:44:15] local.INFO: Processing buffer {"connection_id":232324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:44:15] local.INFO: IMEI packet received {"connection_id":232324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":232324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:44:16] local.INFO: TCP Data received {"connection_id":232324,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:44:16] local.INFO: Processing buffer {"connection_id":232324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:44:16] local.INFO: Packet analysis {"connection_id":232324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:44:16] local.INFO: Extracted packet for processing {"connection_id":232324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:44:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:16] 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-11-04 06:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:44:16] 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-11-04 06: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-11-04 06:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:44:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:44:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":232324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:44:16] local.INFO: GPS data processed {"connection_id":232324,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:44:16] local.INFO: Acknowledgment sent {"connection_id":232324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:44:40] local.INFO: TCP Data received {"connection_id":232325,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:44:40] local.INFO: Processing buffer {"connection_id":232325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:44:40] local.INFO: IMEI packet received {"connection_id":232325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":232325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:44:45] local.INFO: TCP Data received {"connection_id":232325,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:44:45] local.INFO: Processing buffer {"connection_id":232325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:44:45] local.INFO: IMEI packet received {"connection_id":232325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:44:45] local.INFO: IMEI acknowledgment sent {"connection_id":232325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:44:46] local.INFO: TCP Data received {"connection_id":232325,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:46] local.INFO: Processing buffer {"connection_id":232325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:46] local.INFO: Packet analysis {"connection_id":232325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:44:46] local.INFO: Extracted packet for processing {"connection_id":232325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:44:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 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-11-04 06:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:44:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:44:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":232325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:44:46] local.INFO: GPS data processed {"connection_id":232325,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:44:46] local.INFO: Acknowledgment sent {"connection_id":232325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:44:48] local.INFO: TCP Data received {"connection_id":232324,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:44:48] local.INFO: Processing buffer {"connection_id":232324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:44:48] local.INFO: Packet analysis {"connection_id":232324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:44:48] local.INFO: Extracted packet for processing {"connection_id":232324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:44:48] 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-11-04 06:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:44:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:44:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":232324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:44:48] local.INFO: GPS data processed {"connection_id":232324,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:44:48] local.INFO: Acknowledgment sent {"connection_id":232324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:44:50] local.INFO: TCP Data received {"connection_id":232325,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:50] local.INFO: Processing buffer {"connection_id":232325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:44:50] local.INFO: Packet analysis {"connection_id":232325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:44:50] local.INFO: Extracted packet for processing {"connection_id":232325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:44:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:44:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":232325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:44:50] local.INFO: GPS data processed {"connection_id":232325,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:44:50] local.INFO: Acknowledgment sent {"connection_id":232325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:45:09] local.INFO: TCP Data received {"connection_id":230479,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:45:09] local.INFO: Processing buffer {"connection_id":230479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:45:09] local.INFO: IMEI packet received {"connection_id":230479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":230479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:45:15] local.INFO: TCP Data received {"connection_id":230479,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:45:15] local.INFO: Processing buffer {"connection_id":230479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:45:15] local.INFO: IMEI packet received {"connection_id":230479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":230479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:45:16] local.INFO: TCP Data received {"connection_id":230479,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:45:16] local.INFO: Processing buffer {"connection_id":230479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:45:16] local.INFO: Packet analysis {"connection_id":230479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:45:16] local.INFO: Extracted packet for processing {"connection_id":230479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:16] 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-11-04 06:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:45:16] 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-11-04 06: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-11-04 06:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:45:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:45:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":230479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:45:16] local.INFO: GPS data processed {"connection_id":230479,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:45:16] local.INFO: Acknowledgment sent {"connection_id":230479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:45:35] local.INFO: TCP Data received {"connection_id":228727,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:45:35] local.INFO: Processing buffer {"connection_id":228727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:45:35] local.INFO: IMEI packet received {"connection_id":228727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":228727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:45:40] local.INFO: TCP Data received {"connection_id":228727,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:45:40] local.INFO: Processing buffer {"connection_id":228727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:45:40] local.INFO: IMEI packet received {"connection_id":228727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":228727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:45:41] local.INFO: TCP Data received {"connection_id":228727,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:45:41] local.INFO: Processing buffer {"connection_id":228727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:45:41] local.INFO: Packet analysis {"connection_id":228727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:45:41] local.INFO: Extracted packet for processing {"connection_id":228727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:45:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":228727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:45:41] local.INFO: GPS data processed {"connection_id":228727,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:45:41] local.INFO: Acknowledgment sent {"connection_id":228727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:45:47] local.INFO: TCP Data received {"connection_id":230479,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:45:47] local.INFO: Processing buffer {"connection_id":230479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:45:47] local.INFO: Packet analysis {"connection_id":230479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:45:47] local.INFO: Extracted packet for processing {"connection_id":230479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:45:47] 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-11-04 06:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:45: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-11-04 06: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-11-04 06:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:45:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:45:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":230479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:45:47] local.INFO: GPS data processed {"connection_id":230479,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:45:47] local.INFO: Acknowledgment sent {"connection_id":230479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:46:09] local.INFO: TCP Data received {"connection_id":232326,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:46:09] local.INFO: Processing buffer {"connection_id":232326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:46:09] local.INFO: IMEI packet received {"connection_id":232326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":232326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:46:12] local.INFO: TCP Data received {"connection_id":228727,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:46:12] local.INFO: Processing buffer {"connection_id":228727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:46:12] local.INFO: Packet analysis {"connection_id":228727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:46:12] local.INFO: Extracted packet for processing {"connection_id":228727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:46:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:46:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":228727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:46:12] local.INFO: GPS data processed {"connection_id":228727,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:46:12] local.INFO: Acknowledgment sent {"connection_id":228727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:46:15] local.INFO: TCP Data received {"connection_id":232326,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:46:15] local.INFO: Processing buffer {"connection_id":232326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:46:15] local.INFO: IMEI packet received {"connection_id":232326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":232326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:46:16] local.INFO: TCP Data received {"connection_id":232326,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:46:16] local.INFO: Processing buffer {"connection_id":232326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:46:16] local.INFO: Packet analysis {"connection_id":232326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:46:16] local.INFO: Extracted packet for processing {"connection_id":232326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:16] 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-11-04 06:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:46:16] 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-11-04 06: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-11-04 06:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:46:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:46:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":232326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57763,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:46:16] local.INFO: GPS data processed {"connection_id":232326,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:46:16] local.INFO: Acknowledgment sent {"connection_id":232326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:46:35] local.INFO: TCP Data received {"connection_id":229215,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:46:35] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:46:35] local.INFO: IMEI packet received {"connection_id":229215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":229215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:46:40] local.INFO: TCP Data received {"connection_id":229215,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:46:40] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:46:40] local.INFO: IMEI packet received {"connection_id":229215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":229215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:46:44] local.INFO: TCP Data received {"connection_id":229215,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:46:44] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41c5290012ce51bc007234b90000900802f..."} 
[2026-11-04 06:46:44] local.INFO: Packet analysis {"connection_id":229215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:46:44] local.INFO: Extracted packet for processing {"connection_id":229215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41c"} 
[2026-11-04 06:46:44] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201121536001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793754682000,"timestamp_ms":1793754682000,"timestamp_seconds":1793754682,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41c5290"} 
[2026-11-04 06:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2001,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201121536001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201121536001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:46:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:46:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201121536001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":229215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:46:44] local.INFO: GPS data processed {"connection_id":229215,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:46:44] local.INFO: Acknowledgment sent {"connection_id":229215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:46:48] local.INFO: TCP Data received {"connection_id":232326,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:46:48] local.INFO: Processing buffer {"connection_id":232326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:46:48] local.INFO: Packet analysis {"connection_id":232326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:46:48] local.INFO: Extracted packet for processing {"connection_id":232326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:46:48] 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-11-04 06:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:46:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:46:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":232326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:46:48] local.INFO: GPS data processed {"connection_id":232326,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:46:48] local.INFO: Acknowledgment sent {"connection_id":232326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:47:15] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:47:15] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:47:15] local.INFO: IMEI packet received {"connection_id":230480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":230480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:47:20] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:47:20] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:47:20] local.INFO: IMEI packet received {"connection_id":230480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":230480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:47:21] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:47:21] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:47:21] local.INFO: Packet analysis {"connection_id":230480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:47:21] local.INFO: Extracted packet for processing {"connection_id":230480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:47:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:21] 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-11-04 06:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:47:21] 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-11-04 06: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-11-04 06:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:47:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:47:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":230480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:47:21] local.INFO: GPS data processed {"connection_id":230480,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:47:21] local.INFO: Acknowledgment sent {"connection_id":230480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:47:25] local.INFO: TCP Data received {"connection_id":230480,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:47:25] local.INFO: Processing buffer {"connection_id":230480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a41d6bd0012d3c94c006a39460004601582c..."} 
[2026-11-04 06:47:25] local.INFO: Packet analysis {"connection_id":230480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:47:25] local.INFO: Extracted packet for processing {"connection_id":230480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a41d"} 
[2026-11-04 06:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201139968001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:25] 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-11-04 06:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793754754000,"timestamp_ms":1793754754000,"timestamp_seconds":1793754754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a41d6bd0"} 
[2026-11-04 06:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-11-04 06:47:25] 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-11-04 06:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201139968001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201139968001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:47:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:47:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201139968001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":230480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:47:25] local.INFO: GPS data processed {"connection_id":230480,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:47:25] local.INFO: Acknowledgment sent {"connection_id":230480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:47:27] local.INFO: TCP Data received {"connection_id":229215,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:47:27] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:47:27] local.INFO: Packet analysis {"connection_id":229215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:47:27] local.INFO: Extracted packet for processing {"connection_id":229215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:47:27] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:47: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-11-04 06: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-11-04 06:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:47: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-11-04 06:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:47:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:47:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":229215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:47:27] local.INFO: GPS data processed {"connection_id":229215,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:47:27] local.INFO: Acknowledgment sent {"connection_id":229215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:47:34] local.INFO: TCP Data received {"connection_id":230481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:47:34] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:47:34] local.INFO: IMEI packet received {"connection_id":230481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":230481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:47:40] local.INFO: TCP Data received {"connection_id":230481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:47:40] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:47:40] local.INFO: IMEI packet received {"connection_id":230481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":230481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:47:41] local.INFO: TCP Data received {"connection_id":230481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:47:41] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:47:41] local.INFO: Packet analysis {"connection_id":230481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:47:41] local.INFO: Extracted packet for processing {"connection_id":230481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:47:41] 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-11-04 06:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:47:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:47:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":230481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:47:41] local.INFO: GPS data processed {"connection_id":230481,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:47:41] local.INFO: Acknowledgment sent {"connection_id":230481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:48:09] local.INFO: TCP Data received {"connection_id":232327,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:48:09] local.INFO: Processing buffer {"connection_id":232327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:48:09] local.INFO: IMEI packet received {"connection_id":232327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":232327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:48:12] local.INFO: TCP Data received {"connection_id":230481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:12] local.INFO: Processing buffer {"connection_id":230481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:12] local.INFO: Packet analysis {"connection_id":230481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:48:12] local.INFO: Extracted packet for processing {"connection_id":230481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 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-11-04 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:48:12] 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-11-04 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-11-04 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-11-04 06:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":230481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:48:12] local.INFO: GPS data processed {"connection_id":230481,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:48:12] local.INFO: Acknowledgment sent {"connection_id":230481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:48:14] local.INFO: TCP Data received {"connection_id":232327,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:48:14] local.INFO: Processing buffer {"connection_id":232327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:48:14] local.INFO: IMEI packet received {"connection_id":232327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":232327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:48:15] local.INFO: TCP Data received {"connection_id":232327,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:48:15] local.INFO: Processing buffer {"connection_id":232327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:48:15] local.INFO: Packet analysis {"connection_id":232327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:48:15] local.INFO: Extracted packet for processing {"connection_id":232327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:15] 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-11-04 06:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:48:15] 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-11-04 06:48:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:48:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:48:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":232327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:48:15] local.INFO: GPS data processed {"connection_id":232327,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:48:15] local.INFO: Acknowledgment sent {"connection_id":232327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:48:40] local.INFO: TCP Data received {"connection_id":229216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:48:40] local.INFO: Processing buffer {"connection_id":229216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:48:40] local.INFO: IMEI packet received {"connection_id":229216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":229216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:48:45] local.INFO: TCP Data received {"connection_id":229216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:48:45] local.INFO: Processing buffer {"connection_id":229216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:48:45] local.INFO: IMEI packet received {"connection_id":229216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":229216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:48:46] local.INFO: TCP Data received {"connection_id":229216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:46] local.INFO: Processing buffer {"connection_id":229216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:46] local.INFO: Packet analysis {"connection_id":229216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:48:46] local.INFO: Extracted packet for processing {"connection_id":229216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:48:46] 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-11-04 06: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-11-04 06:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":229216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:48:46] local.INFO: GPS data processed {"connection_id":229216,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:48:46] local.INFO: Acknowledgment sent {"connection_id":229216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:48:46] local.INFO: TCP Data received {"connection_id":232327,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:48:46] local.INFO: Processing buffer {"connection_id":232327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:48:46] local.INFO: Packet analysis {"connection_id":232327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:48:46] local.INFO: Extracted packet for processing {"connection_id":232327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:46] 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-11-04 06:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:48:46] 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-11-04 06: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-11-04 06:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232327,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":232327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:48:46] local.INFO: GPS data processed {"connection_id":232327,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:48:46] local.INFO: Acknowledgment sent {"connection_id":232327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:48:50] local.INFO: TCP Data received {"connection_id":229216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:50] local.INFO: Processing buffer {"connection_id":229216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:48:50] local.INFO: Packet analysis {"connection_id":229216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:48:50] local.INFO: Extracted packet for processing {"connection_id":229216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:48:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:48:50] 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-11-04 06:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:48:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:48:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":229216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:48:50] local.INFO: GPS data processed {"connection_id":229216,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:48:50] local.INFO: Acknowledgment sent {"connection_id":229216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:49:15] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:49:15] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:49:15] local.INFO: IMEI packet received {"connection_id":229217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":229217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:49:20] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:49:20] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:49:20] local.INFO: IMEI packet received {"connection_id":229217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":229217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:49:21] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:49:21] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:49:21] local.INFO: Packet analysis {"connection_id":229217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:49:21] local.INFO: Extracted packet for processing {"connection_id":229217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:21] 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-11-04 06:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:49: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-11-04 06:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:49:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:49:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":229217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:49:21] local.INFO: GPS data processed {"connection_id":229217,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:49:21] local.INFO: Acknowledgment sent {"connection_id":229217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:49:25] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:49:25] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:49:25] local.INFO: Packet analysis {"connection_id":229217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:49:25] local.INFO: Extracted packet for processing {"connection_id":229217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:25] 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-11-04 06:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:49:25] 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-11-04 06:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229217,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:49:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:49:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":229217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57776,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:49:25] local.INFO: GPS data processed {"connection_id":229217,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:49:25] local.INFO: Acknowledgment sent {"connection_id":229217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:49:35] local.INFO: TCP Data received {"connection_id":230482,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:49:35] local.INFO: Processing buffer {"connection_id":230482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:49:35] local.INFO: IMEI packet received {"connection_id":230482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":230482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:49:40] local.INFO: TCP Data received {"connection_id":230482,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:49:40] local.INFO: Processing buffer {"connection_id":230482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:49:40] local.INFO: IMEI packet received {"connection_id":230482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":230482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:49:41] local.INFO: TCP Data received {"connection_id":230482,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:49:41] local.INFO: Processing buffer {"connection_id":230482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:49:41] local.INFO: Packet analysis {"connection_id":230482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:49:41] local.INFO: Extracted packet for processing {"connection_id":230482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:49:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:49:41] 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-11-04 06:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:49:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:49:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:49:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":230482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:49:41] local.INFO: GPS data processed {"connection_id":230482,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:49:41] local.INFO: Acknowledgment sent {"connection_id":230482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:50:10] local.INFO: TCP Data received {"connection_id":232328,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:50:10] local.INFO: Processing buffer {"connection_id":232328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:50:10] local.INFO: IMEI packet received {"connection_id":232328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":232328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:50:12] local.INFO: TCP Data received {"connection_id":230482,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:50:12] local.INFO: Processing buffer {"connection_id":230482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:50:12] local.INFO: Packet analysis {"connection_id":230482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:50:12] local.INFO: Extracted packet for processing {"connection_id":230482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:50:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:50:12] 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-11-04 06:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:50:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:50:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":230482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:50:12] local.INFO: GPS data processed {"connection_id":230482,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:50:12] local.INFO: Acknowledgment sent {"connection_id":230482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:50:15] local.INFO: TCP Data received {"connection_id":232328,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232328,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:50:15] local.INFO: Processing buffer {"connection_id":232328,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:50:15] local.INFO: IMEI packet received {"connection_id":232328,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":232328,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:50:16] local.INFO: TCP Data received {"connection_id":232328,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:50:16] local.INFO: Processing buffer {"connection_id":232328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:50:16] local.INFO: Packet analysis {"connection_id":232328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:50:16] local.INFO: Extracted packet for processing {"connection_id":232328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:50:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:50: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-11-04 06:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:16] 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-11-04 06:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:50: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:50:16] 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-11-04 06:50: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-11-04 06:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:50:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:50:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":232328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:50:16] local.INFO: GPS data processed {"connection_id":232328,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:50:16] local.INFO: Acknowledgment sent {"connection_id":232328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:50:35] local.INFO: TCP Data received {"connection_id":229218,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:50:35] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:50:35] local.INFO: IMEI packet received {"connection_id":229218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":229218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:50:41] local.INFO: TCP Data received {"connection_id":229218,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:50:41] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:50:41] local.INFO: IMEI packet received {"connection_id":229218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":229218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:50:42] local.INFO: TCP Data received {"connection_id":229218,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:50:42] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:50:42] local.INFO: Packet analysis {"connection_id":229218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:50:42] local.INFO: Extracted packet for processing {"connection_id":229218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:50:42] 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-11-04 06:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:50:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:50:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:50:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":229218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:50:42] local.INFO: GPS data processed {"connection_id":229218,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:50:42] local.INFO: Acknowledgment sent {"connection_id":229218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:50:47] local.INFO: TCP Data received {"connection_id":232328,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:50:47] local.INFO: Processing buffer {"connection_id":232328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:50:47] local.INFO: Packet analysis {"connection_id":232328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:50:47] local.INFO: Extracted packet for processing {"connection_id":232328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:50:47] 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-11-04 06:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:50:47] 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-11-04 06:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232328,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:50:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:50:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":232328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:50:47] local.INFO: GPS data processed {"connection_id":232328,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:50:47] local.INFO: Acknowledgment sent {"connection_id":232328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:51:09] local.INFO: TCP Data received {"connection_id":232329,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:51:09] local.INFO: Processing buffer {"connection_id":232329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:51:09] local.INFO: IMEI packet received {"connection_id":232329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":232329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:51:13] local.INFO: TCP Data received {"connection_id":229218,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:51:13] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:51:13] local.INFO: Packet analysis {"connection_id":229218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:51:13] local.INFO: Extracted packet for processing {"connection_id":229218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:51:13] 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-11-04 06:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:51:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":229218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:51:13] local.INFO: GPS data processed {"connection_id":229218,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:51:13] local.INFO: Acknowledgment sent {"connection_id":229218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:51:15] local.INFO: TCP Data received {"connection_id":232329,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:51:15] local.INFO: Processing buffer {"connection_id":232329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:51:15] local.INFO: IMEI packet received {"connection_id":232329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":232329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:51:16] local.INFO: TCP Data received {"connection_id":232329,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:51:16] local.INFO: Processing buffer {"connection_id":232329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:51:16] local.INFO: Packet analysis {"connection_id":232329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:51:16] local.INFO: Extracted packet for processing {"connection_id":232329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:51:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:16] 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-11-04 06:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:51:16] 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-11-04 06: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-11-04 06:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:51:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:51:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":232329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:51:16] local.INFO: GPS data processed {"connection_id":232329,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:51:16] local.INFO: Acknowledgment sent {"connection_id":232329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:51:34] local.INFO: TCP Data received {"connection_id":229219,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:51:34] local.INFO: Processing buffer {"connection_id":229219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:51:34] local.INFO: IMEI packet received {"connection_id":229219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":229219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:51:40] local.INFO: TCP Data received {"connection_id":229219,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:51:40] local.INFO: Processing buffer {"connection_id":229219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:51:40] local.INFO: IMEI packet received {"connection_id":229219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":229219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:51:41] local.INFO: TCP Data received {"connection_id":229219,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:51:41] local.INFO: Processing buffer {"connection_id":229219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a420ea58012ce51bc007234b900009008030..."} 
[2026-11-04 06:51:41] local.INFO: Packet analysis {"connection_id":229219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:51:41] local.INFO: Extracted packet for processing {"connection_id":229219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a420"} 
[2026-11-04 06:51:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":48,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201198592001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793754983000,"timestamp_ms":1793754983000,"timestamp_seconds":1793754983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a420ea58"} 
[2026-11-04 06:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:51:41] 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-11-04 06:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201198592001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201198592001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:51:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:51:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:51:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201198592001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":229219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:51:41] local.INFO: GPS data processed {"connection_id":229219,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:51:41] local.INFO: Acknowledgment sent {"connection_id":229219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:51:47] local.INFO: TCP Data received {"connection_id":232329,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:51:47] local.INFO: Processing buffer {"connection_id":232329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:51:47] local.INFO: Packet analysis {"connection_id":232329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:51:47] local.INFO: Extracted packet for processing {"connection_id":232329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:51:47] 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-11-04 06:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:51:47] 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-11-04 06: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-11-04 06:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:51:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:51:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":232329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:51:47] local.INFO: GPS data processed {"connection_id":232329,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:51:47] local.INFO: Acknowledgment sent {"connection_id":232329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:52:12] local.INFO: TCP Data received {"connection_id":229219,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:52:12] local.INFO: Processing buffer {"connection_id":229219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:52:12] local.INFO: Packet analysis {"connection_id":229219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:52:12] local.INFO: Extracted packet for processing {"connection_id":229219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201275648001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793755284000,"timestamp_ms":1793755284000,"timestamp_seconds":1793755284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4258220"} 
[2026-11-04 06:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:52:12] 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-11-04 06:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201275648001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201275648001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:52:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:52:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201275648001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":229219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:52:12] local.INFO: GPS data processed {"connection_id":229219,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:52:12] local.INFO: Acknowledgment sent {"connection_id":229219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:52:14] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:52:14] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:52:14] local.INFO: IMEI packet received {"connection_id":230483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":230483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:52:20] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:52:20] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:52:20] local.INFO: IMEI packet received {"connection_id":230483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":230483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:52:21] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:52:21] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:52:21] local.INFO: Packet analysis {"connection_id":230483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:52:21] local.INFO: Extracted packet for processing {"connection_id":230483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:21] 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-11-04 06:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 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-11-04 06:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:52: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-11-04 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-11-04 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-11-04 06:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:52:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:52:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":230483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:52:21] local.INFO: GPS data processed {"connection_id":230483,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:52:21] local.INFO: Acknowledgment sent {"connection_id":230483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:52:34] local.INFO: TCP Data received {"connection_id":229220,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:52:34] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:52:34] local.INFO: IMEI packet received {"connection_id":229220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":229220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:52:40] local.INFO: TCP Data received {"connection_id":229220,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:52:40] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:52:40] local.INFO: IMEI packet received {"connection_id":229220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":229220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:52:41] local.INFO: TCP Data received {"connection_id":229220,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:52:41] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:52:41] local.INFO: Packet analysis {"connection_id":229220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:52:41] local.INFO: Extracted packet for processing {"connection_id":229220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:52:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201275648001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793755284000,"timestamp_ms":1793755284000,"timestamp_seconds":1793755284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4258220"} 
[2026-11-04 06:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:52:41] 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-11-04 06:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:52:41] 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-11-04 06:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201275648001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201275648001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:52:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:52:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:52:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201275648001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":229220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:52:41] local.INFO: GPS data processed {"connection_id":229220,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:52:41] local.INFO: Acknowledgment sent {"connection_id":229220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:52:52] local.INFO: TCP Data received {"connection_id":230483,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:52:52] local.INFO: Processing buffer {"connection_id":230483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4220398012d3c94c006a39460004601582c..."} 
[2026-11-04 06:52:52] local.INFO: Packet analysis {"connection_id":230483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:52:52] local.INFO: Extracted packet for processing {"connection_id":230483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a422"} 
[2026-11-04 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201217024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:52:52] 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-11-04 06:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793755055000,"timestamp_ms":1793755055000,"timestamp_seconds":1793755055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4220398"} 
[2026-11-04 06:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:52:52] 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-11-04 06:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201217024001,"66":25810,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201217024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:52:52] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:52:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201217024001,"power":25810,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":230483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:52:53] local.INFO: GPS data processed {"connection_id":230483,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:52:53] local.INFO: Acknowledgment sent {"connection_id":230483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:53:12] local.INFO: TCP Data received {"connection_id":229220,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:12] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:12] local.INFO: Packet analysis {"connection_id":229220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:53:12] local.INFO: Extracted packet for processing {"connection_id":229220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:53:12] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201275648001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793755284000,"timestamp_ms":1793755284000,"timestamp_seconds":1793755284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4258220"} 
[2026-11-04 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-11-04 06:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:53:12] 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-11-04 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-11-04 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-11-04 06:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:53:12] 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-11-04 06:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201275648001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201275648001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:53:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:53:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201275648001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":229220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:53:12] local.INFO: GPS data processed {"connection_id":229220,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:53:12] local.INFO: Acknowledgment sent {"connection_id":229220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:53:15] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:15] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:15] local.INFO: IMEI packet received {"connection_id":230484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":230484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:53:15] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:15] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:15] local.INFO: IMEI packet received {"connection_id":230484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":230484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:53:20] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:20] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:53:20] local.INFO: IMEI packet received {"connection_id":230484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":230484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:53:21] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:53:21] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:53:21] local.INFO: Packet analysis {"connection_id":230484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:53:21] local.INFO: Extracted packet for processing {"connection_id":230484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:21] 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-11-04 06:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:53:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:53:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":230484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:53:21] local.INFO: GPS data processed {"connection_id":230484,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:53:21] local.INFO: Acknowledgment sent {"connection_id":230484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:53:25] local.INFO: TCP Data received {"connection_id":230484,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:53:25] local.INFO: Processing buffer {"connection_id":230484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:53:25] local.INFO: Packet analysis {"connection_id":230484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:53:25] local.INFO: Extracted packet for processing {"connection_id":230484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:25] 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-11-04 06:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:53:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:53:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":230484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:53:25] local.INFO: GPS data processed {"connection_id":230484,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:53:25] local.INFO: Acknowledgment sent {"connection_id":230484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:53:40] local.INFO: TCP Data received {"connection_id":232330,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:53:40] local.INFO: Processing buffer {"connection_id":232330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:53:40] local.INFO: IMEI packet received {"connection_id":232330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":232330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:53:45] local.INFO: TCP Data received {"connection_id":232330,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:53:45] local.INFO: Processing buffer {"connection_id":232330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:53:45] local.INFO: IMEI packet received {"connection_id":232330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":232330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:53:46] local.INFO: TCP Data received {"connection_id":232330,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:46] local.INFO: Processing buffer {"connection_id":232330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:46] local.INFO: Packet analysis {"connection_id":232330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:53:46] local.INFO: Extracted packet for processing {"connection_id":232330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:53:46] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201275648001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793755284000,"timestamp_ms":1793755284000,"timestamp_seconds":1793755284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4258220"} 
[2026-11-04 06:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:53:46] 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-11-04 06:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201275648001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201275648001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:53:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:53:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201275648001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":232330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:53:46] local.INFO: GPS data processed {"connection_id":232330,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:53:46] local.INFO: Acknowledgment sent {"connection_id":232330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:53:50] local.INFO: TCP Data received {"connection_id":232330,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:50] local.INFO: Processing buffer {"connection_id":232330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:53:50] local.INFO: Packet analysis {"connection_id":232330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:53:50] local.INFO: Extracted packet for processing {"connection_id":232330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:53:50] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201275648001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793755284000,"timestamp_ms":1793755284000,"timestamp_seconds":1793755284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4258220"} 
[2026-11-04 06:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:53:50] 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-11-04 06:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201275648001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201275648001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:53:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201275648001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":232330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:53:50] local.INFO: GPS data processed {"connection_id":232330,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:53:50] local.INFO: Acknowledgment sent {"connection_id":232330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:54:09] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:54:09] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:54:09] local.INFO: IMEI packet received {"connection_id":230485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":230485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:54:15] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:54:15] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:54:15] local.INFO: IMEI packet received {"connection_id":230485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":230485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:54:16] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:54:16] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:54:16] local.INFO: Packet analysis {"connection_id":230485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:54:16] local.INFO: Extracted packet for processing {"connection_id":230485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:16] 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-11-04 06:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":230485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:54:16] local.INFO: GPS data processed {"connection_id":230485,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:54:16] local.INFO: Acknowledgment sent {"connection_id":230485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:54:35] local.INFO: TCP Data received {"connection_id":232331,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:54:35] local.INFO: Processing buffer {"connection_id":232331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:54:35] local.INFO: IMEI packet received {"connection_id":232331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":232331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:54:40] local.INFO: TCP Data received {"connection_id":232331,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:54:40] local.INFO: Processing buffer {"connection_id":232331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:54:40] local.INFO: IMEI packet received {"connection_id":232331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":232331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:54:41] local.INFO: TCP Data received {"connection_id":232331,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:54:41] local.INFO: Processing buffer {"connection_id":232331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4258220012ce51bc007234b90000900802f..."} 
[2026-11-04 06:54:41] local.INFO: Packet analysis {"connection_id":232331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:54:41] local.INFO: Extracted packet for processing {"connection_id":232331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a425"} 
[2026-11-04 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201275648001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793755284000,"timestamp_ms":1793755284000,"timestamp_seconds":1793755284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4258220"} 
[2026-11-04 06:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:54:41] 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-11-04 06:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201275648001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201275648001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:54:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:54:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201275648001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":232331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:54:41] local.INFO: GPS data processed {"connection_id":232331,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:54:41] local.INFO: Acknowledgment sent {"connection_id":232331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:54:48] local.INFO: TCP Data received {"connection_id":230485,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:54:48] local.INFO: Processing buffer {"connection_id":230485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:54:48] local.INFO: Packet analysis {"connection_id":230485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:54:48] local.INFO: Extracted packet for processing {"connection_id":230485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:54:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:54:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":230485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:54:48] local.INFO: GPS data processed {"connection_id":230485,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:54:48] local.INFO: Acknowledgment sent {"connection_id":230485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:55:09] local.INFO: TCP Data received {"connection_id":228728,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:55:09] local.INFO: Processing buffer {"connection_id":228728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:55:09] local.INFO: IMEI packet received {"connection_id":228728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":228728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:55:11] local.INFO: TCP Data received {"connection_id":232331,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4280a90012ce51bc007234b90000900802d..."} 
[2026-11-04 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4280a90012ce51bc007234b90000900802d..."} 
[2026-11-04 06:55:11] local.INFO: Processing buffer {"connection_id":232331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4280a90012ce51bc007234b90000900802d..."} 
[2026-11-04 06:55:11] local.INFO: Packet analysis {"connection_id":232331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:55:11] local.INFO: Extracted packet for processing {"connection_id":232331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":753212352,"raw_latitude":119753616,"longitude_deg":75.3212352,"latitude_deg":11.9753616,"altitude":9,"angle":128,"satellites":45,"speed":0,"hex_longitude":"2ce51bc0","hex_latitude":"07234b90","is_valid_coordinates":true} 
[2026-11-04 06:55: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-11-04 06:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201352704001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793755450000,"timestamp_ms":1793755450000,"timestamp_seconds":1793755450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4280a90"} 
[2026-11-04 06:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:55:11] 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-11-04 06:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201352704001,"66":24680,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201352704001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:55:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201352704001,"power":24680,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":232331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:55:11] local.INFO: GPS data processed {"connection_id":232331,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:55:11] local.INFO: Acknowledgment sent {"connection_id":232331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:55:15] local.INFO: TCP Data received {"connection_id":228728,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:55:15] local.INFO: Processing buffer {"connection_id":228728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:55:15] local.INFO: IMEI packet received {"connection_id":228728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":228728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:55:16] local.INFO: TCP Data received {"connection_id":228728,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:55:16] local.INFO: Processing buffer {"connection_id":228728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:55:16] local.INFO: Packet analysis {"connection_id":228728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:55:16] local.INFO: Extracted packet for processing {"connection_id":228728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:16] 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-11-04 06:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:55:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:55:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":228728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:55:16] local.INFO: GPS data processed {"connection_id":228728,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:55:16] local.INFO: Acknowledgment sent {"connection_id":228728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:55:34] local.INFO: TCP Data received {"connection_id":229221,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:55:34] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:55:34] local.INFO: IMEI packet received {"connection_id":229221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":229221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:55:40] local.INFO: TCP Data received {"connection_id":229221,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:55:40] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:55:40] local.INFO: IMEI packet received {"connection_id":229221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":229221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:55:41] local.INFO: TCP Data received {"connection_id":229221,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4286468012ce5198007234bc8000900802e..."} 
[2026-11-04 06:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4286468012ce5198007234bc8000900802e..."} 
[2026-11-04 06:55:41] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4286468012ce5198007234bc8000900802e..."} 
[2026-11-04 06:55:41] local.INFO: Packet analysis {"connection_id":229221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:55:41] local.INFO: Extracted packet for processing {"connection_id":229221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:55:41] local.INFO: GPS Element Parsed {"raw_longitude":753211776,"raw_latitude":119753672,"longitude_deg":75.3211776,"latitude_deg":11.9753672,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51980","hex_latitude":"07234bc8","is_valid_coordinates":true} 
[2026-11-04 06:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201395200001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937744077763407872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793755473000,"timestamp_ms":1793755473000,"timestamp_seconds":1793755473,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4286468"} 
[2026-11-04 06:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 06:55:41] 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-11-04 06:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201395200001,"66":26963,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1937744077763407872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201395200001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:55:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:55:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937744077763407872,"description":"Unknown IO ID 44"} 
[2026-11-04 06:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201395200001,"power":26963,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1937744077763407872}} 
[2026-11-04 06:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":229221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:55:41] local.INFO: GPS data processed {"connection_id":229221,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:55:41] local.INFO: Acknowledgment sent {"connection_id":229221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:55:47] local.INFO: TCP Data received {"connection_id":228728,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:55:47] local.INFO: Processing buffer {"connection_id":228728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:55:47] local.INFO: Packet analysis {"connection_id":228728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:55:47] local.INFO: Extracted packet for processing {"connection_id":228728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:55:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:55:47] 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-11-04 06:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:55:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:55:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":228728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:55:47] local.INFO: GPS data processed {"connection_id":228728,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:55:47] local.INFO: Acknowledgment sent {"connection_id":228728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:56:12] local.INFO: TCP Data received {"connection_id":229221,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a428b670012ce5198007234bc8000900802e..."} 
[2026-11-04 06:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a428b670012ce5198007234bc8000900802e..."} 
[2026-11-04 06:56:12] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a428b670012ce5198007234bc8000900802e..."} 
[2026-11-04 06:56:12] local.INFO: Packet analysis {"connection_id":229221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:56:12] local.INFO: Extracted packet for processing {"connection_id":229221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:56:12] local.INFO: GPS Element Parsed {"raw_longitude":753211776,"raw_latitude":119753672,"longitude_deg":75.3211776,"latitude_deg":11.9753672,"altitude":9,"angle":128,"satellites":46,"speed":0,"hex_longitude":"2ce51980","hex_latitude":"07234bc8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 06:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201401088001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302574180302848,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938377396460992512,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793755494000,"timestamp_ms":1793755494000,"timestamp_seconds":1793755494,"priority":1,"record_length":96,"hex_timestamp":"000001a1a428b670"} 
[2026-11-04 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-11-04 06:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":105,"n8_eight_byte":83,"data_length":795,"current_offset":136} 
[2026-11-04 06:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 06:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201401088001,"66":27539,"87":206,"83":43008,"24":0,"16":38302574180302848,"44":-1938377396460992512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201401088001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:56:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:56:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302574180302848,"km_value":38302574180302.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:56:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938377396460992512,"description":"Unknown IO ID 44"} 
[2026-11-04 06:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201401088001,"power":27539,"unknown_87":206,"unknown_83":43008,"ignition":0,"odometer":null,"unknown_44":-1938377396460992512}} 
[2026-11-04 06:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":229221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:56:12] local.INFO: GPS data processed {"connection_id":229221,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:56:12] local.INFO: Acknowledgment sent {"connection_id":229221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:56:15] local.INFO: TCP Data received {"connection_id":232332,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:56:15] local.INFO: Processing buffer {"connection_id":232332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:56:15] local.INFO: IMEI packet received {"connection_id":232332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":232332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:56:20] local.INFO: TCP Data received {"connection_id":232332,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:56:20] local.INFO: Processing buffer {"connection_id":232332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:56:20] local.INFO: IMEI packet received {"connection_id":232332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":232332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:56:21] local.INFO: TCP Data received {"connection_id":232332,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:56:21] local.INFO: Processing buffer {"connection_id":232332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:56:21] local.INFO: Packet analysis {"connection_id":232332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:56:21] local.INFO: Extracted packet for processing {"connection_id":232332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:56:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:21] 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-11-04 06:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:56:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:56:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":232332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:56:21] local.INFO: GPS data processed {"connection_id":232332,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:56:21] local.INFO: Acknowledgment sent {"connection_id":232332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:56:26] local.INFO: TCP Data received {"connection_id":232332,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:56:26] local.INFO: Processing buffer {"connection_id":232332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:56:26] local.INFO: Packet analysis {"connection_id":232332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:56:26] local.INFO: Extracted packet for processing {"connection_id":232332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:56:26] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:26] 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-11-04 06:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:56:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:56:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":232332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:56:26] local.INFO: GPS data processed {"connection_id":232332,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:56:26] local.INFO: Acknowledgment sent {"connection_id":232332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:56:46] local.INFO: TCP Data received {"connection_id":230486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:46] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:46] local.INFO: IMEI packet received {"connection_id":230486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":230486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:56:49] local.INFO: TCP Data received {"connection_id":230486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:49] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:49] local.INFO: IMEI packet received {"connection_id":230486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":230486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:56:49] local.INFO: TCP Data received {"connection_id":230486,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:49] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:56:49] local.INFO: IMEI packet received {"connection_id":230486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":230486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:56:50] local.INFO: TCP Data received {"connection_id":230486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a428dd80012ce51d00072348680008008d2e..."} 
[2026-11-04 06:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a428dd80012ce51d00072348680008008d2e..."} 
[2026-11-04 06:56:50] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a428dd80012ce51d00072348680008008d2e..."} 
[2026-11-04 06:56:50] local.INFO: Packet analysis {"connection_id":230486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:56:50] local.INFO: Extracted packet for processing {"connection_id":230486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a428"} 
[2026-11-04 06:56:50] local.INFO: GPS Element Parsed {"raw_longitude":753212672,"raw_latitude":119752808,"longitude_deg":75.3212672,"latitude_deg":11.9752808,"altitude":8,"angle":141,"satellites":46,"speed":12,"hex_longitude":"2ce51d00","hex_latitude":"07234868","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201406464001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38302638604812288,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1938377396460992512,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793755504000,"timestamp_ms":1793755504000,"timestamp_seconds":1793755504,"priority":1,"record_length":96,"hex_timestamp":"000001a1a428dd80"} 
[2026-11-04 06:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 06:56:50] 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-11-04 06: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-11-04 06:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201406464001,"66":27658,"87":206,"83":43008,"24":12,"16":38302638604812288,"44":-1938377396460992512},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,44]} 
[2026-11-04 06:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201406464001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:56:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-11-04 06:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38302638604812288,"km_value":38302638604812.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1938377396460992512,"description":"Unknown IO ID 44"} 
[2026-11-04 06:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201406464001,"power":27658,"unknown_87":206,"unknown_83":43008,"ignition":12,"odometer":null,"unknown_44":-1938377396460992512}} 
[2026-11-04 06:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":230486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:56:50] local.INFO: GPS data processed {"connection_id":230486,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:56:50] local.INFO: Acknowledgment sent {"connection_id":230486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:56:55] local.INFO: TCP Data received {"connection_id":230486,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4291c00012ce5348007232bc00008008d2f..."} 
[2026-11-04 06:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4291c00012ce5348007232bc00008008d2f..."} 
[2026-11-04 06:56:55] local.INFO: Processing buffer {"connection_id":230486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4291c00012ce5348007232bc00008008d2f..."} 
[2026-11-04 06:56:55] local.INFO: Packet analysis {"connection_id":230486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a429"} 
[2026-11-04 06:56:55] local.INFO: Extracted packet for processing {"connection_id":230486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a429"} 
[2026-11-04 06:56:55] local.INFO: GPS Element Parsed {"raw_longitude":753218688,"raw_latitude":119745472,"longitude_deg":75.3218688,"latitude_deg":11.9745472,"altitude":8,"angle":141,"satellites":47,"speed":30,"hex_longitude":"2ce53480","hex_latitude":"07232bc0","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201409024001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38303093871345664,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1937392234042726400,"note":"Value kept but may cause issues"} 
[2026-11-04 06:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793755520000,"timestamp_ms":1793755520000,"timestamp_seconds":1793755520,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4291c00"} 
[2026-11-04 06:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 06:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201409024001,"66":27658,"73":206,"83":43008,"24":30,"16":38303093871345664,"44":-1937392234042726400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-11-04 06:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201409024001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:56:55] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 06:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38303093871345664,"km_value":38303093871345.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1937392234042726400,"description":"Unknown IO ID 44"} 
[2026-11-04 06:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201409024001,"power":27658,"unknown_73":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1937392234042726400}} 
[2026-11-04 06:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":230486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:56:55] local.INFO: GPS data processed {"connection_id":230486,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:56:55] local.INFO: Acknowledgment sent {"connection_id":230486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:57:10] local.INFO: TCP Data received {"connection_id":229222,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:57:10] local.INFO: Processing buffer {"connection_id":229222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:57:10] local.INFO: IMEI packet received {"connection_id":229222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":229222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:57:15] local.INFO: TCP Data received {"connection_id":229222,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:57:15] local.INFO: Processing buffer {"connection_id":229222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:57:15] local.INFO: IMEI packet received {"connection_id":229222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":229222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:57:16] local.INFO: TCP Data received {"connection_id":229222,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:57:16] local.INFO: Processing buffer {"connection_id":229222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:57:16] local.INFO: Packet analysis {"connection_id":229222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:57:16] local.INFO: Extracted packet for processing {"connection_id":229222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:16] 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-11-04 06:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:57:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:57:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":229222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:57:16] local.INFO: GPS data processed {"connection_id":229222,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:57:16] local.INFO: Acknowledgment sent {"connection_id":229222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:57:40] local.INFO: TCP Data received {"connection_id":232333,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:40] local.INFO: Processing buffer {"connection_id":232333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:40] local.INFO: IMEI packet received {"connection_id":232333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":232333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:57:41] local.INFO: TCP Data received {"connection_id":232333,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:41] local.INFO: Processing buffer {"connection_id":232333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:41] local.INFO: IMEI packet received {"connection_id":232333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":232333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:57:45] local.INFO: TCP Data received {"connection_id":232333,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:45] local.INFO: Processing buffer {"connection_id":232333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:57:45] local.INFO: IMEI packet received {"connection_id":232333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":232333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:57:46] local.INFO: TCP Data received {"connection_id":232333,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42946f8012ce54ac007230d00000800932e..."} 
[2026-11-04 06:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42946f8012ce54ac007230d00000800932e..."} 
[2026-11-04 06:57:46] local.INFO: Processing buffer {"connection_id":232333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42946f8012ce54ac007230d00000800932e..."} 
[2026-11-04 06:57:46] local.INFO: Packet analysis {"connection_id":232333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a429"} 
[2026-11-04 06:57:46] local.INFO: Extracted packet for processing {"connection_id":232333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a429"} 
[2026-11-04 06:57:46] local.INFO: GPS Element Parsed {"raw_longitude":753224384,"raw_latitude":119737600,"longitude_deg":75.3224384,"latitude_deg":11.97376,"altitude":8,"angle":147,"satellites":46,"speed":39,"hex_longitude":"2ce54ac0","hex_latitude":"07230d00","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201413120001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38303562022780928,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1930777572091904000,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793755531000,"timestamp_ms":1793755531000,"timestamp_seconds":1793755531,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42946f8"} 
[2026-11-04 06:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 06:57:46] 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-11-04 06: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-11-04 06:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201413120001,"66":27626,"73":206,"83":43008,"24":39,"16":38303562022780928,"44":-1930777572091904000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-11-04 06:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201413120001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:57:46] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 06:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38303562022780928,"km_value":38303562022780.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1930777572091904000,"description":"Unknown IO ID 44"} 
[2026-11-04 06:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201413120001,"power":27626,"unknown_73":206,"unknown_83":43008,"ignition":39,"odometer":null,"unknown_44":-1930777572091904000}} 
[2026-11-04 06:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":232333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:57:46] local.INFO: GPS data processed {"connection_id":232333,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:57:46] local.INFO: Acknowledgment sent {"connection_id":232333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:57:47] local.INFO: TCP Data received {"connection_id":229222,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:57:47] local.INFO: Processing buffer {"connection_id":229222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4269b60012d3c94c006a39460004601582c..."} 
[2026-11-04 06:57:47] local.INFO: Packet analysis {"connection_id":229222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:57:47] local.INFO: Extracted packet for processing {"connection_id":229222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a426"} 
[2026-11-04 06:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201294080001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:47] 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-11-04 06:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755356000,"timestamp_ms":1793755356000,"timestamp_seconds":1793755356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4269b60"} 
[2026-11-04 06:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-11-04 06:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201294080001,"66":25778,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201294080001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:57:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:57:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201294080001,"power":25778,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":229222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:57:47] local.INFO: GPS data processed {"connection_id":229222,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:57:47] local.INFO: Acknowledgment sent {"connection_id":229222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:57:50] local.INFO: TCP Data received {"connection_id":232333,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4296a20012ce55c400722ee08000800972d..."} 
[2026-11-04 06:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4296a20012ce55c400722ee08000800972d..."} 
[2026-11-04 06:57:50] local.INFO: Processing buffer {"connection_id":232333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4296a20012ce55c400722ee08000800972d..."} 
[2026-11-04 06:57:50] local.INFO: Packet analysis {"connection_id":232333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a429"} 
[2026-11-04 06:57:50] local.INFO: Extracted packet for processing {"connection_id":232333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a429"} 
[2026-11-04 06:57:50] local.INFO: GPS Element Parsed {"raw_longitude":753228864,"raw_latitude":119729672,"longitude_deg":75.3228864,"latitude_deg":11.9729672,"altitude":8,"angle":151,"satellites":45,"speed":42,"hex_longitude":"2ce55c40","hex_latitude":"0722ee08","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201415936001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38304000109445120,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1924514753862107136,"note":"Value kept but may cause issues"} 
[2026-11-04 06:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793755540000,"timestamp_ms":1793755540000,"timestamp_seconds":1793755540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4296a20"} 
[2026-11-04 06:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 06:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201415936001,"66":27691,"73":206,"83":43008,"24":42,"16":38304000109445120,"44":-1924514753862107136},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,83,24,16,44]} 
[2026-11-04 06:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201415936001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:57:50] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 06:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38304000109445120,"km_value":38304000109445.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1924514753862107136,"description":"Unknown IO ID 44"} 
[2026-11-04 06:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201415936001,"power":27691,"unknown_73":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1924514753862107136}} 
[2026-11-04 06:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":232333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:57:50] local.INFO: GPS data processed {"connection_id":232333,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:57:50] local.INFO: Acknowledgment sent {"connection_id":232333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:58:09] local.INFO: TCP Data received {"connection_id":232334,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:58:09] local.INFO: Processing buffer {"connection_id":232334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:58:09] local.INFO: IMEI packet received {"connection_id":232334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":232334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:58:15] local.INFO: TCP Data received {"connection_id":232334,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:58:15] local.INFO: Processing buffer {"connection_id":232334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:58:15] local.INFO: IMEI packet received {"connection_id":232334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":232334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:58:16] local.INFO: TCP Data received {"connection_id":232334,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:58:16] local.INFO: Processing buffer {"connection_id":232334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:58:16] local.INFO: Packet analysis {"connection_id":232334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:16] local.INFO: Extracted packet for processing {"connection_id":232334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:16] 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-11-04 06:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 06:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:58:16] 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-11-04 06: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-11-04 06:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:58:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:58:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":232334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:58:16] local.INFO: GPS data processed {"connection_id":232334,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:58:16] local.INFO: Acknowledgment sent {"connection_id":232334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:58:45] local.INFO: TCP Data received {"connection_id":229223,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:45] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:45] local.INFO: IMEI packet received {"connection_id":229223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":229223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:58:45] local.INFO: TCP Data received {"connection_id":229223,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:45] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:45] local.INFO: IMEI packet received {"connection_id":229223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":229223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:58:48] local.INFO: TCP Data received {"connection_id":232334,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:58:48] local.INFO: Processing buffer {"connection_id":232334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:58:48] local.INFO: Packet analysis {"connection_id":232334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:48] local.INFO: Extracted packet for processing {"connection_id":232334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 06:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:58:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:58:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":232334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:58:48] local.INFO: GPS data processed {"connection_id":232334,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:58:48] local.INFO: Acknowledgment sent {"connection_id":232334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:58:49] local.INFO: TCP Data received {"connection_id":229223,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:49] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:58:49] local.INFO: IMEI packet received {"connection_id":229223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":229223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:58:50] local.INFO: TCP Data received {"connection_id":229223,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b1000012ce67900072173700009008f2d..."} 
[2026-11-04 06:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b1000012ce67900072173700009008f2d..."} 
[2026-11-04 06:58:50] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b1000012ce67900072173700009008f2d..."} 
[2026-11-04 06:58:50] local.INFO: Packet analysis {"connection_id":229223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:50] local.INFO: Extracted packet for processing {"connection_id":229223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:50] local.INFO: GPS Element Parsed {"raw_longitude":753301760,"raw_latitude":119632752,"longitude_deg":75.330176,"latitude_deg":11.9632752,"altitude":9,"angle":143,"satellites":45,"speed":52,"hex_longitude":"2ce67900","hex_latitude":"07217370","is_valid_coordinates":true} 
[2026-11-04 06:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201443840001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38309854149869568,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1845983235384559616,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793755648000,"timestamp_ms":1793755648000,"timestamp_seconds":1793755648,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b1000"} 
[2026-11-04 06:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 06:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201443840001,"66":27691,"67":206,"83":43008,"24":52,"16":38309854149869568,"44":-1845983235384559616},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-11-04 06:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201443840001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:58:50] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 06:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38309854149869568,"km_value":38309854149869.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1845983235384559616,"description":"Unknown IO ID 44"} 
[2026-11-04 06:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201443840001,"power":27691,"unknown_67":206,"unknown_83":43008,"ignition":52,"odometer":null,"unknown_44":-1845983235384559616}} 
[2026-11-04 06:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":229223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:58:50] local.INFO: GPS data processed {"connection_id":229223,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:58:50] local.INFO: Acknowledgment sent {"connection_id":229223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:58:52] local.INFO: TCP Data received {"connection_id":229223,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b2b58012ce68f8007215420000900942d..."} 
[2026-11-04 06:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b2b58012ce68f8007215420000900942d..."} 
[2026-11-04 06:58:52] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b2b58012ce68f8007215420000900942d..."} 
[2026-11-04 06:58:52] local.INFO: Packet analysis {"connection_id":229223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:52] local.INFO: Extracted packet for processing {"connection_id":229223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:58:52] local.INFO: GPS Element Parsed {"raw_longitude":753307520,"raw_latitude":119624736,"longitude_deg":75.330752,"latitude_deg":11.9624736,"altitude":9,"angle":148,"satellites":45,"speed":58,"hex_longitude":"2ce68f80","hex_latitude":"07215420","is_valid_coordinates":true} 
[2026-11-04 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201445888001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38310326596272128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1839438942178152448,"note":"Value kept but may cause issues"} 
[2026-11-04 06:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793755655000,"timestamp_ms":1793755655000,"timestamp_seconds":1793755655,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b2b58"} 
[2026-11-04 06:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 06:58:52] 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-11-04 06:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:58:52] 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-11-04 06:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201445888001,"66":27745,"67":206,"83":43008,"24":58,"16":38310326596272128,"44":-1839438942178152448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-11-04 06:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201445888001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:58:52] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 06:58:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38310326596272128,"km_value":38310326596272.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:58:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1839438942178152448,"description":"Unknown IO ID 44"} 
[2026-11-04 06:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201445888001,"power":27745,"unknown_67":206,"unknown_83":43008,"ignition":58,"odometer":null,"unknown_44":-1839438942178152448}} 
[2026-11-04 06:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":229223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:58:52] local.INFO: GPS data processed {"connection_id":229223,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:58:52] local.INFO: Acknowledgment sent {"connection_id":229223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:59:15] local.INFO: TCP Data received {"connection_id":230487,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:59:15] local.INFO: Processing buffer {"connection_id":230487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:59:15] local.INFO: IMEI packet received {"connection_id":230487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 06:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":230487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:59:20] local.INFO: TCP Data received {"connection_id":230487,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:59:20] local.INFO: Processing buffer {"connection_id":230487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 06:59:20] local.INFO: IMEI packet received {"connection_id":230487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 06:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":230487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:59:21] local.INFO: TCP Data received {"connection_id":230487,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:59:21] local.INFO: Processing buffer {"connection_id":230487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:59:21] local.INFO: Packet analysis {"connection_id":230487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:21] local.INFO: Extracted packet for processing {"connection_id":230487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:21] 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-11-04 06:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 06:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:59: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-11-04 06: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-11-04 06:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:59:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":230487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:59:21] local.INFO: GPS data processed {"connection_id":230487,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:59:21] local.INFO: Acknowledgment sent {"connection_id":230487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:59:25] local.INFO: TCP Data received {"connection_id":230487,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:59:25] local.INFO: Processing buffer {"connection_id":230487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 06:59:25] local.INFO: Packet analysis {"connection_id":230487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:25] local.INFO: Extracted packet for processing {"connection_id":230487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 06:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:25] 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-11-04 06:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 06:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 06:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 06:59:25] 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-11-04 06:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 06:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 06:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 06:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 06:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 06:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 06:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:59:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 06:59:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 06:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 06:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 06:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":230487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:59:25] local.INFO: GPS data processed {"connection_id":230487,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:59:25] local.INFO: Acknowledgment sent {"connection_id":230487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:59:35] local.INFO: TCP Data received {"connection_id":232335,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:35] local.INFO: Processing buffer {"connection_id":232335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:35] local.INFO: IMEI packet received {"connection_id":232335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 06:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":232335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 06:59:36] local.INFO: TCP Data received {"connection_id":232335,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:36] local.INFO: Processing buffer {"connection_id":232335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:36] local.INFO: IMEI packet received {"connection_id":232335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":232335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:59:40] local.INFO: TCP Data received {"connection_id":232335,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:40] local.INFO: Processing buffer {"connection_id":232335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 06:59:40] local.INFO: IMEI packet received {"connection_id":232335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 06:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":232335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 06:59:44] local.INFO: TCP Data received {"connection_id":232335,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b46b0012ce6a3c0072131f8000a00922e..."} 
[2026-11-04 06:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b46b0012ce6a3c0072131f8000a00922e..."} 
[2026-11-04 06:59:44] local.INFO: Processing buffer {"connection_id":232335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b46b0012ce6a3c0072131f8000a00922e..."} 
[2026-11-04 06:59:44] local.INFO: Packet analysis {"connection_id":232335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:44] local.INFO: Extracted packet for processing {"connection_id":232335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:44] local.INFO: GPS Element Parsed {"raw_longitude":753312704,"raw_latitude":119615992,"longitude_deg":75.3312704,"latitude_deg":11.9615992,"altitude":10,"angle":146,"satellites":46,"speed":52,"hex_longitude":"2ce6a3c0","hex_latitude":"072131f8","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201447680001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38310816222543872,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1833105755204214784,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793755662000,"timestamp_ms":1793755662000,"timestamp_seconds":1793755662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b46b0"} 
[2026-11-04 06:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 06:59: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-11-04 06: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-11-04 06:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201447680001,"66":27767,"67":206,"83":43008,"24":52,"16":38310816222543872,"44":-1833105755204214784},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-11-04 06:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201447680001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:59:44] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 06:59:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38310816222543872,"km_value":38310816222543.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1833105755204214784,"description":"Unknown IO ID 44"} 
[2026-11-04 06:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201447680001,"power":27767,"unknown_67":206,"unknown_83":43008,"ignition":52,"odometer":null,"unknown_44":-1833105755204214784}} 
[2026-11-04 06:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":232335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:59:44] local.INFO: GPS data processed {"connection_id":232335,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:59:44] local.INFO: Acknowledgment sent {"connection_id":232335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:59:49] local.INFO: TCP Data received {"connection_id":232335,"ip":"42.106.6.40","data_length":1348,"data_hex":"000000000000030f8e0a000001a1a42b4e80012ce6a9c007212a80000900862e..."} 
[2026-11-04 06:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232335,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a1a42b4e80012ce6a9c007212a80000900862e..."} 
[2026-11-04 06:59:49] local.INFO: Processing buffer {"connection_id":232335,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a1a42b4e80012ce6a9c007212a80000900862e..."} 
[2026-11-04 06:59:49] local.INFO: Packet analysis {"connection_id":232335,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:49] local.INFO: Extracted packet for processing {"connection_id":232335,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:49] local.INFO: GPS Element Parsed {"raw_longitude":753314240,"raw_latitude":119614080,"longitude_deg":75.331424,"latitude_deg":11.961408,"altitude":9,"angle":134,"satellites":46,"speed":45,"hex_longitude":"2ce6a9c0","hex_latitude":"07212a80","is_valid_coordinates":true} 
[2026-11-04 06: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-11-04 06:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201449472001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38310936481628160,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1827405886928062464,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793755664000,"timestamp_ms":1793755664000,"timestamp_seconds":1793755664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b4e80"} 
[2026-11-04 06:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 06:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06: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-11-04 06:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201449472001,"66":27767,"67":206,"83":43008,"24":45,"16":38310936481628160,"44":-1827405886928062464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-11-04 06:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201449472001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:59:49] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 06:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38310936481628160,"km_value":38310936481628.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1827405886928062464,"description":"Unknown IO ID 44"} 
[2026-11-04 06:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201449472001,"power":27767,"unknown_67":206,"unknown_83":43008,"ignition":45,"odometer":null,"unknown_44":-1827405886928062464}} 
[2026-11-04 06:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":232335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:59:49] local.INFO: GPS data processed {"connection_id":232335,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:59:49] local.INFO: Acknowledgment sent {"connection_id":232335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 06:59:49] local.INFO: Packet analysis {"connection_id":232335,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:49] local.INFO: Incomplete packet, waiting for more data {"connection_id":232335,"needed":795,"available":553} 
[2026-11-04 06:59:54] local.INFO: TCP Data received {"connection_id":232335,"ip":"42.106.6.40","data_length":242,"data_hex":"000000000001a1a42aae58012ce634c00721cf080009008e2e00290000000a00..."} 
[2026-11-04 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232335,"packet_length":242,"packet_hex":"000000000001a1a42aae58012ce634c00721cf080009008e2e00290000000a00..."} 
[2026-11-04 06:59:54] local.INFO: Processing buffer {"connection_id":232335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b6dc0012ce6c00007211180000900912d..."} 
[2026-11-04 06:59:54] local.INFO: Packet analysis {"connection_id":232335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:54] local.INFO: Extracted packet for processing {"connection_id":232335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 06:59:54] local.INFO: GPS Element Parsed {"raw_longitude":753319936,"raw_latitude":119607680,"longitude_deg":75.3319936,"latitude_deg":11.960768,"altitude":9,"angle":145,"satellites":45,"speed":42,"hex_longitude":"2ce6c000","hex_latitude":"07211180","is_valid_coordinates":true} 
[2026-11-04 06:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 06:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201449984001,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38311348798488576,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1825717037068288000,"note":"Value kept but may cause issues"} 
[2026-11-04 06:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 06:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793755672000,"timestamp_ms":1793755672000,"timestamp_seconds":1793755672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b6dc0"} 
[2026-11-04 06:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 06:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 06:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 06:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 06:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 06:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 06:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 06:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 06:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 06:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 06:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 06:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 06:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201449984001,"66":27767,"67":206,"83":43008,"24":42,"16":38311348798488576,"44":-1825717037068288000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,83,24,16,44]} 
[2026-11-04 06:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 06:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 06:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201449984001,"description":"Unknown IO ID 0"} 
[2026-11-04 06:59:54] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 06:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 06:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38311348798488576,"km_value":38311348798488.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 06:59:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1825717037068288000,"description":"Unknown IO ID 44"} 
[2026-11-04 06:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201449984001,"power":27767,"unknown_67":206,"unknown_83":43008,"ignition":42,"odometer":null,"unknown_44":-1825717037068288000}} 
[2026-11-04 06:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":232335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 06:59:54] local.INFO: GPS data processed {"connection_id":232335,"processed":1,"errors":0,"total":1} 
[2026-11-04 06:59:54] local.INFO: Acknowledgment sent {"connection_id":232335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:00:10] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:00:10] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:00:10] local.INFO: IMEI packet received {"connection_id":230488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":230488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:00:15] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:00:15] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:00:15] local.INFO: IMEI packet received {"connection_id":230488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":230488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:00:16] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:00:16] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:00:16] local.INFO: Packet analysis {"connection_id":230488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:00:16] local.INFO: Extracted packet for processing {"connection_id":230488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:16] 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-11-04 07:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 07:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 07:00:16] 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-11-04 07: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-11-04 07:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:00:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:00:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":230488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:00:16] local.INFO: GPS data processed {"connection_id":230488,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:00:16] local.INFO: Acknowledgment sent {"connection_id":230488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:00:36] local.INFO: TCP Data received {"connection_id":228729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:36] local.INFO: Processing buffer {"connection_id":228729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:36] local.INFO: IMEI packet received {"connection_id":228729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":228729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:00:37] local.INFO: TCP Data received {"connection_id":228729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:37] local.INFO: Processing buffer {"connection_id":228729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:37] local.INFO: IMEI packet received {"connection_id":228729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":228729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:00:43] local.INFO: TCP Data received {"connection_id":228729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:43] local.INFO: Processing buffer {"connection_id":228729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:00:43] local.INFO: IMEI packet received {"connection_id":228729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":228729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:00:46] local.INFO: TCP Data received {"connection_id":228729,"ip":"42.106.6.40","data_length":1348,"data_hex":"000000000000030f8e0a000001a1a42ccd50012ce7a200071f9ed00009008a2f..."} 
[2026-11-04 07:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228729,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a1a42ccd50012ce7a200071f9ed00009008a2f..."} 
[2026-11-04 07:00:46] local.INFO: Processing buffer {"connection_id":228729,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a1a42ccd50012ce7a200071f9ed00009008a2f..."} 
[2026-11-04 07:00:46] local.INFO: Packet analysis {"connection_id":228729,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a1a42c"} 
[2026-11-04 07:00:46] local.INFO: Extracted packet for processing {"connection_id":228729,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a42c"} 
[2026-11-04 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":753377792,"raw_latitude":119512784,"longitude_deg":75.3377792,"latitude_deg":11.9512784,"altitude":9,"angle":138,"satellites":47,"speed":37,"hex_longitude":"2ce7a200","hex_latitude":"071f9ed0","is_valid_coordinates":true} 
[2026-11-04 07:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201472768001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38316734687477760,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1761400004913975296,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793755762000,"timestamp_ms":1793755762000,"timestamp_seconds":1793755762,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42ccd50"} 
[2026-11-04 07:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201472768001,"66":27800,"144":206,"83":43008,"24":37,"16":38316734687477760,"44":-1761400004913975296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-11-04 07:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201472768001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:00:46] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-11-04 07:00:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38316734687477760,"km_value":38316734687477.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1761400004913975296,"description":"Unknown IO ID 44"} 
[2026-11-04 07:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201472768001,"power":27800,"unknown_144":206,"unknown_83":43008,"ignition":37,"odometer":null,"unknown_44":-1761400004913975296}} 
[2026-11-04 07:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":228729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:00:46] local.INFO: GPS data processed {"connection_id":228729,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:00:46] local.INFO: Acknowledgment sent {"connection_id":228729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:00:46] local.INFO: Packet analysis {"connection_id":228729,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a42c"} 
[2026-11-04 07:00:46] local.INFO: Incomplete packet, waiting for more data {"connection_id":228729,"needed":795,"available":553} 
[2026-11-04 07:00:47] local.INFO: TCP Data received {"connection_id":228729,"ip":"42.106.6.40","data_length":1037,"data_hex":"000000000001a1a42c0a00012ce73c8007205e80000a00982d00380000000a00..."} 
[2026-11-04 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228729,"packet_length":1037,"packet_hex":"000000000001a1a42c0a00012ce73c8007205e80000a00982d00380000000a00..."} 
[2026-11-04 07:00:47] local.INFO: Processing buffer {"connection_id":228729,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a42cec90012ce7b680071f8c680008007f30..."} 
[2026-11-04 07:00:47] local.INFO: Packet analysis {"connection_id":228729,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a42c"} 
[2026-11-04 07:00:47] local.INFO: Extracted packet for processing {"connection_id":228729,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42c"} 
[2026-11-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":753383040,"raw_latitude":119508072,"longitude_deg":75.338304,"latitude_deg":11.9508072,"altitude":8,"angle":127,"satellites":48,"speed":32,"hex_longitude":"2ce7b680","hex_latitude":"071f8c68","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201475072001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38317073989894144,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1755840874125799424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755770000,"timestamp_ms":1793755770000,"timestamp_seconds":1793755770,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42cec90"} 
[2026-11-04 07:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:00:47] 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-11-04 07: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-11-04 07:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201475072001,"66":27745,"144":206,"83":43008,"24":32,"16":38317073989894144,"44":-1755840874125799424},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,83,24,16,44]} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201475072001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38317073989894144,"km_value":38317073989894.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1755840874125799424,"description":"Unknown IO ID 44"} 
[2026-11-04 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201475072001,"power":27745,"unknown_144":206,"unknown_83":43008,"ignition":32,"odometer":null,"unknown_44":-1755840874125799424}} 
[2026-11-04 07:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":228729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:00:47] local.INFO: GPS data processed {"connection_id":228729,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:00:47] local.INFO: Acknowledgment sent {"connection_id":228729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:00:47] local.INFO: Packet analysis {"connection_id":228729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:00:47] local.INFO: Extracted packet for processing {"connection_id":228729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":753390336,"raw_latitude":119502840,"longitude_deg":75.3390336,"latitude_deg":11.950284,"altitude":7,"angle":127,"satellites":47,"speed":38,"hex_longitude":"2ce7d300","hex_latitude":"071f77f8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201477120001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38317503486623744,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1750070637104437248,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755780000,"timestamp_ms":1793755780000,"timestamp_seconds":1793755780,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42d13a0"} 
[2026-11-04 07:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201477120001,"66":27745,"90":206,"83":43008,"24":38,"16":38317503486623744,"44":-1750070637104437248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,83,24,16,44]} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201477120001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38317503486623744,"km_value":38317503486623.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1750070637104437248,"description":"Unknown IO ID 44"} 
[2026-11-04 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201477120001,"power":27745,"unknown_90":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1750070637104437248}} 
[2026-11-04 07:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":228729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:00:47] local.INFO: GPS data processed {"connection_id":228729,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:00:47] local.INFO: Acknowledgment sent {"connection_id":228729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:00:47] local.INFO: TCP Data received {"connection_id":230488,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:00:47] local.INFO: Processing buffer {"connection_id":230488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:00:47] local.INFO: Packet analysis {"connection_id":230488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:00:47] local.INFO: Extracted packet for processing {"connection_id":230488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:00:47] 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-11-04 07:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 07:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 07:00:47] 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-11-04 07: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-11-04 07:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":230488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:00:48] local.INFO: GPS data processed {"connection_id":230488,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:00:48] local.INFO: Acknowledgment sent {"connection_id":230488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:01:09] local.INFO: TCP Data received {"connection_id":228730,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:01:09] local.INFO: Processing buffer {"connection_id":228730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:01:09] local.INFO: IMEI packet received {"connection_id":228730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":228730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:01:15] local.INFO: TCP Data received {"connection_id":228730,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:01:15] local.INFO: Processing buffer {"connection_id":228730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:01:15] local.INFO: IMEI packet received {"connection_id":228730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":228730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:01:16] local.INFO: TCP Data received {"connection_id":228730,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:01:16] local.INFO: Processing buffer {"connection_id":228730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:01:16] local.INFO: Packet analysis {"connection_id":228730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:01:16] local.INFO: Extracted packet for processing {"connection_id":228730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:16] 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-11-04 07:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 07:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 07:01:16] 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-11-04 07: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-11-04 07:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:01:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:01:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":228730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:01:16] local.INFO: GPS data processed {"connection_id":228730,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:01:16] local.INFO: Acknowledgment sent {"connection_id":228730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:01:23] local.INFO: TCP Data received {"connection_id":228729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42d3ab0012ce7ef40071f6048000700862e..."} 
[2026-11-04 07:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42d3ab0012ce7ef40071f6048000700862e..."} 
[2026-11-04 07:01:23] local.INFO: Processing buffer {"connection_id":228729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42d3ab0012ce7ef40071f6048000700862e..."} 
[2026-11-04 07:01:23] local.INFO: Packet analysis {"connection_id":228729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:01:23] local.INFO: Extracted packet for processing {"connection_id":228729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:01:23] local.INFO: GPS Element Parsed {"raw_longitude":753397568,"raw_latitude":119496776,"longitude_deg":75.3397568,"latitude_deg":11.9496776,"altitude":7,"angle":134,"satellites":46,"speed":38,"hex_longitude":"2ce7ef40","hex_latitude":"071f6048","is_valid_coordinates":true} 
[2026-11-04 07:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201479680001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38317958753157120,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1742048600269522944,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793755790000,"timestamp_ms":1793755790000,"timestamp_seconds":1793755790,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42d3ab0"} 
[2026-11-04 07:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:01:23] 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-11-04 07:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201479680001,"66":27745,"90":206,"83":43008,"24":38,"16":38317958753157120,"44":-1742048600269522944},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,83,24,16,44]} 
[2026-11-04 07:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201479680001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:01:23] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-04 07:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38317958753157120,"km_value":38317958753157.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:01:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1742048600269522944,"description":"Unknown IO ID 44"} 
[2026-11-04 07:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201479680001,"power":27745,"unknown_90":206,"unknown_83":43008,"ignition":38,"odometer":null,"unknown_44":-1742048600269522944}} 
[2026-11-04 07:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":228729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:01:23] local.INFO: GPS data processed {"connection_id":228729,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:01:23] local.INFO: Acknowledgment sent {"connection_id":228729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:01:34] local.INFO: TCP Data received {"connection_id":232336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:34] local.INFO: Processing buffer {"connection_id":232336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:34] local.INFO: IMEI packet received {"connection_id":232336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":232336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:01:35] local.INFO: TCP Data received {"connection_id":232336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:35] local.INFO: Processing buffer {"connection_id":232336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:35] local.INFO: IMEI packet received {"connection_id":232336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":232336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:01:42] local.INFO: TCP Data received {"connection_id":232336,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:42] local.INFO: Processing buffer {"connection_id":232336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:01:42] local.INFO: IMEI packet received {"connection_id":232336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":232336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:01:43] local.INFO: TCP Data received {"connection_id":232336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42d5608012ce80240071f4a20000800962c..."} 
[2026-11-04 07:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42d5608012ce80240071f4a20000800962c..."} 
[2026-11-04 07:01:43] local.INFO: Processing buffer {"connection_id":232336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42d5608012ce80240071f4a20000800962c..."} 
[2026-11-04 07:01:43] local.INFO: Packet analysis {"connection_id":232336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:01:43] local.INFO: Extracted packet for processing {"connection_id":232336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":753402432,"raw_latitude":119491104,"longitude_deg":75.3402432,"latitude_deg":11.9491104,"altitude":8,"angle":150,"satellites":44,"speed":43,"hex_longitude":"2ce80240","hex_latitude":"071f4a20","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201482240001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38318315235442688,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1734096932178999296,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793755797000,"timestamp_ms":1793755797000,"timestamp_seconds":1793755797,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42d5608"} 
[2026-11-04 07:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:01:43] 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-11-04 07: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-11-04 07:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201482240001,"66":27767,"90":206,"83":43008,"24":43,"16":38318315235442688,"44":-1734096932178999296},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,83,24,16,44]} 
[2026-11-04 07:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201482240001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:01:43] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-04 07:01:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38318315235442688,"km_value":38318315235442.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:01:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1734096932178999296,"description":"Unknown IO ID 44"} 
[2026-11-04 07:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201482240001,"power":27767,"unknown_90":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1734096932178999296}} 
[2026-11-04 07:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":232336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:01:43] local.INFO: GPS data processed {"connection_id":232336,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:01:43] local.INFO: Acknowledgment sent {"connection_id":232336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:01:47] local.INFO: TCP Data received {"connection_id":228730,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:01:47] local.INFO: Processing buffer {"connection_id":228730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:01:47] local.INFO: Packet analysis {"connection_id":228730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:01:47] local.INFO: Extracted packet for processing {"connection_id":228730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:01:47] 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-11-04 07:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 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-11-04 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 07:01:47] 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-11-04 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-11-04 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-11-04 07:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:01:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:01:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":228730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:01:47] local.INFO: GPS data processed {"connection_id":228730,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:01:47] local.INFO: Acknowledgment sent {"connection_id":228730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:02:09] local.INFO: TCP Data received {"connection_id":232337,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:02:09] local.INFO: Processing buffer {"connection_id":232337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:02:09] local.INFO: IMEI packet received {"connection_id":232337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":232337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:02:14] local.INFO: TCP Data received {"connection_id":232336,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42d7930012ce81400071f28700007009a2e..."} 
[2026-11-04 07:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42d7930012ce81400071f28700007009a2e..."} 
[2026-11-04 07:02:14] local.INFO: Processing buffer {"connection_id":232336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42d7930012ce81400071f28700007009a2e..."} 
[2026-11-04 07:02:14] local.INFO: Packet analysis {"connection_id":232336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:02:14] local.INFO: Extracted packet for processing {"connection_id":232336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42d"} 
[2026-11-04 07:02:14] local.INFO: GPS Element Parsed {"raw_longitude":753406976,"raw_latitude":119482480,"longitude_deg":75.3406976,"latitude_deg":11.948248,"altitude":7,"angle":154,"satellites":46,"speed":43,"hex_longitude":"2ce81400","hex_latitude":"071f2870","is_valid_coordinates":true} 
[2026-11-04 07:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201484032001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38318787681845248,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1728748907622948864,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793755806000,"timestamp_ms":1793755806000,"timestamp_seconds":1793755806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42d7930"} 
[2026-11-04 07:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:02: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-11-04 07:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:02:14] 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-11-04 07:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201484032001,"66":27484,"90":206,"83":43008,"24":43,"16":38318787681845248,"44":-1728748907622948864},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,83,24,16,44]} 
[2026-11-04 07:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201484032001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:02:14] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-11-04 07:02:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38318787681845248,"km_value":38318787681845.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1728748907622948864,"description":"Unknown IO ID 44"} 
[2026-11-04 07:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201484032001,"power":27484,"unknown_90":206,"unknown_83":43008,"ignition":43,"odometer":null,"unknown_44":-1728748907622948864}} 
[2026-11-04 07:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":232336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:02:14] local.INFO: GPS data processed {"connection_id":232336,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:02:14] local.INFO: Acknowledgment sent {"connection_id":232336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:02:15] local.INFO: TCP Data received {"connection_id":232337,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:02:15] local.INFO: Processing buffer {"connection_id":232337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:02:15] local.INFO: IMEI packet received {"connection_id":232337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":232337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:02:16] local.INFO: TCP Data received {"connection_id":232337,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:02:16] local.INFO: Processing buffer {"connection_id":232337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:02:16] local.INFO: Packet analysis {"connection_id":232337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:02:16] local.INFO: Extracted packet for processing {"connection_id":232337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:16] 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-11-04 07:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 07:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 07:02:16] 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-11-04 07:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":232337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:02:16] local.INFO: GPS data processed {"connection_id":232337,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:02:16] local.INFO: Acknowledgment sent {"connection_id":232337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:02:35] local.INFO: TCP Data received {"connection_id":228731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:35] local.INFO: Processing buffer {"connection_id":228731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:35] local.INFO: IMEI packet received {"connection_id":228731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":228731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:02:37] local.INFO: TCP Data received {"connection_id":228731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:37] local.INFO: Processing buffer {"connection_id":228731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:37] local.INFO: IMEI packet received {"connection_id":228731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":228731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:02:40] local.INFO: TCP Data received {"connection_id":228731,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:40] local.INFO: Processing buffer {"connection_id":228731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:02:40] local.INFO: IMEI packet received {"connection_id":228731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":228731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:02:41] local.INFO: TCP Data received {"connection_id":228731,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42eb980012ce8eec0071dff500010007830..."} 
[2026-11-04 07:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42eb980012ce8eec0071dff500010007830..."} 
[2026-11-04 07:02:41] local.INFO: Processing buffer {"connection_id":228731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42eb980012ce8eec0071dff500010007830..."} 
[2026-11-04 07:02:41] local.INFO: Packet analysis {"connection_id":228731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42e"} 
[2026-11-04 07:02:41] local.INFO: Extracted packet for processing {"connection_id":228731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42e"} 
[2026-11-04 07:02:41] local.INFO: GPS Element Parsed {"raw_longitude":753462976,"raw_latitude":119406416,"longitude_deg":75.3462976,"latitude_deg":11.9406416,"altitude":16,"angle":120,"satellites":48,"speed":24,"hex_longitude":"2ce8eec0","hex_latitude":"071dff50","is_valid_coordinates":true} 
[2026-11-04 07:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201504256001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38323486376067072,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1671116906162028544,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793755888000,"timestamp_ms":1793755888000,"timestamp_seconds":1793755888,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42eb980"} 
[2026-11-04 07:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 07:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201504256001,"66":27745,"82":206,"83":43008,"24":24,"16":38323486376067072,"44":-1671116906162028544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-11-04 07:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201504256001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:02:41] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 07:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38323486376067072,"km_value":38323486376067.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:02:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1671116906162028544,"description":"Unknown IO ID 44"} 
[2026-11-04 07:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201504256001,"power":27745,"unknown_82":206,"unknown_83":43008,"ignition":24,"odometer":null,"unknown_44":-1671116906162028544}} 
[2026-11-04 07:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":228731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:02:41] local.INFO: GPS data processed {"connection_id":228731,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:02:41] local.INFO: Acknowledgment sent {"connection_id":228731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:02:45] local.INFO: TCP Data received {"connection_id":228731,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42ef800012ce91080071defe80010007630..."} 
[2026-11-04 07:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42ef800012ce91080071defe80010007630..."} 
[2026-11-04 07:02:45] local.INFO: Processing buffer {"connection_id":228731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42ef800012ce91080071defe80010007630..."} 
[2026-11-04 07:02:45] local.INFO: Packet analysis {"connection_id":228731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42e"} 
[2026-11-04 07:02:45] local.INFO: Extracted packet for processing {"connection_id":228731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42e"} 
[2026-11-04 07:02:45] local.INFO: GPS Element Parsed {"raw_longitude":753471616,"raw_latitude":119402472,"longitude_deg":75.3471616,"latitude_deg":11.9402472,"altitude":16,"angle":118,"satellites":48,"speed":26,"hex_longitude":"2ce91080","hex_latitude":"071defe8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201507328001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38323941642600448,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1662180075652558848,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793755904000,"timestamp_ms":1793755904000,"timestamp_seconds":1793755904,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42ef800"} 
[2026-11-04 07:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:02: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-11-04 07: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-11-04 07:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201507328001,"66":27658,"82":206,"83":43008,"24":26,"16":38323941642600448,"44":-1662180075652558848},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-11-04 07:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201507328001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:02:45] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 07:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38323941642600448,"km_value":38323941642600.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1662180075652558848,"description":"Unknown IO ID 44"} 
[2026-11-04 07:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201507328001,"power":27658,"unknown_82":206,"unknown_83":43008,"ignition":26,"odometer":null,"unknown_44":-1662180075652558848}} 
[2026-11-04 07:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":228731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:02:45] local.INFO: GPS data processed {"connection_id":228731,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:02:45] local.INFO: Acknowledgment sent {"connection_id":228731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:02:48] local.INFO: TCP Data received {"connection_id":232337,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:02:48] local.INFO: Processing buffer {"connection_id":232337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42b3328012d3c94c006a39460004601582c..."} 
[2026-11-04 07:02:48] local.INFO: Packet analysis {"connection_id":232337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:02:48] local.INFO: Extracted packet for processing {"connection_id":232337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42b"} 
[2026-11-04 07:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201371136001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793755657000,"timestamp_ms":1793755657000,"timestamp_seconds":1793755657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42b3328"} 
[2026-11-04 07:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 07:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201371136001,"66":25756,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201371136001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:02:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201371136001,"power":25756,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":232337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:02:48] local.INFO: GPS data processed {"connection_id":232337,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:02:48] local.INFO: Acknowledgment sent {"connection_id":232337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:03:15] local.INFO: TCP Data received {"connection_id":232338,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:03:15] local.INFO: Processing buffer {"connection_id":232338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:03:15] local.INFO: IMEI packet received {"connection_id":232338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":232338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:03:16] local.INFO: TCP Data received {"connection_id":232338,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:03:16] local.INFO: Processing buffer {"connection_id":232338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:03:16] local.INFO: IMEI packet received {"connection_id":232338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":232338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:03:17] local.INFO: TCP Data received {"connection_id":232338,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:17] local.INFO: Processing buffer {"connection_id":232338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:17] local.INFO: Packet analysis {"connection_id":232338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:17] local.INFO: Extracted packet for processing {"connection_id":232338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:17] 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-11-04 07:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 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-11-04 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 07:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:03:17] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:03:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":232338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:03:17] local.INFO: GPS data processed {"connection_id":232338,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:03:17] local.INFO: Acknowledgment sent {"connection_id":232338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:03:19] local.INFO: TCP Data received {"connection_id":232338,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:19] local.INFO: Processing buffer {"connection_id":232338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:19] local.INFO: Packet analysis {"connection_id":232338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:19] local.INFO: Extracted packet for processing {"connection_id":232338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:19] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:19] 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-11-04 07:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:03:19] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:03:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":232338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:03:20] local.INFO: GPS data processed {"connection_id":232338,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:03:20] local.INFO: Acknowledgment sent {"connection_id":232338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:03:22] local.INFO: TCP Data received {"connection_id":228731,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42f1358012ce92180071de538000f008230..."} 
[2026-11-04 07:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42f1358012ce92180071de538000f008230..."} 
[2026-11-04 07:03:22] local.INFO: Processing buffer {"connection_id":228731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42f1358012ce92180071de538000f008230..."} 
[2026-11-04 07:03:22] local.INFO: Packet analysis {"connection_id":228731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:22] local.INFO: Extracted packet for processing {"connection_id":228731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:22] local.INFO: GPS Element Parsed {"raw_longitude":753475968,"raw_latitude":119399736,"longitude_deg":75.3475968,"latitude_deg":11.9399736,"altitude":15,"angle":130,"satellites":48,"speed":30,"hex_longitude":"2ce92180","hex_latitude":"071de538","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201511424001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38324186455736320,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1652680295189583872,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793755911000,"timestamp_ms":1793755911000,"timestamp_seconds":1793755911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42f1358"} 
[2026-11-04 07:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":10,"data_length":795,"current_offset":136} 
[2026-11-04 07:03:22] 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-11-04 07: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-11-04 07:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201511424001,"66":27713,"82":206,"83":43008,"24":30,"16":38324186455736320,"44":-1652680295189583872},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,83,24,16,44]} 
[2026-11-04 07:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201511424001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":43008,"description":"Unknown IO ID 83"} 
[2026-11-04 07:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38324186455736320,"km_value":38324186455736.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:03:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1652680295189583872,"description":"Unknown IO ID 44"} 
[2026-11-04 07:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201511424001,"power":27713,"unknown_82":206,"unknown_83":43008,"ignition":30,"odometer":null,"unknown_44":-1652680295189583872}} 
[2026-11-04 07:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":228731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:03:22] local.INFO: GPS data processed {"connection_id":228731,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:03:22] local.INFO: Acknowledgment sent {"connection_id":228731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:03:51] local.INFO: TCP Data received {"connection_id":232338,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:51] local.INFO: Processing buffer {"connection_id":232338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:03:51] local.INFO: Packet analysis {"connection_id":232338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:51] local.INFO: Extracted packet for processing {"connection_id":232338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:03:51] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:03:51] 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-11-04 07:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:03:51] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:03:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":232338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:03:51] local.INFO: GPS data processed {"connection_id":232338,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:03:51] local.INFO: Acknowledgment sent {"connection_id":232338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:04:09] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:04:09] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:04:09] local.INFO: IMEI packet received {"connection_id":229224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":229224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:04:15] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:04:15] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:04:15] local.INFO: IMEI packet received {"connection_id":229224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":229224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:04:16] local.INFO: TCP Data received {"connection_id":230489,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:16] local.INFO: Processing buffer {"connection_id":230489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:16] local.INFO: IMEI packet received {"connection_id":230489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":230489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:04:16] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:04:16] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:04:16] local.INFO: Packet analysis {"connection_id":229224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:04:16] local.INFO: Extracted packet for processing {"connection_id":229224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:16] 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-11-04 07:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:04:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:04:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":229224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:04:16] local.INFO: GPS data processed {"connection_id":229224,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:04:16] local.INFO: Acknowledgment sent {"connection_id":229224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:04:48] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:04:48] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:04:48] local.INFO: Packet analysis {"connection_id":229224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:04:48] local.INFO: Extracted packet for processing {"connection_id":229224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:04:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:04:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":229224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:04:48] local.INFO: GPS data processed {"connection_id":229224,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:04:48] local.INFO: Acknowledgment sent {"connection_id":229224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:04:49] local.INFO: TCP Data received {"connection_id":229225,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:49] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:49] local.INFO: IMEI packet received {"connection_id":229225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":229225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:04:49] local.INFO: TCP Data received {"connection_id":229225,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:49] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:49] local.INFO: IMEI packet received {"connection_id":229225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":229225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:04:54] local.INFO: TCP Data received {"connection_id":229225,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:54] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:04:54] local.INFO: IMEI packet received {"connection_id":229225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":229225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:04:55] local.INFO: TCP Data received {"connection_id":229225,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a430d490012cea0280071d1510000900b82e..."} 
[2026-11-04 07:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a430d490012cea0280071d1510000900b82e..."} 
[2026-11-04 07:04:55] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a430d490012cea0280071d1510000900b82e..."} 
[2026-11-04 07:04:55] local.INFO: Packet analysis {"connection_id":229225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a430"} 
[2026-11-04 07:04:55] local.INFO: Extracted packet for processing {"connection_id":229225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a430"} 
[2026-11-04 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":753533568,"raw_latitude":119346448,"longitude_deg":75.3533568,"latitude_deg":11.9346448,"altitude":9,"angle":184,"satellites":46,"speed":34,"hex_longitude":"2cea0280","hex_latitude":"071d1510","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201539328001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38328700466364416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583718925907386368,"note":"Value kept but may cause issues"} 
[2026-11-04 07:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793756026000,"timestamp_ms":1793756026000,"timestamp_seconds":1793756026,"priority":1,"record_length":96,"hex_timestamp":"000001a1a430d490"} 
[2026-11-04 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-11-04 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 07:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201539328001,"66":27767,"147":206,"83":41216,"24":34,"16":38328700466364416,"44":-1583718925907386368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,44]} 
[2026-11-04 07:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201539328001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:04:55] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-11-04 07:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38328700466364416,"km_value":38328700466364.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:04:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583718925907386368,"description":"Unknown IO ID 44"} 
[2026-11-04 07:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201539328001,"power":27767,"unknown_147":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1583718925907386368}} 
[2026-11-04 07:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":229225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:04:55] local.INFO: GPS data processed {"connection_id":229225,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:04:55] local.INFO: Acknowledgment sent {"connection_id":229225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:05:09] local.INFO: TCP Data received {"connection_id":228732,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:05:09] local.INFO: Processing buffer {"connection_id":228732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:05:09] local.INFO: IMEI packet received {"connection_id":228732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":228732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:05:15] local.INFO: TCP Data received {"connection_id":228732,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:05:15] local.INFO: Processing buffer {"connection_id":228732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:05:15] local.INFO: IMEI packet received {"connection_id":228732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":228732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:05:16] local.INFO: TCP Data received {"connection_id":228732,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:05:16] local.INFO: Processing buffer {"connection_id":228732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:05:16] local.INFO: Packet analysis {"connection_id":228732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:05:16] local.INFO: Extracted packet for processing {"connection_id":228732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:16] 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-11-04 07:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:05:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:05:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":228732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:05:16] local.INFO: GPS data processed {"connection_id":228732,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:05:16] local.INFO: Acknowledgment sent {"connection_id":228732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:05:38] local.INFO: TCP Data received {"connection_id":232339,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:38] local.INFO: Processing buffer {"connection_id":232339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:38] local.INFO: IMEI packet received {"connection_id":232339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":232339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:05:38] local.INFO: TCP Data received {"connection_id":232339,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:38] local.INFO: Processing buffer {"connection_id":232339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:38] local.INFO: IMEI packet received {"connection_id":232339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":232339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:05:39] local.INFO: TCP Data received {"connection_id":232339,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:39] local.INFO: Processing buffer {"connection_id":232339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:39] local.INFO: IMEI packet received {"connection_id":232339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":232339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:05:45] local.INFO: TCP Data received {"connection_id":232339,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:45] local.INFO: Processing buffer {"connection_id":232339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:05:45] local.INFO: IMEI packet received {"connection_id":232339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":232339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:05:46] local.INFO: TCP Data received {"connection_id":232339,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4310758012ce9ff80071cefe0000a00b62f..."} 
[2026-11-04 07:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4310758012ce9ff80071cefe0000a00b62f..."} 
[2026-11-04 07:05:46] local.INFO: Processing buffer {"connection_id":232339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4310758012ce9ff80071cefe0000a00b62f..."} 
[2026-11-04 07:05:46] local.INFO: Packet analysis {"connection_id":232339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a431"} 
[2026-11-04 07:05:46] local.INFO: Extracted packet for processing {"connection_id":232339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a431"} 
[2026-11-04 07:05:46] local.INFO: GPS Element Parsed {"raw_longitude":753532800,"raw_latitude":119336928,"longitude_deg":75.35328,"latitude_deg":11.9336928,"altitude":10,"angle":182,"satellites":47,"speed":28,"hex_longitude":"2ce9ff80","hex_latitude":"071cefe0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201542656001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38329164322832384,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584563350839947264,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793756039000,"timestamp_ms":1793756039000,"timestamp_seconds":1793756039,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4310758"} 
[2026-11-04 07:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201542656001,"66":27789,"147":206,"83":41216,"24":28,"16":38329164322832384,"44":-1584563350839947264},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,44]} 
[2026-11-04 07:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201542656001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:05:46] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-11-04 07:05:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38329164322832384,"km_value":38329164322832.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584563350839947264,"description":"Unknown IO ID 44"} 
[2026-11-04 07:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201542656001,"power":27789,"unknown_147":206,"unknown_83":41216,"ignition":28,"odometer":null,"unknown_44":-1584563350839947264}} 
[2026-11-04 07:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":232339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:05:46] local.INFO: GPS data processed {"connection_id":232339,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:05:46] local.INFO: Acknowledgment sent {"connection_id":232339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:05:47] local.INFO: TCP Data received {"connection_id":228732,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:05:47] local.INFO: Processing buffer {"connection_id":228732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:05:47] local.INFO: Packet analysis {"connection_id":228732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:05:47] local.INFO: Extracted packet for processing {"connection_id":228732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:05:47] 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-11-04 07:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:05:47] 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-11-04 07:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:05:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:05:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":228732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:05:47] local.INFO: GPS data processed {"connection_id":228732,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:05:47] local.INFO: Acknowledgment sent {"connection_id":228732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:06:15] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:06:15] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:06:15] local.INFO: IMEI packet received {"connection_id":230490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":230490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:06:17] local.INFO: TCP Data received {"connection_id":232339,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4313638012ce9fd00071ccc50000b00b730..."} 
[2026-11-04 07:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4313638012ce9fd00071ccc50000b00b730..."} 
[2026-11-04 07:06:17] local.INFO: Processing buffer {"connection_id":232339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4313638012ce9fd00071ccc50000b00b730..."} 
[2026-11-04 07:06:17] local.INFO: Packet analysis {"connection_id":232339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a431"} 
[2026-11-04 07:06:17] local.INFO: Extracted packet for processing {"connection_id":232339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a431"} 
[2026-11-04 07:06:17] local.INFO: GPS Element Parsed {"raw_longitude":753532160,"raw_latitude":119327824,"longitude_deg":75.353216,"latitude_deg":11.9327824,"altitude":11,"angle":183,"satellites":48,"speed":33,"hex_longitude":"2ce9fd00","hex_latitude":"071ccc50","is_valid_coordinates":true} 
[2026-11-04 07:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201545984001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38329606704463872,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1585407775772516352,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793756051000,"timestamp_ms":1793756051000,"timestamp_seconds":1793756051,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4313638"} 
[2026-11-04 07:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 07:06: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-11-04 07:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:06:17] 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-11-04 07:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201545984001,"66":27713,"147":206,"83":41216,"24":33,"16":38329606704463872,"44":-1585407775772516352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,83,24,16,44]} 
[2026-11-04 07:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201545984001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:06:17] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-11-04 07:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38329606704463872,"km_value":38329606704463.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:06:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1585407775772516352,"description":"Unknown IO ID 44"} 
[2026-11-04 07:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201545984001,"power":27713,"unknown_147":206,"unknown_83":41216,"ignition":33,"odometer":null,"unknown_44":-1585407775772516352}} 
[2026-11-04 07:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":232339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:06:17] local.INFO: GPS data processed {"connection_id":232339,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:06:17] local.INFO: Acknowledgment sent {"connection_id":232339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:06:20] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:06:20] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:06:20] local.INFO: IMEI packet received {"connection_id":230490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":230490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:06:21] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:06:21] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:06:21] local.INFO: Packet analysis {"connection_id":230490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:06:21] local.INFO: Extracted packet for processing {"connection_id":230490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:21] 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-11-04 07:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07: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-11-04 07:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:06:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:06:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":230490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:06:21] local.INFO: GPS data processed {"connection_id":230490,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:06:21] local.INFO: Acknowledgment sent {"connection_id":230490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:06:25] local.INFO: TCP Data received {"connection_id":230490,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:06:25] local.INFO: Processing buffer {"connection_id":230490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:06:25] local.INFO: Packet analysis {"connection_id":230490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:06:25] local.INFO: Extracted packet for processing {"connection_id":230490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:06:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:25] 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-11-04 07:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:06:25] 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-11-04 07:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:06:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:06:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":230490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:06:25] local.INFO: GPS data processed {"connection_id":230490,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:06:25] local.INFO: Acknowledgment sent {"connection_id":230490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:06:35] local.INFO: TCP Data received {"connection_id":229226,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:06:35] local.INFO: Processing buffer {"connection_id":229226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:06:35] local.INFO: IMEI packet received {"connection_id":229226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":229226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:06:36] local.INFO: TCP Data received {"connection_id":229226,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:06:37] local.INFO: Processing buffer {"connection_id":229226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:06:37] local.INFO: IMEI packet received {"connection_id":229226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":229226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:06:37] local.INFO: TCP Data received {"connection_id":229226,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a432a568012cea35c0071b6278000c00a32d..."} 
[2026-11-04 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a432a568012cea35c0071b6278000c00a32d..."} 
[2026-11-04 07:06:37] local.INFO: Processing buffer {"connection_id":229226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a432a568012cea35c0071b6278000c00a32d..."} 
[2026-11-04 07:06:37] local.INFO: Packet analysis {"connection_id":229226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:06:37] local.INFO: Extracted packet for processing {"connection_id":229226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":753546688,"raw_latitude":119235192,"longitude_deg":75.3546688,"latitude_deg":11.9235192,"altitude":12,"angle":163,"satellites":45,"speed":55,"hex_longitude":"2cea35c0","hex_latitude":"071b6278","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201571328001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38334228089274368,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1573304351797641216,"note":"Value kept but may cause issues"} 
[2026-11-04 07:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793756145000,"timestamp_ms":1793756145000,"timestamp_seconds":1793756145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a432a568"} 
[2026-11-04 07:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201571328001,"66":27800,"245":206,"83":41216,"24":55,"16":38334228089274368,"44":-1573304351797641216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,83,24,16,44]} 
[2026-11-04 07:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201571328001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38334228089274368,"km_value":38334228089274.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:06:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1573304351797641216,"description":"Unknown IO ID 44"} 
[2026-11-04 07:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201571328001,"power":27800,"geofence_id":206,"unknown_83":41216,"ignition":55,"odometer":null,"unknown_44":-1573304351797641216}} 
[2026-11-04 07:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":229226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:06:37] local.INFO: GPS data processed {"connection_id":229226,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:06:37] local.INFO: Acknowledgment sent {"connection_id":229226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:07:08] local.INFO: TCP Data received {"connection_id":229226,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a432c0c0012cea40c0071b3d90000c00a22d..."} 
[2026-11-04 07:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a432c0c0012cea40c0071b3d90000c00a22d..."} 
[2026-11-04 07:07:08] local.INFO: Processing buffer {"connection_id":229226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a432c0c0012cea40c0071b3d90000c00a22d..."} 
[2026-11-04 07:07:08] local.INFO: Packet analysis {"connection_id":229226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:07:08] local.INFO: Extracted packet for processing {"connection_id":229226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:07:08] local.INFO: GPS Element Parsed {"raw_longitude":753549504,"raw_latitude":119225744,"longitude_deg":75.3549504,"latitude_deg":11.9225744,"altitude":12,"angle":162,"satellites":45,"speed":55,"hex_longitude":"2cea40c0","hex_latitude":"071b3d90","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201573120001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38334704830644224,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1570137758312007680,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793756152000,"timestamp_ms":1793756152000,"timestamp_seconds":1793756152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a432c0c0"} 
[2026-11-04 07:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:07:08] 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-11-04 07: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-11-04 07:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:07:08] 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-11-04 07:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201573120001,"66":27767,"105":206,"83":41216,"24":55,"16":38334704830644224,"44":-1570137758312007680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-11-04 07:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201573120001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:07:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:07:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38334704830644224,"km_value":38334704830644.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:07:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1570137758312007680,"description":"Unknown IO ID 44"} 
[2026-11-04 07:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201573120001,"power":27767,"unknown_105":206,"unknown_83":41216,"ignition":55,"odometer":null,"unknown_44":-1570137758312007680}} 
[2026-11-04 07:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":229226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:07:08] local.INFO: GPS data processed {"connection_id":229226,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:07:08] local.INFO: Acknowledgment sent {"connection_id":229226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:07:09] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:07:09] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:07:09] local.INFO: IMEI packet received {"connection_id":229227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":229227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:07:15] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:07:15] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:07:15] local.INFO: IMEI packet received {"connection_id":229227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":229227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:07:16] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:07:16] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:07:16] local.INFO: Packet analysis {"connection_id":229227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:07:16] local.INFO: Extracted packet for processing {"connection_id":229227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:16] 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-11-04 07:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:07:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:07:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":229227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:07:16] local.INFO: GPS data processed {"connection_id":229227,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:07:16] local.INFO: Acknowledgment sent {"connection_id":229227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:07:35] local.INFO: TCP Data received {"connection_id":229228,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:07:35] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:07:35] local.INFO: IMEI packet received {"connection_id":229228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":229228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:07:39] local.INFO: TCP Data received {"connection_id":229228,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:07:39] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:07:39] local.INFO: IMEI packet received {"connection_id":229228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":229228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:07:40] local.INFO: TCP Data received {"connection_id":229228,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a432dc18012cea4c00071b1928000c00a330..."} 
[2026-11-04 07:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a432dc18012cea4c00071b1928000c00a330..."} 
[2026-11-04 07:07:40] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a432dc18012cea4c00071b1928000c00a330..."} 
[2026-11-04 07:07:40] local.INFO: Packet analysis {"connection_id":229228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:07:40] local.INFO: Extracted packet for processing {"connection_id":229228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:07:40] local.INFO: GPS Element Parsed {"raw_longitude":753552384,"raw_latitude":119216424,"longitude_deg":75.3552384,"latitude_deg":11.9216424,"altitude":12,"angle":163,"satellites":48,"speed":54,"hex_longitude":"2cea4c00","hex_latitude":"071b1928","is_valid_coordinates":true} 
[2026-11-04 07:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201574912001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38335177277046784,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1567041533570609152,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793756159000,"timestamp_ms":1793756159000,"timestamp_seconds":1793756159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a432dc18"} 
[2026-11-04 07:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201574912001,"66":27767,"105":206,"83":41216,"24":54,"16":38335177277046784,"44":-1567041533570609152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-11-04 07:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201574912001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:07:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:07:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38335177277046784,"km_value":38335177277046.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:07:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1567041533570609152,"description":"Unknown IO ID 44"} 
[2026-11-04 07:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201574912001,"power":27767,"unknown_105":206,"unknown_83":41216,"ignition":54,"odometer":null,"unknown_44":-1567041533570609152}} 
[2026-11-04 07:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":229228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:07:40] local.INFO: GPS data processed {"connection_id":229228,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:07:40] local.INFO: Acknowledgment sent {"connection_id":229228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:07:47] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:07:47] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:07:47] local.INFO: Packet analysis {"connection_id":229227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:07:47] local.INFO: Extracted packet for processing {"connection_id":229227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:07:47] 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-11-04 07:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:07:47] 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-11-04 07:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:07:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:07:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":229227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:07:47] local.INFO: GPS data processed {"connection_id":229227,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:07:47] local.INFO: Acknowledgment sent {"connection_id":229227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:08:09] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:08:09] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:08:09] local.INFO: IMEI packet received {"connection_id":230491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":230491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:08:11] local.INFO: TCP Data received {"connection_id":229228,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a432f770012cea5780071af458000d00a32f..."} 
[2026-11-04 07:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a432f770012cea5780071af458000d00a32f..."} 
[2026-11-04 07:08:11] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a432f770012cea5780071af458000d00a32f..."} 
[2026-11-04 07:08:11] local.INFO: Packet analysis {"connection_id":229228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:08:11] local.INFO: Extracted packet for processing {"connection_id":229228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a432"} 
[2026-11-04 07:08:11] local.INFO: GPS Element Parsed {"raw_longitude":753555328,"raw_latitude":119207000,"longitude_deg":75.3555328,"latitude_deg":11.9207,"altitude":13,"angle":163,"satellites":47,"speed":56,"hex_longitude":"2cea5780","hex_latitude":"071af458","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201576704001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38335654018416640,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563874940085000192,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793756166000,"timestamp_ms":1793756166000,"timestamp_seconds":1793756166,"priority":1,"record_length":96,"hex_timestamp":"000001a1a432f770"} 
[2026-11-04 07:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201576704001,"66":27691,"105":206,"83":41216,"24":56,"16":38335654018416640,"44":-1563874940085000192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-11-04 07:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201576704001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:08:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38335654018416640,"km_value":38335654018416.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:08:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563874940085000192,"description":"Unknown IO ID 44"} 
[2026-11-04 07:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201576704001,"power":27691,"unknown_105":206,"unknown_83":41216,"ignition":56,"odometer":null,"unknown_44":-1563874940085000192}} 
[2026-11-04 07:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":229228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:08:11] local.INFO: GPS data processed {"connection_id":229228,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:08:11] local.INFO: Acknowledgment sent {"connection_id":229228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:08:15] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:08:15] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:08:15] local.INFO: IMEI packet received {"connection_id":230491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":230491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:08:16] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:08:16] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a42fcaf0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:08:16] local.INFO: Packet analysis {"connection_id":230491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:08:16] local.INFO: Extracted packet for processing {"connection_id":230491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a42f"} 
[2026-11-04 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201448192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:16] 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-11-04 07:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793755958000,"timestamp_ms":1793755958000,"timestamp_seconds":1793755958,"priority":1,"record_length":96,"hex_timestamp":"000001a1a42fcaf0"} 
[2026-11-04 07:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 07:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201448192001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201448192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:08:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:08:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201448192001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":230491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:08:16] local.INFO: GPS data processed {"connection_id":230491,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:08:16] local.INFO: Acknowledgment sent {"connection_id":230491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:08:35] local.INFO: TCP Data received {"connection_id":228733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:35] local.INFO: Processing buffer {"connection_id":228733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:35] local.INFO: IMEI packet received {"connection_id":228733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":228733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:08:35] local.INFO: TCP Data received {"connection_id":228733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:35] local.INFO: Processing buffer {"connection_id":228733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:35] local.INFO: IMEI packet received {"connection_id":228733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":228733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:08:40] local.INFO: TCP Data received {"connection_id":228733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:40] local.INFO: Processing buffer {"connection_id":228733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:08:40] local.INFO: IMEI packet received {"connection_id":228733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":228733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:08:41] local.INFO: TCP Data received {"connection_id":228733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43312c8012cea61c0071ad110001000a22f..."} 
[2026-11-04 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43312c8012cea61c0071ad110001000a22f..."} 
[2026-11-04 07:08:41] local.INFO: Processing buffer {"connection_id":228733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43312c8012cea61c0071ad110001000a22f..."} 
[2026-11-04 07:08:41] local.INFO: Packet analysis {"connection_id":228733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a433"} 
[2026-11-04 07:08:41] local.INFO: Extracted packet for processing {"connection_id":228733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a433"} 
[2026-11-04 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":753557952,"raw_latitude":119197968,"longitude_deg":75.3557952,"latitude_deg":11.9197968,"altitude":16,"angle":162,"satellites":47,"speed":51,"hex_longitude":"2cea61c0","hex_latitude":"071ad110","is_valid_coordinates":true} 
[2026-11-04 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201578496001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38336109284950016,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560637977855240192,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793756173000,"timestamp_ms":1793756173000,"timestamp_seconds":1793756173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43312c8"} 
[2026-11-04 07:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 07:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201578496001,"66":27843,"105":206,"83":41216,"24":51,"16":38336109284950016,"44":-1560637977855240192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,44]} 
[2026-11-04 07:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201578496001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:08:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:08:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38336109284950016,"km_value":38336109284950.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560637977855240192,"description":"Unknown IO ID 44"} 
[2026-11-04 07:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201578496001,"power":27843,"unknown_105":206,"unknown_83":41216,"ignition":51,"odometer":null,"unknown_44":-1560637977855240192}} 
[2026-11-04 07:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":228733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:08:41] local.INFO: GPS data processed {"connection_id":228733,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:08:41] local.INFO: Acknowledgment sent {"connection_id":228733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:08:47] local.INFO: TCP Data received {"connection_id":230491,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:08:47] local.INFO: Processing buffer {"connection_id":230491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:08:47] local.INFO: Packet analysis {"connection_id":230491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:08:47] local.INFO: Extracted packet for processing {"connection_id":230491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:08:47] 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-11-04 07:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:08:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:08:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":230491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:08:47] local.INFO: GPS data processed {"connection_id":230491,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:08:47] local.INFO: Acknowledgment sent {"connection_id":230491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:09:09] local.INFO: TCP Data received {"connection_id":232340,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:09:09] local.INFO: Processing buffer {"connection_id":232340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:09:09] local.INFO: IMEI packet received {"connection_id":232340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":232340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:09:12] local.INFO: TCP Data received {"connection_id":228733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a434cc30012ceb72c0071a0630001a00952e..."} 
[2026-11-04 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a434cc30012ceb72c0071a0630001a00952e..."} 
[2026-11-04 07:09:12] local.INFO: Processing buffer {"connection_id":228733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a434cc30012ceb72c0071a0630001a00952e..."} 
[2026-11-04 07:09:12] local.INFO: Packet analysis {"connection_id":228733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:12] local.INFO: Extracted packet for processing {"connection_id":228733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":753627840,"raw_latitude":119146032,"longitude_deg":75.362784,"latitude_deg":11.9146032,"altitude":26,"angle":149,"satellites":46,"speed":25,"hex_longitude":"2ceb72c0","hex_latitude":"071a0630","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201608192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38340490151591936,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1482247196856483840,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793756286000,"timestamp_ms":1793756286000,"timestamp_seconds":1793756286,"priority":1,"record_length":96,"hex_timestamp":"000001a1a434cc30"} 
[2026-11-04 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-11-04 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 07:09: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-11-04 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-11-04 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-11-04 07:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201608192001,"66":27767,"135":206,"83":41216,"24":25,"16":38340490151591936,"44":-1482247196856483840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,44]} 
[2026-11-04 07:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201608192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:09:12] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-11-04 07:09:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38340490151591936,"km_value":38340490151591.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:09:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1482247196856483840,"description":"Unknown IO ID 44"} 
[2026-11-04 07:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201608192001,"power":27767,"unknown_135":206,"unknown_83":41216,"ignition":25,"odometer":null,"unknown_44":-1482247196856483840}} 
[2026-11-04 07:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":228733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:09:12] local.INFO: GPS data processed {"connection_id":228733,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:09:12] local.INFO: Acknowledgment sent {"connection_id":228733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:09:15] local.INFO: TCP Data received {"connection_id":232340,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:09:15] local.INFO: Processing buffer {"connection_id":232340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:09:15] local.INFO: IMEI packet received {"connection_id":232340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":232340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:09:16] local.INFO: TCP Data received {"connection_id":232340,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:09:16] local.INFO: Processing buffer {"connection_id":232340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:09:16] local.INFO: Packet analysis {"connection_id":232340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:16] local.INFO: Extracted packet for processing {"connection_id":232340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:09: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-11-04 07:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:16] 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-11-04 07:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:09: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:09: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-11-04 07:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":232340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:09:16] local.INFO: GPS data processed {"connection_id":232340,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:09:16] local.INFO: Acknowledgment sent {"connection_id":232340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:09:34] local.INFO: TCP Data received {"connection_id":229229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:34] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:34] local.INFO: IMEI packet received {"connection_id":229229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":229229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:09:37] local.INFO: TCP Data received {"connection_id":229229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:37] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:37] local.INFO: IMEI packet received {"connection_id":229229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":229229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:09:40] local.INFO: TCP Data received {"connection_id":229229,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:40] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:09:40] local.INFO: IMEI packet received {"connection_id":229229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":229229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:09:41] local.INFO: TCP Data received {"connection_id":229229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a434fef8012ceb81c00719e3b80019009b2c..."} 
[2026-11-04 07:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a434fef8012ceb81c00719e3b80019009b2c..."} 
[2026-11-04 07:09:41] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a434fef8012ceb81c00719e3b80019009b2c..."} 
[2026-11-04 07:09:41] local.INFO: Packet analysis {"connection_id":229229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:41] local.INFO: Extracted packet for processing {"connection_id":229229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":753631680,"raw_latitude":119137208,"longitude_deg":75.363168,"latitude_deg":11.9137208,"altitude":25,"angle":155,"satellites":44,"speed":35,"hex_longitude":"2ceb81c0","hex_latitude":"0719e3b8","is_valid_coordinates":true} 
[2026-11-04 07:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201609216001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38340954008059904,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480910190717554688,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793756299000,"timestamp_ms":1793756299000,"timestamp_seconds":1793756299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a434fef8"} 
[2026-11-04 07:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201609216001,"66":27767,"137":206,"83":41216,"24":35,"16":38340954008059904,"44":-1480910190717554688},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-11-04 07:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201609216001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:09:41] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-11-04 07:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38340954008059904,"km_value":38340954008059.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:09:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480910190717554688,"description":"Unknown IO ID 44"} 
[2026-11-04 07:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201609216001,"power":27767,"unknown_137":206,"unknown_83":41216,"ignition":35,"odometer":null,"unknown_44":-1480910190717554688}} 
[2026-11-04 07:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":229229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:09:41] local.INFO: GPS data processed {"connection_id":229229,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:09:41] local.INFO: Acknowledgment sent {"connection_id":229229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:09:47] local.INFO: TCP Data received {"connection_id":232340,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:09:47] local.INFO: Processing buffer {"connection_id":232340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:09:47] local.INFO: Packet analysis {"connection_id":232340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:47] local.INFO: Extracted packet for processing {"connection_id":232340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:09:47] 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-11-04 07:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":232340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:09:47] local.INFO: GPS data processed {"connection_id":232340,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:09:47] local.INFO: Acknowledgment sent {"connection_id":232340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:10:09] local.INFO: TCP Data received {"connection_id":228734,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:10:09] local.INFO: Processing buffer {"connection_id":228734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:10:09] local.INFO: IMEI packet received {"connection_id":228734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":228734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:10:13] local.INFO: TCP Data received {"connection_id":229229,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4352220012ceb92800719c350001a00952c..."} 
[2026-11-04 07:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4352220012ceb92800719c350001a00952c..."} 
[2026-11-04 07:10:13] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4352220012ceb92800719c350001a00952c..."} 
[2026-11-04 07:10:13] local.INFO: Packet analysis {"connection_id":229229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a435"} 
[2026-11-04 07:10:13] local.INFO: Extracted packet for processing {"connection_id":229229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a435"} 
[2026-11-04 07:10:13] local.INFO: GPS Element Parsed {"raw_longitude":753635968,"raw_latitude":119128912,"longitude_deg":75.3635968,"latitude_deg":11.9128912,"altitude":26,"angle":149,"satellites":44,"speed":42,"hex_longitude":"2ceb9280","hex_latitude":"0719c350","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201612544001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38341404979625984,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1476688066069153792,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793756308000,"timestamp_ms":1793756308000,"timestamp_seconds":1793756308,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4352220"} 
[2026-11-04 07:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201612544001,"66":27767,"137":206,"83":41216,"24":42,"16":38341404979625984,"44":-1476688066069153792},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,44]} 
[2026-11-04 07:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201612544001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:10:13] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-11-04 07:10:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38341404979625984,"km_value":38341404979625.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1476688066069153792,"description":"Unknown IO ID 44"} 
[2026-11-04 07:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201612544001,"power":27767,"unknown_137":206,"unknown_83":41216,"ignition":42,"odometer":null,"unknown_44":-1476688066069153792}} 
[2026-11-04 07:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":229229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:10:13] local.INFO: GPS data processed {"connection_id":229229,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:10:13] local.INFO: Acknowledgment sent {"connection_id":229229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:10:15] local.INFO: TCP Data received {"connection_id":228734,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:10:15] local.INFO: Processing buffer {"connection_id":228734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:10:15] local.INFO: IMEI packet received {"connection_id":228734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":228734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:10:16] local.INFO: TCP Data received {"connection_id":228734,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:10:16] local.INFO: Processing buffer {"connection_id":228734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:10:16] local.INFO: Packet analysis {"connection_id":228734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:10:16] local.INFO: Extracted packet for processing {"connection_id":228734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:16] 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-11-04 07:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":228734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:10:16] local.INFO: GPS data processed {"connection_id":228734,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:10:16] local.INFO: Acknowledgment sent {"connection_id":228734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:10:34] local.INFO: TCP Data received {"connection_id":232341,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:10:34] local.INFO: Processing buffer {"connection_id":232341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:10:34] local.INFO: IMEI packet received {"connection_id":232341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":232341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:10:40] local.INFO: TCP Data received {"connection_id":232341,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:10:40] local.INFO: Processing buffer {"connection_id":232341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:10:40] local.INFO: IMEI packet received {"connection_id":232341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":232341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:10:42] local.INFO: TCP Data received {"connection_id":232341,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43652d0012cec54800718b908001e00a32a..."} 
[2026-11-04 07:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43652d0012cec54800718b908001e00a32a..."} 
[2026-11-04 07:10:42] local.INFO: Processing buffer {"connection_id":232341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43652d0012cec54800718b908001e00a32a..."} 
[2026-11-04 07:10:42] local.INFO: Packet analysis {"connection_id":232341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:10:42] local.INFO: Extracted packet for processing {"connection_id":232341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:10:42] local.INFO: GPS Element Parsed {"raw_longitude":753685632,"raw_latitude":119060744,"longitude_deg":75.3685632,"latitude_deg":11.9060744,"altitude":30,"angle":163,"satellites":42,"speed":34,"hex_longitude":"2cec5480","hex_latitude":"0718b908","is_valid_coordinates":true} 
[2026-11-04 07:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201632256001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38345549623066624,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420463439488839680,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793756386000,"timestamp_ms":1793756386000,"timestamp_seconds":1793756386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43652d0"} 
[2026-11-04 07:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 07:10:42] 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-11-04 07:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201632256001,"66":27800,"115":206,"83":41216,"24":34,"16":38345549623066624,"44":-1420463439488839680},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-11-04 07:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201632256001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:10:42] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-04 07:10:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38345549623066624,"km_value":38345549623066.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1420463439488839680,"description":"Unknown IO ID 44"} 
[2026-11-04 07:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201632256001,"power":27800,"unknown_115":206,"unknown_83":41216,"ignition":34,"odometer":null,"unknown_44":-1420463439488839680}} 
[2026-11-04 07:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":232341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:10:42] local.INFO: GPS data processed {"connection_id":232341,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:10:42] local.INFO: Acknowledgment sent {"connection_id":232341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:10:48] local.INFO: TCP Data received {"connection_id":228734,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:10:48] local.INFO: Processing buffer {"connection_id":228734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:10:48] local.INFO: Packet analysis {"connection_id":228734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:10:48] local.INFO: Extracted packet for processing {"connection_id":228734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:10:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:10:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:10:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":228734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:10:48] local.INFO: GPS data processed {"connection_id":228734,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:10:48] local.INFO: Acknowledgment sent {"connection_id":228734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:11:13] local.INFO: TCP Data received {"connection_id":232341,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43675f8012cec620007189838001f00972b..."} 
[2026-11-04 07:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43675f8012cec620007189838001f00972b..."} 
[2026-11-04 07:11:13] local.INFO: Processing buffer {"connection_id":232341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43675f8012cec620007189838001f00972b..."} 
[2026-11-04 07:11:13] local.INFO: Packet analysis {"connection_id":232341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:11:13] local.INFO: Extracted packet for processing {"connection_id":232341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:11:13] local.INFO: GPS Element Parsed {"raw_longitude":753689088,"raw_latitude":119052344,"longitude_deg":75.3689088,"latitude_deg":11.9052344,"altitude":31,"angle":151,"satellites":43,"speed":40,"hex_longitude":"2cec6200","hex_latitude":"07189838","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201634816001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38345992004698112,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417367214746957824,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793756395000,"timestamp_ms":1793756395000,"timestamp_seconds":1793756395,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43675f8"} 
[2026-11-04 07:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07: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-11-04 07: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-11-04 07:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201634816001,"66":27767,"115":206,"83":41216,"24":40,"16":38345992004698112,"44":-1417367214746957824},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-11-04 07:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201634816001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:11:13] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-04 07:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38345992004698112,"km_value":38345992004698.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:11:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417367214746957824,"description":"Unknown IO ID 44"} 
[2026-11-04 07:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201634816001,"power":27767,"unknown_115":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1417367214746957824}} 
[2026-11-04 07:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":232341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:11:13] local.INFO: GPS data processed {"connection_id":232341,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:11:13] local.INFO: Acknowledgment sent {"connection_id":232341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:11:15] local.INFO: TCP Data received {"connection_id":232342,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:11:15] local.INFO: Processing buffer {"connection_id":232342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:11:15] local.INFO: IMEI packet received {"connection_id":232342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":232342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:11:20] local.INFO: TCP Data received {"connection_id":232342,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:11:20] local.INFO: Processing buffer {"connection_id":232342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:11:20] local.INFO: IMEI packet received {"connection_id":232342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":232342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:11:21] local.INFO: TCP Data received {"connection_id":232342,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:11:21] local.INFO: Processing buffer {"connection_id":232342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:11:21] local.INFO: Packet analysis {"connection_id":232342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:11:21] local.INFO: Extracted packet for processing {"connection_id":232342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:21] 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-11-04 07:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":232342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:11:21] local.INFO: GPS data processed {"connection_id":232342,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:11:21] local.INFO: Acknowledgment sent {"connection_id":232342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:11:25] local.INFO: TCP Data received {"connection_id":232342,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:11:25] local.INFO: Processing buffer {"connection_id":232342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:11:25] local.INFO: Packet analysis {"connection_id":232342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:11:25] local.INFO: Extracted packet for processing {"connection_id":232342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:11:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:25] 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-11-04 07:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:11:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:11:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":232342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:11:25] local.INFO: GPS data processed {"connection_id":232342,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:11:25] local.INFO: Acknowledgment sent {"connection_id":232342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:11:37] local.INFO: TCP Data received {"connection_id":230492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:37] local.INFO: Processing buffer {"connection_id":230492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:37] local.INFO: IMEI packet received {"connection_id":230492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":230492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:11:39] local.INFO: TCP Data received {"connection_id":230492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:39] local.INFO: Processing buffer {"connection_id":230492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:39] local.INFO: IMEI packet received {"connection_id":230492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":230492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:11:49] local.INFO: TCP Data received {"connection_id":230492,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:49] local.INFO: Processing buffer {"connection_id":230492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:11:49] local.INFO: IMEI packet received {"connection_id":230492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":230492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:11:50] local.INFO: TCP Data received {"connection_id":230492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43675f8012cec620007189838001f00972b..."} 
[2026-11-04 07:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43675f8012cec620007189838001f00972b..."} 
[2026-11-04 07:11:50] local.INFO: Processing buffer {"connection_id":230492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43675f8012cec620007189838001f00972b..."} 
[2026-11-04 07:11:50] local.INFO: Packet analysis {"connection_id":230492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:11:50] local.INFO: Extracted packet for processing {"connection_id":230492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:11:50] local.INFO: GPS Element Parsed {"raw_longitude":753689088,"raw_latitude":119052344,"longitude_deg":75.3689088,"latitude_deg":11.9052344,"altitude":31,"angle":151,"satellites":43,"speed":40,"hex_longitude":"2cec6200","hex_latitude":"07189838","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201637120001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38345992004698112,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413567302563514368,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793756395000,"timestamp_ms":1793756395000,"timestamp_seconds":1793756395,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43675f8"} 
[2026-11-04 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-11-04 07:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 07:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201637120001,"66":27767,"115":206,"83":41216,"24":40,"16":38345992004698112,"44":-1413567302563514368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-11-04 07:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201637120001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:11:50] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-04 07:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38345992004698112,"km_value":38345992004698.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413567302563514368,"description":"Unknown IO ID 44"} 
[2026-11-04 07:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201637120001,"power":27767,"unknown_115":206,"unknown_83":41216,"ignition":40,"odometer":null,"unknown_44":-1413567302563514368}} 
[2026-11-04 07:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":230492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:11:50] local.INFO: GPS data processed {"connection_id":230492,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:11:50] local.INFO: Acknowledgment sent {"connection_id":230492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:11:51] local.INFO: TCP Data received {"connection_id":230492,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4369538012cec70c007187c08002000a22a..."} 
[2026-11-04 07:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4369538012cec70c007187c08002000a22a..."} 
[2026-11-04 07:11:51] local.INFO: Processing buffer {"connection_id":230492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4369538012cec70c007187c08002000a22a..."} 
[2026-11-04 07:11:51] local.INFO: Packet analysis {"connection_id":230492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:11:51] local.INFO: Extracted packet for processing {"connection_id":230492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a436"} 
[2026-11-04 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":753692864,"raw_latitude":119045128,"longitude_deg":75.3692864,"latitude_deg":11.9045128,"altitude":32,"angle":162,"satellites":42,"speed":36,"hex_longitude":"2cec70c0","hex_latitude":"07187c08","is_valid_coordinates":true} 
[2026-11-04 07:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201637120001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38346382846722048,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413567302563514368,"note":"Value kept but may cause issues"} 
[2026-11-04 07:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793756403000,"timestamp_ms":1793756403000,"timestamp_seconds":1793756403,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4369538"} 
[2026-11-04 07:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201637120001,"66":27745,"115":206,"83":41216,"24":36,"16":38346382846722048,"44":-1413567302563514368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,83,24,16,44]} 
[2026-11-04 07:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201637120001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:11:51] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-04 07:11:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38346382846722048,"km_value":38346382846722.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413567302563514368,"description":"Unknown IO ID 44"} 
[2026-11-04 07:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201637120001,"power":27745,"unknown_115":206,"unknown_83":41216,"ignition":36,"odometer":null,"unknown_44":-1413567302563514368}} 
[2026-11-04 07:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":230492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:11:51] local.INFO: GPS data processed {"connection_id":230492,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:11:51] local.INFO: Acknowledgment sent {"connection_id":230492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:12:10] local.INFO: TCP Data received {"connection_id":229230,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:12:10] local.INFO: Processing buffer {"connection_id":229230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:12:10] local.INFO: IMEI packet received {"connection_id":229230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":229230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:12:15] local.INFO: TCP Data received {"connection_id":229230,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:12:15] local.INFO: Processing buffer {"connection_id":229230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:12:15] local.INFO: IMEI packet received {"connection_id":229230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":229230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:12:16] local.INFO: TCP Data received {"connection_id":229230,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:12:16] local.INFO: Processing buffer {"connection_id":229230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:12:16] local.INFO: Packet analysis {"connection_id":229230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:12:16] local.INFO: Extracted packet for processing {"connection_id":229230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:12:16] 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-11-04 07:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":229230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:12:16] local.INFO: GPS data processed {"connection_id":229230,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:12:16] local.INFO: Acknowledgment sent {"connection_id":229230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:12:32] local.INFO: TCP Data received {"connection_id":230493,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:12:32] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:12:32] local.INFO: IMEI packet received {"connection_id":230493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":230493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:12:47] local.INFO: TCP Data received {"connection_id":229230,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:12:47] local.INFO: Processing buffer {"connection_id":229230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:12:47] local.INFO: Packet analysis {"connection_id":229230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:12:47] local.INFO: Extracted packet for processing {"connection_id":229230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:12:47] 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-11-04 07:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":229230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:12:48] local.INFO: GPS data processed {"connection_id":229230,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:12:48] local.INFO: Acknowledgment sent {"connection_id":229230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:13:00] local.INFO: TCP Data received {"connection_id":230493,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:13:00] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:13:00] local.INFO: IMEI packet received {"connection_id":230493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":230493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:13:00] local.INFO: TCP Data received {"connection_id":230493,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230493,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 07:13:00] local.INFO: Processing buffer {"connection_id":230493,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 07:13:00] local.INFO: IMEI packet received {"connection_id":230493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":230493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:13:09] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:13:09] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:13:09] local.INFO: IMEI packet received {"connection_id":230494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":230494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:13:15] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:13:15] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:13:15] local.INFO: IMEI packet received {"connection_id":230494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":230494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:13:16] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:13:16] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43462b8012d3c94c006a39460004601582c..."} 
[2026-11-04 07:13:16] local.INFO: Packet analysis {"connection_id":230494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:13:16] local.INFO: Extracted packet for processing {"connection_id":230494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a434"} 
[2026-11-04 07:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201525248001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:13:16] 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-11-04 07:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756259000,"timestamp_ms":1793756259000,"timestamp_seconds":1793756259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43462b8"} 
[2026-11-04 07:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201525248001,"66":25734,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201525248001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201525248001,"power":25734,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":230494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:13:16] local.INFO: GPS data processed {"connection_id":230494,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:13:16] local.INFO: Acknowledgment sent {"connection_id":230494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:13:47] local.INFO: TCP Data received {"connection_id":230494,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:13:47] local.INFO: Processing buffer {"connection_id":230494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:13:47] local.INFO: Packet analysis {"connection_id":230494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:13:47] local.INFO: Extracted packet for processing {"connection_id":230494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:13: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-11-04 07:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:13:47] 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-11-04 07:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:13: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:13: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-11-04 07:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":230494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:13:47] local.INFO: GPS data processed {"connection_id":230494,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:13:47] local.INFO: Acknowledgment sent {"connection_id":230494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:14:15] local.INFO: TCP Data received {"connection_id":228735,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:14:15] local.INFO: Processing buffer {"connection_id":228735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:14:15] local.INFO: IMEI packet received {"connection_id":228735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":228735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:14:20] local.INFO: TCP Data received {"connection_id":228735,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:14:20] local.INFO: Processing buffer {"connection_id":228735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:14:20] local.INFO: IMEI packet received {"connection_id":228735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":228735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:14:22] local.INFO: TCP Data received {"connection_id":228735,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:14:22] local.INFO: Processing buffer {"connection_id":228735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:14:22] local.INFO: Packet analysis {"connection_id":228735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:14:22] local.INFO: Extracted packet for processing {"connection_id":228735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:14:22] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:14:22] 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-11-04 07:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:14:22] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:14:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":228735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:14:22] local.INFO: GPS data processed {"connection_id":228735,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:14:22] local.INFO: Acknowledgment sent {"connection_id":228735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:14:25] local.INFO: TCP Data received {"connection_id":228735,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:14:25] local.INFO: Processing buffer {"connection_id":228735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:14:25] local.INFO: Packet analysis {"connection_id":228735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:14:25] local.INFO: Extracted packet for processing {"connection_id":228735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:14:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:14:25] 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-11-04 07:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:14:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:14:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":228735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:14:25] local.INFO: GPS data processed {"connection_id":228735,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:14:25] local.INFO: Acknowledgment sent {"connection_id":228735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:15:10] local.INFO: TCP Data received {"connection_id":232343,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:15:10] local.INFO: Processing buffer {"connection_id":232343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:15:10] local.INFO: IMEI packet received {"connection_id":232343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":232343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:15:15] local.INFO: TCP Data received {"connection_id":232343,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:15:15] local.INFO: Processing buffer {"connection_id":232343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:15:15] local.INFO: IMEI packet received {"connection_id":232343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":232343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:15:16] local.INFO: TCP Data received {"connection_id":232343,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:15:16] local.INFO: Processing buffer {"connection_id":232343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:15:16] local.INFO: Packet analysis {"connection_id":232343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:15:16] local.INFO: Extracted packet for processing {"connection_id":232343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:15:16] 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-11-04 07:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:15:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:15:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":232343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:15:16] local.INFO: GPS data processed {"connection_id":232343,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:15:16] local.INFO: Acknowledgment sent {"connection_id":232343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:15:47] local.INFO: TCP Data received {"connection_id":232343,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:15:47] local.INFO: Processing buffer {"connection_id":232343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:15:47] local.INFO: Packet analysis {"connection_id":232343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:15:47] local.INFO: Extracted packet for processing {"connection_id":232343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:15:47] 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-11-04 07:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:15:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:15:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":232343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:15:47] local.INFO: GPS data processed {"connection_id":232343,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:15:47] local.INFO: Acknowledgment sent {"connection_id":232343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:16:09] local.INFO: TCP Data received {"connection_id":230495,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:16:09] local.INFO: Processing buffer {"connection_id":230495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:16:09] local.INFO: IMEI packet received {"connection_id":230495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":230495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:16:15] local.INFO: TCP Data received {"connection_id":230495,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:16:15] local.INFO: Processing buffer {"connection_id":230495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:16:15] local.INFO: IMEI packet received {"connection_id":230495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":230495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:16:16] local.INFO: TCP Data received {"connection_id":230495,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:16:16] local.INFO: Processing buffer {"connection_id":230495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:16:16] local.INFO: Packet analysis {"connection_id":230495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:16:16] local.INFO: Extracted packet for processing {"connection_id":230495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:16:16] 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-11-04 07:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":230495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:16:16] local.INFO: GPS data processed {"connection_id":230495,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:16:16] local.INFO: Acknowledgment sent {"connection_id":230495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:16:48] local.INFO: TCP Data received {"connection_id":230495,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:16:48] local.INFO: Processing buffer {"connection_id":230495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:16:48] local.INFO: Packet analysis {"connection_id":230495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:16:48] local.INFO: Extracted packet for processing {"connection_id":230495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:16:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:16:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":230495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:16:48] local.INFO: GPS data processed {"connection_id":230495,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:16:48] local.INFO: Acknowledgment sent {"connection_id":230495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:17:09] local.INFO: TCP Data received {"connection_id":230496,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:17:09] local.INFO: Processing buffer {"connection_id":230496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:17:09] local.INFO: IMEI packet received {"connection_id":230496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":230496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:17:15] local.INFO: TCP Data received {"connection_id":230496,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:17:15] local.INFO: Processing buffer {"connection_id":230496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:17:15] local.INFO: IMEI packet received {"connection_id":230496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":230496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:17:16] local.INFO: TCP Data received {"connection_id":230496,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:17:16] local.INFO: Processing buffer {"connection_id":230496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:17:16] local.INFO: Packet analysis {"connection_id":230496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:17:16] local.INFO: Extracted packet for processing {"connection_id":230496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:17:16] 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-11-04 07:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:17:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:17:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":230496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:17:16] local.INFO: GPS data processed {"connection_id":230496,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:17:16] local.INFO: Acknowledgment sent {"connection_id":230496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:17:47] local.INFO: TCP Data received {"connection_id":230496,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:17:47] local.INFO: Processing buffer {"connection_id":230496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:17:47] local.INFO: Packet analysis {"connection_id":230496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:17:47] local.INFO: Extracted packet for processing {"connection_id":230496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:17:47] 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-11-04 07:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:17:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:17:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":230496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:17:47] local.INFO: GPS data processed {"connection_id":230496,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:17:47] local.INFO: Acknowledgment sent {"connection_id":230496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:18:09] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:18:09] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:18:09] local.INFO: IMEI packet received {"connection_id":229235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":229235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:18:10] local.INFO: TCP Data received {"connection_id":228736,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:10] local.INFO: Processing buffer {"connection_id":228736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:10] local.INFO: IMEI packet received {"connection_id":228736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":228736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:18:11] local.INFO: TCP Data received {"connection_id":228736,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43bf050012ced9cc00713e9e0001f005e2b..."} 
[2026-11-04 07:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43bf050012ced9cc00713e9e0001f005e2b..."} 
[2026-11-04 07:18:11] local.INFO: Processing buffer {"connection_id":228736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43bf050012ced9cc00713e9e0001f005e2b..."} 
[2026-11-04 07:18:11] local.INFO: Packet analysis {"connection_id":228736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43b"} 
[2026-11-04 07:18:11] local.INFO: Extracted packet for processing {"connection_id":228736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43b"} 
[2026-11-04 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":753769664,"raw_latitude":118745568,"longitude_deg":75.3769664,"latitude_deg":11.8745568,"altitude":31,"angle":94,"satellites":43,"speed":29,"hex_longitude":"2ced9cc0","hex_latitude":"0713e9e0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201725696001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38362854046302208,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1335176521628112896,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793756754000,"timestamp_ms":1793756754000,"timestamp_seconds":1793756754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43bf050"} 
[2026-11-04 07:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201725696001,"66":27745,"196":206,"83":41216,"24":29,"16":38362854046302208,"44":-1335176521628112896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,83,24,16,44]} 
[2026-11-04 07:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201725696001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41216,"description":"Unknown IO ID 83"} 
[2026-11-04 07:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38362854046302208,"km_value":38362854046302.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:18:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1335176521628112896,"description":"Unknown IO ID 44"} 
[2026-11-04 07:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201725696001,"power":27745,"unknown_196":206,"unknown_83":41216,"ignition":29,"odometer":null,"unknown_44":-1335176521628112896}} 
[2026-11-04 07:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":228736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:18:11] local.INFO: GPS data processed {"connection_id":228736,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:18:11] local.INFO: Acknowledgment sent {"connection_id":228736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:18:15] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:18:15] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:18:15] local.INFO: IMEI packet received {"connection_id":229235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":229235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:18:16] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:18:16] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a438fa80012d3c94c006a39460004601582c..."} 
[2026-11-04 07:18:16] local.INFO: Packet analysis {"connection_id":229235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:18:16] local.INFO: Extracted packet for processing {"connection_id":229235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a438"} 
[2026-11-04 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201602304001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:16] 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-11-04 07:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756560000,"timestamp_ms":1793756560000,"timestamp_seconds":1793756560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a438fa80"} 
[2026-11-04 07:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 07:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201602304001,"66":25625,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201602304001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201602304001,"power":25625,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":229235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:18:16] local.INFO: GPS data processed {"connection_id":229235,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:18:16] local.INFO: Acknowledgment sent {"connection_id":229235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:18:35] local.INFO: TCP Data received {"connection_id":232344,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:35] local.INFO: Processing buffer {"connection_id":232344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:35] local.INFO: IMEI packet received {"connection_id":232344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":232344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:18:35] local.INFO: TCP Data received {"connection_id":232344,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:35] local.INFO: Processing buffer {"connection_id":232344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:35] local.INFO: IMEI packet received {"connection_id":232344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":232344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:18:42] local.INFO: TCP Data received {"connection_id":232344,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:42] local.INFO: Processing buffer {"connection_id":232344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:18:42] local.INFO: IMEI packet received {"connection_id":232344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":232344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:18:42] local.INFO: TCP Data received {"connection_id":232344,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d76f0012cef14400713da880025005e2b..."} 
[2026-11-04 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d76f0012cef14400713da880025005e2b..."} 
[2026-11-04 07:18:42] local.INFO: Processing buffer {"connection_id":232344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d76f0012cef14400713da880025005e2b..."} 
[2026-11-04 07:18:42] local.INFO: Packet analysis {"connection_id":232344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:18:42] local.INFO: Extracted packet for processing {"connection_id":232344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":753865792,"raw_latitude":118741640,"longitude_deg":75.3865792,"latitude_deg":11.874164,"altitude":37,"angle":94,"satellites":43,"speed":49,"hex_longitude":"2cef1440","hex_latitude":"0713da88","is_valid_coordinates":true} 
[2026-11-04 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201752320001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38367436776407040,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1230256724059932672,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793756854000,"timestamp_ms":1793756854000,"timestamp_seconds":1793756854,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d76f0"} 
[2026-11-04 07:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:18:42] 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-11-04 07:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201752320001,"66":27745,"180":206,"83":41472,"24":49,"16":38367436776407040,"44":-1230256724059932672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-11-04 07:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201752320001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:18:42] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-11-04 07:18:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38367436776407040,"km_value":38367436776407.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:18:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1230256724059932672,"description":"Unknown IO ID 44"} 
[2026-11-04 07:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201752320001,"power":27745,"unknown_180":206,"unknown_83":41472,"ignition":49,"odometer":null,"unknown_44":-1230256724059932672}} 
[2026-11-04 07:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":232344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:18:43] local.INFO: GPS data processed {"connection_id":232344,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:18:43] local.INFO: Acknowledgment sent {"connection_id":232344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:18:47] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:18:47] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:18:47] local.INFO: Packet analysis {"connection_id":229235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:18:47] local.INFO: Extracted packet for processing {"connection_id":229235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:18:47] 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-11-04 07:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:18: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-11-04 07:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":229235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:18:47] local.INFO: GPS data processed {"connection_id":229235,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:18:47] local.INFO: Acknowledgment sent {"connection_id":229235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:19:09] local.INFO: TCP Data received {"connection_id":228737,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:19:09] local.INFO: Processing buffer {"connection_id":228737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:19:09] local.INFO: IMEI packet received {"connection_id":228737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":228737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:19:15] local.INFO: TCP Data received {"connection_id":228737,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:19:15] local.INFO: Processing buffer {"connection_id":228737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:19:15] local.INFO: IMEI packet received {"connection_id":228737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":228737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:19:16] local.INFO: TCP Data received {"connection_id":228737,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:19:16] local.INFO: Processing buffer {"connection_id":228737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:19:16] local.INFO: Packet analysis {"connection_id":228737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:16] local.INFO: Extracted packet for processing {"connection_id":228737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:16] 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-11-04 07:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:19:16] 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-11-04 07:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:19:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":228737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:19:16] local.INFO: GPS data processed {"connection_id":228737,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:19:16] local.INFO: Acknowledgment sent {"connection_id":228737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:19:25] local.INFO: TCP Data received {"connection_id":232344,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9630012cef3a000713d7d00023005e2c..."} 
[2026-11-04 07:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9630012cef3a000713d7d00023005e2c..."} 
[2026-11-04 07:19:25] local.INFO: Processing buffer {"connection_id":232344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9630012cef3a000713d7d00023005e2c..."} 
[2026-11-04 07:19:25] local.INFO: Packet analysis {"connection_id":232344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:25] local.INFO: Extracted packet for processing {"connection_id":232344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:25] local.INFO: GPS Element Parsed {"raw_longitude":753875456,"raw_latitude":118740944,"longitude_deg":75.3875456,"latitude_deg":11.8740944,"altitude":35,"angle":94,"satellites":44,"speed":44,"hex_longitude":"2cef3a00","hex_latitude":"0713d7d0","is_valid_coordinates":true} 
[2026-11-04 07:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201754624001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38367896337907712,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1219279199968524288,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793756862000,"timestamp_ms":1793756862000,"timestamp_seconds":1793756862,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9630"} 
[2026-11-04 07:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201754624001,"66":27767,"180":206,"83":41472,"24":44,"16":38367896337907712,"44":-1219279199968524288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-11-04 07:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201754624001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:19:25] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-11-04 07:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38367896337907712,"km_value":38367896337907.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1219279199968524288,"description":"Unknown IO ID 44"} 
[2026-11-04 07:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201754624001,"power":27767,"unknown_180":206,"unknown_83":41472,"ignition":44,"odometer":null,"unknown_44":-1219279199968524288}} 
[2026-11-04 07:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":232344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:19:25] local.INFO: GPS data processed {"connection_id":232344,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:19:25] local.INFO: Acknowledgment sent {"connection_id":232344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:19:35] local.INFO: TCP Data received {"connection_id":229236,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:19:35] local.INFO: Processing buffer {"connection_id":229236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:19:35] local.INFO: IMEI packet received {"connection_id":229236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":229236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:19:39] local.INFO: TCP Data received {"connection_id":229236,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:19:39] local.INFO: Processing buffer {"connection_id":229236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:19:39] local.INFO: IMEI packet received {"connection_id":229236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":229236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:19:40] local.INFO: TCP Data received {"connection_id":229236,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43db570012cef5f800713d5f00024005c2b..."} 
[2026-11-04 07:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43db570012cef5f800713d5f00024005c2b..."} 
[2026-11-04 07:19:40] local.INFO: Processing buffer {"connection_id":229236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43db570012cef5f800713d5f00024005c2b..."} 
[2026-11-04 07:19:40] local.INFO: Packet analysis {"connection_id":229236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:40] local.INFO: Extracted packet for processing {"connection_id":229236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:40] local.INFO: GPS Element Parsed {"raw_longitude":753885056,"raw_latitude":118740464,"longitude_deg":75.3885056,"latitude_deg":11.8740464,"altitude":36,"angle":92,"satellites":43,"speed":49,"hex_longitude":"2cef5f80","hex_latitude":"0713d5f0","is_valid_coordinates":true} 
[2026-11-04 07:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201756672001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38368351604441088,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1208653519597875200,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793756870000,"timestamp_ms":1793756870000,"timestamp_seconds":1793756870,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43db570"} 
[2026-11-04 07:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201756672001,"66":27800,"180":206,"83":41472,"24":49,"16":38368351604441088,"44":-1208653519597875200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,83,24,16,44]} 
[2026-11-04 07:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201756672001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:19:40] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-11-04 07:19:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38368351604441088,"km_value":38368351604441.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:19:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1208653519597875200,"description":"Unknown IO ID 44"} 
[2026-11-04 07:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201756672001,"power":27800,"unknown_180":206,"unknown_83":41472,"ignition":49,"odometer":null,"unknown_44":-1208653519597875200}} 
[2026-11-04 07:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":229236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:19:40] local.INFO: GPS data processed {"connection_id":229236,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:19:40] local.INFO: Acknowledgment sent {"connection_id":229236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:19:47] local.INFO: TCP Data received {"connection_id":228737,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:19:47] local.INFO: Processing buffer {"connection_id":228737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:19:47] local.INFO: Packet analysis {"connection_id":228737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:47] local.INFO: Extracted packet for processing {"connection_id":228737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:19:47] 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-11-04 07:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:19: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-11-04 07:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":228737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:19:47] local.INFO: GPS data processed {"connection_id":228737,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:19:47] local.INFO: Acknowledgment sent {"connection_id":228737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:20:09] local.INFO: TCP Data received {"connection_id":232345,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:20:09] local.INFO: Processing buffer {"connection_id":232345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:20:09] local.INFO: IMEI packet received {"connection_id":232345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":232345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:20:11] local.INFO: TCP Data received {"connection_id":229236,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43ef1d8012cf053c007136d98002400512e..."} 
[2026-11-04 07:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43ef1d8012cf053c007136d98002400512e..."} 
[2026-11-04 07:20:11] local.INFO: Processing buffer {"connection_id":229236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43ef1d8012cf053c007136d98002400512e..."} 
[2026-11-04 07:20:11] local.INFO: Packet analysis {"connection_id":229236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43e"} 
[2026-11-04 07:20:11] local.INFO: Extracted packet for processing {"connection_id":229236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43e"} 
[2026-11-04 07:20:11] local.INFO: GPS Element Parsed {"raw_longitude":753947584,"raw_latitude":118713752,"longitude_deg":75.3947584,"latitude_deg":11.8713752,"altitude":36,"angle":81,"satellites":46,"speed":23,"hex_longitude":"2cf053c0","hex_latitude":"07136d98","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201778688001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38371663024226304,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1131529375986102272,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793756951000,"timestamp_ms":1793756951000,"timestamp_seconds":1793756951,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43ef1d8"} 
[2026-11-04 07:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:20:11] 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-11-04 07: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-11-04 07:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201778688001,"66":27463,"16":38371663024226304,"83":41472,"24":23,"44":-1131529375986102272},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-11-04 07:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201778688001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38371663024226304,"km_value":38371663024226.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1131529375986102272,"description":"Unknown IO ID 44"} 
[2026-11-04 07:20:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459201778688001,"power":27463,"odometer":null,"unknown_83":41472,"ignition":23,"unknown_44":-1131529375986102272}} 
[2026-11-04 07:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":229236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:20:11] local.INFO: GPS data processed {"connection_id":229236,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:20:11] local.INFO: Acknowledgment sent {"connection_id":229236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:20:15] local.INFO: TCP Data received {"connection_id":232345,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232345,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:20:15] local.INFO: Processing buffer {"connection_id":232345,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:20:15] local.INFO: IMEI packet received {"connection_id":232345,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":232345,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:20:16] local.INFO: TCP Data received {"connection_id":232345,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:20:16] local.INFO: Processing buffer {"connection_id":232345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:20:16] local.INFO: Packet analysis {"connection_id":232345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:20:16] local.INFO: Extracted packet for processing {"connection_id":232345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:16] 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-11-04 07:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:20:16] 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-11-04 07: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-11-04 07:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:20:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:20:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":232345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:20:16] local.INFO: GPS data processed {"connection_id":232345,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:20:16] local.INFO: Acknowledgment sent {"connection_id":232345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:20:34] local.INFO: TCP Data received {"connection_id":232346,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:20:34] local.INFO: Processing buffer {"connection_id":232346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:20:34] local.INFO: IMEI packet received {"connection_id":232346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":232346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:20:39] local.INFO: TCP Data received {"connection_id":232346,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:20:39] local.INFO: Processing buffer {"connection_id":232346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:20:39] local.INFO: IMEI packet received {"connection_id":232346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":232346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:20:40] local.INFO: TCP Data received {"connection_id":232346,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43f0178012cf05e4007136de00024005e2d..."} 
[2026-11-04 07:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43f0178012cf05e4007136de00024005e2d..."} 
[2026-11-04 07:20:40] local.INFO: Processing buffer {"connection_id":232346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43f0178012cf05e4007136de00024005e2d..."} 
[2026-11-04 07:20:40] local.INFO: Packet analysis {"connection_id":232346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43f"} 
[2026-11-04 07:20:40] local.INFO: Extracted packet for processing {"connection_id":232346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43f"} 
[2026-11-04 07:20:40] local.INFO: GPS Element Parsed {"raw_longitude":753950272,"raw_latitude":118713824,"longitude_deg":75.3950272,"latitude_deg":11.8713824,"altitude":36,"angle":94,"satellites":45,"speed":26,"hex_longitude":"2cf05e40","hex_latitude":"07136de0","is_valid_coordinates":true} 
[2026-11-04 07:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201779456001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38371791873245184,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1129347944916609024,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793756955000,"timestamp_ms":1793756955000,"timestamp_seconds":1793756955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43f0178"} 
[2026-11-04 07:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 07:20:40] 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-11-04 07:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201779456001,"66":27767,"16":38371791873245184,"83":41472,"24":26,"44":-1129347944916609024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-11-04 07:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201779456001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38371791873245184,"km_value":38371791873245.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:20:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1129347944916609024,"description":"Unknown IO ID 44"} 
[2026-11-04 07:20:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459201779456001,"power":27767,"odometer":null,"unknown_83":41472,"ignition":26,"unknown_44":-1129347944916609024}} 
[2026-11-04 07:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":232346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:20:40] local.INFO: GPS data processed {"connection_id":232346,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:20:40] local.INFO: Acknowledgment sent {"connection_id":232346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:20:48] local.INFO: TCP Data received {"connection_id":232345,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:20:48] local.INFO: Processing buffer {"connection_id":232345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:20:48] local.INFO: Packet analysis {"connection_id":232345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:20:48] local.INFO: Extracted packet for processing {"connection_id":232345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:20:48] 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-11-04 07: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-11-04 07:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232345,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:20:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:20:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":232345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:20:48] local.INFO: GPS data processed {"connection_id":232345,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:20:48] local.INFO: Acknowledgment sent {"connection_id":232345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:21:11] local.INFO: TCP Data received {"connection_id":232346,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43f18e8012cf0714007136e78002500512d..."} 
[2026-11-04 07:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43f18e8012cf0714007136e78002500512d..."} 
[2026-11-04 07:21:11] local.INFO: Processing buffer {"connection_id":232346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43f18e8012cf0714007136e78002500512d..."} 
[2026-11-04 07:21:11] local.INFO: Packet analysis {"connection_id":232346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43f"} 
[2026-11-04 07:21:11] local.INFO: Extracted packet for processing {"connection_id":232346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43f"} 
[2026-11-04 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":753955136,"raw_latitude":118713976,"longitude_deg":75.3955136,"latitude_deg":11.8713976,"altitude":37,"angle":81,"satellites":45,"speed":36,"hex_longitude":"2cf07140","hex_latitude":"07136e78","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201780480001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38372023801479168,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1126392457661128704,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,83,24,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793756961000,"timestamp_ms":1793756961000,"timestamp_seconds":1793756961,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43f18e8"} 
[2026-11-04 07:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201780480001,"66":27658,"16":38372023801479168,"83":41472,"24":36,"44":-1126392457661128704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,83,24,44]} 
[2026-11-04 07:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201780480001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38372023801479168,"km_value":38372023801479.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:21:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1126392457661128704,"description":"Unknown IO ID 44"} 
[2026-11-04 07:21:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459201780480001,"power":27658,"odometer":null,"unknown_83":41472,"ignition":36,"unknown_44":-1126392457661128704}} 
[2026-11-04 07:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":232346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:21:11] local.INFO: GPS data processed {"connection_id":232346,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:21:11] local.INFO: Acknowledgment sent {"connection_id":232346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:21:15] local.INFO: TCP Data received {"connection_id":230497,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:21:15] local.INFO: Processing buffer {"connection_id":230497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:21:15] local.INFO: IMEI packet received {"connection_id":230497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":230497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:21:20] local.INFO: TCP Data received {"connection_id":230497,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:21:20] local.INFO: Processing buffer {"connection_id":230497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:21:20] local.INFO: IMEI packet received {"connection_id":230497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":230497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:21:21] local.INFO: TCP Data received {"connection_id":230497,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:21:21] local.INFO: Processing buffer {"connection_id":230497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:21:21] local.INFO: Packet analysis {"connection_id":230497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:21:21] local.INFO: Extracted packet for processing {"connection_id":230497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:21] 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-11-04 07:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:21: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-11-04 07:21: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-11-04 07:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:21:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:21:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":230497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:21:22] local.INFO: GPS data processed {"connection_id":230497,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:21:22] local.INFO: Acknowledgment sent {"connection_id":230497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:21:25] local.INFO: TCP Data received {"connection_id":230497,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:21:25] local.INFO: Processing buffer {"connection_id":230497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:21:25] local.INFO: Packet analysis {"connection_id":230497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:21:25] local.INFO: Extracted packet for processing {"connection_id":230497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:21:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:25] 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-11-04 07:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:21:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:21:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":230497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:21:25] local.INFO: GPS data processed {"connection_id":230497,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:21:25] local.INFO: Acknowledgment sent {"connection_id":230497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:21:34] local.INFO: TCP Data received {"connection_id":228738,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:34] local.INFO: Processing buffer {"connection_id":228738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:34] local.INFO: IMEI packet received {"connection_id":228738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":228738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:21:38] local.INFO: TCP Data received {"connection_id":228738,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:38] local.INFO: Processing buffer {"connection_id":228738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:38] local.INFO: IMEI packet received {"connection_id":228738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":228738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:21:40] local.INFO: TCP Data received {"connection_id":228738,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:40] local.INFO: Processing buffer {"connection_id":228738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:21:40] local.INFO: IMEI packet received {"connection_id":228738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":228738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:21:41] local.INFO: TCP Data received {"connection_id":228738,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44064f0012cf1664007133ee0001600842a..."} 
[2026-11-04 07:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44064f0012cf1664007133ee0001600842a..."} 
[2026-11-04 07:21:41] local.INFO: Processing buffer {"connection_id":228738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44064f0012cf1664007133ee0001600842a..."} 
[2026-11-04 07:21:41] local.INFO: Packet analysis {"connection_id":228738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:21:41] local.INFO: Extracted packet for processing {"connection_id":228738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:21:41] local.INFO: GPS Element Parsed {"raw_longitude":754017856,"raw_latitude":118701792,"longitude_deg":75.4017856,"latitude_deg":11.8701792,"altitude":22,"angle":132,"satellites":42,"speed":59,"hex_longitude":"2cf16640","hex_latitude":"07133ee0","is_valid_coordinates":true} 
[2026-11-04 07:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201801984001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38375245026951168,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1060456944368060416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793757046000,"timestamp_ms":1793757046000,"timestamp_seconds":1793757046,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44064f0"} 
[2026-11-04 07:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 07:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201801984001,"66":27691,"197":206,"83":41472,"24":59,"16":38375245026951168,"44":-1060456944368060416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-11-04 07:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201801984001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:21:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-04 07:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38375245026951168,"km_value":38375245026951.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1060456944368060416,"description":"Unknown IO ID 44"} 
[2026-11-04 07:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201801984001,"power":27691,"unknown_197":206,"unknown_83":41472,"ignition":59,"odometer":null,"unknown_44":-1060456944368060416}} 
[2026-11-04 07:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":228738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:21:41] local.INFO: GPS data processed {"connection_id":228738,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:21:41] local.INFO: Acknowledgment sent {"connection_id":228738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:22:10] local.INFO: TCP Data received {"connection_id":230498,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:22:10] local.INFO: Processing buffer {"connection_id":230498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:22:10] local.INFO: IMEI packet received {"connection_id":230498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":230498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:22:12] local.INFO: TCP Data received {"connection_id":228738,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4408048012cf184c0071324b8001400822b..."} 
[2026-11-04 07:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4408048012cf184c0071324b8001400822b..."} 
[2026-11-04 07:22:12] local.INFO: Processing buffer {"connection_id":228738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4408048012cf184c0071324b8001400822b..."} 
[2026-11-04 07:22:12] local.INFO: Packet analysis {"connection_id":228738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:22:12] local.INFO: Extracted packet for processing {"connection_id":228738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:22:12] local.INFO: GPS Element Parsed {"raw_longitude":754025664,"raw_latitude":118695096,"longitude_deg":75.4025664,"latitude_deg":11.8695096,"altitude":20,"angle":130,"satellites":43,"speed":56,"hex_longitude":"2cf184c0","hex_latitude":"071324b8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201803776001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38375734653222912,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1052083063812595712,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793757053000,"timestamp_ms":1793757053000,"timestamp_seconds":1793757053,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4408048"} 
[2026-11-04 07:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 07:22:12] 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-11-04 07: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-11-04 07:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201803776001,"66":27887,"197":206,"83":41472,"24":56,"16":38375734653222912,"44":-1052083063812595712},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-11-04 07:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201803776001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:22:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-04 07:22:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38375734653222912,"km_value":38375734653222.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:22:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1052083063812595712,"description":"Unknown IO ID 44"} 
[2026-11-04 07:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201803776001,"power":27887,"unknown_197":206,"unknown_83":41472,"ignition":56,"odometer":null,"unknown_44":-1052083063812595712}} 
[2026-11-04 07:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":228738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:22:12] local.INFO: GPS data processed {"connection_id":228738,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:22:12] local.INFO: Acknowledgment sent {"connection_id":228738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:22:15] local.INFO: TCP Data received {"connection_id":230498,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:22:15] local.INFO: Processing buffer {"connection_id":230498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:22:15] local.INFO: IMEI packet received {"connection_id":230498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":230498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:22:16] local.INFO: TCP Data received {"connection_id":230498,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:22:16] local.INFO: Processing buffer {"connection_id":230498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:22:16] local.INFO: Packet analysis {"connection_id":230498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:22:16] local.INFO: Extracted packet for processing {"connection_id":230498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:16] 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-11-04 07:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:22:16] 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-11-04 07: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-11-04 07:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:22:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:22:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":230498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:22:16] local.INFO: GPS data processed {"connection_id":230498,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:22:16] local.INFO: Acknowledgment sent {"connection_id":230498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:22:40] local.INFO: TCP Data received {"connection_id":229237,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:40] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:40] local.INFO: IMEI packet received {"connection_id":229237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":229237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:22:40] local.INFO: TCP Data received {"connection_id":229237,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:40] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:40] local.INFO: IMEI packet received {"connection_id":229237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":229237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:22:45] local.INFO: TCP Data received {"connection_id":229237,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:45] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:22:45] local.INFO: IMEI packet received {"connection_id":229237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":229237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:22:46] local.INFO: TCP Data received {"connection_id":229237,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4409ba0012cf1a2c007130938000e00862c..."} 
[2026-11-04 07:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4409ba0012cf1a2c007130938000e00862c..."} 
[2026-11-04 07:22:46] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4409ba0012cf1a2c007130938000e00862c..."} 
[2026-11-04 07:22:46] local.INFO: Packet analysis {"connection_id":229237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:22:46] local.INFO: Extracted packet for processing {"connection_id":229237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:22:46] local.INFO: GPS Element Parsed {"raw_longitude":754033344,"raw_latitude":118688056,"longitude_deg":75.4033344,"latitude_deg":11.8688056,"altitude":14,"angle":134,"satellites":44,"speed":59,"hex_longitude":"2cf1a2c0","hex_latitude":"07130938","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201805568001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38376237164396544,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1043498077024634880,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793757060000,"timestamp_ms":1793757060000,"timestamp_seconds":1793757060,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4409ba0"} 
[2026-11-04 07:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 07:22: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-11-04 07: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-11-04 07:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201805568001,"66":27800,"197":206,"83":41472,"24":59,"16":38376237164396544,"44":-1043498077024634880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-11-04 07:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201805568001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:22:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-04 07:22:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38376237164396544,"km_value":38376237164396.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1043498077024634880,"description":"Unknown IO ID 44"} 
[2026-11-04 07:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201805568001,"power":27800,"unknown_197":206,"unknown_83":41472,"ignition":59,"odometer":null,"unknown_44":-1043498077024634880}} 
[2026-11-04 07:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":229237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:22:46] local.INFO: GPS data processed {"connection_id":229237,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:22:46] local.INFO: Acknowledgment sent {"connection_id":229237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:22:47] local.INFO: TCP Data received {"connection_id":230498,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:22:47] local.INFO: Processing buffer {"connection_id":230498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:22:47] local.INFO: Packet analysis {"connection_id":230498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:22:47] local.INFO: Extracted packet for processing {"connection_id":230498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:47] 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-11-04 07:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:22: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-11-04 07: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-11-04 07:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:22:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:22:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":230498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:22:47] local.INFO: GPS data processed {"connection_id":230498,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:22:47] local.INFO: Acknowledgment sent {"connection_id":230498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:22:49] local.INFO: TCP Data received {"connection_id":229237,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a440b6f8012cf1be000712efd0000d00862e..."} 
[2026-11-04 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a440b6f8012cf1be000712efd0000d00862e..."} 
[2026-11-04 07:22:49] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a440b6f8012cf1be000712efd0000d00862e..."} 
[2026-11-04 07:22:49] local.INFO: Packet analysis {"connection_id":229237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:22:49] local.INFO: Extracted packet for processing {"connection_id":229237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a440"} 
[2026-11-04 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":754040320,"raw_latitude":118681552,"longitude_deg":75.404032,"latitude_deg":11.8681552,"altitude":13,"angle":134,"satellites":46,"speed":44,"hex_longitude":"2cf1be00","hex_latitude":"0712efd0","is_valid_coordinates":true} 
[2026-11-04 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201807360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38376692430929920,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1035053827725117440,"note":"Value kept but may cause issues"} 
[2026-11-04 07:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793757067000,"timestamp_ms":1793757067000,"timestamp_seconds":1793757067,"priority":1,"record_length":96,"hex_timestamp":"000001a1a440b6f8"} 
[2026-11-04 07:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:22: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-11-04 07:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201807360001,"66":27800,"197":206,"83":41472,"24":44,"16":38376692430929920,"44":-1035053827725117440},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,83,24,16,44]} 
[2026-11-04 07:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201807360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:22:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-11-04 07:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38376692430929920,"km_value":38376692430929.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:22:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1035053827725117440,"description":"Unknown IO ID 44"} 
[2026-11-04 07:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201807360001,"power":27800,"unknown_197":206,"unknown_83":41472,"ignition":44,"odometer":null,"unknown_44":-1035053827725117440}} 
[2026-11-04 07:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":229237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:22:49] local.INFO: GPS data processed {"connection_id":229237,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:22:49] local.INFO: Acknowledgment sent {"connection_id":229237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:23:09] local.INFO: TCP Data received {"connection_id":230499,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:23:09] local.INFO: Processing buffer {"connection_id":230499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:23:09] local.INFO: IMEI packet received {"connection_id":230499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":230499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:23:15] local.INFO: TCP Data received {"connection_id":230499,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:23:15] local.INFO: Processing buffer {"connection_id":230499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:23:15] local.INFO: IMEI packet received {"connection_id":230499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":230499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:23:16] local.INFO: TCP Data received {"connection_id":230499,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:23:16] local.INFO: Processing buffer {"connection_id":230499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a43d9248012d3c94c006a39460004601582c..."} 
[2026-11-04 07:23:16] local.INFO: Packet analysis {"connection_id":230499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:23:16] local.INFO: Extracted packet for processing {"connection_id":230499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a43d"} 
[2026-11-04 07:23:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201679360001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:16] 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-11-04 07:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793756861000,"timestamp_ms":1793756861000,"timestamp_seconds":1793756861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a43d9248"} 
[2026-11-04 07:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 07:23:16] 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-11-04 07:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201679360001,"66":25528,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201679360001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201679360001,"power":25528,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":230499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:23:16] local.INFO: GPS data processed {"connection_id":230499,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:23:16] local.INFO: Acknowledgment sent {"connection_id":230499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:23:38] local.INFO: TCP Data received {"connection_id":232347,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:38] local.INFO: Processing buffer {"connection_id":232347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:38] local.INFO: IMEI packet received {"connection_id":232347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":232347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:23:40] local.INFO: TCP Data received {"connection_id":232347,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:40] local.INFO: Processing buffer {"connection_id":232347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:40] local.INFO: IMEI packet received {"connection_id":232347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":232347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:23:44] local.INFO: TCP Data received {"connection_id":232347,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:44] local.INFO: Processing buffer {"connection_id":232347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:23:44] local.INFO: IMEI packet received {"connection_id":232347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":232347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:23:46] local.INFO: TCP Data received {"connection_id":232347,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a441d808012cf27a4007125ba8000d00782f..."} 
[2026-11-04 07:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a441d808012cf27a4007125ba8000d00782f..."} 
[2026-11-04 07:23:46] local.INFO: Processing buffer {"connection_id":232347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a441d808012cf27a4007125ba8000d00782f..."} 
[2026-11-04 07:23:46] local.INFO: Packet analysis {"connection_id":232347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a441"} 
[2026-11-04 07:23:46] local.INFO: Extracted packet for processing {"connection_id":232347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a441"} 
[2026-11-04 07:23:46] local.INFO: GPS Element Parsed {"raw_longitude":754088512,"raw_latitude":118643624,"longitude_deg":75.4088512,"latitude_deg":11.8643624,"altitude":13,"angle":120,"satellites":47,"speed":43,"hex_longitude":"2cf27a40","hex_latitude":"07125ba8","is_valid_coordinates":true} 
[2026-11-04 07:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201825792001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38379694613069824,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-983543906997237760,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793757141000,"timestamp_ms":1793757141000,"timestamp_seconds":1793757141,"priority":1,"record_length":96,"hex_timestamp":"000001a1a441d808"} 
[2026-11-04 07:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201825792001,"66":27800,"21":206,"83":41472,"24":43,"16":38379694613069824,"44":-983543906997237760},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-11-04 07:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201825792001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:23:46] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 07:23:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38379694613069824,"km_value":38379694613069.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:23:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-983543906997237760,"description":"Unknown IO ID 44"} 
[2026-11-04 07:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201825792001,"power":27800,"unknown_21":206,"unknown_83":41472,"ignition":43,"odometer":null,"unknown_44":-983543906997237760}} 
[2026-11-04 07:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":232347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:23:46] local.INFO: GPS data processed {"connection_id":232347,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:23:46] local.INFO: Acknowledgment sent {"connection_id":232347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:23:47] local.INFO: TCP Data received {"connection_id":230499,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:23:47] local.INFO: Processing buffer {"connection_id":230499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:23:47] local.INFO: Packet analysis {"connection_id":230499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:23:47] local.INFO: Extracted packet for processing {"connection_id":230499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201756416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:47] 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-11-04 07:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793757162000,"timestamp_ms":1793757162000,"timestamp_seconds":1793757162,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4422a10"} 
[2026-11-04 07:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 07:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201756416001,"66":25647,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201756416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201756416001,"power":25647,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":230499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:23:47] local.INFO: GPS data processed {"connection_id":230499,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:23:47] local.INFO: Acknowledgment sent {"connection_id":230499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:23:47] local.INFO: TCP Data received {"connection_id":232347,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a441fb30012cf29b40071247f8000d00792d..."} 
[2026-11-04 07:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a441fb30012cf29b40071247f8000d00792d..."} 
[2026-11-04 07:23:47] local.INFO: Processing buffer {"connection_id":232347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a441fb30012cf29b40071247f8000d00792d..."} 
[2026-11-04 07:23:47] local.INFO: Packet analysis {"connection_id":232347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a441"} 
[2026-11-04 07:23:47] local.INFO: Extracted packet for processing {"connection_id":232347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a441"} 
[2026-11-04 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":754096960,"raw_latitude":118638584,"longitude_deg":75.409696,"latitude_deg":11.8638584,"altitude":13,"angle":121,"satellites":45,"speed":39,"hex_longitude":"2cf29b40","hex_latitude":"071247f8","is_valid_coordinates":true} 
[2026-11-04 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201828096001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38380162764505088,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-974395970255345664,"note":"Value kept but may cause issues"} 
[2026-11-04 07:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793757150000,"timestamp_ms":1793757150000,"timestamp_seconds":1793757150,"priority":1,"record_length":96,"hex_timestamp":"000001a1a441fb30"} 
[2026-11-04 07:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:23:47] 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-11-04 07:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201828096001,"66":27821,"21":206,"83":41472,"24":39,"16":38380162764505088,"44":-974395970255345664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-11-04 07:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201828096001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38380162764505088,"km_value":38380162764505.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-974395970255345664,"description":"Unknown IO ID 44"} 
[2026-11-04 07:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201828096001,"power":27821,"unknown_21":206,"unknown_83":41472,"ignition":39,"odometer":null,"unknown_44":-974395970255345664}} 
[2026-11-04 07:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":232347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:23:47] local.INFO: GPS data processed {"connection_id":232347,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:23:47] local.INFO: Acknowledgment sent {"connection_id":232347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:24:09] local.INFO: TCP Data received {"connection_id":228739,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:24:09] local.INFO: Processing buffer {"connection_id":228739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:24:09] local.INFO: IMEI packet received {"connection_id":228739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":228739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:24:15] local.INFO: TCP Data received {"connection_id":228739,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:24:15] local.INFO: Processing buffer {"connection_id":228739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:24:15] local.INFO: IMEI packet received {"connection_id":228739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":228739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:24:16] local.INFO: TCP Data received {"connection_id":228739,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:24:16] local.INFO: Processing buffer {"connection_id":228739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:24:16] local.INFO: Packet analysis {"connection_id":228739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:24:16] local.INFO: Extracted packet for processing {"connection_id":228739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201756416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:16] 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-11-04 07:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793757162000,"timestamp_ms":1793757162000,"timestamp_seconds":1793757162,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4422a10"} 
[2026-11-04 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-11-04 07:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":184,"data_length":795,"current_offset":136} 
[2026-11-04 07:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 07:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201756416001,"66":25647,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201756416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:24:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:24:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201756416001,"power":25647,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":228739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:24:16] local.INFO: GPS data processed {"connection_id":228739,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:24:16] local.INFO: Acknowledgment sent {"connection_id":228739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:24:19] local.INFO: TCP Data received {"connection_id":232347,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4421e58012cf2bac007123380000c007e2d..."} 
[2026-11-04 07:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4421e58012cf2bac007123380000c007e2d..."} 
[2026-11-04 07:24:19] local.INFO: Processing buffer {"connection_id":232347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4421e58012cf2bac007123380000c007e2d..."} 
[2026-11-04 07:24:19] local.INFO: Packet analysis {"connection_id":232347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:24:19] local.INFO: Extracted packet for processing {"connection_id":232347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":754105024,"raw_latitude":118633344,"longitude_deg":75.4105024,"latitude_deg":11.8633344,"altitude":12,"angle":126,"satellites":45,"speed":44,"hex_longitude":"2cf2bac0","hex_latitude":"07123380","is_valid_coordinates":true} 
[2026-11-04 07:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201830400001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38380622326005760,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-965107296025184256,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793757159000,"timestamp_ms":1793757159000,"timestamp_seconds":1793757159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4421e58"} 
[2026-11-04 07:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 07:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:24:19] 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-11-04 07:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201830400001,"66":27821,"21":206,"83":41472,"24":44,"16":38380622326005760,"44":-965107296025184256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,44]} 
[2026-11-04 07:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201830400001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:24:19] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 07:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38380622326005760,"km_value":38380622326005.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-965107296025184256,"description":"Unknown IO ID 44"} 
[2026-11-04 07:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201830400001,"power":27821,"unknown_21":206,"unknown_83":41472,"ignition":44,"odometer":null,"unknown_44":-965107296025184256}} 
[2026-11-04 07:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":232347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:24:19] local.INFO: GPS data processed {"connection_id":232347,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:24:19] local.INFO: Acknowledgment sent {"connection_id":232347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:24:35] local.INFO: TCP Data received {"connection_id":228740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:24:35] local.INFO: Processing buffer {"connection_id":228740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:24:35] local.INFO: IMEI packet received {"connection_id":228740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":228740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:24:40] local.INFO: TCP Data received {"connection_id":228740,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:24:40] local.INFO: Processing buffer {"connection_id":228740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:24:40] local.INFO: IMEI packet received {"connection_id":228740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":228740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:24:41] local.INFO: TCP Data received {"connection_id":228740,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44308b8012cf3990007116c18000b00532c..."} 
[2026-11-04 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44308b8012cf3990007116c18000b00532c..."} 
[2026-11-04 07:24:41] local.INFO: Processing buffer {"connection_id":228740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44308b8012cf3990007116c18000b00532c..."} 
[2026-11-04 07:24:41] local.INFO: Packet analysis {"connection_id":228740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a443"} 
[2026-11-04 07:24:41] local.INFO: Extracted packet for processing {"connection_id":228740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a443"} 
[2026-11-04 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":754161920,"raw_latitude":118582296,"longitude_deg":75.416192,"latitude_deg":11.8582296,"altitude":11,"angle":83,"satellites":44,"speed":24,"hex_longitude":"2cf39900","hex_latitude":"07116c18","is_valid_coordinates":true} 
[2026-11-04 07:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201847552001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38384307407945728,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-895020026838628352,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793757219000,"timestamp_ms":1793757219000,"timestamp_seconds":1793757219,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44308b8"} 
[2026-11-04 07:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:24:41] 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-11-04 07:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201847552001,"66":27745,"35":206,"83":41472,"24":24,"16":38384307407945728,"44":-895020026838628352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-11-04 07:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201847552001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:24:41] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 07:24:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38384307407945728,"km_value":38384307407945.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:24:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-895020026838628352,"description":"Unknown IO ID 44"} 
[2026-11-04 07:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201847552001,"power":27745,"unknown_35":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-895020026838628352}} 
[2026-11-04 07:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":228740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:24:41] local.INFO: GPS data processed {"connection_id":228740,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:24:41] local.INFO: Acknowledgment sent {"connection_id":228740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:24:47] local.INFO: TCP Data received {"connection_id":228739,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:24:47] local.INFO: Processing buffer {"connection_id":228739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:24:47] local.INFO: Packet analysis {"connection_id":228739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:24:47] local.INFO: Extracted packet for processing {"connection_id":228739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:24:47] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201756416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:24:47] 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-11-04 07:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793757162000,"timestamp_ms":1793757162000,"timestamp_seconds":1793757162,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4422a10"} 
[2026-11-04 07:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":184,"data_length":795,"current_offset":136} 
[2026-11-04 07:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201756416001,"66":25647,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201756416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:24:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:24:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201756416001,"power":25647,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":228739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:24:47] local.INFO: GPS data processed {"connection_id":228739,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:24:47] local.INFO: Acknowledgment sent {"connection_id":228739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:25:12] local.INFO: TCP Data received {"connection_id":228740,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4431c40012cf39f4007116ce0000b006527..."} 
[2026-11-04 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4431c40012cf39f4007116ce0000b006527..."} 
[2026-11-04 07:25:12] local.INFO: Processing buffer {"connection_id":228740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4431c40012cf39f4007116ce0000b006527..."} 
[2026-11-04 07:25:12] local.INFO: Packet analysis {"connection_id":228740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a443"} 
[2026-11-04 07:25:12] local.INFO: Extracted packet for processing {"connection_id":228740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a443"} 
[2026-11-04 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":754163520,"raw_latitude":118582496,"longitude_deg":75.416352,"latitude_deg":11.8582496,"altitude":11,"angle":101,"satellites":39,"speed":8,"hex_longitude":"2cf39f40","hex_latitude":"07116ce0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201848064001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38384384717357056,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-893683020699265024,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793757224000,"timestamp_ms":1793757224000,"timestamp_seconds":1793757224,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4431c40"} 
[2026-11-04 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-11-04 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:25: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-11-04 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-11-04 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-11-04 07:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201848064001,"66":27821,"35":206,"83":41472,"24":8,"16":38384384717357056,"44":-893683020699265024},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-11-04 07:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201848064001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:25:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 07:25:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38384384717357056,"km_value":38384384717357.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-893683020699265024,"description":"Unknown IO ID 44"} 
[2026-11-04 07:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201848064001,"power":27821,"unknown_35":206,"unknown_83":41472,"ignition":8,"odometer":null,"unknown_44":-893683020699265024}} 
[2026-11-04 07:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":228740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:25:12] local.INFO: GPS data processed {"connection_id":228740,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:25:12] local.INFO: Acknowledgment sent {"connection_id":228740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:25:15] local.INFO: TCP Data received {"connection_id":229238,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:25:15] local.INFO: Processing buffer {"connection_id":229238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:25:15] local.INFO: IMEI packet received {"connection_id":229238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":229238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:25:20] local.INFO: TCP Data received {"connection_id":229238,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:25:20] local.INFO: Processing buffer {"connection_id":229238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:25:20] local.INFO: IMEI packet received {"connection_id":229238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":229238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:25:21] local.INFO: TCP Data received {"connection_id":229238,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:25:21] local.INFO: Processing buffer {"connection_id":229238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:25:21] local.INFO: Packet analysis {"connection_id":229238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:25:21] local.INFO: Extracted packet for processing {"connection_id":229238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:25: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-11-04 07:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201756416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:21] 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-11-04 07:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793757162000,"timestamp_ms":1793757162000,"timestamp_seconds":1793757162,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4422a10"} 
[2026-11-04 07:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:25: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":184,"data_length":795,"current_offset":136} 
[2026-11-04 07:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:25: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-11-04 07:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201756416001,"66":25647,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201756416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:25:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:25:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201756416001,"power":25647,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":229238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:25:21] local.INFO: GPS data processed {"connection_id":229238,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:25:21] local.INFO: Acknowledgment sent {"connection_id":229238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:25:25] local.INFO: TCP Data received {"connection_id":229238,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:25:25] local.INFO: Processing buffer {"connection_id":229238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4422a10012d3c94c006a39460004601582c..."} 
[2026-11-04 07:25:25] local.INFO: Packet analysis {"connection_id":229238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:25:25] local.INFO: Extracted packet for processing {"connection_id":229238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a442"} 
[2026-11-04 07:25:25] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201756416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:25] 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-11-04 07:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793757162000,"timestamp_ms":1793757162000,"timestamp_seconds":1793757162,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4422a10"} 
[2026-11-04 07:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 07:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201756416001,"66":25647,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201756416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:25:25] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:25:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201756416001,"power":25647,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":229238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:25:26] local.INFO: GPS data processed {"connection_id":229238,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:25:26] local.INFO: Acknowledgment sent {"connection_id":229238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:25:35] local.INFO: TCP Data received {"connection_id":229239,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:25:35] local.INFO: Processing buffer {"connection_id":229239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:25:35] local.INFO: IMEI packet received {"connection_id":229239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":229239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:25:39] local.INFO: TCP Data received {"connection_id":229239,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:25:39] local.INFO: Processing buffer {"connection_id":229239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:25:39] local.INFO: IMEI packet received {"connection_id":229239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":229239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:25:40] local.INFO: TCP Data received {"connection_id":229239,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4432410012cf3a10007116c68000b007328..."} 
[2026-11-04 07:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4432410012cf3a10007116c68000b007328..."} 
[2026-11-04 07:25:40] local.INFO: Processing buffer {"connection_id":229239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4432410012cf3a10007116c68000b007328..."} 
[2026-11-04 07:25:40] local.INFO: Packet analysis {"connection_id":229239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a443"} 
[2026-11-04 07:25:40] local.INFO: Extracted packet for processing {"connection_id":229239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a443"} 
[2026-11-04 07:25:40] local.INFO: GPS Element Parsed {"raw_longitude":754163968,"raw_latitude":118582376,"longitude_deg":75.4163968,"latitude_deg":11.8582376,"altitude":11,"angle":115,"satellites":40,"speed":12,"hex_longitude":"2cf3a100","hex_latitude":"07116c68","is_valid_coordinates":true} 
[2026-11-04 07:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201849344001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38384410487160832,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-891923802094772224,"note":"Value kept but may cause issues"} 
[2026-11-04 07:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793757226000,"timestamp_ms":1793757226000,"timestamp_seconds":1793757226,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4432410"} 
[2026-11-04 07:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 07:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201849344001,"66":27843,"35":206,"83":41472,"24":12,"16":38384410487160832,"44":-891923802094772224},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,83,24,16,44]} 
[2026-11-04 07:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201849344001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:25:40] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 07:25:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38384410487160832,"km_value":38384410487160.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:25:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-891923802094772224,"description":"Unknown IO ID 44"} 
[2026-11-04 07:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201849344001,"power":27843,"unknown_35":206,"unknown_83":41472,"ignition":12,"odometer":null,"unknown_44":-891923802094772224}} 
[2026-11-04 07:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":229239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:25:40] local.INFO: GPS data processed {"connection_id":229239,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:25:40] local.INFO: Acknowledgment sent {"connection_id":229239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:26:09] local.INFO: TCP Data received {"connection_id":229240,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:26:09] local.INFO: Processing buffer {"connection_id":229240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:26:09] local.INFO: IMEI packet received {"connection_id":229240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":229240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:26:14] local.INFO: TCP Data received {"connection_id":229240,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:26:14] local.INFO: Processing buffer {"connection_id":229240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:26:14] local.INFO: IMEI packet received {"connection_id":229240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":229240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:26:15] local.INFO: TCP Data received {"connection_id":229240,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4442db0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4442db0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:26:15] local.INFO: Processing buffer {"connection_id":229240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4442db0012d3c94c006a39460004601582c..."} 
[2026-11-04 07:26:15] local.INFO: Packet analysis {"connection_id":229240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:15] local.INFO: Extracted packet for processing {"connection_id":229240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758944960,"raw_latitude":111383648,"longitude_deg":75.894496,"latitude_deg":11.1383648,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c94c0","hex_latitude":"06a39460","is_valid_coordinates":true} 
[2026-11-04 07:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201833472001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:15] 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-11-04 07:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793757294000,"timestamp_ms":1793757294000,"timestamp_seconds":1793757294,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4442db0"} 
[2026-11-04 07:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 07:26:15] 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-11-04 07: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-11-04 07:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201833472001,"66":25680,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201833472001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201833472001,"power":25680,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":229240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:26:15] local.INFO: GPS data processed {"connection_id":229240,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:26:15] local.INFO: Acknowledgment sent {"connection_id":229240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:26:24] local.INFO: TCP Data received {"connection_id":229239,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4448b70012cf49d4007107b700021008424..."} 
[2026-11-04 07:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4448b70012cf49d4007107b700021008424..."} 
[2026-11-04 07:26:24] local.INFO: Processing buffer {"connection_id":229239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4448b70012cf49d4007107b700021008424..."} 
[2026-11-04 07:26:24] local.INFO: Packet analysis {"connection_id":229239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:24] local.INFO: Extracted packet for processing {"connection_id":229239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:24] local.INFO: GPS Element Parsed {"raw_longitude":754228544,"raw_latitude":118520688,"longitude_deg":75.4228544,"latitude_deg":11.8520688,"altitude":33,"angle":132,"satellites":36,"speed":54,"hex_longitude":"2cf49d40","hex_latitude":"07107b70","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201871616001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38388696864522240,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-827606769930606592,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793757318000,"timestamp_ms":1793757318000,"timestamp_seconds":1793757318,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4448b70"} 
[2026-11-04 07:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201871616001,"66":27767,"215":206,"83":41472,"24":54,"16":38388696864522240,"44":-827606769930606592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-11-04 07:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201871616001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:26:24] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 07:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38388696864522240,"km_value":38388696864522.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:26:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-827606769930606592,"description":"Unknown IO ID 44"} 
[2026-11-04 07:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201871616001,"power":27767,"unknown_215":206,"unknown_83":41472,"ignition":54,"odometer":null,"unknown_44":-827606769930606592}} 
[2026-11-04 07:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":229239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:26:24] local.INFO: GPS data processed {"connection_id":229239,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:26:24] local.INFO: Acknowledgment sent {"connection_id":229239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:26:35] local.INFO: TCP Data received {"connection_id":232348,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:26:35] local.INFO: Processing buffer {"connection_id":232348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:26:35] local.INFO: IMEI packet received {"connection_id":232348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":232348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:26:40] local.INFO: TCP Data received {"connection_id":232348,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:26:40] local.INFO: Processing buffer {"connection_id":232348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:26:40] local.INFO: IMEI packet received {"connection_id":232348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":232348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:26:40] local.INFO: TCP Data received {"connection_id":232348,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a444a6c8012cf4ba00071063880020007f27..."} 
[2026-11-04 07:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a444a6c8012cf4ba00071063880020007f27..."} 
[2026-11-04 07:26:40] local.INFO: Processing buffer {"connection_id":232348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a444a6c8012cf4ba00071063880020007f27..."} 
[2026-11-04 07:26:40] local.INFO: Packet analysis {"connection_id":232348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:40] local.INFO: Extracted packet for processing {"connection_id":232348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:40] local.INFO: GPS Element Parsed {"raw_longitude":754235904,"raw_latitude":118514568,"longitude_deg":75.4235904,"latitude_deg":11.8514568,"altitude":32,"angle":127,"satellites":39,"speed":49,"hex_longitude":"2cf4ba00","hex_latitude":"07106388","is_valid_coordinates":true} 
[2026-11-04 07:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201873408001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38389156426022912,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-820429158026088448,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793757325000,"timestamp_ms":1793757325000,"timestamp_seconds":1793757325,"priority":1,"record_length":96,"hex_timestamp":"000001a1a444a6c8"} 
[2026-11-04 07:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201873408001,"66":27767,"215":206,"83":41472,"24":49,"16":38389156426022912,"44":-820429158026088448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,83,24,16,44]} 
[2026-11-04 07:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201873408001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:26:40] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 07:26:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38389156426022912,"km_value":38389156426022.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-820429158026088448,"description":"Unknown IO ID 44"} 
[2026-11-04 07:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201873408001,"power":27767,"unknown_215":206,"unknown_83":41472,"ignition":49,"odometer":null,"unknown_44":-820429158026088448}} 
[2026-11-04 07:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":232348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:26:40] local.INFO: GPS data processed {"connection_id":232348,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:26:40] local.INFO: Acknowledgment sent {"connection_id":232348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:26:47] local.INFO: TCP Data received {"connection_id":229240,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4448788012d3c934006a39440004601582c..."} 
[2026-11-04 07:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4448788012d3c934006a39440004601582c..."} 
[2026-11-04 07:26:47] local.INFO: Processing buffer {"connection_id":229240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4448788012d3c934006a39440004601582c..."} 
[2026-11-04 07:26:47] local.INFO: Packet analysis {"connection_id":229240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:47] local.INFO: Extracted packet for processing {"connection_id":229240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201867264001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365325073575600128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:26:47] 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-11-04 07:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793757317000,"timestamp_ms":1793757317000,"timestamp_seconds":1793757317,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4448788"} 
[2026-11-04 07:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 07:26: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-11-04 07: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-11-04 07:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201867264001,"66":28430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4365325073575600128},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201867264001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:26:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:26:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365325073575600128,"description":"Unknown IO ID 45"} 
[2026-11-04 07:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201867264001,"power":28430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4365325073575600128}} 
[2026-11-04 07:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":229240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:26:47] local.INFO: GPS data processed {"connection_id":229240,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:26:47] local.INFO: Acknowledgment sent {"connection_id":229240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:27:11] local.INFO: TCP Data received {"connection_id":232348,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a444cdd8012cf4d70007104b90001c00892d..."} 
[2026-11-04 07:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a444cdd8012cf4d70007104b90001c00892d..."} 
[2026-11-04 07:27:11] local.INFO: Processing buffer {"connection_id":232348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a444cdd8012cf4d70007104b90001c00892d..."} 
[2026-11-04 07:27:11] local.INFO: Packet analysis {"connection_id":232348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:27:11] local.INFO: Extracted packet for processing {"connection_id":232348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:27:11] local.INFO: GPS Element Parsed {"raw_longitude":754243328,"raw_latitude":118508432,"longitude_deg":75.4243328,"latitude_deg":11.8508432,"altitude":28,"angle":137,"satellites":45,"speed":24,"hex_longitude":"2cf4d700","hex_latitude":"07104b90","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201875200001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38389620282490880,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-812336752447223808,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793757335000,"timestamp_ms":1793757335000,"timestamp_seconds":1793757335,"priority":1,"record_length":96,"hex_timestamp":"000001a1a444cdd8"} 
[2026-11-04 07:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201875200001,"66":27767,"225":206,"83":41472,"24":24,"16":38389620282490880,"44":-812336752447223808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,83,24,16,44]} 
[2026-11-04 07:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201875200001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-11-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41472,"description":"Unknown IO ID 83"} 
[2026-11-04 07:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38389620282490880,"km_value":38389620282490.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:27:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-812336752447223808,"description":"Unknown IO ID 44"} 
[2026-11-04 07:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201875200001,"power":27767,"unknown_225":206,"unknown_83":41472,"ignition":24,"odometer":null,"unknown_44":-812336752447223808}} 
[2026-11-04 07:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":232348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:27:11] local.INFO: GPS data processed {"connection_id":232348,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:27:11] local.INFO: Acknowledgment sent {"connection_id":232348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:27:14] local.INFO: TCP Data received {"connection_id":232349,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:27:14] local.INFO: Processing buffer {"connection_id":232349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:27:14] local.INFO: IMEI packet received {"connection_id":232349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":232349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:27:20] local.INFO: TCP Data received {"connection_id":232349,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:27:20] local.INFO: Processing buffer {"connection_id":232349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:27:20] local.INFO: IMEI packet received {"connection_id":232349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":232349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:27:21] local.INFO: TCP Data received {"connection_id":232349,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a444d990012d3c934006a39440004601582c..."} 
[2026-11-04 07:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a444d990012d3c934006a39440004601582c..."} 
[2026-11-04 07:27:21] local.INFO: Processing buffer {"connection_id":232349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a444d990012d3c934006a39440004601582c..."} 
[2026-11-04 07:27:21] local.INFO: Packet analysis {"connection_id":232349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:27:21] local.INFO: Extracted packet for processing {"connection_id":232349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a444"} 
[2026-11-04 07:27:21] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201873152001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:21] 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-11-04 07:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793757338000,"timestamp_ms":1793757338000,"timestamp_seconds":1793757338,"priority":1,"record_length":96,"hex_timestamp":"000001a1a444d990"} 
[2026-11-04 07:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 07:27: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-11-04 07: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-11-04 07:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201873152001,"66":28202,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201873152001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:27:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:27:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201873152001,"power":28202,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":232349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:27:22] local.INFO: GPS data processed {"connection_id":232349,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:27:22] local.INFO: Acknowledgment sent {"connection_id":232349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:27:39] local.INFO: TCP Data received {"connection_id":228741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:27:39] local.INFO: Processing buffer {"connection_id":228741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:27:39] local.INFO: IMEI packet received {"connection_id":228741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":228741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:27:45] local.INFO: TCP Data received {"connection_id":228741,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:27:45] local.INFO: Processing buffer {"connection_id":228741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:27:45] local.INFO: IMEI packet received {"connection_id":228741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":228741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:27:45] local.INFO: TCP Data received {"connection_id":228741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a445bc20012cf58880070f9b78000e00b72e..."} 
[2026-11-04 07:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a445bc20012cf58880070f9b78000e00b72e..."} 
[2026-11-04 07:27:45] local.INFO: Processing buffer {"connection_id":228741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a445bc20012cf58880070f9b78000e00b72e..."} 
[2026-11-04 07:27:45] local.INFO: Packet analysis {"connection_id":228741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:27:45] local.INFO: Extracted packet for processing {"connection_id":228741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:27:45] local.INFO: GPS Element Parsed {"raw_longitude":754288768,"raw_latitude":118463352,"longitude_deg":75.4288768,"latitude_deg":11.8463352,"altitude":14,"angle":183,"satellites":46,"speed":60,"hex_longitude":"2cf58880","hex_latitude":"070f9b78","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201892096001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38392905932472320,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754704750976864256,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793757396000,"timestamp_ms":1793757396000,"timestamp_seconds":1793757396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a445bc20"} 
[2026-11-04 07:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201892096001,"66":27821,"255":206,"83":41728,"24":60,"16":38392905932472320,"44":-754704750976864256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-11-04 07:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201892096001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:27:45] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-04 07:27:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38392905932472320,"km_value":38392905932472.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:27:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754704750976864256,"description":"Unknown IO ID 44"} 
[2026-11-04 07:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201892096001,"power":27821,"unknown_255":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-754704750976864256}} 
[2026-11-04 07:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":228741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:27:45] local.INFO: GPS data processed {"connection_id":228741,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:27:45] local.INFO: Acknowledgment sent {"connection_id":228741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:27:53] local.INFO: TCP Data received {"connection_id":232349,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4452b98012d3c934006a39440004601582c..."} 
[2026-11-04 07:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4452b98012d3c934006a39440004601582c..."} 
[2026-11-04 07:27:53] local.INFO: Processing buffer {"connection_id":232349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4452b98012d3c934006a39440004601582c..."} 
[2026-11-04 07:27:53] local.INFO: Packet analysis {"connection_id":232349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:27:53] local.INFO: Extracted packet for processing {"connection_id":232349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:27:53] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201878528001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:27:53] 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-11-04 07:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793757359000,"timestamp_ms":1793757359000,"timestamp_seconds":1793757359,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4452b98"} 
[2026-11-04 07:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 07:27:53] 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-11-04 07:27: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-11-04 07:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":232349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":232349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":232349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201878528001,"66":28452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201878528001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:27:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:27:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201878528001,"power":28452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":232349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:27:53] local.INFO: GPS data processed {"connection_id":232349,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:27:53] local.INFO: Acknowledgment sent {"connection_id":232349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:28:10] local.INFO: TCP Data received {"connection_id":230500,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:28:10] local.INFO: Processing buffer {"connection_id":230500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:28:10] local.INFO: IMEI packet received {"connection_id":230500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":230500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:28:14] local.INFO: TCP Data received {"connection_id":230500,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:28:14] local.INFO: Processing buffer {"connection_id":230500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:28:14] local.INFO: IMEI packet received {"connection_id":230500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":230500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:28:15] local.INFO: TCP Data received {"connection_id":230500,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4457da0012d3c934006a39440004601582c..."} 
[2026-11-04 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4457da0012d3c934006a39440004601582c..."} 
[2026-11-04 07:28:15] local.INFO: Processing buffer {"connection_id":230500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4457da0012d3c934006a39440004601582c..."} 
[2026-11-04 07:28:15] local.INFO: Packet analysis {"connection_id":230500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:15] local.INFO: Extracted packet for processing {"connection_id":230500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201883904001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:15] 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-11-04 07:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793757380000,"timestamp_ms":1793757380000,"timestamp_seconds":1793757380,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4457da0"} 
[2026-11-04 07:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 07:28:15] 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-11-04 07:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201883904001,"66":28398,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201883904001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:28:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:28:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201883904001,"power":28398,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":230500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:28:15] local.INFO: GPS data processed {"connection_id":230500,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:28:15] local.INFO: Acknowledgment sent {"connection_id":230500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:28:17] local.INFO: TCP Data received {"connection_id":228741,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a445cfa8012cf58240070f7eb8000d00c52e..."} 
[2026-11-04 07:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a445cfa8012cf58240070f7eb8000d00c52e..."} 
[2026-11-04 07:28:17] local.INFO: Processing buffer {"connection_id":228741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a445cfa8012cf58240070f7eb8000d00c52e..."} 
[2026-11-04 07:28:17] local.INFO: Packet analysis {"connection_id":228741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:17] local.INFO: Extracted packet for processing {"connection_id":228741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:17] local.INFO: GPS Element Parsed {"raw_longitude":754287168,"raw_latitude":118455992,"longitude_deg":75.4287168,"latitude_deg":11.8455992,"altitude":13,"angle":197,"satellites":46,"speed":60,"hex_longitude":"2cf58240","hex_latitude":"070f7eb8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201893376001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38393275299659776,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-754212169769584640,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793757401000,"timestamp_ms":1793757401000,"timestamp_seconds":1793757401,"priority":1,"record_length":96,"hex_timestamp":"000001a1a445cfa8"} 
[2026-11-04 07:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":173,"data_length":795,"current_offset":136} 
[2026-11-04 07:28: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-11-04 07: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-11-04 07:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:28:17] 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-11-04 07:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201893376001,"66":27691,"255":206,"83":41728,"24":60,"16":38393275299659776,"44":-754212169769584640},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-11-04 07:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201893376001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:28:17] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-04 07:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38393275299659776,"km_value":38393275299659.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-754212169769584640,"description":"Unknown IO ID 44"} 
[2026-11-04 07:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201893376001,"power":27691,"unknown_255":206,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-754212169769584640}} 
[2026-11-04 07:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":228741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:28:17] local.INFO: GPS data processed {"connection_id":228741,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:28:17] local.INFO: Acknowledgment sent {"connection_id":228741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:28:34] local.INFO: TCP Data received {"connection_id":232350,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:28:34] local.INFO: Processing buffer {"connection_id":232350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:28:34] local.INFO: IMEI packet received {"connection_id":232350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":232350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:28:39] local.INFO: TCP Data received {"connection_id":232350,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:28:39] local.INFO: Processing buffer {"connection_id":232350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:28:39] local.INFO: IMEI packet received {"connection_id":232350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":232350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:28:40] local.INFO: TCP Data received {"connection_id":232350,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a445e718012cf57740070f5d50000b00c32e..."} 
[2026-11-04 07:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a445e718012cf57740070f5d50000b00c32e..."} 
[2026-11-04 07:28:40] local.INFO: Processing buffer {"connection_id":232350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a445e718012cf57740070f5d50000b00c32e..."} 
[2026-11-04 07:28:40] local.INFO: Packet analysis {"connection_id":232350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:40] local.INFO: Extracted packet for processing {"connection_id":232350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:40] local.INFO: GPS Element Parsed {"raw_longitude":754284352,"raw_latitude":118447440,"longitude_deg":75.4284352,"latitude_deg":11.844744,"altitude":11,"angle":195,"satellites":46,"speed":58,"hex_longitude":"2cf57740","hex_latitude":"070f5d50","is_valid_coordinates":true} 
[2026-11-04 07:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201894656001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38393709091356672,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755971388375910400,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793757407000,"timestamp_ms":1793757407000,"timestamp_seconds":1793757407,"priority":1,"record_length":96,"hex_timestamp":"000001a1a445e718"} 
[2026-11-04 07:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 07:28:40] 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-11-04 07:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201894656001,"66":27800,"255":206,"83":41728,"24":58,"16":38393709091356672,"44":-755971388375910400},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,44]} 
[2026-11-04 07:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201894656001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:28:40] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-04 07:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38393709091356672,"km_value":38393709091356.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755971388375910400,"description":"Unknown IO ID 44"} 
[2026-11-04 07:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201894656001,"power":27800,"unknown_255":206,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-755971388375910400}} 
[2026-11-04 07:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":232350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:28:40] local.INFO: GPS data processed {"connection_id":232350,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:28:40] local.INFO: Acknowledgment sent {"connection_id":232350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:28:46] local.INFO: TCP Data received {"connection_id":230500,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a445cfa8012d3c934006a39440004601582c..."} 
[2026-11-04 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a445cfa8012d3c934006a39440004601582c..."} 
[2026-11-04 07:28:46] local.INFO: Processing buffer {"connection_id":230500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a445cfa8012d3c934006a39440004601582c..."} 
[2026-11-04 07:28:46] local.INFO: Packet analysis {"connection_id":230500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:46] local.INFO: Extracted packet for processing {"connection_id":230500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a445"} 
[2026-11-04 07:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201889280001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:28:46] 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-11-04 07:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793757401000,"timestamp_ms":1793757401000,"timestamp_seconds":1793757401,"priority":1,"record_length":96,"hex_timestamp":"000001a1a445cfa8"} 
[2026-11-04 07:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 07:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201889280001,"66":28256,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201889280001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:28:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:28:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201889280001,"power":28256,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":230500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:28:46] local.INFO: GPS data processed {"connection_id":230500,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:28:46] local.INFO: Acknowledgment sent {"connection_id":230500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:29:10] local.INFO: TCP Data received {"connection_id":229241,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:29:10] local.INFO: Processing buffer {"connection_id":229241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:29:10] local.INFO: IMEI packet received {"connection_id":229241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":229241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:29:11] local.INFO: TCP Data received {"connection_id":232350,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a446d948012cf5c480070e1bf80007009e2d..."} 
[2026-11-04 07:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a446d948012cf5c480070e1bf80007009e2d..."} 
[2026-11-04 07:29:11] local.INFO: Processing buffer {"connection_id":232350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a446d948012cf5c480070e1bf80007009e2d..."} 
[2026-11-04 07:29:11] local.INFO: Packet analysis {"connection_id":232350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:29:11] local.INFO: Extracted packet for processing {"connection_id":232350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:29:11] local.INFO: GPS Element Parsed {"raw_longitude":754304128,"raw_latitude":118365176,"longitude_deg":75.4304128,"latitude_deg":11.8365176,"altitude":7,"angle":158,"satellites":45,"speed":21,"hex_longitude":"2cf5c480","hex_latitude":"070e1bf8","is_valid_coordinates":true} 
[2026-11-04 07:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201911552001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38397883799568384,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-737886621145225216,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793757469000,"timestamp_ms":1793757469000,"timestamp_seconds":1793757469,"priority":1,"record_length":96,"hex_timestamp":"000001a1a446d948"} 
[2026-11-04 07:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 07:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201911552001,"66":27908,"39":206,"83":41728,"24":21,"16":38397883799568384,"44":-737886621145225216},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-11-04 07:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201911552001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:29:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-11-04 07:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38397883799568384,"km_value":38397883799568.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-737886621145225216,"description":"Unknown IO ID 44"} 
[2026-11-04 07:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201911552001,"power":27908,"unknown_39":206,"unknown_83":41728,"ignition":21,"odometer":null,"unknown_44":-737886621145225216}} 
[2026-11-04 07:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":232350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:29:11] local.INFO: GPS data processed {"connection_id":232350,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:29:11] local.INFO: Acknowledgment sent {"connection_id":232350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:29:14] local.INFO: TCP Data received {"connection_id":229241,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:29:14] local.INFO: Processing buffer {"connection_id":229241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:29:14] local.INFO: IMEI packet received {"connection_id":229241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":229241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:29:15] local.INFO: TCP Data received {"connection_id":229241,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44621b0012d3c934006a39440004601582c..."} 
[2026-11-04 07:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44621b0012d3c934006a39440004601582c..."} 
[2026-11-04 07:29:15] local.INFO: Processing buffer {"connection_id":229241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44621b0012d3c934006a39440004601582c..."} 
[2026-11-04 07:29:15] local.INFO: Packet analysis {"connection_id":229241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:29:15] local.INFO: Extracted packet for processing {"connection_id":229241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201894656001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:15] 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-11-04 07:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793757422000,"timestamp_ms":1793757422000,"timestamp_seconds":1793757422,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44621b0"} 
[2026-11-04 07:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 07:29:15] 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-11-04 07:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201894656001,"66":28452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201894656001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201894656001,"power":28452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":229241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:29:15] local.INFO: GPS data processed {"connection_id":229241,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:29:15] local.INFO: Acknowledgment sent {"connection_id":229241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:29:47] local.INFO: TCP Data received {"connection_id":229241,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44673b8012d3c934006a39440004601582c..."} 
[2026-11-04 07:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44673b8012d3c934006a39440004601582c..."} 
[2026-11-04 07:29:47] local.INFO: Processing buffer {"connection_id":229241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44673b8012d3c934006a39440004601582c..."} 
[2026-11-04 07:29:47] local.INFO: Packet analysis {"connection_id":229241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:29:47] local.INFO: Extracted packet for processing {"connection_id":229241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201900032001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:47] 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-11-04 07:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793757443000,"timestamp_ms":1793757443000,"timestamp_seconds":1793757443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44673b8"} 
[2026-11-04 07:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 07:29: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-11-04 07:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229241,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201900032001,"66":28485,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201900032001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201900032001,"power":28485,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":229241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:29:47] local.INFO: GPS data processed {"connection_id":229241,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:29:47] local.INFO: Acknowledgment sent {"connection_id":229241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:29:48] local.INFO: TCP Data received {"connection_id":232351,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:29:48] local.INFO: Processing buffer {"connection_id":232351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:29:48] local.INFO: IMEI packet received {"connection_id":232351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":232351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:29:49] local.INFO: TCP Data received {"connection_id":232351,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:29:49] local.INFO: Processing buffer {"connection_id":232351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:29:49] local.INFO: IMEI packet received {"connection_id":232351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":232351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:29:50] local.INFO: TCP Data received {"connection_id":232351,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4472b50012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4472b50012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:29:50] local.INFO: Processing buffer {"connection_id":232351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4472b50012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:29:50] local.INFO: Packet analysis {"connection_id":232351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:29:50] local.INFO: Extracted packet for processing {"connection_id":232351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:29:50] local.INFO: GPS Element Parsed {"raw_longitude":754304576,"raw_latitude":118363928,"longitude_deg":75.4304576,"latitude_deg":11.8363928,"altitude":7,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2cf5c640","hex_latitude":"070e1718","is_valid_coordinates":true} 
[2026-11-04 07:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201912064001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38397956814012416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-737323671192078336,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793757490000,"timestamp_ms":1793757490000,"timestamp_seconds":1793757490,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4472b50"} 
[2026-11-04 07:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 07:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201912064001,"66":27767,"112":206,"83":41728,"24":0,"16":38397956814012416,"44":-737323671192078336},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-11-04 07:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201912064001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:29:50] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-11-04 07:29:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38397956814012416,"km_value":38397956814012.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-737323671192078336,"description":"Unknown IO ID 44"} 
[2026-11-04 07:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201912064001,"power":27767,"unknown_112":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-737323671192078336}} 
[2026-11-04 07:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":232351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:29:50] local.INFO: GPS data processed {"connection_id":232351,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:29:50] local.INFO: Acknowledgment sent {"connection_id":232351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:29:51] local.INFO: TCP Data received {"connection_id":232351,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4477d58012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4477d58012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:29:51] local.INFO: Processing buffer {"connection_id":232351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4477d58012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:29:51] local.INFO: Packet analysis {"connection_id":232351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:29:51] local.INFO: Extracted packet for processing {"connection_id":232351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:29:51] local.INFO: GPS Element Parsed {"raw_longitude":754304576,"raw_latitude":118363928,"longitude_deg":75.4304576,"latitude_deg":11.8363928,"altitude":7,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2cf5c640","hex_latitude":"070e1718","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201917440001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38397956814012416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-736831089983154176,"note":"Value kept but may cause issues"} 
[2026-11-04 07:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793757511000,"timestamp_ms":1793757511000,"timestamp_seconds":1793757511,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4477d58"} 
[2026-11-04 07:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201917440001,"66":27691,"112":206,"83":41728,"24":0,"16":38397956814012416,"44":-736831089983154176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-11-04 07:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201917440001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:29:51] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-11-04 07:29:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38397956814012416,"km_value":38397956814012.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-736831089983154176,"description":"Unknown IO ID 44"} 
[2026-11-04 07:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201917440001,"power":27691,"unknown_112":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-736831089983154176}} 
[2026-11-04 07:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":232351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:29:51] local.INFO: GPS data processed {"connection_id":232351,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:29:51] local.INFO: Acknowledgment sent {"connection_id":232351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:30:09] local.INFO: TCP Data received {"connection_id":228742,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:30:09] local.INFO: Processing buffer {"connection_id":228742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:30:09] local.INFO: IMEI packet received {"connection_id":228742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":228742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:30:14] local.INFO: TCP Data received {"connection_id":228742,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:30:14] local.INFO: Processing buffer {"connection_id":228742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:30:14] local.INFO: IMEI packet received {"connection_id":228742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":228742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:30:15] local.INFO: TCP Data received {"connection_id":228742,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a446c5c0012d3c934006a39440004601582c..."} 
[2026-11-04 07:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a446c5c0012d3c934006a39440004601582c..."} 
[2026-11-04 07:30:15] local.INFO: Processing buffer {"connection_id":228742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a446c5c0012d3c934006a39440004601582c..."} 
[2026-11-04 07:30:15] local.INFO: Packet analysis {"connection_id":228742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:30:15] local.INFO: Extracted packet for processing {"connection_id":228742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a446"} 
[2026-11-04 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201905408001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:15] 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-11-04 07:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793757464000,"timestamp_ms":1793757464000,"timestamp_seconds":1793757464,"priority":1,"record_length":96,"hex_timestamp":"000001a1a446c5c0"} 
[2026-11-04 07:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 07:30:15] 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-11-04 07:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201905408001,"66":28354,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201905408001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:30:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:30:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201905408001,"power":28354,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":228742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:30:15] local.INFO: GPS data processed {"connection_id":228742,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:30:15] local.INFO: Acknowledgment sent {"connection_id":228742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:30:40] local.INFO: TCP Data received {"connection_id":232352,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:30:40] local.INFO: Processing buffer {"connection_id":232352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:30:40] local.INFO: IMEI packet received {"connection_id":232352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":232352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:30:40] local.INFO: TCP Data received {"connection_id":232352,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:30:40] local.INFO: Processing buffer {"connection_id":232352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:30:40] local.INFO: IMEI packet received {"connection_id":232352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":232352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:30:41] local.INFO: TCP Data received {"connection_id":232352,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a447cf60012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a447cf60012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:30:41] local.INFO: Processing buffer {"connection_id":232352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a447cf60012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:30:41] local.INFO: Packet analysis {"connection_id":232352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:30:41] local.INFO: Extracted packet for processing {"connection_id":232352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:30:41] local.INFO: GPS Element Parsed {"raw_longitude":754304576,"raw_latitude":118363928,"longitude_deg":75.4304576,"latitude_deg":11.8363928,"altitude":7,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2cf5c640","hex_latitude":"070e1718","is_valid_coordinates":true} 
[2026-11-04 07:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38397956814012416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-736831089983154176,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793757532000,"timestamp_ms":1793757532000,"timestamp_seconds":1793757532,"priority":1,"record_length":96,"hex_timestamp":"000001a1a447cf60"} 
[2026-11-04 07:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 07:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201922816001,"66":27821,"112":206,"83":41728,"24":0,"16":38397956814012416,"44":-736831089983154176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-11-04 07:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:30:41] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-11-04 07:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38397956814012416,"km_value":38397956814012.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:30:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-736831089983154176,"description":"Unknown IO ID 44"} 
[2026-11-04 07:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201922816001,"power":27821,"unknown_112":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-736831089983154176}} 
[2026-11-04 07:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":232352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:30:41] local.INFO: GPS data processed {"connection_id":232352,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:30:41] local.INFO: Acknowledgment sent {"connection_id":232352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:30:42] local.INFO: TCP Data received {"connection_id":232352,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4482168012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4482168012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:30:42] local.INFO: Processing buffer {"connection_id":232352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4482168012cf5c640070e17180007009f2f..."} 
[2026-11-04 07:30:42] local.INFO: Packet analysis {"connection_id":232352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:30:42] local.INFO: Extracted packet for processing {"connection_id":232352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:30:42] local.INFO: GPS Element Parsed {"raw_longitude":754304576,"raw_latitude":118363928,"longitude_deg":75.4304576,"latitude_deg":11.8363928,"altitude":7,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2cf5c640","hex_latitude":"070e1718","is_valid_coordinates":true} 
[2026-11-04 07:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201928192001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38397956814012416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-736831089983154176,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793757553000,"timestamp_ms":1793757553000,"timestamp_seconds":1793757553,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4482168"} 
[2026-11-04 07:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 07:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201928192001,"66":27745,"112":206,"83":41728,"24":0,"16":38397956814012416,"44":-736831089983154176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,83,24,16,44]} 
[2026-11-04 07:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201928192001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:30:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-11-04 07:30:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38397956814012416,"km_value":38397956814012.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:30:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-736831089983154176,"description":"Unknown IO ID 44"} 
[2026-11-04 07:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201928192001,"power":27745,"unknown_112":206,"unknown_83":41728,"ignition":0,"odometer":null,"unknown_44":-736831089983154176}} 
[2026-11-04 07:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":232352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:30:42] local.INFO: GPS data processed {"connection_id":232352,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:30:42] local.INFO: Acknowledgment sent {"connection_id":232352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:30:46] local.INFO: TCP Data received {"connection_id":228742,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44717c8012d3c934006a39440004601582c..."} 
[2026-11-04 07:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44717c8012d3c934006a39440004601582c..."} 
[2026-11-04 07:30:46] local.INFO: Processing buffer {"connection_id":228742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44717c8012d3c934006a39440004601582c..."} 
[2026-11-04 07:30:46] local.INFO: Packet analysis {"connection_id":228742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:30:46] local.INFO: Extracted packet for processing {"connection_id":228742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201910784001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:30:46] 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-11-04 07:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793757485000,"timestamp_ms":1793757485000,"timestamp_seconds":1793757485,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44717c8"} 
[2026-11-04 07:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:30: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-11-04 07:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201910784001,"66":28452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201910784001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:30:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:30:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201910784001,"power":28452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":228742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:30:46] local.INFO: GPS data processed {"connection_id":228742,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:30:46] local.INFO: Acknowledgment sent {"connection_id":228742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:31:09] local.INFO: TCP Data received {"connection_id":232353,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:09] local.INFO: Processing buffer {"connection_id":232353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:09] local.INFO: IMEI packet received {"connection_id":232353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":232353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:31:10] local.INFO: TCP Data received {"connection_id":232353,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:10] local.INFO: Processing buffer {"connection_id":232353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:10] local.INFO: IMEI packet received {"connection_id":232353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":232353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:31:13] local.INFO: TCP Data received {"connection_id":232352,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44834f0012cf5c680070e1508000800b22e..."} 
[2026-11-04 07:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44834f0012cf5c680070e1508000800b22e..."} 
[2026-11-04 07:31:13] local.INFO: Processing buffer {"connection_id":232352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44834f0012cf5c680070e1508000800b22e..."} 
[2026-11-04 07:31:13] local.INFO: Packet analysis {"connection_id":232352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:31:13] local.INFO: Extracted packet for processing {"connection_id":232352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":754304640,"raw_latitude":118363400,"longitude_deg":75.430464,"latitude_deg":11.83634,"altitude":8,"angle":178,"satellites":46,"speed":13,"hex_longitude":"2cf5c680","hex_latitude":"070e1508","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201933568001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38397982583816192,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-736831089983154176,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793757558000,"timestamp_ms":1793757558000,"timestamp_seconds":1793757558,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44834f0"} 
[2026-11-04 07:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201933568001,"66":27843,"39":206,"83":41728,"24":13,"16":38397982583816192,"44":-736831089983154176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,83,24,16,44]} 
[2026-11-04 07:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201933568001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:31:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-11-04 07:31:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38397982583816192,"km_value":38397982583816.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-736831089983154176,"description":"Unknown IO ID 44"} 
[2026-11-04 07:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201933568001,"power":27843,"unknown_39":206,"unknown_83":41728,"ignition":13,"odometer":null,"unknown_44":-736831089983154176}} 
[2026-11-04 07:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":232352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:31:13] local.INFO: GPS data processed {"connection_id":232352,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:31:13] local.INFO: Acknowledgment sent {"connection_id":232352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:31:14] local.INFO: TCP Data received {"connection_id":232353,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:14] local.INFO: Processing buffer {"connection_id":232353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:31:14] local.INFO: IMEI packet received {"connection_id":232353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":232353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:31:15] local.INFO: TCP Data received {"connection_id":232353,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44769d0012d3c934006a39440004601582c..."} 
[2026-11-04 07:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44769d0012d3c934006a39440004601582c..."} 
[2026-11-04 07:31:15] local.INFO: Processing buffer {"connection_id":232353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44769d0012d3c934006a39440004601582c..."} 
[2026-11-04 07:31:15] local.INFO: Packet analysis {"connection_id":232353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:31:15] local.INFO: Extracted packet for processing {"connection_id":232353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201916160001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:15] 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-11-04 07:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793757506000,"timestamp_ms":1793757506000,"timestamp_seconds":1793757506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44769d0"} 
[2026-11-04 07:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 07:31:15] 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-11-04 07:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201916160001,"66":28593,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201916160001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:31:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:31:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201916160001,"power":28593,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":232353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:31:15] local.INFO: GPS data processed {"connection_id":232353,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:31:15] local.INFO: Acknowledgment sent {"connection_id":232353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:31:34] local.INFO: TCP Data received {"connection_id":230501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:31:34] local.INFO: Processing buffer {"connection_id":230501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:31:34] local.INFO: IMEI packet received {"connection_id":230501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":230501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:31:37] local.INFO: TCP Data received {"connection_id":230501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:31:37] local.INFO: Processing buffer {"connection_id":230501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:31:37] local.INFO: IMEI packet received {"connection_id":230501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":230501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:31:38] local.INFO: TCP Data received {"connection_id":230501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44965a0012cf62000070cb730000700b330..."} 
[2026-11-04 07:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44965a0012cf62000070cb730000700b330..."} 
[2026-11-04 07:31:38] local.INFO: Processing buffer {"connection_id":230501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44965a0012cf62000070cb730000700b330..."} 
[2026-11-04 07:31:38] local.INFO: Packet analysis {"connection_id":230501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:31:38] local.INFO: Extracted packet for processing {"connection_id":230501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":754327552,"raw_latitude":118273840,"longitude_deg":75.4327552,"latitude_deg":11.827384,"altitude":7,"angle":179,"satellites":48,"speed":59,"hex_longitude":"2cf62000","hex_latitude":"070cb730","is_valid_coordinates":true} 
[2026-11-04 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201953280001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38402505184378880,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711427973355784192,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793757636000,"timestamp_ms":1793757636000,"timestamp_seconds":1793757636,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44965a0"} 
[2026-11-04 07:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":230501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":230501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":230501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:31:38] 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-11-04 07:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201953280001,"66":27821,"177":206,"83":41728,"24":59,"16":38402505184378880,"44":-711427973355784192},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-11-04 07:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201953280001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:31:38] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 07:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38402505184378880,"km_value":38402505184378.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:31:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711427973355784192,"description":"Unknown IO ID 44"} 
[2026-11-04 07:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201953280001,"power":27821,"unknown_177":206,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-711427973355784192}} 
[2026-11-04 07:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":230501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:31:38] local.INFO: GPS data processed {"connection_id":230501,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:31:38] local.INFO: Acknowledgment sent {"connection_id":230501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:31:47] local.INFO: TCP Data received {"connection_id":232353,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a447bbd8012d3c934006a39440004601582c..."} 
[2026-11-04 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a447bbd8012d3c934006a39440004601582c..."} 
[2026-11-04 07:31:47] local.INFO: Processing buffer {"connection_id":232353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a447bbd8012d3c934006a39440004601582c..."} 
[2026-11-04 07:31:47] local.INFO: Packet analysis {"connection_id":232353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:31:47] local.INFO: Extracted packet for processing {"connection_id":232353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a447"} 
[2026-11-04 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201921536001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:31:47] 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-11-04 07:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793757527000,"timestamp_ms":1793757527000,"timestamp_seconds":1793757527,"priority":1,"record_length":96,"hex_timestamp":"000001a1a447bbd8"} 
[2026-11-04 07:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-11-04 07:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2346,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201921536001,"66":28495,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201921536001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:31:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:31:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201921536001,"power":28495,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":232353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:31:47] local.INFO: GPS data processed {"connection_id":232353,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:31:47] local.INFO: Acknowledgment sent {"connection_id":232353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:32:13] local.INFO: TCP Data received {"connection_id":232354,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:13] local.INFO: Processing buffer {"connection_id":232354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:13] local.INFO: IMEI packet received {"connection_id":232354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":232354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:32:14] local.INFO: TCP Data received {"connection_id":232354,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:14] local.INFO: Processing buffer {"connection_id":232354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:14] local.INFO: IMEI packet received {"connection_id":232354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":232354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:32:20] local.INFO: TCP Data received {"connection_id":232354,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:20] local.INFO: Processing buffer {"connection_id":232354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:32:20] local.INFO: IMEI packet received {"connection_id":232354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":232354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:32:21] local.INFO: TCP Data received {"connection_id":232354,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4480de0012d3c934006a39440004601582c..."} 
[2026-11-04 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4480de0012d3c934006a39440004601582c..."} 
[2026-11-04 07:32:21] local.INFO: Processing buffer {"connection_id":232354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4480de0012d3c934006a39440004601582c..."} 
[2026-11-04 07:32:21] local.INFO: Packet analysis {"connection_id":232354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:32:21] local.INFO: Extracted packet for processing {"connection_id":232354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201926912001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:21] 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-11-04 07:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793757548000,"timestamp_ms":1793757548000,"timestamp_seconds":1793757548,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4480de0"} 
[2026-11-04 07:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 07:32:21] 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-11-04 07: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-11-04 07:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201926912001,"66":28376,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201926912001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201926912001,"power":28376,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":232354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:32:21] local.INFO: GPS data processed {"connection_id":232354,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:32:21] local.INFO: Acknowledgment sent {"connection_id":232354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:32:21] local.INFO: TCP Data received {"connection_id":230501,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44980f8012cf62040070c90c8000700b42e..."} 
[2026-11-04 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44980f8012cf62040070c90c8000700b42e..."} 
[2026-11-04 07:32:21] local.INFO: Processing buffer {"connection_id":230501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44980f8012cf62040070c90c8000700b42e..."} 
[2026-11-04 07:32:21] local.INFO: Packet analysis {"connection_id":230501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:32:21] local.INFO: Extracted packet for processing {"connection_id":230501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":754327616,"raw_latitude":118264008,"longitude_deg":75.4327616,"latitude_deg":11.8264008,"altitude":7,"angle":180,"satellites":46,"speed":52,"hex_longitude":"2cf62040","hex_latitude":"070c90c8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201954816001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38402981925748736,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711568710846435328,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793757643000,"timestamp_ms":1793757643000,"timestamp_seconds":1793757643,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44980f8"} 
[2026-11-04 07:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 07:32: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-11-04 07: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-11-04 07:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:32:21] 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-11-04 07:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201954816001,"66":27865,"177":206,"83":41728,"24":52,"16":38402981925748736,"44":-711568710846435328},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-11-04 07:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201954816001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38402981925748736,"km_value":38402981925748.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711568710846435328,"description":"Unknown IO ID 44"} 
[2026-11-04 07:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201954816001,"power":27865,"unknown_177":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-711568710846435328}} 
[2026-11-04 07:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":230501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:32:21] local.INFO: GPS data processed {"connection_id":230501,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:32:21] local.INFO: Acknowledgment sent {"connection_id":230501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:32:34] local.INFO: TCP Data received {"connection_id":230502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:34] local.INFO: Processing buffer {"connection_id":230502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:34] local.INFO: IMEI packet received {"connection_id":230502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":230502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:32:37] local.INFO: TCP Data received {"connection_id":230502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:37] local.INFO: Processing buffer {"connection_id":230502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:37] local.INFO: IMEI packet received {"connection_id":230502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":230502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:32:40] local.INFO: TCP Data received {"connection_id":230502,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:40] local.INFO: Processing buffer {"connection_id":230502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:32:40] local.INFO: IMEI packet received {"connection_id":230502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":230502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:32:41] local.INFO: TCP Data received {"connection_id":230502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a449a038012cf62000070c6a88000700b32f..."} 
[2026-11-04 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a449a038012cf62000070c6a88000700b32f..."} 
[2026-11-04 07:32:41] local.INFO: Processing buffer {"connection_id":230502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a449a038012cf62000070c6a88000700b32f..."} 
[2026-11-04 07:32:41] local.INFO: Packet analysis {"connection_id":230502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:32:41] local.INFO: Extracted packet for processing {"connection_id":230502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":754327552,"raw_latitude":118254216,"longitude_deg":75.4327552,"latitude_deg":11.8254216,"altitude":7,"angle":179,"satellites":47,"speed":45,"hex_longitude":"2cf62000","hex_latitude":"070c6a88","is_valid_coordinates":true} 
[2026-11-04 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201956608001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38403458667118592,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711498342104774656,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793757651000,"timestamp_ms":1793757651000,"timestamp_seconds":1793757651,"priority":1,"record_length":96,"hex_timestamp":"000001a1a449a038"} 
[2026-11-04 07:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201956608001,"66":27908,"177":206,"83":41728,"24":45,"16":38403458667118592,"44":-711498342104774656},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-11-04 07:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201956608001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:32:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 07:32:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38403458667118592,"km_value":38403458667118.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:32:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711498342104774656,"description":"Unknown IO ID 44"} 
[2026-11-04 07:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201956608001,"power":27908,"unknown_177":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-711498342104774656}} 
[2026-11-04 07:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":230502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:32:41] local.INFO: GPS data processed {"connection_id":230502,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:32:41] local.INFO: Acknowledgment sent {"connection_id":230502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:32:53] local.INFO: TCP Data received {"connection_id":232354,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4485fe8012d3c934006a39440004601582c..."} 
[2026-11-04 07:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4485fe8012d3c934006a39440004601582c..."} 
[2026-11-04 07:32:53] local.INFO: Processing buffer {"connection_id":232354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4485fe8012d3c934006a39440004601582c..."} 
[2026-11-04 07:32:53] local.INFO: Packet analysis {"connection_id":232354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:32:53] local.INFO: Extracted packet for processing {"connection_id":232354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:32:53] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201932288001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:32:53] 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-11-04 07:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793757569000,"timestamp_ms":1793757569000,"timestamp_seconds":1793757569,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4485fe8"} 
[2026-11-04 07:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 07:32:53] 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-11-04 07:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":232354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":232354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":232354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201932288001,"66":28430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201932288001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:32:53] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:32:53] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201932288001,"power":28430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":232354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:32:53] local.INFO: GPS data processed {"connection_id":232354,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:32:53] local.INFO: Acknowledgment sent {"connection_id":232354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:33:10] local.INFO: TCP Data received {"connection_id":232355,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:10] local.INFO: Processing buffer {"connection_id":232355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:10] local.INFO: IMEI packet received {"connection_id":232355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":232355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:33:10] local.INFO: TCP Data received {"connection_id":232355,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:10] local.INFO: Processing buffer {"connection_id":232355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:10] local.INFO: IMEI packet received {"connection_id":232355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":232355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:33:13] local.INFO: TCP Data received {"connection_id":230502,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a449c360012cf62340070c4610000700a92e..."} 
[2026-11-04 07:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a449c360012cf62340070c4610000700a92e..."} 
[2026-11-04 07:33:13] local.INFO: Processing buffer {"connection_id":230502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a449c360012cf62340070c4610000700a92e..."} 
[2026-11-04 07:33:13] local.INFO: Packet analysis {"connection_id":230502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:33:13] local.INFO: Extracted packet for processing {"connection_id":230502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:33:13] local.INFO: GPS Element Parsed {"raw_longitude":754328384,"raw_latitude":118244880,"longitude_deg":75.4328384,"latitude_deg":11.824488,"altitude":7,"angle":169,"satellites":46,"speed":37,"hex_longitude":"2cf62340","hex_latitude":"070c4610","is_valid_coordinates":true} 
[2026-11-04 07:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201958656001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38403913933651968,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711568710851459072,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793757660000,"timestamp_ms":1793757660000,"timestamp_seconds":1793757660,"priority":1,"record_length":96,"hex_timestamp":"000001a1a449c360"} 
[2026-11-04 07:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 07:33:13] 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-11-04 07:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201958656001,"66":27800,"177":206,"83":41728,"24":37,"16":38403913933651968,"44":-711568710851459072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,44]} 
[2026-11-04 07:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201958656001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:33:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 07:33:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38403913933651968,"km_value":38403913933651.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:33:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-711568710851459072,"description":"Unknown IO ID 44"} 
[2026-11-04 07:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201958656001,"power":27800,"unknown_177":206,"unknown_83":41728,"ignition":37,"odometer":null,"unknown_44":-711568710851459072}} 
[2026-11-04 07:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":230502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:33:13] local.INFO: GPS data processed {"connection_id":230502,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:33:13] local.INFO: Acknowledgment sent {"connection_id":230502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:33:14] local.INFO: TCP Data received {"connection_id":232355,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:14] local.INFO: Processing buffer {"connection_id":232355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:33:14] local.INFO: IMEI packet received {"connection_id":232355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":232355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:33:15] local.INFO: TCP Data received {"connection_id":232355,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a448b1f0012d3c934006a39440004601582c..."} 
[2026-11-04 07:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a448b1f0012d3c934006a39440004601582c..."} 
[2026-11-04 07:33:15] local.INFO: Processing buffer {"connection_id":232355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a448b1f0012d3c934006a39440004601582c..."} 
[2026-11-04 07:33:15] local.INFO: Packet analysis {"connection_id":232355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:33:15] local.INFO: Extracted packet for processing {"connection_id":232355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a448"} 
[2026-11-04 07:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201937664001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:15] 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-11-04 07:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793757590000,"timestamp_ms":1793757590000,"timestamp_seconds":1793757590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a448b1f0"} 
[2026-11-04 07:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 07:33:15] 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-11-04 07: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-11-04 07:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201937664001,"66":28430,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201937664001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:33:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:33:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201937664001,"power":28430,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":232355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:33:15] local.INFO: GPS data processed {"connection_id":232355,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:33:15] local.INFO: Acknowledgment sent {"connection_id":232355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:33:30] local.INFO: TCP Data received {"connection_id":232355,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44903f8012d3c934006a39440004601582c..."} 
[2026-11-04 07:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44903f8012d3c934006a39440004601582c..."} 
[2026-11-04 07:33:30] local.INFO: Processing buffer {"connection_id":232355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44903f8012d3c934006a39440004601582c..."} 
[2026-11-04 07:33:30] local.INFO: Packet analysis {"connection_id":232355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:33:30] local.INFO: Extracted packet for processing {"connection_id":232355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201943040001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:30] 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-11-04 07:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793757611000,"timestamp_ms":1793757611000,"timestamp_seconds":1793757611,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44903f8"} 
[2026-11-04 07:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 07:33:30] 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-11-04 07: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-11-04 07:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201943040001,"66":28539,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201943040001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:33:30] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:33:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201943040001,"power":28539,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":232355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:33:30] local.INFO: GPS data processed {"connection_id":232355,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:33:30] local.INFO: Acknowledgment sent {"connection_id":232355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:33:34] local.INFO: TCP Data received {"connection_id":230503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:34] local.INFO: Processing buffer {"connection_id":230503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:34] local.INFO: IMEI packet received {"connection_id":230503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":230503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:33:37] local.INFO: TCP Data received {"connection_id":230503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:37] local.INFO: Processing buffer {"connection_id":230503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:37] local.INFO: IMEI packet received {"connection_id":230503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":230503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:33:40] local.INFO: TCP Data received {"connection_id":230503,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:40] local.INFO: Processing buffer {"connection_id":230503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:33:40] local.INFO: IMEI packet received {"connection_id":230503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":230503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:33:41] local.INFO: TCP Data received {"connection_id":230503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44b1b20012cf6e0c0070ad2a0000a009130..."} 
[2026-11-04 07:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44b1b20012cf6e0c0070ad2a0000a009130..."} 
[2026-11-04 07:33:41] local.INFO: Processing buffer {"connection_id":230503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44b1b20012cf6e0c0070ad2a0000a009130..."} 
[2026-11-04 07:33:41] local.INFO: Packet analysis {"connection_id":230503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:33:41] local.INFO: Extracted packet for processing {"connection_id":230503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":754376896,"raw_latitude":118149792,"longitude_deg":75.4376896,"latitude_deg":11.8149792,"altitude":10,"angle":145,"satellites":48,"speed":55,"hex_longitude":"2cf6e0c0","hex_latitude":"070ad2a0","is_valid_coordinates":true} 
[2026-11-04 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201981696001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38409110844080128,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-663858702323697664,"note":"Value kept but may cause issues"} 
[2026-11-04 07:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793757748000,"timestamp_ms":1793757748000,"timestamp_seconds":1793757748,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44b1b20"} 
[2026-11-04 07:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201981696001,"66":27745,"12":206,"83":41728,"24":55,"16":38409110844080128,"44":-663858702323697664},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-11-04 07:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201981696001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:33:41] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:33:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38409110844080128,"km_value":38409110844080.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:33:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-663858702323697664,"description":"Unknown IO ID 44"} 
[2026-11-04 07:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201981696001,"power":27745,"unknown_12":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-663858702323697664}} 
[2026-11-04 07:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":230503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:33:41] local.INFO: GPS data processed {"connection_id":230503,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:33:41] local.INFO: Acknowledgment sent {"connection_id":230503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:34:09] local.INFO: TCP Data received {"connection_id":228743,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:34:09] local.INFO: Processing buffer {"connection_id":228743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:34:09] local.INFO: IMEI packet received {"connection_id":228743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":228743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:34:12] local.INFO: TCP Data received {"connection_id":230503,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44b3678012cf6f600070ab3f8000b00912f..."} 
[2026-11-04 07:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44b3678012cf6f600070ab3f8000b00912f..."} 
[2026-11-04 07:34:12] local.INFO: Processing buffer {"connection_id":230503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44b3678012cf6f600070ab3f8000b00912f..."} 
[2026-11-04 07:34:12] local.INFO: Packet analysis {"connection_id":230503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:34:12] local.INFO: Extracted packet for processing {"connection_id":230503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":754382336,"raw_latitude":118141944,"longitude_deg":75.4382336,"latitude_deg":11.8141944,"altitude":11,"angle":145,"satellites":47,"speed":52,"hex_longitude":"2cf6f600","hex_latitude":"070ab3f8","is_valid_coordinates":true} 
[2026-11-04 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201983488001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38409570405580800,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-657314409117212672,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793757755000,"timestamp_ms":1793757755000,"timestamp_seconds":1793757755,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44b3678"} 
[2026-11-04 07:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:34: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-11-04 07:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201983488001,"66":27876,"12":206,"83":41728,"24":52,"16":38409570405580800,"44":-657314409117212672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-11-04 07:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201983488001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:34:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38409570405580800,"km_value":38409570405580.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:34:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-657314409117212672,"description":"Unknown IO ID 44"} 
[2026-11-04 07:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201983488001,"power":27876,"unknown_12":206,"unknown_83":41728,"ignition":52,"odometer":null,"unknown_44":-657314409117212672}} 
[2026-11-04 07:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":230503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:34:12] local.INFO: GPS data processed {"connection_id":230503,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:34:12] local.INFO: Acknowledgment sent {"connection_id":230503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:34:13] local.INFO: TCP Data received {"connection_id":228743,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:34:13] local.INFO: Processing buffer {"connection_id":228743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:34:13] local.INFO: IMEI packet received {"connection_id":228743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":228743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:34:15] local.INFO: TCP Data received {"connection_id":228743,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4495600012d3c934006a39440004601582c..."} 
[2026-11-04 07:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4495600012d3c934006a39440004601582c..."} 
[2026-11-04 07:34:15] local.INFO: Processing buffer {"connection_id":228743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4495600012d3c934006a39440004601582c..."} 
[2026-11-04 07:34:15] local.INFO: Packet analysis {"connection_id":228743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:34:15] local.INFO: Extracted packet for processing {"connection_id":228743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a449"} 
[2026-11-04 07:34:15] local.INFO: GPS Element Parsed {"raw_longitude":758944576,"raw_latitude":111383616,"longitude_deg":75.8944576,"latitude_deg":11.1383616,"altitude":70,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d3c9340","hex_latitude":"06a39440","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201948416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20103633811013632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364902861110525952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:15] 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-11-04 07:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793757632000,"timestamp_ms":1793757632000,"timestamp_seconds":1793757632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4495600"} 
[2026-11-04 07:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-11-04 07:34: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-11-04 07: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-11-04 07:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201948416001,"66":28452,"58":206,"19":48128,"24":0,"16":20103633811013632,"45":4364902861110525952},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 07:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201948416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:34:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 07:34:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20103633811013632,"km_value":20103633811013.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364902861110525952,"description":"Unknown IO ID 45"} 
[2026-11-04 07:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201948416001,"power":28452,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364902861110525952}} 
[2026-11-04 07:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":228743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:34:15] local.INFO: GPS data processed {"connection_id":228743,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:34:15] local.INFO: Acknowledgment sent {"connection_id":228743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:34:40] local.INFO: TCP Data received {"connection_id":230504,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:34:40] local.INFO: Processing buffer {"connection_id":230504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:34:40] local.INFO: IMEI packet received {"connection_id":230504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":230504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:34:41] local.INFO: TCP Data received {"connection_id":230504,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:34:41] local.INFO: Processing buffer {"connection_id":230504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:34:41] local.INFO: IMEI packet received {"connection_id":230504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":230504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:34:42] local.INFO: TCP Data received {"connection_id":230504,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44b55b8012cf70d00070a9548000d008f2f..."} 
[2026-11-04 07:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44b55b8012cf70d00070a9548000d008f2f..."} 
[2026-11-04 07:34:42] local.INFO: Processing buffer {"connection_id":230504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44b55b8012cf70d00070a9548000d008f2f..."} 
[2026-11-04 07:34:42] local.INFO: Packet analysis {"connection_id":230504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:34:42] local.INFO: Extracted packet for processing {"connection_id":230504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":754388224,"raw_latitude":118134088,"longitude_deg":75.4388224,"latitude_deg":11.8134088,"altitude":13,"angle":143,"satellites":47,"speed":44,"hex_longitude":"2cf70d00","hex_latitude":"070a9548","is_valid_coordinates":true} 
[2026-11-04 07:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201985280001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38410042851983360,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-651333065864120320,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793757763000,"timestamp_ms":1793757763000,"timestamp_seconds":1793757763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44b55b8"} 
[2026-11-04 07:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 07:34: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-11-04 07:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201985280001,"66":27876,"12":206,"83":41728,"24":44,"16":38410042851983360,"44":-651333065864120320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-11-04 07:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201985280001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:34:42] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:34:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38410042851983360,"km_value":38410042851983.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:34:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-651333065864120320,"description":"Unknown IO ID 44"} 
[2026-11-04 07:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201985280001,"power":27876,"unknown_12":206,"unknown_83":41728,"ignition":44,"odometer":null,"unknown_44":-651333065864120320}} 
[2026-11-04 07:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":230504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:34:42] local.INFO: GPS data processed {"connection_id":230504,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:34:42] local.INFO: Acknowledgment sent {"connection_id":230504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:34:46] local.INFO: TCP Data received {"connection_id":230504,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44b74f8012cf722c0070a79a8000e008e2e..."} 
[2026-11-04 07:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44b74f8012cf722c0070a79a8000e008e2e..."} 
[2026-11-04 07:34:46] local.INFO: Processing buffer {"connection_id":230504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44b74f8012cf722c0070a79a8000e008e2e..."} 
[2026-11-04 07:34:46] local.INFO: Packet analysis {"connection_id":230504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:34:46] local.INFO: Extracted packet for processing {"connection_id":230504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44b"} 
[2026-11-04 07:34:46] local.INFO: GPS Element Parsed {"raw_longitude":754393792,"raw_latitude":118127016,"longitude_deg":75.4393792,"latitude_deg":11.8127016,"altitude":14,"angle":142,"satellites":46,"speed":45,"hex_longitude":"2cf722c0","hex_latitude":"070a79a8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459201987328001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38410476643680256,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-644859141401786368,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793757771000,"timestamp_ms":1793757771000,"timestamp_seconds":1793757771,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44b74f8"} 
[2026-11-04 07:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 07:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459201987328001,"66":27745,"12":206,"83":41728,"24":45,"16":38410476643680256,"44":-644859141401786368},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,44]} 
[2026-11-04 07:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459201987328001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:34:46] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:34:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38410476643680256,"km_value":38410476643680.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-644859141401786368,"description":"Unknown IO ID 44"} 
[2026-11-04 07:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459201987328001,"power":27745,"unknown_12":206,"unknown_83":41728,"ignition":45,"odometer":null,"unknown_44":-644859141401786368}} 
[2026-11-04 07:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":230504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:34:46] local.INFO: GPS data processed {"connection_id":230504,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:34:46] local.INFO: Acknowledgment sent {"connection_id":230504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:34:47] local.INFO: TCP Data received {"connection_id":228743,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44c4fb8012d3c9b8006a443100039000e28..."} 
[2026-11-04 07:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44c4fb8012d3c9b8006a443100039000e28..."} 
[2026-11-04 07:34:47] local.INFO: Processing buffer {"connection_id":228743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44c4fb8012d3c9b8006a443100039000e28..."} 
[2026-11-04 07:34:47] local.INFO: Packet analysis {"connection_id":228743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:34:47] local.INFO: Extracted packet for processing {"connection_id":228743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":758946688,"raw_latitude":111428368,"longitude_deg":75.8946688,"latitude_deg":11.1428368,"altitude":57,"angle":14,"satellites":40,"speed":35,"hex_longitude":"2d3c9b80","hex_latitude":"06a44310","is_valid_coordinates":true} 
[2026-11-04 07:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202000384001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20105815654400000,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366239867259572224,"note":"Value kept but may cause issues"} 
[2026-11-04 07:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793757827000,"timestamp_ms":1793757827000,"timestamp_seconds":1793757827,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44c4fb8"} 
[2026-11-04 07:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 07:34:47] 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-11-04 07:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202000384001,"66":28278,"12":206,"19":48128,"24":35,"16":20105815654400000,"45":4366239867259572224},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 07:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202000384001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:34:47] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:34:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20105815654400000,"km_value":20105815654400,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366239867259572224,"description":"Unknown IO ID 45"} 
[2026-11-04 07:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202000384001,"power":28278,"unknown_12":206,"unknown_19":48128,"ignition":35,"odometer":null,"unknown_45":4366239867259572224}} 
[2026-11-04 07:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":228743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:34:47] local.INFO: GPS data processed {"connection_id":228743,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:34:47] local.INFO: Acknowledgment sent {"connection_id":228743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:35:09] local.INFO: TCP Data received {"connection_id":232356,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:09] local.INFO: Processing buffer {"connection_id":232356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:09] local.INFO: IMEI packet received {"connection_id":232356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":232356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:35:10] local.INFO: TCP Data received {"connection_id":232356,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:10] local.INFO: Processing buffer {"connection_id":232356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:10] local.INFO: IMEI packet received {"connection_id":232356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":232356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:35:15] local.INFO: TCP Data received {"connection_id":232356,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:15] local.INFO: Processing buffer {"connection_id":232356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:35:15] local.INFO: IMEI packet received {"connection_id":232356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":232356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:35:16] local.INFO: TCP Data received {"connection_id":232356,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44c6b10012d3ca58006a45db80035001b2b..."} 
[2026-11-04 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44c6b10012d3ca58006a45db80035001b2b..."} 
[2026-11-04 07:35:16] local.INFO: Processing buffer {"connection_id":232356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44c6b10012d3ca58006a45db80035001b2b..."} 
[2026-11-04 07:35:16] local.INFO: Packet analysis {"connection_id":232356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:16] local.INFO: Extracted packet for processing {"connection_id":232356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758949248,"raw_latitude":111435192,"longitude_deg":75.8949248,"latitude_deg":11.1435192,"altitude":53,"angle":27,"satellites":43,"speed":44,"hex_longitude":"2d3ca580","hex_latitude":"06a45db8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202003712001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20106167841718272,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367225029679845376,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793757834000,"timestamp_ms":1793757834000,"timestamp_seconds":1793757834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44c6b10"} 
[2026-11-04 07:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07: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-11-04 07: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-11-04 07:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202003712001,"66":28300,"12":206,"19":48128,"24":44,"16":20106167841718272,"45":4367225029679845376},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 07:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202003712001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:35:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:35:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20106167841718272,"km_value":20106167841718.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367225029679845376,"description":"Unknown IO ID 45"} 
[2026-11-04 07:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202003712001,"power":28300,"unknown_12":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4367225029679845376}} 
[2026-11-04 07:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":232356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:35:16] local.INFO: GPS data processed {"connection_id":232356,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:35:16] local.INFO: Acknowledgment sent {"connection_id":232356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:35:18] local.INFO: TCP Data received {"connection_id":230504,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44cd870012cf84b4007090aa8000a00a42e..."} 
[2026-11-04 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44cd870012cf84b4007090aa8000a00a42e..."} 
[2026-11-04 07:35:18] local.INFO: Processing buffer {"connection_id":230504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44cd870012cf84b4007090aa8000a00a42e..."} 
[2026-11-04 07:35:18] local.INFO: Packet analysis {"connection_id":230504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:18] local.INFO: Extracted packet for processing {"connection_id":230504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":754469696,"raw_latitude":118033064,"longitude_deg":75.4469696,"latitude_deg":11.8033064,"altitude":10,"angle":164,"satellites":46,"speed":54,"hex_longitude":"2cf84b40","hex_latitude":"07090aa8","is_valid_coordinates":true} 
[2026-11-04 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202011392001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38416304914300928,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-557953742366609408,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793757862000,"timestamp_ms":1793757862000,"timestamp_seconds":1793757862,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44cd870"} 
[2026-11-04 07:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202011392001,"66":27767,"168":206,"83":41728,"24":54,"16":38416304914300928,"44":-557953742366609408},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,44]} 
[2026-11-04 07:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202011392001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:35:18] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-04 07:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38416304914300928,"km_value":38416304914300.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-557953742366609408,"description":"Unknown IO ID 44"} 
[2026-11-04 07:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202011392001,"power":27767,"unknown_168":206,"unknown_83":41728,"ignition":54,"odometer":null,"unknown_44":-557953742366609408}} 
[2026-11-04 07:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":230504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:35:18] local.INFO: GPS data processed {"connection_id":230504,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:35:18] local.INFO: Acknowledgment sent {"connection_id":230504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:35:35] local.INFO: TCP Data received {"connection_id":229242,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:35:35] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:35:35] local.INFO: IMEI packet received {"connection_id":229242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":229242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:35:36] local.INFO: TCP Data received {"connection_id":229242,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:35:36] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:35:36] local.INFO: IMEI packet received {"connection_id":229242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":229242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:35:37] local.INFO: TCP Data received {"connection_id":229242,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44cf3c8012cf856800708e6a0000a009a2d..."} 
[2026-11-04 07:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44cf3c8012cf856800708e6a0000a009a2d..."} 
[2026-11-04 07:35:37] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44cf3c8012cf856800708e6a0000a009a2d..."} 
[2026-11-04 07:35:37] local.INFO: Packet analysis {"connection_id":229242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:37] local.INFO: Extracted packet for processing {"connection_id":229242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":754472576,"raw_latitude":118023840,"longitude_deg":75.4472576,"latitude_deg":11.802384,"altitude":10,"angle":154,"satellites":45,"speed":55,"hex_longitude":"2cf85680","hex_latitude":"0708e6a0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202012672001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38416773065736192,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-555279730089482240,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793757869000,"timestamp_ms":1793757869000,"timestamp_seconds":1793757869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44cf3c8"} 
[2026-11-04 07:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202012672001,"66":27865,"168":206,"83":41728,"24":55,"16":38416773065736192,"44":-555279730089482240},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,44]} 
[2026-11-04 07:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202012672001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38416773065736192,"km_value":38416773065736.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:35:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-555279730089482240,"description":"Unknown IO ID 44"} 
[2026-11-04 07:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202012672001,"power":27865,"unknown_168":206,"unknown_83":41728,"ignition":55,"odometer":null,"unknown_44":-555279730089482240}} 
[2026-11-04 07:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":229242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:35:37] local.INFO: GPS data processed {"connection_id":229242,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:35:37] local.INFO: Acknowledgment sent {"connection_id":229242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:35:48] local.INFO: TCP Data received {"connection_id":232356,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44c8a50012d3cb88006a47ed80031001c25..."} 
[2026-11-04 07:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44c8a50012d3cb88006a47ed80031001c25..."} 
[2026-11-04 07:35:48] local.INFO: Processing buffer {"connection_id":232356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44c8a50012d3cb88006a47ed80031001c25..."} 
[2026-11-04 07:35:48] local.INFO: Packet analysis {"connection_id":232356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:48] local.INFO: Extracted packet for processing {"connection_id":232356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758954112,"raw_latitude":111443672,"longitude_deg":75.8954112,"latitude_deg":11.1443672,"altitude":49,"angle":28,"satellites":37,"speed":49,"hex_longitude":"2d3cb880","hex_latitude":"06a47ed8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202005504001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20106640288120832,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370039779448698880,"note":"Value kept but may cause issues"} 
[2026-11-04 07:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793757842000,"timestamp_ms":1793757842000,"timestamp_seconds":1793757842,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44c8a50"} 
[2026-11-04 07:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 07:35: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-11-04 07: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-11-04 07:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202005504001,"66":28376,"12":206,"19":48128,"24":49,"16":20106640288120832,"45":4370039779448698880},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 07:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202005504001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:35:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:35:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20106640288120832,"km_value":20106640288120.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370039779448698880,"description":"Unknown IO ID 45"} 
[2026-11-04 07:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202005504001,"power":28376,"unknown_12":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4370039779448698880}} 
[2026-11-04 07:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":232356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:35:48] local.INFO: GPS data processed {"connection_id":232356,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:35:48] local.INFO: Acknowledgment sent {"connection_id":232356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:36:08] local.INFO: TCP Data received {"connection_id":229242,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44d0f20012cf869400708c680000b00942e..."} 
[2026-11-04 07:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44d0f20012cf869400708c680000b00942e..."} 
[2026-11-04 07:36:08] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44d0f20012cf869400708c680000b00942e..."} 
[2026-11-04 07:36:08] local.INFO: Packet analysis {"connection_id":229242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44d"} 
[2026-11-04 07:36:08] local.INFO: Extracted packet for processing {"connection_id":229242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44d"} 
[2026-11-04 07:36:08] local.INFO: GPS Element Parsed {"raw_longitude":754477376,"raw_latitude":118015616,"longitude_deg":75.4477376,"latitude_deg":11.8015616,"altitude":11,"angle":148,"satellites":46,"speed":53,"hex_longitude":"2cf86940","hex_latitude":"0708c680","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202014464001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38417232627236864,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-552113136603848704,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1793757876000,"timestamp_ms":1793757876000,"timestamp_seconds":1793757876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44d0f20"} 
[2026-11-04 07:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":229242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:36:08] 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-11-04 07:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202014464001,"66":27745,"168":206,"83":41728,"24":53,"16":38417232627236864,"44":-552113136603848704},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,44]} 
[2026-11-04 07:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202014464001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:36:08] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-04 07:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38417232627236864,"km_value":38417232627236.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:36:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-552113136603848704,"description":"Unknown IO ID 44"} 
[2026-11-04 07:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202014464001,"power":27745,"unknown_168":206,"unknown_83":41728,"ignition":53,"odometer":null,"unknown_44":-552113136603848704}} 
[2026-11-04 07:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":229242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:36:08] local.INFO: GPS data processed {"connection_id":229242,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:36:08] local.INFO: Acknowledgment sent {"connection_id":229242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:36:09] local.INFO: TCP Data received {"connection_id":229243,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:36:09] local.INFO: Processing buffer {"connection_id":229243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:36:09] local.INFO: IMEI packet received {"connection_id":229243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":229243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:36:15] local.INFO: TCP Data received {"connection_id":229243,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:36:15] local.INFO: Processing buffer {"connection_id":229243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:36:15] local.INFO: IMEI packet received {"connection_id":229243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":229243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:36:16] local.INFO: TCP Data received {"connection_id":229243,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44ca1c0012d3cc48006a49938002d00102a..."} 
[2026-11-04 07:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44ca1c0012d3cc48006a49938002d00102a..."} 
[2026-11-04 07:36:16] local.INFO: Processing buffer {"connection_id":229243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44ca1c0012d3cc48006a49938002d00102a..."} 
[2026-11-04 07:36:16] local.INFO: Packet analysis {"connection_id":229243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:36:16] local.INFO: Extracted packet for processing {"connection_id":229243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758957184,"raw_latitude":111450424,"longitude_deg":75.8957184,"latitude_deg":11.1450424,"altitude":45,"angle":16,"satellites":42,"speed":47,"hex_longitude":"2d3cc480","hex_latitude":"06a49938","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202007552001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20107001065373696,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4375387804008372224,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793757848000,"timestamp_ms":1793757848000,"timestamp_seconds":1793757848,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44ca1c0"} 
[2026-11-04 07:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 07:36: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-11-04 07: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-11-04 07:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202007552001,"66":28354,"12":206,"19":48128,"24":47,"16":20107001065373696,"45":4375387804008372224},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 07:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202007552001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20107001065373696,"km_value":20107001065373.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4375387804008372224,"description":"Unknown IO ID 45"} 
[2026-11-04 07:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202007552001,"power":28354,"unknown_12":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4375387804008372224}} 
[2026-11-04 07:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":229243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:36:16] local.INFO: GPS data processed {"connection_id":229243,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:36:16] local.INFO: Acknowledgment sent {"connection_id":229243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:36:35] local.INFO: TCP Data received {"connection_id":230505,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:35] local.INFO: Processing buffer {"connection_id":230505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:35] local.INFO: IMEI packet received {"connection_id":230505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":230505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:36:35] local.INFO: TCP Data received {"connection_id":230505,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:35] local.INFO: Processing buffer {"connection_id":230505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:35] local.INFO: IMEI packet received {"connection_id":230505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":230505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:36:39] local.INFO: TCP Data received {"connection_id":230505,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:39] local.INFO: Processing buffer {"connection_id":230505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:36:39] local.INFO: IMEI packet received {"connection_id":230505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":230505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:36:40] local.INFO: TCP Data received {"connection_id":230505,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44d2a78012cf87d000708a7f8000c00932e..."} 
[2026-11-04 07:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44d2a78012cf87d000708a7f8000c00932e..."} 
[2026-11-04 07:36:40] local.INFO: Processing buffer {"connection_id":230505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44d2a78012cf87d000708a7f8000c00932e..."} 
[2026-11-04 07:36:40] local.INFO: Packet analysis {"connection_id":230505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44d"} 
[2026-11-04 07:36:40] local.INFO: Extracted packet for processing {"connection_id":230505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44d"} 
[2026-11-04 07:36:40] local.INFO: GPS Element Parsed {"raw_longitude":754482432,"raw_latitude":118007800,"longitude_deg":75.4482432,"latitude_deg":11.80078,"altitude":12,"angle":147,"satellites":46,"speed":50,"hex_longitude":"2cf87d00","hex_latitude":"0708a7f8","is_valid_coordinates":true} 
[2026-11-04 07:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202016256001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38417679303835648,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-546835480792629248,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793757883000,"timestamp_ms":1793757883000,"timestamp_seconds":1793757883,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44d2a78"} 
[2026-11-04 07:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202016256001,"66":27767,"168":206,"83":41728,"24":50,"16":38417679303835648,"44":-546835480792629248},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,83,24,16,44]} 
[2026-11-04 07:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202016256001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:36:40] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-11-04 07:36:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38417679303835648,"km_value":38417679303835.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-546835480792629248,"description":"Unknown IO ID 44"} 
[2026-11-04 07:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202016256001,"power":27767,"unknown_168":206,"unknown_83":41728,"ignition":50,"odometer":null,"unknown_44":-546835480792629248}} 
[2026-11-04 07:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":230505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:36:40] local.INFO: GPS data processed {"connection_id":230505,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:36:40] local.INFO: Acknowledgment sent {"connection_id":230505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:36:51] local.INFO: TCP Data received {"connection_id":229243,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44cb548012d3cc8c006a4afa8002b00032a..."} 
[2026-11-04 07:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44cb548012d3cc8c006a4afa8002b00032a..."} 
[2026-11-04 07:36:51] local.INFO: Processing buffer {"connection_id":229243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44cb548012d3cc8c006a4afa8002b00032a..."} 
[2026-11-04 07:36:51] local.INFO: Packet analysis {"connection_id":229243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:36:51] local.INFO: Extracted packet for processing {"connection_id":229243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44c"} 
[2026-11-04 07:36:51] local.INFO: GPS Element Parsed {"raw_longitude":758958272,"raw_latitude":111456168,"longitude_deg":75.8958272,"latitude_deg":11.1456168,"altitude":43,"angle":3,"satellites":42,"speed":48,"hex_longitude":"2d3cc8c0","hex_latitude":"06a4afa8","is_valid_coordinates":true} 
[2026-11-04 07:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202009088001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20107284533215232,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378765503730628608,"note":"Value kept but may cause issues"} 
[2026-11-04 07:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793757853000,"timestamp_ms":1793757853000,"timestamp_seconds":1793757853,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44cb548"} 
[2026-11-04 07:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:36:51] 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-11-04 07:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202009088001,"66":28278,"12":206,"19":48128,"24":48,"16":20107284533215232,"45":4378765503730628608},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 07:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202009088001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:36:51] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:36:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20107284533215232,"km_value":20107284533215.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378765503730628608,"description":"Unknown IO ID 45"} 
[2026-11-04 07:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202009088001,"power":28278,"unknown_12":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4378765503730628608}} 
[2026-11-04 07:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":229243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:36:51] local.INFO: GPS data processed {"connection_id":229243,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:36:51] local.INFO: Acknowledgment sent {"connection_id":229243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:37:11] local.INFO: TCP Data received {"connection_id":230505,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44eb118012cf9a0c00706da60000e008330..."} 
[2026-11-04 07:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44eb118012cf9a0c00706da60000e008330..."} 
[2026-11-04 07:37:11] local.INFO: Processing buffer {"connection_id":230505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44eb118012cf9a0c00706da60000e008330..."} 
[2026-11-04 07:37:11] local.INFO: Packet analysis {"connection_id":230505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:11] local.INFO: Extracted packet for processing {"connection_id":230505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":754557120,"raw_latitude":117889632,"longitude_deg":75.455712,"latitude_deg":11.7889632,"altitude":14,"angle":131,"satellites":48,"speed":59,"hex_longitude":"2cf9a0c0","hex_latitude":"0706da60","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202042368001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38424465352163328,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464715156368146432,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793757983000,"timestamp_ms":1793757983000,"timestamp_seconds":1793757983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44eb118"} 
[2026-11-04 07:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 07:37: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-11-04 07: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-11-04 07:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202042368001,"66":27800,"83":41728,"24":59,"16":38424465352163328,"44":-464715156368146432},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-11-04 07:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202042368001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:37:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38424465352163328,"km_value":38424465352163.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:37:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464715156368146432,"description":"Unknown IO ID 44"} 
[2026-11-04 07:37:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202042368001,"power":27800,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-464715156368146432}} 
[2026-11-04 07:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":230505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:37:11] local.INFO: GPS data processed {"connection_id":230505,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:37:11] local.INFO: Acknowledgment sent {"connection_id":230505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:37:16] local.INFO: TCP Data received {"connection_id":229244,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:37:16] local.INFO: Processing buffer {"connection_id":229244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:37:16] local.INFO: IMEI packet received {"connection_id":229244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":229244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:37:20] local.INFO: TCP Data received {"connection_id":229244,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:37:20] local.INFO: Processing buffer {"connection_id":229244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:37:20] local.INFO: IMEI packet received {"connection_id":229244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":229244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:37:21] local.INFO: TCP Data received {"connection_id":229244,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44e8620012d3c414006a5f2300055014125..."} 
[2026-11-04 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44e8620012d3c414006a5f2300055014125..."} 
[2026-11-04 07:37:21] local.INFO: Processing buffer {"connection_id":229244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44e8620012d3c414006a5f2300055014125..."} 
[2026-11-04 07:37:21] local.INFO: Packet analysis {"connection_id":229244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:21] local.INFO: Extracted packet for processing {"connection_id":229244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":758923584,"raw_latitude":111538736,"longitude_deg":75.8923584,"latitude_deg":11.1538736,"altitude":85,"angle":321,"satellites":37,"speed":26,"hex_longitude":"2d3c4140","hex_latitude":"06a5f230","is_valid_coordinates":true} 
[2026-11-04 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202037504001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20111738414301184,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4348155100034183168,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793757972000,"timestamp_ms":1793757972000,"timestamp_seconds":1793757972,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44e8620"} 
[2026-11-04 07:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:37: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-11-04 07:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202037504001,"66":27876,"12":206,"19":48128,"24":26,"16":20111738414301184,"45":4348155100034183168},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 07:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202037504001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:37:21] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 07:37:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20111738414301184,"km_value":20111738414301.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4348155100034183168,"description":"Unknown IO ID 45"} 
[2026-11-04 07:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202037504001,"power":27876,"unknown_12":206,"unknown_19":48128,"ignition":26,"odometer":null,"unknown_45":4348155100034183168}} 
[2026-11-04 07:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":229244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:37:21] local.INFO: GPS data processed {"connection_id":229244,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:37:21] local.INFO: Acknowledgment sent {"connection_id":229244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:37:35] local.INFO: TCP Data received {"connection_id":232357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:35] local.INFO: Processing buffer {"connection_id":232357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:35] local.INFO: IMEI packet received {"connection_id":232357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":232357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:37:37] local.INFO: TCP Data received {"connection_id":232357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:37] local.INFO: Processing buffer {"connection_id":232357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:37] local.INFO: IMEI packet received {"connection_id":232357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":232357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:37:40] local.INFO: TCP Data received {"connection_id":232357,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:40] local.INFO: Processing buffer {"connection_id":232357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:37:40] local.INFO: IMEI packet received {"connection_id":232357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":232357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:37:42] local.INFO: TCP Data received {"connection_id":232357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44ec0b8012cf9b4800706cc40000d007830..."} 
[2026-11-04 07:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44ec0b8012cf9b4800706cc40000d007830..."} 
[2026-11-04 07:37:42] local.INFO: Processing buffer {"connection_id":232357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44ec0b8012cf9b4800706cc40000d007830..."} 
[2026-11-04 07:37:42] local.INFO: Packet analysis {"connection_id":232357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:42] local.INFO: Extracted packet for processing {"connection_id":232357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:42] local.INFO: GPS Element Parsed {"raw_longitude":754562176,"raw_latitude":117886016,"longitude_deg":75.4562176,"latitude_deg":11.7886016,"altitude":13,"angle":120,"satellites":48,"speed":61,"hex_longitude":"2cf9b480","hex_latitude":"0706cc40","is_valid_coordinates":true} 
[2026-11-04 07:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202043648001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38424761704906752,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-459156025579511808,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793757987000,"timestamp_ms":1793757987000,"timestamp_seconds":1793757987,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44ec0b8"} 
[2026-11-04 07:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202043648001,"66":27767,"83":41728,"24":61,"16":38424761704906752,"44":-459156025579511808},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-11-04 07:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202043648001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:37:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38424761704906752,"km_value":38424761704906.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:37:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-459156025579511808,"description":"Unknown IO ID 44"} 
[2026-11-04 07:37:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202043648001,"power":27767,"unknown_83":41728,"ignition":61,"odometer":null,"unknown_44":-459156025579511808}} 
[2026-11-04 07:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":232357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:37:42] local.INFO: GPS data processed {"connection_id":232357,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:37:42] local.INFO: Acknowledgment sent {"connection_id":232357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:37:44] local.INFO: TCP Data received {"connection_id":232357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44ed440012cf9cfc00706c000000b006c31..."} 
[2026-11-04 07:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44ed440012cf9cfc00706c000000b006c31..."} 
[2026-11-04 07:37:44] local.INFO: Processing buffer {"connection_id":232357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44ed440012cf9cfc00706c000000b006c31..."} 
[2026-11-04 07:37:44] local.INFO: Packet analysis {"connection_id":232357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:44] local.INFO: Extracted packet for processing {"connection_id":232357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:44] local.INFO: GPS Element Parsed {"raw_longitude":754569152,"raw_latitude":117882880,"longitude_deg":75.4569152,"latitude_deg":11.788288,"altitude":11,"angle":108,"satellites":49,"speed":60,"hex_longitude":"2cf9cfc0","hex_latitude":"0706c000","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202044672001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38425131072094208,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453596894790402048,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793757992000,"timestamp_ms":1793757992000,"timestamp_seconds":1793757992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44ed440"} 
[2026-11-04 07:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202044672001,"66":27843,"83":41728,"24":60,"16":38425131072094208,"44":-453596894790402048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-11-04 07:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202044672001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:37:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38425131072094208,"km_value":38425131072094.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:37:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453596894790402048,"description":"Unknown IO ID 44"} 
[2026-11-04 07:37:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202044672001,"power":27843,"unknown_83":41728,"ignition":60,"odometer":null,"unknown_44":-453596894790402048}} 
[2026-11-04 07:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":232357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:37:44] local.INFO: GPS data processed {"connection_id":232357,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:37:44] local.INFO: Acknowledgment sent {"connection_id":232357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:37:52] local.INFO: TCP Data received {"connection_id":229244,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44eb500012d3c29c006a60e900054014128..."} 
[2026-11-04 07:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44eb500012d3c29c006a60e900054014128..."} 
[2026-11-04 07:37:52] local.INFO: Processing buffer {"connection_id":229244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44eb500012d3c29c006a60e900054014128..."} 
[2026-11-04 07:37:52] local.INFO: Packet analysis {"connection_id":229244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:52] local.INFO: Extracted packet for processing {"connection_id":229244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758917568,"raw_latitude":111546000,"longitude_deg":75.8917568,"latitude_deg":11.1546,"altitude":84,"angle":321,"satellites":40,"speed":37,"hex_longitude":"2d3c29c0","hex_latitude":"06a60e90","is_valid_coordinates":true} 
[2026-11-04 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202040832001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20112193680834560,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4341821913059962880,"note":"Value kept but may cause issues"} 
[2026-11-04 07:37:52] 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-11-04 07:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793757984000,"timestamp_ms":1793757984000,"timestamp_seconds":1793757984,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44eb500"} 
[2026-11-04 07:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 07:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202040832001,"66":28354,"11":206,"19":48128,"24":37,"16":20112193680834560,"45":4341821913059962880},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-11-04 07:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202040832001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:37:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 07:37:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20112193680834560,"km_value":20112193680834.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4341821913059962880,"description":"Unknown IO ID 45"} 
[2026-11-04 07:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202040832001,"power":28354,"unknown_11":206,"unknown_19":48128,"ignition":37,"odometer":null,"unknown_45":4341821913059962880}} 
[2026-11-04 07:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":229244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:37:52] local.INFO: GPS data processed {"connection_id":229244,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:37:52] local.INFO: Acknowledgment sent {"connection_id":229244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:38:11] local.INFO: TCP Data received {"connection_id":228744,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:11] local.INFO: Processing buffer {"connection_id":228744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:11] local.INFO: IMEI packet received {"connection_id":228744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":228744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:38:14] local.INFO: TCP Data received {"connection_id":228744,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:14] local.INFO: Processing buffer {"connection_id":228744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:14] local.INFO: IMEI packet received {"connection_id":228744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":228744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:38:15] local.INFO: TCP Data received {"connection_id":228744,"ip":"117.225.214.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:15] local.INFO: Processing buffer {"connection_id":228744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:38:15] local.INFO: IMEI packet received {"connection_id":228744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":228744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:38:17] local.INFO: TCP Data received {"connection_id":228744,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44ed828012d3c12c006a62b98004c01432a..."} 
[2026-11-04 07:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44ed828012d3c12c006a62b98004c01432a..."} 
[2026-11-04 07:38:17] local.INFO: Processing buffer {"connection_id":228744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44ed828012d3c12c006a62b98004c01432a..."} 
[2026-11-04 07:38:17] local.INFO: Packet analysis {"connection_id":228744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:38:17] local.INFO: Extracted packet for processing {"connection_id":228744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758911680,"raw_latitude":111553432,"longitude_deg":75.891168,"latitude_deg":11.1553432,"altitude":76,"angle":323,"satellites":42,"speed":46,"hex_longitude":"2d3c12c0","hex_latitude":"06a62b98","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202043904001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20112648947367936,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4335207251109122048,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38: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-11-04 07:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793757993000,"timestamp_ms":1793757993000,"timestamp_seconds":1793757993,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44ed828"} 
[2026-11-04 07:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:38: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-11-04 07: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-11-04 07:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202043904001,"66":28234,"11":206,"19":48128,"24":46,"16":20112648947367936,"45":4335207251109122048},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-11-04 07:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202043904001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:38:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 07:38:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20112648947367936,"km_value":20112648947367.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4335207251109122048,"description":"Unknown IO ID 45"} 
[2026-11-04 07:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202043904001,"power":28234,"unknown_11":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4335207251109122048}} 
[2026-11-04 07:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":228744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:38:17] local.INFO: GPS data processed {"connection_id":228744,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:38:17] local.INFO: Acknowledgment sent {"connection_id":228744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:38:18] local.INFO: TCP Data received {"connection_id":232357,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44eebb0012cf9f2c00706b8880009006231..."} 
[2026-11-04 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44eebb0012cf9f2c00706b8880009006231..."} 
[2026-11-04 07:38:18] local.INFO: Processing buffer {"connection_id":232357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44eebb0012cf9f2c00706b8880009006231..."} 
[2026-11-04 07:38:18] local.INFO: Packet analysis {"connection_id":232357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:38:18] local.INFO: Extracted packet for processing {"connection_id":232357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":754578112,"raw_latitude":117880968,"longitude_deg":75.4578112,"latitude_deg":11.7880968,"altitude":9,"angle":98,"satellites":49,"speed":59,"hex_longitude":"2cf9f2c0","hex_latitude":"0706b888","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202045952001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38425564863791104,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-445926701675839488,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793757998000,"timestamp_ms":1793757998000,"timestamp_seconds":1793757998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44eebb0"} 
[2026-11-04 07:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202045952001,"66":27800,"83":41728,"24":59,"16":38425564863791104,"44":-445926701675839488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-11-04 07:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202045952001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38425564863791104,"km_value":38425564863791.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-445926701675839488,"description":"Unknown IO ID 44"} 
[2026-11-04 07:38:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202045952001,"power":27800,"unknown_83":41728,"ignition":59,"odometer":null,"unknown_44":-445926701675839488}} 
[2026-11-04 07:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":232357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:38:18] local.INFO: GPS data processed {"connection_id":232357,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:38:18] local.INFO: Acknowledgment sent {"connection_id":232357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:38:37] local.INFO: TCP Data received {"connection_id":232358,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:37] local.INFO: Processing buffer {"connection_id":232358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:37] local.INFO: IMEI packet received {"connection_id":232358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":232358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:38:38] local.INFO: TCP Data received {"connection_id":232358,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:38] local.INFO: Processing buffer {"connection_id":232358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:38] local.INFO: IMEI packet received {"connection_id":232358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":232358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:38:39] local.INFO: TCP Data received {"connection_id":232358,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:39] local.INFO: Processing buffer {"connection_id":232358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:38:39] local.INFO: IMEI packet received {"connection_id":232358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":232358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:38:40] local.INFO: TCP Data received {"connection_id":232358,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44f0708012cfa1b800706b3200008006131..."} 
[2026-11-04 07:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44f0708012cfa1b800706b3200008006131..."} 
[2026-11-04 07:38:40] local.INFO: Processing buffer {"connection_id":232358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44f0708012cfa1b800706b3200008006131..."} 
[2026-11-04 07:38:40] local.INFO: Packet analysis {"connection_id":232358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:40] local.INFO: Extracted packet for processing {"connection_id":232358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:40] local.INFO: GPS Element Parsed {"raw_longitude":754588544,"raw_latitude":117879584,"longitude_deg":75.4588544,"latitude_deg":11.7879584,"altitude":8,"angle":97,"satellites":49,"speed":58,"hex_longitude":"2cfa1b80","hex_latitude":"0706b320","is_valid_coordinates":true} 
[2026-11-04 07:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202047488001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38426063079997440,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-436075077491456000,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793758005000,"timestamp_ms":1793758005000,"timestamp_seconds":1793758005,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44f0708"} 
[2026-11-04 07:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":232358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202047488001,"66":27800,"83":41728,"24":58,"16":38426063079997440,"44":-436075077491456000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-11-04 07:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202047488001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:38:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38426063079997440,"km_value":38426063079997.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:38:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-436075077491456000,"description":"Unknown IO ID 44"} 
[2026-11-04 07:38:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202047488001,"power":27800,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-436075077491456000}} 
[2026-11-04 07:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":232358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:38:40] local.INFO: GPS data processed {"connection_id":232358,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:38:40] local.INFO: Acknowledgment sent {"connection_id":232358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:38:41] local.INFO: TCP Data received {"connection_id":232358,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44f2260012cfa44000706ae500009006031..."} 
[2026-11-04 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44f2260012cfa44000706ae500009006031..."} 
[2026-11-04 07:38:41] local.INFO: Processing buffer {"connection_id":232358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44f2260012cfa44000706ae500009006031..."} 
[2026-11-04 07:38:41] local.INFO: Packet analysis {"connection_id":232358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:41] local.INFO: Extracted packet for processing {"connection_id":232358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":754598912,"raw_latitude":117878352,"longitude_deg":75.4598912,"latitude_deg":11.7878352,"altitude":9,"angle":96,"satellites":49,"speed":58,"hex_longitude":"2cfa4400","hex_latitude":"0706ae50","is_valid_coordinates":true} 
[2026-11-04 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202049280001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38426561296203776,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-424604972190851072,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793758012000,"timestamp_ms":1793758012000,"timestamp_seconds":1793758012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44f2260"} 
[2026-11-04 07:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202049280001,"66":27789,"83":41728,"24":58,"16":38426561296203776,"44":-424604972190851072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-11-04 07:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202049280001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38426561296203776,"km_value":38426561296203.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-424604972190851072,"description":"Unknown IO ID 44"} 
[2026-11-04 07:38:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202049280001,"power":27789,"unknown_83":41728,"ignition":58,"odometer":null,"unknown_44":-424604972190851072}} 
[2026-11-04 07:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":232358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:38:41] local.INFO: GPS data processed {"connection_id":232358,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:38:41] local.INFO: Acknowledgment sent {"connection_id":232358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:38:45] local.INFO: TCP Data received {"connection_id":232358,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44f3db8012cfa6c400706aa40000c006030..."} 
[2026-11-04 07:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44f3db8012cfa6c400706aa40000c006030..."} 
[2026-11-04 07:38:45] local.INFO: Processing buffer {"connection_id":232358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44f3db8012cfa6c400706aa40000c006030..."} 
[2026-11-04 07:38:45] local.INFO: Packet analysis {"connection_id":232358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:45] local.INFO: Extracted packet for processing {"connection_id":232358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:45] local.INFO: GPS Element Parsed {"raw_longitude":754609216,"raw_latitude":117877312,"longitude_deg":75.4609216,"latitude_deg":11.7877312,"altitude":12,"angle":96,"satellites":48,"speed":57,"hex_longitude":"2cfa6c40","hex_latitude":"0706aa40","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202051072001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38427050922475520,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-413205235634384896,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,83,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793758019000,"timestamp_ms":1793758019000,"timestamp_seconds":1793758019,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44f3db8"} 
[2026-11-04 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-11-04 07:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 07:38:45] 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-11-04 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-11-04 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-11-04 07:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202051072001,"66":27550,"83":41728,"24":57,"16":38427050922475520,"44":-413205235634384896},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,24,16,44]} 
[2026-11-04 07:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202051072001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:38:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-11-04 07:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38427050922475520,"km_value":38427050922475.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:38:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-413205235634384896,"description":"Unknown IO ID 44"} 
[2026-11-04 07:38:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202051072001,"power":27550,"unknown_83":41728,"ignition":57,"odometer":null,"unknown_44":-413205235634384896}} 
[2026-11-04 07:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":232358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:38:45] local.INFO: GPS data processed {"connection_id":232358,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:38:45] local.INFO: Acknowledgment sent {"connection_id":232358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:38:50] local.INFO: TCP Data received {"connection_id":228744,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44ef768012d3bfbc006a64c280042014626..."} 
[2026-11-04 07:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44ef768012d3bfbc006a64c280042014626..."} 
[2026-11-04 07:38:50] local.INFO: Processing buffer {"connection_id":228744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44ef768012d3bfbc006a64c280042014626..."} 
[2026-11-04 07:38:50] local.INFO: Packet analysis {"connection_id":228744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:38:50] local.INFO: Extracted packet for processing {"connection_id":228744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44e"} 
[2026-11-04 07:38:50] local.INFO: GPS Element Parsed {"raw_longitude":758905792,"raw_latitude":111561768,"longitude_deg":75.8905792,"latitude_deg":11.1561768,"altitude":66,"angle":326,"satellites":38,"speed":57,"hex_longitude":"2d3bfbc0","hex_latitude":"06a64c28","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202046208001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20113138573639680,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4328733326646679552,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:50] 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-11-04 07:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793758001000,"timestamp_ms":1793758001000,"timestamp_seconds":1793758001,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44ef768"} 
[2026-11-04 07:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 07:38:50] 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-11-04 07: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-11-04 07:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202046208001,"66":27789,"11":206,"19":48128,"24":57,"16":20113138573639680,"45":4328733326646679552},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-11-04 07:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202046208001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:38:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 07:38:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20113138573639680,"km_value":20113138573639.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4328733326646679552,"description":"Unknown IO ID 45"} 
[2026-11-04 07:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202046208001,"power":27789,"unknown_11":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4328733326646679552}} 
[2026-11-04 07:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":228744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:38:50] local.INFO: GPS data processed {"connection_id":228744,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:38:50] local.INFO: Acknowledgment sent {"connection_id":228744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:38:52] local.INFO: TCP Data received {"connection_id":228744,"ip":"117.225.214.33","data_length":795,"data_hex":"000000000000030f8e0a000001a1a44f0ed8012d3be90006a66a18003e014a26..."} 
[2026-11-04 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a44f0ed8012d3be90006a66a18003e014a26..."} 
[2026-11-04 07:38:52] local.INFO: Processing buffer {"connection_id":228744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a44f0ed8012d3be90006a66a18003e014a26..."} 
[2026-11-04 07:38:52] local.INFO: Packet analysis {"connection_id":228744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:52] local.INFO: Extracted packet for processing {"connection_id":228744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a44f"} 
[2026-11-04 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758900992,"raw_latitude":111569432,"longitude_deg":75.8900992,"latitude_deg":11.1569432,"altitude":62,"angle":330,"satellites":38,"speed":59,"hex_longitude":"2d3be900","hex_latitude":"06a66a18","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202048256001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20113576660303872,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4322259402184468480,"note":"Value kept but may cause issues"} 
[2026-11-04 07:38:52] 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-11-04 07:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793758007000,"timestamp_ms":1793758007000,"timestamp_seconds":1793758007,"priority":1,"record_length":96,"hex_timestamp":"000001a1a44f0ed8"} 
[2026-11-04 07:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 07:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.214.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202048256001,"66":28256,"11":206,"19":48128,"24":59,"16":20113576660303872,"45":4322259402184468480},"client_ip":"117.225.214.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-11-04 07:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202048256001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:38:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 07:38:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 07:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20113576660303872,"km_value":20113576660303.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4322259402184468480,"description":"Unknown IO ID 45"} 
[2026-11-04 07:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202048256001,"power":28256,"unknown_11":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4322259402184468480}} 
[2026-11-04 07:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":228744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:38:53] local.INFO: GPS data processed {"connection_id":228744,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:38:53] local.INFO: Acknowledgment sent {"connection_id":228744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:39:16] local.INFO: TCP Data received {"connection_id":232358,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45085d8012cfc5640070676b0000a00672e..."} 
[2026-11-04 07:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45085d8012cfc5640070676b0000a00672e..."} 
[2026-11-04 07:39:16] local.INFO: Processing buffer {"connection_id":232358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45085d8012cfc5640070676b0000a00672e..."} 
[2026-11-04 07:39:16] local.INFO: Packet analysis {"connection_id":232358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a450"} 
[2026-11-04 07:39:16] local.INFO: Extracted packet for processing {"connection_id":232358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a450"} 
[2026-11-04 07:39:16] local.INFO: GPS Element Parsed {"raw_longitude":754734656,"raw_latitude":117864112,"longitude_deg":75.4734656,"latitude_deg":11.7864112,"altitude":10,"angle":103,"satellites":46,"speed":57,"hex_longitude":"2cfc5640","hex_latitude":"070676b0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202072576001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38433038106886144,"note":"Value kept but may cause issues"} 
[2026-11-04 07:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-275141759560962048,"note":"Value kept but may cause issues"} 
[2026-11-04 07:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793758103000,"timestamp_ms":1793758103000,"timestamp_seconds":1793758103,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45085d8"} 
[2026-11-04 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-11-04 07:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 07:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 07:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:39:16] 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-11-04 07:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202072576001,"66":27789,"213":206,"94":10240,"24":57,"16":38433038106886144,"44":-275141759560962048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-11-04 07:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202072576001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:39:16] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 07:39:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38433038106886144,"km_value":38433038106886.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-275141759560962048,"description":"Unknown IO ID 44"} 
[2026-11-04 07:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202072576001,"power":27789,"unknown_213":206,"unknown_94":10240,"ignition":57,"odometer":null,"unknown_44":-275141759560962048}} 
[2026-11-04 07:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":232358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:39:16] local.INFO: GPS data processed {"connection_id":232358,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:39:16] local.INFO: Acknowledgment sent {"connection_id":232358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:39:34] local.INFO: TCP Data received {"connection_id":229245,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:39:34] local.INFO: Processing buffer {"connection_id":229245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:39:34] local.INFO: IMEI packet received {"connection_id":229245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":229245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:39:40] local.INFO: TCP Data received {"connection_id":229245,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:39:40] local.INFO: Processing buffer {"connection_id":229245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:39:40] local.INFO: IMEI packet received {"connection_id":229245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":229245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:39:44] local.INFO: TCP Data received {"connection_id":229245,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a450a130012cfc7bc007066b18000b006d30..."} 
[2026-11-04 07:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a450a130012cfc7bc007066b18000b006d30..."} 
[2026-11-04 07:39:44] local.INFO: Processing buffer {"connection_id":229245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a450a130012cfc7bc007066b18000b006d30..."} 
[2026-11-04 07:39:44] local.INFO: Packet analysis {"connection_id":229245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a450"} 
[2026-11-04 07:39:44] local.INFO: Extracted packet for processing {"connection_id":229245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a450"} 
[2026-11-04 07:39:44] local.INFO: GPS Element Parsed {"raw_longitude":754744256,"raw_latitude":117861144,"longitude_deg":75.4744256,"latitude_deg":11.7861144,"altitude":11,"angle":109,"satellites":48,"speed":56,"hex_longitude":"2cfc7bc0","hex_latitude":"07066b18","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202074368001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38433519143223296,"note":"Value kept but may cause issues"} 
[2026-11-04 07:39:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-263953129237204992,"note":"Value kept but may cause issues"} 
[2026-11-04 07:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793758110000,"timestamp_ms":1793758110000,"timestamp_seconds":1793758110,"priority":1,"record_length":96,"hex_timestamp":"000001a1a450a130"} 
[2026-11-04 07:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 07:39: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-11-04 07: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-11-04 07:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202074368001,"66":27843,"213":206,"94":10240,"24":56,"16":38433519143223296,"44":-263953129237204992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-11-04 07:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202074368001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:39:44] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 07:39:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38433519143223296,"km_value":38433519143223.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:39:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-263953129237204992,"description":"Unknown IO ID 44"} 
[2026-11-04 07:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202074368001,"power":27843,"unknown_213":206,"unknown_94":10240,"ignition":56,"odometer":null,"unknown_44":-263953129237204992}} 
[2026-11-04 07:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":229245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:39:44] local.INFO: GPS data processed {"connection_id":229245,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:39:44] local.INFO: Acknowledgment sent {"connection_id":229245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:40:03] local.INFO: TCP Data received {"connection_id":230506,"ip":"117.225.214.33","data_length":68,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230506,"packet_length":68,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 07:40:03] local.INFO: Processing buffer {"connection_id":230506,"buffer_length":68,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 07:40:03] local.INFO: IMEI packet received {"connection_id":230506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":230506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:40:15] local.INFO: TCP Data received {"connection_id":229245,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a450bc88012cfca10007065b00000b007431..."} 
[2026-11-04 07:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a450bc88012cfca10007065b00000b007431..."} 
[2026-11-04 07:40:15] local.INFO: Processing buffer {"connection_id":229245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a450bc88012cfca10007065b00000b007431..."} 
[2026-11-04 07:40:15] local.INFO: Packet analysis {"connection_id":229245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a450"} 
[2026-11-04 07:40:15] local.INFO: Extracted packet for processing {"connection_id":229245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a450"} 
[2026-11-04 07:40:15] local.INFO: GPS Element Parsed {"raw_longitude":754753792,"raw_latitude":117857024,"longitude_deg":75.4753792,"latitude_deg":11.7857024,"altitude":11,"angle":116,"satellites":49,"speed":59,"hex_longitude":"2cfca100","hex_latitude":"07065b00","is_valid_coordinates":true} 
[2026-11-04 07:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202076160001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38434013064462336,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-253397817611315200,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793758117000,"timestamp_ms":1793758117000,"timestamp_seconds":1793758117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a450bc88"} 
[2026-11-04 07:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202076160001,"66":27767,"213":206,"94":10240,"24":59,"16":38434013064462336,"44":-253397817611315200},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-11-04 07:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202076160001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:40:15] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 07:40:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38434013064462336,"km_value":38434013064462.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-253397817611315200,"description":"Unknown IO ID 44"} 
[2026-11-04 07:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202076160001,"power":27767,"unknown_213":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-253397817611315200}} 
[2026-11-04 07:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":229245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:40:15] local.INFO: GPS data processed {"connection_id":229245,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:40:15] local.INFO: Acknowledgment sent {"connection_id":229245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:40:35] local.INFO: TCP Data received {"connection_id":228745,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:35] local.INFO: Processing buffer {"connection_id":228745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:35] local.INFO: IMEI packet received {"connection_id":228745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":228745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:40:40] local.INFO: TCP Data received {"connection_id":228745,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:40] local.INFO: Processing buffer {"connection_id":228745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:40] local.INFO: IMEI packet received {"connection_id":228745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":228745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:40:43] local.INFO: TCP Data received {"connection_id":228745,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:43] local.INFO: Processing buffer {"connection_id":228745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:40:43] local.INFO: IMEI packet received {"connection_id":228745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":228745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:40:43] local.INFO: TCP Data received {"connection_id":228745,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a451dd98012cfde040070553d0000d008330..."} 
[2026-11-04 07:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a451dd98012cfde040070553d0000d008330..."} 
[2026-11-04 07:40:43] local.INFO: Processing buffer {"connection_id":228745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a451dd98012cfde040070553d0000d008330..."} 
[2026-11-04 07:40:43] local.INFO: Packet analysis {"connection_id":228745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a451"} 
[2026-11-04 07:40:43] local.INFO: Extracted packet for processing {"connection_id":228745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a451"} 
[2026-11-04 07:40:43] local.INFO: GPS Element Parsed {"raw_longitude":754835520,"raw_latitude":117789648,"longitude_deg":75.483552,"latitude_deg":11.7789648,"altitude":13,"angle":131,"satellites":48,"speed":53,"hex_longitude":"2cfde040","hex_latitude":"070553d0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202095104001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38439094010773504,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-160933287778557952,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793758191000,"timestamp_ms":1793758191000,"timestamp_seconds":1793758191,"priority":1,"record_length":96,"hex_timestamp":"000001a1a451dd98"} 
[2026-11-04 07:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:40:43] 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-11-04 07: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-11-04 07:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202095104001,"66":27843,"213":206,"94":10240,"24":53,"16":38439094010773504,"44":-160933287778557952},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-11-04 07:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202095104001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:40:43] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 07:40:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38439094010773504,"km_value":38439094010773.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:40:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-160933287778557952,"description":"Unknown IO ID 44"} 
[2026-11-04 07:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202095104001,"power":27843,"unknown_213":206,"unknown_94":10240,"ignition":53,"odometer":null,"unknown_44":-160933287778557952}} 
[2026-11-04 07:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":228745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:40:43] local.INFO: GPS data processed {"connection_id":228745,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:40:43] local.INFO: Acknowledgment sent {"connection_id":228745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:40:45] local.INFO: TCP Data received {"connection_id":228745,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a451f8f0012cfdfc8007053b30000c008231..."} 
[2026-11-04 07:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a451f8f0012cfdfc8007053b30000c008231..."} 
[2026-11-04 07:40:45] local.INFO: Processing buffer {"connection_id":228745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a451f8f0012cfdfc8007053b30000c008231..."} 
[2026-11-04 07:40:45] local.INFO: Packet analysis {"connection_id":228745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a451"} 
[2026-11-04 07:40:45] local.INFO: Extracted packet for processing {"connection_id":228745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a451"} 
[2026-11-04 07:40:45] local.INFO: GPS Element Parsed {"raw_longitude":754842752,"raw_latitude":117783344,"longitude_deg":75.4842752,"latitude_deg":11.7783344,"altitude":12,"angle":130,"satellites":49,"speed":55,"hex_longitude":"2cfdfc80","hex_latitude":"07053b30","is_valid_coordinates":true} 
[2026-11-04 07:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202096896001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38439553572274176,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-153051988432269312,"note":"Value kept but may cause issues"} 
[2026-11-04 07:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793758198000,"timestamp_ms":1793758198000,"timestamp_seconds":1793758198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a451f8f0"} 
[2026-11-04 07:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202096896001,"66":27800,"213":206,"94":10240,"24":55,"16":38439553572274176,"44":-153051988432269312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-11-04 07:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202096896001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:40:45] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 07:40:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38439553572274176,"km_value":38439553572274.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-153051988432269312,"description":"Unknown IO ID 44"} 
[2026-11-04 07:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202096896001,"power":27800,"unknown_213":206,"unknown_94":10240,"ignition":55,"odometer":null,"unknown_44":-153051988432269312}} 
[2026-11-04 07:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":228745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:40:45] local.INFO: GPS data processed {"connection_id":228745,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:40:45] local.INFO: Acknowledgment sent {"connection_id":228745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:41:15] local.INFO: TCP Data received {"connection_id":228745,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4521448012cfe1a4007052148000a008430..."} 
[2026-11-04 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4521448012cfe1a4007052148000a008430..."} 
[2026-11-04 07:41:15] local.INFO: Processing buffer {"connection_id":228745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4521448012cfe1a4007052148000a008430..."} 
[2026-11-04 07:41:15] local.INFO: Packet analysis {"connection_id":228745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:41:15] local.INFO: Extracted packet for processing {"connection_id":228745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":754850368,"raw_latitude":117776712,"longitude_deg":75.4850368,"latitude_deg":11.7776712,"altitude":10,"angle":132,"satellites":48,"speed":58,"hex_longitude":"2cfe1a40","hex_latitude":"07052148","is_valid_coordinates":true} 
[2026-11-04 07:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202098688001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38440038903578624,"note":"Value kept but may cause issues"} 
[2026-11-04 07:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-145100320341807104,"note":"Value kept but may cause issues"} 
[2026-11-04 07:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793758205000,"timestamp_ms":1793758205000,"timestamp_seconds":1793758205,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4521448"} 
[2026-11-04 07:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:41:15] 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-11-04 07:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202098688001,"66":27843,"213":206,"94":10240,"24":58,"16":38440038903578624,"44":-145100320341807104},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-11-04 07:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202098688001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:41:15] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 07:41:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38440038903578624,"km_value":38440038903578.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-145100320341807104,"description":"Unknown IO ID 44"} 
[2026-11-04 07:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202098688001,"power":27843,"unknown_213":206,"unknown_94":10240,"ignition":58,"odometer":null,"unknown_44":-145100320341807104}} 
[2026-11-04 07:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":228745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:41:15] local.INFO: GPS data processed {"connection_id":228745,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:41:15] local.INFO: Acknowledgment sent {"connection_id":228745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:41:33] local.INFO: TCP Data received {"connection_id":228746,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:33] local.INFO: Processing buffer {"connection_id":228746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:33] local.INFO: IMEI packet received {"connection_id":228746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":228746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:41:34] local.INFO: TCP Data received {"connection_id":228746,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:34] local.INFO: Processing buffer {"connection_id":228746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:34] local.INFO: IMEI packet received {"connection_id":228746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":228746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:41:39] local.INFO: TCP Data received {"connection_id":228746,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:39] local.INFO: Processing buffer {"connection_id":228746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:41:39] local.INFO: IMEI packet received {"connection_id":228746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":228746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:41:39] local.INFO: TCP Data received {"connection_id":228746,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4522fa0012cfe3900070506a0000900822f..."} 
[2026-11-04 07:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4522fa0012cfe3900070506a0000900822f..."} 
[2026-11-04 07:41:39] local.INFO: Processing buffer {"connection_id":228746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4522fa0012cfe3900070506a0000900822f..."} 
[2026-11-04 07:41:39] local.INFO: Packet analysis {"connection_id":228746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:41:39] local.INFO: Extracted packet for processing {"connection_id":228746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":754858240,"raw_latitude":117769888,"longitude_deg":75.485824,"latitude_deg":11.7769888,"altitude":9,"angle":130,"satellites":47,"speed":59,"hex_longitude":"2cfe3900","hex_latitude":"070506a0","is_valid_coordinates":true} 
[2026-11-04 07:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202100480001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38440537119784960,"note":"Value kept but may cause issues"} 
[2026-11-04 07:41:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-136726439786362880,"note":"Value kept but may cause issues"} 
[2026-11-04 07:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793758212000,"timestamp_ms":1793758212000,"timestamp_seconds":1793758212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4522fa0"} 
[2026-11-04 07:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":228746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":228746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":228746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202100480001,"66":27876,"213":206,"94":10240,"24":59,"16":38440537119784960,"44":-136726439786362880},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,94,24,16,44]} 
[2026-11-04 07:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202100480001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:41:39] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 07:41:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38440537119784960,"km_value":38440537119784.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:41:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-136726439786362880,"description":"Unknown IO ID 44"} 
[2026-11-04 07:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202100480001,"power":27876,"unknown_213":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_44":-136726439786362880}} 
[2026-11-04 07:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":228746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:41:39] local.INFO: GPS data processed {"connection_id":228746,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:41:39] local.INFO: Acknowledgment sent {"connection_id":228746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:42:11] local.INFO: TCP Data received {"connection_id":228746,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4524710012cfe54c00704f0980009007f31..."} 
[2026-11-04 07:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4524710012cfe54c00704f0980009007f31..."} 
[2026-11-04 07:42:11] local.INFO: Processing buffer {"connection_id":228746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4524710012cfe54c00704f0980009007f31..."} 
[2026-11-04 07:42:11] local.INFO: Packet analysis {"connection_id":228746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:42:11] local.INFO: Extracted packet for processing {"connection_id":228746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:42:11] local.INFO: GPS Element Parsed {"raw_longitude":754865344,"raw_latitude":117764248,"longitude_deg":75.4865344,"latitude_deg":11.7764248,"altitude":9,"angle":127,"satellites":49,"speed":58,"hex_longitude":"2cfe54c0","hex_latitude":"0704f098","is_valid_coordinates":true} 
[2026-11-04 07:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202102272001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38440970911481856,"note":"Value kept but may cause issues"} 
[2026-11-04 07:42:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-128071084254257152,"note":"Value kept but may cause issues"} 
[2026-11-04 07:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793758218000,"timestamp_ms":1793758218000,"timestamp_seconds":1793758218,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4524710"} 
[2026-11-04 07:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 07:42: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-11-04 07:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202102272001,"66":27745,"212":206,"94":10240,"24":58,"16":38440970911481856,"44":-128071084254257152},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-11-04 07:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202102272001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38440970911481856,"km_value":38440970911481.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:42:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-128071084254257152,"description":"Unknown IO ID 44"} 
[2026-11-04 07:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202102272001,"power":27745,"unknown_212":206,"unknown_94":10240,"ignition":58,"odometer":null,"unknown_44":-128071084254257152}} 
[2026-11-04 07:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":228746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:42:11] local.INFO: GPS data processed {"connection_id":228746,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:42:11] local.INFO: Acknowledgment sent {"connection_id":228746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:42:35] local.INFO: TCP Data received {"connection_id":230509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:35] local.INFO: Processing buffer {"connection_id":230509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:35] local.INFO: IMEI packet received {"connection_id":230509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":230509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:42:35] local.INFO: TCP Data received {"connection_id":230509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:35] local.INFO: Processing buffer {"connection_id":230509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:35] local.INFO: IMEI packet received {"connection_id":230509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":230509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:42:40] local.INFO: TCP Data received {"connection_id":230509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:40] local.INFO: Processing buffer {"connection_id":230509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:42:40] local.INFO: IMEI packet received {"connection_id":230509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":230509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:42:41] local.INFO: TCP Data received {"connection_id":230509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4526650012cfe79000704d518000a007f30..."} 
[2026-11-04 07:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4526650012cfe79000704d518000a007f30..."} 
[2026-11-04 07:42:41] local.INFO: Processing buffer {"connection_id":230509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4526650012cfe79000704d518000a007f30..."} 
[2026-11-04 07:42:41] local.INFO: Packet analysis {"connection_id":230509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:42:41] local.INFO: Extracted packet for processing {"connection_id":230509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a452"} 
[2026-11-04 07:42:41] local.INFO: GPS Element Parsed {"raw_longitude":754874624,"raw_latitude":117757208,"longitude_deg":75.4874624,"latitude_deg":11.7757208,"altitude":10,"angle":127,"satellites":48,"speed":57,"hex_longitude":"2cfe7900","hex_latitude":"0704d518","is_valid_coordinates":true} 
[2026-11-04 07:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202103808001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38441529257230336,"note":"Value kept but may cause issues"} 
[2026-11-04 07:42:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-120260153651980288,"note":"Value kept but may cause issues"} 
[2026-11-04 07:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,94,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793758226000,"timestamp_ms":1793758226000,"timestamp_seconds":1793758226,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4526650"} 
[2026-11-04 07:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202103808001,"66":27832,"212":206,"94":10240,"24":57,"16":38441529257230336,"44":-120260153651980288},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,94,24,16,44]} 
[2026-11-04 07:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202103808001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:42:41] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 07:42:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38441529257230336,"km_value":38441529257230.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:42:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-120260153651980288,"description":"Unknown IO ID 44"} 
[2026-11-04 07:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202103808001,"power":27832,"unknown_212":206,"unknown_94":10240,"ignition":57,"odometer":null,"unknown_44":-120260153651980288}} 
[2026-11-04 07:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":230509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:42:41] local.INFO: GPS data processed {"connection_id":230509,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:42:41] local.INFO: Acknowledgment sent {"connection_id":230509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:43:12] local.INFO: TCP Data received {"connection_id":230509,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4541bd0012d0021800703f5f0000b006e32..."} 
[2026-11-04 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4541bd0012d0021800703f5f0000b006e32..."} 
[2026-11-04 07:43:12] local.INFO: Processing buffer {"connection_id":230509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4541bd0012d0021800703f5f0000b006e32..."} 
[2026-11-04 07:43:12] local.INFO: Packet analysis {"connection_id":230509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a454"} 
[2026-11-04 07:43:12] local.INFO: Extracted packet for processing {"connection_id":230509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a454"} 
[2026-11-04 07:43:12] local.INFO: GPS Element Parsed {"raw_longitude":754983296,"raw_latitude":117700080,"longitude_deg":75.4983296,"latitude_deg":11.770008,"altitude":11,"angle":110,"satellites":50,"speed":59,"hex_longitude":"2d002180","hex_latitude":"0703f5f0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202132992001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38447447722164224,"note":"Value kept but may cause issues"} 
[2026-11-04 07:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":30132031488,"note":"Value kept but may cause issues"} 
[2026-11-04 07:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793758338000,"timestamp_ms":1793758338000,"timestamp_seconds":1793758338,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4541bd0"} 
[2026-11-04 07:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":4,"data_length":795,"current_offset":136} 
[2026-11-04 07:43: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-11-04 07: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-11-04 07:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202132992001,"66":27789,"89":206,"94":10240,"24":59,"16":38447447722164224,"45":30132031488},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-11-04 07:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202132992001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:43:12] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-11-04 07:43:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38447447722164224,"km_value":38447447722164.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":30132031488,"description":"Unknown IO ID 45"} 
[2026-11-04 07:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202132992001,"power":27789,"unknown_89":206,"unknown_94":10240,"ignition":59,"odometer":null,"unknown_45":30132031488}} 
[2026-11-04 07:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":230509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:43:12] local.INFO: GPS data processed {"connection_id":230509,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:43:12] local.INFO: Acknowledgment sent {"connection_id":230509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:43:34] local.INFO: TCP Data received {"connection_id":228747,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:43:34] local.INFO: Processing buffer {"connection_id":228747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:43:34] local.INFO: IMEI packet received {"connection_id":228747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":228747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:44:06] local.INFO: TCP Data received {"connection_id":228747,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:06] local.INFO: Processing buffer {"connection_id":228747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:06] local.INFO: IMEI packet received {"connection_id":228747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":228747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:44:16] local.INFO: TCP Data received {"connection_id":228747,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:16] local.INFO: Processing buffer {"connection_id":228747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:16] local.INFO: IMEI packet received {"connection_id":228747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":228747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:44:17] local.INFO: TCP Data received {"connection_id":228747,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4543728012d0048000703e7e8000d006e32..."} 
[2026-11-04 07:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4543728012d0048000703e7e8000d006e32..."} 
[2026-11-04 07:44:17] local.INFO: Processing buffer {"connection_id":228747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4543728012d0048000703e7e8000d006e32..."} 
[2026-11-04 07:44:17] local.INFO: Packet analysis {"connection_id":228747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a454"} 
[2026-11-04 07:44:17] local.INFO: Extracted packet for processing {"connection_id":228747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a454"} 
[2026-11-04 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":754993152,"raw_latitude":117696488,"longitude_deg":75.4993152,"latitude_deg":11.7696488,"altitude":13,"angle":110,"satellites":50,"speed":57,"hex_longitude":"2d004800","hex_latitude":"0703e7e8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202134528001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38447950233337856,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9429441851027456,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793758345000,"timestamp_ms":1793758345000,"timestamp_seconds":1793758345,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4543728"} 
[2026-11-04 07:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 07:44: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-11-04 07: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-11-04 07:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:44:17] 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-11-04 07:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202134528001,"66":27843,"89":206,"94":10240,"24":57,"16":38447950233337856,"45":9429441851027456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-11-04 07:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202134528001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:44:17] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-11-04 07:44:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38447950233337856,"km_value":38447950233337.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9429441851027456,"description":"Unknown IO ID 45"} 
[2026-11-04 07:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202134528001,"power":27843,"unknown_89":206,"unknown_94":10240,"ignition":57,"odometer":null,"unknown_45":9429441851027456}} 
[2026-11-04 07:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":228747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:44:17] local.INFO: GPS data processed {"connection_id":228747,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:44:17] local.INFO: Acknowledgment sent {"connection_id":228747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:44:19] local.INFO: TCP Data received {"connection_id":228747,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4545280012d006c800703da90000f006e31..."} 
[2026-11-04 07:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4545280012d006c800703da90000f006e31..."} 
[2026-11-04 07:44:19] local.INFO: Processing buffer {"connection_id":228747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4545280012d006c800703da90000f006e31..."} 
[2026-11-04 07:44:19] local.INFO: Packet analysis {"connection_id":228747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a454"} 
[2026-11-04 07:44:19] local.INFO: Extracted packet for processing {"connection_id":228747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a454"} 
[2026-11-04 07:44:19] local.INFO: GPS Element Parsed {"raw_longitude":755002496,"raw_latitude":117693072,"longitude_deg":75.5002496,"latitude_deg":11.7693072,"altitude":15,"angle":110,"satellites":49,"speed":54,"hex_longitude":"2d006c80","hex_latitude":"0703da90","is_valid_coordinates":true} 
[2026-11-04 07:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202136320001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38448422679740416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":20266228453468160,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793758352000,"timestamp_ms":1793758352000,"timestamp_seconds":1793758352,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4545280"} 
[2026-11-04 07:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":228747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":228747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":228747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:44:19] 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-11-04 07:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202136320001,"66":27876,"89":206,"94":10240,"24":54,"16":38448422679740416,"45":20266228453468160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,94,24,16,45]} 
[2026-11-04 07:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202136320001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:44:19] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-11-04 07:44:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 07:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38448422679740416,"km_value":38448422679740.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":20266228453468160,"description":"Unknown IO ID 45"} 
[2026-11-04 07:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202136320001,"power":27876,"unknown_89":206,"unknown_94":10240,"ignition":54,"odometer":null,"unknown_45":20266228453468160}} 
[2026-11-04 07:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":228747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:44:19] local.INFO: GPS data processed {"connection_id":228747,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:44:19] local.INFO: Acknowledgment sent {"connection_id":228747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:44:35] local.INFO: TCP Data received {"connection_id":230510,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:35] local.INFO: Processing buffer {"connection_id":230510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:35] local.INFO: IMEI packet received {"connection_id":230510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":230510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:44:36] local.INFO: TCP Data received {"connection_id":230510,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:36] local.INFO: Processing buffer {"connection_id":230510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:36] local.INFO: IMEI packet received {"connection_id":230510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":230510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:44:40] local.INFO: TCP Data received {"connection_id":230510,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:40] local.INFO: Processing buffer {"connection_id":230510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:44:40] local.INFO: IMEI packet received {"connection_id":230510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":230510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:44:40] local.INFO: TCP Data received {"connection_id":230510,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4556fa8012d01e34007033530000e008b2a..."} 
[2026-11-04 07:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4556fa8012d01e34007033530000e008b2a..."} 
[2026-11-04 07:44:40] local.INFO: Processing buffer {"connection_id":230510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4556fa8012d01e34007033530000e008b2a..."} 
[2026-11-04 07:44:40] local.INFO: Packet analysis {"connection_id":230510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:44:40] local.INFO: Extracted packet for processing {"connection_id":230510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:44:40] local.INFO: GPS Element Parsed {"raw_longitude":755098432,"raw_latitude":117650736,"longitude_deg":75.5098432,"latitude_deg":11.7650736,"altitude":14,"angle":139,"satellites":42,"speed":51,"hex_longitude":"2d01e340","hex_latitude":"07033530","is_valid_coordinates":true} 
[2026-11-04 07:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202155008001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38453473561280512,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":128774831965440000,"note":"Value kept but may cause issues"} 
[2026-11-04 07:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793758425000,"timestamp_ms":1793758425000,"timestamp_seconds":1793758425,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4556fa8"} 
[2026-11-04 07:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202155008001,"66":27865,"79":206,"94":11008,"24":51,"16":38453473561280512,"45":128774831965440000},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-11-04 07:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202155008001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:44:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 07:44:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38453473561280512,"km_value":38453473561280.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":128774831965440000,"description":"Unknown IO ID 45"} 
[2026-11-04 07:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202155008001,"power":27865,"unknown_79":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":128774831965440000}} 
[2026-11-04 07:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":230510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:44:40] local.INFO: GPS data processed {"connection_id":230510,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:44:40] local.INFO: Acknowledgment sent {"connection_id":230510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:45:11] local.INFO: TCP Data received {"connection_id":230510,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4558b00012d01f800070318d0000f00942b..."} 
[2026-11-04 07:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4558b00012d01f800070318d0000f00942b..."} 
[2026-11-04 07:45:11] local.INFO: Processing buffer {"connection_id":230510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4558b00012d01f800070318d0000f00942b..."} 
[2026-11-04 07:45:11] local.INFO: Packet analysis {"connection_id":230510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:45:11] local.INFO: Extracted packet for processing {"connection_id":230510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:45:11] local.INFO: GPS Element Parsed {"raw_longitude":755103744,"raw_latitude":117643472,"longitude_deg":75.5103744,"latitude_deg":11.7643472,"altitude":15,"angle":148,"satellites":43,"speed":51,"hex_longitude":"2d01f800","hex_latitude":"070318d0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202156800001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38453907352977408,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":136022812614012928,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793758432000,"timestamp_ms":1793758432000,"timestamp_seconds":1793758432,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4558b00"} 
[2026-11-04 07:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202156800001,"66":27832,"79":206,"94":11008,"24":51,"16":38453907352977408,"45":136022812614012928},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-11-04 07:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202156800001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:45:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 07:45:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38453907352977408,"km_value":38453907352977.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":136022812614012928,"description":"Unknown IO ID 45"} 
[2026-11-04 07:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202156800001,"power":27832,"unknown_79":206,"unknown_94":11008,"ignition":51,"odometer":null,"unknown_45":136022812614012928}} 
[2026-11-04 07:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":230510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:45:11] local.INFO: GPS data processed {"connection_id":230510,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:45:11] local.INFO: Acknowledgment sent {"connection_id":230510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:45:39] local.INFO: TCP Data received {"connection_id":232360,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:39] local.INFO: Processing buffer {"connection_id":232360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:39] local.INFO: IMEI packet received {"connection_id":232360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":232360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:45:40] local.INFO: TCP Data received {"connection_id":232359,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:40] local.INFO: Processing buffer {"connection_id":232359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:40] local.INFO: IMEI packet received {"connection_id":232359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":232359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:45:40] local.INFO: TCP Data received {"connection_id":232359,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:40] local.INFO: Processing buffer {"connection_id":232359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:40] local.INFO: IMEI packet received {"connection_id":232359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":232359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:45:44] local.INFO: TCP Data received {"connection_id":232360,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:44] local.INFO: Processing buffer {"connection_id":232360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:44] local.INFO: IMEI packet received {"connection_id":232360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":232360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:45:45] local.INFO: TCP Data received {"connection_id":232359,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:45] local.INFO: Processing buffer {"connection_id":232359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:45:45] local.INFO: IMEI packet received {"connection_id":232359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":232359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:45:46] local.INFO: TCP Data received {"connection_id":232359,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a455a658012d0207c00702f9080010009f31..."} 
[2026-11-04 07:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a455a658012d0207c00702f9080010009f31..."} 
[2026-11-04 07:45:46] local.INFO: Processing buffer {"connection_id":232359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a455a658012d0207c00702f9080010009f31..."} 
[2026-11-04 07:45:46] local.INFO: Packet analysis {"connection_id":232359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:45:46] local.INFO: Extracted packet for processing {"connection_id":232359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:45:46] local.INFO: GPS Element Parsed {"raw_longitude":755107776,"raw_latitude":117635336,"longitude_deg":75.5107776,"latitude_deg":11.7635336,"altitude":16,"angle":159,"satellites":49,"speed":52,"hex_longitude":"2d0207c0","hex_latitude":"0702f908","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202158592001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38454345439641600,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":141863418378899456,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793758439000,"timestamp_ms":1793758439000,"timestamp_seconds":1793758439,"priority":1,"record_length":96,"hex_timestamp":"000001a1a455a658"} 
[2026-11-04 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-11-04 07:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 07:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 07:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202158592001,"66":27821,"79":206,"94":11008,"24":52,"16":38454345439641600,"45":141863418378899456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-11-04 07:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202158592001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:45:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 07:45:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38454345439641600,"km_value":38454345439641.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":141863418378899456,"description":"Unknown IO ID 45"} 
[2026-11-04 07:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202158592001,"power":27821,"unknown_79":206,"unknown_94":11008,"ignition":52,"odometer":null,"unknown_45":141863418378899456}} 
[2026-11-04 07:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":232359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:45:46] local.INFO: GPS data processed {"connection_id":232359,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:45:46] local.INFO: Acknowledgment sent {"connection_id":232359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:45:47] local.INFO: TCP Data received {"connection_id":232360,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:47] local.INFO: Processing buffer {"connection_id":232360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:47] local.INFO: IMEI packet received {"connection_id":232360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":232360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:45:47] local.INFO: TCP Data received {"connection_id":232359,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a455c1b0012d0214000702d5c0000f00a231..."} 
[2026-11-04 07:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a455c1b0012d0214000702d5c0000f00a231..."} 
[2026-11-04 07:45:47] local.INFO: Processing buffer {"connection_id":232359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a455c1b0012d0214000702d5c0000f00a231..."} 
[2026-11-04 07:45:47] local.INFO: Packet analysis {"connection_id":232359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:45:47] local.INFO: Extracted packet for processing {"connection_id":232359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a455"} 
[2026-11-04 07:45:47] local.INFO: GPS Element Parsed {"raw_longitude":755110912,"raw_latitude":117626304,"longitude_deg":75.5110912,"latitude_deg":11.7626304,"altitude":15,"angle":162,"satellites":49,"speed":56,"hex_longitude":"2d021400","hex_latitude":"0702d5c0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202160384001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38454809296109568,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":146296649260009472,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793758446000,"timestamp_ms":1793758446000,"timestamp_seconds":1793758446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a455c1b0"} 
[2026-11-04 07:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 07:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202160384001,"66":27843,"79":206,"94":11008,"24":56,"16":38454809296109568,"45":146296649260009472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-11-04 07:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202160384001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:45:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 07:45:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38454809296109568,"km_value":38454809296109.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":146296649260009472,"description":"Unknown IO ID 45"} 
[2026-11-04 07:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202160384001,"power":27843,"unknown_79":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":146296649260009472}} 
[2026-11-04 07:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":232359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:45:47] local.INFO: GPS data processed {"connection_id":232359,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:45:47] local.INFO: Acknowledgment sent {"connection_id":232359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:45:52] local.INFO: TCP Data received {"connection_id":232360,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:52] local.INFO: Processing buffer {"connection_id":232360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:45:52] local.INFO: IMEI packet received {"connection_id":232360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":232360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:45:54] local.INFO: TCP Data received {"connection_id":232360,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4565df0012d375a8006aecf98000e01472b..."} 
[2026-11-04 07:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4565df0012d375a8006aecf98000e01472b..."} 
[2026-11-04 07:45:54] local.INFO: Processing buffer {"connection_id":232360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4565df0012d375a8006aecf98000e01472b..."} 
[2026-11-04 07:45:54] local.INFO: Packet analysis {"connection_id":232360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:45:54] local.INFO: Extracted packet for processing {"connection_id":232360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:45:54] local.INFO: GPS Element Parsed {"raw_longitude":758602368,"raw_latitude":112119704,"longitude_deg":75.8602368,"latitude_deg":11.2119704,"altitude":14,"angle":327,"satellites":43,"speed":53,"hex_longitude":"2d375a80","hex_latitude":"06aecf98","is_valid_coordinates":true} 
[2026-11-04 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202170624001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20146042318094336,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3994411423201529856,"note":"Value kept but may cause issues"} 
[2026-11-04 07:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793758486000,"timestamp_ms":1793758486000,"timestamp_seconds":1793758486,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4565df0"} 
[2026-11-04 07:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 07:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232360,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202170624001,"66":28224,"181":206,"28":21760,"24":53,"16":20146042318094336,"45":3994411423201529856},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-11-04 07:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202170624001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:45:54] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 07:45:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20146042318094336,"km_value":20146042318094.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3994411423201529856,"description":"Unknown IO ID 45"} 
[2026-11-04 07:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202170624001,"power":28224,"unknown_181":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3994411423201529856}} 
[2026-11-04 07:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":232360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:45:54] local.INFO: GPS data processed {"connection_id":232360,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:45:54] local.INFO: Acknowledgment sent {"connection_id":232360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:46:10] local.INFO: TCP Data received {"connection_id":228748,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:10] local.INFO: Processing buffer {"connection_id":228748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:10] local.INFO: IMEI packet received {"connection_id":228748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":228748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:46:13] local.INFO: TCP Data received {"connection_id":228748,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:13] local.INFO: Processing buffer {"connection_id":228748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:13] local.INFO: IMEI packet received {"connection_id":228748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":228748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:46:14] local.INFO: TCP Data received {"connection_id":228748,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:14] local.INFO: Processing buffer {"connection_id":228748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:46:14] local.INFO: IMEI packet received {"connection_id":228748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":228748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:46:16] local.INFO: TCP Data received {"connection_id":228748,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4567d30012d37460006aef000001001472e..."} 
[2026-11-04 07:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4567d30012d37460006aef000001001472e..."} 
[2026-11-04 07:46:16] local.INFO: Processing buffer {"connection_id":228748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4567d30012d37460006aef000001001472e..."} 
[2026-11-04 07:46:16] local.INFO: Packet analysis {"connection_id":228748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:46:16] local.INFO: Extracted packet for processing {"connection_id":228748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758597120,"raw_latitude":112128000,"longitude_deg":75.859712,"latitude_deg":11.2128,"altitude":16,"angle":327,"satellites":46,"speed":40,"hex_longitude":"2d374600","hex_latitude":"06aef000","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202172416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20146519059464192,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3988641186180995072,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793758494000,"timestamp_ms":1793758494000,"timestamp_seconds":1793758494,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4567d30"} 
[2026-11-04 07:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 07:46: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-11-04 07: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-11-04 07:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202172416001,"66":28398,"181":206,"28":21760,"24":40,"16":20146519059464192,"45":3988641186180995072},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-11-04 07:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202172416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:46:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 07:46:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20146519059464192,"km_value":20146519059464.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3988641186180995072,"description":"Unknown IO ID 45"} 
[2026-11-04 07:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202172416001,"power":28398,"unknown_181":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":3988641186180995072}} 
[2026-11-04 07:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":228748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:46:16] local.INFO: GPS data processed {"connection_id":228748,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:46:16] local.INFO: Acknowledgment sent {"connection_id":228748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:46:24] local.INFO: TCP Data received {"connection_id":232359,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a456ee78012d02a24007012da00009009e31..."} 
[2026-11-04 07:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a456ee78012d02a24007012da00009009e31..."} 
[2026-11-04 07:46:24] local.INFO: Processing buffer {"connection_id":232359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a456ee78012d02a24007012da00009009e31..."} 
[2026-11-04 07:46:24] local.INFO: Packet analysis {"connection_id":232359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:46:24] local.INFO: Extracted packet for processing {"connection_id":232359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":755147328,"raw_latitude":117517728,"longitude_deg":75.5147328,"latitude_deg":11.7517728,"altitude":9,"angle":158,"satellites":49,"speed":60,"hex_longitude":"2d02a240","hex_latitude":"07012da0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202180352001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38460349803921408,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":186054989692481536,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793758523000,"timestamp_ms":1793758523000,"timestamp_seconds":1793758523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a456ee78"} 
[2026-11-04 07:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202180352001,"66":27887,"79":206,"94":11008,"24":60,"16":38460349803921408,"45":186054989692481536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-11-04 07:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202180352001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:46:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 07:46:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38460349803921408,"km_value":38460349803921.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":186054989692481536,"description":"Unknown IO ID 45"} 
[2026-11-04 07:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202180352001,"power":27887,"unknown_79":206,"unknown_94":11008,"ignition":60,"odometer":null,"unknown_45":186054989692481536}} 
[2026-11-04 07:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":232359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:46:24] local.INFO: GPS data processed {"connection_id":232359,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:46:24] local.INFO: Acknowledgment sent {"connection_id":232359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:46:35] local.INFO: TCP Data received {"connection_id":228749,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:35] local.INFO: Processing buffer {"connection_id":228749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:35] local.INFO: IMEI packet received {"connection_id":228749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":228749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:46:35] local.INFO: TCP Data received {"connection_id":228749,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:35] local.INFO: Processing buffer {"connection_id":228749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:35] local.INFO: IMEI packet received {"connection_id":228749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":228749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:46:40] local.INFO: TCP Data received {"connection_id":228749,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:40] local.INFO: Processing buffer {"connection_id":228749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:46:40] local.INFO: IMEI packet received {"connection_id":228749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":228749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:46:40] local.INFO: TCP Data received {"connection_id":228749,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45705e8012d02aec007010c78000600a131..."} 
[2026-11-04 07:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45705e8012d02aec007010c78000600a131..."} 
[2026-11-04 07:46:40] local.INFO: Processing buffer {"connection_id":228749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45705e8012d02aec007010c78000600a131..."} 
[2026-11-04 07:46:40] local.INFO: Packet analysis {"connection_id":228749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:46:40] local.INFO: Extracted packet for processing {"connection_id":228749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:46:40] local.INFO: GPS Element Parsed {"raw_longitude":755150528,"raw_latitude":117509240,"longitude_deg":75.5150528,"latitude_deg":11.750924,"altitude":6,"angle":161,"satellites":49,"speed":59,"hex_longitude":"2d02aec0","hex_latitude":"07010c78","is_valid_coordinates":true} 
[2026-11-04 07:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202181888001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38460787890585600,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":189784533131698176,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793758529000,"timestamp_ms":1793758529000,"timestamp_seconds":1793758529,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45705e8"} 
[2026-11-04 07:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 07:46:40] 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-11-04 07:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202181888001,"66":27800,"79":206,"94":11008,"24":59,"16":38460787890585600,"45":189784533131698176},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-11-04 07:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202181888001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:46:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 07:46:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38460787890585600,"km_value":38460787890585.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":189784533131698176,"description":"Unknown IO ID 45"} 
[2026-11-04 07:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202181888001,"power":27800,"unknown_79":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":189784533131698176}} 
[2026-11-04 07:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":228749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:46:40] local.INFO: GPS data processed {"connection_id":228749,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:46:40] local.INFO: Acknowledgment sent {"connection_id":228749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:46:57] local.INFO: TCP Data received {"connection_id":228748,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a456a058012d3733c006af0e00001001492d..."} 
[2026-11-04 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a456a058012d3733c006af0e00001001492d..."} 
[2026-11-04 07:46:57] local.INFO: Processing buffer {"connection_id":228748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a456a058012d3733c006af0e00001001492d..."} 
[2026-11-04 07:46:57] local.INFO: Packet analysis {"connection_id":228748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:46:57] local.INFO: Extracted packet for processing {"connection_id":228748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a456"} 
[2026-11-04 07:46:57] local.INFO: GPS Element Parsed {"raw_longitude":758592448,"raw_latitude":112135680,"longitude_deg":75.8592448,"latitude_deg":11.213568,"altitude":16,"angle":329,"satellites":45,"speed":40,"hex_longitude":"2d3733c0","hex_latitude":"06af0e00","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202174464001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20146952851161088,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3982870949160550400,"note":"Value kept but may cause issues"} 
[2026-11-04 07:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793758503000,"timestamp_ms":1793758503000,"timestamp_seconds":1793758503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a456a058"} 
[2026-11-04 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-11-04 07:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 07:46:57] 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-11-04 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-11-04 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-11-04 07:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":228748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":228748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":228748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202174464001,"66":28256,"181":206,"28":21760,"24":40,"16":20146952851161088,"45":3982870949160550400},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-11-04 07:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202174464001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:46:57] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 07:46:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20146952851161088,"km_value":20146952851161.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3982870949160550400,"description":"Unknown IO ID 45"} 
[2026-11-04 07:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202174464001,"power":28256,"unknown_181":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":3982870949160550400}} 
[2026-11-04 07:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":228748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:46:57] local.INFO: GPS data processed {"connection_id":228748,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:46:57] local.INFO: Acknowledgment sent {"connection_id":228748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:47:11] local.INFO: TCP Data received {"connection_id":228749,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4571d58012d02b9400700eb58000500a430..."} 
[2026-11-04 07:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4571d58012d02b9400700eb58000500a430..."} 
[2026-11-04 07:47:11] local.INFO: Processing buffer {"connection_id":228749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4571d58012d02b9400700eb58000500a430..."} 
[2026-11-04 07:47:11] local.INFO: Packet analysis {"connection_id":228749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:47:11] local.INFO: Extracted packet for processing {"connection_id":228749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":755153216,"raw_latitude":117500760,"longitude_deg":75.5153216,"latitude_deg":11.750076,"altitude":5,"angle":164,"satellites":48,"speed":58,"hex_longitude":"2d02b940","hex_latitude":"0700eb58","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202183424001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38461217387315200,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":193302970338408448,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793758535000,"timestamp_ms":1793758535000,"timestamp_seconds":1793758535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4571d58"} 
[2026-11-04 07:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:47:11] 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-11-04 07: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-11-04 07:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202183424001,"66":27745,"79":206,"94":11008,"24":58,"16":38461217387315200,"45":193302970338408448},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,94,24,16,45]} 
[2026-11-04 07:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202183424001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38461217387315200,"km_value":38461217387315.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":193302970338408448,"description":"Unknown IO ID 45"} 
[2026-11-04 07:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202183424001,"power":27745,"unknown_79":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":193302970338408448}} 
[2026-11-04 07:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":228749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:47:11] local.INFO: GPS data processed {"connection_id":228749,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:47:11] local.INFO: Acknowledgment sent {"connection_id":228749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:47:14] local.INFO: TCP Data received {"connection_id":232361,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:14] local.INFO: Processing buffer {"connection_id":232361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:14] local.INFO: IMEI packet received {"connection_id":232361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":232361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:47:14] local.INFO: TCP Data received {"connection_id":232361,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:14] local.INFO: Processing buffer {"connection_id":232361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:14] local.INFO: IMEI packet received {"connection_id":232361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":232361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:47:19] local.INFO: TCP Data received {"connection_id":232361,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232361,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:19] local.INFO: Processing buffer {"connection_id":232361,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:47:19] local.INFO: IMEI packet received {"connection_id":232361,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":232361,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:47:23] local.INFO: TCP Data received {"connection_id":232361,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a457d108012d36828006b08ce8000b01502a..."} 
[2026-11-04 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a457d108012d36828006b08ce8000b01502a..."} 
[2026-11-04 07:47:23] local.INFO: Processing buffer {"connection_id":232361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a457d108012d36828006b08ce8000b01502a..."} 
[2026-11-04 07:47:23] local.INFO: Packet analysis {"connection_id":232361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:47:23] local.INFO: Extracted packet for processing {"connection_id":232361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:47:23] local.INFO: GPS Element Parsed {"raw_longitude":758547072,"raw_latitude":112233704,"longitude_deg":75.8547072,"latitude_deg":11.2233704,"altitude":11,"angle":336,"satellites":42,"speed":58,"hex_longitude":"2d368280","hex_latitude":"06b08ce8","is_valid_coordinates":true} 
[2026-11-04 07:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202194944001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20152175531393024,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3932557297098207232,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793758581000,"timestamp_ms":1793758581000,"timestamp_seconds":1793758581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a457d108"} 
[2026-11-04 07:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:47: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-11-04 07:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202194944001,"66":28278,"181":206,"28":21760,"24":58,"16":20152175531393024,"45":3932557297098207232},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-11-04 07:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202194944001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:47:23] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 07:47:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20152175531393024,"km_value":20152175531393.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3932557297098207232,"description":"Unknown IO ID 45"} 
[2026-11-04 07:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202194944001,"power":28278,"unknown_181":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3932557297098207232}} 
[2026-11-04 07:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":232361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:47:23] local.INFO: GPS data processed {"connection_id":232361,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:47:23] local.INFO: Acknowledgment sent {"connection_id":232361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:47:35] local.INFO: TCP Data received {"connection_id":229248,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:35] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:35] local.INFO: IMEI packet received {"connection_id":229248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":229248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:47:35] local.INFO: TCP Data received {"connection_id":229248,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:35] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:35] local.INFO: IMEI packet received {"connection_id":229248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":229248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:47:40] local.INFO: TCP Data received {"connection_id":229248,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:40] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:47:40] local.INFO: IMEI packet received {"connection_id":229248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":229248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:47:41] local.INFO: TCP Data received {"connection_id":229248,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4582ae0012d033b0006ff71880008009031..."} 
[2026-11-04 07:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4582ae0012d033b0006ff71880008009031..."} 
[2026-11-04 07:47:41] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4582ae0012d033b0006ff71880008009031..."} 
[2026-11-04 07:47:41] local.INFO: Packet analysis {"connection_id":229248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:47:41] local.INFO: Extracted packet for processing {"connection_id":229248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:47:41] local.INFO: GPS Element Parsed {"raw_longitude":755186432,"raw_latitude":117404040,"longitude_deg":75.5186432,"latitude_deg":11.740404,"altitude":8,"angle":144,"satellites":49,"speed":59,"hex_longitude":"2d033b00","hex_latitude":"06ff7188","is_valid_coordinates":true} 
[2026-11-04 07:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202201088001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38466182369509376,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":227642917472141312,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793758604000,"timestamp_ms":1793758604000,"timestamp_seconds":1793758604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4582ae0"} 
[2026-11-04 07:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 07:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202201088001,"66":27843,"111":206,"94":11008,"24":59,"16":38466182369509376,"45":227642917472141312},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-11-04 07:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202201088001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:47:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 07:47:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38466182369509376,"km_value":38466182369509.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":227642917472141312,"description":"Unknown IO ID 45"} 
[2026-11-04 07:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202201088001,"power":27843,"unknown_111":206,"unknown_94":11008,"ignition":59,"odometer":null,"unknown_45":227642917472141312}} 
[2026-11-04 07:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":229248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:47:41] local.INFO: GPS data processed {"connection_id":229248,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:47:41] local.INFO: Acknowledgment sent {"connection_id":229248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:47:55] local.INFO: TCP Data received {"connection_id":232361,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a457ec60012d36724006b0b178000a01502b..."} 
[2026-11-04 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a457ec60012d36724006b0b178000a01502b..."} 
[2026-11-04 07:47:55] local.INFO: Processing buffer {"connection_id":232361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a457ec60012d36724006b0b178000a01502b..."} 
[2026-11-04 07:47:55] local.INFO: Packet analysis {"connection_id":232361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:47:55] local.INFO: Extracted packet for processing {"connection_id":232361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a457"} 
[2026-11-04 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":758542912,"raw_latitude":112243064,"longitude_deg":75.8542912,"latitude_deg":11.2243064,"altitude":10,"angle":336,"satellites":43,"speed":58,"hex_longitude":"2d367240","hex_latitude":"06b0b178","is_valid_coordinates":true} 
[2026-11-04 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202196736001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20152669452632064,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3927842591240677376,"note":"Value kept but may cause issues"} 
[2026-11-04 07:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793758588000,"timestamp_ms":1793758588000,"timestamp_seconds":1793758588,"priority":1,"record_length":96,"hex_timestamp":"000001a1a457ec60"} 
[2026-11-04 07:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 07:47:55] 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-11-04 07:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":232361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":232361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":232361,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202196736001,"66":28343,"180":206,"28":21760,"24":58,"16":20152669452632064,"45":3927842591240677376},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,28,24,16,45]} 
[2026-11-04 07:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202196736001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:47:55] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-11-04 07:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20152669452632064,"km_value":20152669452632.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3927842591240677376,"description":"Unknown IO ID 45"} 
[2026-11-04 07:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202196736001,"power":28343,"unknown_180":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3927842591240677376}} 
[2026-11-04 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":232361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:47:55] local.INFO: GPS data processed {"connection_id":232361,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:47:55] local.INFO: Acknowledgment sent {"connection_id":232361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:48:09] local.INFO: TCP Data received {"connection_id":228750,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:09] local.INFO: Processing buffer {"connection_id":228750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:09] local.INFO: IMEI packet received {"connection_id":228750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":228750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:48:11] local.INFO: TCP Data received {"connection_id":228750,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:11] local.INFO: Processing buffer {"connection_id":228750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:11] local.INFO: IMEI packet received {"connection_id":228750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":228750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:48:13] local.INFO: TCP Data received {"connection_id":229248,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4584250012d0350c006ff56300006008a30..."} 
[2026-11-04 07:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4584250012d0350c006ff56300006008a30..."} 
[2026-11-04 07:48:13] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4584250012d0350c006ff56300006008a30..."} 
[2026-11-04 07:48:13] local.INFO: Packet analysis {"connection_id":229248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:48:13] local.INFO: Extracted packet for processing {"connection_id":229248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:48:13] local.INFO: GPS Element Parsed {"raw_longitude":755192000,"raw_latitude":117397040,"longitude_deg":75.5192,"latitude_deg":11.739704,"altitude":6,"angle":138,"satellites":48,"speed":58,"hex_longitude":"2d0350c0","hex_latitude":"06ff5630","is_valid_coordinates":true} 
[2026-11-04 07:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202202624001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38466611866238976,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":232779835795146752,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793758610000,"timestamp_ms":1793758610000,"timestamp_seconds":1793758610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4584250"} 
[2026-11-04 07:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:48: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-11-04 07:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202202624001,"66":27800,"111":206,"94":11008,"24":58,"16":38466611866238976,"45":232779835795146752},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-11-04 07:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202202624001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:48:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 07:48:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38466611866238976,"km_value":38466611866238.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":232779835795146752,"description":"Unknown IO ID 45"} 
[2026-11-04 07:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202202624001,"power":27800,"unknown_111":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":232779835795146752}} 
[2026-11-04 07:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":229248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:48:13] local.INFO: GPS data processed {"connection_id":229248,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:48:13] local.INFO: Acknowledgment sent {"connection_id":229248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:48:15] local.INFO: TCP Data received {"connection_id":228750,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:15] local.INFO: Processing buffer {"connection_id":228750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:48:15] local.INFO: IMEI packet received {"connection_id":228750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":228750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:48:16] local.INFO: TCP Data received {"connection_id":228750,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45807b8012d36628006b0d628000901512c..."} 
[2026-11-04 07:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45807b8012d36628006b0d628000901512c..."} 
[2026-11-04 07:48:16] local.INFO: Processing buffer {"connection_id":228750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45807b8012d36628006b0d628000901512c..."} 
[2026-11-04 07:48:16] local.INFO: Packet analysis {"connection_id":228750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:48:16] local.INFO: Extracted packet for processing {"connection_id":228750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758538880,"raw_latitude":112252456,"longitude_deg":75.853888,"latitude_deg":11.2252456,"altitude":9,"angle":337,"satellites":44,"speed":58,"hex_longitude":"2d366280","hex_latitude":"06b0d628","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202198528001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20153163373871104,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3923268622871525376,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793758595000,"timestamp_ms":1793758595000,"timestamp_seconds":1793758595,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45807b8"} 
[2026-11-04 07:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":183,"data_length":795,"current_offset":136} 
[2026-11-04 07:48: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-11-04 07: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-11-04 07:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202198528001,"66":28267,"181":206,"28":21760,"24":58,"16":20153163373871104,"45":3923268622871525376},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,28,24,16,45]} 
[2026-11-04 07:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202198528001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20153163373871104,"km_value":20153163373871.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3923268622871525376,"description":"Unknown IO ID 45"} 
[2026-11-04 07:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202198528001,"power":28267,"unknown_181":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3923268622871525376}} 
[2026-11-04 07:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":228750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:48:16] local.INFO: GPS data processed {"connection_id":228750,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:48:16] local.INFO: Acknowledgment sent {"connection_id":228750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:48:33] local.INFO: TCP Data received {"connection_id":232362,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:33] local.INFO: Processing buffer {"connection_id":232362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:33] local.INFO: IMEI packet received {"connection_id":232362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":232362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:48:34] local.INFO: TCP Data received {"connection_id":232362,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:34] local.INFO: Processing buffer {"connection_id":232362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:34] local.INFO: IMEI packet received {"connection_id":232362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":232362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:48:40] local.INFO: TCP Data received {"connection_id":232362,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:40] local.INFO: Processing buffer {"connection_id":232362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:48:40] local.INFO: IMEI packet received {"connection_id":232362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":232362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:48:41] local.INFO: TCP Data received {"connection_id":232362,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4585da8012d036dc006ff3a300007008230..."} 
[2026-11-04 07:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4585da8012d036dc006ff3a300007008230..."} 
[2026-11-04 07:48:41] local.INFO: Processing buffer {"connection_id":232362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4585da8012d036dc006ff3a300007008230..."} 
[2026-11-04 07:48:41] local.INFO: Packet analysis {"connection_id":232362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:48:41] local.INFO: Extracted packet for processing {"connection_id":232362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a458"} 
[2026-11-04 07:48:41] local.INFO: GPS Element Parsed {"raw_longitude":755199424,"raw_latitude":117389872,"longitude_deg":75.5199424,"latitude_deg":11.7389872,"altitude":7,"angle":130,"satellites":48,"speed":57,"hex_longitude":"2d036dc0","hex_latitude":"06ff3a30","is_valid_coordinates":true} 
[2026-11-04 07:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202204160001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38467105787478016,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":238901916536811520,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793758617000,"timestamp_ms":1793758617000,"timestamp_seconds":1793758617,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4585da8"} 
[2026-11-04 07:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:48:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202204160001,"66":27800,"111":206,"94":11008,"24":57,"16":38467105787478016,"45":238901916536811520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,94,24,16,45]} 
[2026-11-04 07:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202204160001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:48:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 07:48:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38467105787478016,"km_value":38467105787478.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":238901916536811520,"description":"Unknown IO ID 45"} 
[2026-11-04 07:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202204160001,"power":27800,"unknown_111":206,"unknown_94":11008,"ignition":57,"odometer":null,"unknown_45":238901916536811520}} 
[2026-11-04 07:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":232362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":57999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:48:41] local.INFO: GPS data processed {"connection_id":232362,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:48:41] local.INFO: Acknowledgment sent {"connection_id":232362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:48:48] local.INFO: TCP Data received {"connection_id":228750,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4593480012d356d8006b22888000801302e..."} 
[2026-11-04 07:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4593480012d356d8006b22888000801302e..."} 
[2026-11-04 07:48:48] local.INFO: Processing buffer {"connection_id":228750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4593480012d356d8006b22888000801302e..."} 
[2026-11-04 07:48:48] local.INFO: Packet analysis {"connection_id":228750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:48:48] local.INFO: Extracted packet for processing {"connection_id":228750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758476160,"raw_latitude":112339080,"longitude_deg":75.847616,"latitude_deg":11.233908,"altitude":8,"angle":304,"satellites":46,"speed":58,"hex_longitude":"2d356d80","hex_latitude":"06b22888","is_valid_coordinates":true} 
[2026-11-04 07:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202218240001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20158510608154624,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3859303434437103616,"note":"Value kept but may cause issues"} 
[2026-11-04 07:48: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-11-04 07:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793758672000,"timestamp_ms":1793758672000,"timestamp_seconds":1793758672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4593480"} 
[2026-11-04 07:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 07:48: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-11-04 07:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202218240001,"66":28234,"182":206,"28":21760,"24":58,"16":20158510608154624,"45":3859303434437103616},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-11-04 07:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202218240001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:48:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-11-04 07:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20158510608154624,"km_value":20158510608154.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3859303434437103616,"description":"Unknown IO ID 45"} 
[2026-11-04 07:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202218240001,"power":28234,"unknown_182":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3859303434437103616}} 
[2026-11-04 07:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":228750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:48:48] local.INFO: GPS data processed {"connection_id":228750,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:48:48] local.INFO: Acknowledgment sent {"connection_id":228750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:49:09] local.INFO: TCP Data received {"connection_id":230511,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:09] local.INFO: Processing buffer {"connection_id":230511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:09] local.INFO: IMEI packet received {"connection_id":230511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":230511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:49:13] local.INFO: TCP Data received {"connection_id":230511,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:13] local.INFO: Processing buffer {"connection_id":230511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:13] local.INFO: IMEI packet received {"connection_id":230511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":230511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:49:14] local.INFO: TCP Data received {"connection_id":230511,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:14] local.INFO: Processing buffer {"connection_id":230511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:49:14] local.INFO: IMEI packet received {"connection_id":230511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":230511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:49:15] local.INFO: TCP Data received {"connection_id":230511,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4594fd8012d354c0006b23ea80009012f2d..."} 
[2026-11-04 07:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4594fd8012d354c0006b23ea80009012f2d..."} 
[2026-11-04 07:49:15] local.INFO: Processing buffer {"connection_id":230511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4594fd8012d354c0006b23ea80009012f2d..."} 
[2026-11-04 07:49:15] local.INFO: Packet analysis {"connection_id":230511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:15] local.INFO: Extracted packet for processing {"connection_id":230511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:15] local.INFO: GPS Element Parsed {"raw_longitude":758467584,"raw_latitude":112344744,"longitude_deg":75.8467584,"latitude_deg":11.2344744,"altitude":9,"angle":303,"satellites":45,"speed":57,"hex_longitude":"2d354c00","hex_latitude":"06b23ea8","is_valid_coordinates":true} 
[2026-11-04 07:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202220032001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20159004529393664,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3849874022718801920,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:15] 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-11-04 07:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793758679000,"timestamp_ms":1793758679000,"timestamp_seconds":1793758679,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4594fd8"} 
[2026-11-04 07:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 07:49: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-11-04 07:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202220032001,"66":28376,"182":206,"28":21760,"24":57,"16":20159004529393664,"45":3849874022718801920},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-11-04 07:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202220032001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:49:15] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-11-04 07:49:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20159004529393664,"km_value":20159004529393.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3849874022718801920,"description":"Unknown IO ID 45"} 
[2026-11-04 07:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202220032001,"power":28376,"unknown_182":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3849874022718801920}} 
[2026-11-04 07:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":230511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:49:16] local.INFO: GPS data processed {"connection_id":230511,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:49:16] local.INFO: Acknowledgment sent {"connection_id":230511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:49:18] local.INFO: TCP Data received {"connection_id":232362,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a459b180012d0552c006fec0f80014006730..."} 
[2026-11-04 07:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a459b180012d0552c006fec0f80014006730..."} 
[2026-11-04 07:49:18] local.INFO: Processing buffer {"connection_id":232362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a459b180012d0552c006fec0f80014006730..."} 
[2026-11-04 07:49:18] local.INFO: Packet analysis {"connection_id":232362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:18] local.INFO: Extracted packet for processing {"connection_id":232362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:18] local.INFO: GPS Element Parsed {"raw_longitude":755323584,"raw_latitude":117358840,"longitude_deg":75.5323584,"latitude_deg":11.735884,"altitude":20,"angle":103,"satellites":48,"speed":56,"hex_longitude":"2d0552c0","hex_latitude":"06fec0f8","is_valid_coordinates":true} 
[2026-11-04 07:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202226432001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38473264770580480,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":372743267953424384,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793758704000,"timestamp_ms":1793758704000,"timestamp_seconds":1793758704,"priority":1,"record_length":96,"hex_timestamp":"000001a1a459b180"} 
[2026-11-04 07:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202226432001,"66":27865,"208":206,"94":11008,"24":56,"16":38473264770580480,"45":372743267953424384},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-11-04 07:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202226432001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:49:18] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-11-04 07:49:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38473264770580480,"km_value":38473264770580.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":372743267953424384,"description":"Unknown IO ID 45"} 
[2026-11-04 07:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202226432001,"power":27865,"unknown_208":206,"unknown_94":11008,"ignition":56,"odometer":null,"unknown_45":372743267953424384}} 
[2026-11-04 07:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":232362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:49:18] local.INFO: GPS data processed {"connection_id":232362,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:49:18] local.INFO: Acknowledgment sent {"connection_id":232362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:49:19] local.INFO: TCP Data received {"connection_id":230511,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4596b30012d352a0006b254c0000b012e2c..."} 
[2026-11-04 07:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4596b30012d352a0006b254c0000b012e2c..."} 
[2026-11-04 07:49:19] local.INFO: Processing buffer {"connection_id":230511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4596b30012d352a0006b254c0000b012e2c..."} 
[2026-11-04 07:49:19] local.INFO: Packet analysis {"connection_id":230511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:19] local.INFO: Extracted packet for processing {"connection_id":230511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758458880,"raw_latitude":112350400,"longitude_deg":75.845888,"latitude_deg":11.23504,"altitude":11,"angle":302,"satellites":44,"speed":58,"hex_longitude":"2d352a00","hex_latitude":"06b254c0","is_valid_coordinates":true} 
[2026-11-04 07:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202221824001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20159498450632704,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3840444611000444928,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:19] 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-11-04 07:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793758686000,"timestamp_ms":1793758686000,"timestamp_seconds":1793758686,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4596b30"} 
[2026-11-04 07:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 07:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202221824001,"66":28300,"182":206,"28":21760,"24":58,"16":20159498450632704,"45":3840444611000444928},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-11-04 07:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202221824001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:49:19] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-11-04 07:49:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20159498450632704,"km_value":20159498450632.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3840444611000444928,"description":"Unknown IO ID 45"} 
[2026-11-04 07:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202221824001,"power":28300,"unknown_182":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3840444611000444928}} 
[2026-11-04 07:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":230511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58003,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:49:20] local.INFO: GPS data processed {"connection_id":230511,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:49:20] local.INFO: Acknowledgment sent {"connection_id":230511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:49:52] local.INFO: TCP Data received {"connection_id":230511,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4598688012d35080006b26a00000c012e2d..."} 
[2026-11-04 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4598688012d35080006b26a00000c012e2d..."} 
[2026-11-04 07:49:52] local.INFO: Processing buffer {"connection_id":230511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4598688012d35080006b26a00000c012e2d..."} 
[2026-11-04 07:49:52] local.INFO: Packet analysis {"connection_id":230511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:52] local.INFO: Extracted packet for processing {"connection_id":230511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758450176,"raw_latitude":112355840,"longitude_deg":75.8450176,"latitude_deg":11.235584,"altitude":12,"angle":302,"satellites":45,"speed":57,"hex_longitude":"2d350800","hex_latitude":"06b26a00","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202223616001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20159992371871744,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3830874461793730560,"note":"Value kept but may cause issues"} 
[2026-11-04 07:49:52] 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-11-04 07:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793758693000,"timestamp_ms":1793758693000,"timestamp_seconds":1793758693,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4598688"} 
[2026-11-04 07:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 07:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202223616001,"66":28354,"182":206,"28":21760,"24":57,"16":20159992371871744,"45":3830874461793730560},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-11-04 07:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202223616001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-11-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20159992371871744,"km_value":20159992371871.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3830874461793730560,"description":"Unknown IO ID 45"} 
[2026-11-04 07:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202223616001,"power":28354,"unknown_182":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3830874461793730560}} 
[2026-11-04 07:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":230511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:49:52] local.INFO: GPS data processed {"connection_id":230511,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:49:52] local.INFO: Acknowledgment sent {"connection_id":230511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:50:15] local.INFO: TCP Data received {"connection_id":230512,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:15] local.INFO: Processing buffer {"connection_id":230512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:15] local.INFO: IMEI packet received {"connection_id":230512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":230512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:50:24] local.INFO: TCP Data received {"connection_id":232363,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:24] local.INFO: Processing buffer {"connection_id":232363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:24] local.INFO: IMEI packet received {"connection_id":232363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":232363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:50:24] local.INFO: TCP Data received {"connection_id":232363,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:24] local.INFO: Processing buffer {"connection_id":232363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:24] local.INFO: IMEI packet received {"connection_id":232363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":232363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:50:29] local.INFO: TCP Data received {"connection_id":232363,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:29] local.INFO: Processing buffer {"connection_id":232363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:50:29] local.INFO: IMEI packet received {"connection_id":232363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":232363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:50:31] local.INFO: TCP Data received {"connection_id":232363,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a459a1e0012d34e60006b27f48000b012f2d..."} 
[2026-11-04 07:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a459a1e0012d34e60006b27f48000b012f2d..."} 
[2026-11-04 07:50:31] local.INFO: Processing buffer {"connection_id":232363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a459a1e0012d34e60006b27f48000b012f2d..."} 
[2026-11-04 07:50:31] local.INFO: Packet analysis {"connection_id":232363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:50:31] local.INFO: Extracted packet for processing {"connection_id":232363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758441472,"raw_latitude":112361288,"longitude_deg":75.8441472,"latitude_deg":11.2361288,"altitude":11,"angle":303,"satellites":45,"speed":58,"hex_longitude":"2d34e600","hex_latitude":"06b27f48","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202225408001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20160481998143488,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3821304312586960896,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793758700000,"timestamp_ms":1793758700000,"timestamp_seconds":1793758700,"priority":1,"record_length":96,"hex_timestamp":"000001a1a459a1e0"} 
[2026-11-04 07:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:50:31] 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-11-04 07: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-11-04 07:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202225408001,"66":28256,"182":206,"28":21760,"24":58,"16":20160481998143488,"45":3821304312586960896},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-11-04 07:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202225408001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:50:31] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-11-04 07:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20160481998143488,"km_value":20160481998143.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3821304312586960896,"description":"Unknown IO ID 45"} 
[2026-11-04 07:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202225408001,"power":28256,"unknown_182":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3821304312586960896}} 
[2026-11-04 07:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":232363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:50:31] local.INFO: GPS data processed {"connection_id":232363,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:50:31] local.INFO: Acknowledgment sent {"connection_id":232363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:50:39] local.INFO: TCP Data received {"connection_id":232364,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:39] local.INFO: Processing buffer {"connection_id":232364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:39] local.INFO: IMEI packet received {"connection_id":232364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":232364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:50:44] local.INFO: TCP Data received {"connection_id":232364,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:44] local.INFO: Processing buffer {"connection_id":232364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:44] local.INFO: IMEI packet received {"connection_id":232364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":232364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:50:44] local.INFO: TCP Data received {"connection_id":232364,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:44] local.INFO: Processing buffer {"connection_id":232364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:50:44] local.INFO: IMEI packet received {"connection_id":232364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":232364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:50:46] local.INFO: TCP Data received {"connection_id":232364,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a459ccd8012d05784006feb3e80016007130..."} 
[2026-11-04 07:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a459ccd8012d05784006feb3e80016007130..."} 
[2026-11-04 07:50:46] local.INFO: Processing buffer {"connection_id":232364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a459ccd8012d05784006feb3e80016007130..."} 
[2026-11-04 07:50:46] local.INFO: Packet analysis {"connection_id":232364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:50:46] local.INFO: Extracted packet for processing {"connection_id":232364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:50:46] local.INFO: GPS Element Parsed {"raw_longitude":755333184,"raw_latitude":117355496,"longitude_deg":75.5333184,"latitude_deg":11.7355496,"altitude":22,"angle":113,"satellites":48,"speed":58,"hex_longitude":"2d057840","hex_latitude":"06feb3e8","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202228224001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38473745806917632,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":383580054556309504,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793758711000,"timestamp_ms":1793758711000,"timestamp_seconds":1793758711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a459ccd8"} 
[2026-11-04 07:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:50: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-11-04 07: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-11-04 07:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202228224001,"66":27919,"208":206,"94":11008,"24":58,"16":38473745806917632,"45":383580054556309504},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-11-04 07:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202228224001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:50:46] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-11-04 07:50:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38473745806917632,"km_value":38473745806917.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":383580054556309504,"description":"Unknown IO ID 45"} 
[2026-11-04 07:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202228224001,"power":27919,"unknown_208":206,"unknown_94":11008,"ignition":58,"odometer":null,"unknown_45":383580054556309504}} 
[2026-11-04 07:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":232364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:50:46] local.INFO: GPS data processed {"connection_id":232364,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:50:46] local.INFO: Acknowledgment sent {"connection_id":232364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:50:51] local.INFO: TCP Data received {"connection_id":232364,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a459e448012d05974006fea2b80015007b2e..."} 
[2026-11-04 07:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a459e448012d05974006fea2b80015007b2e..."} 
[2026-11-04 07:50:51] local.INFO: Processing buffer {"connection_id":232364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a459e448012d05974006fea2b80015007b2e..."} 
[2026-11-04 07:50:51] local.INFO: Packet analysis {"connection_id":232364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:50:51] local.INFO: Extracted packet for processing {"connection_id":232364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:50:51] local.INFO: GPS Element Parsed {"raw_longitude":755341120,"raw_latitude":117351096,"longitude_deg":75.534112,"latitude_deg":11.7351096,"altitude":21,"angle":123,"satellites":46,"speed":60,"hex_longitude":"2d059740","hex_latitude":"06fea2b8","is_valid_coordinates":true} 
[2026-11-04 07:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202230016001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38474179598614528,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":394135366182103040,"note":"Value kept but may cause issues"} 
[2026-11-04 07:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793758717000,"timestamp_ms":1793758717000,"timestamp_seconds":1793758717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a459e448"} 
[2026-11-04 07:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 07:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202230016001,"66":27800,"208":206,"94":11008,"24":60,"16":38474179598614528,"45":394135366182103040},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,94,24,16,45]} 
[2026-11-04 07:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202230016001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:50:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-11-04 07:50:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38474179598614528,"km_value":38474179598614.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":394135366182103040,"description":"Unknown IO ID 45"} 
[2026-11-04 07:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202230016001,"power":27800,"unknown_208":206,"unknown_94":11008,"ignition":60,"odometer":null,"unknown_45":394135366182103040}} 
[2026-11-04 07:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":232364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:50:51] local.INFO: GPS data processed {"connection_id":232364,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:50:51] local.INFO: Acknowledgment sent {"connection_id":232364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:51:09] local.INFO: TCP Data received {"connection_id":230513,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:51:09] local.INFO: Processing buffer {"connection_id":230513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:51:09] local.INFO: IMEI packet received {"connection_id":230513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":230513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:51:14] local.INFO: TCP Data received {"connection_id":230513,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:51:14] local.INFO: Processing buffer {"connection_id":230513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:51:14] local.INFO: IMEI packet received {"connection_id":230513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":230513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:51:17] local.INFO: TCP Data received {"connection_id":230513,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a459bd38012d34c44006b294d8000a012e2e..."} 
[2026-11-04 07:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a459bd38012d34c44006b294d8000a012e2e..."} 
[2026-11-04 07:51:17] local.INFO: Processing buffer {"connection_id":230513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a459bd38012d34c44006b294d8000a012e2e..."} 
[2026-11-04 07:51:17] local.INFO: Packet analysis {"connection_id":230513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:51:17] local.INFO: Extracted packet for processing {"connection_id":230513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a459"} 
[2026-11-04 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":112366808,"longitude_deg":75.8432832,"latitude_deg":11.2366808,"altitude":10,"angle":302,"satellites":46,"speed":57,"hex_longitude":"2d34c440","hex_latitude":"06b294d8","is_valid_coordinates":true} 
[2026-11-04 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202227200001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20160971624415232,"note":"Value kept but may cause issues"} 
[2026-11-04 07:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3811734163380193280,"note":"Value kept but may cause issues"} 
[2026-11-04 07:51:17] 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-11-04 07:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793758707000,"timestamp_ms":1793758707000,"timestamp_seconds":1793758707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a459bd38"} 
[2026-11-04 07:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 07:51: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-11-04 07:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202227200001,"66":28267,"182":206,"28":21760,"24":57,"16":20160971624415232,"45":3811734163380193280},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-11-04 07:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202227200001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:51:17] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-11-04 07:51:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20160971624415232,"km_value":20160971624415.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3811734163380193280,"description":"Unknown IO ID 45"} 
[2026-11-04 07:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202227200001,"power":28267,"unknown_182":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3811734163380193280}} 
[2026-11-04 07:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":230513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:51:17] local.INFO: GPS data processed {"connection_id":230513,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:51:17] local.INFO: Acknowledgment sent {"connection_id":230513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:51:34] local.INFO: TCP Data received {"connection_id":230514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:51:34] local.INFO: Processing buffer {"connection_id":230514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:51:34] local.INFO: IMEI packet received {"connection_id":230514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":230514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:51:39] local.INFO: TCP Data received {"connection_id":230514,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:51:39] local.INFO: Processing buffer {"connection_id":230514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:51:39] local.INFO: IMEI packet received {"connection_id":230514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":230514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:51:40] local.INFO: TCP Data received {"connection_id":230514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45b8258012d06a78006fd65b00010008c2c..."} 
[2026-11-04 07:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45b8258012d06a78006fd65b00010008c2c..."} 
[2026-11-04 07:51:40] local.INFO: Processing buffer {"connection_id":230514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45b8258012d06a78006fd65b00010008c2c..."} 
[2026-11-04 07:51:40] local.INFO: Packet analysis {"connection_id":230514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:51:40] local.INFO: Extracted packet for processing {"connection_id":230514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:51:40] local.INFO: GPS Element Parsed {"raw_longitude":755410816,"raw_latitude":117269936,"longitude_deg":75.5410816,"latitude_deg":11.7269936,"altitude":16,"angle":140,"satellites":44,"speed":39,"hex_longitude":"2d06a780","hex_latitude":"06fd65b0","is_valid_coordinates":true} 
[2026-11-04 07:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202256640001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38479337854337024,"note":"Value kept but may cause issues"} 
[2026-11-04 07:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":473229834617688064,"note":"Value kept but may cause issues"} 
[2026-11-04 07:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793758823000,"timestamp_ms":1793758823000,"timestamp_seconds":1793758823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45b8258"} 
[2026-11-04 07:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 07:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202256640001,"66":27984,"232":206,"94":11008,"24":39,"16":38479337854337024,"45":473229834617688064},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-11-04 07:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202256640001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:51:40] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-04 07:51:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38479337854337024,"km_value":38479337854337.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":473229834617688064,"description":"Unknown IO ID 45"} 
[2026-11-04 07:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202256640001,"power":27984,"unknown_232":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":473229834617688064}} 
[2026-11-04 07:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":230514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:51:40] local.INFO: GPS data processed {"connection_id":230514,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:51:40] local.INFO: Acknowledgment sent {"connection_id":230514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:52:02] local.INFO: TCP Data received {"connection_id":230513,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45c0340012d33a14006b44968000f014b29..."} 
[2026-11-04 07:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45c0340012d33a14006b44968000f014b29..."} 
[2026-11-04 07:52:02] local.INFO: Processing buffer {"connection_id":230513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45c0340012d33a14006b44968000f014b29..."} 
[2026-11-04 07:52:02] local.INFO: Packet analysis {"connection_id":230513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:02] local.INFO: Extracted packet for processing {"connection_id":230513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758358336,"raw_latitude":112478568,"longitude_deg":75.8358336,"latitude_deg":11.2478568,"altitude":15,"angle":331,"satellites":41,"speed":44,"hex_longitude":"2d33a140","hex_latitude":"06b44968","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202264832001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20164179964985344,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870581172224,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793758856000,"timestamp_ms":1793758856000,"timestamp_seconds":1793758856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45c0340"} 
[2026-11-04 07:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 07:52:02] 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-11-04 07: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-11-04 07:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":230513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":230513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":230513,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202264832001,"66":28256,"71":206,"28":21760,"24":44,"16":20164179964985344,"45":3725039870581172224},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-11-04 07:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202264832001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:52:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 07:52:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20164179964985344,"km_value":20164179964985.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870581172224,"description":"Unknown IO ID 45"} 
[2026-11-04 07:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202264832001,"power":28256,"unknown_71":206,"unknown_28":21760,"ignition":44,"odometer":null,"unknown_45":3725039870581172224}} 
[2026-11-04 07:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":230513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:52:02] local.INFO: GPS data processed {"connection_id":230513,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:52:02] local.INFO: Acknowledgment sent {"connection_id":230513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:52:10] local.INFO: TCP Data received {"connection_id":232365,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:10] local.INFO: Processing buffer {"connection_id":232365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:10] local.INFO: IMEI packet received {"connection_id":232365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":232365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:52:12] local.INFO: TCP Data received {"connection_id":230514,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45ba198012d06be4006fd49a8000f008d2a..."} 
[2026-11-04 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45ba198012d06be4006fd49a8000f008d2a..."} 
[2026-11-04 07:52:12] local.INFO: Processing buffer {"connection_id":230514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45ba198012d06be4006fd49a8000f008d2a..."} 
[2026-11-04 07:52:12] local.INFO: Packet analysis {"connection_id":230514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:52:12] local.INFO: Extracted packet for processing {"connection_id":230514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":755416640,"raw_latitude":117262760,"longitude_deg":75.541664,"latitude_deg":11.726276,"altitude":15,"angle":141,"satellites":42,"speed":53,"hex_longitude":"2d06be40","hex_latitude":"06fd49a8","is_valid_coordinates":true} 
[2026-11-04 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202258688001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38479784530935808,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":479492652847706112,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793758831000,"timestamp_ms":1793758831000,"timestamp_seconds":1793758831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45ba198"} 
[2026-11-04 07:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 07:52: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-11-04 07:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202258688001,"66":27865,"232":206,"94":11008,"24":53,"16":38479784530935808,"45":479492652847706112},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-11-04 07:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202258688001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:52:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-04 07:52:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38479784530935808,"km_value":38479784530935.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":479492652847706112,"description":"Unknown IO ID 45"} 
[2026-11-04 07:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202258688001,"power":27865,"unknown_232":206,"unknown_94":11008,"ignition":53,"odometer":null,"unknown_45":479492652847706112}} 
[2026-11-04 07:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":230514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:52:12] local.INFO: GPS data processed {"connection_id":230514,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:52:12] local.INFO: Acknowledgment sent {"connection_id":230514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:52:14] local.INFO: TCP Data received {"connection_id":232365,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:14] local.INFO: Processing buffer {"connection_id":232365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:14] local.INFO: IMEI packet received {"connection_id":232365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":232365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:52:18] local.INFO: TCP Data received {"connection_id":232365,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:18] local.INFO: Processing buffer {"connection_id":232365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:52:18] local.INFO: IMEI packet received {"connection_id":232365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":232365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:52:19] local.INFO: TCP Data received {"connection_id":232365,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45c2280012d338c4006b468300010013e2b..."} 
[2026-11-04 07:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45c2280012d338c4006b468300010013e2b..."} 
[2026-11-04 07:52:19] local.INFO: Processing buffer {"connection_id":232365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45c2280012d338c4006b468300010013e2b..."} 
[2026-11-04 07:52:19] local.INFO: Packet analysis {"connection_id":232365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:19] local.INFO: Extracted packet for processing {"connection_id":232365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758352960,"raw_latitude":112486448,"longitude_deg":75.835296,"latitude_deg":11.2486448,"altitude":16,"angle":318,"satellites":43,"speed":49,"hex_longitude":"2d338c40","hex_latitude":"06b46830","is_valid_coordinates":true} 
[2026-11-04 07:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202267136001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20164639526486016,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3720325164723431424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793758864000,"timestamp_ms":1793758864000,"timestamp_seconds":1793758864,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45c2280"} 
[2026-11-04 07:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 07:52: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-11-04 07:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202267136001,"66":28267,"71":206,"28":21760,"24":49,"16":20164639526486016,"45":3720325164723431424},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-11-04 07:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202267136001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:52:19] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 07:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20164639526486016,"km_value":20164639526486.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3720325164723431424,"description":"Unknown IO ID 45"} 
[2026-11-04 07:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202267136001,"power":28267,"unknown_71":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3720325164723431424}} 
[2026-11-04 07:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":232365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:52:20] local.INFO: GPS data processed {"connection_id":232365,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:52:20] local.INFO: Acknowledgment sent {"connection_id":232365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:52:21] local.INFO: TCP Data received {"connection_id":232365,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45c2280012d338c4006b468300010013e2b..."} 
[2026-11-04 07:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45c2280012d338c4006b468300010013e2b..."} 
[2026-11-04 07:52:21] local.INFO: Processing buffer {"connection_id":232365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45c2280012d338c4006b468300010013e2b..."} 
[2026-11-04 07:52:21] local.INFO: Packet analysis {"connection_id":232365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:21] local.INFO: Extracted packet for processing {"connection_id":232365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758352960,"raw_latitude":112486448,"longitude_deg":75.835296,"latitude_deg":11.2486448,"altitude":16,"angle":318,"satellites":43,"speed":49,"hex_longitude":"2d338c40","hex_latitude":"06b46830","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202269184001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20164639526486016,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3714414190214524928,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793758864000,"timestamp_ms":1793758864000,"timestamp_seconds":1793758864,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45c2280"} 
[2026-11-04 07:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 07:52:21] 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-11-04 07: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-11-04 07:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202269184001,"66":28267,"71":206,"28":21760,"24":49,"16":20164639526486016,"45":3714414190214524928},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-11-04 07:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202269184001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20164639526486016,"km_value":20164639526486.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3714414190214524928,"description":"Unknown IO ID 45"} 
[2026-11-04 07:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202269184001,"power":28267,"unknown_71":206,"unknown_28":21760,"ignition":49,"odometer":null,"unknown_45":3714414190214524928}} 
[2026-11-04 07:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":232365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:52:21] local.INFO: GPS data processed {"connection_id":232365,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:52:21] local.INFO: Acknowledgment sent {"connection_id":232365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:52:34] local.INFO: TCP Data received {"connection_id":228751,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:34] local.INFO: Processing buffer {"connection_id":228751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:34] local.INFO: IMEI packet received {"connection_id":228751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":228751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:52:35] local.INFO: TCP Data received {"connection_id":228751,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:35] local.INFO: Processing buffer {"connection_id":228751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:35] local.INFO: IMEI packet received {"connection_id":228751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":228751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:52:40] local.INFO: TCP Data received {"connection_id":228751,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:40] local.INFO: Processing buffer {"connection_id":228751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:52:40] local.INFO: IMEI packet received {"connection_id":228751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":228751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:52:41] local.INFO: TCP Data received {"connection_id":228751,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45bbcf0012d06d6c006fd2bb0000c008d2c..."} 
[2026-11-04 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45bbcf0012d06d6c006fd2bb0000c008d2c..."} 
[2026-11-04 07:52:41] local.INFO: Processing buffer {"connection_id":228751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45bbcf0012d06d6c006fd2bb0000c008d2c..."} 
[2026-11-04 07:52:41] local.INFO: Packet analysis {"connection_id":228751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:52:41] local.INFO: Extracted packet for processing {"connection_id":228751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":755422912,"raw_latitude":117255088,"longitude_deg":75.5422912,"latitude_deg":11.7255088,"altitude":12,"angle":141,"satellites":44,"speed":55,"hex_longitude":"2d06d6c0","hex_latitude":"06fd2bb0","is_valid_coordinates":true} 
[2026-11-04 07:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202260736001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38480261272305664,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":485896208566036480,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793758838000,"timestamp_ms":1793758838000,"timestamp_seconds":1793758838,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45bbcf0"} 
[2026-11-04 07:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":228751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":228751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":228751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202260736001,"66":27930,"232":206,"94":11008,"24":55,"16":38480261272305664,"45":485896208566036480},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-11-04 07:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202260736001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:52:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-04 07:52:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38480261272305664,"km_value":38480261272305.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":485896208566036480,"description":"Unknown IO ID 45"} 
[2026-11-04 07:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202260736001,"power":27930,"unknown_232":206,"unknown_94":11008,"ignition":55,"odometer":null,"unknown_45":485896208566036480}} 
[2026-11-04 07:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":228751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:52:41] local.INFO: GPS data processed {"connection_id":228751,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:52:41] local.INFO: Acknowledgment sent {"connection_id":228751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:52:52] local.INFO: TCP Data received {"connection_id":232365,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45c3dd8012d33720006b48058001101342c..."} 
[2026-11-04 07:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45c3dd8012d33720006b48058001101342c..."} 
[2026-11-04 07:52:52] local.INFO: Processing buffer {"connection_id":232365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45c3dd8012d33720006b48058001101342c..."} 
[2026-11-04 07:52:52] local.INFO: Packet analysis {"connection_id":232365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:52] local.INFO: Extracted packet for processing {"connection_id":232365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45c"} 
[2026-11-04 07:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758346240,"raw_latitude":112492632,"longitude_deg":75.834624,"latitude_deg":11.2492632,"altitude":17,"angle":308,"satellites":44,"speed":53,"hex_longitude":"2d337200","hex_latitude":"06b48058","is_valid_coordinates":true} 
[2026-11-04 07:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202269184001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20165077613150208,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3714414190214524928,"note":"Value kept but may cause issues"} 
[2026-11-04 07:52:52] 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-11-04 07:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793758871000,"timestamp_ms":1793758871000,"timestamp_seconds":1793758871,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45c3dd8"} 
[2026-11-04 07:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 07:52:52] 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-11-04 07:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202269184001,"66":28398,"212":206,"28":21760,"24":53,"16":20165077613150208,"45":3714414190214524928},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,28,24,16,45]} 
[2026-11-04 07:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202269184001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:52:52] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 07:52:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20165077613150208,"km_value":20165077613150.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3714414190214524928,"description":"Unknown IO ID 45"} 
[2026-11-04 07:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202269184001,"power":28398,"unknown_212":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3714414190214524928}} 
[2026-11-04 07:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":232365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:52:52] local.INFO: GPS data processed {"connection_id":232365,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:52:52] local.INFO: Acknowledgment sent {"connection_id":232365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:53:12] local.INFO: TCP Data received {"connection_id":228751,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45bd848012d06ee4006fd0ef00009008d2d..."} 
[2026-11-04 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45bd848012d06ee4006fd0ef00009008d2d..."} 
[2026-11-04 07:53:12] local.INFO: Processing buffer {"connection_id":228751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45bd848012d06ee4006fd0ef00009008d2d..."} 
[2026-11-04 07:53:12] local.INFO: Packet analysis {"connection_id":228751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:53:12] local.INFO: Extracted packet for processing {"connection_id":228751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":755428928,"raw_latitude":117247728,"longitude_deg":75.5428928,"latitude_deg":11.7247728,"altitude":9,"angle":141,"satellites":45,"speed":50,"hex_longitude":"2d06ee40","hex_latitude":"06fd0ef0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202262528001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38480716538839040,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":492792345493483520,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793758845000,"timestamp_ms":1793758845000,"timestamp_seconds":1793758845,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45bd848"} 
[2026-11-04 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-11-04 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 07:53: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-11-04 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-11-04 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-11-04 07:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202262528001,"66":27908,"232":206,"94":11008,"24":50,"16":38480716538839040,"45":492792345493483520},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-11-04 07:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202262528001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:53:12] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-04 07:53:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38480716538839040,"km_value":38480716538839.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":492792345493483520,"description":"Unknown IO ID 45"} 
[2026-11-04 07:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202262528001,"power":27908,"unknown_232":206,"unknown_94":11008,"ignition":50,"odometer":null,"unknown_45":492792345493483520}} 
[2026-11-04 07:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":228751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:53:12] local.INFO: GPS data processed {"connection_id":228751,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:53:12] local.INFO: Acknowledgment sent {"connection_id":228751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:53:15] local.INFO: TCP Data received {"connection_id":228752,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:15] local.INFO: Processing buffer {"connection_id":228752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:15] local.INFO: IMEI packet received {"connection_id":228752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":228752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:53:19] local.INFO: TCP Data received {"connection_id":228752,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:19] local.INFO: Processing buffer {"connection_id":228752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:19] local.INFO: IMEI packet received {"connection_id":228752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":228752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:53:35] local.INFO: TCP Data received {"connection_id":230515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:35] local.INFO: Processing buffer {"connection_id":230515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:35] local.INFO: IMEI packet received {"connection_id":230515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":230515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:53:35] local.INFO: TCP Data received {"connection_id":230515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:35] local.INFO: Processing buffer {"connection_id":230515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:35] local.INFO: IMEI packet received {"connection_id":230515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":230515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:53:36] local.INFO: TCP Data received {"connection_id":228752,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:36] local.INFO: Processing buffer {"connection_id":228752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:36] local.INFO: IMEI packet received {"connection_id":228752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":228752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:53:39] local.INFO: TCP Data received {"connection_id":228752,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:39] local.INFO: Processing buffer {"connection_id":228752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:53:39] local.INFO: IMEI packet received {"connection_id":228752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":228752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:53:40] local.INFO: TCP Data received {"connection_id":230515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:40] local.INFO: Processing buffer {"connection_id":230515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:53:40] local.INFO: IMEI packet received {"connection_id":230515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":230515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:53:41] local.INFO: TCP Data received {"connection_id":230515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45bf788012d07050006fcf3b00008008c2c..."} 
[2026-11-04 07:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45bf788012d07050006fcf3b00008008c2c..."} 
[2026-11-04 07:53:41] local.INFO: Processing buffer {"connection_id":230515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45bf788012d07050006fcf3b00008008c2c..."} 
[2026-11-04 07:53:41] local.INFO: Packet analysis {"connection_id":230515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:53:41] local.INFO: Extracted packet for processing {"connection_id":230515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45b"} 
[2026-11-04 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":755434752,"raw_latitude":117240752,"longitude_deg":75.5434752,"latitude_deg":11.7240752,"altitude":8,"angle":140,"satellites":44,"speed":41,"hex_longitude":"2d070500","hex_latitude":"06fcf3b0","is_valid_coordinates":true} 
[2026-11-04 07:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202264320001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38481154625503232,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499407007444299776,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793758853000,"timestamp_ms":1793758853000,"timestamp_seconds":1793758853,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45bf788"} 
[2026-11-04 07:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 07:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":230515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":230515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":230515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202264320001,"66":27843,"232":206,"94":11008,"24":41,"16":38481154625503232,"45":499407007444299776},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,94,24,16,45]} 
[2026-11-04 07:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202264320001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:53:41] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-04 07:53:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38481154625503232,"km_value":38481154625503.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":499407007444299776,"description":"Unknown IO ID 45"} 
[2026-11-04 07:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202264320001,"power":27843,"unknown_232":206,"unknown_94":11008,"ignition":41,"odometer":null,"unknown_45":499407007444299776}} 
[2026-11-04 07:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":230515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:53:41] local.INFO: GPS data processed {"connection_id":230515,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:53:41] local.INFO: Acknowledgment sent {"connection_id":230515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:53:42] local.INFO: TCP Data received {"connection_id":228752,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45d66b8012d31f28006b54f28000b01382a..."} 
[2026-11-04 07:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45d66b8012d31f28006b54f28000b01382a..."} 
[2026-11-04 07:53:42] local.INFO: Processing buffer {"connection_id":228752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45d66b8012d31f28006b54f28000b01382a..."} 
[2026-11-04 07:53:42] local.INFO: Packet analysis {"connection_id":228752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:53:42] local.INFO: Extracted packet for processing {"connection_id":228752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758248064,"raw_latitude":112545576,"longitude_deg":75.8248064,"latitude_deg":11.2545576,"altitude":11,"angle":312,"satellites":42,"speed":57,"hex_longitude":"2d31f280","hex_latitude":"06b54f28","is_valid_coordinates":true} 
[2026-11-04 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202288640001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20170424847433728,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3607805542798837760,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:42] 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-11-04 07:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793758947000,"timestamp_ms":1793758947000,"timestamp_seconds":1793758947,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45d66b8"} 
[2026-11-04 07:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 07:53: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-11-04 07:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":228752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":228752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":228752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202288640001,"66":28278,"78":206,"28":21760,"24":57,"16":20170424847433728,"45":3607805542798837760},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-11-04 07:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202288640001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:53:42] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 07:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20170424847433728,"km_value":20170424847433.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3607805542798837760,"description":"Unknown IO ID 45"} 
[2026-11-04 07:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202288640001,"power":28278,"unknown_78":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3607805542798837760}} 
[2026-11-04 07:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":228752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:53:42] local.INFO: GPS data processed {"connection_id":228752,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:53:42] local.INFO: Acknowledgment sent {"connection_id":228752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:53:43] local.INFO: TCP Data received {"connection_id":228752,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45d8210012d31d58006b56b38000c013d2b..."} 
[2026-11-04 07:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45d8210012d31d58006b56b38000c013d2b..."} 
[2026-11-04 07:53:43] local.INFO: Processing buffer {"connection_id":228752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45d8210012d31d58006b56b38000c013d2b..."} 
[2026-11-04 07:53:43] local.INFO: Packet analysis {"connection_id":228752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:53:43] local.INFO: Extracted packet for processing {"connection_id":228752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758240640,"raw_latitude":112552760,"longitude_deg":75.824064,"latitude_deg":11.255276,"altitude":12,"angle":317,"satellites":43,"speed":57,"hex_longitude":"2d31d580","hex_latitude":"06b56b38","is_valid_coordinates":true} 
[2026-11-04 07:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202290432001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20170918768672768,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3599079818522470400,"note":"Value kept but may cause issues"} 
[2026-11-04 07:53: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-11-04 07:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793758954000,"timestamp_ms":1793758954000,"timestamp_seconds":1793758954,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45d8210"} 
[2026-11-04 07:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 07:53: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-11-04 07:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202290432001,"66":28300,"78":206,"28":21760,"24":57,"16":20170918768672768,"45":3599079818522470400},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-11-04 07:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202290432001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:53:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 07:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20170918768672768,"km_value":20170918768672.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3599079818522470400,"description":"Unknown IO ID 45"} 
[2026-11-04 07:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202290432001,"power":28300,"unknown_78":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3599079818522470400}} 
[2026-11-04 07:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":228752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:53:44] local.INFO: GPS data processed {"connection_id":228752,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:53:44] local.INFO: Acknowledgment sent {"connection_id":228752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:54:04] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:04] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:04] local.INFO: IMEI packet received {"connection_id":232366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 07:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":232366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:54:05] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:05] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:05] local.INFO: IMEI packet received {"connection_id":232366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 07:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":232366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:54:09] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:09] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:54:09] local.INFO: IMEI packet received {"connection_id":232366,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 07:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":232366,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:54:12] local.INFO: TCP Data received {"connection_id":230515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45e1a68012d07e20006fbf2a00008008b2d..."} 
[2026-11-04 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45e1a68012d07e20006fbf2a00008008b2d..."} 
[2026-11-04 07:54:12] local.INFO: Processing buffer {"connection_id":230515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45e1a68012d07e20006fbf2a00008008b2d..."} 
[2026-11-04 07:54:12] local.INFO: Packet analysis {"connection_id":230515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:54:12] local.INFO: Extracted packet for processing {"connection_id":230515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":755491328,"raw_latitude":117174944,"longitude_deg":75.5491328,"latitude_deg":11.7174944,"altitude":8,"angle":139,"satellites":45,"speed":38,"hex_longitude":"2d07e200","hex_latitude":"06fbf2a0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202298112001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38485329333714944,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561261133559672832,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793758993000,"timestamp_ms":1793758993000,"timestamp_seconds":1793758993,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45e1a68"} 
[2026-11-04 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-11-04 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:54: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-11-04 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-11-04 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-11-04 07:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202298112001,"66":27865,"169":206,"94":11008,"24":38,"16":38485329333714944,"45":561261133559672832},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-11-04 07:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202298112001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:54:12] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-11-04 07:54:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38485329333714944,"km_value":38485329333714.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":561261133559672832,"description":"Unknown IO ID 45"} 
[2026-11-04 07:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202298112001,"power":27865,"unknown_169":206,"unknown_94":11008,"ignition":38,"odometer":null,"unknown_45":561261133559672832}} 
[2026-11-04 07:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":230515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:54:12] local.INFO: GPS data processed {"connection_id":230515,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:54:12] local.INFO: Acknowledgment sent {"connection_id":230515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:54:15] local.INFO: TCP Data received {"connection_id":228753,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:15] local.INFO: Processing buffer {"connection_id":228753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:15] local.INFO: IMEI packet received {"connection_id":228753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":228753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:54:16] local.INFO: TCP Data received {"connection_id":228753,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:16] local.INFO: Processing buffer {"connection_id":228753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:16] local.INFO: IMEI packet received {"connection_id":228753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":228753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:54:19] local.INFO: TCP Data received {"connection_id":228753,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:19] local.INFO: Processing buffer {"connection_id":228753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:54:19] local.INFO: IMEI packet received {"connection_id":228753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":228753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:54:20] local.INFO: TCP Data received {"connection_id":228753,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45d9d68012d31bbc006b58978000c01422e..."} 
[2026-11-04 07:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45d9d68012d31bbc006b58978000c01422e..."} 
[2026-11-04 07:54:20] local.INFO: Processing buffer {"connection_id":228753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45d9d68012d31bbc006b58978000c01422e..."} 
[2026-11-04 07:54:20] local.INFO: Packet analysis {"connection_id":228753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:54:20] local.INFO: Extracted packet for processing {"connection_id":228753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:54:20] local.INFO: GPS Element Parsed {"raw_longitude":758234048,"raw_latitude":112560504,"longitude_deg":75.8234048,"latitude_deg":11.2560504,"altitude":12,"angle":322,"satellites":46,"speed":57,"hex_longitude":"2d31bbc0","hex_latitude":"06b58978","is_valid_coordinates":true} 
[2026-11-04 07:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202292224001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20171412689911808,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3590917044199700480,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:20] 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-11-04 07:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793758961000,"timestamp_ms":1793758961000,"timestamp_seconds":1793758961,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45d9d68"} 
[2026-11-04 07:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 07:54: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-11-04 07:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202292224001,"66":28343,"53":206,"28":21760,"24":57,"16":20171412689911808,"45":3590917044199700480},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-11-04 07:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202292224001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:54:20] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-04 07:54:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20171412689911808,"km_value":20171412689911.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3590917044199700480,"description":"Unknown IO ID 45"} 
[2026-11-04 07:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202292224001,"power":28343,"unknown_53":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3590917044199700480}} 
[2026-11-04 07:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":228753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:54:20] local.INFO: GPS data processed {"connection_id":228753,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:54:20] local.INFO: Acknowledgment sent {"connection_id":228753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:54:21] local.INFO: TCP Data received {"connection_id":228753,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45db8c0012d31a4c006b5a988000f01472d..."} 
[2026-11-04 07:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45db8c0012d31a4c006b5a988000f01472d..."} 
[2026-11-04 07:54:21] local.INFO: Processing buffer {"connection_id":228753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45db8c0012d31a4c006b5a988000f01472d..."} 
[2026-11-04 07:54:21] local.INFO: Packet analysis {"connection_id":228753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:54:21] local.INFO: Extracted packet for processing {"connection_id":228753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45d"} 
[2026-11-04 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":758228160,"raw_latitude":112568712,"longitude_deg":75.822816,"latitude_deg":11.2568712,"altitude":15,"angle":327,"satellites":45,"speed":55,"hex_longitude":"2d31a4c0","hex_latitude":"06b5a988","is_valid_coordinates":true} 
[2026-11-04 07:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202294016001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20171898021216256,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3583669063551383552,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:21] 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-11-04 07:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793758968000,"timestamp_ms":1793758968000,"timestamp_seconds":1793758968,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45db8c0"} 
[2026-11-04 07:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 07:54:21] 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-11-04 07:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202294016001,"66":28300,"53":206,"28":21760,"24":55,"16":20171898021216256,"45":3583669063551383552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-11-04 07:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202294016001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:54:21] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-04 07:54:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20171898021216256,"km_value":20171898021216.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3583669063551383552,"description":"Unknown IO ID 45"} 
[2026-11-04 07:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202294016001,"power":28300,"unknown_53":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3583669063551383552}} 
[2026-11-04 07:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":228753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:54:22] local.INFO: GPS data processed {"connection_id":228753,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:54:22] local.INFO: Acknowledgment sent {"connection_id":228753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:54:23] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-11-04 07:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-11-04 07:54:23] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-11-04 07:54:23] local.INFO: Packet analysis {"connection_id":232366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 07:54:23] local.INFO: Extracted packet for processing {"connection_id":232366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 07:54: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-11-04 07: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-11-04 07:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:54:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 07:54:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 07:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232366,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 07:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 07:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 07:54:23] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 07:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":232366,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 07:54:23] local.ERROR: GPS data processing failed {"connection_id":232366,"error":"No valid data to process"} 
[2026-11-04 07:54:23] local.INFO: Acknowledgment sent {"connection_id":232366,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 07:54:34] local.INFO: TCP Data received {"connection_id":232367,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:54:34] local.INFO: Processing buffer {"connection_id":232367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:54:34] local.INFO: IMEI packet received {"connection_id":232367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":232367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:54:40] local.INFO: TCP Data received {"connection_id":232367,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:54:40] local.INFO: Processing buffer {"connection_id":232367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:54:40] local.INFO: IMEI packet received {"connection_id":232367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":232367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:54:41] local.INFO: TCP Data received {"connection_id":232367,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45e4178012d07fac006fbd5300004008e2f..."} 
[2026-11-04 07:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45e4178012d07fac006fbd5300004008e2f..."} 
[2026-11-04 07:54:41] local.INFO: Processing buffer {"connection_id":232367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45e4178012d07fac006fbd5300004008e2f..."} 
[2026-11-04 07:54:41] local.INFO: Packet analysis {"connection_id":232367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:54:41] local.INFO: Extracted packet for processing {"connection_id":232367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":755497664,"raw_latitude":117167408,"longitude_deg":75.5497664,"latitude_deg":11.7167408,"altitude":4,"angle":142,"satellites":47,"speed":40,"hex_longitude":"2d07fac0","hex_latitude":"06fbd530","is_valid_coordinates":true} 
[2026-11-04 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202302208001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38485801780117504,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":568016532998889472,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793759003000,"timestamp_ms":1793759003000,"timestamp_seconds":1793759003,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45e4178"} 
[2026-11-04 07:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":232367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":232367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":232367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202302208001,"66":27865,"169":206,"94":11008,"24":40,"16":38485801780117504,"45":568016532998889472},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-11-04 07:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202302208001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:54:41] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-11-04 07:54:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38485801780117504,"km_value":38485801780117.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":568016532998889472,"description":"Unknown IO ID 45"} 
[2026-11-04 07:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202302208001,"power":27865,"unknown_169":206,"unknown_94":11008,"ignition":40,"odometer":null,"unknown_45":568016532998889472}} 
[2026-11-04 07:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":232367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:54:41] local.INFO: GPS data processed {"connection_id":232367,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:54:41] local.INFO: Acknowledgment sent {"connection_id":232367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:54:53] local.INFO: TCP Data received {"connection_id":228753,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45eba90012d30a48006b6a088000c01182e..."} 
[2026-11-04 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45eba90012d30a48006b6a088000c01182e..."} 
[2026-11-04 07:54:53] local.INFO: Processing buffer {"connection_id":228753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45eba90012d30a48006b6a088000c01182e..."} 
[2026-11-04 07:54:53] local.INFO: Packet analysis {"connection_id":228753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:54:53] local.INFO: Extracted packet for processing {"connection_id":228753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:54:53] local.INFO: GPS Element Parsed {"raw_longitude":758162560,"raw_latitude":112631944,"longitude_deg":75.816256,"latitude_deg":11.2631944,"altitude":12,"angle":280,"satellites":46,"speed":57,"hex_longitude":"2d30a480","hex_latitude":"06b6a088","is_valid_coordinates":true} 
[2026-11-04 07:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202310912001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20176489341255680,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3516185437902772224,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:53] 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-11-04 07:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793759034000,"timestamp_ms":1793759034000,"timestamp_seconds":1793759034,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45eba90"} 
[2026-11-04 07:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 07:54:53] 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-11-04 07:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":228753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":228753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":228753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202310912001,"66":28354,"172":206,"28":21760,"24":57,"16":20176489341255680,"45":3516185437902772224},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-11-04 07:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202310912001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:54:53] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-11-04 07:54:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20176489341255680,"km_value":20176489341255.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3516185437902772224,"description":"Unknown IO ID 45"} 
[2026-11-04 07:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202310912001,"power":28354,"unknown_172":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3516185437902772224}} 
[2026-11-04 07:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":228753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:54:53] local.INFO: GPS data processed {"connection_id":228753,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:54:53] local.INFO: Acknowledgment sent {"connection_id":228753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:54:55] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-11-04 07:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-11-04 07:54:55] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-11-04 07:54:55] local.INFO: Packet analysis {"connection_id":232366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 07:54:55] local.INFO: Extracted packet for processing {"connection_id":232366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 07:54:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 07:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:54:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:54:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 07:54:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 07:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":232366,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 07:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 07:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 07:54:55] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 07:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":232366,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 07:54:55] local.ERROR: GPS data processing failed {"connection_id":232366,"error":"No valid data to process"} 
[2026-11-04 07:54:55] local.INFO: Acknowledgment sent {"connection_id":232366,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 07:55:09] local.INFO: TCP Data received {"connection_id":230516,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:09] local.INFO: Processing buffer {"connection_id":230516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:09] local.INFO: IMEI packet received {"connection_id":230516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":230516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:55:12] local.INFO: TCP Data received {"connection_id":232367,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45e6888012d080f8006fbb6e80004009531..."} 
[2026-11-04 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45e6888012d080f8006fbb6e80004009531..."} 
[2026-11-04 07:55:12] local.INFO: Processing buffer {"connection_id":232367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45e6888012d080f8006fbb6e80004009531..."} 
[2026-11-04 07:55:12] local.INFO: Packet analysis {"connection_id":232367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:12] local.INFO: Extracted packet for processing {"connection_id":232367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:12] local.INFO: GPS Element Parsed {"raw_longitude":755502976,"raw_latitude":117159656,"longitude_deg":75.5502976,"latitude_deg":11.7159656,"altitude":4,"angle":149,"satellites":49,"speed":34,"hex_longitude":"2d080f80","hex_latitude":"06fbb6e8","is_valid_coordinates":true} 
[2026-11-04 07:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202304768001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38486257046650880,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":574983038670548992,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793759013000,"timestamp_ms":1793759013000,"timestamp_seconds":1793759013,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45e6888"} 
[2026-11-04 07:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:55:12] 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-11-04 07:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202304768001,"66":27767,"169":206,"94":11008,"24":34,"16":38486257046650880,"45":574983038670548992},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-11-04 07:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202304768001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:55:12] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-11-04 07:55:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38486257046650880,"km_value":38486257046650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":574983038670548992,"description":"Unknown IO ID 45"} 
[2026-11-04 07:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202304768001,"power":27767,"unknown_169":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":574983038670548992}} 
[2026-11-04 07:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":232367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:55:12] local.INFO: GPS data processed {"connection_id":232367,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:55:12] local.INFO: Acknowledgment sent {"connection_id":232367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:55:13] local.INFO: TCP Data received {"connection_id":230516,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:13] local.INFO: Processing buffer {"connection_id":230516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:13] local.INFO: IMEI packet received {"connection_id":230516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":230516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:55:14] local.INFO: TCP Data received {"connection_id":230516,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:14] local.INFO: Processing buffer {"connection_id":230516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:55:14] local.INFO: IMEI packet received {"connection_id":230516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":230516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:55:15] local.INFO: TCP Data received {"connection_id":230516,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45ed5e8012d307c4006b6a7d8000e01162b..."} 
[2026-11-04 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45ed5e8012d307c4006b6a7d8000e01162b..."} 
[2026-11-04 07:55:15] local.INFO: Processing buffer {"connection_id":230516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45ed5e8012d307c4006b6a7d8000e01162b..."} 
[2026-11-04 07:55:15] local.INFO: Packet analysis {"connection_id":230516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:15] local.INFO: Extracted packet for processing {"connection_id":230516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758152256,"raw_latitude":112633816,"longitude_deg":75.8152256,"latitude_deg":11.2633816,"altitude":14,"angle":278,"satellites":43,"speed":58,"hex_longitude":"2d307c40","hex_latitude":"06b6a7d8","is_valid_coordinates":true} 
[2026-11-04 07:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202312704001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20176987557462016,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3505067176323221504,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:15] 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-11-04 07:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793759041000,"timestamp_ms":1793759041000,"timestamp_seconds":1793759041,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45ed5e8"} 
[2026-11-04 07:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:55: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-11-04 07:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202312704001,"66":27876,"172":206,"28":21760,"24":58,"16":20176987557462016,"45":3505067176323221504},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-11-04 07:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202312704001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:55:15] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-11-04 07:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20176987557462016,"km_value":20176987557462.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3505067176323221504,"description":"Unknown IO ID 45"} 
[2026-11-04 07:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202312704001,"power":27876,"unknown_172":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3505067176323221504}} 
[2026-11-04 07:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":230516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:55:15] local.INFO: GPS data processed {"connection_id":230516,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:55:15] local.INFO: Acknowledgment sent {"connection_id":230516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:55:19] local.INFO: TCP Data received {"connection_id":230516,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45ef140012d30540006b6add8000f01172a..."} 
[2026-11-04 07:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45ef140012d30540006b6add8000f01172a..."} 
[2026-11-04 07:55:19] local.INFO: Processing buffer {"connection_id":230516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45ef140012d30540006b6add8000f01172a..."} 
[2026-11-04 07:55:19] local.INFO: Packet analysis {"connection_id":230516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:19] local.INFO: Extracted packet for processing {"connection_id":230516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758141952,"raw_latitude":112635352,"longitude_deg":75.8141952,"latitude_deg":11.2635352,"altitude":15,"angle":279,"satellites":42,"speed":57,"hex_longitude":"2d305400","hex_latitude":"06b6add8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202314496001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20177481478701056,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3493737808511096832,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:19] 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-11-04 07:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793759048000,"timestamp_ms":1793759048000,"timestamp_seconds":1793759048,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45ef140"} 
[2026-11-04 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-11-04 07:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 07:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 07:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202314496001,"66":28343,"172":206,"28":21760,"24":57,"16":20177481478701056,"45":3493737808511096832},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-11-04 07:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202314496001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:55:19] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-11-04 07:55:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20177481478701056,"km_value":20177481478701.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3493737808511096832,"description":"Unknown IO ID 45"} 
[2026-11-04 07:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202314496001,"power":28343,"unknown_172":206,"unknown_28":21760,"ignition":57,"odometer":null,"unknown_45":3493737808511096832}} 
[2026-11-04 07:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":230516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:55:19] local.INFO: GPS data processed {"connection_id":230516,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:55:19] local.INFO: Acknowledgment sent {"connection_id":230516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:55:29] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45f81c80100000000000000000000000000..."} 
[2026-11-04 07:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45f81c80100000000000000000000000000..."} 
[2026-11-04 07:55:29] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45f81c80100000000000000000000000000..."} 
[2026-11-04 07:55:29] local.INFO: Packet analysis {"connection_id":232366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:55:29] local.INFO: Extracted packet for processing {"connection_id":232366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:55: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-11-04 07: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-11-04 07:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793759085000,"timestamp_ms":1793759085000,"timestamp_seconds":1793759085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45f81c8"} 
[2026-11-04 07:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 07:55:29] 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-11-04 07: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-11-04 07:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":232366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":232366,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 07:55:29] local.INFO: GPS data processed {"connection_id":232366,"processed":0,"errors":0,"total":1} 
[2026-11-04 07:55:29] local.INFO: Acknowledgment sent {"connection_id":232366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:55:34] local.INFO: TCP Data received {"connection_id":230517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:55:34] local.INFO: Processing buffer {"connection_id":230517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:55:34] local.INFO: IMEI packet received {"connection_id":230517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":230517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:55:40] local.INFO: TCP Data received {"connection_id":230517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:55:40] local.INFO: Processing buffer {"connection_id":230517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:55:40] local.INFO: IMEI packet received {"connection_id":230517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":230517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:55:50] local.INFO: TCP Data received {"connection_id":230516,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45f0c98012d302d4006b6b5e80010011f2a..."} 
[2026-11-04 07:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45f0c98012d302d4006b6b5e80010011f2a..."} 
[2026-11-04 07:55:50] local.INFO: Processing buffer {"connection_id":230516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45f0c98012d302d4006b6b5e80010011f2a..."} 
[2026-11-04 07:55:50] local.INFO: Packet analysis {"connection_id":230516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:55:50] local.INFO: Extracted packet for processing {"connection_id":230516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:55:50] local.INFO: GPS Element Parsed {"raw_longitude":758132032,"raw_latitude":112637416,"longitude_deg":75.8132032,"latitude_deg":11.2637416,"altitude":16,"angle":287,"satellites":42,"speed":55,"hex_longitude":"2d302d40","hex_latitude":"06b6b5e8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202316288001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20177966810005504,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3482408440698886144,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:50] 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-11-04 07:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793759055000,"timestamp_ms":1793759055000,"timestamp_seconds":1793759055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45f0c98"} 
[2026-11-04 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-11-04 07:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 07:55:50] 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-11-04 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-11-04 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-11-04 07:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202316288001,"66":28343,"172":206,"28":21760,"24":55,"16":20177966810005504,"45":3482408440698886144},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-11-04 07:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202316288001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:55:50] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-11-04 07:55:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 07:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20177966810005504,"km_value":20177966810005.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3482408440698886144,"description":"Unknown IO ID 45"} 
[2026-11-04 07:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202316288001,"power":28343,"unknown_172":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3482408440698886144}} 
[2026-11-04 07:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":230516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:55:50] local.INFO: GPS data processed {"connection_id":230516,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:55:50] local.INFO: Acknowledgment sent {"connection_id":230516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:55:58] local.INFO: TCP Data received {"connection_id":230517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45e9380012d08208006fb98100007009b2d..."} 
[2026-11-04 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45e9380012d08208006fb98100007009b2d..."} 
[2026-11-04 07:55:58] local.INFO: Processing buffer {"connection_id":230517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45e9380012d08208006fb98100007009b2d..."} 
[2026-11-04 07:55:58] local.INFO: Packet analysis {"connection_id":230517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:58] local.INFO: Extracted packet for processing {"connection_id":230517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45e"} 
[2026-11-04 07:55:58] local.INFO: GPS Element Parsed {"raw_longitude":755507328,"raw_latitude":117151760,"longitude_deg":75.5507328,"latitude_deg":11.715176,"altitude":7,"angle":155,"satellites":45,"speed":29,"hex_longitude":"2d082080","hex_latitude":"06fb9810","is_valid_coordinates":true} 
[2026-11-04 07:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202307328001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38486690838347776,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":580823644435310592,"note":"Value kept but may cause issues"} 
[2026-11-04 07:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793759024000,"timestamp_ms":1793759024000,"timestamp_seconds":1793759024,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45e9380"} 
[2026-11-04 07:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:55: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-11-04 07:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":230517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":230517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":230517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:55: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-11-04 07:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202307328001,"66":27767,"169":206,"94":11008,"24":29,"16":38486690838347776,"45":580823644435310592},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,94,24,16,45]} 
[2026-11-04 07:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202307328001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:55:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-11-04 07:55:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38486690838347776,"km_value":38486690838347.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":580823644435310592,"description":"Unknown IO ID 45"} 
[2026-11-04 07:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202307328001,"power":27767,"unknown_169":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":580823644435310592}} 
[2026-11-04 07:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":230517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:55:58] local.INFO: GPS data processed {"connection_id":230517,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:55:58] local.INFO: Acknowledgment sent {"connection_id":230517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:56:09] local.INFO: TCP Data received {"connection_id":232368,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:09] local.INFO: Processing buffer {"connection_id":232368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:09] local.INFO: IMEI packet received {"connection_id":232368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":232368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:56:10] local.INFO: TCP Data received {"connection_id":232368,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:10] local.INFO: Processing buffer {"connection_id":232368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:10] local.INFO: IMEI packet received {"connection_id":232368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":232368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:56:11] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45fd3d00100000000000000000000000000..."} 
[2026-11-04 07:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45fd3d00100000000000000000000000000..."} 
[2026-11-04 07:56:11] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45fd3d00100000000000000000000000000..."} 
[2026-11-04 07:56:11] local.INFO: Packet analysis {"connection_id":232366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:56:11] local.INFO: Extracted packet for processing {"connection_id":232366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:56: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-11-04 07: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-11-04 07:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793759106000,"timestamp_ms":1793759106000,"timestamp_seconds":1793759106,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45fd3d0"} 
[2026-11-04 07:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 07:56:11] 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-11-04 07: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-11-04 07:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":232366,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 07:56:11] local.INFO: GPS data processed {"connection_id":232366,"processed":0,"errors":0,"total":1} 
[2026-11-04 07:56:11] local.INFO: Acknowledgment sent {"connection_id":232366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:56:14] local.INFO: TCP Data received {"connection_id":232368,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:14] local.INFO: Processing buffer {"connection_id":232368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:56:14] local.INFO: IMEI packet received {"connection_id":232368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":232368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:56:17] local.INFO: TCP Data received {"connection_id":232368,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a45fe758012d2f9b8006b7bac0000701522e..."} 
[2026-11-04 07:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a45fe758012d2f9b8006b7bac0000701522e..."} 
[2026-11-04 07:56:17] local.INFO: Processing buffer {"connection_id":232368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a45fe758012d2f9b8006b7bac0000701522e..."} 
[2026-11-04 07:56:17] local.INFO: Packet analysis {"connection_id":232368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:56:17] local.INFO: Extracted packet for processing {"connection_id":232368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a45f"} 
[2026-11-04 07:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758094720,"raw_latitude":112704192,"longitude_deg":75.809472,"latitude_deg":11.2704192,"altitude":7,"angle":338,"satellites":46,"speed":58,"hex_longitude":"2d2f9b80","hex_latitude":"06b7bac0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202330624001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20181858050375680,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3434135482208157696,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793759111000,"timestamp_ms":1793759111000,"timestamp_seconds":1793759111,"priority":1,"record_length":96,"hex_timestamp":"000001a1a45fe758"} 
[2026-11-04 07:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:56: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-11-04 07: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-11-04 07:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202330624001,"66":28354,"39":206,"2":57088,"24":58,"16":20181858050375680,"45":3434135482208157696},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-11-04 07:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202330624001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:56:17] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-11-04 07:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20181858050375680,"km_value":20181858050375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3434135482208157696,"description":"Unknown IO ID 45"} 
[2026-11-04 07:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202330624001,"power":28354,"unknown_39":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3434135482208157696}} 
[2026-11-04 07:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":232368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:56:17] local.INFO: GPS data processed {"connection_id":232368,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:56:17] local.INFO: Acknowledgment sent {"connection_id":232368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:56:44] local.INFO: TCP Data received {"connection_id":230518,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:44] local.INFO: Processing buffer {"connection_id":230518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:44] local.INFO: IMEI packet received {"connection_id":230518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":230518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:56:44] local.INFO: TCP Data received {"connection_id":230518,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:44] local.INFO: Processing buffer {"connection_id":230518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:44] local.INFO: IMEI packet received {"connection_id":230518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":230518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:56:48] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46025d80100000000000000000000000000..."} 
[2026-11-04 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46025d80100000000000000000000000000..."} 
[2026-11-04 07:56:48] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46025d80100000000000000000000000000..."} 
[2026-11-04 07:56:48] local.INFO: Packet analysis {"connection_id":232366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:56:48] local.INFO: Extracted packet for processing {"connection_id":232366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:56: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-11-04 07: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-11-04 07:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793759127000,"timestamp_ms":1793759127000,"timestamp_seconds":1793759127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46025d8"} 
[2026-11-04 07:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-11-04 07:56:48] 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-11-04 07: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-11-04 07:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":232366,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 07:56:48] local.INFO: GPS data processed {"connection_id":232366,"processed":0,"errors":0,"total":1} 
[2026-11-04 07:56:48] local.INFO: Acknowledgment sent {"connection_id":232366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:56:48] local.INFO: TCP Data received {"connection_id":232368,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46002b0012d2f8c0006b7dfd0000701502e..."} 
[2026-11-04 07:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46002b0012d2f8c0006b7dfd0000701502e..."} 
[2026-11-04 07:56:48] local.INFO: Processing buffer {"connection_id":232368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46002b0012d2f8c0006b7dfd0000701502e..."} 
[2026-11-04 07:56:48] local.INFO: Packet analysis {"connection_id":232368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:56:48] local.INFO: Extracted packet for processing {"connection_id":232368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":758090752,"raw_latitude":112713680,"longitude_deg":75.8090752,"latitude_deg":11.271368,"altitude":7,"angle":336,"satellites":46,"speed":58,"hex_longitude":"2d2f8c00","hex_latitude":"06b7dfd0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202332416001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20182356266582016,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3430476307513393152,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793759118000,"timestamp_ms":1793759118000,"timestamp_seconds":1793759118,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46002b0"} 
[2026-11-04 07:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:56: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-11-04 07: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-11-04 07:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202332416001,"66":28354,"39":206,"2":57088,"24":58,"16":20182356266582016,"45":3430476307513393152},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-11-04 07:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202332416001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:56:48] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-11-04 07:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20182356266582016,"km_value":20182356266582.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3430476307513393152,"description":"Unknown IO ID 45"} 
[2026-11-04 07:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202332416001,"power":28354,"unknown_39":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3430476307513393152}} 
[2026-11-04 07:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":232368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:56:48] local.INFO: GPS data processed {"connection_id":232368,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:56:48] local.INFO: Acknowledgment sent {"connection_id":232368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:56:50] local.INFO: TCP Data received {"connection_id":230518,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:50] local.INFO: Processing buffer {"connection_id":230518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:56:50] local.INFO: IMEI packet received {"connection_id":230518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":230518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:56:52] local.INFO: TCP Data received {"connection_id":230518,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46025d8012d08124006f99b08000800c532..."} 
[2026-11-04 07:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46025d8012d08124006f99b08000800c532..."} 
[2026-11-04 07:56:52] local.INFO: Processing buffer {"connection_id":230518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46025d8012d08124006f99b08000800c532..."} 
[2026-11-04 07:56:52] local.INFO: Packet analysis {"connection_id":230518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:56:52] local.INFO: Extracted packet for processing {"connection_id":230518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:56:52] local.INFO: GPS Element Parsed {"raw_longitude":755503680,"raw_latitude":117021448,"longitude_deg":75.550368,"latitude_deg":11.7021448,"altitude":8,"angle":197,"satellites":50,"speed":59,"hex_longitude":"2d081240","hex_latitude":"06f99b08","is_valid_coordinates":true} 
[2026-11-04 07:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202334976001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38493159059095552,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584553187843579904,"note":"Value kept but may cause issues"} 
[2026-11-04 07:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793759127000,"timestamp_ms":1793759127000,"timestamp_seconds":1793759127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46025d8"} 
[2026-11-04 07:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 07:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:56:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:56:52] 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-11-04 07:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202334976001,"66":27800,"33":206,"80":6400,"24":59,"16":38493159059095552,"45":584553187843579904},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-11-04 07:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202334976001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:56:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 07:56:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 07:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38493159059095552,"km_value":38493159059095.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":584553187843579904,"description":"Unknown IO ID 45"} 
[2026-11-04 07:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202334976001,"power":27800,"unknown_33":206,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":584553187843579904}} 
[2026-11-04 07:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":230518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:56:52] local.INFO: GPS data processed {"connection_id":230518,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:56:52] local.INFO: Acknowledgment sent {"connection_id":230518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:57:19] local.INFO: TCP Data received {"connection_id":230519,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:19] local.INFO: Processing buffer {"connection_id":230519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:19] local.INFO: IMEI packet received {"connection_id":230519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":230519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:57:20] local.INFO: TCP Data received {"connection_id":230519,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:20] local.INFO: Processing buffer {"connection_id":230519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:20] local.INFO: IMEI packet received {"connection_id":230519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":230519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:57:24] local.INFO: TCP Data received {"connection_id":230519,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:24] local.INFO: Processing buffer {"connection_id":230519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:57:24] local.INFO: IMEI packet received {"connection_id":230519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":230519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:57:26] local.INFO: TCP Data received {"connection_id":230519,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4601e08012d2f7b0006b804500008014f30..."} 
[2026-11-04 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4601e08012d2f7b0006b804500008014f30..."} 
[2026-11-04 07:57:26] local.INFO: Processing buffer {"connection_id":230519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4601e08012d2f7b0006b804500008014f30..."} 
[2026-11-04 07:57:26] local.INFO: Packet analysis {"connection_id":230519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:57:26] local.INFO: Extracted packet for processing {"connection_id":230519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:57:26] local.INFO: GPS Element Parsed {"raw_longitude":758086400,"raw_latitude":112723024,"longitude_deg":75.80864,"latitude_deg":11.2723024,"altitude":8,"angle":335,"satellites":48,"speed":58,"hex_longitude":"2d2f7b00","hex_latitude":"06b80450","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202334208001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20182854482788352,"note":"Value kept but may cause issues"} 
[2026-11-04 07:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3426113445376806912,"note":"Value kept but may cause issues"} 
[2026-11-04 07:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793759125000,"timestamp_ms":1793759125000,"timestamp_seconds":1793759125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4601e08"} 
[2026-11-04 07:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:57:26] 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-11-04 07: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-11-04 07:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202334208001,"66":28376,"39":206,"2":57088,"24":58,"16":20182854482788352,"45":3426113445376806912},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-11-04 07:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202334208001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:57:26] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-11-04 07:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20182854482788352,"km_value":20182854482788.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3426113445376806912,"description":"Unknown IO ID 45"} 
[2026-11-04 07:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202334208001,"power":28376,"unknown_39":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3426113445376806912}} 
[2026-11-04 07:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":230519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:57:26] local.INFO: GPS data processed {"connection_id":230519,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:57:26] local.INFO: Acknowledgment sent {"connection_id":230519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:57:30] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46077e00100000000000000000000000000..."} 
[2026-11-04 07:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46077e00100000000000000000000000000..."} 
[2026-11-04 07:57:30] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46077e00100000000000000000000000000..."} 
[2026-11-04 07:57:30] local.INFO: Packet analysis {"connection_id":232366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:57:30] local.INFO: Extracted packet for processing {"connection_id":232366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:57: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-11-04 07:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:57:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793759148000,"timestamp_ms":1793759148000,"timestamp_seconds":1793759148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46077e0"} 
[2026-11-04 07:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:57: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 07:57: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-11-04 07: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-11-04 07:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":232366,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 07:57:30] local.INFO: GPS data processed {"connection_id":232366,"processed":0,"errors":0,"total":1} 
[2026-11-04 07:57:30] local.INFO: Acknowledgment sent {"connection_id":232366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:57:34] local.INFO: TCP Data received {"connection_id":228754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:57:34] local.INFO: Processing buffer {"connection_id":228754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:57:34] local.INFO: IMEI packet received {"connection_id":228754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":228754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:57:39] local.INFO: TCP Data received {"connection_id":228754,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:57:39] local.INFO: Processing buffer {"connection_id":228754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:57:39] local.INFO: IMEI packet received {"connection_id":228754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":228754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:57:40] local.INFO: TCP Data received {"connection_id":228754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4614eb8012d07944006f81318001200c731..."} 
[2026-11-04 07:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4614eb8012d07944006f81318001200c731..."} 
[2026-11-04 07:57:40] local.INFO: Processing buffer {"connection_id":228754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4614eb8012d07944006f81318001200c731..."} 
[2026-11-04 07:57:40] local.INFO: Packet analysis {"connection_id":228754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:57:40] local.INFO: Extracted packet for processing {"connection_id":228754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:57:40] local.INFO: GPS Element Parsed {"raw_longitude":755471424,"raw_latitude":116921112,"longitude_deg":75.5471424,"latitude_deg":11.6921112,"altitude":18,"angle":199,"satellites":49,"speed":57,"hex_longitude":"2d079440","hex_latitude":"06f81318","is_valid_coordinates":true} 
[2026-11-04 07:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202354176001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38498261480243200,"note":"Value kept but may cause issues"} 
[2026-11-04 07:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":549509553217564672,"note":"Value kept but may cause issues"} 
[2026-11-04 07:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793759203000,"timestamp_ms":1793759203000,"timestamp_seconds":1793759203,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4614eb8"} 
[2026-11-04 07:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202354176001,"66":27745,"170":206,"80":6400,"24":57,"16":38498261480243200,"45":549509553217564672},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,80,24,16,45]} 
[2026-11-04 07:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202354176001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:57:40] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-04 07:57:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 07:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38498261480243200,"km_value":38498261480243.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":549509553217564672,"description":"Unknown IO ID 45"} 
[2026-11-04 07:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202354176001,"power":27745,"unknown_170":206,"unknown_80":6400,"ignition":57,"odometer":null,"unknown_45":549509553217564672}} 
[2026-11-04 07:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":228754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:57:40] local.INFO: GPS data processed {"connection_id":228754,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:57:40] local.INFO: Acknowledgment sent {"connection_id":228754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:58:09] local.INFO: TCP Data received {"connection_id":230520,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:09] local.INFO: Processing buffer {"connection_id":230520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:09] local.INFO: IMEI packet received {"connection_id":230520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":230520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:58:13] local.INFO: TCP Data received {"connection_id":228754,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4616628012d07888006f7f208001100c630..."} 
[2026-11-04 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4616628012d07888006f7f208001100c630..."} 
[2026-11-04 07:58:13] local.INFO: Processing buffer {"connection_id":228754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4616628012d07888006f7f208001100c630..."} 
[2026-11-04 07:58:13] local.INFO: Packet analysis {"connection_id":228754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58:13] local.INFO: Extracted packet for processing {"connection_id":228754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":755468416,"raw_latitude":116912648,"longitude_deg":75.5468416,"latitude_deg":11.6912648,"altitude":17,"angle":198,"satellites":48,"speed":61,"hex_longitude":"2d078880","hex_latitude":"06f7f208","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202355968001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38498695271940096,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":546131853494654976,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793759209000,"timestamp_ms":1793759209000,"timestamp_seconds":1793759209,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4616628"} 
[2026-11-04 07:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 07:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202355968001,"66":27767,"170":206,"80":6400,"24":61,"16":38498695271940096,"45":546131853494654976},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,80,24,16,45]} 
[2026-11-04 07:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202355968001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:58:13] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-11-04 07:58:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 07:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38498695271940096,"km_value":38498695271940.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":546131853494654976,"description":"Unknown IO ID 45"} 
[2026-11-04 07:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202355968001,"power":27767,"unknown_170":206,"unknown_80":6400,"ignition":61,"odometer":null,"unknown_45":546131853494654976}} 
[2026-11-04 07:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":228754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:58:13] local.INFO: GPS data processed {"connection_id":228754,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:58:13] local.INFO: Acknowledgment sent {"connection_id":228754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:58:14] local.INFO: TCP Data received {"connection_id":230520,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:14] local.INFO: Processing buffer {"connection_id":230520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:14] local.INFO: IMEI packet received {"connection_id":230520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":230520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:58:14] local.INFO: TCP Data received {"connection_id":230520,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:14] local.INFO: Processing buffer {"connection_id":230520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:58:14] local.INFO: IMEI packet received {"connection_id":230520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":230520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:58:18] local.INFO: TCP Data received {"connection_id":230520,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4618950012d2e868006b9bf380016014a30..."} 
[2026-11-04 07:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4618950012d2e868006b9bf380016014a30..."} 
[2026-11-04 07:58:18] local.INFO: Processing buffer {"connection_id":230520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4618950012d2e868006b9bf380016014a30..."} 
[2026-11-04 07:58:18] local.INFO: Packet analysis {"connection_id":230520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58:18] local.INFO: Extracted packet for processing {"connection_id":230520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758023808,"raw_latitude":112836408,"longitude_deg":75.8023808,"latitude_deg":11.2836408,"altitude":22,"angle":330,"satellites":48,"speed":45,"hex_longitude":"2d2e8680","hex_latitude":"06b9bf38","is_valid_coordinates":true} 
[2026-11-04 07:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202357760001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20189112250138624,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3357574288577091584,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:18] 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-11-04 07:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793759218000,"timestamp_ms":1793759218000,"timestamp_seconds":1793759218,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4618950"} 
[2026-11-04 07:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 07:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202357760001,"66":28300,"105":206,"2":57088,"24":45,"16":20189112250138624,"45":3357574288577091584},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-11-04 07:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202357760001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:58:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20189112250138624,"km_value":20189112250138.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3357574288577091584,"description":"Unknown IO ID 45"} 
[2026-11-04 07:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202357760001,"power":28300,"unknown_105":206,"power_alt":57088,"ignition":45,"odometer":null,"unknown_45":3357574288577091584}} 
[2026-11-04 07:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":230520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:58:18] local.INFO: GPS data processed {"connection_id":230520,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:58:18] local.INFO: Acknowledgment sent {"connection_id":230520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:58:25] local.INFO: TCP Data received {"connection_id":232366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a460c9e80100000000000000000000000000..."} 
[2026-11-04 07:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a460c9e80100000000000000000000000000..."} 
[2026-11-04 07:58:25] local.INFO: Processing buffer {"connection_id":232366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a460c9e80100000000000000000000000000..."} 
[2026-11-04 07:58:25] local.INFO: Packet analysis {"connection_id":232366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07:58:25] local.INFO: Extracted packet for processing {"connection_id":232366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a460"} 
[2026-11-04 07: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-11-04 07: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-11-04 07:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793759169000,"timestamp_ms":1793759169000,"timestamp_seconds":1793759169,"priority":1,"record_length":96,"hex_timestamp":"000001a1a460c9e8"} 
[2026-11-04 07:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:58:25] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 07:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07: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-11-04 07:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232366,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":232366,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 07:58:25] local.INFO: GPS data processed {"connection_id":232366,"processed":0,"errors":0,"total":1} 
[2026-11-04 07:58:25] local.INFO: Acknowledgment sent {"connection_id":232366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:58:34] local.INFO: TCP Data received {"connection_id":229249,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:34] local.INFO: Processing buffer {"connection_id":229249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:34] local.INFO: IMEI packet received {"connection_id":229249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":229249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:58:38] local.INFO: TCP Data received {"connection_id":229249,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:38] local.INFO: Processing buffer {"connection_id":229249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:38] local.INFO: IMEI packet received {"connection_id":229249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":229249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:58:39] local.INFO: TCP Data received {"connection_id":229249,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:39] local.INFO: Processing buffer {"connection_id":229249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:58:39] local.INFO: IMEI packet received {"connection_id":229249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 07:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":229249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:58:40] local.INFO: TCP Data received {"connection_id":229249,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46248b8012d078c8006f6b8100012008b32..."} 
[2026-11-04 07:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46248b8012d078c8006f6b8100012008b32..."} 
[2026-11-04 07:58:40] local.INFO: Processing buffer {"connection_id":229249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46248b8012d078c8006f6b8100012008b32..."} 
[2026-11-04 07:58:40] local.INFO: Packet analysis {"connection_id":229249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a462"} 
[2026-11-04 07:58:40] local.INFO: Extracted packet for processing {"connection_id":229249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a462"} 
[2026-11-04 07:58:40] local.INFO: GPS Element Parsed {"raw_longitude":755469440,"raw_latitude":116832272,"longitude_deg":75.546944,"latitude_deg":11.6832272,"altitude":18,"angle":139,"satellites":50,"speed":59,"hex_longitude":"2d078c80","hex_latitude":"06f6b810","is_valid_coordinates":true} 
[2026-11-04 07:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202370816001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 07:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38502882865053696,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":537476497939820544,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 07:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793759267000,"timestamp_ms":1793759267000,"timestamp_seconds":1793759267,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46248b8"} 
[2026-11-04 07:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 07:58:40] 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-11-04 07:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202370816001,"66":27843,"200":0,"80":6400,"24":59,"16":38502882865053696,"45":537476497939820544},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-11-04 07:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202370816001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:58:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 07:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38502882865053696,"km_value":38502882865053.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":537476497939820544,"description":"Unknown IO ID 45"} 
[2026-11-04 07:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202370816001,"power":27843,"gsm_signal":0,"unknown_80":6400,"ignition":59,"odometer":null,"unknown_45":537476497939820544}} 
[2026-11-04 07:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":229249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:58:40] local.INFO: GPS data processed {"connection_id":229249,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:58:40] local.INFO: Acknowledgment sent {"connection_id":229249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:58:44] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:44] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:44] local.INFO: IMEI packet received {"connection_id":228755,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 07:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":228755,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:58:44] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:44] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:44] local.INFO: IMEI packet received {"connection_id":228755,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 07:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":228755,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:58:49] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:49] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 07:58:49] local.INFO: IMEI packet received {"connection_id":228755,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 07:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":228755,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:58:50] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4611bf00100000000000000000000000000..."} 
[2026-11-04 07:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4611bf00100000000000000000000000000..."} 
[2026-11-04 07:58:50] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4611bf00100000000000000000000000000..."} 
[2026-11-04 07:58:50] local.INFO: Packet analysis {"connection_id":228755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58:50] local.INFO: Extracted packet for processing {"connection_id":228755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58: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-11-04 07:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131206515687424,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 07:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793759190000,"timestamp_ms":1793759190000,"timestamp_seconds":1793759190,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4611bf0"} 
[2026-11-04 07:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 07:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 07:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":228755,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 07:58:50] local.INFO: GPS data processed {"connection_id":228755,"processed":0,"errors":0,"total":1} 
[2026-11-04 07:58:50] local.INFO: Acknowledgment sent {"connection_id":228755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:58:54] local.INFO: TCP Data received {"connection_id":230520,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a461ac78012d2e748006b9e1680019014d2d..."} 
[2026-11-04 07:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a461ac78012d2e748006b9e1680019014d2d..."} 
[2026-11-04 07:58:54] local.INFO: Processing buffer {"connection_id":230520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a461ac78012d2e748006b9e1680019014d2d..."} 
[2026-11-04 07:58:54] local.INFO: Packet analysis {"connection_id":230520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58:54] local.INFO: Extracted packet for processing {"connection_id":230520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:58:54] local.INFO: GPS Element Parsed {"raw_longitude":758019200,"raw_latitude":112845160,"longitude_deg":75.80192,"latitude_deg":11.284516,"altitude":25,"angle":333,"satellites":45,"speed":42,"hex_longitude":"2d2e7480","hex_latitude":"06b9e168","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202359808001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20189588991508480,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3352507738998388736,"note":"Value kept but may cause issues"} 
[2026-11-04 07:58:54] 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-11-04 07:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793759227000,"timestamp_ms":1793759227000,"timestamp_seconds":1793759227,"priority":1,"record_length":96,"hex_timestamp":"000001a1a461ac78"} 
[2026-11-04 07:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 07:58:54] 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-11-04 07: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-11-04 07:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202359808001,"66":28354,"105":206,"2":57088,"24":42,"16":20189588991508480,"45":3352507738998388736},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-11-04 07:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202359808001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:58:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20189588991508480,"km_value":20189588991508.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3352507738998388736,"description":"Unknown IO ID 45"} 
[2026-11-04 07:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202359808001,"power":28354,"unknown_105":206,"power_alt":57088,"ignition":42,"odometer":null,"unknown_45":3352507738998388736}} 
[2026-11-04 07:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":230520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:58:54] local.INFO: GPS data processed {"connection_id":230520,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:58:54] local.INFO: Acknowledgment sent {"connection_id":230520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:59:02] local.INFO: TCP Data received {"connection_id":230520,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a461cbb8012d2e668006ba0210001901532e..."} 
[2026-11-04 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a461cbb8012d2e668006ba0210001901532e..."} 
[2026-11-04 07:59:02] local.INFO: Processing buffer {"connection_id":230520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a461cbb8012d2e668006ba0210001901532e..."} 
[2026-11-04 07:59:02] local.INFO: Packet analysis {"connection_id":230520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:59:02] local.INFO: Extracted packet for processing {"connection_id":230520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758015616,"raw_latitude":112853520,"longitude_deg":75.8015616,"latitude_deg":11.285352,"altitude":25,"angle":339,"satellites":46,"speed":47,"hex_longitude":"2d2e6680","hex_latitude":"06ba0210","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202362112001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20190031373139968,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3347441189419837440,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:02] 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-11-04 07:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793759235000,"timestamp_ms":1793759235000,"timestamp_seconds":1793759235,"priority":1,"record_length":96,"hex_timestamp":"000001a1a461cbb8"} 
[2026-11-04 07:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:59:02] 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-11-04 07: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-11-04 07:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":230520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":230520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":230520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202362112001,"66":28354,"105":206,"2":57088,"24":47,"16":20190031373139968,"45":3347441189419837440},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-11-04 07:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202362112001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:59:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20190031373139968,"km_value":20190031373139.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3347441189419837440,"description":"Unknown IO ID 45"} 
[2026-11-04 07:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202362112001,"power":28354,"unknown_105":206,"power_alt":57088,"ignition":47,"odometer":null,"unknown_45":3347441189419837440}} 
[2026-11-04 07:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":230520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:59:02] local.INFO: GPS data processed {"connection_id":230520,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:59:02] local.INFO: Acknowledgment sent {"connection_id":230520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:59:09] local.INFO: TCP Data received {"connection_id":232369,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:09] local.INFO: Processing buffer {"connection_id":232369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:09] local.INFO: IMEI packet received {"connection_id":232369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 07:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":232369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:59:09] local.INFO: TCP Data received {"connection_id":232369,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:09] local.INFO: Processing buffer {"connection_id":232369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:09] local.INFO: IMEI packet received {"connection_id":232369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":232369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:59:11] local.INFO: TCP Data received {"connection_id":229249,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4626410012d07a74006f698f0000f008c30..."} 
[2026-11-04 07:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4626410012d07a74006f698f0000f008c30..."} 
[2026-11-04 07:59:11] local.INFO: Processing buffer {"connection_id":229249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4626410012d07a74006f698f0000f008c30..."} 
[2026-11-04 07:59:11] local.INFO: Packet analysis {"connection_id":229249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a462"} 
[2026-11-04 07:59:11] local.INFO: Extracted packet for processing {"connection_id":229249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a462"} 
[2026-11-04 07:59:11] local.INFO: GPS Element Parsed {"raw_longitude":755476288,"raw_latitude":116824304,"longitude_deg":75.5476288,"latitude_deg":11.6824304,"altitude":15,"angle":140,"satellites":48,"speed":60,"hex_longitude":"2d07a740","hex_latitude":"06f698f0","is_valid_coordinates":true} 
[2026-11-04 07: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-11-04 07:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202372352001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 07:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38503385376227328,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":543950422402404352,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 07:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793759274000,"timestamp_ms":1793759274000,"timestamp_seconds":1793759274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4626410"} 
[2026-11-04 07:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 07:59:11] 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-11-04 07: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-11-04 07:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 07:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 07:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 07:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202372352001,"66":27767,"200":0,"80":6400,"24":60,"16":38503385376227328,"45":543950422402404352},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,80,24,16,45]} 
[2026-11-04 07:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 07:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 07:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202372352001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:59:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 07:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38503385376227328,"km_value":38503385376227.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":543950422402404352,"description":"Unknown IO ID 45"} 
[2026-11-04 07:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202372352001,"power":27767,"gsm_signal":0,"unknown_80":6400,"ignition":60,"odometer":null,"unknown_45":543950422402404352}} 
[2026-11-04 07:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":229249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:59:11] local.INFO: GPS data processed {"connection_id":229249,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:59:11] local.INFO: Acknowledgment sent {"connection_id":229249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:59:14] local.INFO: TCP Data received {"connection_id":232369,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232369,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:14] local.INFO: Processing buffer {"connection_id":232369,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 07:59:14] local.INFO: IMEI packet received {"connection_id":232369,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 07:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":232369,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 07:59:16] local.INFO: TCP Data received {"connection_id":232369,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a461e710012d2e5a4006ba2380001901542b..."} 
[2026-11-04 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a461e710012d2e5a4006ba2380001901542b..."} 
[2026-11-04 07:59:16] local.INFO: Processing buffer {"connection_id":232369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a461e710012d2e5a4006ba2380001901542b..."} 
[2026-11-04 07:59:16] local.INFO: Packet analysis {"connection_id":232369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:59:16] local.INFO: Extracted packet for processing {"connection_id":232369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a461"} 
[2026-11-04 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758012480,"raw_latitude":112862080,"longitude_deg":75.801248,"latitude_deg":11.286208,"altitude":25,"angle":340,"satellites":43,"speed":56,"hex_longitude":"2d2e5a40","hex_latitude":"06ba2380","is_valid_coordinates":true} 
[2026-11-04 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-11-04 07:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202364160001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20190469459804160,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3343500539748028416,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59: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-11-04 07:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793759242000,"timestamp_ms":1793759242000,"timestamp_seconds":1793759242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a461e710"} 
[2026-11-04 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-11-04 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:59: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-11-04 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-11-04 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-11-04 07:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202364160001,"66":28332,"105":206,"2":57088,"24":56,"16":20190469459804160,"45":3343500539748028416},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-11-04 07:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202364160001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:59:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 07:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20190469459804160,"km_value":20190469459804.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3343500539748028416,"description":"Unknown IO ID 45"} 
[2026-11-04 07:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202364160001,"power":28332,"unknown_105":206,"power_alt":57088,"ignition":56,"odometer":null,"unknown_45":3343500539748028416}} 
[2026-11-04 07:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":232369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:59:16] local.INFO: GPS data processed {"connection_id":232369,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:59:16] local.INFO: Acknowledgment sent {"connection_id":232369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:59:20] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4635e10012d0bbe400702a0f8000c005709..."} 
[2026-11-04 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4635e10012d0bbe400702a0f8000c005709..."} 
[2026-11-04 07:59:20] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4635e10012d0bbe400702a0f8000c005709..."} 
[2026-11-04 07:59:20] local.INFO: Packet analysis {"connection_id":228755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 07:59:20] local.INFO: Extracted packet for processing {"connection_id":228755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":755744320,"raw_latitude":117612792,"longitude_deg":75.574432,"latitude_deg":11.7612792,"altitude":12,"angle":87,"satellites":9,"speed":16,"hex_longitude":"2d0bbe40","hex_latitude":"0702a0f8","is_valid_coordinates":true} 
[2026-11-04 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202390016001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131760566468608,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845269385170954240,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793759338000,"timestamp_ms":1793759338000,"timestamp_seconds":1793759338,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4635e10"} 
[2026-11-04 07:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 07:59: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-11-04 07:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202390016001,"66":14559,"17":206,"94":11008,"24":16,"16":39131760566468608,"45":845269385170954240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 07:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 07:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 07:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202390016001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:59:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39131760566468608,"km_value":39131760566468.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":845269385170954240,"description":"Unknown IO ID 45"} 
[2026-11-04 07:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202390016001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":845269385170954240}} 
[2026-11-04 07:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":228755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58042,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:59:21] local.INFO: GPS data processed {"connection_id":228755,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:59:21] local.INFO: Acknowledgment sent {"connection_id":228755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:59:40] local.INFO: TCP Data received {"connection_id":230521,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:59:40] local.INFO: Processing buffer {"connection_id":230521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 07:59:40] local.INFO: IMEI packet received {"connection_id":230521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 07:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":230521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 07:59:48] local.INFO: TCP Data received {"connection_id":232369,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46346a0012d2d6d0006bbeaa0000d013e31..."} 
[2026-11-04 07:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46346a0012d2d6d0006bbeaa0000d013e31..."} 
[2026-11-04 07:59:48] local.INFO: Processing buffer {"connection_id":232369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46346a0012d2d6d0006bbeaa0000d013e31..."} 
[2026-11-04 07:59:48] local.INFO: Packet analysis {"connection_id":232369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 07:59:48] local.INFO: Extracted packet for processing {"connection_id":232369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":757951744,"raw_latitude":112978592,"longitude_deg":75.7951744,"latitude_deg":11.2978592,"altitude":13,"angle":318,"satellites":49,"speed":58,"hex_longitude":"2d2d6d00","hex_latitude":"06bbeaa0","is_valid_coordinates":true} 
[2026-11-04 07:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202387200001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20196847486238720,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3280801988715776000,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59: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-11-04 07:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793759332000,"timestamp_ms":1793759332000,"timestamp_seconds":1793759332,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46346a0"} 
[2026-11-04 07:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 07:59: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-11-04 07:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232369,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 07:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 07:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 07:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202387200001,"66":28300,"192":206,"2":57088,"24":58,"16":20196847486238720,"45":3280801988715776000},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-11-04 07:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 07:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 07:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202387200001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:59:48] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-04 07:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20196847486238720,"km_value":20196847486238.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3280801988715776000,"description":"Unknown IO ID 45"} 
[2026-11-04 07:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202387200001,"power":28300,"unknown_192":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3280801988715776000}} 
[2026-11-04 07:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":232369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:59:48] local.INFO: GPS data processed {"connection_id":232369,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:59:48] local.INFO: Acknowledgment sent {"connection_id":232369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 07:59:52] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46398a8012d0bcf400702a360000a004b0a..."} 
[2026-11-04 07:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46398a8012d0bcf400702a360000a004b0a..."} 
[2026-11-04 07:59:52] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46398a8012d0bcf400702a360000a004b0a..."} 
[2026-11-04 07:59:52] local.INFO: Packet analysis {"connection_id":228755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 07:59:52] local.INFO: Extracted packet for processing {"connection_id":228755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 07:59:52] local.INFO: GPS Element Parsed {"raw_longitude":755748672,"raw_latitude":117613408,"longitude_deg":75.5748672,"latitude_deg":11.7613408,"altitude":10,"angle":75,"satellites":10,"speed":11,"hex_longitude":"2d0bcf40","hex_latitude":"0702a360","is_valid_coordinates":true} 
[2026-11-04 07:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 07:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202390528001,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39131971019866112,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846184178845284352,"note":"Value kept but may cause issues"} 
[2026-11-04 07:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 07:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793759353000,"timestamp_ms":1793759353000,"timestamp_seconds":1793759353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46398a8"} 
[2026-11-04 07:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 07:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 07:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 07:59:52] 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-11-04 07:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 07:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 07:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 07:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 07:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 07:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 07:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 07:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 07:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202390528001,"66":14559,"17":206,"94":11008,"24":11,"16":39131971019866112,"45":846184178845284352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 07:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 07:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 07:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202390528001,"description":"Unknown IO ID 0"} 
[2026-11-04 07:59:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 07:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39131971019866112,"km_value":39131971019866.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 07:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":846184178845284352,"description":"Unknown IO ID 45"} 
[2026-11-04 07:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202390528001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":846184178845284352}} 
[2026-11-04 07:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":228755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 07:59:52] local.INFO: GPS data processed {"connection_id":228755,"processed":1,"errors":0,"total":1} 
[2026-11-04 07:59:52] local.INFO: Acknowledgment sent {"connection_id":228755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:00:19] local.INFO: TCP Data received {"connection_id":228756,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:00:19] local.INFO: Processing buffer {"connection_id":228756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:00:19] local.INFO: IMEI packet received {"connection_id":228756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":228756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:00:20] local.INFO: TCP Data received {"connection_id":228756,"ip":"117.224.124.11","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 08:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228756,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 08:00:20] local.INFO: Processing buffer {"connection_id":228756,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 08:00:20] local.INFO: IMEI packet received {"connection_id":228756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":228756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:00:21] local.INFO: TCP Data received {"connection_id":228756,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46361f8012d2d51c006bc0850000c013e31..."} 
[2026-11-04 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46361f8012d2d51c006bc0850000c013e31..."} 
[2026-11-04 08:00:21] local.INFO: Processing buffer {"connection_id":228756,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1a4..."} 
[2026-11-04 08:00:21] local.INFO: IMEI packet received {"connection_id":228756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":228756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:00:22] local.INFO: TCP Data received {"connection_id":228756,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4637d50012d2d388006bc2768000c014331..."} 
[2026-11-04 08:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4637d50012d2d388006bc2768000c014331..."} 
[2026-11-04 08:00:22] local.INFO: Processing buffer {"connection_id":228756,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a46361f8012d2d51c006bc0850000c013e31..."} 
[2026-11-04 08:00:22] local.INFO: Packet analysis {"connection_id":228756,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:22] local.INFO: Extracted packet for processing {"connection_id":228756,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:22] local.INFO: GPS Element Parsed {"raw_longitude":757944768,"raw_latitude":112986192,"longitude_deg":75.7944768,"latitude_deg":11.2986192,"altitude":12,"angle":318,"satellites":49,"speed":58,"hex_longitude":"2d2d51c0","hex_latitude":"06bc0850","is_valid_coordinates":true} 
[2026-11-04 08:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202388992001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20197341407477760,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3273272533090738176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:22] 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-11-04 08:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793759339000,"timestamp_ms":1793759339000,"timestamp_seconds":1793759339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46361f8"} 
[2026-11-04 08:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:00: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-11-04 08:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202388992001,"66":28354,"192":206,"2":57088,"24":58,"16":20197341407477760,"45":3273272533090738176},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202388992001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:00:22] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-04 08:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20197341407477760,"km_value":20197341407477.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3273272533090738176,"description":"Unknown IO ID 45"} 
[2026-11-04 08:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202388992001,"power":28354,"unknown_192":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3273272533090738176}} 
[2026-11-04 08:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":228756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58045,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:00:22] local.INFO: GPS data processed {"connection_id":228756,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:00:22] local.INFO: Acknowledgment sent {"connection_id":228756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:00:22] local.INFO: Packet analysis {"connection_id":228756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:22] local.INFO: Extracted packet for processing {"connection_id":228756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:22] local.INFO: GPS Element Parsed {"raw_longitude":757938304,"raw_latitude":112994152,"longitude_deg":75.7938304,"latitude_deg":11.2994152,"altitude":12,"angle":323,"satellites":49,"speed":58,"hex_longitude":"2d2d3880","hex_latitude":"06bc2768","is_valid_coordinates":true} 
[2026-11-04 08:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202390784001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20197835328716800,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3265602339977318400,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:22] 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-11-04 08:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793759346000,"timestamp_ms":1793759346000,"timestamp_seconds":1793759346,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4637d50"} 
[2026-11-04 08:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:00:22] 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-11-04 08:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202390784001,"66":27593,"192":206,"2":57088,"24":58,"16":20197835328716800,"45":3265602339977318400},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-11-04 08:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202390784001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:00:22] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-04 08:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20197835328716800,"km_value":20197835328716.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3265602339977318400,"description":"Unknown IO ID 45"} 
[2026-11-04 08:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202390784001,"power":27593,"unknown_192":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3265602339977318400}} 
[2026-11-04 08:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":228756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:00:22] local.INFO: GPS data processed {"connection_id":228756,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:00:22] local.INFO: Acknowledgment sent {"connection_id":228756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:00:23] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a463ac30012d0bd4800702a470000a00580a..."} 
[2026-11-04 08:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a463ac30012d0bd4800702a470000a00580a..."} 
[2026-11-04 08:00:23] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a463ac30012d0bd4800702a470000a00580a..."} 
[2026-11-04 08:00:23] local.INFO: Packet analysis {"connection_id":228755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:23] local.INFO: Extracted packet for processing {"connection_id":228755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:23] local.INFO: GPS Element Parsed {"raw_longitude":755750016,"raw_latitude":117613680,"longitude_deg":75.5750016,"latitude_deg":11.761368,"altitude":10,"angle":88,"satellites":10,"speed":14,"hex_longitude":"2d0bd480","hex_latitude":"0702a470","is_valid_coordinates":true} 
[2026-11-04 08:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202394368001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39132039739342848,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850969253449523200,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793759358000,"timestamp_ms":1793759358000,"timestamp_seconds":1793759358,"priority":1,"record_length":96,"hex_timestamp":"000001a1a463ac30"} 
[2026-11-04 08:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:00: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-11-04 08:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:00:23] 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-11-04 08:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202394368001,"66":14548,"17":206,"94":11008,"24":14,"16":39132039739342848,"45":850969253449523200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 08:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202394368001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:00:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39132039739342848,"km_value":39132039739342.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":850969253449523200,"description":"Unknown IO ID 45"} 
[2026-11-04 08:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202394368001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":850969253449523200}} 
[2026-11-04 08:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":228755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58047,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:00:23] local.INFO: GPS data processed {"connection_id":228755,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:00:23] local.INFO: Acknowledgment sent {"connection_id":228755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:00:24] local.INFO: TCP Data received {"connection_id":228756,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46398a8012d2d200006bc4740000b01402f..."} 
[2026-11-04 08:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46398a8012d2d200006bc4740000b01402f..."} 
[2026-11-04 08:00:24] local.INFO: Processing buffer {"connection_id":228756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46398a8012d2d200006bc4740000b01402f..."} 
[2026-11-04 08:00:24] local.INFO: Packet analysis {"connection_id":228756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:24] local.INFO: Extracted packet for processing {"connection_id":228756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":757932032,"raw_latitude":113002304,"longitude_deg":75.7932032,"latitude_deg":11.3002304,"altitude":11,"angle":320,"satellites":47,"speed":57,"hex_longitude":"2d2d2000","hex_latitude":"06bc4740","is_valid_coordinates":true} 
[2026-11-04 08:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202392576001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20198333544923136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3258495096817412096,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793759353000,"timestamp_ms":1793759353000,"timestamp_seconds":1793759353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46398a8"} 
[2026-11-04 08:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 08:00:24] 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-11-04 08:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":228756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":228756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":228756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202392576001,"66":27995,"244":206,"2":57088,"24":57,"16":20198333544923136,"45":3258495096817412096},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,45]} 
[2026-11-04 08:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202392576001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:00:24] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-11-04 08:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20198333544923136,"km_value":20198333544923.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3258495096817412096,"description":"Unknown IO ID 45"} 
[2026-11-04 08:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202392576001,"power":27995,"unknown_244":206,"power_alt":57088,"ignition":57,"odometer":null,"unknown_45":3258495096817412096}} 
[2026-11-04 08:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":228756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:00:24] local.INFO: GPS data processed {"connection_id":228756,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:00:24] local.INFO: Acknowledgment sent {"connection_id":228756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:00:27] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:00:27] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:00:27] local.INFO: IMEI packet received {"connection_id":228757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":228757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:00:32] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:00:32] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:00:32] local.INFO: IMEI packet received {"connection_id":228757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":228757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:00:33] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a463b400012d08b48006f54118000a009731..."} 
[2026-11-04 08:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a463b400012d08b48006f54118000a009731..."} 
[2026-11-04 08:00:33] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a463b400012d08b48006f54118000a009731..."} 
[2026-11-04 08:00:33] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:33] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":755545216,"raw_latitude":116736280,"longitude_deg":75.5545216,"latitude_deg":11.673628,"altitude":10,"angle":151,"satellites":49,"speed":22,"hex_longitude":"2d08b480","hex_latitude":"06f54118","is_valid_coordinates":true} 
[2026-11-04 08:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38508169969795072,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,201,80,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793759360000,"timestamp_ms":1793759360000,"timestamp_seconds":1793759360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a463b400"} 
[2026-11-04 08:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27669,"201":206,"80":6400,"24":22,"16":38508169969795072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16]} 
[2026-11-04 08:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 08:00:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 08:00:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38508169969795072,"km_value":38508169969795.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:00:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27669,"unknown_201":206,"unknown_80":6400,"ignition":22,"odometer":null}} 
[2026-11-04 08:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:00:33] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:00:33] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:00:54] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a464ec80012d0c21c00702aef8000c00680b..."} 
[2026-11-04 08:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a464ec80012d0c21c00702aef8000c00680b..."} 
[2026-11-04 08:00:54] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a464ec80012d0c21c00702aef8000c00680b..."} 
[2026-11-04 08:00:54] local.INFO: Packet analysis {"connection_id":228755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:00:54] local.INFO: Extracted packet for processing {"connection_id":228755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:00:54] local.INFO: GPS Element Parsed {"raw_longitude":755769792,"raw_latitude":117616376,"longitude_deg":75.5769792,"latitude_deg":11.7616376,"altitude":12,"angle":104,"satellites":11,"speed":13,"hex_longitude":"2d0c21c0","hex_latitude":"0702aef8","is_valid_coordinates":true} 
[2026-11-04 08:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202415360001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39133049056657408,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872220614191935488,"note":"Value kept but may cause issues"} 
[2026-11-04 08:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793759440000,"timestamp_ms":1793759440000,"timestamp_seconds":1793759440,"priority":1,"record_length":96,"hex_timestamp":"000001a1a464ec80"} 
[2026-11-04 08:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:00:54] 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-11-04 08:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":228755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202415360001,"66":14515,"37":206,"94":11008,"24":13,"16":39133049056657408,"45":872220614191935488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202415360001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:00:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:00:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39133049056657408,"km_value":39133049056657.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":872220614191935488,"description":"Unknown IO ID 45"} 
[2026-11-04 08:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202415360001,"power":14515,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":872220614191935488}} 
[2026-11-04 08:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":228755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:00:54] local.INFO: GPS data processed {"connection_id":228755,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:00:54] local.INFO: Acknowledgment sent {"connection_id":228755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:01:05] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a463e6c8012d08c94006f524a8000a008c30..."} 
[2026-11-04 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a463e6c8012d08c94006f524a8000a008c30..."} 
[2026-11-04 08:01:05] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a463e6c8012d08c94006f524a8000a008c30..."} 
[2026-11-04 08:01:05] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:01:05] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":755550528,"raw_latitude":116729000,"longitude_deg":75.5550528,"latitude_deg":11.6729,"altitude":10,"angle":140,"satellites":48,"speed":32,"hex_longitude":"2d08c940","hex_latitude":"06f524a8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202396160001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38508608056459264,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":627267015484184576,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793759373000,"timestamp_ms":1793759373000,"timestamp_seconds":1793759373,"priority":1,"record_length":96,"hex_timestamp":"000001a1a463e6c8"} 
[2026-11-04 08:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-04 08:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202396160001,"66":27745,"201":206,"80":6400,"24":32,"16":38508608056459264,"45":627267015484184576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-11-04 08:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202396160001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:01:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 08:01:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38508608056459264,"km_value":38508608056459.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":627267015484184576,"description":"Unknown IO ID 45"} 
[2026-11-04 08:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202396160001,"power":27745,"unknown_201":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":627267015484184576}} 
[2026-11-04 08:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:01:05] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:01:05] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:01:07] local.INFO: TCP Data received {"connection_id":230522,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:07] local.INFO: Processing buffer {"connection_id":230522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:07] local.INFO: IMEI packet received {"connection_id":230522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":230522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:01:08] local.INFO: TCP Data received {"connection_id":230522,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:08] local.INFO: Processing buffer {"connection_id":230522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:08] local.INFO: IMEI packet received {"connection_id":230522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":230522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:01:09] local.INFO: TCP Data received {"connection_id":230522,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:09] local.INFO: Processing buffer {"connection_id":230522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:09] local.INFO: IMEI packet received {"connection_id":230522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":230522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:01:14] local.INFO: TCP Data received {"connection_id":230522,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:14] local.INFO: Processing buffer {"connection_id":230522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:01:14] local.INFO: IMEI packet received {"connection_id":230522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":230522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:01:26] local.INFO: TCP Data received {"connection_id":228755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a464f838012d0c25800702ad28000c00730b..."} 
[2026-11-04 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a464f838012d0c25800702ad28000c00730b..."} 
[2026-11-04 08:01:26] local.INFO: Processing buffer {"connection_id":228755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a464f838012d0c25800702ad28000c00730b..."} 
[2026-11-04 08:01:26] local.INFO: Packet analysis {"connection_id":228755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:01:26] local.INFO: Extracted packet for processing {"connection_id":228755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:01:26] local.INFO: GPS Element Parsed {"raw_longitude":755770752,"raw_latitude":117615912,"longitude_deg":75.5770752,"latitude_deg":11.7615912,"altitude":12,"angle":115,"satellites":11,"speed":12,"hex_longitude":"2d0c2580","hex_latitude":"0702ad28","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202416640001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39133100596264960,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874190939028912128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793759443000,"timestamp_ms":1793759443000,"timestamp_seconds":1793759443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a464f838"} 
[2026-11-04 08:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:01: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-11-04 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 08:01:26] 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-11-04 08: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-11-04 08:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":228755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":228755,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202416640001,"66":14439,"37":206,"94":11008,"24":12,"16":39133100596264960,"45":874190939028912128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202416640001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:01:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:01:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39133100596264960,"km_value":39133100596264.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":874190939028912128,"description":"Unknown IO ID 45"} 
[2026-11-04 08:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202416640001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":874190939028912128}} 
[2026-11-04 08:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":228755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58052,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:01:26] local.INFO: GPS data processed {"connection_id":228755,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:01:26] local.INFO: Acknowledgment sent {"connection_id":228755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:01:27] local.INFO: TCP Data received {"connection_id":230522,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a463b400012d2d05c006bc65b8000b013e26..."} 
[2026-11-04 08:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a463b400012d2d05c006bc65b8000b013e26..."} 
[2026-11-04 08:01:27] local.INFO: Processing buffer {"connection_id":230522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a463b400012d2d05c006bc65b8000b013e26..."} 
[2026-11-04 08:01:27] local.INFO: Packet analysis {"connection_id":230522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:01:27] local.INFO: Extracted packet for processing {"connection_id":230522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a463"} 
[2026-11-04 08:01:27] local.INFO: GPS Element Parsed {"raw_longitude":757925312,"raw_latitude":113010104,"longitude_deg":75.7925312,"latitude_deg":11.3010104,"altitude":11,"angle":318,"satellites":38,"speed":58,"hex_longitude":"2d2d05c0","hex_latitude":"06bc65b8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202394368001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20198827466162176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3251598959890087936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793759360000,"timestamp_ms":1793759360000,"timestamp_seconds":1793759360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a463b400"} 
[2026-11-04 08:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 08:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230522,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202394368001,"66":28376,"244":206,"2":57088,"24":58,"16":20198827466162176,"45":3251598959890087936},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,45]} 
[2026-11-04 08:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202394368001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:01:27] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-11-04 08:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20198827466162176,"km_value":20198827466162.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3251598959890087936,"description":"Unknown IO ID 45"} 
[2026-11-04 08:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202394368001,"power":28376,"unknown_244":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3251598959890087936}} 
[2026-11-04 08:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":230522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:01:27] local.INFO: GPS data processed {"connection_id":230522,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:01:27] local.INFO: Acknowledgment sent {"connection_id":230522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:01:36] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4641990012d08e0c006f50a78000a00882d..."} 
[2026-11-04 08:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4641990012d08e0c006f50a78000a00882d..."} 
[2026-11-04 08:01:36] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4641990012d08e0c006f50a78000a00882d..."} 
[2026-11-04 08:01:36] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:01:36] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:01:36] local.INFO: GPS Element Parsed {"raw_longitude":755556544,"raw_latitude":116722296,"longitude_deg":75.5556544,"latitude_deg":11.6722296,"altitude":10,"angle":136,"satellites":45,"speed":35,"hex_longitude":"2d08e0c0","hex_latitude":"06f50a78","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202399488001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38509041848156160,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":633107621249067008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793759386000,"timestamp_ms":1793759386000,"timestamp_seconds":1793759386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4641990"} 
[2026-11-04 08:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202399488001,"66":27658,"201":206,"80":6400,"24":35,"16":38509041848156160,"45":633107621249067008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,80,24,16,45]} 
[2026-11-04 08:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202399488001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:01:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 08:01:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38509041848156160,"km_value":38509041848156.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":633107621249067008,"description":"Unknown IO ID 45"} 
[2026-11-04 08:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202399488001,"power":27658,"unknown_201":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":633107621249067008}} 
[2026-11-04 08:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:01:36] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:01:36] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:01:44] local.INFO: TCP Data received {"connection_id":229250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:01:44] local.INFO: Processing buffer {"connection_id":229250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:01:44] local.INFO: IMEI packet received {"connection_id":229250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":229250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:01:49] local.INFO: TCP Data received {"connection_id":229250,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229250,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:01:49] local.INFO: Processing buffer {"connection_id":229250,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:01:49] local.INFO: IMEI packet received {"connection_id":229250,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":229250,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:01:50] local.INFO: TCP Data received {"connection_id":229250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a464fc20012d0c26800702acd8000c00670b..."} 
[2026-11-04 08:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a464fc20012d0c26800702acd8000c00670b..."} 
[2026-11-04 08:01:50] local.INFO: Processing buffer {"connection_id":229250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a464fc20012d0c26800702acd8000c00670b..."} 
[2026-11-04 08:01:50] local.INFO: Packet analysis {"connection_id":229250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:01:50] local.INFO: Extracted packet for processing {"connection_id":229250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a464"} 
[2026-11-04 08:01:50] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":117615832,"longitude_deg":75.5771008,"latitude_deg":11.7615832,"altitude":12,"angle":103,"satellites":11,"speed":10,"hex_longitude":"2d0c2680","hex_latitude":"0702acd8","is_valid_coordinates":true} 
[2026-11-04 08:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202417408001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39133113481166848,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875246470191458304,"note":"Value kept but may cause issues"} 
[2026-11-04 08:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793759444000,"timestamp_ms":1793759444000,"timestamp_seconds":1793759444,"priority":1,"record_length":96,"hex_timestamp":"000001a1a464fc20"} 
[2026-11-04 08:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:01: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-11-04 08:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202417408001,"66":14580,"37":206,"94":11008,"24":10,"16":39133113481166848,"45":875246470191458304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202417408001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:01:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:01:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39133113481166848,"km_value":39133113481166.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":875246470191458304,"description":"Unknown IO ID 45"} 
[2026-11-04 08:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202417408001,"power":14580,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":875246470191458304}} 
[2026-11-04 08:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":229250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:01:50] local.INFO: GPS data processed {"connection_id":229250,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:01:50] local.INFO: Acknowledgment sent {"connection_id":229250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:02:08] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:08] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:08] local.INFO: IMEI packet received {"connection_id":229251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:02:09] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4653aa0012d09824006f3e690000c00a630..."} 
[2026-11-04 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4653aa0012d09824006f3e690000c00a630..."} 
[2026-11-04 08:02:09] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4653aa0012d09824006f3e690000c00a630..."} 
[2026-11-04 08:02:09] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:09] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":755597888,"raw_latitude":116647568,"longitude_deg":75.5597888,"latitude_deg":11.6647568,"altitude":12,"angle":166,"satellites":48,"speed":46,"hex_longitude":"2d098240","hex_latitude":"06f3e690","is_valid_coordinates":true} 
[2026-11-04 08:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202419712001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38513250916106240,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":682225004666667008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793759460000,"timestamp_ms":1793759460000,"timestamp_seconds":1793759460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4653aa0"} 
[2026-11-04 08:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:02:09] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202419712001,"66":27539,"202":206,"80":6400,"24":46,"16":38513250916106240,"45":682225004666667008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-11-04 08:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202419712001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:02:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38513250916106240,"km_value":38513250916106.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":682225004666667008,"description":"Unknown IO ID 45"} 
[2026-11-04 08:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202419712001,"power":27539,"mcc":206,"unknown_80":6400,"ignition":46,"odometer":null,"unknown_45":682225004666667008}} 
[2026-11-04 08:02:09] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:09] local.INFO: IMEI packet received {"connection_id":229251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":229251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:02:09] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:02:09] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:02:18] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:18] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:02:18] local.INFO: IMEI packet received {"connection_id":229251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":229251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:02:21] local.INFO: TCP Data received {"connection_id":229250,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46536b8012d0c2ac00702ac08000e00590c..."} 
[2026-11-04 08:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46536b8012d0c2ac00702ac08000e00590c..."} 
[2026-11-04 08:02:21] local.INFO: Processing buffer {"connection_id":229250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46536b8012d0c2ac00702ac08000e00590c..."} 
[2026-11-04 08:02:21] local.INFO: Packet analysis {"connection_id":229250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:21] local.INFO: Extracted packet for processing {"connection_id":229250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:21] local.INFO: GPS Element Parsed {"raw_longitude":755772096,"raw_latitude":117615624,"longitude_deg":75.5772096,"latitude_deg":11.7615624,"altitude":14,"angle":89,"satellites":12,"speed":6,"hex_longitude":"2d0c2ac0","hex_latitude":"0702ac08","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202417664001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39133169315741696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945168148480,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759459000,"timestamp_ms":1793759459000,"timestamp_seconds":1793759459,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46536b8"} 
[2026-11-04 08:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:02: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-11-04 08: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 08:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229250,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202417664001,"66":14439,"37":206,"94":11008,"24":6,"16":39133169315741696,"45":875527945168148480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202417664001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:02:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:02:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39133169315741696,"km_value":39133169315741.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945168148480,"description":"Unknown IO ID 45"} 
[2026-11-04 08:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202417664001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":875527945168148480}} 
[2026-11-04 08:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":229250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58057,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:02:21] local.INFO: GPS data processed {"connection_id":229250,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:02:21] local.INFO: Acknowledgment sent {"connection_id":229250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:02:21] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4654270012d2b740006be10a8000601412f..."} 
[2026-11-04 08:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4654270012d2b740006be10a8000601412f..."} 
[2026-11-04 08:02:21] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4654270012d2b740006be10a8000601412f..."} 
[2026-11-04 08:02:21] local.INFO: Packet analysis {"connection_id":229251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:21] local.INFO: Extracted packet for processing {"connection_id":229251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:21] local.INFO: GPS Element Parsed {"raw_longitude":757822464,"raw_latitude":113119400,"longitude_deg":75.7822464,"latitude_deg":11.31194,"altitude":6,"angle":321,"satellites":47,"speed":58,"hex_longitude":"2d2b7400","hex_latitude":"06be10a8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202420736001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20206060191088640,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3137531225606250496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:21] 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-11-04 08:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759462000,"timestamp_ms":1793759462000,"timestamp_seconds":1793759462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4654270"} 
[2026-11-04 08:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 08:02:21] 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-11-04 08: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-11-04 08:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202420736001,"66":28300,"242":206,"2":57088,"24":58,"16":20206060191088640,"45":3137531225606250496},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-11-04 08:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202420736001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:02:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-04 08:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20206060191088640,"km_value":20206060191088.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3137531225606250496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202420736001,"power":28300,"unknown_242":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3137531225606250496}} 
[2026-11-04 08:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":229251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:02:21] local.INFO: GPS data processed {"connection_id":229251,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:02:21] local.INFO: Acknowledgment sent {"connection_id":229251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:02:40] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46559e0012d098b8006f3c4e0000e00a430..."} 
[2026-11-04 08:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46559e0012d098b8006f3c4e0000e00a430..."} 
[2026-11-04 08:02:40] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46559e0012d098b8006f3c4e0000e00a430..."} 
[2026-11-04 08:02:40] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:40] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:02:40] local.INFO: GPS Element Parsed {"raw_longitude":755600256,"raw_latitude":116638944,"longitude_deg":75.5600256,"latitude_deg":11.6638944,"altitude":14,"angle":164,"satellites":48,"speed":36,"hex_longitude":"2d098b80","hex_latitude":"06f3c4e0","is_valid_coordinates":true} 
[2026-11-04 08:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202421760001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38513684707803136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685180491919691776,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793759468000,"timestamp_ms":1793759468000,"timestamp_seconds":1793759468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46559e0"} 
[2026-11-04 08:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-11-04 08:02:40] 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-11-04 08:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202421760001,"66":27615,"202":206,"80":6400,"24":36,"16":38513684707803136,"45":685180491919691776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-11-04 08:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202421760001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:02:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38513684707803136,"km_value":38513684707803.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":685180491919691776,"description":"Unknown IO ID 45"} 
[2026-11-04 08:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202421760001,"power":27615,"mcc":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":685180491919691776}} 
[2026-11-04 08:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:02:40] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:02:40] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:02:43] local.INFO: TCP Data received {"connection_id":230523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:02:43] local.INFO: Processing buffer {"connection_id":230523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:02:43] local.INFO: IMEI packet received {"connection_id":230523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":230523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:02:49] local.INFO: TCP Data received {"connection_id":230523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:02:49] local.INFO: Processing buffer {"connection_id":230523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:02:49] local.INFO: IMEI packet received {"connection_id":230523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":230523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:02:50] local.INFO: TCP Data received {"connection_id":230523,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4666f38012d0c72400702b3f8001600460e..."} 
[2026-11-04 08:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4666f38012d0c72400702b3f8001600460e..."} 
[2026-11-04 08:02:50] local.INFO: Processing buffer {"connection_id":230523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4666f38012d0c72400702b3f8001600460e..."} 
[2026-11-04 08:02:50] local.INFO: Packet analysis {"connection_id":230523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:02:50] local.INFO: Extracted packet for processing {"connection_id":230523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:02:50] local.INFO: GPS Element Parsed {"raw_longitude":755790400,"raw_latitude":117617656,"longitude_deg":75.57904,"latitude_deg":11.7617656,"altitude":22,"angle":70,"satellites":14,"speed":6,"hex_longitude":"2d0c7240","hex_latitude":"0702b3f8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202440960001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134062668939264,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896216355956850688,"note":"Value kept but may cause issues"} 
[2026-11-04 08:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793759539000,"timestamp_ms":1793759539000,"timestamp_seconds":1793759539,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4666f38"} 
[2026-11-04 08:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":57,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1356,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202440960001,"66":14374,"37":206,"94":11008,"24":6,"16":39134062668939264,"45":896216355956850688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202440960001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:02:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:02:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134062668939264,"km_value":39134062668939.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":896216355956850688,"description":"Unknown IO ID 45"} 
[2026-11-04 08:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202440960001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":896216355956850688}} 
[2026-11-04 08:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":230523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58060,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:02:50] local.INFO: GPS data processed {"connection_id":230523,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:02:50] local.INFO: Acknowledgment sent {"connection_id":230523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:03:11] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4655dc8012d2b5a8006be2ff8000601402f..."} 
[2026-11-04 08:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4655dc8012d2b5a8006be2ff8000601402f..."} 
[2026-11-04 08:03:11] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4655dc8012d2b5a8006be2ff8000601402f..."} 
[2026-11-04 08:03:11] local.INFO: Packet analysis {"connection_id":229251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:03:11] local.INFO: Extracted packet for processing {"connection_id":229251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":757815936,"raw_latitude":113127416,"longitude_deg":75.7815936,"latitude_deg":11.3127416,"altitude":6,"angle":320,"satellites":47,"speed":58,"hex_longitude":"2d2b5a80","hex_latitude":"06be2ff8","is_valid_coordinates":true} 
[2026-11-04 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202422272001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20206558407294976,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3131127669887903744,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03: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-11-04 08:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793759469000,"timestamp_ms":1793759469000,"timestamp_seconds":1793759469,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4655dc8"} 
[2026-11-04 08:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:03: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-11-04 08:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202422272001,"66":28300,"242":206,"2":57088,"24":58,"16":20206558407294976,"45":3131127669887903744},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-11-04 08:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202422272001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:03:11] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-11-04 08:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20206558407294976,"km_value":20206558407294.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3131127669887903744,"description":"Unknown IO ID 45"} 
[2026-11-04 08:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202422272001,"power":28300,"unknown_242":206,"power_alt":57088,"ignition":58,"odometer":null,"unknown_45":3131127669887903744}} 
[2026-11-04 08:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":229251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:03:11] local.INFO: GPS data processed {"connection_id":229251,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:03:11] local.INFO: Acknowledgment sent {"connection_id":229251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:03:12] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4659c48012d09928006f3a290001100ab2e..."} 
[2026-11-04 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4659c48012d09928006f3a290001100ab2e..."} 
[2026-11-04 08:03:12] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4659c48012d09928006f3a290001100ab2e..."} 
[2026-11-04 08:03:12] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:03:12] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":755602048,"raw_latitude":116630160,"longitude_deg":75.5602048,"latitude_deg":11.663016,"altitude":17,"angle":171,"satellites":46,"speed":9,"hex_longitude":"2d099280","hex_latitude":"06f3a290","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202423808001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38514118499500032,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":687784135452057600,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793759485000,"timestamp_ms":1793759485000,"timestamp_seconds":1793759485,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4659c48"} 
[2026-11-04 08:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:03:12] 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-11-04 08: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-11-04 08:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202423808001,"66":27658,"202":206,"80":6400,"24":9,"16":38514118499500032,"45":687784135452057600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-11-04 08:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202423808001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:03:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38514118499500032,"km_value":38514118499500.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":687784135452057600,"description":"Unknown IO ID 45"} 
[2026-11-04 08:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202423808001,"power":27658,"mcc":206,"unknown_80":6400,"ignition":9,"odometer":null,"unknown_45":687784135452057600}} 
[2026-11-04 08:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:03:12] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:03:12] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:03:21] local.INFO: TCP Data received {"connection_id":230523,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:03:21] local.INFO: Processing buffer {"connection_id":230523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:03:21] local.INFO: Packet analysis {"connection_id":230523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:03:21] local.INFO: Extracted packet for processing {"connection_id":230523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:03:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202441984001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896849674654447616,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 08:03:21] 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-11-04 08:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230523,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202441984001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":896849674654447616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202441984001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:03:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:03:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":896849674654447616,"description":"Unknown IO ID 45"} 
[2026-11-04 08:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202441984001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":896849674654447616}} 
[2026-11-04 08:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":230523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:03:21] local.INFO: GPS data processed {"connection_id":230523,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:03:21] local.INFO: Acknowledgment sent {"connection_id":230523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:03:43] local.INFO: TCP Data received {"connection_id":229252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:03:43] local.INFO: Processing buffer {"connection_id":229252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:03:43] local.INFO: IMEI packet received {"connection_id":229252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":229252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:03:44] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a465d6e0012d09990006f37ea0001300ad2e..."} 
[2026-11-04 08:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a465d6e0012d09990006f37ea0001300ad2e..."} 
[2026-11-04 08:03:44] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a465d6e0012d09990006f37ea0001300ad2e..."} 
[2026-11-04 08:03:44] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:03:44] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:03:44] local.INFO: GPS Element Parsed {"raw_longitude":755603712,"raw_latitude":116620960,"longitude_deg":75.5603712,"latitude_deg":11.662096,"altitude":19,"angle":173,"satellites":46,"speed":37,"hex_longitude":"2d099900","hex_latitude":"06f37ea0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202428160001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38514573766033408,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":689754460286783488,"note":"Value kept but may cause issues"} 
[2026-11-04 08:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793759500000,"timestamp_ms":1793759500000,"timestamp_seconds":1793759500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a465d6e0"} 
[2026-11-04 08:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":10,"data_length":795,"current_offset":136} 
[2026-11-04 08:03:44] 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-11-04 08: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-11-04 08:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202428160001,"66":27658,"202":206,"80":6400,"24":37,"16":38514573766033408,"45":689754460286783488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-11-04 08:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202428160001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:03:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38514573766033408,"km_value":38514573766033.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":689754460286783488,"description":"Unknown IO ID 45"} 
[2026-11-04 08:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202428160001,"power":27658,"mcc":206,"unknown_80":6400,"ignition":37,"odometer":null,"unknown_45":689754460286783488}} 
[2026-11-04 08:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:03:44] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:03:44] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:03:49] local.INFO: TCP Data received {"connection_id":229252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229252,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:03:49] local.INFO: Processing buffer {"connection_id":229252,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:03:49] local.INFO: IMEI packet received {"connection_id":229252,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":229252,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:03:49] local.INFO: TCP Data received {"connection_id":230524,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:03:49] local.INFO: Processing buffer {"connection_id":230524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:03:49] local.INFO: IMEI packet received {"connection_id":230524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":230524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:03:51] local.INFO: TCP Data received {"connection_id":230524,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:03:51] local.INFO: Processing buffer {"connection_id":230524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:03:51] local.INFO: IMEI packet received {"connection_id":230524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":230524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:04:04] local.INFO: TCP Data received {"connection_id":229252,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:04:04] local.INFO: Processing buffer {"connection_id":229252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:04:04] local.INFO: Packet analysis {"connection_id":229252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:04:04] local.INFO: Extracted packet for processing {"connection_id":229252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:04:04] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:04: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-11-04 08:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:04:04] 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-11-04 08:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229252,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:04:04] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:04:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":229252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58065,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:04:04] local.INFO: GPS data processed {"connection_id":229252,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:04:04] local.INFO: Acknowledgment sent {"connection_id":229252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:04:14] local.INFO: TCP Data received {"connection_id":232370,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:04:14] local.INFO: Processing buffer {"connection_id":232370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:04:14] local.INFO: IMEI packet received {"connection_id":232370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":232370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:04:15] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a465fdf0012d099d4006f359f8001300af2c..."} 
[2026-11-04 08:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a465fdf0012d099d4006f359f8001300af2c..."} 
[2026-11-04 08:04:15] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a465fdf0012d099d4006f359f8001300af2c..."} 
[2026-11-04 08:04:15] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:04:15] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a465"} 
[2026-11-04 08:04:15] local.INFO: GPS Element Parsed {"raw_longitude":755604800,"raw_latitude":116611576,"longitude_deg":75.56048,"latitude_deg":11.6611576,"altitude":19,"angle":175,"satellites":44,"speed":27,"hex_longitude":"2d099d40","hex_latitude":"06f359f8","is_valid_coordinates":true} 
[2026-11-04 08:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202432000001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38515033327534080,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":691584047633047552,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793759510000,"timestamp_ms":1793759510000,"timestamp_seconds":1793759510,"priority":1,"record_length":96,"hex_timestamp":"000001a1a465fdf0"} 
[2026-11-04 08:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 08:04:15] 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-11-04 08:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202432000001,"66":27604,"202":206,"80":6400,"24":27,"16":38515033327534080,"45":691584047633047552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,80,24,16,45]} 
[2026-11-04 08:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202432000001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:04:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38515033327534080,"km_value":38515033327534.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":691584047633047552,"description":"Unknown IO ID 45"} 
[2026-11-04 08:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202432000001,"power":27604,"mcc":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":691584047633047552}} 
[2026-11-04 08:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:04:15] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:04:15] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:04:19] local.INFO: TCP Data received {"connection_id":232370,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:04:19] local.INFO: Processing buffer {"connection_id":232370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:04:19] local.INFO: IMEI packet received {"connection_id":232370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":232370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:04:44] local.INFO: TCP Data received {"connection_id":232371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:04:44] local.INFO: Processing buffer {"connection_id":232371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:04:44] local.INFO: IMEI packet received {"connection_id":232371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":232371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:04:47] local.INFO: TCP Data received {"connection_id":228757,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a467b370012d09cfc006f23f40000500a328..."} 
[2026-11-04 08:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a467b370012d09cfc006f23f40000500a328..."} 
[2026-11-04 08:04:47] local.INFO: Processing buffer {"connection_id":228757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a467b370012d09cfc006f23f40000500a328..."} 
[2026-11-04 08:04:47] local.INFO: Packet analysis {"connection_id":228757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a467"} 
[2026-11-04 08:04:47] local.INFO: Extracted packet for processing {"connection_id":228757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a467"} 
[2026-11-04 08:04:47] local.INFO: GPS Element Parsed {"raw_longitude":755617728,"raw_latitude":116539200,"longitude_deg":75.5617728,"latitude_deg":11.65392,"altitude":5,"angle":163,"satellites":40,"speed":0,"hex_longitude":"2d09cfc0","hex_latitude":"06f23f40","is_valid_coordinates":true} 
[2026-11-04 08:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202457856001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38518615330258944,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":706150377657718784,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793759622000,"timestamp_ms":1793759622000,"timestamp_seconds":1793759622,"priority":1,"record_length":96,"hex_timestamp":"000001a1a467b370"} 
[2026-11-04 08:04:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:04:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:04:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:04:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202457856001,"66":27745,"212":206,"80":6400,"24":0,"16":38518615330258944,"45":706150377657718784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-11-04 08:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202457856001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:04:47] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 08:04:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38518615330258944,"km_value":38518615330258.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":706150377657718784,"description":"Unknown IO ID 45"} 
[2026-11-04 08:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202457856001,"power":27745,"unknown_212":206,"unknown_80":6400,"ignition":0,"odometer":null,"unknown_45":706150377657718784}} 
[2026-11-04 08:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":228757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:04:47] local.INFO: GPS data processed {"connection_id":228757,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:04:47] local.INFO: Acknowledgment sent {"connection_id":228757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:04:48] local.INFO: TCP Data received {"connection_id":232371,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232371,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:04:48] local.INFO: Processing buffer {"connection_id":232371,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:04:48] local.INFO: IMEI packet received {"connection_id":232371,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":232371,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:04:49] local.INFO: TCP Data received {"connection_id":232371,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:04:49] local.INFO: Processing buffer {"connection_id":232371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:04:49] local.INFO: Packet analysis {"connection_id":232371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:04:49] local.INFO: Extracted packet for processing {"connection_id":232371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:04:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:04:49] 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-11-04 08:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:04:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:04:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":232371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58068,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:04:49] local.INFO: GPS data processed {"connection_id":232371,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:04:49] local.INFO: Acknowledgment sent {"connection_id":232371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:05:07] local.INFO: TCP Data received {"connection_id":228758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:05:07] local.INFO: Processing buffer {"connection_id":228758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:05:07] local.INFO: IMEI packet received {"connection_id":228758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":228758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:05:13] local.INFO: TCP Data received {"connection_id":228758,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:05:13] local.INFO: Processing buffer {"connection_id":228758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:05:13] local.INFO: IMEI packet received {"connection_id":228758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":228758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:05:14] local.INFO: TCP Data received {"connection_id":228758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4680578012d09d9c006f21bf8000700a62e..."} 
[2026-11-04 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4680578012d09d9c006f21bf8000700a62e..."} 
[2026-11-04 08:05:14] local.INFO: Processing buffer {"connection_id":228758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4680578012d09d9c006f21bf8000700a62e..."} 
[2026-11-04 08:05:14] local.INFO: Packet analysis {"connection_id":228758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a468"} 
[2026-11-04 08:05:14] local.INFO: Extracted packet for processing {"connection_id":228758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a468"} 
[2026-11-04 08:05:14] local.INFO: GPS Element Parsed {"raw_longitude":755620288,"raw_latitude":116530168,"longitude_deg":75.5620288,"latitude_deg":11.6530168,"altitude":7,"angle":166,"satellites":46,"speed":36,"hex_longitude":"2d09d9c0","hex_latitude":"06f21bf8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202463232001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38519070596792320,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":706994802587025408,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793759643000,"timestamp_ms":1793759643000,"timestamp_seconds":1793759643,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4680578"} 
[2026-11-04 08:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:05:14] 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-11-04 08: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-11-04 08:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202463232001,"66":27919,"212":206,"80":6400,"24":36,"16":38519070596792320,"45":706994802587025408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-11-04 08:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202463232001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:05:14] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 08:05:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38519070596792320,"km_value":38519070596792.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":706994802587025408,"description":"Unknown IO ID 45"} 
[2026-11-04 08:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202463232001,"power":27919,"unknown_212":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":706994802587025408}} 
[2026-11-04 08:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":228758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:05:15] local.INFO: GPS data processed {"connection_id":228758,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:05:15] local.INFO: Acknowledgment sent {"connection_id":228758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:05:20] local.INFO: TCP Data received {"connection_id":232371,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:05:20] local.INFO: Processing buffer {"connection_id":232371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:05:20] local.INFO: Packet analysis {"connection_id":232371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:05:20] local.INFO: Extracted packet for processing {"connection_id":232371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:05:20] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:05: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-11-04 08: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-11-04 08:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232371,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:05:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:05:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":232371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58070,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:05:20] local.INFO: GPS data processed {"connection_id":232371,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:05:20] local.INFO: Acknowledgment sent {"connection_id":232371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:05:43] local.INFO: TCP Data received {"connection_id":232372,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:05:43] local.INFO: Processing buffer {"connection_id":232372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:05:43] local.INFO: IMEI packet received {"connection_id":232372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":232372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:05:46] local.INFO: TCP Data received {"connection_id":228758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4680578012d09d9c006f21bf8000700a62e..."} 
[2026-11-04 08:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4680578012d09d9c006f21bf8000700a62e..."} 
[2026-11-04 08:05:46] local.INFO: Processing buffer {"connection_id":228758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4680578012d09d9c006f21bf8000700a62e..."} 
[2026-11-04 08:05:46] local.INFO: Packet analysis {"connection_id":228758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a468"} 
[2026-11-04 08:05:46] local.INFO: Extracted packet for processing {"connection_id":228758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a468"} 
[2026-11-04 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":755620288,"raw_latitude":116530168,"longitude_deg":75.5620288,"latitude_deg":11.6530168,"altitude":7,"angle":166,"satellites":46,"speed":36,"hex_longitude":"2d09d9c0","hex_latitude":"06f21bf8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202468608001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38519070596792320,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":709809552351819776,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793759643000,"timestamp_ms":1793759643000,"timestamp_seconds":1793759643,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4680578"} 
[2026-11-04 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-11-04 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 08:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 08:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202468608001,"66":27919,"212":206,"80":6400,"24":36,"16":38519070596792320,"45":709809552351819776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-11-04 08:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202468608001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:05:46] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 08:05:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38519070596792320,"km_value":38519070596792.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":709809552351819776,"description":"Unknown IO ID 45"} 
[2026-11-04 08:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202468608001,"power":27919,"unknown_212":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":709809552351819776}} 
[2026-11-04 08:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":228758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:05:46] local.INFO: GPS data processed {"connection_id":228758,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:05:46] local.INFO: Acknowledgment sent {"connection_id":228758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:05:49] local.INFO: TCP Data received {"connection_id":232372,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:05:49] local.INFO: Processing buffer {"connection_id":232372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:05:49] local.INFO: IMEI packet received {"connection_id":232372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":232372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:05:49] local.INFO: TCP Data received {"connection_id":232372,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:05:49] local.INFO: Processing buffer {"connection_id":232372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:05:49] local.INFO: Packet analysis {"connection_id":232372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:05:49] local.INFO: Extracted packet for processing {"connection_id":232372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:05:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:05:49] 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-11-04 08: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-11-04 08:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:05:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:05:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":232372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58072,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:05:50] local.INFO: GPS data processed {"connection_id":232372,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:05:50] local.INFO: Acknowledgment sent {"connection_id":232372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:06:17] local.INFO: TCP Data received {"connection_id":228758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4683070012d09e34006f1f7d8000700a62c..."} 
[2026-11-04 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4683070012d09e34006f1f7d8000700a62c..."} 
[2026-11-04 08:06:17] local.INFO: Processing buffer {"connection_id":228758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4683070012d09e34006f1f7d8000700a62c..."} 
[2026-11-04 08:06:17] local.INFO: Packet analysis {"connection_id":228758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a468"} 
[2026-11-04 08:06:17] local.INFO: Extracted packet for processing {"connection_id":228758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a468"} 
[2026-11-04 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":755622720,"raw_latitude":116520920,"longitude_deg":75.562272,"latitude_deg":11.652092,"altitude":7,"angle":166,"satellites":44,"speed":27,"hex_longitude":"2d09e340","hex_latitude":"06f1f7d8","is_valid_coordinates":true} 
[2026-11-04 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202468608001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38519534453260288,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":709809552351819776,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793759654000,"timestamp_ms":1793759654000,"timestamp_seconds":1793759654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4683070"} 
[2026-11-04 08:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 08:06: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-11-04 08:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202468608001,"66":27745,"212":206,"80":6400,"24":27,"16":38519534453260288,"45":709809552351819776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-11-04 08:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202468608001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:06:17] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 08:06:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38519534453260288,"km_value":38519534453260.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":709809552351819776,"description":"Unknown IO ID 45"} 
[2026-11-04 08:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202468608001,"power":27745,"unknown_212":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":709809552351819776}} 
[2026-11-04 08:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":228758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:06:17] local.INFO: GPS data processed {"connection_id":228758,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:06:17] local.INFO: Acknowledgment sent {"connection_id":228758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:06:21] local.INFO: TCP Data received {"connection_id":232372,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:06:21] local.INFO: Processing buffer {"connection_id":232372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:06:21] local.INFO: Packet analysis {"connection_id":232372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:06:21] local.INFO: Extracted packet for processing {"connection_id":232372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:06:21] 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-11-04 08: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-11-04 08:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":232372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58074,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:06:21] local.INFO: GPS data processed {"connection_id":232372,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:06:21] local.INFO: Acknowledgment sent {"connection_id":232372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:06:43] local.INFO: TCP Data received {"connection_id":230525,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:06:43] local.INFO: Processing buffer {"connection_id":230525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:06:43] local.INFO: IMEI packet received {"connection_id":230525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":230525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:06:49] local.INFO: TCP Data received {"connection_id":228758,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a469ab58012d0aa5c006f144e80011006e2c..."} 
[2026-11-04 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a469ab58012d0aa5c006f144e80011006e2c..."} 
[2026-11-04 08:06:49] local.INFO: Processing buffer {"connection_id":228758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a469ab58012d0aa5c006f144e80011006e2c..."} 
[2026-11-04 08:06:49] local.INFO: Packet analysis {"connection_id":228758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a469"} 
[2026-11-04 08:06:49] local.INFO: Extracted packet for processing {"connection_id":228758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a469"} 
[2026-11-04 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":755672512,"raw_latitude":116475112,"longitude_deg":75.5672512,"latitude_deg":11.6475112,"altitude":17,"angle":110,"satellites":44,"speed":18,"hex_longitude":"2d0aa5c0","hex_latitude":"06f144e8","is_valid_coordinates":true} 
[2026-11-04 08:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202496000001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38522914592522240,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":766737866377480192,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759751000,"timestamp_ms":1793759751000,"timestamp_seconds":1793759751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a469ab58"} 
[2026-11-04 08:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202496000001,"66":27767,"210":206,"80":6400,"24":18,"16":38522914592522240,"45":766737866377480192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,80,24,16,45]} 
[2026-11-04 08:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202496000001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:06:49] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-04 08:06:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38522914592522240,"km_value":38522914592522.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":766737866377480192,"description":"Unknown IO ID 45"} 
[2026-11-04 08:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202496000001,"power":27767,"unknown_210":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":766737866377480192}} 
[2026-11-04 08:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":228758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:06:49] local.INFO: GPS data processed {"connection_id":228758,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:06:49] local.INFO: Acknowledgment sent {"connection_id":228758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:06:49] local.INFO: TCP Data received {"connection_id":230525,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230525,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:06:49] local.INFO: Processing buffer {"connection_id":230525,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:06:49] local.INFO: IMEI packet received {"connection_id":230525,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":230525,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:06:49] local.INFO: TCP Data received {"connection_id":230525,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:06:49] local.INFO: Processing buffer {"connection_id":230525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:06:49] local.INFO: Packet analysis {"connection_id":230525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:06:49] local.INFO: Extracted packet for processing {"connection_id":230525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:06:49] 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-11-04 08:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:06:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:06:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":230525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58076,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:06:50] local.INFO: GPS data processed {"connection_id":230525,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:06:50] local.INFO: Acknowledgment sent {"connection_id":230525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:07:12] local.INFO: TCP Data received {"connection_id":232374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:07:12] local.INFO: Processing buffer {"connection_id":232374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:07:12] local.INFO: IMEI packet received {"connection_id":232374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":232374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:07:17] local.INFO: TCP Data received {"connection_id":232374,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:07:17] local.INFO: Processing buffer {"connection_id":232374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:07:17] local.INFO: IMEI packet received {"connection_id":232374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":232374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:07:18] local.INFO: TCP Data received {"connection_id":232374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a469af40012d0aa78006f14410001100792e..."} 
[2026-11-04 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a469af40012d0aa78006f14410001100792e..."} 
[2026-11-04 08:07:18] local.INFO: Processing buffer {"connection_id":232374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a469af40012d0aa78006f14410001100792e..."} 
[2026-11-04 08:07:18] local.INFO: Packet analysis {"connection_id":232374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a469"} 
[2026-11-04 08:07:18] local.INFO: Extracted packet for processing {"connection_id":232374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a469"} 
[2026-11-04 08:07:18] local.INFO: GPS Element Parsed {"raw_longitude":755672960,"raw_latitude":116474896,"longitude_deg":75.567296,"latitude_deg":11.6474896,"altitude":17,"angle":121,"satellites":46,"speed":20,"hex_longitude":"2d0aa780","hex_latitude":"06f14410","is_valid_coordinates":true} 
[2026-11-04 08:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202496256001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38522940362326016,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767230447586699264,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793759752000,"timestamp_ms":1793759752000,"timestamp_seconds":1793759752,"priority":1,"record_length":96,"hex_timestamp":"000001a1a469af40"} 
[2026-11-04 08:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202496256001,"66":27691,"210":206,"80":6400,"24":20,"16":38522940362326016,"45":767230447586699264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,80,24,16,45]} 
[2026-11-04 08:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202496256001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:07:18] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-04 08:07:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38522940362326016,"km_value":38522940362326.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":767230447586699264,"description":"Unknown IO ID 45"} 
[2026-11-04 08:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202496256001,"power":27691,"unknown_210":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":767230447586699264}} 
[2026-11-04 08:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":232374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:07:18] local.INFO: GPS data processed {"connection_id":232374,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:07:18] local.INFO: Acknowledgment sent {"connection_id":232374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:07:21] local.INFO: TCP Data received {"connection_id":230525,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:07:21] local.INFO: Processing buffer {"connection_id":230525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46682c0012d0c75000702b518001600400e..."} 
[2026-11-04 08:07:21] local.INFO: Packet analysis {"connection_id":230525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:07:21] local.INFO: Extracted packet for processing {"connection_id":230525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a466"} 
[2026-11-04 08:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617944,"longitude_deg":75.5791104,"latitude_deg":11.7617944,"altitude":22,"angle":64,"satellites":14,"speed":3,"hex_longitude":"2d0c7500","hex_latitude":"0702b518","is_valid_coordinates":true} 
[2026-11-04 08:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759544000,"timestamp_ms":1793759544000,"timestamp_seconds":1793759544,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46682c0"} 
[2026-11-04 08:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:07:21] 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-11-04 08:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230525,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":14559,"37":206,"94":11008,"24":3,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:07:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:07:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":230525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58078,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:07:21] local.INFO: GPS data processed {"connection_id":230525,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:07:21] local.INFO: Acknowledgment sent {"connection_id":230525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:07:49] local.INFO: TCP Data received {"connection_id":230527,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:07:49] local.INFO: Processing buffer {"connection_id":230527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:07:49] local.INFO: IMEI packet received {"connection_id":230527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":230527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:07:49] local.INFO: TCP Data received {"connection_id":232374,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a469de20012d0ac5c006f130a0000e007c2e..."} 
[2026-11-04 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a469de20012d0ac5c006f130a0000e007c2e..."} 
[2026-11-04 08:07:49] local.INFO: Processing buffer {"connection_id":232374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a469de20012d0ac5c006f130a0000e007c2e..."} 
[2026-11-04 08:07:49] local.INFO: Packet analysis {"connection_id":232374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a469"} 
[2026-11-04 08:07:49] local.INFO: Extracted packet for processing {"connection_id":232374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a469"} 
[2026-11-04 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":755680704,"raw_latitude":116469920,"longitude_deg":75.5680704,"latitude_deg":11.646992,"altitude":14,"angle":124,"satellites":46,"speed":39,"hex_longitude":"2d0ac5c0","hex_latitude":"06f130a0","is_valid_coordinates":true} 
[2026-11-04 08:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202496512001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38523378448990208,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767723028795887616,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759764000,"timestamp_ms":1793759764000,"timestamp_seconds":1793759764,"priority":1,"record_length":96,"hex_timestamp":"000001a1a469de20"} 
[2026-11-04 08:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 08:07:49] 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-11-04 08:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202496512001,"66":27745,"210":206,"80":6400,"24":39,"16":38523378448990208,"45":767723028795887616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,80,24,16,45]} 
[2026-11-04 08:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202496512001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:07:49] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-04 08:07:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38523378448990208,"km_value":38523378448990.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":767723028795887616,"description":"Unknown IO ID 45"} 
[2026-11-04 08:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202496512001,"power":27745,"unknown_210":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":767723028795887616}} 
[2026-11-04 08:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":232374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:07:49] local.INFO: GPS data processed {"connection_id":232374,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:07:49] local.INFO: Acknowledgment sent {"connection_id":232374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:07:54] local.INFO: TCP Data received {"connection_id":230527,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230527,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:07:54] local.INFO: Processing buffer {"connection_id":230527,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:07:54] local.INFO: IMEI packet received {"connection_id":230527,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":230527,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:07:55] local.INFO: TCP Data received {"connection_id":230527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:07:55] local.INFO: Processing buffer {"connection_id":230527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:07:55] local.INFO: Packet analysis {"connection_id":230527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:07:55] local.INFO: Extracted packet for processing {"connection_id":230527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:07:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:07: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-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:07:55] 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-11-04 08: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-11-04 08:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:07:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:07:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":230527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58080,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:07:55] local.INFO: GPS data processed {"connection_id":230527,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:07:55] local.INFO: Acknowledgment sent {"connection_id":230527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:08:08] local.INFO: TCP Data received {"connection_id":228759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:08] local.INFO: Processing buffer {"connection_id":228759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:08] local.INFO: IMEI packet received {"connection_id":228759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":228759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:08:08] local.INFO: TCP Data received {"connection_id":228759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:08] local.INFO: Processing buffer {"connection_id":228759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:08] local.INFO: IMEI packet received {"connection_id":228759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":228759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:08:12] local.INFO: TCP Data received {"connection_id":228759,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:12] local.INFO: Processing buffer {"connection_id":228759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:08:12] local.INFO: IMEI packet received {"connection_id":228759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":228759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:08:13] local.INFO: TCP Data received {"connection_id":228759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46a0148012d0ae30006f11b90000e00812a..."} 
[2026-11-04 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46a0148012d0ae30006f11b90000e00812a..."} 
[2026-11-04 08:08:13] local.INFO: Processing buffer {"connection_id":228759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46a0148012d0ae30006f11b90000e00812a..."} 
[2026-11-04 08:08:13] local.INFO: Packet analysis {"connection_id":228759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46a"} 
[2026-11-04 08:08:13] local.INFO: Extracted packet for processing {"connection_id":228759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46a"} 
[2026-11-04 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":755688192,"raw_latitude":116464528,"longitude_deg":75.5688192,"latitude_deg":11.6464528,"altitude":14,"angle":129,"satellites":42,"speed":41,"hex_longitude":"2d0ae300","hex_latitude":"06f11b90","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202499584001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38523820830621696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":776237646840111104,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793759773000,"timestamp_ms":1793759773000,"timestamp_seconds":1793759773,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46a0148"} 
[2026-11-04 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-11-04 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 08:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202499584001,"66":27745,"210":206,"80":6400,"24":41,"16":38523820830621696,"45":776237646840111104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,80,24,16,45]} 
[2026-11-04 08:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202499584001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:08:13] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-04 08:08:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38523820830621696,"km_value":38523820830621.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":776237646840111104,"description":"Unknown IO ID 45"} 
[2026-11-04 08:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202499584001,"power":27745,"unknown_210":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":776237646840111104}} 
[2026-11-04 08:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":228759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:08:13] local.INFO: GPS data processed {"connection_id":228759,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:08:13] local.INFO: Acknowledgment sent {"connection_id":228759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:08:26] local.INFO: TCP Data received {"connection_id":230527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:08:26] local.INFO: Processing buffer {"connection_id":230527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:08:26] local.INFO: Packet analysis {"connection_id":230527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:08:26] local.INFO: Extracted packet for processing {"connection_id":230527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:08:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:08: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-11-04 08:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:08:26] 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-11-04 08:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230527,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:08:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:08:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":230527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58082,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:08:27] local.INFO: GPS data processed {"connection_id":230527,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:08:27] local.INFO: Acknowledgment sent {"connection_id":230527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:08:44] local.INFO: TCP Data received {"connection_id":228759,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46a3be0012d0afc4006f104a0000c008c2d..."} 
[2026-11-04 08:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46a3be0012d0afc4006f104a0000c008c2d..."} 
[2026-11-04 08:08:44] local.INFO: Processing buffer {"connection_id":228759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46a3be0012d0afc4006f104a0000c008c2d..."} 
[2026-11-04 08:08:44] local.INFO: Packet analysis {"connection_id":228759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46a"} 
[2026-11-04 08:08:44] local.INFO: Extracted packet for processing {"connection_id":228759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46a"} 
[2026-11-04 08:08:44] local.INFO: GPS Element Parsed {"raw_longitude":755694656,"raw_latitude":116458656,"longitude_deg":75.5694656,"latitude_deg":11.6458656,"altitude":12,"angle":140,"satellites":45,"speed":13,"hex_longitude":"2d0afc40","hex_latitude":"06f104a0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202501888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38524241737416704,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784470789907517440,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793759788000,"timestamp_ms":1793759788000,"timestamp_seconds":1793759788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46a3be0"} 
[2026-11-04 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-11-04 08:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:08: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-11-04 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-11-04 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-11-04 08:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202501888001,"66":27713,"210":206,"80":6400,"24":13,"16":38524241737416704,"45":784470789907517440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,80,24,16,45]} 
[2026-11-04 08:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202501888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:08:44] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-04 08:08:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38524241737416704,"km_value":38524241737416.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":784470789907517440,"description":"Unknown IO ID 45"} 
[2026-11-04 08:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202501888001,"power":27713,"unknown_210":206,"unknown_80":6400,"ignition":13,"odometer":null,"unknown_45":784470789907517440}} 
[2026-11-04 08:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":228759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:08:44] local.INFO: GPS data processed {"connection_id":228759,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:08:44] local.INFO: Acknowledgment sent {"connection_id":228759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:08:44] local.INFO: TCP Data received {"connection_id":232375,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:08:44] local.INFO: Processing buffer {"connection_id":232375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:08:44] local.INFO: IMEI packet received {"connection_id":232375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":232375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:08:49] local.INFO: TCP Data received {"connection_id":232375,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:08:49] local.INFO: Processing buffer {"connection_id":232375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:08:49] local.INFO: IMEI packet received {"connection_id":232375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":232375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:08:49] local.INFO: TCP Data received {"connection_id":232375,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:08:50] local.INFO: Processing buffer {"connection_id":232375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:08:50] local.INFO: Packet analysis {"connection_id":232375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:08:50] local.INFO: Extracted packet for processing {"connection_id":232375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:08:50] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:08:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:08:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":232375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58084,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:08:50] local.INFO: GPS data processed {"connection_id":232375,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:08:50] local.INFO: Acknowledgment sent {"connection_id":232375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:09:07] local.INFO: TCP Data received {"connection_id":229254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:07] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:07] local.INFO: IMEI packet received {"connection_id":229254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":229254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:09:09] local.INFO: TCP Data received {"connection_id":229254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:09] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:09] local.INFO: IMEI packet received {"connection_id":229254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":229254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:09:12] local.INFO: TCP Data received {"connection_id":229254,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:12] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:09:12] local.INFO: IMEI packet received {"connection_id":229254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":229254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:09:13] local.INFO: TCP Data received {"connection_id":229254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46bddd8012d0b7fc006efcc00000c00a72b..."} 
[2026-11-04 08:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46bddd8012d0b7fc006efcc00000c00a72b..."} 
[2026-11-04 08:09:13] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46bddd8012d0b7fc006efcc00000c00a72b..."} 
[2026-11-04 08:09:13] local.INFO: Packet analysis {"connection_id":229254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:13] local.INFO: Extracted packet for processing {"connection_id":229254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:13] local.INFO: GPS Element Parsed {"raw_longitude":755728320,"raw_latitude":116378624,"longitude_deg":75.572832,"latitude_deg":11.6378624,"altitude":12,"angle":167,"satellites":43,"speed":41,"hex_longitude":"2d0b7fc0","hex_latitude":"06efcc00","is_valid_coordinates":true} 
[2026-11-04 08:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202530048001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38528519524843520,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826058717696874496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793759895000,"timestamp_ms":1793759895000,"timestamp_seconds":1793759895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46bddd8"} 
[2026-11-04 08:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 08:09:13] 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-11-04 08:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202530048001,"66":27463,"3":206,"80":6400,"24":41,"16":38528519524843520,"45":826058717696874496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,80,24,16,45]} 
[2026-11-04 08:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202530048001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:09:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 08:09:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38528519524843520,"km_value":38528519524843.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":826058717696874496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202530048001,"power":27463,"unknown_3":206,"unknown_80":6400,"ignition":41,"odometer":null,"unknown_45":826058717696874496}} 
[2026-11-04 08:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":229254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:09:13] local.INFO: GPS data processed {"connection_id":229254,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:09:13] local.INFO: Acknowledgment sent {"connection_id":229254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:09:21] local.INFO: TCP Data received {"connection_id":232375,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:09:21] local.INFO: Processing buffer {"connection_id":232375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:09:21] local.INFO: Packet analysis {"connection_id":232375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:21] local.INFO: Extracted packet for processing {"connection_id":232375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:09:21] 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-11-04 08: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-11-04 08:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:09:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:09:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":232375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58086,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:09:21] local.INFO: GPS data processed {"connection_id":232375,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:09:21] local.INFO: Acknowledgment sent {"connection_id":232375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:09:44] local.INFO: TCP Data received {"connection_id":230529,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:09:44] local.INFO: Processing buffer {"connection_id":230529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:09:44] local.INFO: IMEI packet received {"connection_id":230529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":230529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:09:45] local.INFO: TCP Data received {"connection_id":229254,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46bfd18012d0b874006efa918000d00a828..."} 
[2026-11-04 08:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46bfd18012d0b874006efa918000d00a828..."} 
[2026-11-04 08:09:45] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46bfd18012d0b874006efa918000d00a828..."} 
[2026-11-04 08:09:45] local.INFO: Packet analysis {"connection_id":229254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:45] local.INFO: Extracted packet for processing {"connection_id":229254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:45] local.INFO: GPS Element Parsed {"raw_longitude":755730240,"raw_latitude":116369688,"longitude_deg":75.573024,"latitude_deg":11.6369688,"altitude":13,"angle":168,"satellites":40,"speed":47,"hex_longitude":"2d0b8740","hex_latitude":"06efa918","is_valid_coordinates":true} 
[2026-11-04 08:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202533120001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38528961906475008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828591992484921344,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793759903000,"timestamp_ms":1793759903000,"timestamp_seconds":1793759903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46bfd18"} 
[2026-11-04 08:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 08:09:45] 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-11-04 08:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202533120001,"66":27517,"98":206,"80":6400,"24":47,"16":38528961906475008,"45":828591992484921344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-11-04 08:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202533120001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:09:45] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 08:09:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38528961906475008,"km_value":38528961906475.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":828591992484921344,"description":"Unknown IO ID 45"} 
[2026-11-04 08:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202533120001,"power":27517,"unknown_98":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":828591992484921344}} 
[2026-11-04 08:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":229254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:09:45] local.INFO: GPS data processed {"connection_id":229254,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:09:45] local.INFO: Acknowledgment sent {"connection_id":229254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:09:49] local.INFO: TCP Data received {"connection_id":230529,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230529,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:09:49] local.INFO: Processing buffer {"connection_id":230529,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:09:49] local.INFO: IMEI packet received {"connection_id":230529,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":230529,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:09:49] local.INFO: TCP Data received {"connection_id":230529,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:09:49] local.INFO: Processing buffer {"connection_id":230529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:09:49] local.INFO: Packet analysis {"connection_id":230529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:49] local.INFO: Extracted packet for processing {"connection_id":230529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:09:49] 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-11-04 08: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-11-04 08:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:09:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:09:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":230529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58088,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:09:50] local.INFO: GPS data processed {"connection_id":230529,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:09:50] local.INFO: Acknowledgment sent {"connection_id":230529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:09:50] local.INFO: TCP Data received {"connection_id":230528,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:09:50] local.INFO: Processing buffer {"connection_id":230528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:09:50] local.INFO: IMEI packet received {"connection_id":230528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":230528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:09:51] local.INFO: TCP Data received {"connection_id":230528,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b8018012d27450006c39d600011015130..."} 
[2026-11-04 08:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b8018012d27450006c39d600011015130..."} 
[2026-11-04 08:09:51] local.INFO: Processing buffer {"connection_id":230528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b8018012d27450006c39d600011015130..."} 
[2026-11-04 08:09:51] local.INFO: Packet analysis {"connection_id":230528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:51] local.INFO: Extracted packet for processing {"connection_id":230528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:09:51] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202521600001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2830019813644632064,"note":"Value kept but may cause issues"} 
[2026-11-04 08:09:51] 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-11-04 08:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793759871000,"timestamp_ms":1793759871000,"timestamp_seconds":1793759871,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b8018"} 
[2026-11-04 08:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 08:09:51] 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-11-04 08:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202521600001,"66":28485,"143":206,"27":54528,"24":0,"16":20228183567630336,"45":2830019813644632064},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-11-04 08:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202521600001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:09:51] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 08:09:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-11-04 08:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2830019813644632064,"description":"Unknown IO ID 45"} 
[2026-11-04 08:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202521600001,"power":28485,"unknown_143":206,"unknown_27":54528,"ignition":0,"odometer":null,"unknown_45":2830019813644632064}} 
[2026-11-04 08:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":230528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:09:51] local.INFO: GPS data processed {"connection_id":230528,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:09:51] local.INFO: Acknowledgment sent {"connection_id":230528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:10:09] local.INFO: TCP Data received {"connection_id":228760,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:10:09] local.INFO: Processing buffer {"connection_id":228760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:10:09] local.INFO: IMEI packet received {"connection_id":228760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":228760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:10:12] local.INFO: TCP Data received {"connection_id":232376,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:12] local.INFO: Processing buffer {"connection_id":232376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:12] local.INFO: IMEI packet received {"connection_id":232376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":232376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:10:12] local.INFO: TCP Data received {"connection_id":232376,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:12] local.INFO: Processing buffer {"connection_id":232376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:12] local.INFO: IMEI packet received {"connection_id":232376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":232376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:10:14] local.INFO: TCP Data received {"connection_id":228760,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:10:14] local.INFO: Processing buffer {"connection_id":228760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:10:14] local.INFO: IMEI packet received {"connection_id":228760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":228760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:10:16] local.INFO: TCP Data received {"connection_id":228760,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46bd220012d27450006c39d600011015130..."} 
[2026-11-04 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46bd220012d27450006c39d600011015130..."} 
[2026-11-04 08:10:16] local.INFO: Processing buffer {"connection_id":228760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46bd220012d27450006c39d600011015130..."} 
[2026-11-04 08:10:16] local.INFO: Packet analysis {"connection_id":228760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:10:16] local.INFO: Extracted packet for processing {"connection_id":228760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202526976001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:16] 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-11-04 08:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793759892000,"timestamp_ms":1793759892000,"timestamp_seconds":1793759892,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46bd220"} 
[2026-11-04 08:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 08:10:16] 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-11-04 08:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202526976001,"66":28354,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202526976001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:10:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202526976001,"power":28354,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":228760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:10:16] local.INFO: GPS data processed {"connection_id":228760,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:10:16] local.INFO: Acknowledgment sent {"connection_id":228760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:10:17] local.INFO: TCP Data received {"connection_id":232376,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:17] local.INFO: Processing buffer {"connection_id":232376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:10:17] local.INFO: IMEI packet received {"connection_id":232376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":232376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:10:20] local.INFO: TCP Data received {"connection_id":232376,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c1c58012d0b8f8006ef8428000c00a62a..."} 
[2026-11-04 08:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c1c58012d0b8f8006ef8428000c00a62a..."} 
[2026-11-04 08:10:20] local.INFO: Processing buffer {"connection_id":232376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c1c58012d0b8f8006ef8428000c00a62a..."} 
[2026-11-04 08:10:20] local.INFO: Packet analysis {"connection_id":232376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:10:20] local.INFO: Extracted packet for processing {"connection_id":232376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:10:20] local.INFO: GPS Element Parsed {"raw_longitude":755732352,"raw_latitude":116360232,"longitude_deg":75.5732352,"latitude_deg":11.6360232,"altitude":12,"angle":166,"satellites":42,"speed":43,"hex_longitude":"2d0b8f80","hex_latitude":"06ef8428","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202535168001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38529430057910272,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830703054807963648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793759911000,"timestamp_ms":1793759911000,"timestamp_seconds":1793759911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c1c58"} 
[2026-11-04 08:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":125,"data_length":795,"current_offset":136} 
[2026-11-04 08:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202535168001,"66":27517,"98":206,"80":6400,"24":43,"16":38529430057910272,"45":830703054807963648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-11-04 08:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202535168001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:10:20] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 08:10:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38529430057910272,"km_value":38529430057910.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":830703054807963648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202535168001,"power":27517,"unknown_98":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":830703054807963648}} 
[2026-11-04 08:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":232376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:10:20] local.INFO: GPS data processed {"connection_id":232376,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:10:20] local.INFO: Acknowledgment sent {"connection_id":232376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:10:21] local.INFO: TCP Data received {"connection_id":230529,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:10:21] local.INFO: Processing buffer {"connection_id":230529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:10:21] local.INFO: Packet analysis {"connection_id":230529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:10:21] local.INFO: Extracted packet for processing {"connection_id":230529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:10:21] 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-11-04 08:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230529,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":230529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58092,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:10:21] local.INFO: GPS data processed {"connection_id":230529,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:10:21] local.INFO: Acknowledgment sent {"connection_id":230529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:10:44] local.INFO: TCP Data received {"connection_id":232377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:10:44] local.INFO: Processing buffer {"connection_id":232377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:10:44] local.INFO: IMEI packet received {"connection_id":232377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":232377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:10:48] local.INFO: TCP Data received {"connection_id":228760,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c2428012d27450006c39d600011015130..."} 
[2026-11-04 08:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c2428012d27450006c39d600011015130..."} 
[2026-11-04 08:10:48] local.INFO: Processing buffer {"connection_id":228760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c2428012d27450006c39d600011015130..."} 
[2026-11-04 08:10:48] local.INFO: Packet analysis {"connection_id":228760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:10:48] local.INFO: Extracted packet for processing {"connection_id":228760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:10:48] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202532352001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:48] 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-11-04 08:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793759913000,"timestamp_ms":1793759913000,"timestamp_seconds":1793759913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c2428"} 
[2026-11-04 08:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:10: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-11-04 08:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202532352001,"66":27876,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202532352001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:10:48] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202532352001,"power":27876,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":228760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:10:48] local.INFO: GPS data processed {"connection_id":228760,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:10:48] local.INFO: Acknowledgment sent {"connection_id":228760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:10:49] local.INFO: TCP Data received {"connection_id":232377,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232377,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:10:49] local.INFO: Processing buffer {"connection_id":232377,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:10:49] local.INFO: IMEI packet received {"connection_id":232377,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":232377,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:10:49] local.INFO: TCP Data received {"connection_id":232377,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:10:49] local.INFO: Processing buffer {"connection_id":232377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:10:49] local.INFO: Packet analysis {"connection_id":232377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:10:49] local.INFO: Extracted packet for processing {"connection_id":232377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:10:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:10:49] 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-11-04 08: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-11-04 08:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:10:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:10:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":232377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58094,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:10:50] local.INFO: GPS data processed {"connection_id":232377,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:10:50] local.INFO: Acknowledgment sent {"connection_id":232377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:10:52] local.INFO: TCP Data received {"connection_id":232376,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46d8f70012d0c040006ee63600011006530..."} 
[2026-11-04 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46d8f70012d0c040006ee63600011006530..."} 
[2026-11-04 08:10:52] local.INFO: Processing buffer {"connection_id":232376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46d8f70012d0c040006ee63600011006530..."} 
[2026-11-04 08:10:52] local.INFO: Packet analysis {"connection_id":232376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:10:52] local.INFO: Extracted packet for processing {"connection_id":232376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":755762176,"raw_latitude":116286304,"longitude_deg":75.5762176,"latitude_deg":11.6286304,"altitude":17,"angle":101,"satellites":48,"speed":12,"hex_longitude":"2d0c0400","hex_latitude":"06ee6360","is_valid_coordinates":true} 
[2026-11-04 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202561024001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38533321298280448,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865043001945387008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793760006000,"timestamp_ms":1793760006000,"timestamp_seconds":1793760006,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46d8f70"} 
[2026-11-04 08:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202561024001,"66":27745,"98":206,"80":6400,"24":12,"16":38533321298280448,"45":865043001945387008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-11-04 08:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202561024001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:10:52] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 08:10:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38533321298280448,"km_value":38533321298280.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":865043001945387008,"description":"Unknown IO ID 45"} 
[2026-11-04 08:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202561024001,"power":27745,"unknown_98":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":865043001945387008}} 
[2026-11-04 08:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":232376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:10:52] local.INFO: GPS data processed {"connection_id":232376,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:10:52] local.INFO: Acknowledgment sent {"connection_id":232376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:11:07] local.INFO: TCP Data received {"connection_id":232378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:11:07] local.INFO: Processing buffer {"connection_id":232378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:11:07] local.INFO: IMEI packet received {"connection_id":232378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":232378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:11:12] local.INFO: TCP Data received {"connection_id":232378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:11:12] local.INFO: Processing buffer {"connection_id":232378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:11:12] local.INFO: IMEI packet received {"connection_id":232378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":232378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:11:13] local.INFO: TCP Data received {"connection_id":232378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46d9f10012d0c094006ee61c8001100792f..."} 
[2026-11-04 08:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46d9f10012d0c094006ee61c8001100792f..."} 
[2026-11-04 08:11:13] local.INFO: Processing buffer {"connection_id":232378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46d9f10012d0c094006ee61c8001100792f..."} 
[2026-11-04 08:11:13] local.INFO: Packet analysis {"connection_id":232378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:11:13] local.INFO: Extracted packet for processing {"connection_id":232378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:11:13] local.INFO: GPS Element Parsed {"raw_longitude":755763520,"raw_latitude":116285896,"longitude_deg":75.576352,"latitude_deg":11.6285896,"altitude":17,"angle":121,"satellites":47,"speed":16,"hex_longitude":"2d0c0940","hex_latitude":"06ee61c8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202561536001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38533390017757184,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865817058131271680,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760010000,"timestamp_ms":1793760010000,"timestamp_seconds":1793760010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46d9f10"} 
[2026-11-04 08:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202561536001,"66":27832,"97":206,"80":6400,"24":16,"16":38533390017757184,"45":865817058131271680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202561536001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:11:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:11:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38533390017757184,"km_value":38533390017757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":865817058131271680,"description":"Unknown IO ID 45"} 
[2026-11-04 08:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202561536001,"power":27832,"unknown_97":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":865817058131271680}} 
[2026-11-04 08:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":232378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:11:13] local.INFO: GPS data processed {"connection_id":232378,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:11:13] local.INFO: Acknowledgment sent {"connection_id":232378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:11:14] local.INFO: TCP Data received {"connection_id":229255,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:11:14] local.INFO: Processing buffer {"connection_id":229255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:11:14] local.INFO: IMEI packet received {"connection_id":229255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":229255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:11:19] local.INFO: TCP Data received {"connection_id":229255,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:11:19] local.INFO: Processing buffer {"connection_id":229255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:11:19] local.INFO: IMEI packet received {"connection_id":229255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":229255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:11:21] local.INFO: TCP Data received {"connection_id":229255,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7630012d27450006c39d600011015130..."} 
[2026-11-04 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7630012d27450006c39d600011015130..."} 
[2026-11-04 08:11:21] local.INFO: Processing buffer {"connection_id":229255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7630012d27450006c39d600011015130..."} 
[2026-11-04 08:11:21] local.INFO: Packet analysis {"connection_id":229255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:11:21] local.INFO: Extracted packet for processing {"connection_id":229255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202537728001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:21] 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-11-04 08:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759934000,"timestamp_ms":1793759934000,"timestamp_seconds":1793759934,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7630"} 
[2026-11-04 08:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 08:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202537728001,"66":28452,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202537728001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:11:21] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202537728001,"power":28452,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:11:21] local.INFO: TCP Data received {"connection_id":232377,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:11:21] local.INFO: Processing buffer {"connection_id":232377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:11:21] local.INFO: Packet analysis {"connection_id":232377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:11:21] local.INFO: Extracted packet for processing {"connection_id":232377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:11:21] 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-11-04 08:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232377,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:11:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:11:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":229255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:11:21] local.INFO: GPS data processed {"connection_id":229255,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:11:21] local.INFO: Acknowledgment sent {"connection_id":229255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":232377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58098,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:11:21] local.INFO: GPS data processed {"connection_id":232377,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:11:21] local.INFO: Acknowledgment sent {"connection_id":232377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:11:25] local.INFO: TCP Data received {"connection_id":229255,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:11:25] local.INFO: Processing buffer {"connection_id":229255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:11:25] local.INFO: Packet analysis {"connection_id":229255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:11:25] local.INFO: Extracted packet for processing {"connection_id":229255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:11:25] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:25] 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-11-04 08:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793759936000,"timestamp_ms":1793759936000,"timestamp_seconds":1793759936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7e00"} 
[2026-11-04 08:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:11: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-11-04 08: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-11-04 08:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543104001,"66":28398,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:11:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543104001,"power":28398,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":229255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:11:25] local.INFO: GPS data processed {"connection_id":229255,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:11:25] local.INFO: Acknowledgment sent {"connection_id":229255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:11:43] local.INFO: TCP Data received {"connection_id":232379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:11:43] local.INFO: Processing buffer {"connection_id":232379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:11:43] local.INFO: IMEI packet received {"connection_id":232379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":232379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:11:46] local.INFO: TCP Data received {"connection_id":232378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46da6e0012d0c0c0006ee5f70001100912e..."} 
[2026-11-04 08:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46da6e0012d0c0c0006ee5f70001100912e..."} 
[2026-11-04 08:11:46] local.INFO: Processing buffer {"connection_id":232378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46da6e0012d0c0c0006ee5f70001100912e..."} 
[2026-11-04 08:11:46] local.INFO: Packet analysis {"connection_id":232378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:11:46] local.INFO: Extracted packet for processing {"connection_id":232378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:11:46] local.INFO: GPS Element Parsed {"raw_longitude":755764224,"raw_latitude":116285296,"longitude_deg":75.5764224,"latitude_deg":11.6285296,"altitude":17,"angle":145,"satellites":46,"speed":20,"hex_longitude":"2d0c0c00","hex_latitude":"06ee5f70","is_valid_coordinates":true} 
[2026-11-04 08:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202562560001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38533437262397440,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867294801758898176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793760012000,"timestamp_ms":1793760012000,"timestamp_seconds":1793760012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46da6e0"} 
[2026-11-04 08:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 08:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202562560001,"66":27767,"97":206,"80":6400,"24":20,"16":38533437262397440,"45":867294801758898176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202562560001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:11:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38533437262397440,"km_value":38533437262397.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":867294801758898176,"description":"Unknown IO ID 45"} 
[2026-11-04 08:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202562560001,"power":27767,"unknown_97":206,"unknown_80":6400,"ignition":20,"odometer":null,"unknown_45":867294801758898176}} 
[2026-11-04 08:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":232378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:11:46] local.INFO: GPS data processed {"connection_id":232378,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:11:46] local.INFO: Acknowledgment sent {"connection_id":232378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:11:49] local.INFO: TCP Data received {"connection_id":232379,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232379,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:11:49] local.INFO: Processing buffer {"connection_id":232379,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:11:49] local.INFO: IMEI packet received {"connection_id":232379,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":232379,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:11:49] local.INFO: TCP Data received {"connection_id":232379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:11:49] local.INFO: Processing buffer {"connection_id":232379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:11:49] local.INFO: Packet analysis {"connection_id":232379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:11:49] local.INFO: Extracted packet for processing {"connection_id":232379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:11:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:11:49] 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-11-04 08:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:11:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:11:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":232379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:11:50] local.INFO: GPS data processed {"connection_id":232379,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:11:50] local.INFO: Acknowledgment sent {"connection_id":232379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:12:06] local.INFO: TCP Data received {"connection_id":230530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:06] local.INFO: Processing buffer {"connection_id":230530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:06] local.INFO: IMEI packet received {"connection_id":230530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":230530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:12:07] local.INFO: TCP Data received {"connection_id":230530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:07] local.INFO: Processing buffer {"connection_id":230530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:07] local.INFO: IMEI packet received {"connection_id":230530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":230530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:12:12] local.INFO: TCP Data received {"connection_id":230530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:12] local.INFO: Processing buffer {"connection_id":230530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:12:12] local.INFO: IMEI packet received {"connection_id":230530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":230530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:12:13] local.INFO: TCP Data received {"connection_id":230530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46ddd90012d0c1f0006ee3fb8000d00952c..."} 
[2026-11-04 08:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46ddd90012d0c1f0006ee3fb8000d00952c..."} 
[2026-11-04 08:12:13] local.INFO: Processing buffer {"connection_id":230530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46ddd90012d0c1f0006ee3fb8000d00952c..."} 
[2026-11-04 08:12:13] local.INFO: Packet analysis {"connection_id":230530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:12:13] local.INFO: Extracted packet for processing {"connection_id":230530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46d"} 
[2026-11-04 08:12:13] local.INFO: GPS Element Parsed {"raw_longitude":755769088,"raw_latitude":116277176,"longitude_deg":75.5769088,"latitude_deg":11.6277176,"altitude":13,"angle":149,"satellites":44,"speed":32,"hex_longitude":"2d0c1f00","hex_latitude":"06ee3fb8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202563072001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38533892528930816,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868068857944698880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760026000,"timestamp_ms":1793760026000,"timestamp_seconds":1793760026,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46ddd90"} 
[2026-11-04 08:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202563072001,"66":27767,"97":206,"80":6400,"24":32,"16":38533892528930816,"45":868068857944698880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202563072001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:12:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:12:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38533892528930816,"km_value":38533892528930.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":868068857944698880,"description":"Unknown IO ID 45"} 
[2026-11-04 08:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202563072001,"power":27767,"unknown_97":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":868068857944698880}} 
[2026-11-04 08:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":230530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:12:13] local.INFO: GPS data processed {"connection_id":230530,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:12:13] local.INFO: Acknowledgment sent {"connection_id":230530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:12:18] local.INFO: TCP Data received {"connection_id":228761,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:12:18] local.INFO: Processing buffer {"connection_id":228761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:12:18] local.INFO: IMEI packet received {"connection_id":228761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":228761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:12:19] local.INFO: TCP Data received {"connection_id":228761,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:12:19] local.INFO: Processing buffer {"connection_id":228761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:12:19] local.INFO: IMEI packet received {"connection_id":228761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":228761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:12:20] local.INFO: TCP Data received {"connection_id":228761,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:12:20] local.INFO: Processing buffer {"connection_id":228761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:12:20] local.INFO: Packet analysis {"connection_id":228761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:12:20] local.INFO: Extracted packet for processing {"connection_id":228761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:12:20] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:12: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-11-04 08:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:20] 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-11-04 08:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793759936000,"timestamp_ms":1793759936000,"timestamp_seconds":1793759936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7e00"} 
[2026-11-04 08:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:12: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-11-04 08:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543104001,"66":28398,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:12:20] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543104001,"power":28398,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":228761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:12:20] local.INFO: GPS data processed {"connection_id":228761,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:12:20] local.INFO: Acknowledgment sent {"connection_id":228761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:12:21] local.INFO: TCP Data received {"connection_id":232379,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:12:21] local.INFO: Processing buffer {"connection_id":232379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46b2258012d0c75000702b530001900401f..."} 
[2026-11-04 08:12:21] local.INFO: Packet analysis {"connection_id":232379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:12:21] local.INFO: Extracted packet for processing {"connection_id":232379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46b"} 
[2026-11-04 08:12:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":31,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202443264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840475648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759847000,"timestamp_ms":1793759847000,"timestamp_seconds":1793759847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46b2258"} 
[2026-11-04 08:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:12:21] 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-11-04 08: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-11-04 08:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232379,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202443264001,"66":12765,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840475648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202443264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:12:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:12:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840475648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202443264001,"power":12765,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840475648}} 
[2026-11-04 08:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":232379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:12:21] local.INFO: GPS data processed {"connection_id":232379,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:12:21] local.INFO: Acknowledgment sent {"connection_id":232379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:12:24] local.INFO: TCP Data received {"connection_id":228761,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:12:24] local.INFO: Processing buffer {"connection_id":228761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:12:24] local.INFO: Packet analysis {"connection_id":228761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:12:24] local.INFO: Extracted packet for processing {"connection_id":228761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:12:24] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:24] 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-11-04 08:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793759936000,"timestamp_ms":1793759936000,"timestamp_seconds":1793759936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7e00"} 
[2026-11-04 08:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:12:24] 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-11-04 08:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":228761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":228761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":228761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543104001,"66":28398,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:12:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543104001,"power":28398,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":228761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:12:25] local.INFO: GPS data processed {"connection_id":228761,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:12:25] local.INFO: Acknowledgment sent {"connection_id":228761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:12:43] local.INFO: TCP Data received {"connection_id":229256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:12:43] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:12:43] local.INFO: IMEI packet received {"connection_id":229256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":229256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:12:45] local.INFO: TCP Data received {"connection_id":230530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46e1058012d0c324006ee2040000b00942b..."} 
[2026-11-04 08:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46e1058012d0c324006ee2040000b00942b..."} 
[2026-11-04 08:12:45] local.INFO: Processing buffer {"connection_id":230530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46e1058012d0c324006ee2040000b00942b..."} 
[2026-11-04 08:12:45] local.INFO: Packet analysis {"connection_id":230530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46e"} 
[2026-11-04 08:12:45] local.INFO: Extracted packet for processing {"connection_id":230530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46e"} 
[2026-11-04 08:12:45] local.INFO: GPS Element Parsed {"raw_longitude":755774016,"raw_latitude":116269120,"longitude_deg":75.5774016,"latitude_deg":11.626912,"altitude":11,"angle":148,"satellites":43,"speed":29,"hex_longitude":"2d0c3240","hex_latitude":"06ee2040","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202566656001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38534347795464192,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873416882500122624,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793760039000,"timestamp_ms":1793760039000,"timestamp_seconds":1793760039,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46e1058"} 
[2026-11-04 08:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:12: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-11-04 08: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-11-04 08:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202566656001,"66":27626,"97":206,"80":6400,"24":29,"16":38534347795464192,"45":873416882500122624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202566656001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:12:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38534347795464192,"km_value":38534347795464.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":873416882500122624,"description":"Unknown IO ID 45"} 
[2026-11-04 08:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202566656001,"power":27626,"unknown_97":206,"unknown_80":6400,"ignition":29,"odometer":null,"unknown_45":873416882500122624}} 
[2026-11-04 08:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":230530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:12:45] local.INFO: GPS data processed {"connection_id":230530,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:12:45] local.INFO: Acknowledgment sent {"connection_id":230530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:12:49] local.INFO: TCP Data received {"connection_id":229256,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:12:49] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:12:49] local.INFO: IMEI packet received {"connection_id":229256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":229256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:12:49] local.INFO: TCP Data received {"connection_id":229256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:12:49] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:12:49] local.INFO: Packet analysis {"connection_id":229256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:12:49] local.INFO: Extracted packet for processing {"connection_id":229256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:12:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:12:49] 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-11-04 08:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:12:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:12:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":229256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58107,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:12:50] local.INFO: GPS data processed {"connection_id":229256,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:12:50] local.INFO: Acknowledgment sent {"connection_id":229256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:13:07] local.INFO: TCP Data received {"connection_id":228762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:13:07] local.INFO: Processing buffer {"connection_id":228762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:13:07] local.INFO: IMEI packet received {"connection_id":228762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":228762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:13:09] local.INFO: TCP Data received {"connection_id":229257,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:13:09] local.INFO: Processing buffer {"connection_id":229257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:13:09] local.INFO: IMEI packet received {"connection_id":229257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":229257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:13:15] local.INFO: TCP Data received {"connection_id":228762,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:13:15] local.INFO: Processing buffer {"connection_id":228762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:13:15] local.INFO: IMEI packet received {"connection_id":228762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":228762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:13:16] local.INFO: TCP Data received {"connection_id":228762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46e4ed8012d0c44c006ee0258000c008d29..."} 
[2026-11-04 08:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46e4ed8012d0c44c006ee0258000c008d29..."} 
[2026-11-04 08:13:16] local.INFO: Processing buffer {"connection_id":228762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46e4ed8012d0c44c006ee0258000c008d29..."} 
[2026-11-04 08:13:16] local.INFO: Packet analysis {"connection_id":228762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46e"} 
[2026-11-04 08:13:16] local.INFO: Extracted packet for processing {"connection_id":228762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46e"} 
[2026-11-04 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":755778752,"raw_latitude":116261464,"longitude_deg":75.5778752,"latitude_deg":11.6261464,"altitude":12,"angle":141,"satellites":41,"speed":12,"hex_longitude":"2d0c44c0","hex_latitude":"06ee0258","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202569984001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38534781587161088,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878835275799740416,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793760055000,"timestamp_ms":1793760055000,"timestamp_seconds":1793760055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46e4ed8"} 
[2026-11-04 08:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 08:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202569984001,"66":27800,"97":206,"80":6400,"24":12,"16":38534781587161088,"45":878835275799740416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202569984001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38534781587161088,"km_value":38534781587161.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":878835275799740416,"description":"Unknown IO ID 45"} 
[2026-11-04 08:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202569984001,"power":27800,"unknown_97":206,"unknown_80":6400,"ignition":12,"odometer":null,"unknown_45":878835275799740416}} 
[2026-11-04 08:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":228762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:13:16] local.INFO: GPS data processed {"connection_id":228762,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:13:16] local.INFO: Acknowledgment sent {"connection_id":228762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:13:17] local.INFO: TCP Data received {"connection_id":229257,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:13:17] local.INFO: Processing buffer {"connection_id":229257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:13:17] local.INFO: IMEI packet received {"connection_id":229257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":229257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:13:19] local.INFO: TCP Data received {"connection_id":229257,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:13:19] local.INFO: Processing buffer {"connection_id":229257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:13:19] local.INFO: Packet analysis {"connection_id":229257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:13:19] local.INFO: Extracted packet for processing {"connection_id":229257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:13:19] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:19] 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-11-04 08:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793759936000,"timestamp_ms":1793759936000,"timestamp_seconds":1793759936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7e00"} 
[2026-11-04 08:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:13:19] 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-11-04 08:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543104001,"66":28398,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:13:19] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543104001,"power":28398,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":229257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:13:19] local.INFO: GPS data processed {"connection_id":229257,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:13:19] local.INFO: Acknowledgment sent {"connection_id":229257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:13:21] local.INFO: TCP Data received {"connection_id":229256,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:21] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:21] local.INFO: Packet analysis {"connection_id":229256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:13:21] local.INFO: Extracted packet for processing {"connection_id":229256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:13:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:13:21] 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-11-04 08:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:13:21] 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-11-04 08:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:13:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:13:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":229256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:13:21] local.INFO: GPS data processed {"connection_id":229256,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:13:21] local.INFO: Acknowledgment sent {"connection_id":229256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:13:49] local.INFO: TCP Data received {"connection_id":232380,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:13:49] local.INFO: Processing buffer {"connection_id":232380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:13:49] local.INFO: IMEI packet received {"connection_id":232380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":232380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:13:50] local.INFO: TCP Data received {"connection_id":229257,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:13:50] local.INFO: Processing buffer {"connection_id":229257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:13:50] local.INFO: Packet analysis {"connection_id":229257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:13:50] local.INFO: Extracted packet for processing {"connection_id":229257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:13:50] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:50] 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-11-04 08:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793759936000,"timestamp_ms":1793759936000,"timestamp_seconds":1793759936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7e00"} 
[2026-11-04 08:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:13: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-11-04 08:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543104001,"66":28398,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:13:50] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543104001,"power":28398,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":229257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:13:50] local.INFO: GPS data processed {"connection_id":229257,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:13:50] local.INFO: Acknowledgment sent {"connection_id":229257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:13:54] local.INFO: TCP Data received {"connection_id":232380,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232380,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:13:54] local.INFO: Processing buffer {"connection_id":232380,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:13:54] local.INFO: IMEI packet received {"connection_id":232380,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":232380,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:13:54] local.INFO: TCP Data received {"connection_id":232380,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:54] local.INFO: Processing buffer {"connection_id":232380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:54] local.INFO: Packet analysis {"connection_id":232380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:13:54] local.INFO: Extracted packet for processing {"connection_id":232380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:13:54] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:13:54] 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-11-04 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:13:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:13:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:13:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":232380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:13:55] local.INFO: GPS data processed {"connection_id":232380,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:13:55] local.INFO: Acknowledgment sent {"connection_id":232380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:13:59] local.INFO: TCP Data received {"connection_id":232380,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:59] local.INFO: Processing buffer {"connection_id":232380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:13:59] local.INFO: Packet analysis {"connection_id":232380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:13:59] local.INFO: Extracted packet for processing {"connection_id":232380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:13:59] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:13: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-11-04 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:13: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-11-04 08: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-11-04 08:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":232380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":232380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":232380,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:13:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:13:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":232380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58113,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:13:59] local.INFO: GPS data processed {"connection_id":232380,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:13:59] local.INFO: Acknowledgment sent {"connection_id":232380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:14:00] local.INFO: TCP Data received {"connection_id":228762,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46ff8a0012d0c4ec006ecf8c0000b00ba2c..."} 
[2026-11-04 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46ff8a0012d0c4ec006ecf8c0000b00ba2c..."} 
[2026-11-04 08:14:00] local.INFO: Processing buffer {"connection_id":228762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46ff8a0012d0c4ec006ecf8c0000b00ba2c..."} 
[2026-11-04 08:14:00] local.INFO: Packet analysis {"connection_id":228762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:14:00] local.INFO: Extracted packet for processing {"connection_id":228762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":755781312,"raw_latitude":116193472,"longitude_deg":75.5781312,"latitude_deg":11.6193472,"altitude":11,"angle":186,"satellites":44,"speed":26,"hex_longitude":"2d0c4ec0","hex_latitude":"06ecf8c0","is_valid_coordinates":true} 
[2026-11-04 08:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202601472001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38538239035834368,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887138787593648128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793760164000,"timestamp_ms":1793760164000,"timestamp_seconds":1793760164,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46ff8a0"} 
[2026-11-04 08:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 08:14:00] 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-11-04 08:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":228762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":228762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":228762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202601472001,"66":27691,"97":206,"80":6400,"24":26,"16":38538239035834368,"45":887138787593648128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202601472001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:14:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:14:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38538239035834368,"km_value":38538239035834.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":887138787593648128,"description":"Unknown IO ID 45"} 
[2026-11-04 08:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202601472001,"power":27691,"unknown_97":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":887138787593648128}} 
[2026-11-04 08:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":228762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:14:00] local.INFO: GPS data processed {"connection_id":228762,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:14:00] local.INFO: Acknowledgment sent {"connection_id":228762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:14:11] local.INFO: TCP Data received {"connection_id":230531,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:14:11] local.INFO: Processing buffer {"connection_id":230531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:14:11] local.INFO: IMEI packet received {"connection_id":230531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":230531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:14:14] local.INFO: TCP Data received {"connection_id":230531,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:14:14] local.INFO: Processing buffer {"connection_id":230531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:14:14] local.INFO: IMEI packet received {"connection_id":230531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":230531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:14:16] local.INFO: TCP Data received {"connection_id":230531,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:14:16] local.INFO: Processing buffer {"connection_id":230531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:14:16] local.INFO: Packet analysis {"connection_id":230531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:14:16] local.INFO: Extracted packet for processing {"connection_id":230531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:14:16] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:16] 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-11-04 08:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793759936000,"timestamp_ms":1793759936000,"timestamp_seconds":1793759936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7e00"} 
[2026-11-04 08:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:14: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-11-04 08:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543104001,"66":28398,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:14:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543104001,"power":28398,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":230531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:14:17] local.INFO: GPS data processed {"connection_id":230531,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:14:17] local.INFO: Acknowledgment sent {"connection_id":230531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:14:21] local.INFO: TCP Data received {"connection_id":230531,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:14:21] local.INFO: Processing buffer {"connection_id":230531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46c7e00012d27450006c39d600011015130..."} 
[2026-11-04 08:14:21] local.INFO: Packet analysis {"connection_id":230531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:14:21] local.INFO: Extracted packet for processing {"connection_id":230531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46c"} 
[2026-11-04 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:21] 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-11-04 08:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793759936000,"timestamp_ms":1793759936000,"timestamp_seconds":1793759936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46c7e00"} 
[2026-11-04 08:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:14:21] 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-11-04 08: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-11-04 08:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543104001,"66":28398,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:14:21] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543104001,"power":28398,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":230531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:14:21] local.INFO: GPS data processed {"connection_id":230531,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:14:21] local.INFO: Acknowledgment sent {"connection_id":230531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:14:44] local.INFO: TCP Data received {"connection_id":229258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229258,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:14:44] local.INFO: Processing buffer {"connection_id":229258,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:14:44] local.INFO: IMEI packet received {"connection_id":229258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":229258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:14:47] local.INFO: TCP Data received {"connection_id":232381,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:14:47] local.INFO: Processing buffer {"connection_id":232381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:14:47] local.INFO: IMEI packet received {"connection_id":232381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":232381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:14:49] local.INFO: TCP Data received {"connection_id":229258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229258,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:14:49] local.INFO: Processing buffer {"connection_id":229258,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:14:49] local.INFO: IMEI packet received {"connection_id":229258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":229258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:14:50] local.INFO: TCP Data received {"connection_id":229258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:14:50] local.INFO: Processing buffer {"connection_id":229258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:14:50] local.INFO: Packet analysis {"connection_id":229258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:14:50] local.INFO: Extracted packet for processing {"connection_id":229258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:14:50] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:14:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:14:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":229258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58117,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:14:50] local.INFO: GPS data processed {"connection_id":229258,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:14:50] local.INFO: Acknowledgment sent {"connection_id":229258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:14:56] local.INFO: TCP Data received {"connection_id":230531,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:14:56] local.INFO: Processing buffer {"connection_id":230531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:14:56] local.INFO: Packet analysis {"connection_id":230531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:14:56] local.INFO: Extracted packet for processing {"connection_id":230531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:14:56] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:14:56] 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-11-04 08:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 08:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:14:56] 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-11-04 08:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":230531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":230531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":230531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:14:56] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":230531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:14:56] local.INFO: GPS data processed {"connection_id":230531,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:14:56] local.INFO: Acknowledgment sent {"connection_id":230531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:15:14] local.INFO: TCP Data received {"connection_id":228763,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:15:14] local.INFO: Processing buffer {"connection_id":228763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:15:14] local.INFO: IMEI packet received {"connection_id":228763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":228763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:15:17] local.INFO: TCP Data received {"connection_id":228764,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:15:17] local.INFO: Processing buffer {"connection_id":228764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:15:17] local.INFO: IMEI packet received {"connection_id":228764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":228764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:15:19] local.INFO: TCP Data received {"connection_id":228763,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:15:19] local.INFO: Processing buffer {"connection_id":228763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:15:19] local.INFO: IMEI packet received {"connection_id":228763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":228763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:15:21] local.INFO: TCP Data received {"connection_id":228763,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:15:21] local.INFO: Processing buffer {"connection_id":228763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:15:21] local.INFO: Packet analysis {"connection_id":228763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:15:21] local.INFO: Extracted packet for processing {"connection_id":228763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:21] 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-11-04 08:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 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-11-04 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:15:21] 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-11-04 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-11-04 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-11-04 08:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":228763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:15:21] local.INFO: GPS data processed {"connection_id":228763,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:15:21] local.INFO: Acknowledgment sent {"connection_id":228763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:15:21] local.INFO: TCP Data received {"connection_id":229258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:15:21] local.INFO: Processing buffer {"connection_id":229258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:15:21] local.INFO: Packet analysis {"connection_id":229258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:15:21] local.INFO: Extracted packet for processing {"connection_id":229258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 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-11-04 08:15:21] 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-11-04 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:15:21] 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-11-04 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-11-04 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-11-04 08:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":229258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58120,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:15:21] local.INFO: GPS data processed {"connection_id":229258,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:15:21] local.INFO: Acknowledgment sent {"connection_id":229258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:15:22] local.INFO: TCP Data received {"connection_id":228764,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:15:22] local.INFO: Processing buffer {"connection_id":228764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:15:22] local.INFO: IMEI packet received {"connection_id":228764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":228764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:15:23] local.INFO: TCP Data received {"connection_id":228764,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4702398012d0c4a0006ecd5f0000b00bd28..."} 
[2026-11-04 08:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4702398012d0c4a0006ecd5f0000b00bd28..."} 
[2026-11-04 08:15:23] local.INFO: Processing buffer {"connection_id":228764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4702398012d0c4a0006ecd5f0000b00bd28..."} 
[2026-11-04 08:15:23] local.INFO: Packet analysis {"connection_id":228764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a470"} 
[2026-11-04 08:15:23] local.INFO: Extracted packet for processing {"connection_id":228764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a470"} 
[2026-11-04 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":755780096,"raw_latitude":116184560,"longitude_deg":75.5780096,"latitude_deg":11.618456,"altitude":11,"angle":189,"satellites":40,"speed":39,"hex_longitude":"2d0c4a00","hex_latitude":"06ecd5f0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202601984001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38538672827531264,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886857312616628224,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793760175000,"timestamp_ms":1793760175000,"timestamp_seconds":1793760175,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4702398"} 
[2026-11-04 08:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 08:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202601984001,"66":27626,"97":206,"80":6400,"24":39,"16":38538672827531264,"45":886857312616628224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202601984001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:15:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:15:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38538672827531264,"km_value":38538672827531.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":886857312616628224,"description":"Unknown IO ID 45"} 
[2026-11-04 08:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202601984001,"power":27626,"unknown_97":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":886857312616628224}} 
[2026-11-04 08:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":228764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:15:23] local.INFO: GPS data processed {"connection_id":228764,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:15:23] local.INFO: Acknowledgment sent {"connection_id":228764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:15:44] local.INFO: TCP Data received {"connection_id":232382,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:15:44] local.INFO: Processing buffer {"connection_id":232382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:15:44] local.INFO: IMEI packet received {"connection_id":232382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":232382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:15:49] local.INFO: TCP Data received {"connection_id":232382,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:15:49] local.INFO: Processing buffer {"connection_id":232382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:15:49] local.INFO: IMEI packet received {"connection_id":232382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":232382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:15:49] local.INFO: TCP Data received {"connection_id":232382,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:15:49] local.INFO: Processing buffer {"connection_id":232382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:15:49] local.INFO: Packet analysis {"connection_id":232382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:15:49] local.INFO: Extracted packet for processing {"connection_id":232382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:15:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:15:49] 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-11-04 08:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:15:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:15:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":232382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58122,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:15:50] local.INFO: GPS data processed {"connection_id":232382,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:15:50] local.INFO: Acknowledgment sent {"connection_id":232382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:15:53] local.INFO: TCP Data received {"connection_id":228763,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:15:53] local.INFO: Processing buffer {"connection_id":228763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:15:53] local.INFO: Packet analysis {"connection_id":228763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:15:53] local.INFO: Extracted packet for processing {"connection_id":228763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:15:53] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:15: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-11-04 08:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:15:53] 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-11-04 08:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 08:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:15: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:15:53] 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-11-04 08:15: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-11-04 08:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":228763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":228763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":228763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:15:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:15:53] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:15:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":228763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:15:53] local.INFO: GPS data processed {"connection_id":228763,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:15:53] local.INFO: Acknowledgment sent {"connection_id":228763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:16:07] local.INFO: TCP Data received {"connection_id":228765,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:16:07] local.INFO: Processing buffer {"connection_id":228765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:16:07] local.INFO: IMEI packet received {"connection_id":228765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":228765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:16:09] local.INFO: TCP Data received {"connection_id":228766,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:16:09] local.INFO: Processing buffer {"connection_id":228766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:16:09] local.INFO: IMEI packet received {"connection_id":228766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":228766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:16:12] local.INFO: TCP Data received {"connection_id":228765,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:16:12] local.INFO: Processing buffer {"connection_id":228765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:16:12] local.INFO: IMEI packet received {"connection_id":228765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":228765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:16:13] local.INFO: TCP Data received {"connection_id":228765,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4704aa8012d0c44c006ecb0e0000e00b62d..."} 
[2026-11-04 08:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4704aa8012d0c44c006ecb0e0000e00b62d..."} 
[2026-11-04 08:16:13] local.INFO: Processing buffer {"connection_id":228765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4704aa8012d0c44c006ecb0e0000e00b62d..."} 
[2026-11-04 08:16:13] local.INFO: Packet analysis {"connection_id":228765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a470"} 
[2026-11-04 08:16:13] local.INFO: Extracted packet for processing {"connection_id":228765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a470"} 
[2026-11-04 08:16:13] local.INFO: GPS Element Parsed {"raw_longitude":755778752,"raw_latitude":116175072,"longitude_deg":75.5778752,"latitude_deg":11.6175072,"altitude":14,"angle":182,"satellites":45,"speed":33,"hex_longitude":"2d0c44c0","hex_latitude":"06ecb0e0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202604800001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38539136683999232,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885520306474971136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760185000,"timestamp_ms":1793760185000,"timestamp_seconds":1793760185,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4704aa8"} 
[2026-11-04 08:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 08:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202604800001,"66":27713,"97":206,"80":6400,"24":33,"16":38539136683999232,"45":885520306474971136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,80,24,16,45]} 
[2026-11-04 08:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202604800001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:16:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:16:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38539136683999232,"km_value":38539136683999.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":885520306474971136,"description":"Unknown IO ID 45"} 
[2026-11-04 08:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202604800001,"power":27713,"unknown_97":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":885520306474971136}} 
[2026-11-04 08:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":228765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:16:13] local.INFO: GPS data processed {"connection_id":228765,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:16:13] local.INFO: Acknowledgment sent {"connection_id":228765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:16:14] local.INFO: TCP Data received {"connection_id":228766,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:16:14] local.INFO: Processing buffer {"connection_id":228766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:16:14] local.INFO: IMEI packet received {"connection_id":228766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":228766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:16:16] local.INFO: TCP Data received {"connection_id":228766,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:16:16] local.INFO: Processing buffer {"connection_id":228766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:16:16] local.INFO: Packet analysis {"connection_id":228766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:16:16] local.INFO: Extracted packet for processing {"connection_id":228766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:16] 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-11-04 08:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 08:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:16: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-11-04 08:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:16:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":228766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:16:16] local.INFO: GPS data processed {"connection_id":228766,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:16:16] local.INFO: Acknowledgment sent {"connection_id":228766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:16:21] local.INFO: TCP Data received {"connection_id":232382,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:16:21] local.INFO: Processing buffer {"connection_id":232382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:16:21] local.INFO: Packet analysis {"connection_id":232382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:16:21] local.INFO: Extracted packet for processing {"connection_id":232382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:16:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:16: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-11-04 08:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:16:21] 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-11-04 08:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:16:21] 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-11-04 08:16: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-11-04 08:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:16:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:16:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":232382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58126,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:16:21] local.INFO: GPS data processed {"connection_id":232382,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:16:21] local.INFO: Acknowledgment sent {"connection_id":232382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:16:44] local.INFO: TCP Data received {"connection_id":230532,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230532,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:16:44] local.INFO: Processing buffer {"connection_id":230532,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:16:44] local.INFO: IMEI packet received {"connection_id":230532,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":230532,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:16:45] local.INFO: TCP Data received {"connection_id":228765,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4724678012d0c7cc006eb9d200012008430..."} 
[2026-11-04 08:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4724678012d0c7cc006eb9d200012008430..."} 
[2026-11-04 08:16:45] local.INFO: Processing buffer {"connection_id":228765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4724678012d0c7cc006eb9d200012008430..."} 
[2026-11-04 08:16:45] local.INFO: Packet analysis {"connection_id":228765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a472"} 
[2026-11-04 08:16:45] local.INFO: Extracted packet for processing {"connection_id":228765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a472"} 
[2026-11-04 08:16:45] local.INFO: GPS Element Parsed {"raw_longitude":755793088,"raw_latitude":116104480,"longitude_deg":75.5793088,"latitude_deg":11.610448,"altitude":18,"angle":132,"satellites":48,"speed":18,"hex_longitude":"2d0c7cc0","hex_latitude":"06eb9d20","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202639616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38542688621953024,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898186680406929408,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793760315000,"timestamp_ms":1793760315000,"timestamp_seconds":1793760315,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4724678"} 
[2026-11-04 08:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 08:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202639616001,"66":27658,"84":206,"80":6400,"24":18,"16":38542688621953024,"45":898186680406929408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202639616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:16:45] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:16:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38542688621953024,"km_value":38542688621953.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":898186680406929408,"description":"Unknown IO ID 45"} 
[2026-11-04 08:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202639616001,"power":27658,"unknown_84":206,"unknown_80":6400,"ignition":18,"odometer":null,"unknown_45":898186680406929408}} 
[2026-11-04 08:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":228765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:16:45] local.INFO: GPS data processed {"connection_id":228765,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:16:45] local.INFO: Acknowledgment sent {"connection_id":228765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:16:49] local.INFO: TCP Data received {"connection_id":230532,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230532,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:16:49] local.INFO: Processing buffer {"connection_id":230532,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:16:49] local.INFO: IMEI packet received {"connection_id":230532,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":230532,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:16:50] local.INFO: TCP Data received {"connection_id":230532,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:16:50] local.INFO: Processing buffer {"connection_id":230532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:16:50] local.INFO: Packet analysis {"connection_id":230532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:16:50] local.INFO: Extracted packet for processing {"connection_id":230532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:16:50] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 08:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:16:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:16:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":230532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:16:50] local.INFO: GPS data processed {"connection_id":230532,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:16:50] local.INFO: Acknowledgment sent {"connection_id":230532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:16:53] local.INFO: TCP Data received {"connection_id":228766,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:16:53] local.INFO: Processing buffer {"connection_id":228766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:16:53] local.INFO: Packet analysis {"connection_id":228766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:16:53] local.INFO: Extracted packet for processing {"connection_id":228766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:16:53] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:16:53] 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-11-04 08:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 08:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:16:53] 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-11-04 08: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-11-04 08:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":228766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":228766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":228766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:16:53] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":228766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:16:53] local.INFO: GPS data processed {"connection_id":228766,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:16:53] local.INFO: Acknowledgment sent {"connection_id":228766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:17:07] local.INFO: TCP Data received {"connection_id":230533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:07] local.INFO: Processing buffer {"connection_id":230533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:07] local.INFO: IMEI packet received {"connection_id":230533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":230533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:17:07] local.INFO: TCP Data received {"connection_id":230533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:07] local.INFO: Processing buffer {"connection_id":230533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:07] local.INFO: IMEI packet received {"connection_id":230533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":230533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:17:12] local.INFO: TCP Data received {"connection_id":230533,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:12] local.INFO: Processing buffer {"connection_id":230533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:17:12] local.INFO: IMEI packet received {"connection_id":230533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":230533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:17:13] local.INFO: TCP Data received {"connection_id":230533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4729880012d0c960006eb8748001200872d..."} 
[2026-11-04 08:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4729880012d0c960006eb8748001200872d..."} 
[2026-11-04 08:17:13] local.INFO: Processing buffer {"connection_id":230533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4729880012d0c960006eb8748001200872d..."} 
[2026-11-04 08:17:13] local.INFO: Packet analysis {"connection_id":230533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a472"} 
[2026-11-04 08:17:13] local.INFO: Extracted packet for processing {"connection_id":230533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a472"} 
[2026-11-04 08:17:13] local.INFO: GPS Element Parsed {"raw_longitude":755799552,"raw_latitude":116098888,"longitude_deg":75.5799552,"latitude_deg":11.6098888,"altitude":18,"angle":135,"satellites":45,"speed":14,"hex_longitude":"2d0c9600","hex_latitude":"06eb8748","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202640640001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38543100938813440,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899805161522536448,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760336000,"timestamp_ms":1793760336000,"timestamp_seconds":1793760336,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4729880"} 
[2026-11-04 08:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 08:17:13] 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-11-04 08: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-11-04 08:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202640640001,"66":27615,"84":206,"80":6400,"24":14,"16":38543100938813440,"45":899805161522536448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202640640001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:17:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:17:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38543100938813440,"km_value":38543100938813.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":899805161522536448,"description":"Unknown IO ID 45"} 
[2026-11-04 08:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202640640001,"power":27615,"unknown_84":206,"unknown_80":6400,"ignition":14,"odometer":null,"unknown_45":899805161522536448}} 
[2026-11-04 08:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":230533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:17:13] local.INFO: GPS data processed {"connection_id":230533,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:17:13] local.INFO: Acknowledgment sent {"connection_id":230533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:17:21] local.INFO: TCP Data received {"connection_id":230532,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:17:21] local.INFO: Processing buffer {"connection_id":230532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a46fba20012d0c75000702b5300019004026..."} 
[2026-11-04 08:17:21] local.INFO: Packet analysis {"connection_id":230532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:17:21] local.INFO: Extracted packet for processing {"connection_id":230532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a46f"} 
[2026-11-04 08:17:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202520832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760148000,"timestamp_ms":1793760148000,"timestamp_seconds":1793760148,"priority":1,"record_length":96,"hex_timestamp":"000001a1a46fba20"} 
[2026-11-04 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-11-04 08:17:21] 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-11-04 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-11-04 08:17:21] 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-11-04 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-11-04 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-11-04 08:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230532,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202520832001,"66":12722,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202520832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:17:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:17:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202520832001,"power":12722,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":230532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58131,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:17:21] local.INFO: GPS data processed {"connection_id":230532,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:17:21] local.INFO: Acknowledgment sent {"connection_id":230532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:17:29] local.INFO: TCP Data received {"connection_id":229259,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:17:29] local.INFO: Processing buffer {"connection_id":229259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:17:29] local.INFO: IMEI packet received {"connection_id":229259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":229259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:17:34] local.INFO: TCP Data received {"connection_id":229259,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:17:34] local.INFO: Processing buffer {"connection_id":229259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:17:34] local.INFO: IMEI packet received {"connection_id":229259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":229259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:17:36] local.INFO: TCP Data received {"connection_id":229259,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:17:36] local.INFO: Processing buffer {"connection_id":229259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:17:36] local.INFO: Packet analysis {"connection_id":229259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:17:36] local.INFO: Extracted packet for processing {"connection_id":229259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:36] 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-11-04 08:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 08:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:17:36] 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-11-04 08:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:17:36] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":229259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:17:37] local.INFO: GPS data processed {"connection_id":229259,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:17:37] local.INFO: Acknowledgment sent {"connection_id":229259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:17:43] local.INFO: TCP Data received {"connection_id":228767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:17:43] local.INFO: Processing buffer {"connection_id":228767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:17:43] local.INFO: IMEI packet received {"connection_id":228767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":228767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:17:44] local.INFO: TCP Data received {"connection_id":230533,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a472e6a0012d0caf0006eb7300001500742d..."} 
[2026-11-04 08:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a472e6a0012d0caf0006eb7300001500742d..."} 
[2026-11-04 08:17:44] local.INFO: Processing buffer {"connection_id":230533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a472e6a0012d0caf0006eb7300001500742d..."} 
[2026-11-04 08:17:44] local.INFO: Packet analysis {"connection_id":230533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a472"} 
[2026-11-04 08:17:44] local.INFO: Extracted packet for processing {"connection_id":230533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a472"} 
[2026-11-04 08:17:44] local.INFO: GPS Element Parsed {"raw_longitude":755805952,"raw_latitude":116093696,"longitude_deg":75.5805952,"latitude_deg":11.6093696,"altitude":21,"angle":116,"satellites":45,"speed":15,"hex_longitude":"2d0caf00","hex_latitude":"06eb7300","is_valid_coordinates":true} 
[2026-11-04 08:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202646016001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38543496075804672,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906912404683048960,"note":"Value kept but may cause issues"} 
[2026-11-04 08:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793760356000,"timestamp_ms":1793760356000,"timestamp_seconds":1793760356,"priority":1,"record_length":96,"hex_timestamp":"000001a1a472e6a0"} 
[2026-11-04 08:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:17:44] 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-11-04 08:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202646016001,"66":27713,"84":206,"80":6400,"24":15,"16":38543496075804672,"45":906912404683048960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202646016001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:17:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:17:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38543496075804672,"km_value":38543496075804.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":906912404683048960,"description":"Unknown IO ID 45"} 
[2026-11-04 08:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202646016001,"power":27713,"unknown_84":206,"unknown_80":6400,"ignition":15,"odometer":null,"unknown_45":906912404683048960}} 
[2026-11-04 08:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":230533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:17:44] local.INFO: GPS data processed {"connection_id":230533,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:17:44] local.INFO: Acknowledgment sent {"connection_id":230533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:17:49] local.INFO: TCP Data received {"connection_id":228767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228767,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:17:49] local.INFO: Processing buffer {"connection_id":228767,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:17:49] local.INFO: IMEI packet received {"connection_id":228767,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":228767,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:17:50] local.INFO: TCP Data received {"connection_id":228767,"ip":"42.106.6.35","data_length":93,"data_hex":"00000000000000518e01000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228767,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:17:50] local.INFO: Processing buffer {"connection_id":228767,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:17:50] local.INFO: Packet analysis {"connection_id":228767,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a1a474"} 
[2026-11-04 08:17:50] local.INFO: Extracted packet for processing {"connection_id":228767,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a1a474"} 
[2026-11-04 08:17:50] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-04 08:17:50] 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-11-04 08:17:50] 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-11-04 08:17:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:17:50] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 08:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228767,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-04 08:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228767,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 08:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228767,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 08:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 08:17:50] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 08:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":228767,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 08:17:50] local.ERROR: GPS data processing failed {"connection_id":228767,"error":"No valid data to process"} 
[2026-11-04 08:17:50] local.INFO: Acknowledgment sent {"connection_id":228767,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 08:18:07] local.INFO: TCP Data received {"connection_id":229260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:07] local.INFO: Processing buffer {"connection_id":229260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:07] local.INFO: IMEI packet received {"connection_id":229260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":229260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:18:14] local.INFO: TCP Data received {"connection_id":232383,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:18:14] local.INFO: Processing buffer {"connection_id":232383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:18:14] local.INFO: IMEI packet received {"connection_id":232383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":232383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:18:15] local.INFO: TCP Data received {"connection_id":229260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:15] local.INFO: Processing buffer {"connection_id":229260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:15] local.INFO: IMEI packet received {"connection_id":229260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":229260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:18:16] local.INFO: TCP Data received {"connection_id":229260,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:16] local.INFO: Processing buffer {"connection_id":229260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:18:16] local.INFO: IMEI packet received {"connection_id":229260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":229260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:18:17] local.INFO: TCP Data received {"connection_id":229260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4731d50012d0ccf0006eb5e880014007a2e..."} 
[2026-11-04 08:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4731d50012d0ccf0006eb5e880014007a2e..."} 
[2026-11-04 08:18:17] local.INFO: Processing buffer {"connection_id":229260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4731d50012d0ccf0006eb5e880014007a2e..."} 
[2026-11-04 08:18:17] local.INFO: Packet analysis {"connection_id":229260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:18:17] local.INFO: Extracted packet for processing {"connection_id":229260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":755814144,"raw_latitude":116088456,"longitude_deg":75.5814144,"latitude_deg":11.6088456,"altitude":20,"angle":122,"satellites":46,"speed":35,"hex_longitude":"2d0ccf00","hex_latitude":"06eb5e88","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202651136001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38543959932272640,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913949279099486208,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793760370000,"timestamp_ms":1793760370000,"timestamp_seconds":1793760370,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4731d50"} 
[2026-11-04 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-11-04 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 08:18: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-11-04 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-11-04 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-11-04 08:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202651136001,"66":27691,"84":206,"80":6400,"24":35,"16":38543959932272640,"45":913949279099486208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202651136001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:18:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38543959932272640,"km_value":38543959932272.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":913949279099486208,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202651136001,"power":27691,"unknown_84":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":913949279099486208}} 
[2026-11-04 08:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":229260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:17] local.INFO: GPS data processed {"connection_id":229260,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:17] local.INFO: Acknowledgment sent {"connection_id":229260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:18:18] local.INFO: TCP Data received {"connection_id":229260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4734848012d0cee8006eb4a280012007c2a..."} 
[2026-11-04 08:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4734848012d0cee8006eb4a280012007c2a..."} 
[2026-11-04 08:18:18] local.INFO: Processing buffer {"connection_id":229260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4734848012d0cee8006eb4a280012007c2a..."} 
[2026-11-04 08:18:18] local.INFO: Packet analysis {"connection_id":229260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:18:18] local.INFO: Extracted packet for processing {"connection_id":229260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:18:18] local.INFO: GPS Element Parsed {"raw_longitude":755822208,"raw_latitude":116083240,"longitude_deg":75.5822208,"latitude_deg":11.608324,"altitude":18,"angle":124,"satellites":42,"speed":36,"hex_longitude":"2d0cee80","hex_latitude":"06eb4a28","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202654720001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38544419493773312,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":922956478352885760,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793760381000,"timestamp_ms":1793760381000,"timestamp_seconds":1793760381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4734848"} 
[2026-11-04 08:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":43,"data_length":795,"current_offset":136} 
[2026-11-04 08:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202654720001,"66":27691,"84":206,"80":6400,"24":36,"16":38544419493773312,"45":922956478352885760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202654720001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:18:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38544419493773312,"km_value":38544419493773.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":922956478352885760,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202654720001,"power":27691,"unknown_84":206,"unknown_80":6400,"ignition":36,"odometer":null,"unknown_45":922956478352885760}} 
[2026-11-04 08:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":229260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:18] local.INFO: GPS data processed {"connection_id":229260,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:18] local.INFO: Acknowledgment sent {"connection_id":229260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:18:19] local.INFO: TCP Data received {"connection_id":232383,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:18:19] local.INFO: Processing buffer {"connection_id":232383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:18:19] local.INFO: IMEI packet received {"connection_id":232383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":232383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:18:21] local.INFO: TCP Data received {"connection_id":228767,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:21] local.INFO: Processing buffer {"connection_id":228767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:21] local.INFO: Packet analysis {"connection_id":228767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:18:21] local.INFO: Extracted packet for processing {"connection_id":228767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:18:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:18:21] 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-11-04 08:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:18:21] 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-11-04 08:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228767,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:18:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":228767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58136,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:21] local.INFO: GPS data processed {"connection_id":228767,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:21] local.INFO: Acknowledgment sent {"connection_id":228767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:18:22] local.INFO: TCP Data received {"connection_id":232383,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:18:22] local.INFO: Processing buffer {"connection_id":232383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:18:22] local.INFO: Packet analysis {"connection_id":232383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:18:22] local.INFO: Extracted packet for processing {"connection_id":232383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:22] 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-11-04 08:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 08:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:18:22] 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-11-04 08: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-11-04 08:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:22] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":232383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:22] local.INFO: GPS data processed {"connection_id":232383,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:22] local.INFO: Acknowledgment sent {"connection_id":232383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:18:26] local.INFO: TCP Data received {"connection_id":232383,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:18:26] local.INFO: Processing buffer {"connection_id":232383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4712950012d27468006c39d600011015130..."} 
[2026-11-04 08:18:26] local.INFO: Packet analysis {"connection_id":232383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:18:26] local.INFO: Extracted packet for processing {"connection_id":232383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a471"} 
[2026-11-04 08:18:26] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202543616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:26] 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-11-04 08:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793760242000,"timestamp_ms":1793760242000,"timestamp_seconds":1793760242,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4712950"} 
[2026-11-04 08:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:18:26] 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-11-04 08: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-11-04 08:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202543616001,"66":27050,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202543616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:26] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202543616001,"power":27050,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":232383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:26] local.INFO: GPS data processed {"connection_id":232383,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:26] local.INFO: Acknowledgment sent {"connection_id":232383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:18:49] local.INFO: TCP Data received {"connection_id":230534,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:18:49] local.INFO: Processing buffer {"connection_id":230534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:18:49] local.INFO: IMEI packet received {"connection_id":230534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":230534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:18:49] local.INFO: TCP Data received {"connection_id":229260,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4736788012d0d00c006eb3dc00010008e2c..."} 
[2026-11-04 08:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4736788012d0d00c006eb3dc00010008e2c..."} 
[2026-11-04 08:18:49] local.INFO: Processing buffer {"connection_id":229260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4736788012d0d00c006eb3dc00010008e2c..."} 
[2026-11-04 08:18:49] local.INFO: Packet analysis {"connection_id":229260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:18:49] local.INFO: Extracted packet for processing {"connection_id":229260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:18:49] local.INFO: GPS Element Parsed {"raw_longitude":755826880,"raw_latitude":116080064,"longitude_deg":75.582688,"latitude_deg":11.6080064,"altitude":16,"angle":142,"satellites":44,"speed":16,"hex_longitude":"2d0d00c0","hex_latitude":"06eb3dc0","is_valid_coordinates":true} 
[2026-11-04 08:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202657536001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38544690076712960,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931822940117936128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760389000,"timestamp_ms":1793760389000,"timestamp_seconds":1793760389,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4736788"} 
[2026-11-04 08:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 08:18:49] 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-11-04 08:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202657536001,"66":27691,"84":206,"80":6400,"24":16,"16":38544690076712960,"45":931822940117936128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202657536001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:18:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38544690076712960,"km_value":38544690076712.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":931822940117936128,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202657536001,"power":27691,"unknown_84":206,"unknown_80":6400,"ignition":16,"odometer":null,"unknown_45":931822940117936128}} 
[2026-11-04 08:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":229260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:49] local.INFO: GPS data processed {"connection_id":229260,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:49] local.INFO: Acknowledgment sent {"connection_id":229260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:18:54] local.INFO: TCP Data received {"connection_id":230534,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230534,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:18:54] local.INFO: Processing buffer {"connection_id":230534,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:18:54] local.INFO: IMEI packet received {"connection_id":230534,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":230534,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:18:55] local.INFO: TCP Data received {"connection_id":230534,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:55] local.INFO: Processing buffer {"connection_id":230534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:55] local.INFO: Packet analysis {"connection_id":230534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:18:55] local.INFO: Extracted packet for processing {"connection_id":230534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:18:55] 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-11-04 08:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:18: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-11-04 08:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:18:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":230534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58140,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:55] local.INFO: GPS data processed {"connection_id":230534,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:55] local.INFO: Acknowledgment sent {"connection_id":230534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:18:59] local.INFO: TCP Data received {"connection_id":230534,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:59] local.INFO: Processing buffer {"connection_id":230534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:18:59] local.INFO: Packet analysis {"connection_id":230534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:18:59] local.INFO: Extracted packet for processing {"connection_id":230534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:18: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-11-04 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:18: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-11-04 08: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-11-04 08:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230534,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:18:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:18:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":230534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58141,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:18:59] local.INFO: GPS data processed {"connection_id":230534,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:18:59] local.INFO: Acknowledgment sent {"connection_id":230534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:19:12] local.INFO: TCP Data received {"connection_id":229261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:19:12] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:19:12] local.INFO: IMEI packet received {"connection_id":229261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":229261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:19:13] local.INFO: TCP Data received {"connection_id":229261,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:19:13] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:19:13] local.INFO: IMEI packet received {"connection_id":229261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":229261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:19:14] local.INFO: TCP Data received {"connection_id":229261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47382e0012d0d08c006eb3440000f007e2b..."} 
[2026-11-04 08:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47382e0012d0d08c006eb3440000f007e2b..."} 
[2026-11-04 08:19:14] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47382e0012d0d08c006eb3440000f007e2b..."} 
[2026-11-04 08:19:14] local.INFO: Packet analysis {"connection_id":229261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:19:14] local.INFO: Extracted packet for processing {"connection_id":229261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":755828928,"raw_latitude":116077632,"longitude_deg":75.5828928,"latitude_deg":11.6077632,"altitude":15,"angle":126,"satellites":43,"speed":23,"hex_longitude":"2d0d08c0","hex_latitude":"06eb3440","is_valid_coordinates":true} 
[2026-11-04 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202659584001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38544844695535616,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936959858442092544,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793760396000,"timestamp_ms":1793760396000,"timestamp_seconds":1793760396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47382e0"} 
[2026-11-04 08:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 08:19:14] 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-11-04 08:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202659584001,"66":27626,"84":206,"80":6400,"24":23,"16":38544844695535616,"45":936959858442092544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202659584001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:19:14] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:19:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38544844695535616,"km_value":38544844695535.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":936959858442092544,"description":"Unknown IO ID 45"} 
[2026-11-04 08:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202659584001,"power":27626,"unknown_84":206,"unknown_80":6400,"ignition":23,"odometer":null,"unknown_45":936959858442092544}} 
[2026-11-04 08:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":229261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:19:14] local.INFO: GPS data processed {"connection_id":229261,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:19:14] local.INFO: Acknowledgment sent {"connection_id":229261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:19:14] local.INFO: TCP Data received {"connection_id":228768,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:14] local.INFO: Processing buffer {"connection_id":228768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:14] local.INFO: IMEI packet received {"connection_id":228768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":228768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:19:17] local.INFO: TCP Data received {"connection_id":229261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a473b1c0012d0d290006eb21b0000f00742f..."} 
[2026-11-04 08:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a473b1c0012d0d290006eb21b0000f00742f..."} 
[2026-11-04 08:19:17] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a473b1c0012d0d290006eb21b0000f00742f..."} 
[2026-11-04 08:19:17] local.INFO: Packet analysis {"connection_id":229261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:19:17] local.INFO: Extracted packet for processing {"connection_id":229261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:19:17] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":116072880,"longitude_deg":75.5837184,"latitude_deg":11.607288,"altitude":15,"angle":116,"satellites":47,"speed":33,"hex_longitude":"2d0d2900","hex_latitude":"06eb21b0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202661376001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38545299962068992,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":939211658255155200,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793760408000,"timestamp_ms":1793760408000,"timestamp_seconds":1793760408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a473b1c0"} 
[2026-11-04 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-11-04 08:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 08:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 08:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202661376001,"66":27647,"84":206,"80":6400,"24":33,"16":38545299962068992,"45":939211658255155200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202661376001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:19:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:19:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38545299962068992,"km_value":38545299962068.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":939211658255155200,"description":"Unknown IO ID 45"} 
[2026-11-04 08:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202661376001,"power":27647,"unknown_84":206,"unknown_80":6400,"ignition":33,"odometer":null,"unknown_45":939211658255155200}} 
[2026-11-04 08:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":229261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:19:17] local.INFO: GPS data processed {"connection_id":229261,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:19:17] local.INFO: Acknowledgment sent {"connection_id":229261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:19:19] local.INFO: TCP Data received {"connection_id":228768,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:19] local.INFO: Processing buffer {"connection_id":228768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:19] local.INFO: IMEI packet received {"connection_id":228768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":228768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:19:24] local.INFO: TCP Data received {"connection_id":228768,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:24] local.INFO: Processing buffer {"connection_id":228768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:19:24] local.INFO: IMEI packet received {"connection_id":228768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":228768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:19:25] local.INFO: TCP Data received {"connection_id":228768,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a474d6b8012d27468006c39d600011015130..."} 
[2026-11-04 08:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a474d6b8012d27468006c39d600011015130..."} 
[2026-11-04 08:19:25] local.INFO: Processing buffer {"connection_id":228768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a474d6b8012d27468006c39d600011015130..."} 
[2026-11-04 08:19:25] local.INFO: Packet analysis {"connection_id":228768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:19:25] local.INFO: Extracted packet for processing {"connection_id":228768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":757548672,"raw_latitude":113483104,"longitude_deg":75.7548672,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274680","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202621952001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2830090182388965376,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:25] 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-11-04 08:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793760483000,"timestamp_ms":1793760483000,"timestamp_seconds":1793760483,"priority":1,"record_length":96,"hex_timestamp":"000001a1a474d6b8"} 
[2026-11-04 08:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-04 08:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202621952001,"66":26865,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2830090182388965376},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202621952001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:19:25] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2830090182388965376,"description":"Unknown IO ID 45"} 
[2026-11-04 08:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202621952001,"power":26865,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2830090182388965376}} 
[2026-11-04 08:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":228768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:19:25] local.INFO: GPS data processed {"connection_id":228768,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:19:25] local.INFO: Acknowledgment sent {"connection_id":228768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:19:44] local.INFO: TCP Data received {"connection_id":229262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:19:44] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:19:44] local.INFO: IMEI packet received {"connection_id":229262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":229262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:19:49] local.INFO: TCP Data received {"connection_id":229262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:19:49] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:19:49] local.INFO: IMEI packet received {"connection_id":229262,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":229262,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:19:49] local.INFO: TCP Data received {"connection_id":229262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:19:49] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:19:49] local.INFO: Packet analysis {"connection_id":229262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:19:49] local.INFO: Extracted packet for processing {"connection_id":229262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:19:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 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-11-04 08:19:49] 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-11-04 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:19:49] 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-11-04 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-11-04 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-11-04 08:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:19:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:19:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":229262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58145,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:19:50] local.INFO: GPS data processed {"connection_id":229262,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:19:50] local.INFO: Acknowledgment sent {"connection_id":229262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:19:54] local.INFO: TCP Data received {"connection_id":229262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:19:54] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:19:54] local.INFO: Packet analysis {"connection_id":229262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:19:54] local.INFO: Extracted packet for processing {"connection_id":229262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:19:54] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:19:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:19:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":229262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58146,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:19:54] local.INFO: GPS data processed {"connection_id":229262,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:19:54] local.INFO: Acknowledgment sent {"connection_id":229262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:19:57] local.INFO: TCP Data received {"connection_id":229261,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a473c160012d0d340006eb1d68001000682e..."} 
[2026-11-04 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a473c160012d0d340006eb1d68001000682e..."} 
[2026-11-04 08:19:57] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a473c160012d0d340006eb1d68001000682e..."} 
[2026-11-04 08:19:57] local.INFO: Packet analysis {"connection_id":229261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:19:57] local.INFO: Extracted packet for processing {"connection_id":229261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a473"} 
[2026-11-04 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":755840000,"raw_latitude":116071784,"longitude_deg":75.584,"latitude_deg":11.6071784,"altitude":16,"angle":104,"satellites":46,"speed":27,"hex_longitude":"2d0d3400","hex_latitude":"06eb1d68","is_valid_coordinates":true} 
[2026-11-04 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202664448001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38545441695989760,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226252857344,"note":"Value kept but may cause issues"} 
[2026-11-04 08:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793760412000,"timestamp_ms":1793760412000,"timestamp_seconds":1793760412,"priority":1,"record_length":96,"hex_timestamp":"000001a1a473c160"} 
[2026-11-04 08:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 08:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202664448001,"66":27615,"84":206,"80":6400,"24":27,"16":38545441695989760,"45":948289226252857344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,80,24,16,45]} 
[2026-11-04 08:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202664448001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:19:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-11-04 08:19:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38545441695989760,"km_value":38545441695989.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226252857344,"description":"Unknown IO ID 45"} 
[2026-11-04 08:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202664448001,"power":27615,"unknown_84":206,"unknown_80":6400,"ignition":27,"odometer":null,"unknown_45":948289226252857344}} 
[2026-11-04 08:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":229261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:19:57] local.INFO: GPS data processed {"connection_id":229261,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:19:57] local.INFO: Acknowledgment sent {"connection_id":229261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:20:14] local.INFO: TCP Data received {"connection_id":232384,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:20:14] local.INFO: Processing buffer {"connection_id":232384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:20:14] local.INFO: IMEI packet received {"connection_id":232384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":232384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:20:17] local.INFO: TCP Data received {"connection_id":230535,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:17] local.INFO: Processing buffer {"connection_id":230535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:17] local.INFO: IMEI packet received {"connection_id":230535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":230535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:20:19] local.INFO: TCP Data received {"connection_id":230535,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:19] local.INFO: Processing buffer {"connection_id":230535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:19] local.INFO: IMEI packet received {"connection_id":230535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":230535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:20:19] local.INFO: TCP Data received {"connection_id":232384,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:20:19] local.INFO: Processing buffer {"connection_id":232384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:20:19] local.INFO: IMEI packet received {"connection_id":232384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":232384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:20:21] local.INFO: TCP Data received {"connection_id":232384,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4753478012d27450006c39d600011015130..."} 
[2026-11-04 08:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4753478012d27450006c39d600011015130..."} 
[2026-11-04 08:20:21] local.INFO: Processing buffer {"connection_id":232384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4753478012d27450006c39d600011015130..."} 
[2026-11-04 08:20:21] local.INFO: Packet analysis {"connection_id":232384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:20:21] local.INFO: Extracted packet for processing {"connection_id":232384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202683648001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2830090182388965376,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760507000,"timestamp_ms":1793760507000,"timestamp_seconds":1793760507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4753478"} 
[2026-11-04 08:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-11-04 08:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2887,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202683648001,"66":28354,"64":206,"2":56576,"24":0,"16":20228183567630336,"45":2830090182388965376},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,45]} 
[2026-11-04 08:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202683648001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:20:21] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-04 08:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2830090182388965376,"description":"Unknown IO ID 45"} 
[2026-11-04 08:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202683648001,"power":28354,"unknown_64":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2830090182388965376}} 
[2026-11-04 08:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":232384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:20:21] local.INFO: GPS data processed {"connection_id":232384,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:20:21] local.INFO: Acknowledgment sent {"connection_id":232384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:20:23] local.INFO: TCP Data received {"connection_id":230535,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:23] local.INFO: Processing buffer {"connection_id":230535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:20:23] local.INFO: IMEI packet received {"connection_id":230535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":230535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:20:23] local.INFO: TCP Data received {"connection_id":230535,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a475a9a8012d0e458006ea8220001700922e..."} 
[2026-11-04 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a475a9a8012d0e458006ea8220001700922e..."} 
[2026-11-04 08:20:23] local.INFO: Processing buffer {"connection_id":230535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a475a9a8012d0e458006ea8220001700922e..."} 
[2026-11-04 08:20:23] local.INFO: Packet analysis {"connection_id":230535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:20:23] local.INFO: Extracted packet for processing {"connection_id":230535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755910016,"raw_latitude":116032032,"longitude_deg":75.5910016,"latitude_deg":11.6032032,"altitude":23,"angle":146,"satellites":46,"speed":28,"hex_longitude":"2d0e4580","hex_latitude":"06ea8220","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202693888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38549384475967488,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022176407630905344,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793760537000,"timestamp_ms":1793760537000,"timestamp_seconds":1793760537,"priority":1,"record_length":96,"hex_timestamp":"000001a1a475a9a8"} 
[2026-11-04 08:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-04 08:20:23] 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-11-04 08: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-11-04 08:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202693888001,"66":27658,"2":206,"80":6400,"24":28,"16":38549384475967488,"45":1022176407630905344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-11-04 08:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202693888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:20:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38549384475967488,"km_value":38549384475967.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022176407630905344,"description":"Unknown IO ID 45"} 
[2026-11-04 08:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202693888001,"power":27658,"power_alt":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":1022176407630905344}} 
[2026-11-04 08:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":230535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:20:23] local.INFO: GPS data processed {"connection_id":230535,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:20:23] local.INFO: Acknowledgment sent {"connection_id":230535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:20:26] local.INFO: TCP Data received {"connection_id":229262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:20:26] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:20:26] local.INFO: Packet analysis {"connection_id":229262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:20:26] local.INFO: Extracted packet for processing {"connection_id":229262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:20:26] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:20: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-11-04 08: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-11-04 08:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229262,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:20:26] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:20:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":229262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:20:26] local.INFO: GPS data processed {"connection_id":229262,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:20:26] local.INFO: Acknowledgment sent {"connection_id":229262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:20:43] local.INFO: TCP Data received {"connection_id":232385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:20:43] local.INFO: Processing buffer {"connection_id":232385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:20:43] local.INFO: IMEI packet received {"connection_id":232385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":232385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:20:49] local.INFO: TCP Data received {"connection_id":232385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232385,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:20:49] local.INFO: Processing buffer {"connection_id":232385,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:20:49] local.INFO: IMEI packet received {"connection_id":232385,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":232385,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:20:49] local.INFO: TCP Data received {"connection_id":232385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:20:49] local.INFO: Processing buffer {"connection_id":232385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:20:49] local.INFO: Packet analysis {"connection_id":232385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:20:49] local.INFO: Extracted packet for processing {"connection_id":232385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:20:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:20:49] 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-11-04 08:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:20:49] 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-11-04 08:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:20:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:20:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":232385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58151,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:20:50] local.INFO: GPS data processed {"connection_id":232385,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:20:50] local.INFO: Acknowledgment sent {"connection_id":232385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:20:52] local.INFO: TCP Data received {"connection_id":232384,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4758680012d27450006c39d600011015130..."} 
[2026-11-04 08:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4758680012d27450006c39d600011015130..."} 
[2026-11-04 08:20:52] local.INFO: Processing buffer {"connection_id":232384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4758680012d27450006c39d600011015130..."} 
[2026-11-04 08:20:52] local.INFO: Packet analysis {"connection_id":232384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:20:52] local.INFO: Extracted packet for processing {"connection_id":232384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:20:52] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202689792001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:20:52] 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-11-04 08:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793760528000,"timestamp_ms":1793760528000,"timestamp_seconds":1793760528,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4758680"} 
[2026-11-04 08:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:20: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-11-04 08: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-11-04 08:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202689792001,"66":28332,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202689792001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:20:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202689792001,"power":28332,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":232384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:20:52] local.INFO: GPS data processed {"connection_id":232384,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:20:52] local.INFO: Acknowledgment sent {"connection_id":232384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:21:07] local.INFO: TCP Data received {"connection_id":232386,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:07] local.INFO: Processing buffer {"connection_id":232386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:07] local.INFO: IMEI packet received {"connection_id":232386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":232386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:21:09] local.INFO: TCP Data received {"connection_id":228769,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:09] local.INFO: Processing buffer {"connection_id":228769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:09] local.INFO: IMEI packet received {"connection_id":228769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":228769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:21:10] local.INFO: TCP Data received {"connection_id":228769,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:10] local.INFO: Processing buffer {"connection_id":228769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:10] local.INFO: IMEI packet received {"connection_id":228769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":228769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:21:11] local.INFO: TCP Data received {"connection_id":232386,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:11] local.INFO: Processing buffer {"connection_id":232386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:11] local.INFO: IMEI packet received {"connection_id":232386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":232386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:21:12] local.INFO: TCP Data received {"connection_id":232386,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:12] local.INFO: Processing buffer {"connection_id":232386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:21:12] local.INFO: IMEI packet received {"connection_id":232386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":232386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:21:13] local.INFO: TCP Data received {"connection_id":232386,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a475e058012d0e5ac006ea63e80015008e2f..."} 
[2026-11-04 08:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a475e058012d0e5ac006ea63e80015008e2f..."} 
[2026-11-04 08:21:13] local.INFO: Processing buffer {"connection_id":232386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a475e058012d0e5ac006ea63e80015008e2f..."} 
[2026-11-04 08:21:13] local.INFO: Packet analysis {"connection_id":232386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:21:13] local.INFO: Extracted packet for processing {"connection_id":232386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:21:13] local.INFO: GPS Element Parsed {"raw_longitude":755915456,"raw_latitude":116024296,"longitude_deg":75.5915456,"latitude_deg":11.6024296,"altitude":21,"angle":142,"satellites":47,"speed":24,"hex_longitude":"2d0e5ac0","hex_latitude":"06ea63e8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202697472001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38549839742500864,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1028368857116581888,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760551000,"timestamp_ms":1793760551000,"timestamp_seconds":1793760551,"priority":1,"record_length":96,"hex_timestamp":"000001a1a475e058"} 
[2026-11-04 08:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":10,"data_length":795,"current_offset":136} 
[2026-11-04 08:21:13] 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-11-04 08: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-11-04 08:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202697472001,"66":27343,"2":206,"80":6400,"24":24,"16":38549839742500864,"45":1028368857116581888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-11-04 08:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202697472001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:21:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38549839742500864,"km_value":38549839742500.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1028368857116581888,"description":"Unknown IO ID 45"} 
[2026-11-04 08:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202697472001,"power":27343,"power_alt":206,"unknown_80":6400,"ignition":24,"odometer":null,"unknown_45":1028368857116581888}} 
[2026-11-04 08:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":232386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:21:13] local.INFO: GPS data processed {"connection_id":232386,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:21:13] local.INFO: Acknowledgment sent {"connection_id":232386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:21:14] local.INFO: TCP Data received {"connection_id":228769,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:14] local.INFO: Processing buffer {"connection_id":228769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:21:14] local.INFO: IMEI packet received {"connection_id":228769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":228769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:21:15] local.INFO: TCP Data received {"connection_id":228769,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a475d888012d27450006c39d600011015130..."} 
[2026-11-04 08:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a475d888012d27450006c39d600011015130..."} 
[2026-11-04 08:21:15] local.INFO: Processing buffer {"connection_id":228769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a475d888012d27450006c39d600011015130..."} 
[2026-11-04 08:21:15] local.INFO: Packet analysis {"connection_id":228769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:21:15] local.INFO: Extracted packet for processing {"connection_id":228769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a475"} 
[2026-11-04 08:21:15] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202695168001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:15] 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-11-04 08:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793760549000,"timestamp_ms":1793760549000,"timestamp_seconds":1793760549,"priority":1,"record_length":96,"hex_timestamp":"000001a1a475d888"} 
[2026-11-04 08:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:21: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-11-04 08:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202695168001,"66":28332,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202695168001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:21:15] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202695168001,"power":28332,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":228769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:21:15] local.INFO: GPS data processed {"connection_id":228769,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:21:15] local.INFO: Acknowledgment sent {"connection_id":228769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:21:18] local.INFO: TCP Data received {"connection_id":232386,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47622c0012d0e6d8006ea47800012009a2e..."} 
[2026-11-04 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47622c0012d0e6d8006ea47800012009a2e..."} 
[2026-11-04 08:21:18] local.INFO: Processing buffer {"connection_id":232386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47622c0012d0e6d8006ea47800012009a2e..."} 
[2026-11-04 08:21:18] local.INFO: Packet analysis {"connection_id":232386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:21:18] local.INFO: Extracted packet for processing {"connection_id":232386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:21:18] local.INFO: GPS Element Parsed {"raw_longitude":755920256,"raw_latitude":116017024,"longitude_deg":75.5920256,"latitude_deg":11.6017024,"altitude":18,"angle":154,"satellites":46,"speed":8,"hex_longitude":"2d0e6d80","hex_latitude":"06ea4780","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202701056001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38550260649295872,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1034350200369702912,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793760568000,"timestamp_ms":1793760568000,"timestamp_seconds":1793760568,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47622c0"} 
[2026-11-04 08:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-04 08:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202701056001,"66":27006,"2":206,"80":6400,"24":8,"16":38550260649295872,"45":1034350200369702912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,80,24,16,45]} 
[2026-11-04 08:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202701056001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:21:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38550260649295872,"km_value":38550260649295.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1034350200369702912,"description":"Unknown IO ID 45"} 
[2026-11-04 08:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202701056001,"power":27006,"power_alt":206,"unknown_80":6400,"ignition":8,"odometer":null,"unknown_45":1034350200369702912}} 
[2026-11-04 08:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":232386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:21:18] local.INFO: GPS data processed {"connection_id":232386,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:21:18] local.INFO: Acknowledgment sent {"connection_id":232386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:21:21] local.INFO: TCP Data received {"connection_id":232385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:21:21] local.INFO: Processing buffer {"connection_id":232385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:21:21] local.INFO: Packet analysis {"connection_id":232385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:21:21] local.INFO: Extracted packet for processing {"connection_id":232385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:21:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:21:21] 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-11-04 08:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:21:21] 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-11-04 08:21: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-11-04 08:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232385,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:21:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:21:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":232385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58156,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:21:21] local.INFO: GPS data processed {"connection_id":232385,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:21:21] local.INFO: Acknowledgment sent {"connection_id":232385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:21:43] local.INFO: TCP Data received {"connection_id":228770,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:21:43] local.INFO: Processing buffer {"connection_id":228770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:21:43] local.INFO: IMEI packet received {"connection_id":228770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":228770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:21:48] local.INFO: TCP Data received {"connection_id":228769,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4762a90012d27450006c39d600011015130..."} 
[2026-11-04 08:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4762a90012d27450006c39d600011015130..."} 
[2026-11-04 08:21:48] local.INFO: Processing buffer {"connection_id":228769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4762a90012d27450006c39d600011015130..."} 
[2026-11-04 08:21:48] local.INFO: Packet analysis {"connection_id":228769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:21:48] local.INFO: Extracted packet for processing {"connection_id":228769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:21:48] local.INFO: GPS Element Parsed {"raw_longitude":757548288,"raw_latitude":113483104,"longitude_deg":75.7548288,"latitude_deg":11.3483104,"altitude":17,"angle":337,"satellites":48,"speed":0,"hex_longitude":"2d274500","hex_latitude":"06c39d60","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202700544001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:48] 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-11-04 08:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793760570000,"timestamp_ms":1793760570000,"timestamp_seconds":1793760570,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4762a90"} 
[2026-11-04 08:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:21: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-11-04 08: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-11-04 08:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202700544001,"66":28006,"63":206,"2":56576,"24":0,"16":20228183567630336,"45":2829667969923899392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-11-04 08:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202700544001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:21:48] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 08:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2829667969923899392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202700544001,"power":28006,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2829667969923899392}} 
[2026-11-04 08:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":228769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:21:48] local.INFO: GPS data processed {"connection_id":228769,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:21:48] local.INFO: Acknowledgment sent {"connection_id":228769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:21:49] local.INFO: TCP Data received {"connection_id":228770,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228770,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:21:49] local.INFO: Processing buffer {"connection_id":228770,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:21:49] local.INFO: IMEI packet received {"connection_id":228770,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":228770,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:21:49] local.INFO: TCP Data received {"connection_id":228770,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:21:49] local.INFO: Processing buffer {"connection_id":228770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:21:49] local.INFO: Packet analysis {"connection_id":228770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:21:49] local.INFO: Extracted packet for processing {"connection_id":228770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:21:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 08:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:21:49] 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-11-04 08:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:21:49] 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-11-04 08:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:21:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:21:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:21:50] local.INFO: TCP Data received {"connection_id":232386,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4765588012d0e75c006ea3be00015008f2c..."} 
[2026-11-04 08:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4765588012d0e75c006ea3be00015008f2c..."} 
[2026-11-04 08:21:50] local.INFO: Processing buffer {"connection_id":232386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4765588012d0e75c006ea3be00015008f2c..."} 
[2026-11-04 08:21:50] local.INFO: Packet analysis {"connection_id":232386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:21:50] local.INFO: Extracted packet for processing {"connection_id":232386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:21:50] local.INFO: GPS Element Parsed {"raw_longitude":755922368,"raw_latitude":116014048,"longitude_deg":75.5922368,"latitude_deg":11.6014048,"altitude":21,"angle":143,"satellites":44,"speed":21,"hex_longitude":"2d0e75c0","hex_latitude":"06ea3be0","is_valid_coordinates":true} 
[2026-11-04 08:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202705408001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38550436742955008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1039627856181166080,"note":"Value kept but may cause issues"} 
[2026-11-04 08:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793760581000,"timestamp_ms":1793760581000,"timestamp_seconds":1793760581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4765588"} 
[2026-11-04 08:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-11-04 08:21:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202705408001,"66":27050,"1":206,"80":6400,"24":21,"16":38550436742955008,"45":1039627856181166080},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-11-04 08:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202705408001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:21:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38550436742955008,"km_value":38550436742955.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1039627856181166080,"description":"Unknown IO ID 45"} 
[2026-11-04 08:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202705408001,"power":27050,"imei":206,"unknown_80":6400,"ignition":21,"odometer":null,"unknown_45":1039627856181166080}} 
[2026-11-04 08:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":232386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:21:50] local.INFO: GPS data processed {"connection_id":232386,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:21:50] local.INFO: Acknowledgment sent {"connection_id":232386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":228770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58159,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:21:50] local.INFO: GPS data processed {"connection_id":228770,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:21:50] local.INFO: Acknowledgment sent {"connection_id":228770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:22:07] local.INFO: TCP Data received {"connection_id":229263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:07] local.INFO: Processing buffer {"connection_id":229263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:07] local.INFO: IMEI packet received {"connection_id":229263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":229263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:22:09] local.INFO: TCP Data received {"connection_id":229264,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:22:09] local.INFO: Processing buffer {"connection_id":229264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:22:09] local.INFO: IMEI packet received {"connection_id":229264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":229264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:22:11] local.INFO: TCP Data received {"connection_id":229263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:11] local.INFO: Processing buffer {"connection_id":229263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:11] local.INFO: IMEI packet received {"connection_id":229263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:22:12] local.INFO: TCP Data received {"connection_id":229263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:12] local.INFO: Processing buffer {"connection_id":229263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:22:12] local.INFO: IMEI packet received {"connection_id":229263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":229263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:22:13] local.INFO: TCP Data received {"connection_id":229263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4768080012d0e89c006ea1f200012009329..."} 
[2026-11-04 08:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4768080012d0e89c006ea1f200012009329..."} 
[2026-11-04 08:22:13] local.INFO: Processing buffer {"connection_id":229263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4768080012d0e89c006ea1f200012009329..."} 
[2026-11-04 08:22:13] local.INFO: Packet analysis {"connection_id":229263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:13] local.INFO: Extracted packet for processing {"connection_id":229263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:13] local.INFO: GPS Element Parsed {"raw_longitude":755927488,"raw_latitude":116006688,"longitude_deg":75.5927488,"latitude_deg":11.6006688,"altitude":18,"angle":147,"satellites":41,"speed":35,"hex_longitude":"2d0e89c0","hex_latitude":"06ea1f20","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202708736001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38550870534651904,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041950024738267136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760592000,"timestamp_ms":1793760592000,"timestamp_seconds":1793760592,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4768080"} 
[2026-11-04 08:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-04 08:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202708736001,"66":27158,"1":206,"80":6400,"24":35,"16":38550870534651904,"45":1041950024738267136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-11-04 08:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202708736001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:22:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38550870534651904,"km_value":38550870534651.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041950024738267136,"description":"Unknown IO ID 45"} 
[2026-11-04 08:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202708736001,"power":27158,"imei":206,"unknown_80":6400,"ignition":35,"odometer":null,"unknown_45":1041950024738267136}} 
[2026-11-04 08:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":229263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:22:13] local.INFO: GPS data processed {"connection_id":229263,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:22:13] local.INFO: Acknowledgment sent {"connection_id":229263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:22:14] local.INFO: TCP Data received {"connection_id":229264,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:22:14] local.INFO: Processing buffer {"connection_id":229264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:22:14] local.INFO: IMEI packet received {"connection_id":229264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":229264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:22:16] local.INFO: TCP Data received {"connection_id":229264,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47701680100000000000000000000000000..."} 
[2026-11-04 08:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47701680100000000000000000000000000..."} 
[2026-11-04 08:22:16] local.INFO: Processing buffer {"connection_id":229264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47701680100000000000000000000000000..."} 
[2026-11-04 08:22:16] local.INFO: Packet analysis {"connection_id":229264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a477"} 
[2026-11-04 08:22:16] local.INFO: Extracted packet for processing {"connection_id":229264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a477"} 
[2026-11-04 08:22: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-11-04 08: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-11-04 08:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202705920001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2829667969923899392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:16] 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-11-04 08:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793760625000,"timestamp_ms":1793760625000,"timestamp_seconds":1793760625,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4770168"} 
[2026-11-04 08:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 08:22:16] 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-11-04 08: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-11-04 08:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":229264,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 08:22:16] local.INFO: GPS data processed {"connection_id":229264,"processed":0,"errors":0,"total":1} 
[2026-11-04 08:22:16] local.INFO: Acknowledgment sent {"connection_id":229264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:22:18] local.INFO: TCP Data received {"connection_id":229263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a476a790012d0e9ec006ea00080010009121..."} 
[2026-11-04 08:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a476a790012d0e9ec006ea00080010009121..."} 
[2026-11-04 08:22:18] local.INFO: Processing buffer {"connection_id":229263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a476a790012d0e9ec006ea00080010009121..."} 
[2026-11-04 08:22:18] local.INFO: Packet analysis {"connection_id":229263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:18] local.INFO: Extracted packet for processing {"connection_id":229263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:18] local.INFO: GPS Element Parsed {"raw_longitude":755932864,"raw_latitude":115998728,"longitude_deg":75.5932864,"latitude_deg":11.5998728,"altitude":16,"angle":145,"satellites":33,"speed":39,"hex_longitude":"2d0e9ec0","hex_latitude":"06ea0008","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202711552001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38551330096152576,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047579524270596096,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793760602000,"timestamp_ms":1793760602000,"timestamp_seconds":1793760602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a476a790"} 
[2026-11-04 08:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 08:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202711552001,"66":27234,"1":206,"80":6400,"24":39,"16":38551330096152576,"45":1047579524270596096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-11-04 08:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202711552001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:22:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38551330096152576,"km_value":38551330096152.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047579524270596096,"description":"Unknown IO ID 45"} 
[2026-11-04 08:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202711552001,"power":27234,"imei":206,"unknown_80":6400,"ignition":39,"odometer":null,"unknown_45":1047579524270596096}} 
[2026-11-04 08:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":229263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:22:18] local.INFO: GPS data processed {"connection_id":229263,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:22:18] local.INFO: Acknowledgment sent {"connection_id":229263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:22:21] local.INFO: TCP Data received {"connection_id":228770,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:22:21] local.INFO: Processing buffer {"connection_id":228770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47451e8012d0c75000702b5300019004029..."} 
[2026-11-04 08:22:21] local.INFO: Packet analysis {"connection_id":228770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:22:21] local.INFO: Extracted packet for processing {"connection_id":228770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a474"} 
[2026-11-04 08:22:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":41,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202597888001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760449000,"timestamp_ms":1793760449000,"timestamp_seconds":1793760449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47451e8"} 
[2026-11-04 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-11-04 08:22:21] 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-11-04 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 08:22:21] 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-11-04 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-11-04 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-11-04 08:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228770,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202597888001,"66":12678,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202597888001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:22:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:22:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202597888001,"power":12678,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":228770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58162,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:22:21] local.INFO: GPS data processed {"connection_id":228770,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:22:21] local.INFO: Acknowledgment sent {"connection_id":228770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:22:43] local.INFO: TCP Data received {"connection_id":230536,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:22:43] local.INFO: Processing buffer {"connection_id":230536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:22:43] local.INFO: IMEI packet received {"connection_id":230536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":230536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:22:48] local.INFO: TCP Data received {"connection_id":229264,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4769fc0012d27008006c43118000d014f31..."} 
[2026-11-04 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4769fc0012d27008006c43118000d014f31..."} 
[2026-11-04 08:22:48] local.INFO: Processing buffer {"connection_id":229264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4769fc0012d27008006c43118000d014f31..."} 
[2026-11-04 08:22:48] local.INFO: Packet analysis {"connection_id":229264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:48] local.INFO: Extracted packet for processing {"connection_id":229264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:48] local.INFO: GPS Element Parsed {"raw_longitude":757530752,"raw_latitude":113520920,"longitude_deg":75.7530752,"latitude_deg":11.352092,"altitude":13,"angle":335,"satellites":49,"speed":59,"hex_longitude":"2d270080","hex_latitude":"06c43118","is_valid_coordinates":true} 
[2026-11-04 08:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:48] 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-11-04 08:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793760600000,"timestamp_ms":1793760600000,"timestamp_seconds":1793760600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4769fc0"} 
[2026-11-04 08:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 08:22:48] 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-11-04 08:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"191":206,"2":56576,"24":59,"16":20228183567630336},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16]} 
[2026-11-04 08:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 08:22:48] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:22:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_191":206,"power_alt":56576,"ignition":59,"odometer":null}} 
[2026-11-04 08:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":229264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:22:48] local.INFO: GPS data processed {"connection_id":229264,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:22:48] local.INFO: Acknowledgment sent {"connection_id":229264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:22:48] local.INFO: TCP Data received {"connection_id":230536,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230536,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:22:48] local.INFO: Processing buffer {"connection_id":230536,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:22:48] local.INFO: IMEI packet received {"connection_id":230536,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":230536,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:22:49] local.INFO: TCP Data received {"connection_id":229263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a476cea0012d0eb34006e9e0280010009228..."} 
[2026-11-04 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a476cea0012d0eb34006e9e0280010009228..."} 
[2026-11-04 08:22:49] local.INFO: Processing buffer {"connection_id":229263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a476cea0012d0eb34006e9e0280010009228..."} 
[2026-11-04 08:22:49] local.INFO: Packet analysis {"connection_id":229263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:49] local.INFO: Extracted packet for processing {"connection_id":229263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":755938112,"raw_latitude":115990568,"longitude_deg":75.5938112,"latitude_deg":11.5990568,"altitude":16,"angle":146,"satellites":40,"speed":38,"hex_longitude":"2d0eb340","hex_latitude":"06e9e028","is_valid_coordinates":true} 
[2026-11-04 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202714112001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38551798247587840,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1053490498779482112,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760612000,"timestamp_ms":1793760612000,"timestamp_seconds":1793760612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a476cea0"} 
[2026-11-04 08:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-04 08:22:49] 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-11-04 08:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202714112001,"66":27093,"1":206,"80":6400,"24":38,"16":38551798247587840,"45":1053490498779482112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,80,24,16,45]} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202714112001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:22:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38551798247587840,"km_value":38551798247587.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1053490498779482112,"description":"Unknown IO ID 45"} 
[2026-11-04 08:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202714112001,"power":27093,"imei":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":1053490498779482112}} 
[2026-11-04 08:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":229263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:22:49] local.INFO: GPS data processed {"connection_id":229263,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:22:49] local.INFO: Acknowledgment sent {"connection_id":229263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:22:49] local.INFO: TCP Data received {"connection_id":230536,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:22:49] local.INFO: Processing buffer {"connection_id":230536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:22:49] local.INFO: Packet analysis {"connection_id":230536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:22:49] local.INFO: Extracted packet for processing {"connection_id":230536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:22:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":43,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202674944001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760750000,"timestamp_ms":1793760750000,"timestamp_seconds":1793760750,"priority":1,"record_length":96,"hex_timestamp":"000001a1a478e9b0"} 
[2026-11-04 08:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:22:49] 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-11-04 08:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 08:22:49] 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-11-04 08:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202674944001,"66":12613,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202674944001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:22:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:22:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202674944001,"power":12613,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":230536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58165,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:22:49] local.INFO: GPS data processed {"connection_id":230536,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:22:49] local.INFO: Acknowledgment sent {"connection_id":230536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:08] local.INFO: TCP Data received {"connection_id":229265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:08] local.INFO: Processing buffer {"connection_id":229265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:08] local.INFO: IMEI packet received {"connection_id":229265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":229265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:23:10] local.INFO: TCP Data received {"connection_id":229265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:10] local.INFO: Processing buffer {"connection_id":229265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:10] local.INFO: IMEI packet received {"connection_id":229265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":229265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:23:12] local.INFO: TCP Data received {"connection_id":229265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:12] local.INFO: Processing buffer {"connection_id":229265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:12] local.INFO: IMEI packet received {"connection_id":229265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":229265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:23:14] local.INFO: TCP Data received {"connection_id":229265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:14] local.INFO: Processing buffer {"connection_id":229265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:23:14] local.INFO: IMEI packet received {"connection_id":229265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":229265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:23:15] local.INFO: TCP Data received {"connection_id":229265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4787480012d0ea74006e8bba0000600cb2f..."} 
[2026-11-04 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4787480012d0ea74006e8bba0000600cb2f..."} 
[2026-11-04 08:23:15] local.INFO: Processing buffer {"connection_id":229265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4787480012d0ea74006e8bba0000600cb2f..."} 
[2026-11-04 08:23:15] local.INFO: Packet analysis {"connection_id":229265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:15] local.INFO: Extracted packet for processing {"connection_id":229265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:15] local.INFO: GPS Element Parsed {"raw_longitude":755935040,"raw_latitude":115915680,"longitude_deg":75.593504,"latitude_deg":11.591568,"altitude":6,"angle":203,"satellites":47,"speed":32,"hex_longitude":"2d0ea740","hex_latitude":"06e8bba0","is_valid_coordinates":true} 
[2026-11-04 08:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202742016001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38555723847696384,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1059753316992198656,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:15] 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-11-04 08:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793760720000,"timestamp_ms":1793760720000,"timestamp_seconds":1793760720,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4787480"} 
[2026-11-04 08:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-11-04 08:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1519,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202742016001,"66":26984,"167":206,"80":6400,"24":32,"16":38555723847696384,"45":1059753316992198656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-11-04 08:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202742016001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-04 08:23:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38555723847696384,"km_value":38555723847696.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1059753316992198656,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202742016001,"power":26984,"unknown_167":206,"unknown_80":6400,"ignition":32,"odometer":null,"unknown_45":1059753316992198656}} 
[2026-11-04 08:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":229265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:15] local.INFO: GPS data processed {"connection_id":229265,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:15] local.INFO: Acknowledgment sent {"connection_id":229265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:15] local.INFO: TCP Data received {"connection_id":228771,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:23:15] local.INFO: Processing buffer {"connection_id":228771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:23:15] local.INFO: IMEI packet received {"connection_id":228771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":228771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:23:17] local.INFO: TCP Data received {"connection_id":229265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a478a360012d0e9a4006e89b70000500ca30..."} 
[2026-11-04 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a478a360012d0e9a4006e89b70000500ca30..."} 
[2026-11-04 08:23:18] local.INFO: Processing buffer {"connection_id":229265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a478a360012d0e9a4006e89b70000500ca30..."} 
[2026-11-04 08:23:18] local.INFO: Packet analysis {"connection_id":229265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:18] local.INFO: Extracted packet for processing {"connection_id":229265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:18] local.INFO: GPS Element Parsed {"raw_longitude":755931712,"raw_latitude":115907440,"longitude_deg":75.5931712,"latitude_deg":11.590744,"altitude":5,"angle":202,"satellites":48,"speed":26,"hex_longitude":"2d0e9a40","hex_latitude":"06e89b70","is_valid_coordinates":true} 
[2026-11-04 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202744320001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38556153344425984,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1055883036060262400,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793760732000,"timestamp_ms":1793760732000,"timestamp_seconds":1793760732,"priority":1,"record_length":96,"hex_timestamp":"000001a1a478a360"} 
[2026-11-04 08:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 08:23:18] 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-11-04 08:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202744320001,"66":26984,"176":206,"80":6400,"24":26,"16":38556153344425984,"45":1055883036060262400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-11-04 08:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202744320001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-11-04 08:23:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38556153344425984,"km_value":38556153344425.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1055883036060262400,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202744320001,"power":26984,"unknown_176":206,"unknown_80":6400,"ignition":26,"odometer":null,"unknown_45":1055883036060262400}} 
[2026-11-04 08:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":229265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:18] local.INFO: GPS data processed {"connection_id":229265,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:18] local.INFO: Acknowledgment sent {"connection_id":229265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:21] local.INFO: TCP Data received {"connection_id":230536,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:21] local.INFO: Processing buffer {"connection_id":230536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:21] local.INFO: Packet analysis {"connection_id":230536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:21] local.INFO: Extracted packet for processing {"connection_id":230536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:21] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":43,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202674944001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793760750000,"timestamp_ms":1793760750000,"timestamp_seconds":1793760750,"priority":1,"record_length":96,"hex_timestamp":"000001a1a478e9b0"} 
[2026-11-04 08:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23:21] 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-11-04 08:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 08:23:21] 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-11-04 08:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230536,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202674944001,"66":12613,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202674944001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:21] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:23:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202674944001,"power":12613,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":230536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:21] local.INFO: GPS data processed {"connection_id":230536,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:21] local.INFO: Acknowledgment sent {"connection_id":230536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:41] local.INFO: TCP Data received {"connection_id":228771,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:23:41] local.INFO: Processing buffer {"connection_id":228771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:23:41] local.INFO: IMEI packet received {"connection_id":228771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":228771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:23:43] local.INFO: TCP Data received {"connection_id":228771,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a476f1c8012d26d98006c48428000c014d30..."} 
[2026-11-04 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a476f1c8012d26d98006c48428000c014d30..."} 
[2026-11-04 08:23:43] local.INFO: Processing buffer {"connection_id":228771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a476f1c8012d26d98006c48428000c014d30..."} 
[2026-11-04 08:23:43] local.INFO: Packet analysis {"connection_id":228771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:23:43] local.INFO: Extracted packet for processing {"connection_id":228771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a476"} 
[2026-11-04 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":757520768,"raw_latitude":113542184,"longitude_deg":75.7520768,"latitude_deg":11.3542184,"altitude":12,"angle":333,"satellites":48,"speed":0,"hex_longitude":"2d26d980","hex_latitude":"06c48428","is_valid_coordinates":true} 
[2026-11-04 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202713600001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2810386934028900352,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23: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-11-04 08:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793760621000,"timestamp_ms":1793760621000,"timestamp_seconds":1793760621,"priority":1,"record_length":96,"hex_timestamp":"000001a1a476f1c8"} 
[2026-11-04 08:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:23: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-11-04 08:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202713600001,"66":28332,"191":206,"2":56576,"24":0,"16":20228183567630336,"45":2810386934028900352},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-11-04 08:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202713600001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:43] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2810386934028900352,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202713600001,"power":28332,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2810386934028900352}} 
[2026-11-04 08:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":228771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:43] local.INFO: GPS data processed {"connection_id":228771,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:43] local.INFO: Acknowledgment sent {"connection_id":228771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:46] local.INFO: TCP Data received {"connection_id":228771,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4771cc0012d26a54006c4ce38000b013e31..."} 
[2026-11-04 08:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4771cc0012d26a54006c4ce38000b013e31..."} 
[2026-11-04 08:23:46] local.INFO: Processing buffer {"connection_id":228771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4771cc0012d26a54006c4ce38000b013e31..."} 
[2026-11-04 08:23:46] local.INFO: Packet analysis {"connection_id":228771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a477"} 
[2026-11-04 08:23:46] local.INFO: Extracted packet for processing {"connection_id":228771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a477"} 
[2026-11-04 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":757507392,"raw_latitude":113561144,"longitude_deg":75.7507392,"latitude_deg":11.3561144,"altitude":11,"angle":318,"satellites":49,"speed":56,"hex_longitude":"2d26a540","hex_latitude":"06c4ce38","is_valid_coordinates":true} 
[2026-11-04 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202718976001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20228183567630336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2799409409942628352,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:46] 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-11-04 08:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793760632000,"timestamp_ms":1793760632000,"timestamp_seconds":1793760632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4771cc0"} 
[2026-11-04 08:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:23:46] 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-11-04 08:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202718976001,"66":28267,"191":206,"2":56576,"24":56,"16":20228183567630336,"45":2799409409942628352},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-11-04 08:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202718976001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:46] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20228183567630336,"km_value":20228183567630.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2799409409942628352,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202718976001,"power":28267,"unknown_191":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":2799409409942628352}} 
[2026-11-04 08:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":228771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:46] local.INFO: GPS data processed {"connection_id":228771,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:46] local.INFO: Acknowledgment sent {"connection_id":228771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:49] local.INFO: TCP Data received {"connection_id":232387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:23:49] local.INFO: Processing buffer {"connection_id":232387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:23:49] local.INFO: IMEI packet received {"connection_id":232387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":232387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:23:49] local.INFO: TCP Data received {"connection_id":229265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a478b6e8012d0e954006e89128000500d82f..."} 
[2026-11-04 08:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a478b6e8012d0e954006e89128000500d82f..."} 
[2026-11-04 08:23:49] local.INFO: Processing buffer {"connection_id":229265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a478b6e8012d0e954006e89128000500d82f..."} 
[2026-11-04 08:23:49] local.INFO: Packet analysis {"connection_id":229265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:49] local.INFO: Extracted packet for processing {"connection_id":229265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":755930432,"raw_latitude":115904808,"longitude_deg":75.5930432,"latitude_deg":11.5904808,"altitude":5,"angle":216,"satellites":47,"speed":19,"hex_longitude":"2d0e9540","hex_latitude":"06e89128","is_valid_coordinates":true} 
[2026-11-04 08:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202747392001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38556295078346752,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052223861360914432,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760737000,"timestamp_ms":1793760737000,"timestamp_seconds":1793760737,"priority":1,"record_length":96,"hex_timestamp":"000001a1a478b6e8"} 
[2026-11-04 08:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 08:23:49] 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-11-04 08:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202747392001,"66":27006,"176":206,"80":6400,"24":19,"16":38556295078346752,"45":1052223861360914432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-11-04 08:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202747392001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:49] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-11-04 08:23:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38556295078346752,"km_value":38556295078346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052223861360914432,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202747392001,"power":27006,"unknown_176":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1052223861360914432}} 
[2026-11-04 08:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":229265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:49] local.INFO: GPS data processed {"connection_id":229265,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:49] local.INFO: Acknowledgment sent {"connection_id":229265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:54] local.INFO: TCP Data received {"connection_id":232387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:23:54] local.INFO: Processing buffer {"connection_id":232387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:23:54] local.INFO: IMEI packet received {"connection_id":232387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":232387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:23:54] local.INFO: TCP Data received {"connection_id":232387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:54] local.INFO: Processing buffer {"connection_id":232387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:54] local.INFO: Packet analysis {"connection_id":232387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:54] local.INFO: Extracted packet for processing {"connection_id":232387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":43,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202674944001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793760750000,"timestamp_ms":1793760750000,"timestamp_seconds":1793760750,"priority":1,"record_length":96,"hex_timestamp":"000001a1a478e9b0"} 
[2026-11-04 08:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23: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-11-04 08: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 08:23:54] 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-11-04 08: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-11-04 08:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202674944001,"66":12613,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202674944001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:54] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:23:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202674944001,"power":12613,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":232387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58172,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:55] local.INFO: GPS data processed {"connection_id":232387,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:55] local.INFO: Acknowledgment sent {"connection_id":232387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:23:59] local.INFO: TCP Data received {"connection_id":232387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:59] local.INFO: Processing buffer {"connection_id":232387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a478e9b0012d0c75000702b530001900402b..."} 
[2026-11-04 08:23:59] local.INFO: Packet analysis {"connection_id":232387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:59] local.INFO: Extracted packet for processing {"connection_id":232387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":43,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202674944001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793760750000,"timestamp_ms":1793760750000,"timestamp_seconds":1793760750,"priority":1,"record_length":96,"hex_timestamp":"000001a1a478e9b0"} 
[2026-11-04 08:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:23: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-11-04 08:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 08:23:59] 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-11-04 08: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-11-04 08:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":232387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":232387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":232387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202674944001,"66":12613,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202674944001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:23:59] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:23:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202674944001,"power":12613,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":232387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58173,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:23:59] local.INFO: GPS data processed {"connection_id":232387,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:23:59] local.INFO: Acknowledgment sent {"connection_id":232387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:24:07] local.INFO: TCP Data received {"connection_id":230537,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:07] local.INFO: Processing buffer {"connection_id":230537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:07] local.INFO: IMEI packet received {"connection_id":230537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":230537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:24:07] local.INFO: TCP Data received {"connection_id":230537,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:07] local.INFO: Processing buffer {"connection_id":230537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:07] local.INFO: IMEI packet received {"connection_id":230537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":230537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:24:09] local.INFO: TCP Data received {"connection_id":230538,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:24:09] local.INFO: Processing buffer {"connection_id":230538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:24:09] local.INFO: IMEI packet received {"connection_id":230538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":230538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:24:12] local.INFO: TCP Data received {"connection_id":230538,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:24:12] local.INFO: Processing buffer {"connection_id":230538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:24:12] local.INFO: IMEI packet received {"connection_id":230538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":230538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:24:12] local.INFO: TCP Data received {"connection_id":230537,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:12] local.INFO: Processing buffer {"connection_id":230537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:24:12] local.INFO: IMEI packet received {"connection_id":230537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":230537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:24:13] local.INFO: TCP Data received {"connection_id":230537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a478bad0012d0e940006e88fd0000500e430..."} 
[2026-11-04 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a478bad0012d0e940006e88fd0000500e430..."} 
[2026-11-04 08:24:13] local.INFO: Processing buffer {"connection_id":230537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a478bad0012d0e940006e88fd0000500e430..."} 
[2026-11-04 08:24:13] local.INFO: Packet analysis {"connection_id":230537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:24:13] local.INFO: Extracted packet for processing {"connection_id":230537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a478"} 
[2026-11-04 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":755930112,"raw_latitude":115904464,"longitude_deg":75.5930112,"latitude_deg":11.5904464,"altitude":5,"angle":228,"satellites":48,"speed":19,"hex_longitude":"2d0e9400","hex_latitude":"06e88fd0","is_valid_coordinates":true} 
[2026-11-04 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202748672001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38556316553183232,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050816486476687360,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760738000,"timestamp_ms":1793760738000,"timestamp_seconds":1793760738,"priority":1,"record_length":96,"hex_timestamp":"000001a1a478bad0"} 
[2026-11-04 08:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-11-04 08:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202748672001,"66":27050,"176":206,"80":6400,"24":19,"16":38556316553183232,"45":1050816486476687360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,80,24,16,45]} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202748672001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:24:13] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-11-04 08:24:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38556316553183232,"km_value":38556316553183.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050816486476687360,"description":"Unknown IO ID 45"} 
[2026-11-04 08:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202748672001,"power":27050,"unknown_176":206,"unknown_80":6400,"ignition":19,"odometer":null,"unknown_45":1050816486476687360}} 
[2026-11-04 08:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":230537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:24:13] local.INFO: GPS data processed {"connection_id":230537,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:24:13] local.INFO: Acknowledgment sent {"connection_id":230537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:24:13] local.INFO: TCP Data received {"connection_id":230538,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4799590012d24e34006c7db08000a015933..."} 
[2026-11-04 08:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4799590012d24e34006c7db08000a015933..."} 
[2026-11-04 08:24:13] local.INFO: Processing buffer {"connection_id":230538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4799590012d24e34006c7db08000a015933..."} 
[2026-11-04 08:24:13] local.INFO: Packet analysis {"connection_id":230538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:24:13] local.INFO: Extracted packet for processing {"connection_id":230538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":757392192,"raw_latitude":113761032,"longitude_deg":75.7392192,"latitude_deg":11.3761032,"altitude":10,"angle":345,"satellites":51,"speed":60,"hex_longitude":"2d24e340","hex_latitude":"06c7db08","is_valid_coordinates":true} 
[2026-11-04 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202761728001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20229510712524800,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2660079296524593152,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:13] 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-11-04 08:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793760794000,"timestamp_ms":1793760794000,"timestamp_seconds":1793760794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4799590"} 
[2026-11-04 08:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 08:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202761728001,"66":28430,"249":206,"2":56576,"24":60,"16":20229510712524800,"45":2660079296524593152},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-11-04 08:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202761728001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:24:13] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 08:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20229510712524800,"km_value":20229510712524.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2660079296524593152,"description":"Unknown IO ID 45"} 
[2026-11-04 08:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202761728001,"power":28430,"unknown_249":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2660079296524593152}} 
[2026-11-04 08:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":230538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:24:13] local.INFO: GPS data processed {"connection_id":230538,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:24:13] local.INFO: Acknowledgment sent {"connection_id":230538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:24:44] local.INFO: TCP Data received {"connection_id":230539,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:24:44] local.INFO: Processing buffer {"connection_id":230539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:24:44] local.INFO: IMEI packet received {"connection_id":230539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":230539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:24:45] local.INFO: TCP Data received {"connection_id":230538,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a479ad00012d24d8c006c7fce00009015532..."} 
[2026-11-04 08:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a479ad00012d24d8c006c7fce00009015532..."} 
[2026-11-04 08:24:45] local.INFO: Processing buffer {"connection_id":230538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a479ad00012d24d8c006c7fce00009015532..."} 
[2026-11-04 08:24:45] local.INFO: Packet analysis {"connection_id":230538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:24:45] local.INFO: Extracted packet for processing {"connection_id":230538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:24:45] local.INFO: GPS Element Parsed {"raw_longitude":757389504,"raw_latitude":113769696,"longitude_deg":75.7389504,"latitude_deg":11.3769696,"altitude":9,"angle":341,"satellites":50,"speed":60,"hex_longitude":"2d24d8c0","hex_latitude":"06c7fce0","is_valid_coordinates":true} 
[2026-11-04 08:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202763264001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20229948799188992,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2658038602945726464,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:45] 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-11-04 08:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793760800000,"timestamp_ms":1793760800000,"timestamp_seconds":1793760800,"priority":1,"record_length":96,"hex_timestamp":"000001a1a479ad00"} 
[2026-11-04 08:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 08:24: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-11-04 08:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202763264001,"66":28398,"249":206,"2":56576,"24":60,"16":20229948799188992,"45":2658038602945726464},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-11-04 08:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202763264001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:24:45] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 08:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20229948799188992,"km_value":20229948799188.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2658038602945726464,"description":"Unknown IO ID 45"} 
[2026-11-04 08:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202763264001,"power":28398,"unknown_249":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2658038602945726464}} 
[2026-11-04 08:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":230538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:24:45] local.INFO: GPS data processed {"connection_id":230538,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:24:45] local.INFO: Acknowledgment sent {"connection_id":230538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:24:48] local.INFO: TCP Data received {"connection_id":230537,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a479ef68012d0e990006e7b6f00003009b30..."} 
[2026-11-04 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a479ef68012d0e990006e7b6f00003009b30..."} 
[2026-11-04 08:24:48] local.INFO: Processing buffer {"connection_id":230537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a479ef68012d0e990006e7b6f00003009b30..."} 
[2026-11-04 08:24:48] local.INFO: Packet analysis {"connection_id":230537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:24:48] local.INFO: Extracted packet for processing {"connection_id":230537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:24:48] local.INFO: GPS Element Parsed {"raw_longitude":755931392,"raw_latitude":115848944,"longitude_deg":75.5931392,"latitude_deg":11.5848944,"altitude":3,"angle":155,"satellites":48,"speed":44,"hex_longitude":"2d0e9900","hex_latitude":"06e7b6f0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202766848001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38559116871860224,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047931367953317888,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793760817000,"timestamp_ms":1793760817000,"timestamp_seconds":1793760817,"priority":1,"record_length":96,"hex_timestamp":"000001a1a479ef68"} 
[2026-11-04 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-11-04 08:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 08:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 08:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202766848001,"66":27713,"98":206,"80":6400,"24":44,"16":38559116871860224,"45":1047931367953317888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-11-04 08:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202766848001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:24:48] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 08:24:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38559116871860224,"km_value":38559116871860.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047931367953317888,"description":"Unknown IO ID 45"} 
[2026-11-04 08:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202766848001,"power":27713,"unknown_98":206,"unknown_80":6400,"ignition":44,"odometer":null,"unknown_45":1047931367953317888}} 
[2026-11-04 08:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":230537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:24:48] local.INFO: GPS data processed {"connection_id":230537,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:24:48] local.INFO: Acknowledgment sent {"connection_id":230537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:24:49] local.INFO: TCP Data received {"connection_id":230539,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230539,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:24:49] local.INFO: Processing buffer {"connection_id":230539,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:24:49] local.INFO: IMEI packet received {"connection_id":230539,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":230539,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:24:49] local.INFO: TCP Data received {"connection_id":230539,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47a60b0012d0c75000702b530001900402a..."} 
[2026-11-04 08:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47a60b0012d0c75000702b530001900402a..."} 
[2026-11-04 08:24:49] local.INFO: Processing buffer {"connection_id":230539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47a60b0012d0c75000702b530001900402a..."} 
[2026-11-04 08:24:49] local.INFO: Packet analysis {"connection_id":230539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:24:49] local.INFO: Extracted packet for processing {"connection_id":230539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:24:49] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":42,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:24: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-11-04 08:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202752000001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760846000,"timestamp_ms":1793760846000,"timestamp_seconds":1793760846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47a60b0"} 
[2026-11-04 08:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:24:49] 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-11-04 08:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 08:24:49] 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-11-04 08:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202752000001,"66":12613,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202752000001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:24:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:24:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202752000001,"power":12613,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":230539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58178,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:24:50] local.INFO: GPS data processed {"connection_id":230539,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:24:50] local.INFO: Acknowledgment sent {"connection_id":230539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:25:08] local.INFO: TCP Data received {"connection_id":228772,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:08] local.INFO: Processing buffer {"connection_id":228772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:08] local.INFO: IMEI packet received {"connection_id":228772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":228772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:25:09] local.INFO: TCP Data received {"connection_id":228772,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:09] local.INFO: Processing buffer {"connection_id":228772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:09] local.INFO: IMEI packet received {"connection_id":228772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":228772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:25:14] local.INFO: TCP Data received {"connection_id":228772,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:14] local.INFO: Processing buffer {"connection_id":228772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:25:14] local.INFO: IMEI packet received {"connection_id":228772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":228772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:25:16] local.INFO: TCP Data received {"connection_id":232388,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:16] local.INFO: Processing buffer {"connection_id":232388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:16] local.INFO: IMEI packet received {"connection_id":232388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":232388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:25:16] local.INFO: TCP Data received {"connection_id":228772,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a479c470012d24cdc006c81e180008015532..."} 
[2026-11-04 08:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a479c470012d24cdc006c81e180008015532..."} 
[2026-11-04 08:25:16] local.INFO: Processing buffer {"connection_id":228772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a479c470012d24cdc006c81e180008015532..."} 
[2026-11-04 08:25:16] local.INFO: Packet analysis {"connection_id":228772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:25:16] local.INFO: Extracted packet for processing {"connection_id":228772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a479"} 
[2026-11-04 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":757386688,"raw_latitude":113778200,"longitude_deg":75.7386688,"latitude_deg":11.37782,"altitude":8,"angle":341,"satellites":50,"speed":58,"hex_longitude":"2d24cdc0","hex_latitude":"06c81e18","is_valid_coordinates":true} 
[2026-11-04 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202764800001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20230382590885888,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2655083115692482560,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:16] 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-11-04 08:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793760806000,"timestamp_ms":1793760806000,"timestamp_seconds":1793760806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a479c470"} 
[2026-11-04 08:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:25: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-11-04 08:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202764800001,"66":28430,"249":206,"2":56576,"24":58,"16":20230382590885888,"45":2655083115692482560},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-11-04 08:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202764800001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:25:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 08:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20230382590885888,"km_value":20230382590885.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2655083115692482560,"description":"Unknown IO ID 45"} 
[2026-11-04 08:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202764800001,"power":28430,"unknown_249":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2655083115692482560}} 
[2026-11-04 08:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":228772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:25:17] local.INFO: GPS data processed {"connection_id":228772,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:25:17] local.INFO: Acknowledgment sent {"connection_id":228772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:25:17] local.INFO: TCP Data received {"connection_id":232388,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:17] local.INFO: Processing buffer {"connection_id":232388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:17] local.INFO: IMEI packet received {"connection_id":232388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":232388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:25:20] local.INFO: TCP Data received {"connection_id":230539,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47a60b0012d0c75000702b530001900402a..."} 
[2026-11-04 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47a60b0012d0c75000702b530001900402a..."} 
[2026-11-04 08:25:20] local.INFO: Processing buffer {"connection_id":230539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47a60b0012d0c75000702b530001900402a..."} 
[2026-11-04 08:25:20] local.INFO: Packet analysis {"connection_id":230539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:25:20] local.INFO: Extracted packet for processing {"connection_id":230539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":755791104,"raw_latitude":117617968,"longitude_deg":75.5791104,"latitude_deg":11.7617968,"altitude":25,"angle":64,"satellites":42,"speed":0,"hex_longitude":"2d0c7500","hex_latitude":"0702b530","is_valid_coordinates":true} 
[2026-11-04 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202776576001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134097028677632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897623730840481792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793760846000,"timestamp_ms":1793760846000,"timestamp_seconds":1793760846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47a60b0"} 
[2026-11-04 08:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:25:20] 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-11-04 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 08:25:20] 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-11-04 08:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230539,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202776576001,"66":12613,"37":206,"94":11008,"24":0,"16":39134097028677632,"45":897623730840481792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202776576001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:25:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:25:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134097028677632,"km_value":39134097028677.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":897623730840481792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202776576001,"power":12613,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":897623730840481792}} 
[2026-11-04 08:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":230539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58180,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:25:21] local.INFO: GPS data processed {"connection_id":230539,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:25:21] local.INFO: Acknowledgment sent {"connection_id":230539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:25:22] local.INFO: TCP Data received {"connection_id":232388,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:22] local.INFO: Processing buffer {"connection_id":232388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:25:22] local.INFO: IMEI packet received {"connection_id":232388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":232388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:25:23] local.INFO: TCP Data received {"connection_id":232388,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47a1290012d0eac0006e795e0000300922f..."} 
[2026-11-04 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47a1290012d0eac0006e795e0000300922f..."} 
[2026-11-04 08:25:23] local.INFO: Processing buffer {"connection_id":232388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47a1290012d0eac0006e795e0000300922f..."} 
[2026-11-04 08:25:23] local.INFO: Packet analysis {"connection_id":232388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:25:23] local.INFO: Extracted packet for processing {"connection_id":232388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755936256,"raw_latitude":115840480,"longitude_deg":75.5936256,"latitude_deg":11.584048,"altitude":3,"angle":146,"satellites":47,"speed":38,"hex_longitude":"2d0eac00","hex_latitude":"06e795e0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202769152001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38559589318262784,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1051872017625051136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793760826000,"timestamp_ms":1793760826000,"timestamp_seconds":1793760826,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47a1290"} 
[2026-11-04 08:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 08:25:23] 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-11-04 08: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-11-04 08:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202769152001,"66":27713,"98":206,"80":6400,"24":38,"16":38559589318262784,"45":1051872017625051136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-11-04 08:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202769152001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:25:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 08:25:23] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38559589318262784,"km_value":38559589318262.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1051872017625051136,"description":"Unknown IO ID 45"} 
[2026-11-04 08:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202769152001,"power":27713,"unknown_98":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":1051872017625051136}} 
[2026-11-04 08:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":232388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:25:23] local.INFO: GPS data processed {"connection_id":232388,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:25:23] local.INFO: Acknowledgment sent {"connection_id":232388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:25:44] local.INFO: TCP Data received {"connection_id":230540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:44] local.INFO: Processing buffer {"connection_id":230540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:44] local.INFO: IMEI packet received {"connection_id":230540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":230540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:25:44] local.INFO: TCP Data received {"connection_id":230540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:44] local.INFO: Processing buffer {"connection_id":230540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:44] local.INFO: IMEI packet received {"connection_id":230540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":230540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:25:48] local.INFO: TCP Data received {"connection_id":230540,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230540,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:48] local.INFO: Processing buffer {"connection_id":230540,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:25:48] local.INFO: IMEI packet received {"connection_id":230540,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":230540,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:25:48] local.INFO: TCP Data received {"connection_id":228772,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47b27e8012d24040006c9efd8000c01492e..."} 
[2026-11-04 08:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47b27e8012d24040006c9efd8000c01492e..."} 
[2026-11-04 08:25:48] local.INFO: Processing buffer {"connection_id":228772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47b27e8012d24040006c9efd8000c01492e..."} 
[2026-11-04 08:25:48] local.INFO: Packet analysis {"connection_id":228772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:25:48] local.INFO: Extracted packet for processing {"connection_id":228772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":757335040,"raw_latitude":113897432,"longitude_deg":75.733504,"latitude_deg":11.3897432,"altitude":12,"angle":329,"satellites":46,"speed":58,"hex_longitude":"2d240400","hex_latitude":"06c9efd8","is_valid_coordinates":true} 
[2026-11-04 08:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202787840001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20236739142483968,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2599773282799155200,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25: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-11-04 08:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793760897000,"timestamp_ms":1793760897000,"timestamp_seconds":1793760897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47b27e8"} 
[2026-11-04 08:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 08:25:48] 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-11-04 08:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202787840001,"66":28332,"118":206,"2":56576,"24":58,"16":20236739142483968,"45":2599773282799155200},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 08:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202787840001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:25:48] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 08:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20236739142483968,"km_value":20236739142483.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2599773282799155200,"description":"Unknown IO ID 45"} 
[2026-11-04 08:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202787840001,"power":28332,"unknown_118":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2599773282799155200}} 
[2026-11-04 08:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":228772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:25:48] local.INFO: GPS data processed {"connection_id":228772,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:25:48] local.INFO: Acknowledgment sent {"connection_id":228772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:25:49] local.INFO: TCP Data received {"connection_id":230540,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47b9160012d0c74000702b590001200012b..."} 
[2026-11-04 08:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47b9160012d0c74000702b590001200012b..."} 
[2026-11-04 08:25:49] local.INFO: Processing buffer {"connection_id":230540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47b9160012d0c74000702b590001200012b..."} 
[2026-11-04 08:25:49] local.INFO: Packet analysis {"connection_id":230540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:25:49] local.INFO: Extracted packet for processing {"connection_id":230540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:25:49] local.INFO: GPS Element Parsed {"raw_longitude":755790848,"raw_latitude":117618064,"longitude_deg":75.5790848,"latitude_deg":11.7618064,"altitude":18,"angle":1,"satellites":43,"speed":4,"hex_longitude":"2d0c7400","hex_latitude":"0702b590","is_valid_coordinates":true} 
[2026-11-04 08:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202795008001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39134191517958144,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897342255863658496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760924000,"timestamp_ms":1793760924000,"timestamp_seconds":1793760924,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47b9160"} 
[2026-11-04 08:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202795008001,"66":14646,"37":206,"94":11008,"24":4,"16":39134191517958144,"45":897342255863658496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202795008001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:25:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:25:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39134191517958144,"km_value":39134191517958.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":897342255863658496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202795008001,"power":14646,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":897342255863658496}} 
[2026-11-04 08:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":230540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58183,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:25:49] local.INFO: GPS data processed {"connection_id":230540,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:25:49] local.INFO: Acknowledgment sent {"connection_id":230540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:26:07] local.INFO: TCP Data received {"connection_id":228773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:26:07] local.INFO: Processing buffer {"connection_id":228773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:26:07] local.INFO: IMEI packet received {"connection_id":228773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":228773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:26:08] local.INFO: TCP Data received {"connection_id":228773,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228773,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:26:08] local.INFO: Processing buffer {"connection_id":228773,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:26:08] local.INFO: IMEI packet received {"connection_id":228773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":228773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:26:09] local.INFO: TCP Data received {"connection_id":232389,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:09] local.INFO: Processing buffer {"connection_id":232389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:09] local.INFO: IMEI packet received {"connection_id":232389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":232389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:26:12] local.INFO: TCP Data received {"connection_id":228773,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:26:12] local.INFO: Processing buffer {"connection_id":228773,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:26:12] local.INFO: IMEI packet received {"connection_id":228773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":228773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:26:12] local.INFO: TCP Data received {"connection_id":232389,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:12] local.INFO: Processing buffer {"connection_id":232389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:12] local.INFO: IMEI packet received {"connection_id":232389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":232389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:26:13] local.INFO: TCP Data received {"connection_id":228773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47a3d88012d0ec3c006e777f8000400882d..."} 
[2026-11-04 08:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47a3d88012d0ec3c006e777f8000400882d..."} 
[2026-11-04 08:26:13] local.INFO: Processing buffer {"connection_id":228773,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a4..."} 
[2026-11-04 08:26:13] local.INFO: IMEI packet received {"connection_id":228773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":228773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:26:14] local.INFO: TCP Data received {"connection_id":232389,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:14] local.INFO: Processing buffer {"connection_id":232389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:26:14] local.INFO: IMEI packet received {"connection_id":232389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":232389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:26:15] local.INFO: TCP Data received {"connection_id":232389,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47b3b70012d23f28006ca0688000c013b2e..."} 
[2026-11-04 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47b3b70012d23f28006ca0688000c013b2e..."} 
[2026-11-04 08:26:15] local.INFO: Processing buffer {"connection_id":232389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47b3b70012d23f28006ca0688000c013b2e..."} 
[2026-11-04 08:26:15] local.INFO: Packet analysis {"connection_id":232389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:26:15] local.INFO: Extracted packet for processing {"connection_id":232389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:26:15] local.INFO: GPS Element Parsed {"raw_longitude":757330560,"raw_latitude":113903240,"longitude_deg":75.733056,"latitude_deg":11.390324,"altitude":12,"angle":315,"satellites":46,"speed":58,"hex_longitude":"2d23f280","hex_latitude":"06ca0688","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202789632001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20237091329802240,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2595199314429990912,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26: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-11-04 08:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793760902000,"timestamp_ms":1793760902000,"timestamp_seconds":1793760902,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47b3b70"} 
[2026-11-04 08:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:26: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-11-04 08: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-11-04 08:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202789632001,"66":28376,"118":206,"2":56576,"24":58,"16":20237091329802240,"45":2595199314429990912},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 08:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202789632001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:26:15] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 08:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20237091329802240,"km_value":20237091329802.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2595199314429990912,"description":"Unknown IO ID 45"} 
[2026-11-04 08:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202789632001,"power":28376,"unknown_118":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2595199314429990912}} 
[2026-11-04 08:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":232389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:26:15] local.INFO: GPS data processed {"connection_id":232389,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:26:15] local.INFO: Acknowledgment sent {"connection_id":232389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:26:18] local.INFO: TCP Data received {"connection_id":228773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47a60b0012d0edcc006e75b98000500892b..."} 
[2026-11-04 08:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47a60b0012d0edcc006e75b98000500892b..."} 
[2026-11-04 08:26:18] local.INFO: Processing buffer {"connection_id":228773,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a47a3d88012d0ec3c006e777f8000400882d..."} 
[2026-11-04 08:26:18] local.INFO: Packet analysis {"connection_id":228773,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:26:18] local.INFO: Extracted packet for processing {"connection_id":228773,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:26:18] local.INFO: GPS Element Parsed {"raw_longitude":755942336,"raw_latitude":115832824,"longitude_deg":75.5942336,"latitude_deg":11.5832824,"altitude":4,"angle":136,"satellites":45,"speed":38,"hex_longitude":"2d0ec3c0","hex_latitude":"06e777f8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202771456001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38560057469698048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1057220042180386816,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793760837000,"timestamp_ms":1793760837000,"timestamp_seconds":1793760837,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47a3d88"} 
[2026-11-04 08:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 08:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202771456001,"66":27745,"98":206,"80":6400,"24":38,"16":38560057469698048,"45":1057220042180386816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202771456001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38560057469698048,"km_value":38560057469698.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1057220042180386816,"description":"Unknown IO ID 45"} 
[2026-11-04 08:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202771456001,"power":27745,"unknown_98":206,"unknown_80":6400,"ignition":38,"odometer":null,"unknown_45":1057220042180386816}} 
[2026-11-04 08:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":228773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:26:18] local.INFO: GPS data processed {"connection_id":228773,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:26:18] local.INFO: Acknowledgment sent {"connection_id":228773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:26:18] local.INFO: Packet analysis {"connection_id":228773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:26:18] local.INFO: Extracted packet for processing {"connection_id":228773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:26:18] local.INFO: GPS Element Parsed {"raw_longitude":755948736,"raw_latitude":115825560,"longitude_deg":75.5948736,"latitude_deg":11.582556,"altitude":5,"angle":137,"satellites":43,"speed":43,"hex_longitude":"2d0edcc0","hex_latitude":"06e75b98","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202774272001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38560521326166016,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1063905072875304960,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793760846000,"timestamp_ms":1793760846000,"timestamp_seconds":1793760846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47a60b0"} 
[2026-11-04 08:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202774272001,"66":27767,"98":206,"80":6400,"24":43,"16":38560521326166016,"45":1063905072875304960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,80,24,16,45]} 
[2026-11-04 08:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202774272001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38560521326166016,"km_value":38560521326166.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1063905072875304960,"description":"Unknown IO ID 45"} 
[2026-11-04 08:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202774272001,"power":27767,"unknown_98":206,"unknown_80":6400,"ignition":43,"odometer":null,"unknown_45":1063905072875304960}} 
[2026-11-04 08:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":228773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:26:18] local.INFO: GPS data processed {"connection_id":228773,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:26:18] local.INFO: Acknowledgment sent {"connection_id":228773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:26:20] local.INFO: TCP Data received {"connection_id":230540,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47c50c8012d0c44800702c4500013012f29..."} 
[2026-11-04 08:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47c50c8012d0c44800702c4500013012f29..."} 
[2026-11-04 08:26:20] local.INFO: Processing buffer {"connection_id":230540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47c50c8012d0c44800702c4500013012f29..."} 
[2026-11-04 08:26:20] local.INFO: Packet analysis {"connection_id":230540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:26:20] local.INFO: Extracted packet for processing {"connection_id":230540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:26:20] local.INFO: GPS Element Parsed {"raw_longitude":755778688,"raw_latitude":117621840,"longitude_deg":75.5778688,"latitude_deg":11.762184,"altitude":19,"angle":303,"satellites":41,"speed":6,"hex_longitude":"2d0c4480","hex_latitude":"0702c450","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202806272001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39135033331548160,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885942519307227136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793760973000,"timestamp_ms":1793760973000,"timestamp_seconds":1793760973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47c50c8"} 
[2026-11-04 08:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:26: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-11-04 08: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-11-04 08:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230540,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202806272001,"66":14580,"37":206,"94":11008,"24":6,"16":39135033331548160,"45":885942519307227136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202806272001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:26:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:26:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39135033331548160,"km_value":39135033331548.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":885942519307227136,"description":"Unknown IO ID 45"} 
[2026-11-04 08:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202806272001,"power":14580,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":885942519307227136}} 
[2026-11-04 08:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":230540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58187,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:26:20] local.INFO: GPS data processed {"connection_id":230540,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:26:20] local.INFO: Acknowledgment sent {"connection_id":230540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:26:44] local.INFO: TCP Data received {"connection_id":228774,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:26:44] local.INFO: Processing buffer {"connection_id":228774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:26:44] local.INFO: IMEI packet received {"connection_id":228774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":228774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:26:47] local.INFO: TCP Data received {"connection_id":232389,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47b4b10012d23e08006ca1550000c01302d..."} 
[2026-11-04 08:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47b4b10012d23e08006ca1550000c01302d..."} 
[2026-11-04 08:26:47] local.INFO: Processing buffer {"connection_id":232389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47b4b10012d23e08006ca1550000c01302d..."} 
[2026-11-04 08:26:47] local.INFO: Packet analysis {"connection_id":232389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:26:47] local.INFO: Extracted packet for processing {"connection_id":232389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47b"} 
[2026-11-04 08:26:47] local.INFO: GPS Element Parsed {"raw_longitude":757325952,"raw_latitude":113907024,"longitude_deg":75.7325952,"latitude_deg":11.3907024,"altitude":12,"angle":304,"satellites":45,"speed":58,"hex_longitude":"2d23e080","hex_latitude":"06ca1550","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202790912001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20237379092611072,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2590273502339041280,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:47] 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-11-04 08:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793760906000,"timestamp_ms":1793760906000,"timestamp_seconds":1793760906,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47b4b10"} 
[2026-11-04 08:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:26: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-11-04 08: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-11-04 08:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202790912001,"66":28332,"118":206,"2":56576,"24":58,"16":20237379092611072,"45":2590273502339041280},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 08:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202790912001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:26:47] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 08:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20237379092611072,"km_value":20237379092611.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2590273502339041280,"description":"Unknown IO ID 45"} 
[2026-11-04 08:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202790912001,"power":28332,"unknown_118":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2590273502339041280}} 
[2026-11-04 08:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":232389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:26:47] local.INFO: GPS data processed {"connection_id":232389,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:26:47] local.INFO: Acknowledgment sent {"connection_id":232389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:26:49] local.INFO: TCP Data received {"connection_id":228774,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:26:49] local.INFO: Processing buffer {"connection_id":228774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:26:49] local.INFO: IMEI packet received {"connection_id":228774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":228774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:26:49] local.INFO: TCP Data received {"connection_id":228774,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47c5898012d0c43800702c4c00013010b29..."} 
[2026-11-04 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47c5898012d0c43800702c4c00013010b29..."} 
[2026-11-04 08:26:49] local.INFO: Processing buffer {"connection_id":228774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47c5898012d0c43800702c4c00013010b29..."} 
[2026-11-04 08:26:49] local.INFO: Packet analysis {"connection_id":228774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:26:49] local.INFO: Extracted packet for processing {"connection_id":228774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:26:49] local.INFO: GPS Element Parsed {"raw_longitude":755778432,"raw_latitude":117621952,"longitude_deg":75.5778432,"latitude_deg":11.7621952,"altitude":19,"angle":267,"satellites":41,"speed":5,"hex_longitude":"2d0c4380","hex_latitude":"0702c4c0","is_valid_coordinates":true} 
[2026-11-04 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202809088001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39135046216450048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883972194471006208,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760975000,"timestamp_ms":1793760975000,"timestamp_seconds":1793760975,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47c5898"} 
[2026-11-04 08:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:26: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-11-04 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 08:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202809088001,"66":14646,"37":206,"94":11008,"24":5,"16":39135046216450048,"45":883972194471006208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202809088001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39135046216450048,"km_value":39135046216450.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":883972194471006208,"description":"Unknown IO ID 45"} 
[2026-11-04 08:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202809088001,"power":14646,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":883972194471006208}} 
[2026-11-04 08:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":228774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:26:49] local.INFO: GPS data processed {"connection_id":228774,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:26:49] local.INFO: Acknowledgment sent {"connection_id":228774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:26:49] local.INFO: TCP Data received {"connection_id":228773,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47a8f90012d0ef60006e74080000b00852b..."} 
[2026-11-04 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47a8f90012d0ef60006e74080000b00852b..."} 
[2026-11-04 08:26:49] local.INFO: Processing buffer {"connection_id":228773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47a8f90012d0ef60006e74080000b00852b..."} 
[2026-11-04 08:26:49] local.INFO: Packet analysis {"connection_id":228773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:26:49] local.INFO: Extracted packet for processing {"connection_id":228773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47a"} 
[2026-11-04 08:26:49] local.INFO: GPS Element Parsed {"raw_longitude":755955200,"raw_latitude":115818624,"longitude_deg":75.59552,"latitude_deg":11.5818624,"altitude":11,"angle":133,"satellites":43,"speed":28,"hex_longitude":"2d0ef600","hex_latitude":"06e74080","is_valid_coordinates":true} 
[2026-11-04 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202776576001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38560976592699392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070941947291211776,"note":"Value kept but may cause issues"} 
[2026-11-04 08:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793760858000,"timestamp_ms":1793760858000,"timestamp_seconds":1793760858,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47a8f90"} 
[2026-11-04 08:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202776576001,"66":27713,"166":206,"80":6400,"24":28,"16":38560976592699392,"45":1070941947291211776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-11-04 08:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202776576001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38560976592699392,"km_value":38560976592699.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070941947291211776,"description":"Unknown IO ID 45"} 
[2026-11-04 08:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202776576001,"power":27713,"unknown_166":206,"unknown_80":6400,"ignition":28,"odometer":null,"unknown_45":1070941947291211776}} 
[2026-11-04 08:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":228773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:26:50] local.INFO: GPS data processed {"connection_id":228773,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:26:50] local.INFO: Acknowledgment sent {"connection_id":228773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:27:07] local.INFO: TCP Data received {"connection_id":228775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:07] local.INFO: Processing buffer {"connection_id":228775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:07] local.INFO: IMEI packet received {"connection_id":228775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":228775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:27:07] local.INFO: TCP Data received {"connection_id":228775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:07] local.INFO: Processing buffer {"connection_id":228775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:07] local.INFO: IMEI packet received {"connection_id":228775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":228775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:27:09] local.INFO: TCP Data received {"connection_id":229266,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:09] local.INFO: Processing buffer {"connection_id":229266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:09] local.INFO: IMEI packet received {"connection_id":229266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":229266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:27:09] local.INFO: TCP Data received {"connection_id":229266,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:09] local.INFO: Processing buffer {"connection_id":229266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:09] local.INFO: IMEI packet received {"connection_id":229266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":229266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:27:14] local.INFO: TCP Data received {"connection_id":229266,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:14] local.INFO: Processing buffer {"connection_id":229266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:27:14] local.INFO: IMEI packet received {"connection_id":229266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":229266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:27:16] local.INFO: TCP Data received {"connection_id":229266,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47c3570012d22e1c006cad748000d015732..."} 
[2026-11-04 08:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47c3570012d22e1c006cad748000d015732..."} 
[2026-11-04 08:27:16] local.INFO: Processing buffer {"connection_id":229266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47c3570012d22e1c006cad748000d015732..."} 
[2026-11-04 08:27:16] local.INFO: Packet analysis {"connection_id":229266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:16] local.INFO: Extracted packet for processing {"connection_id":229266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:16] local.INFO: GPS Element Parsed {"raw_longitude":757260736,"raw_latitude":113956680,"longitude_deg":75.7260736,"latitude_deg":11.395668,"altitude":13,"angle":343,"satellites":50,"speed":57,"hex_longitude":"2d22e1c0","hex_latitude":"06cad748","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202807296001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20241566685724672,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2513501202454890496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27: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-11-04 08:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793760966000,"timestamp_ms":1793760966000,"timestamp_seconds":1793760966,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47c3570"} 
[2026-11-04 08:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 08:27: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-11-04 08: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-11-04 08:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202807296001,"66":28343,"120":206,"2":56576,"24":57,"16":20241566685724672,"45":2513501202454890496},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-11-04 08:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202807296001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:27:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-11-04 08:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20241566685724672,"km_value":20241566685724.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2513501202454890496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202807296001,"power":28343,"unknown_120":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":2513501202454890496}} 
[2026-11-04 08:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":229266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:27:16] local.INFO: GPS data processed {"connection_id":229266,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:27:16] local.INFO: Acknowledgment sent {"connection_id":229266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:27:20] local.INFO: TCP Data received {"connection_id":228774,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47c6068012d0c42400702c4a0001200f62a..."} 
[2026-11-04 08:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47c6068012d0c42400702c4a0001200f62a..."} 
[2026-11-04 08:27:20] local.INFO: Processing buffer {"connection_id":228774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47c6068012d0c42400702c4a0001200f62a..."} 
[2026-11-04 08:27:20] local.INFO: Packet analysis {"connection_id":228774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:20] local.INFO: Extracted packet for processing {"connection_id":228774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:20] local.INFO: GPS Element Parsed {"raw_longitude":755778112,"raw_latitude":117621920,"longitude_deg":75.5778112,"latitude_deg":11.762192,"altitude":18,"angle":246,"satellites":42,"speed":5,"hex_longitude":"2d0c4240","hex_latitude":"0702c4a0","is_valid_coordinates":true} 
[2026-11-04 08:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202809600001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39135059101351936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883690719494324224,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793760977000,"timestamp_ms":1793760977000,"timestamp_seconds":1793760977,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47c6068"} 
[2026-11-04 08:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-04 08:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202809600001,"66":14646,"37":206,"94":11008,"24":5,"16":39135059101351936,"45":883690719494324224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202809600001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:27:20] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:27:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39135059101351936,"km_value":39135059101351.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":883690719494324224,"description":"Unknown IO ID 45"} 
[2026-11-04 08:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202809600001,"power":14646,"unknown_37":206,"unknown_94":11008,"ignition":5,"odometer":null,"unknown_45":883690719494324224}} 
[2026-11-04 08:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":228774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58192,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:27:20] local.INFO: GPS data processed {"connection_id":228774,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:27:20] local.INFO: Acknowledgment sent {"connection_id":228774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:27:29] local.INFO: TCP Data received {"connection_id":228775,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:29] local.INFO: Processing buffer {"connection_id":228775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:27:29] local.INFO: IMEI packet received {"connection_id":228775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":228775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:27:31] local.INFO: TCP Data received {"connection_id":228775,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47c3d40012d100bc006e686900006007e2f..."} 
[2026-11-04 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47c3d40012d100bc006e686900006007e2f..."} 
[2026-11-04 08:27:31] local.INFO: Processing buffer {"connection_id":228775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47c3d40012d100bc006e686900006007e2f..."} 
[2026-11-04 08:27:31] local.INFO: Packet analysis {"connection_id":228775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:31] local.INFO: Extracted packet for processing {"connection_id":228775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756026304,"raw_latitude":115771024,"longitude_deg":75.6026304,"latitude_deg":11.5771024,"altitude":6,"angle":126,"satellites":47,"speed":47,"hex_longitude":"2d100bc0","hex_latitude":"06e68690","is_valid_coordinates":true} 
[2026-11-04 08:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202805504001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38565108351238144,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1146869822246277120,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793760968000,"timestamp_ms":1793760968000,"timestamp_seconds":1793760968,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47c3d40"} 
[2026-11-04 08:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":228775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":228775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":228775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202805504001,"66":27767,"246":206,"80":6400,"24":47,"16":38565108351238144,"45":1146869822246277120},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-11-04 08:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202805504001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:27:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38565108351238144,"km_value":38565108351238.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1146869822246277120,"description":"Unknown IO ID 45"} 
[2026-11-04 08:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202805504001,"power":27767,"main_input_voltage":206,"unknown_80":6400,"ignition":47,"odometer":null,"unknown_45":1146869822246277120}} 
[2026-11-04 08:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":228775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:27:31] local.INFO: GPS data processed {"connection_id":228775,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:27:31] local.INFO: Acknowledgment sent {"connection_id":228775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:27:43] local.INFO: TCP Data received {"connection_id":232390,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:43] local.INFO: Processing buffer {"connection_id":232390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:43] local.INFO: IMEI packet received {"connection_id":232390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":232390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:27:45] local.INFO: TCP Data received {"connection_id":232390,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:45] local.INFO: Processing buffer {"connection_id":232390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:45] local.INFO: IMEI packet received {"connection_id":232390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":232390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:27:48] local.INFO: TCP Data received {"connection_id":229266,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47c4ce0012d22d8c006cafa40000a01592f..."} 
[2026-11-04 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47c4ce0012d22d8c006cafa40000a01592f..."} 
[2026-11-04 08:27:48] local.INFO: Processing buffer {"connection_id":229266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47c4ce0012d22d8c006cafa40000a01592f..."} 
[2026-11-04 08:27:48] local.INFO: Packet analysis {"connection_id":229266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:48] local.INFO: Extracted packet for processing {"connection_id":229266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47c"} 
[2026-11-04 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":757258432,"raw_latitude":113965632,"longitude_deg":75.7258432,"latitude_deg":11.3965632,"altitude":10,"angle":345,"satellites":47,"speed":61,"hex_longitude":"2d22d8c0","hex_latitude":"06cafa40","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202807296001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20242013362323456,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2513501202454890496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:48] 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-11-04 08:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793760972000,"timestamp_ms":1793760972000,"timestamp_seconds":1793760972,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47c4ce0"} 
[2026-11-04 08:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":183,"data_length":795,"current_offset":136} 
[2026-11-04 08:27:48] 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-11-04 08: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-11-04 08:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202807296001,"66":28398,"120":206,"2":56576,"24":61,"16":20242013362323456,"45":2513501202454890496},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-11-04 08:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202807296001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:27:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-11-04 08:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20242013362323456,"km_value":20242013362323.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2513501202454890496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202807296001,"power":28398,"unknown_120":206,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":2513501202454890496}} 
[2026-11-04 08:27:48] local.INFO: TCP Data received {"connection_id":232390,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232390,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:48] local.INFO: Processing buffer {"connection_id":232390,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:27:48] local.INFO: IMEI packet received {"connection_id":232390,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":232390,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":229266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:27:49] local.INFO: GPS data processed {"connection_id":229266,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:27:49] local.INFO: Acknowledgment sent {"connection_id":229266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:27:49] local.INFO: TCP Data received {"connection_id":232390,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47d6df0012d0c0ac0070325a0000b015c2b..."} 
[2026-11-04 08:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47d6df0012d0c0ac0070325a0000b015c2b..."} 
[2026-11-04 08:27:49] local.INFO: Processing buffer {"connection_id":232390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47d6df0012d0c0ac0070325a0000b015c2b..."} 
[2026-11-04 08:27:49] local.INFO: Packet analysis {"connection_id":232390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:27:49] local.INFO: Extracted packet for processing {"connection_id":232390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:27:49] local.INFO: GPS Element Parsed {"raw_longitude":755763904,"raw_latitude":117646752,"longitude_deg":75.5763904,"latitude_deg":11.7646752,"altitude":11,"angle":348,"satellites":43,"speed":36,"hex_longitude":"2d0c0ac0","hex_latitude":"070325a0","is_valid_coordinates":true} 
[2026-11-04 08:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202825472001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39136875872518144,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869687339406952448,"note":"Value kept but may cause issues"} 
[2026-11-04 08:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761046000,"timestamp_ms":1793761046000,"timestamp_seconds":1793761046,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47d6df0"} 
[2026-11-04 08:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:27: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-11-04 08:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 08:27:49] 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-11-04 08:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202825472001,"66":14548,"37":206,"94":11008,"24":36,"16":39136875872518144,"45":869687339406952448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202825472001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:27:49] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:27:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39136875872518144,"km_value":39136875872518.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":869687339406952448,"description":"Unknown IO ID 45"} 
[2026-11-04 08:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202825472001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":36,"odometer":null,"unknown_45":869687339406952448}} 
[2026-11-04 08:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":232390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58195,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:27:49] local.INFO: GPS data processed {"connection_id":232390,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:27:49] local.INFO: Acknowledgment sent {"connection_id":232390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:28:07] local.INFO: TCP Data received {"connection_id":230541,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:07] local.INFO: Processing buffer {"connection_id":230541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:07] local.INFO: IMEI packet received {"connection_id":230541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":230541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:28:07] local.INFO: TCP Data received {"connection_id":230541,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:07] local.INFO: Processing buffer {"connection_id":230541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:07] local.INFO: IMEI packet received {"connection_id":230541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":230541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:28:09] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:09] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:09] local.INFO: IMEI packet received {"connection_id":229267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:28:10] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:10] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:10] local.INFO: IMEI packet received {"connection_id":229267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":229267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:28:12] local.INFO: TCP Data received {"connection_id":230541,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:12] local.INFO: Processing buffer {"connection_id":230541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:28:12] local.INFO: IMEI packet received {"connection_id":230541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":230541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:28:13] local.INFO: TCP Data received {"connection_id":230541,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47d3740012d10cd8006e58650000e00a52f..."} 
[2026-11-04 08:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47d3740012d10cd8006e58650000e00a52f..."} 
[2026-11-04 08:28:13] local.INFO: Processing buffer {"connection_id":230541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47d3740012d10cd8006e58650000e00a52f..."} 
[2026-11-04 08:28:13] local.INFO: Packet analysis {"connection_id":230541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:13] local.INFO: Extracted packet for processing {"connection_id":230541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756075904,"raw_latitude":115705424,"longitude_deg":75.6075904,"latitude_deg":11.5705424,"altitude":14,"angle":165,"satellites":47,"speed":50,"hex_longitude":"2d10cd80","hex_latitude":"06e58650","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202824192001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38569184275202048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210764641941475328,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761032000,"timestamp_ms":1793761032000,"timestamp_seconds":1793761032,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47d3740"} 
[2026-11-04 08:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202824192001,"66":27767,"245":206,"80":6400,"24":50,"16":38569184275202048,"45":1210764641941475328},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-11-04 08:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202824192001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:28:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38569184275202048,"km_value":38569184275202.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210764641941475328,"description":"Unknown IO ID 45"} 
[2026-11-04 08:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202824192001,"power":27767,"geofence_id":206,"unknown_80":6400,"ignition":50,"odometer":null,"unknown_45":1210764641941475328}} 
[2026-11-04 08:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":230541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:28:13] local.INFO: GPS data processed {"connection_id":230541,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:28:13] local.INFO: Acknowledgment sent {"connection_id":230541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:28:14] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:14] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:28:14] local.INFO: IMEI packet received {"connection_id":229267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":229267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:28:15] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47d4eb0012d22024006cc2c900004014c2c..."} 
[2026-11-04 08:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47d4eb0012d22024006cc2c900004014c2c..."} 
[2026-11-04 08:28:15] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47d4eb0012d22024006cc2c900004014c2c..."} 
[2026-11-04 08:28:15] local.INFO: Packet analysis {"connection_id":229267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:15] local.INFO: Extracted packet for processing {"connection_id":229267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:15] local.INFO: GPS Element Parsed {"raw_longitude":757203520,"raw_latitude":114044048,"longitude_deg":75.720352,"latitude_deg":11.4044048,"altitude":4,"angle":332,"satellites":44,"speed":57,"hex_longitude":"2d220240","hex_latitude":"06cc2c90","is_valid_coordinates":true} 
[2026-11-04 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202823936001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20246712056545280,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2456080307226009600,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:15] 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-11-04 08:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793761038000,"timestamp_ms":1793761038000,"timestamp_seconds":1793761038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47d4eb0"} 
[2026-11-04 08:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:28: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-11-04 08:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202823936001,"66":28332,"240":206,"2":56576,"24":57,"16":20246712056545280,"45":2456080307226009600},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-11-04 08:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202823936001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:28:15] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-11-04 08:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20246712056545280,"km_value":20246712056545.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2456080307226009600,"description":"Unknown IO ID 45"} 
[2026-11-04 08:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202823936001,"power":28332,"unknown_240":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":2456080307226009600}} 
[2026-11-04 08:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":229267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:28:15] local.INFO: GPS data processed {"connection_id":229267,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:28:15] local.INFO: Acknowledgment sent {"connection_id":229267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:28:23] local.INFO: TCP Data received {"connection_id":232390,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47d9500012d0c040007034830000b015d2a..."} 
[2026-11-04 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47d9500012d0c040007034830000b015d2a..."} 
[2026-11-04 08:28:23] local.INFO: Processing buffer {"connection_id":232390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47d9500012d0c040007034830000b015d2a..."} 
[2026-11-04 08:28:23] local.INFO: Packet analysis {"connection_id":232390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:23] local.INFO: Extracted packet for processing {"connection_id":232390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755762176,"raw_latitude":117655600,"longitude_deg":75.5762176,"latitude_deg":11.76556,"altitude":11,"angle":349,"satellites":42,"speed":42,"hex_longitude":"2d0c0400","hex_latitude":"07034830","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202827776001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39137309664215040,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867717014572343296,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793761056000,"timestamp_ms":1793761056000,"timestamp_seconds":1793761056,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47d9500"} 
[2026-11-04 08:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:28: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-11-04 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:28:23] 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-11-04 08: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-11-04 08:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232390,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202827776001,"66":14548,"37":206,"94":11008,"24":42,"16":39137309664215040,"45":867717014572343296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202827776001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:28:23] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:28:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39137309664215040,"km_value":39137309664215.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":867717014572343296,"description":"Unknown IO ID 45"} 
[2026-11-04 08:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202827776001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":867717014572343296}} 
[2026-11-04 08:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":232390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:28:23] local.INFO: GPS data processed {"connection_id":232390,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:28:23] local.INFO: Acknowledgment sent {"connection_id":232390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:28:44] local.INFO: TCP Data received {"connection_id":230542,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:44] local.INFO: Processing buffer {"connection_id":230542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:44] local.INFO: IMEI packet received {"connection_id":230542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":230542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:28:44] local.INFO: TCP Data received {"connection_id":230541,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47d42f8012d10cfc006e57788000e00b12f..."} 
[2026-11-04 08:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47d42f8012d10cfc006e57788000e00b12f..."} 
[2026-11-04 08:28:44] local.INFO: Processing buffer {"connection_id":230541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47d42f8012d10cfc006e57788000e00b12f..."} 
[2026-11-04 08:28:44] local.INFO: Packet analysis {"connection_id":230541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:44] local.INFO: Extracted packet for processing {"connection_id":230541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:44] local.INFO: GPS Element Parsed {"raw_longitude":756076480,"raw_latitude":115701640,"longitude_deg":75.607648,"latitude_deg":11.570164,"altitude":14,"angle":177,"satellites":47,"speed":51,"hex_longitude":"2d10cfc0","hex_latitude":"06e57788","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202824192001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38569368958795776,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210764641941475328,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793761035000,"timestamp_ms":1793761035000,"timestamp_seconds":1793761035,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47d42f8"} 
[2026-11-04 08:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202824192001,"66":27745,"245":206,"80":6400,"24":51,"16":38569368958795776,"45":1210764641941475328},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,80,24,16,45]} 
[2026-11-04 08:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202824192001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:28:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":6400,"description":"Unknown IO ID 80"} 
[2026-11-04 08:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38569368958795776,"km_value":38569368958795.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210764641941475328,"description":"Unknown IO ID 45"} 
[2026-11-04 08:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202824192001,"power":27745,"geofence_id":206,"unknown_80":6400,"ignition":51,"odometer":null,"unknown_45":1210764641941475328}} 
[2026-11-04 08:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":230541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:28:44] local.INFO: GPS data processed {"connection_id":230541,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:28:44] local.INFO: Acknowledgment sent {"connection_id":230541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:28:45] local.INFO: TCP Data received {"connection_id":230542,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:45] local.INFO: Processing buffer {"connection_id":230542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:45] local.INFO: IMEI packet received {"connection_id":230542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":230542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:28:48] local.INFO: TCP Data received {"connection_id":229267,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47d6a08012d21ef8006cc4fd00004014c2f..."} 
[2026-11-04 08:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47d6a08012d21ef8006cc4fd00004014c2f..."} 
[2026-11-04 08:28:48] local.INFO: Processing buffer {"connection_id":229267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47d6a08012d21ef8006cc4fd00004014c2f..."} 
[2026-11-04 08:28:48] local.INFO: Packet analysis {"connection_id":229267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:48] local.INFO: Extracted packet for processing {"connection_id":229267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":757198720,"raw_latitude":114053072,"longitude_deg":75.719872,"latitude_deg":11.4053072,"altitude":4,"angle":332,"satellites":47,"speed":57,"hex_longitude":"2d21ef80","hex_latitude":"06cc4fd0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202825728001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20247205977784320,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2450591545182425088,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:48] 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-11-04 08:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793761045000,"timestamp_ms":1793761045000,"timestamp_seconds":1793761045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47d6a08"} 
[2026-11-04 08:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:28: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-11-04 08: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-11-04 08:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202825728001,"66":28354,"240":206,"2":56576,"24":57,"16":20247205977784320,"45":2450591545182425088},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-11-04 08:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202825728001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:28:48] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-11-04 08:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20247205977784320,"km_value":20247205977784.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2450591545182425088,"description":"Unknown IO ID 45"} 
[2026-11-04 08:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202825728001,"power":28354,"unknown_240":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":2450591545182425088}} 
[2026-11-04 08:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":229267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:28:48] local.INFO: GPS data processed {"connection_id":229267,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:28:48] local.INFO: Acknowledgment sent {"connection_id":229267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:28:54] local.INFO: TCP Data received {"connection_id":230542,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230542,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:54] local.INFO: Processing buffer {"connection_id":230542,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:28:54] local.INFO: IMEI packet received {"connection_id":230542,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":230542,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:28:55] local.INFO: TCP Data received {"connection_id":230542,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47db058012d0c004007036638000c00002a..."} 
[2026-11-04 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47db058012d0c004007036638000c00002a..."} 
[2026-11-04 08:28:55] local.INFO: Processing buffer {"connection_id":230542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47db058012d0c004007036638000c00002a..."} 
[2026-11-04 08:28:55] local.INFO: Packet analysis {"connection_id":230542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:55] local.INFO: Extracted packet for processing {"connection_id":230542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47d"} 
[2026-11-04 08:28:55] local.INFO: GPS Element Parsed {"raw_longitude":755761216,"raw_latitude":117663288,"longitude_deg":75.5761216,"latitude_deg":11.7663288,"altitude":12,"angle":0,"satellites":42,"speed":42,"hex_longitude":"2d0c0040","hex_latitude":"07036638","is_valid_coordinates":true} 
[2026-11-04 08:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202830336001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39137687621337088,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865817058481811456,"note":"Value kept but may cause issues"} 
[2026-11-04 08:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793761063000,"timestamp_ms":1793761063000,"timestamp_seconds":1793761063,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47db058"} 
[2026-11-04 08:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:28: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-11-04 08:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:28:55] 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-11-04 08:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202830336001,"66":14537,"37":206,"94":11008,"24":42,"16":39137687621337088,"45":865817058481811456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 08:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202830336001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:28:55] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 08:28:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39137687621337088,"km_value":39137687621337.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":865817058481811456,"description":"Unknown IO ID 45"} 
[2026-11-04 08:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202830336001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":865817058481811456}} 
[2026-11-04 08:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":230542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58201,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:28:56] local.INFO: GPS data processed {"connection_id":230542,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:28:56] local.INFO: Acknowledgment sent {"connection_id":230542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:29:12] local.INFO: TCP Data received {"connection_id":232391,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:29:12] local.INFO: Processing buffer {"connection_id":232391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:29:12] local.INFO: IMEI packet received {"connection_id":232391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":232391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:29:15] local.INFO: TCP Data received {"connection_id":232391,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:29:15] local.INFO: Processing buffer {"connection_id":232391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:29:15] local.INFO: IMEI packet received {"connection_id":232391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":232391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:29:16] local.INFO: TCP Data received {"connection_id":232391,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47e48b0012d114b4006e41d80000600a22e..."} 
[2026-11-04 08:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47e48b0012d114b4006e41d80000600a22e..."} 
[2026-11-04 08:29:16] local.INFO: Processing buffer {"connection_id":232391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47e48b0012d114b4006e41d80000600a22e..."} 
[2026-11-04 08:29:16] local.INFO: Packet analysis {"connection_id":232391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:16] local.INFO: Extracted packet for processing {"connection_id":232391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756108096,"raw_latitude":115613056,"longitude_deg":75.6108096,"latitude_deg":11.5613056,"altitude":6,"angle":162,"satellites":46,"speed":56,"hex_longitude":"2d114b40","hex_latitude":"06e41d80","is_valid_coordinates":true} 
[2026-11-04 08:29: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-11-04 08:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202840576001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38573994638573568,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1242149101823129600,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793761102000,"timestamp_ms":1793761102000,"timestamp_seconds":1793761102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47e48b0"} 
[2026-11-04 08:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-04 08:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:29: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-11-04 08:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202840576001,"66":27484,"111":206,"81":20480,"24":56,"16":38573994638573568,"45":1242149101823129600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-11-04 08:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202840576001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:29:16] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 08:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38573994638573568,"km_value":38573994638573.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1242149101823129600,"description":"Unknown IO ID 45"} 
[2026-11-04 08:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202840576001,"power":27484,"unknown_111":206,"unknown_81":20480,"ignition":56,"odometer":null,"unknown_45":1242149101823129600}} 
[2026-11-04 08:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":232391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:29:16] local.INFO: GPS data processed {"connection_id":232391,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:29:16] local.INFO: Acknowledgment sent {"connection_id":232391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:29:17] local.INFO: TCP Data received {"connection_id":232391,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47e6408012d1152c006e3f858000700ab2e..."} 
[2026-11-04 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47e6408012d1152c006e3f858000700ab2e..."} 
[2026-11-04 08:29:17] local.INFO: Processing buffer {"connection_id":232391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47e6408012d1152c006e3f858000700ab2e..."} 
[2026-11-04 08:29:17] local.INFO: Packet analysis {"connection_id":232391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:17] local.INFO: Extracted packet for processing {"connection_id":232391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756110016,"raw_latitude":115603544,"longitude_deg":75.6110016,"latitude_deg":11.5603544,"altitude":7,"angle":171,"satellites":46,"speed":48,"hex_longitude":"2d1152c0","hex_latitude":"06e3f858","is_valid_coordinates":true} 
[2026-11-04 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202842112001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38574467084976128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1246160120239194112,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793761109000,"timestamp_ms":1793761109000,"timestamp_seconds":1793761109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47e6408"} 
[2026-11-04 08:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 08:29: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-11-04 08:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202842112001,"66":27397,"111":206,"81":20480,"24":48,"16":38574467084976128,"45":1246160120239194112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-11-04 08:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202842112001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:29:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 08:29:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38574467084976128,"km_value":38574467084976.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1246160120239194112,"description":"Unknown IO ID 45"} 
[2026-11-04 08:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202842112001,"power":27397,"unknown_111":206,"unknown_81":20480,"ignition":48,"odometer":null,"unknown_45":1246160120239194112}} 
[2026-11-04 08:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":232391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:29:17] local.INFO: GPS data processed {"connection_id":232391,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:29:17] local.INFO: Acknowledgment sent {"connection_id":232391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:29:19] local.INFO: TCP Data received {"connection_id":232392,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:29:19] local.INFO: Processing buffer {"connection_id":232392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:29:19] local.INFO: IMEI packet received {"connection_id":232392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":232392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:29:23] local.INFO: TCP Data received {"connection_id":232392,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:29:23] local.INFO: Processing buffer {"connection_id":232392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:29:23] local.INFO: IMEI packet received {"connection_id":232392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":232392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:29:27] local.INFO: TCP Data received {"connection_id":230542,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47f13d0012d0c73c00703fe880015003629..."} 
[2026-11-04 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47f13d0012d0c73c00703fe880015003629..."} 
[2026-11-04 08:29:27] local.INFO: Processing buffer {"connection_id":230542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47f13d0012d0c73c00703fe880015003629..."} 
[2026-11-04 08:29:27] local.INFO: Packet analysis {"connection_id":230542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:29:27] local.INFO: Extracted packet for processing {"connection_id":230542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":755790784,"raw_latitude":117702280,"longitude_deg":75.5790784,"latitude_deg":11.770228,"altitude":21,"angle":54,"satellites":41,"speed":47,"hex_longitude":"2d0c73c0","hex_latitude":"0703fe88","is_valid_coordinates":true} 
[2026-11-04 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202853376001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39140247421845504,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888898006582544384,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793761154000,"timestamp_ms":1793761154000,"timestamp_seconds":1793761154,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47f13d0"} 
[2026-11-04 08:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:29: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-11-04 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-11-04 08:29: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-11-04 08:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230542,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202853376001,"66":14537,"16":39140247421845504,"94":11008,"24":47,"45":888898006582544384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202853376001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39140247421845504,"km_value":39140247421845.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:29:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":888898006582544384,"description":"Unknown IO ID 45"} 
[2026-11-04 08:29:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202853376001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":47,"unknown_45":888898006582544384}} 
[2026-11-04 08:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":230542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58204,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:29:27] local.INFO: GPS data processed {"connection_id":230542,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:29:27] local.INFO: Acknowledgment sent {"connection_id":230542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:29:27] local.INFO: TCP Data received {"connection_id":232392,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47e6bd8012d2150c006cd8ee8000601312e..."} 
[2026-11-04 08:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47e6bd8012d2150c006cd8ee8000601312e..."} 
[2026-11-04 08:29:27] local.INFO: Processing buffer {"connection_id":232392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47e6bd8012d2150c006cd8ee8000601312e..."} 
[2026-11-04 08:29:27] local.INFO: Packet analysis {"connection_id":232392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:27] local.INFO: Extracted packet for processing {"connection_id":232392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":757158080,"raw_latitude":114134760,"longitude_deg":75.715808,"latitude_deg":11.413476,"altitude":6,"angle":305,"satellites":46,"speed":34,"hex_longitude":"2d2150c0","hex_latitude":"06cd8ee8","is_valid_coordinates":true} 
[2026-11-04 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202843136001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20251689923641344,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2404851861489303552,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793761111000,"timestamp_ms":1793761111000,"timestamp_seconds":1793761111,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47e6bd8"} 
[2026-11-04 08:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:29:27] 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-11-04 08:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":232392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":232392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":232392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202843136001,"66":28354,"240":206,"2":56576,"24":34,"16":20251689923641344,"45":2404851861489303552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-11-04 08:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202843136001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:29:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-11-04 08:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20251689923641344,"km_value":20251689923641.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2404851861489303552,"description":"Unknown IO ID 45"} 
[2026-11-04 08:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202843136001,"power":28354,"unknown_240":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":2404851861489303552}} 
[2026-11-04 08:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":232392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:29:27] local.INFO: GPS data processed {"connection_id":232392,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:29:27] local.INFO: Acknowledgment sent {"connection_id":232392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:29:43] local.INFO: TCP Data received {"connection_id":228776,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:29:43] local.INFO: Processing buffer {"connection_id":228776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:29:43] local.INFO: IMEI packet received {"connection_id":228776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":228776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:29:49] local.INFO: TCP Data received {"connection_id":228776,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228776,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:29:49] local.INFO: Processing buffer {"connection_id":228776,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:29:49] local.INFO: IMEI packet received {"connection_id":228776,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":228776,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:29:49] local.INFO: TCP Data received {"connection_id":232391,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47e8348012d1158c006e3d1c0000a00ac2f..."} 
[2026-11-04 08:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47e8348012d1158c006e3d1c0000a00ac2f..."} 
[2026-11-04 08:29:49] local.INFO: Processing buffer {"connection_id":232391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47e8348012d1158c006e3d1c0000a00ac2f..."} 
[2026-11-04 08:29:49] local.INFO: Packet analysis {"connection_id":232391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:49] local.INFO: Extracted packet for processing {"connection_id":232391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756111552,"raw_latitude":115593664,"longitude_deg":75.6111552,"latitude_deg":11.5593664,"altitude":10,"angle":172,"satellites":47,"speed":50,"hex_longitude":"2d1158c0","hex_latitude":"06e3d1c0","is_valid_coordinates":true} 
[2026-11-04 08:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202843904001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38574952416280576,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1248271182562088960,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761117000,"timestamp_ms":1793761117000,"timestamp_seconds":1793761117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47e8348"} 
[2026-11-04 08:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 08:29:49] 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-11-04 08:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202843904001,"66":27484,"111":206,"81":20480,"24":50,"16":38574952416280576,"45":1248271182562088960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,81,24,16,45]} 
[2026-11-04 08:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202843904001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:29:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-11-04 08:29:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38574952416280576,"km_value":38574952416280.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1248271182562088960,"description":"Unknown IO ID 45"} 
[2026-11-04 08:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202843904001,"power":27484,"unknown_111":206,"unknown_81":20480,"ignition":50,"odometer":null,"unknown_45":1248271182562088960}} 
[2026-11-04 08:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":232391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:29:49] local.INFO: GPS data processed {"connection_id":232391,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:29:49] local.INFO: Acknowledgment sent {"connection_id":232391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:29:50] local.INFO: TCP Data received {"connection_id":228776,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47f2f28012d0c9100070413000016003429..."} 
[2026-11-04 08:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47f2f28012d0c9100070413000016003429..."} 
[2026-11-04 08:29:50] local.INFO: Processing buffer {"connection_id":228776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47f2f28012d0c9100070413000016003429..."} 
[2026-11-04 08:29:50] local.INFO: Packet analysis {"connection_id":228776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:29:50] local.INFO: Extracted packet for processing {"connection_id":228776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755798272,"raw_latitude":117707520,"longitude_deg":75.5798272,"latitude_deg":11.770752,"altitude":22,"angle":52,"satellites":41,"speed":48,"hex_longitude":"2d0c9100","hex_latitude":"07041300","is_valid_coordinates":true} 
[2026-11-04 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202855424001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39140681213542400,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897271887141177344,"note":"Value kept but may cause issues"} 
[2026-11-04 08:29:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793761161000,"timestamp_ms":1793761161000,"timestamp_seconds":1793761161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47f2f28"} 
[2026-11-04 08:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 08:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228776,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228776,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202855424001,"66":14396,"16":39140681213542400,"94":11008,"24":48,"45":897271887141177344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 08:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202855424001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39140681213542400,"km_value":39140681213542.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":897271887141177344,"description":"Unknown IO ID 45"} 
[2026-11-04 08:29:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459202855424001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":48,"unknown_45":897271887141177344}} 
[2026-11-04 08:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":228776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58207,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:29:50] local.INFO: GPS data processed {"connection_id":228776,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:29:50] local.INFO: Acknowledgment sent {"connection_id":228776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:30:07] local.INFO: TCP Data received {"connection_id":229268,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:30:07] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:30:07] local.INFO: IMEI packet received {"connection_id":229268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":229268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:30:08] local.INFO: TCP Data received {"connection_id":229268,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:30:08] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:30:08] local.INFO: IMEI packet received {"connection_id":229268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":229268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:30:08] local.INFO: TCP Data received {"connection_id":228777,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:08] local.INFO: Processing buffer {"connection_id":228777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:08] local.INFO: IMEI packet received {"connection_id":228777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":228777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:30:09] local.INFO: TCP Data received {"connection_id":228777,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:09] local.INFO: Processing buffer {"connection_id":228777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:09] local.INFO: IMEI packet received {"connection_id":228777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":228777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:30:12] local.INFO: TCP Data received {"connection_id":229268,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:30:12] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:30:12] local.INFO: IMEI packet received {"connection_id":229268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":229268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:30:14] local.INFO: TCP Data received {"connection_id":229268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47e9ea0012d115c4006e3ae40000c00af2f..."} 
[2026-11-04 08:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47e9ea0012d115c4006e3ae40000c00af2f..."} 
[2026-11-04 08:30:14] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a4..."} 
[2026-11-04 08:30:14] local.INFO: IMEI packet received {"connection_id":229268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":229268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:30:14] local.INFO: TCP Data received {"connection_id":228777,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:14] local.INFO: Processing buffer {"connection_id":228777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:30:14] local.INFO: IMEI packet received {"connection_id":228777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":228777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:30:15] local.INFO: TCP Data received {"connection_id":229268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47eb9f8012d115f0006e38978000e00b02e..."} 
[2026-11-04 08:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47eb9f8012d115f0006e38978000e00b02e..."} 
[2026-11-04 08:30:15] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a47e9ea0012d115c4006e3ae40000c00af2f..."} 
[2026-11-04 08:30:15] local.INFO: Packet analysis {"connection_id":229268,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:15] local.INFO: Extracted packet for processing {"connection_id":229268,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756112448,"raw_latitude":115584576,"longitude_deg":75.6112448,"latitude_deg":11.5584576,"altitude":12,"angle":175,"satellites":47,"speed":53,"hex_longitude":"2d115c40","hex_latitude":"06e3ae40","is_valid_coordinates":true} 
[2026-11-04 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202845952001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38575394797912064,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1249960032419823616,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793761124000,"timestamp_ms":1793761124000,"timestamp_seconds":1793761124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47e9ea0"} 
[2026-11-04 08:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 08:30:15] 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-11-04 08:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202845952001,"66":27604,"80":206,"81":20480,"24":53,"16":38575394797912064,"45":1249960032419823616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202845952001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38575394797912064,"km_value":38575394797912.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1249960032419823616,"description":"Unknown IO ID 45"} 
[2026-11-04 08:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202845952001,"power":27604,"unknown_80":206,"unknown_81":20480,"ignition":53,"odometer":null,"unknown_45":1249960032419823616}} 
[2026-11-04 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":229268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:30:15] local.INFO: GPS data processed {"connection_id":229268,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:30:15] local.INFO: Acknowledgment sent {"connection_id":229268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:30:15] local.INFO: Packet analysis {"connection_id":229268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:15] local.INFO: Extracted packet for processing {"connection_id":229268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":756113152,"raw_latitude":115575160,"longitude_deg":75.6113152,"latitude_deg":11.557516,"altitude":14,"angle":176,"satellites":46,"speed":54,"hex_longitude":"2d115f00","hex_latitude":"06e38978","is_valid_coordinates":true} 
[2026-11-04 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202847744001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38575850064445440,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1250945194835984384,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793761131000,"timestamp_ms":1793761131000,"timestamp_seconds":1793761131,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47eb9f8"} 
[2026-11-04 08:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:30:15] 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-11-04 08:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202847744001,"66":27604,"80":206,"81":20480,"24":54,"16":38575850064445440,"45":1250945194835984384},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-11-04 08:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202847744001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38575850064445440,"km_value":38575850064445.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1250945194835984384,"description":"Unknown IO ID 45"} 
[2026-11-04 08:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202847744001,"power":27604,"unknown_80":206,"unknown_81":20480,"ignition":54,"odometer":null,"unknown_45":1250945194835984384}} 
[2026-11-04 08:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":229268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:30:15] local.INFO: GPS data processed {"connection_id":229268,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:30:15] local.INFO: Acknowledgment sent {"connection_id":229268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:30:17] local.INFO: TCP Data received {"connection_id":229268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47ed550012d11624006e36408001100ad2d..."} 
[2026-11-04 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47ed550012d11624006e36408001100ad2d..."} 
[2026-11-04 08:30:17] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47ed550012d11624006e36408001100ad2d..."} 
[2026-11-04 08:30:17] local.INFO: Packet analysis {"connection_id":229268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:17] local.INFO: Extracted packet for processing {"connection_id":229268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756113984,"raw_latitude":115565576,"longitude_deg":75.6113984,"latitude_deg":11.5565576,"altitude":17,"angle":173,"satellites":45,"speed":55,"hex_longitude":"2d116240","hex_latitude":"06e36408","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202849536001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38576318215880704,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1251719251019528192,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793761138000,"timestamp_ms":1793761138000,"timestamp_seconds":1793761138,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47ed550"} 
[2026-11-04 08:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:30:17] 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-11-04 08: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-11-04 08:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202849536001,"66":27376,"80":206,"81":20480,"24":55,"16":38576318215880704,"45":1251719251019528192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202849536001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:30:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-11-04 08:30:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38576318215880704,"km_value":38576318215880.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1251719251019528192,"description":"Unknown IO ID 45"} 
[2026-11-04 08:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202849536001,"power":27376,"unknown_80":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1251719251019528192}} 
[2026-11-04 08:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":229268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:30:17] local.INFO: GPS data processed {"connection_id":229268,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:30:17] local.INFO: Acknowledgment sent {"connection_id":229268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:30:17] local.INFO: TCP Data received {"connection_id":228777,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47e7790012d21490006cd95a00006013c2e..."} 
[2026-11-04 08:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47e7790012d21490006cd95a00006013c2e..."} 
[2026-11-04 08:30:17] local.INFO: Processing buffer {"connection_id":228777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47e7790012d21490006cd95a00006013c2e..."} 
[2026-11-04 08:30:17] local.INFO: Packet analysis {"connection_id":228777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:17] local.INFO: Extracted packet for processing {"connection_id":228777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":757156096,"raw_latitude":114136480,"longitude_deg":75.7156096,"latitude_deg":11.413648,"altitude":6,"angle":316,"satellites":46,"speed":36,"hex_longitude":"2d214900","hex_latitude":"06cd95a0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202844416001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20251818772660224,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2400629736839505920,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793761114000,"timestamp_ms":1793761114000,"timestamp_seconds":1793761114,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47e7790"} 
[2026-11-04 08:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:30: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-11-04 08: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-11-04 08:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202844416001,"66":28376,"240":206,"2":56576,"24":36,"16":20251818772660224,"45":2400629736839505920},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-11-04 08:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202844416001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:30:17] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-11-04 08:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20251818772660224,"km_value":20251818772660.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2400629736839505920,"description":"Unknown IO ID 45"} 
[2026-11-04 08:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202844416001,"power":28376,"unknown_240":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2400629736839505920}} 
[2026-11-04 08:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":228777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:30:17] local.INFO: GPS data processed {"connection_id":228777,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:30:17] local.INFO: Acknowledgment sent {"connection_id":228777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:30:49] local.INFO: TCP Data received {"connection_id":228777,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47fbfb0012d20a58006ceee500009014b21..."} 
[2026-11-04 08:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47fbfb0012d20a58006ceee500009014b21..."} 
[2026-11-04 08:30:49] local.INFO: Processing buffer {"connection_id":228777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47fbfb0012d20a58006ceee500009014b21..."} 
[2026-11-04 08:30:49] local.INFO: Packet analysis {"connection_id":228777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:30:49] local.INFO: Extracted packet for processing {"connection_id":228777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":757114240,"raw_latitude":114224720,"longitude_deg":75.711424,"latitude_deg":11.422472,"altitude":9,"angle":331,"satellites":33,"speed":22,"hex_longitude":"2d20a580","hex_latitude":"06ceee50","is_valid_coordinates":true} 
[2026-11-04 08:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202864896001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20256650610868224,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2354890053145511936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761198000,"timestamp_ms":1793761198000,"timestamp_seconds":1793761198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47fbfb0"} 
[2026-11-04 08:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 08:30:49] 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-11-04 08:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202864896001,"66":28376,"196":206,"2":56576,"24":22,"16":20256650610868224,"45":2354890053145511936},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-11-04 08:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202864896001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:30:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 08:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20256650610868224,"km_value":20256650610868.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2354890053145511936,"description":"Unknown IO ID 45"} 
[2026-11-04 08:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202864896001,"power":28376,"unknown_196":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2354890053145511936}} 
[2026-11-04 08:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":228777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:30:50] local.INFO: GPS data processed {"connection_id":228777,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:30:50] local.INFO: Acknowledgment sent {"connection_id":228777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:30:55] local.INFO: TCP Data received {"connection_id":230543,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:30:55] local.INFO: Processing buffer {"connection_id":230543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:30:55] local.INFO: IMEI packet received {"connection_id":230543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":230543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:31:09] local.INFO: TCP Data received {"connection_id":232393,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:31:09] local.INFO: Processing buffer {"connection_id":232393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:31:09] local.INFO: IMEI packet received {"connection_id":232393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":232393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:31:11] local.INFO: TCP Data received {"connection_id":229268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47ef0a8012d11688006e33da0001300a82f..."} 
[2026-11-04 08:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47ef0a8012d11688006e33da0001300a82f..."} 
[2026-11-04 08:31:11] local.INFO: Processing buffer {"connection_id":229268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47ef0a8012d11688006e33da0001300a82f..."} 
[2026-11-04 08:31:11] local.INFO: Packet analysis {"connection_id":229268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:31:11] local.INFO: Extracted packet for processing {"connection_id":229268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47e"} 
[2026-11-04 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756115584,"raw_latitude":115555744,"longitude_deg":75.6115584,"latitude_deg":11.5555744,"altitude":19,"angle":168,"satellites":47,"speed":58,"hex_longitude":"2d116880","hex_latitude":"06e33da0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202851328001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38576799252217856,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1252634044691384320,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793761145000,"timestamp_ms":1793761145000,"timestamp_seconds":1793761145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47ef0a8"} 
[2026-11-04 08:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-04 08:31: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-11-04 08: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-11-04 08:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202851328001,"66":27321,"80":206,"81":20480,"24":58,"16":38576799252217856,"45":1252634044691384320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-11-04 08:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202851328001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:31:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-11-04 08:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38576799252217856,"km_value":38576799252217.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1252634044691384320,"description":"Unknown IO ID 45"} 
[2026-11-04 08:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202851328001,"power":27321,"unknown_80":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1252634044691384320}} 
[2026-11-04 08:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":229268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:31:11] local.INFO: GPS data processed {"connection_id":229268,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:31:11] local.INFO: Acknowledgment sent {"connection_id":229268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:31:14] local.INFO: TCP Data received {"connection_id":232393,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:31:14] local.INFO: Processing buffer {"connection_id":232393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:31:14] local.INFO: IMEI packet received {"connection_id":232393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":232393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:31:15] local.INFO: TCP Data received {"connection_id":232393,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47fcf50012d20a0c006cef5800009013f22..."} 
[2026-11-04 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47fcf50012d20a0c006cef5800009013f22..."} 
[2026-11-04 08:31:15] local.INFO: Processing buffer {"connection_id":232393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47fcf50012d20a0c006cef5800009013f22..."} 
[2026-11-04 08:31:15] local.INFO: Packet analysis {"connection_id":232393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:31:15] local.INFO: Extracted packet for processing {"connection_id":232393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:31:15] local.INFO: GPS Element Parsed {"raw_longitude":757113024,"raw_latitude":114226560,"longitude_deg":75.7113024,"latitude_deg":11.422656,"altitude":9,"angle":319,"satellites":34,"speed":23,"hex_longitude":"2d20a0c0","hex_latitude":"06cef580","is_valid_coordinates":true} 
[2026-11-04 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202866688001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20256757985050624,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2352427147100835840,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793761202000,"timestamp_ms":1793761202000,"timestamp_seconds":1793761202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47fcf50"} 
[2026-11-04 08:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:31:15] 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-11-04 08:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202866688001,"66":28354,"196":206,"2":56576,"24":23,"16":20256757985050624,"45":2352427147100835840},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-11-04 08:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202866688001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:31:15] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 08:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20256757985050624,"km_value":20256757985050.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2352427147100835840,"description":"Unknown IO ID 45"} 
[2026-11-04 08:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202866688001,"power":28354,"unknown_196":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":2352427147100835840}} 
[2026-11-04 08:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":232393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:31:15] local.INFO: GPS data processed {"connection_id":232393,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:31:15] local.INFO: Acknowledgment sent {"connection_id":232393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:31:17] local.INFO: TCP Data received {"connection_id":228778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:17] local.INFO: Processing buffer {"connection_id":228778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:17] local.INFO: IMEI packet received {"connection_id":228778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":228778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:31:17] local.INFO: TCP Data received {"connection_id":228778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:17] local.INFO: Processing buffer {"connection_id":228778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:17] local.INFO: IMEI packet received {"connection_id":228778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":228778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:31:22] local.INFO: TCP Data received {"connection_id":228778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:22] local.INFO: Processing buffer {"connection_id":228778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:31:22] local.INFO: IMEI packet received {"connection_id":228778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":228778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:31:23] local.INFO: TCP Data received {"connection_id":228778,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47fe2d8012d11880006e1d410000b00aa2f..."} 
[2026-11-04 08:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47fe2d8012d11880006e1d410000b00aa2f..."} 
[2026-11-04 08:31:23] local.INFO: Processing buffer {"connection_id":228778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47fe2d8012d11880006e1d410000b00aa2f..."} 
[2026-11-04 08:31:23] local.INFO: Packet analysis {"connection_id":228778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:31:23] local.INFO: Extracted packet for processing {"connection_id":228778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756123648,"raw_latitude":115463184,"longitude_deg":75.6123648,"latitude_deg":11.5463184,"altitude":11,"angle":170,"satellites":47,"speed":57,"hex_longitude":"2d118800","hex_latitude":"06e1d410","is_valid_coordinates":true} 
[2026-11-04 08:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202867456001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38581364802453504,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261781981410533376,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793761207000,"timestamp_ms":1793761207000,"timestamp_seconds":1793761207,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47fe2d8"} 
[2026-11-04 08:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-04 08:31:23] 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-11-04 08:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202867456001,"66":27343,"108":206,"81":20480,"24":57,"16":38581364802453504,"45":1261781981410533376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,81,24,16,45]} 
[2026-11-04 08:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202867456001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:31:23] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-11-04 08:31:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38581364802453504,"km_value":38581364802453.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261781981410533376,"description":"Unknown IO ID 45"} 
[2026-11-04 08:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202867456001,"power":27343,"unknown_108":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1261781981410533376}} 
[2026-11-04 08:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":228778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:31:23] local.INFO: GPS data processed {"connection_id":228778,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:31:23] local.INFO: Acknowledgment sent {"connection_id":228778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:31:37] local.INFO: TCP Data received {"connection_id":230543,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230543,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:31:37] local.INFO: Processing buffer {"connection_id":230543,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:31:37] local.INFO: IMEI packet received {"connection_id":230543,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":230543,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:31:48] local.INFO: TCP Data received {"connection_id":232393,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a47fdef0012d2098c006cefc280009013329..."} 
[2026-11-04 08:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a47fdef0012d2098c006cefc280009013329..."} 
[2026-11-04 08:31:48] local.INFO: Processing buffer {"connection_id":232393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a47fdef0012d2098c006cefc280009013329..."} 
[2026-11-04 08:31:48] local.INFO: Packet analysis {"connection_id":232393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:31:48] local.INFO: Extracted packet for processing {"connection_id":232393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a47f"} 
[2026-11-04 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":757110976,"raw_latitude":114228264,"longitude_deg":75.7110976,"latitude_deg":11.4228264,"altitude":9,"angle":307,"satellites":41,"speed":29,"hex_longitude":"2d2098c0","hex_latitude":"06cefc28","is_valid_coordinates":true} 
[2026-11-04 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202867712001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20256886834069504,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2351090140961931264,"note":"Value kept but may cause issues"} 
[2026-11-04 08:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793761206000,"timestamp_ms":1793761206000,"timestamp_seconds":1793761206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a47fdef0"} 
[2026-11-04 08:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:31: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-11-04 08:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202867712001,"66":28332,"196":206,"2":56576,"24":29,"16":20256886834069504,"45":2351090140961931264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-11-04 08:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202867712001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:31:48] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 08:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20256886834069504,"km_value":20256886834069.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2351090140961931264,"description":"Unknown IO ID 45"} 
[2026-11-04 08:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202867712001,"power":28332,"unknown_196":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":2351090140961931264}} 
[2026-11-04 08:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":232393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:31:48] local.INFO: GPS data processed {"connection_id":232393,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:31:48] local.INFO: Acknowledgment sent {"connection_id":232393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:32:08] local.INFO: TCP Data received {"connection_id":230544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:08] local.INFO: Processing buffer {"connection_id":230544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:08] local.INFO: IMEI packet received {"connection_id":230544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":230544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:32:08] local.INFO: TCP Data received {"connection_id":230544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:08] local.INFO: Processing buffer {"connection_id":230544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:08] local.INFO: IMEI packet received {"connection_id":230544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":230544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:32:09] local.INFO: TCP Data received {"connection_id":230545,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:32:09] local.INFO: Processing buffer {"connection_id":230545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:32:09] local.INFO: IMEI packet received {"connection_id":230545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":230545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:32:12] local.INFO: TCP Data received {"connection_id":230544,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:12] local.INFO: Processing buffer {"connection_id":230544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:32:12] local.INFO: IMEI packet received {"connection_id":230544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":230544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:32:13] local.INFO: TCP Data received {"connection_id":230544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a480f060012d11e20006e05218000b00a22e..."} 
[2026-11-04 08:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a480f060012d11e20006e05218000b00a22e..."} 
[2026-11-04 08:32:13] local.INFO: Processing buffer {"connection_id":230544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a480f060012d11e20006e05218000b00a22e..."} 
[2026-11-04 08:32:13] local.INFO: Packet analysis {"connection_id":230544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:32:13] local.INFO: Extracted packet for processing {"connection_id":230544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756146688,"raw_latitude":115364376,"longitude_deg":75.6146688,"latitude_deg":11.5364376,"altitude":11,"angle":162,"satellites":46,"speed":57,"hex_longitude":"2d11e200","hex_latitude":"06e05218","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202885120001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38586299719876608,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285848091893917696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761276000,"timestamp_ms":1793761276000,"timestamp_seconds":1793761276,"priority":1,"record_length":96,"hex_timestamp":"000001a1a480f060"} 
[2026-11-04 08:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 08:32:13] 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-11-04 08: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-11-04 08:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202885120001,"66":27365,"97":206,"81":20480,"24":57,"16":38586299719876608,"45":1285848091893917696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 08:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202885120001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:32:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38586299719876608,"km_value":38586299719876.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285848091893917696,"description":"Unknown IO ID 45"} 
[2026-11-04 08:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202885120001,"power":27365,"unknown_97":206,"unknown_81":20480,"ignition":57,"odometer":null,"unknown_45":1285848091893917696}} 
[2026-11-04 08:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":230544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:32:13] local.INFO: GPS data processed {"connection_id":230544,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:32:13] local.INFO: Acknowledgment sent {"connection_id":230544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:32:14] local.INFO: TCP Data received {"connection_id":230545,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:32:14] local.INFO: Processing buffer {"connection_id":230545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:32:14] local.INFO: IMEI packet received {"connection_id":230545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":230545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:32:18] local.INFO: TCP Data received {"connection_id":230545,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48009e8012d207c4006cf1228000d01342c..."} 
[2026-11-04 08:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48009e8012d207c4006cf1228000d01342c..."} 
[2026-11-04 08:32:18] local.INFO: Processing buffer {"connection_id":230545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48009e8012d207c4006cf1228000d01342c..."} 
[2026-11-04 08:32:18] local.INFO: Packet analysis {"connection_id":230545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:32:18] local.INFO: Extracted packet for processing {"connection_id":230545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:32:18] local.INFO: GPS Element Parsed {"raw_longitude":757103680,"raw_latitude":114233896,"longitude_deg":75.710368,"latitude_deg":11.4233896,"altitude":13,"angle":308,"satellites":44,"speed":34,"hex_longitude":"2d207c40","hex_latitude":"06cf1228","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202868736001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20257329215700992,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2348838341148682240,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793761217000,"timestamp_ms":1793761217000,"timestamp_seconds":1793761217,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48009e8"} 
[2026-11-04 08:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:32:18] 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-11-04 08: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-11-04 08:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202868736001,"66":28354,"196":206,"2":56576,"24":34,"16":20257329215700992,"45":2348838341148682240},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-11-04 08:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202868736001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:32:18] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 08:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20257329215700992,"km_value":20257329215700.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2348838341148682240,"description":"Unknown IO ID 45"} 
[2026-11-04 08:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202868736001,"power":28354,"unknown_196":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":2348838341148682240}} 
[2026-11-04 08:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":230545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:32:18] local.INFO: GPS data processed {"connection_id":230545,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:32:18] local.INFO: Acknowledgment sent {"connection_id":230545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:32:37] local.INFO: TCP Data received {"connection_id":232394,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:32:37] local.INFO: Processing buffer {"connection_id":232394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:32:37] local.INFO: IMEI packet received {"connection_id":232394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":232394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:32:38] local.INFO: TCP Data received {"connection_id":232394,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:32:38] local.INFO: Processing buffer {"connection_id":232394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:32:38] local.INFO: IMEI packet received {"connection_id":232394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":232394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:32:44] local.INFO: TCP Data received {"connection_id":230544,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4810bb8012d11ed4006e02db8000d00a32e..."} 
[2026-11-04 08:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4810bb8012d11ed4006e02db8000d00a32e..."} 
[2026-11-04 08:32:44] local.INFO: Processing buffer {"connection_id":230544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4810bb8012d11ed4006e02db8000d00a32e..."} 
[2026-11-04 08:32:44] local.INFO: Packet analysis {"connection_id":230544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a481"} 
[2026-11-04 08:32:44] local.INFO: Extracted packet for processing {"connection_id":230544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a481"} 
[2026-11-04 08:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756149568,"raw_latitude":115355064,"longitude_deg":75.6149568,"latitude_deg":11.5355064,"altitude":13,"angle":163,"satellites":46,"speed":55,"hex_longitude":"2d11ed40","hex_latitude":"06e02db8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202886656001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38586772166279168,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1288592472914663424,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793761283000,"timestamp_ms":1793761283000,"timestamp_seconds":1793761283,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4810bb8"} 
[2026-11-04 08:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 08:32:44] 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-11-04 08: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-11-04 08:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202886656001,"66":27365,"97":206,"81":20480,"24":55,"16":38586772166279168,"45":1288592472914663424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 08:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202886656001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 08:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38586772166279168,"km_value":38586772166279.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1288592472914663424,"description":"Unknown IO ID 45"} 
[2026-11-04 08:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202886656001,"power":27365,"unknown_97":206,"unknown_81":20480,"ignition":55,"odometer":null,"unknown_45":1288592472914663424}} 
[2026-11-04 08:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":230544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:32:44] local.INFO: GPS data processed {"connection_id":230544,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:32:44] local.INFO: Acknowledgment sent {"connection_id":230544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:32:52] local.INFO: TCP Data received {"connection_id":230545,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48034e0012d205ec006cf28f0000f013330..."} 
[2026-11-04 08:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48034e0012d205ec006cf28f0000f013330..."} 
[2026-11-04 08:32:52] local.INFO: Processing buffer {"connection_id":230545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48034e0012d205ec006cf28f0000f013330..."} 
[2026-11-04 08:32:52] local.INFO: Packet analysis {"connection_id":230545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:32:52] local.INFO: Extracted packet for processing {"connection_id":230545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:32:52] local.INFO: GPS Element Parsed {"raw_longitude":757096128,"raw_latitude":114239728,"longitude_deg":75.7096128,"latitude_deg":11.4239728,"altitude":15,"angle":307,"satellites":48,"speed":34,"hex_longitude":"2d205ec0","hex_latitude":"06cf28f0","is_valid_coordinates":true} 
[2026-11-04 08:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202871552001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20257784482234368,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2340816304313870336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793761228000,"timestamp_ms":1793761228000,"timestamp_seconds":1793761228,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48034e0"} 
[2026-11-04 08:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:32: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-11-04 08:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202871552001,"66":28224,"196":206,"2":56576,"24":34,"16":20257784482234368,"45":2340816304313870336},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-11-04 08:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202871552001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:32:52] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 08:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20257784482234368,"km_value":20257784482234.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2340816304313870336,"description":"Unknown IO ID 45"} 
[2026-11-04 08:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202871552001,"power":28224,"unknown_196":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":2340816304313870336}} 
[2026-11-04 08:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":230545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:32:52] local.INFO: GPS data processed {"connection_id":230545,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:32:52] local.INFO: Acknowledgment sent {"connection_id":230545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:33:07] local.INFO: TCP Data received {"connection_id":232395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:07] local.INFO: Processing buffer {"connection_id":232395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:07] local.INFO: IMEI packet received {"connection_id":232395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":232395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:33:09] local.INFO: TCP Data received {"connection_id":232396,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:33:09] local.INFO: Processing buffer {"connection_id":232396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:33:09] local.INFO: IMEI packet received {"connection_id":232396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":232396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:33:09] local.INFO: TCP Data received {"connection_id":232395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:09] local.INFO: Processing buffer {"connection_id":232395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:09] local.INFO: IMEI packet received {"connection_id":232395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":232395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:33:12] local.INFO: TCP Data received {"connection_id":232395,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:12] local.INFO: Processing buffer {"connection_id":232395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:33:12] local.INFO: IMEI packet received {"connection_id":232395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":232395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:33:13] local.INFO: TCP Data received {"connection_id":232395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4812710012d11f90006e00778000b00a32e..."} 
[2026-11-04 08:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4812710012d11f90006e00778000b00a32e..."} 
[2026-11-04 08:33:13] local.INFO: Processing buffer {"connection_id":232395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4812710012d11f90006e00778000b00a32e..."} 
[2026-11-04 08:33:13] local.INFO: Packet analysis {"connection_id":232395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a481"} 
[2026-11-04 08:33:13] local.INFO: Extracted packet for processing {"connection_id":232395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a481"} 
[2026-11-04 08:33:13] local.INFO: GPS Element Parsed {"raw_longitude":756152576,"raw_latitude":115345272,"longitude_deg":75.6152576,"latitude_deg":11.5345272,"altitude":11,"angle":163,"satellites":46,"speed":61,"hex_longitude":"2d11f900","hex_latitude":"06e00778","is_valid_coordinates":true} 
[2026-11-04 08:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202888448001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38587270382485504,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1291759066400274432,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761290000,"timestamp_ms":1793761290000,"timestamp_seconds":1793761290,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4812710"} 
[2026-11-04 08:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 08:33:13] 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-11-04 08:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202888448001,"66":27310,"232":206,"81":20480,"24":61,"16":38587270382485504,"45":1291759066400274432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,81,24,16,45]} 
[2026-11-04 08:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202888448001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:33:13] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-04 08:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38587270382485504,"km_value":38587270382485.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1291759066400274432,"description":"Unknown IO ID 45"} 
[2026-11-04 08:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202888448001,"power":27310,"unknown_232":206,"unknown_81":20480,"ignition":61,"odometer":null,"unknown_45":1291759066400274432}} 
[2026-11-04 08:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":232395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:33:13] local.INFO: GPS data processed {"connection_id":232395,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:33:13] local.INFO: Acknowledgment sent {"connection_id":232395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:33:14] local.INFO: TCP Data received {"connection_id":232396,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:33:14] local.INFO: Processing buffer {"connection_id":232396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:33:14] local.INFO: IMEI packet received {"connection_id":232396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":232396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:33:16] local.INFO: TCP Data received {"connection_id":232396,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4805bf0012d20408006cf3bd00012012d2f..."} 
[2026-11-04 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4805bf0012d20408006cf3bd00012012d2f..."} 
[2026-11-04 08:33:16] local.INFO: Processing buffer {"connection_id":232396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4805bf0012d20408006cf3bd00012012d2f..."} 
[2026-11-04 08:33:16] local.INFO: Packet analysis {"connection_id":232396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:33:16] local.INFO: Extracted packet for processing {"connection_id":232396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a480"} 
[2026-11-04 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":757088384,"raw_latitude":114244560,"longitude_deg":75.7088384,"latitude_deg":11.424456,"altitude":18,"angle":301,"satellites":47,"speed":36,"hex_longitude":"2d204080","hex_latitude":"06cf3bd0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202874368001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20258218273931264,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2332512792502398976,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793761238000,"timestamp_ms":1793761238000,"timestamp_seconds":1793761238,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4805bf0"} 
[2026-11-04 08:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":64,"data_length":795,"current_offset":136} 
[2026-11-04 08:33: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-11-04 08: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-11-04 08:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202874368001,"66":28376,"196":206,"2":56576,"24":36,"16":20258218273931264,"45":2332512792502398976},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-11-04 08:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202874368001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:33:16] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 08:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20258218273931264,"km_value":20258218273931.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2332512792502398976,"description":"Unknown IO ID 45"} 
[2026-11-04 08:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202874368001,"power":28376,"unknown_196":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2332512792502398976}} 
[2026-11-04 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":232396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:33:16] local.INFO: GPS data processed {"connection_id":232396,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:33:16] local.INFO: Acknowledgment sent {"connection_id":232396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:33:44] local.INFO: TCP Data received {"connection_id":232395,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48257c0012d1251c006de7ef8000b009b30..."} 
[2026-11-04 08:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48257c0012d1251c006de7ef8000b009b30..."} 
[2026-11-04 08:33:44] local.INFO: Processing buffer {"connection_id":232395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48257c0012d1251c006de7ef8000b009b30..."} 
[2026-11-04 08:33:44] local.INFO: Packet analysis {"connection_id":232395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:33:44] local.INFO: Extracted packet for processing {"connection_id":232395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756175296,"raw_latitude":115244792,"longitude_deg":75.6175296,"latitude_deg":11.5244792,"altitude":11,"angle":155,"satellites":48,"speed":31,"hex_longitude":"2d1251c0","hex_latitude":"06de7ef8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202907904001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38592269724418048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1317936239207694336,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793761368000,"timestamp_ms":1793761368000,"timestamp_seconds":1793761368,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48257c0"} 
[2026-11-04 08:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 08:33:44] 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-11-04 08: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-11-04 08:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202907904001,"66":27484,"67":206,"81":20480,"24":31,"16":38592269724418048,"45":1317936239207694336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-11-04 08:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202907904001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:33:44] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 08:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38592269724418048,"km_value":38592269724418.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1317936239207694336,"description":"Unknown IO ID 45"} 
[2026-11-04 08:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202907904001,"power":27484,"unknown_67":206,"unknown_81":20480,"ignition":31,"odometer":null,"unknown_45":1317936239207694336}} 
[2026-11-04 08:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":232395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:33:44] local.INFO: GPS data processed {"connection_id":232395,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:33:44] local.INFO: Acknowledgment sent {"connection_id":232395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:33:48] local.INFO: TCP Data received {"connection_id":232396,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4823880012d1f0c8006d02880000d014829..."} 
[2026-11-04 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4823880012d1f0c8006d02880000d014829..."} 
[2026-11-04 08:33:48] local.INFO: Processing buffer {"connection_id":232396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4823880012d1f0c8006d02880000d014829..."} 
[2026-11-04 08:33:48] local.INFO: Packet analysis {"connection_id":232396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:33:48] local.INFO: Extracted packet for processing {"connection_id":232396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":757009536,"raw_latitude":114305152,"longitude_deg":75.7009536,"latitude_deg":11.4305152,"altitude":13,"angle":328,"satellites":41,"speed":34,"hex_longitude":"2d1f0c80","hex_latitude":"06d02880","is_valid_coordinates":true} 
[2026-11-04 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202905088001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20263136011485184,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2242651906202288128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793761360000,"timestamp_ms":1793761360000,"timestamp_seconds":1793761360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4823880"} 
[2026-11-04 08:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:33: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-11-04 08:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202905088001,"66":28354,"78":206,"2":56576,"24":34,"16":20263136011485184,"45":2242651906202288128},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202905088001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:33:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20263136011485184,"km_value":20263136011485.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2242651906202288128,"description":"Unknown IO ID 45"} 
[2026-11-04 08:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202905088001,"power":28354,"unknown_78":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":2242651906202288128}} 
[2026-11-04 08:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":232396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:33:48] local.INFO: GPS data processed {"connection_id":232396,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:33:48] local.INFO: Acknowledgment sent {"connection_id":232396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:34:07] local.INFO: TCP Data received {"connection_id":229269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:07] local.INFO: Processing buffer {"connection_id":229269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:07] local.INFO: IMEI packet received {"connection_id":229269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":229269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:34:08] local.INFO: TCP Data received {"connection_id":229269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:08] local.INFO: Processing buffer {"connection_id":229269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:08] local.INFO: IMEI packet received {"connection_id":229269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":229269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:34:12] local.INFO: TCP Data received {"connection_id":229269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:12] local.INFO: Processing buffer {"connection_id":229269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:34:12] local.INFO: IMEI packet received {"connection_id":229269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":229269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:34:14] local.INFO: TCP Data received {"connection_id":229269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4827318012d125a4006de6960000b00a82f..."} 
[2026-11-04 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4827318012d125a4006de6960000b00a82f..."} 
[2026-11-04 08:34:14] local.INFO: Processing buffer {"connection_id":229269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4827318012d125a4006de6960000b00a82f..."} 
[2026-11-04 08:34:14] local.INFO: Packet analysis {"connection_id":229269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:14] local.INFO: Extracted packet for processing {"connection_id":229269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:14] local.INFO: GPS Element Parsed {"raw_longitude":756177472,"raw_latitude":115239264,"longitude_deg":75.6177472,"latitude_deg":11.5239264,"altitude":11,"angle":168,"satellites":47,"speed":39,"hex_longitude":"2d125a40","hex_latitude":"06de6960","is_valid_coordinates":true} 
[2026-11-04 08:34: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-11-04 08:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202910208001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38592557487226880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320047301531465728,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793761375000,"timestamp_ms":1793761375000,"timestamp_seconds":1793761375,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4827318"} 
[2026-11-04 08:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:34: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-11-04 08:34: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-11-04 08:34: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-11-04 08:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202910208001,"66":27571,"67":206,"81":20480,"24":39,"16":38592557487226880,"45":1320047301531465728},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-11-04 08:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202910208001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:34:14] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 08:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38592557487226880,"km_value":38592557487226.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320047301531465728,"description":"Unknown IO ID 45"} 
[2026-11-04 08:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202910208001,"power":27571,"unknown_67":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1320047301531465728}} 
[2026-11-04 08:34:14] local.INFO: TCP Data received {"connection_id":228779,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:34:14] local.INFO: Processing buffer {"connection_id":228779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:34:14] local.INFO: IMEI packet received {"connection_id":228779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":228779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":229269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:34:14] local.INFO: GPS data processed {"connection_id":229269,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:34:14] local.INFO: Acknowledgment sent {"connection_id":229269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:34:16] local.INFO: TCP Data received {"connection_id":228779,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:34:16] local.INFO: Processing buffer {"connection_id":228779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:34:16] local.INFO: IMEI packet received {"connection_id":228779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":228779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:34:18] local.INFO: TCP Data received {"connection_id":228779,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4826378012d1ef80006d04658000d01462c..."} 
[2026-11-04 08:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4826378012d1ef80006d04658000d01462c..."} 
[2026-11-04 08:34:18] local.INFO: Processing buffer {"connection_id":228779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4826378012d1ef80006d04658000d01462c..."} 
[2026-11-04 08:34:18] local.INFO: Packet analysis {"connection_id":228779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:18] local.INFO: Extracted packet for processing {"connection_id":228779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:18] local.INFO: GPS Element Parsed {"raw_longitude":757004288,"raw_latitude":114312792,"longitude_deg":75.7004288,"latitude_deg":11.4312792,"altitude":13,"angle":326,"satellites":44,"speed":35,"hex_longitude":"2d1ef800","hex_latitude":"06d04658","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202908160001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20263582688083968,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2237303881646768128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793761371000,"timestamp_ms":1793761371000,"timestamp_seconds":1793761371,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4826378"} 
[2026-11-04 08:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:34: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-11-04 08: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-11-04 08:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202908160001,"66":28354,"78":206,"2":56576,"24":35,"16":20263582688083968,"45":2237303881646768128},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202908160001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:34:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20263582688083968,"km_value":20263582688083.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2237303881646768128,"description":"Unknown IO ID 45"} 
[2026-11-04 08:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202908160001,"power":28354,"unknown_78":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2237303881646768128}} 
[2026-11-04 08:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":228779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58226,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:34:19] local.INFO: GPS data processed {"connection_id":228779,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:34:19] local.INFO: Acknowledgment sent {"connection_id":228779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:34:20] local.INFO: TCP Data received {"connection_id":228779,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4828a88012d1ee34006d06598000e01482c..."} 
[2026-11-04 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4828a88012d1ee34006d06598000e01482c..."} 
[2026-11-04 08:34:20] local.INFO: Processing buffer {"connection_id":228779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4828a88012d1ee34006d06598000e01482c..."} 
[2026-11-04 08:34:20] local.INFO: Packet analysis {"connection_id":228779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:20] local.INFO: Extracted packet for processing {"connection_id":228779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756998976,"raw_latitude":114320792,"longitude_deg":75.6998976,"latitude_deg":11.4320792,"altitude":14,"angle":328,"satellites":44,"speed":39,"hex_longitude":"2d1ee340","hex_latitude":"06d06598","is_valid_coordinates":true} 
[2026-11-04 08:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202910976001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20264046544551936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2231533644626155520,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793761381000,"timestamp_ms":1793761381000,"timestamp_seconds":1793761381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4828a88"} 
[2026-11-04 08:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:34: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-11-04 08:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202910976001,"66":28354,"78":206,"2":56576,"24":39,"16":20264046544551936,"45":2231533644626155520},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202910976001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:34:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20264046544551936,"km_value":20264046544551.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2231533644626155520,"description":"Unknown IO ID 45"} 
[2026-11-04 08:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202910976001,"power":28354,"unknown_78":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2231533644626155520}} 
[2026-11-04 08:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":228779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:34:20] local.INFO: GPS data processed {"connection_id":228779,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:34:20] local.INFO: Acknowledgment sent {"connection_id":228779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:34:46] local.INFO: TCP Data received {"connection_id":229269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4829640012d12618006de43b0000a00a82f..."} 
[2026-11-04 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4829640012d12618006de43b0000a00a82f..."} 
[2026-11-04 08:34:46] local.INFO: Processing buffer {"connection_id":229269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4829640012d12618006de43b0000a00a82f..."} 
[2026-11-04 08:34:46] local.INFO: Packet analysis {"connection_id":229269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:46] local.INFO: Extracted packet for processing {"connection_id":229269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":756179328,"raw_latitude":115229616,"longitude_deg":75.6179328,"latitude_deg":11.5229616,"altitude":10,"angle":168,"satellites":47,"speed":47,"hex_longitude":"2d126180","hex_latitude":"06de43b0","is_valid_coordinates":true} 
[2026-11-04 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202912000001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38593034228596736,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1322439838832091136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793761384000,"timestamp_ms":1793761384000,"timestamp_seconds":1793761384,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4829640"} 
[2026-11-04 08:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 08:34:46] 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-11-04 08:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202912000001,"66":27484,"67":206,"81":20480,"24":47,"16":38593034228596736,"45":1322439838832091136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-11-04 08:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202912000001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:34:46] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 08:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38593034228596736,"km_value":38593034228596.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1322439838832091136,"description":"Unknown IO ID 45"} 
[2026-11-04 08:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202912000001,"power":27484,"unknown_67":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1322439838832091136}} 
[2026-11-04 08:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":229269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:34:46] local.INFO: GPS data processed {"connection_id":229269,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:34:46] local.INFO: Acknowledgment sent {"connection_id":229269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:34:51] local.INFO: TCP Data received {"connection_id":228779,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a482b198012d1ed00006d084a0000f014a29..."} 
[2026-11-04 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a482b198012d1ed00006d084a0000f014a29..."} 
[2026-11-04 08:34:51] local.INFO: Processing buffer {"connection_id":228779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a482b198012d1ed00006d084a0000f014a29..."} 
[2026-11-04 08:34:51] local.INFO: Packet analysis {"connection_id":228779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:51] local.INFO: Extracted packet for processing {"connection_id":228779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756994048,"raw_latitude":114328736,"longitude_deg":75.6994048,"latitude_deg":11.4328736,"altitude":15,"angle":330,"satellites":41,"speed":36,"hex_longitude":"2d1ed000","hex_latitude":"06d084a0","is_valid_coordinates":true} 
[2026-11-04 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202913536001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20264497516118016,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2225693038861457408,"note":"Value kept but may cause issues"} 
[2026-11-04 08:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793761391000,"timestamp_ms":1793761391000,"timestamp_seconds":1793761391,"priority":1,"record_length":96,"hex_timestamp":"000001a1a482b198"} 
[2026-11-04 08:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:34:51] 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-11-04 08:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202913536001,"66":28332,"78":206,"2":56576,"24":36,"16":20264497516118016,"45":2225693038861457408},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202913536001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:34:51] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20264497516118016,"km_value":20264497516118.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2225693038861457408,"description":"Unknown IO ID 45"} 
[2026-11-04 08:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202913536001,"power":28332,"unknown_78":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2225693038861457408}} 
[2026-11-04 08:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":228779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:34:51] local.INFO: GPS data processed {"connection_id":228779,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:34:51] local.INFO: Acknowledgment sent {"connection_id":228779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:35:07] local.INFO: TCP Data received {"connection_id":228780,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:35:07] local.INFO: Processing buffer {"connection_id":228780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:35:07] local.INFO: IMEI packet received {"connection_id":228780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":228780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:35:09] local.INFO: TCP Data received {"connection_id":232397,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:35:09] local.INFO: Processing buffer {"connection_id":232397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:35:09] local.INFO: IMEI packet received {"connection_id":232397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":232397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:35:10] local.INFO: TCP Data received {"connection_id":232397,"ip":"117.224.124.11","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232397,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 08:35:10] local.INFO: Processing buffer {"connection_id":232397,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 08:35:10] local.INFO: IMEI packet received {"connection_id":232397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":232397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:35:11] local.INFO: TCP Data received {"connection_id":228780,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:35:11] local.INFO: Processing buffer {"connection_id":228780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:35:11] local.INFO: IMEI packet received {"connection_id":228780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":228780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:35:13] local.INFO: TCP Data received {"connection_id":228780,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a483a7b0012d12e08006dcd4c0000c00932f..."} 
[2026-11-04 08:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a483a7b0012d12e08006dcd4c0000c00932f..."} 
[2026-11-04 08:35:13] local.INFO: Processing buffer {"connection_id":228780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a483a7b0012d12e08006dcd4c0000c00932f..."} 
[2026-11-04 08:35:13] local.INFO: Packet analysis {"connection_id":228780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:13] local.INFO: Extracted packet for processing {"connection_id":228780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:13] local.INFO: GPS Element Parsed {"raw_longitude":756211840,"raw_latitude":115135680,"longitude_deg":75.621184,"latitude_deg":11.513568,"altitude":12,"angle":147,"satellites":47,"speed":59,"hex_longitude":"2d12e080","hex_latitude":"06dcd4c0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202930688001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38597909016477696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1355864992292032512,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761454000,"timestamp_ms":1793761454000,"timestamp_seconds":1793761454,"priority":1,"record_length":96,"hex_timestamp":"000001a1a483a7b0"} 
[2026-11-04 08:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 08:35:13] 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-11-04 08: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-11-04 08:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202930688001,"66":27343,"65":206,"81":20480,"24":59,"16":38597909016477696,"45":1355864992292032512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-11-04 08:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202930688001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:35:13] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-11-04 08:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38597909016477696,"km_value":38597909016477.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1355864992292032512,"description":"Unknown IO ID 45"} 
[2026-11-04 08:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202930688001,"power":27343,"unknown_65":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1355864992292032512}} 
[2026-11-04 08:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":228780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:35:13] local.INFO: GPS data processed {"connection_id":228780,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:35:13] local.INFO: Acknowledgment sent {"connection_id":228780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:35:14] local.INFO: TCP Data received {"connection_id":232397,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:35:14] local.INFO: Processing buffer {"connection_id":232397,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 08:35:14] local.INFO: IMEI packet received {"connection_id":232397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":232397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:35:15] local.INFO: TCP Data received {"connection_id":232397,"ip":"117.224.124.11","data_length":93,"data_hex":"00000000000000518e01000001a1a482d8a8012d1ebc0006d0a508000e01482a..."} 
[2026-11-04 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232397,"packet_length":93,"packet_hex":"00000000000000518e01000001a1a482d8a8012d1ebc0006d0a508000e01482a..."} 
[2026-11-04 08:35:15] local.INFO: Processing buffer {"connection_id":232397,"buffer_length":110,"buffer_hex":"000f38363235363730373136333233323200000000000000518e01000001a1a4..."} 
[2026-11-04 08:35:15] local.INFO: IMEI packet received {"connection_id":232397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":232397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:35:20] local.INFO: TCP Data received {"connection_id":232397,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a482fbd0012d1ea68006d0c538000f01472b..."} 
[2026-11-04 08:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a482fbd0012d1ea68006d0c538000f01472b..."} 
[2026-11-04 08:35:20] local.INFO: Processing buffer {"connection_id":232397,"buffer_length":888,"buffer_hex":"00000000000000518e01000001a1a482d8a8012d1ebc0006d0a508000e01482a..."} 
[2026-11-04 08:35:20] local.INFO: Packet analysis {"connection_id":232397,"data_field_length":81,"total_packet_length":93,"buffer_length":888,"packet_hex_start":"00000000000000518e01000001a1a482"} 
[2026-11-04 08:35:20] local.INFO: Extracted packet for processing {"connection_id":232397,"packet_length":93,"remaining_buffer_length":795,"packet_hex_start":"00000000000000518e01000001a1a482"} 
[2026-11-04 08:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756988928,"raw_latitude":114337032,"longitude_deg":75.6988928,"latitude_deg":11.4337032,"altitude":14,"angle":328,"satellites":42,"speed":39,"hex_longitude":"2d1ebc00","hex_latitude":"06d0a508","is_valid_coordinates":true} 
[2026-11-04 08:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-11-04 08:35:20] 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-11-04 08:35:20] 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-11-04 08:35:20] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:35:20] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 08:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232397,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-11-04 08:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":0} 
[2026-11-04 08:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":0} 
[2026-11-04 08:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 08:35:20] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 08:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":232397,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 08:35:20] local.ERROR: GPS data processing failed {"connection_id":232397,"error":"No valid data to process"} 
[2026-11-04 08:35:20] local.INFO: Acknowledgment sent {"connection_id":232397,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 08:35:20] local.INFO: Packet analysis {"connection_id":232397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:35:20] local.INFO: Extracted packet for processing {"connection_id":232397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a482"} 
[2026-11-04 08:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756983424,"raw_latitude":114345272,"longitude_deg":75.6983424,"latitude_deg":11.4345272,"altitude":15,"angle":327,"satellites":43,"speed":43,"hex_longitude":"2d1ea680","hex_latitude":"06d0c538","is_valid_coordinates":true} 
[2026-11-04 08:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202918656001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20265442408923136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2214645146029721600,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793761410000,"timestamp_ms":1793761410000,"timestamp_seconds":1793761410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a482fbd0"} 
[2026-11-04 08:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 08:35: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-11-04 08:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202918656001,"66":28452,"78":206,"2":56576,"24":43,"16":20265442408923136,"45":2214645146029721600},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202918656001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:35:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20265442408923136,"km_value":20265442408923.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2214645146029721600,"description":"Unknown IO ID 45"} 
[2026-11-04 08:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202918656001,"power":28452,"unknown_78":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":2214645146029721600}} 
[2026-11-04 08:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":232397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:35:20] local.INFO: GPS data processed {"connection_id":232397,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:35:20] local.INFO: Acknowledgment sent {"connection_id":232397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:35:23] local.INFO: TCP Data received {"connection_id":232397,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4831b10012d1e920006d0e418001101482a..."} 
[2026-11-04 08:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4831b10012d1e920006d0e418001101482a..."} 
[2026-11-04 08:35:23] local.INFO: Processing buffer {"connection_id":232397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4831b10012d1e920006d0e418001101482a..."} 
[2026-11-04 08:35:23] local.INFO: Packet analysis {"connection_id":232397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:23] local.INFO: Extracted packet for processing {"connection_id":232397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756978176,"raw_latitude":114353176,"longitude_deg":75.6978176,"latitude_deg":11.4353176,"altitude":17,"angle":328,"satellites":42,"speed":49,"hex_longitude":"2d1e9200","hex_latitude":"06d0e418","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202920960001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20265901970423808,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2208593434032551936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793761418000,"timestamp_ms":1793761418000,"timestamp_seconds":1793761418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4831b10"} 
[2026-11-04 08:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 08:35:23] 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-11-04 08: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-11-04 08:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202920960001,"66":28354,"78":206,"2":56576,"24":49,"16":20265901970423808,"45":2208593434032551936},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202920960001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:35:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20265901970423808,"km_value":20265901970423.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2208593434032551936,"description":"Unknown IO ID 45"} 
[2026-11-04 08:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202920960001,"power":28354,"unknown_78":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2208593434032551936}} 
[2026-11-04 08:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":232397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:35:23] local.INFO: GPS data processed {"connection_id":232397,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:35:23] local.INFO: Acknowledgment sent {"connection_id":232397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:35:45] local.INFO: TCP Data received {"connection_id":228780,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a483a7b0012d12e08006dcd4c0000c00932f..."} 
[2026-11-04 08:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a483a7b0012d12e08006dcd4c0000c00932f..."} 
[2026-11-04 08:35:45] local.INFO: Processing buffer {"connection_id":228780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a483a7b0012d12e08006dcd4c0000c00932f..."} 
[2026-11-04 08:35:45] local.INFO: Packet analysis {"connection_id":228780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:45] local.INFO: Extracted packet for processing {"connection_id":228780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:45] local.INFO: GPS Element Parsed {"raw_longitude":756211840,"raw_latitude":115135680,"longitude_deg":75.621184,"latitude_deg":11.513568,"altitude":12,"angle":147,"satellites":47,"speed":59,"hex_longitude":"2d12e080","hex_latitude":"06dcd4c0","is_valid_coordinates":true} 
[2026-11-04 08:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202932224001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38597909016477696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1360227854428979200,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793761454000,"timestamp_ms":1793761454000,"timestamp_seconds":1793761454,"priority":1,"record_length":96,"hex_timestamp":"000001a1a483a7b0"} 
[2026-11-04 08:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-04 08:35:45] 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-11-04 08:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202932224001,"66":27343,"65":206,"81":20480,"24":59,"16":38597909016477696,"45":1360227854428979200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-11-04 08:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202932224001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:35:45] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-11-04 08:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38597909016477696,"km_value":38597909016477.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1360227854428979200,"description":"Unknown IO ID 45"} 
[2026-11-04 08:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202932224001,"power":27343,"unknown_65":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1360227854428979200}} 
[2026-11-04 08:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":228780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:35:45] local.INFO: GPS data processed {"connection_id":228780,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:35:45] local.INFO: Acknowledgment sent {"connection_id":228780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:35:55] local.INFO: TCP Data received {"connection_id":232397,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4833a50012d1e7c8006d10528001501442a..."} 
[2026-11-04 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4833a50012d1e7c8006d10528001501442a..."} 
[2026-11-04 08:35:55] local.INFO: Processing buffer {"connection_id":232397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4833a50012d1e7c8006d10528001501442a..."} 
[2026-11-04 08:35:55] local.INFO: Packet analysis {"connection_id":232397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:55] local.INFO: Extracted packet for processing {"connection_id":232397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756972672,"raw_latitude":114361640,"longitude_deg":75.6972672,"latitude_deg":11.436164,"altitude":21,"angle":324,"satellites":42,"speed":49,"hex_longitude":"2d1e7c80","hex_latitude":"06d10528","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202923008001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20266387301728256,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2202823197012006912,"note":"Value kept but may cause issues"} 
[2026-11-04 08:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793761426000,"timestamp_ms":1793761426000,"timestamp_seconds":1793761426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4833a50"} 
[2026-11-04 08:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:35:55] 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-11-04 08: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-11-04 08:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":232397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":232397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202923008001,"66":28354,"78":206,"2":56576,"24":49,"16":20266387301728256,"45":2202823197012006912},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202923008001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:35:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20266387301728256,"km_value":20266387301728.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2202823197012006912,"description":"Unknown IO ID 45"} 
[2026-11-04 08:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202923008001,"power":28354,"unknown_78":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":2202823197012006912}} 
[2026-11-04 08:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":232397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:35:55] local.INFO: GPS data processed {"connection_id":232397,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:35:55] local.INFO: Acknowledgment sent {"connection_id":232397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:36:07] local.INFO: TCP Data received {"connection_id":229272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:07] local.INFO: Processing buffer {"connection_id":229272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:07] local.INFO: IMEI packet received {"connection_id":229272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":229272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:36:09] local.INFO: TCP Data received {"connection_id":229271,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:36:09] local.INFO: Processing buffer {"connection_id":229271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:36:09] local.INFO: IMEI packet received {"connection_id":229271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":229271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:36:11] local.INFO: TCP Data received {"connection_id":229272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:11] local.INFO: Processing buffer {"connection_id":229272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:11] local.INFO: IMEI packet received {"connection_id":229272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:36:12] local.INFO: TCP Data received {"connection_id":229272,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:12] local.INFO: Processing buffer {"connection_id":229272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:36:12] local.INFO: IMEI packet received {"connection_id":229272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":229272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:36:13] local.INFO: TCP Data received {"connection_id":229272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a483bf20012d12f38006dcb748000b009230..."} 
[2026-11-04 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a483bf20012d12f38006dcb748000b009230..."} 
[2026-11-04 08:36:13] local.INFO: Processing buffer {"connection_id":229272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a483bf20012d12f38006dcb748000b009230..."} 
[2026-11-04 08:36:13] local.INFO: Packet analysis {"connection_id":229272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:13] local.INFO: Extracted packet for processing {"connection_id":229272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756216704,"raw_latitude":115128136,"longitude_deg":75.6216704,"latitude_deg":11.5128136,"altitude":11,"angle":146,"satellites":48,"speed":59,"hex_longitude":"2d12f380","hex_latitude":"06dcb748","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202932224001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38598342808174592,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1360227854428979200,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761460000,"timestamp_ms":1793761460000,"timestamp_seconds":1793761460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a483bf20"} 
[2026-11-04 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-11-04 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-04 08:36: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-11-04 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-11-04 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-11-04 08:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202932224001,"66":27321,"65":206,"81":20480,"24":59,"16":38598342808174592,"45":1360227854428979200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-11-04 08:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202932224001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:36:13] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-11-04 08:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38598342808174592,"km_value":38598342808174.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1360227854428979200,"description":"Unknown IO ID 45"} 
[2026-11-04 08:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202932224001,"power":27321,"unknown_65":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1360227854428979200}} 
[2026-11-04 08:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":229272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:36:13] local.INFO: GPS data processed {"connection_id":229272,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:36:13] local.INFO: Acknowledgment sent {"connection_id":229272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:36:14] local.INFO: TCP Data received {"connection_id":229271,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:36:14] local.INFO: Processing buffer {"connection_id":229271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:36:14] local.INFO: IMEI packet received {"connection_id":229271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":229271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:36:17] local.INFO: TCP Data received {"connection_id":229271,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4835990012d1e65c006d123b0001501452b..."} 
[2026-11-04 08:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4835990012d1e65c006d123b0001501452b..."} 
[2026-11-04 08:36:17] local.INFO: Processing buffer {"connection_id":229271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4835990012d1e65c006d123b0001501452b..."} 
[2026-11-04 08:36:17] local.INFO: Packet analysis {"connection_id":229271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:17] local.INFO: Extracted packet for processing {"connection_id":229271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756966848,"raw_latitude":114369456,"longitude_deg":75.6966848,"latitude_deg":11.4369456,"altitude":21,"angle":325,"satellites":43,"speed":43,"hex_longitude":"2d1e65c0","hex_latitude":"06d123b0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202925056001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20266855453163520,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2196771485014894592,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793761434000,"timestamp_ms":1793761434000,"timestamp_seconds":1793761434,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4835990"} 
[2026-11-04 08:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:36: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-11-04 08: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-11-04 08:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202925056001,"66":28376,"78":206,"2":56576,"24":43,"16":20266855453163520,"45":2196771485014894592},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-11-04 08:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202925056001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:36:17] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 08:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20266855453163520,"km_value":20266855453163.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2196771485014894592,"description":"Unknown IO ID 45"} 
[2026-11-04 08:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202925056001,"power":28376,"unknown_78":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":2196771485014894592}} 
[2026-11-04 08:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":229271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:36:18] local.INFO: GPS data processed {"connection_id":229271,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:36:18] local.INFO: Acknowledgment sent {"connection_id":229271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:36:18] local.INFO: TCP Data received {"connection_id":229272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a483d690012d1306c006dc9a10000900932f..."} 
[2026-11-04 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a483d690012d1306c006dc9a10000900932f..."} 
[2026-11-04 08:36:18] local.INFO: Processing buffer {"connection_id":229272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a483d690012d1306c006dc9a10000900932f..."} 
[2026-11-04 08:36:18] local.INFO: Packet analysis {"connection_id":229272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:18] local.INFO: Extracted packet for processing {"connection_id":229272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756221632,"raw_latitude":115120656,"longitude_deg":75.6221632,"latitude_deg":11.5120656,"altitude":9,"angle":147,"satellites":47,"speed":58,"hex_longitude":"2d1306c0","hex_latitude":"06dc9a10","is_valid_coordinates":true} 
[2026-11-04 08:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202933760001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38598772304904192,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1365575878984550400,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793761466000,"timestamp_ms":1793761466000,"timestamp_seconds":1793761466,"priority":1,"record_length":96,"hex_timestamp":"000001a1a483d690"} 
[2026-11-04 08:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-11-04 08:36:18] 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-11-04 08:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202933760001,"66":27463,"65":206,"81":20480,"24":58,"16":38598772304904192,"45":1365575878984550400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-11-04 08:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202933760001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:36:18] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-11-04 08:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38598772304904192,"km_value":38598772304904.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1365575878984550400,"description":"Unknown IO ID 45"} 
[2026-11-04 08:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202933760001,"power":27463,"unknown_65":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1365575878984550400}} 
[2026-11-04 08:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":229272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:36:18] local.INFO: GPS data processed {"connection_id":229272,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:36:18] local.INFO: Acknowledgment sent {"connection_id":229272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:36:49] local.INFO: TCP Data received {"connection_id":229271,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4839810012d1e518006d14050001101442a..."} 
[2026-11-04 08:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4839810012d1e518006d14050001101442a..."} 
[2026-11-04 08:36:49] local.INFO: Processing buffer {"connection_id":229271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4839810012d1e518006d14050001101442a..."} 
[2026-11-04 08:36:49] local.INFO: Packet analysis {"connection_id":229271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:49] local.INFO: Extracted packet for processing {"connection_id":229271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756961664,"raw_latitude":114376784,"longitude_deg":75.6961664,"latitude_deg":11.4376784,"altitude":17,"angle":324,"satellites":42,"speed":12,"hex_longitude":"2d1e5180","hex_latitude":"06d14050","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202927104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20267289244860416,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190367929296728064,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:49] 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-11-04 08:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761450000,"timestamp_ms":1793761450000,"timestamp_seconds":1793761450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4839810"} 
[2026-11-04 08:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:36: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-11-04 08: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-11-04 08:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202927104001,"66":28300,"77":206,"2":56576,"24":12,"16":20267289244860416,"45":2190367929296728064},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-11-04 08:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202927104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:36:49] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 08:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20267289244860416,"km_value":20267289244860.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2190367929296728064,"description":"Unknown IO ID 45"} 
[2026-11-04 08:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202927104001,"power":28300,"unknown_77":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":2190367929296728064}} 
[2026-11-04 08:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":229271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:36:50] local.INFO: GPS data processed {"connection_id":229271,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:36:50] local.INFO: Acknowledgment sent {"connection_id":229271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:36:50] local.INFO: TCP Data received {"connection_id":229272,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4853a08012d13aec006dab0f0000a00a62f..."} 
[2026-11-04 08:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4853a08012d13aec006dab0f0000a00a62f..."} 
[2026-11-04 08:36:50] local.INFO: Processing buffer {"connection_id":229272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4853a08012d13aec006dab0f0000a00a62f..."} 
[2026-11-04 08:36:50] local.INFO: Packet analysis {"connection_id":229272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a485"} 
[2026-11-04 08:36:50] local.INFO: Extracted packet for processing {"connection_id":229272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a485"} 
[2026-11-04 08:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756264640,"raw_latitude":114995440,"longitude_deg":75.626464,"latitude_deg":11.499544,"altitude":10,"angle":166,"satellites":47,"speed":59,"hex_longitude":"2d13aec0","hex_latitude":"06dab0f0","is_valid_coordinates":true} 
[2026-11-04 08:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202957312001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38605262000488448,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1417226537178888192,"note":"Value kept but may cause issues"} 
[2026-11-04 08:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793761557000,"timestamp_ms":1793761557000,"timestamp_seconds":1793761557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4853a08"} 
[2026-11-04 08:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 08:36:50] 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-11-04 08:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202957312001,"66":27365,"88":206,"81":20480,"24":59,"16":38605262000488448,"45":1417226537178888192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-11-04 08:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202957312001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:36:50] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-11-04 08:36:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38605262000488448,"km_value":38605262000488.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1417226537178888192,"description":"Unknown IO ID 45"} 
[2026-11-04 08:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202957312001,"power":27365,"unknown_88":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1417226537178888192}} 
[2026-11-04 08:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":229272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:36:50] local.INFO: GPS data processed {"connection_id":229272,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:36:50] local.INFO: Acknowledgment sent {"connection_id":229272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:37:07] local.INFO: TCP Data received {"connection_id":230550,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:07] local.INFO: Processing buffer {"connection_id":230550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:07] local.INFO: IMEI packet received {"connection_id":230550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":230550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:37:07] local.INFO: TCP Data received {"connection_id":230550,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:07] local.INFO: Processing buffer {"connection_id":230550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:07] local.INFO: IMEI packet received {"connection_id":230550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":230550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:37:09] local.INFO: TCP Data received {"connection_id":230549,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:37:09] local.INFO: Processing buffer {"connection_id":230549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:37:09] local.INFO: IMEI packet received {"connection_id":230549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":230549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:37:12] local.INFO: TCP Data received {"connection_id":230550,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:12] local.INFO: Processing buffer {"connection_id":230550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:37:12] local.INFO: IMEI packet received {"connection_id":230550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":230550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:37:12] local.INFO: TCP Data received {"connection_id":230549,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:37:12] local.INFO: Processing buffer {"connection_id":230549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:37:12] local.INFO: IMEI packet received {"connection_id":230549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":230549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:37:13] local.INFO: TCP Data received {"connection_id":230550,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4855178012d13b9c006da8fc0000a009f2f..."} 
[2026-11-04 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4855178012d13b9c006da8fc0000a009f2f..."} 
[2026-11-04 08:37:13] local.INFO: Processing buffer {"connection_id":230550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4855178012d13b9c006da8fc0000a009f2f..."} 
[2026-11-04 08:37:13] local.INFO: Packet analysis {"connection_id":230550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a485"} 
[2026-11-04 08:37:13] local.INFO: Extracted packet for processing {"connection_id":230550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a485"} 
[2026-11-04 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756267456,"raw_latitude":114986944,"longitude_deg":75.6267456,"latitude_deg":11.4986944,"altitude":10,"angle":159,"satellites":47,"speed":59,"hex_longitude":"2d13b9c0","hex_latitude":"06da8fc0","is_valid_coordinates":true} 
[2026-11-04 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202958592001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38605695792185344,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418282068339650560,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,88,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761563000,"timestamp_ms":1793761563000,"timestamp_seconds":1793761563,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4855178"} 
[2026-11-04 08:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 08:37:13] 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-11-04 08:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202958592001,"66":27397,"88":206,"81":20480,"24":59,"16":38605695792185344,"45":1418282068339650560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,81,24,16,45]} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202958592001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:37:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-11-04 08:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38605695792185344,"km_value":38605695792185.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418282068339650560,"description":"Unknown IO ID 45"} 
[2026-11-04 08:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202958592001,"power":27397,"unknown_88":206,"unknown_81":20480,"ignition":59,"odometer":null,"unknown_45":1418282068339650560}} 
[2026-11-04 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":230550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:37:13] local.INFO: GPS data processed {"connection_id":230550,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:37:13] local.INFO: Acknowledgment sent {"connection_id":230550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:37:13] local.INFO: TCP Data received {"connection_id":230549,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a483ea18012d1e3e4006d15d68000e014926..."} 
[2026-11-04 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a483ea18012d1e3e4006d15d68000e014926..."} 
[2026-11-04 08:37:13] local.INFO: Processing buffer {"connection_id":230549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a483ea18012d1e3e4006d15d68000e014926..."} 
[2026-11-04 08:37:13] local.INFO: Packet analysis {"connection_id":230549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:37:13] local.INFO: Extracted packet for processing {"connection_id":230549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a483"} 
[2026-11-04 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":756956736,"raw_latitude":114384232,"longitude_deg":75.6956736,"latitude_deg":11.4384232,"altitude":14,"angle":329,"satellites":38,"speed":26,"hex_longitude":"2d1e3e40","hex_latitude":"06d15d68","is_valid_coordinates":true} 
[2026-11-04 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202931200001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20267723036557312,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2184668061020213248,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37: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-11-04 08:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761471000,"timestamp_ms":1793761471000,"timestamp_seconds":1793761471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a483ea18"} 
[2026-11-04 08:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:37: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-11-04 08:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202931200001,"66":28539,"77":206,"2":56576,"24":26,"16":20267723036557312,"45":2184668061020213248},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-11-04 08:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202931200001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:37:13] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 08:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20267723036557312,"km_value":20267723036557.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2184668061020213248,"description":"Unknown IO ID 45"} 
[2026-11-04 08:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202931200001,"power":28539,"unknown_77":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2184668061020213248}} 
[2026-11-04 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":230549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:37:13] local.INFO: GPS data processed {"connection_id":230549,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:37:13] local.INFO: Acknowledgment sent {"connection_id":230549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:37:41] local.INFO: TCP Data received {"connection_id":232398,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:41] local.INFO: Processing buffer {"connection_id":232398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:41] local.INFO: IMEI packet received {"connection_id":232398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":232398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:37:44] local.INFO: TCP Data received {"connection_id":232398,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:44] local.INFO: Processing buffer {"connection_id":232398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:44] local.INFO: IMEI packet received {"connection_id":232398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":232398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:37:44] local.INFO: TCP Data received {"connection_id":230550,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4862c38012d13d6c006d94f80000d00a52e..."} 
[2026-11-04 08:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4862c38012d13d6c006d94f80000d00a52e..."} 
[2026-11-04 08:37:44] local.INFO: Processing buffer {"connection_id":230550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4862c38012d13d6c006d94f80000d00a52e..."} 
[2026-11-04 08:37:44] local.INFO: Packet analysis {"connection_id":230550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:37:44] local.INFO: Extracted packet for processing {"connection_id":230550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:37:44] local.INFO: GPS Element Parsed {"raw_longitude":756274880,"raw_latitude":114904960,"longitude_deg":75.627488,"latitude_deg":11.490496,"altitude":13,"angle":165,"satellites":46,"speed":58,"hex_longitude":"2d13d6c0","hex_latitude":"06d94f80","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202974464001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38609720176541696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429541067384913920,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793761619000,"timestamp_ms":1793761619000,"timestamp_seconds":1793761619,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4862c38"} 
[2026-11-04 08:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-04 08:37:44] 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-11-04 08: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-11-04 08:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202974464001,"66":27376,"89":206,"81":20480,"24":58,"16":38609720176541696,"45":1429541067384913920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,81,24,16,45]} 
[2026-11-04 08:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202974464001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:37:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-11-04 08:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38609720176541696,"km_value":38609720176541.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429541067384913920,"description":"Unknown IO ID 45"} 
[2026-11-04 08:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202974464001,"power":27376,"unknown_89":206,"unknown_81":20480,"ignition":58,"odometer":null,"unknown_45":1429541067384913920}} 
[2026-11-04 08:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":230550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:37:44] local.INFO: GPS data processed {"connection_id":230550,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:37:44] local.INFO: Acknowledgment sent {"connection_id":230550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:37:44] local.INFO: TCP Data received {"connection_id":232398,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:44] local.INFO: Processing buffer {"connection_id":232398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:44] local.INFO: IMEI packet received {"connection_id":232398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":232398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:37:45] local.INFO: TCP Data received {"connection_id":232398,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232398,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:45] local.INFO: Processing buffer {"connection_id":232398,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:37:45] local.INFO: IMEI packet received {"connection_id":232398,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":232398,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:37:46] local.INFO: TCP Data received {"connection_id":230549,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4860910012d1d808006d24d50000c014322..."} 
[2026-11-04 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4860910012d1d808006d24d50000c014322..."} 
[2026-11-04 08:37:46] local.INFO: Processing buffer {"connection_id":230549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4860910012d1d808006d24d50000c014322..."} 
[2026-11-04 08:37:46] local.INFO: Packet analysis {"connection_id":230549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:37:46] local.INFO: Extracted packet for processing {"connection_id":230549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756908160,"raw_latitude":114445648,"longitude_deg":75.690816,"latitude_deg":11.4445648,"altitude":12,"angle":323,"satellites":34,"speed":42,"hex_longitude":"2d1d8080","hex_latitude":"06d24d50","is_valid_coordinates":true} 
[2026-11-04 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202970880001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20271549852418048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2130061915554922496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793761610000,"timestamp_ms":1793761610000,"timestamp_seconds":1793761610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4860910"} 
[2026-11-04 08:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 08:37:46] 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-11-04 08:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202970880001,"66":28300,"110":206,"2":56576,"24":42,"16":20271549852418048,"45":2130061915554922496},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202970880001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:37:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 08:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20271549852418048,"km_value":20271549852418.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2130061915554922496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202970880001,"power":28300,"unknown_110":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":2130061915554922496}} 
[2026-11-04 08:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":230549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:37:46] local.INFO: GPS data processed {"connection_id":230549,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:37:46] local.INFO: Acknowledgment sent {"connection_id":230549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:37:46] local.INFO: TCP Data received {"connection_id":232398,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4868228012d0dcfc00705cf50001400642a..."} 
[2026-11-04 08:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4868228012d0dcfc00705cf50001400642a..."} 
[2026-11-04 08:37:46] local.INFO: Processing buffer {"connection_id":232398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4868228012d0dcfc00705cf50001400642a..."} 
[2026-11-04 08:37:46] local.INFO: Packet analysis {"connection_id":232398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:37:46] local.INFO: Extracted packet for processing {"connection_id":232398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117821264,"longitude_deg":75.5879872,"latitude_deg":11.7821264,"altitude":20,"angle":100,"satellites":42,"speed":42,"hex_longitude":"2d0dcfc0","hex_latitude":"0705cf50","is_valid_coordinates":true} 
[2026-11-04 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202977536001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39152075761778688,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985021711161243648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793761641000,"timestamp_ms":1793761641000,"timestamp_seconds":1793761641,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4868228"} 
[2026-11-04 08:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 08:37:46] 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-11-04 08:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202977536001,"66":14450,"167":206,"94":11008,"24":42,"16":39152075761778688,"45":985021711161243648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-04 08:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202977536001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:37:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-04 08:37:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39152075761778688,"km_value":39152075761778.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":985021711161243648,"description":"Unknown IO ID 45"} 
[2026-11-04 08:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202977536001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":42,"odometer":null,"unknown_45":985021711161243648}} 
[2026-11-04 08:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":232398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58244,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:37:46] local.INFO: GPS data processed {"connection_id":232398,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:37:46] local.INFO: Acknowledgment sent {"connection_id":232398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:38:09] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:38:09] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:38:09] local.INFO: IMEI packet received {"connection_id":229273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":229273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:38:14] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:38:14] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:38:14] local.INFO: IMEI packet received {"connection_id":229273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":229273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:38:16] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4862850012d1d6b4006d26cc8000c01472a..."} 
[2026-11-04 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4862850012d1d6b4006d26cc8000c01472a..."} 
[2026-11-04 08:38:17] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4862850012d1d6b4006d26cc8000c01472a..."} 
[2026-11-04 08:38:17] local.INFO: Packet analysis {"connection_id":229273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:38:17] local.INFO: Extracted packet for processing {"connection_id":229273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756902720,"raw_latitude":114453704,"longitude_deg":75.690272,"latitude_deg":11.4453704,"altitude":12,"angle":327,"satellites":42,"speed":50,"hex_longitude":"2d1d6b40","hex_latitude":"06d26cc8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202972160001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20272022298820608,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125839790905315328,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793761618000,"timestamp_ms":1793761618000,"timestamp_seconds":1793761618,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4862850"} 
[2026-11-04 08:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:38:17] 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-11-04 08: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-11-04 08:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202972160001,"66":28376,"110":206,"2":56576,"24":50,"16":20272022298820608,"45":2125839790905315328},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-11-04 08:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202972160001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:38:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 08:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20272022298820608,"km_value":20272022298820.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125839790905315328,"description":"Unknown IO ID 45"} 
[2026-11-04 08:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202972160001,"power":28376,"unknown_110":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2125839790905315328}} 
[2026-11-04 08:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":229273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:38:17] local.INFO: GPS data processed {"connection_id":229273,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:38:17] local.INFO: Acknowledgment sent {"connection_id":229273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:38:17] local.INFO: TCP Data received {"connection_id":232399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:38:17] local.INFO: Processing buffer {"connection_id":232399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:38:17] local.INFO: IMEI packet received {"connection_id":232399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":232399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:38:18] local.INFO: TCP Data received {"connection_id":232398,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48731f0012d0e5d800705d5700016004d29..."} 
[2026-11-04 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48731f0012d0e5d800705d5700016004d29..."} 
[2026-11-04 08:38:18] local.INFO: Processing buffer {"connection_id":232398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48731f0012d0e5d800705d5700016004d29..."} 
[2026-11-04 08:38:18] local.INFO: Packet analysis {"connection_id":232398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a487"} 
[2026-11-04 08:38:18] local.INFO: Extracted packet for processing {"connection_id":232398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a487"} 
[2026-11-04 08:38:18] local.INFO: GPS Element Parsed {"raw_longitude":755916160,"raw_latitude":117822832,"longitude_deg":75.591616,"latitude_deg":11.7822832,"altitude":22,"angle":77,"satellites":41,"speed":22,"hex_longitude":"2d0e5d80","hex_latitude":"0705d570","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202990592001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39153836698370048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1032309507248670720,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793761686000,"timestamp_ms":1793761686000,"timestamp_seconds":1793761686,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48731f0"} 
[2026-11-04 08:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232398,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202990592001,"66":14580,"167":206,"94":11008,"24":22,"16":39153836698370048,"45":1032309507248670720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-04 08:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202990592001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:38:18] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-04 08:38:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39153836698370048,"km_value":39153836698370.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1032309507248670720,"description":"Unknown IO ID 45"} 
[2026-11-04 08:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202990592001,"power":14580,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":1032309507248670720}} 
[2026-11-04 08:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":232398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58246,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:38:18] local.INFO: GPS data processed {"connection_id":232398,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:38:18] local.INFO: Acknowledgment sent {"connection_id":232398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:38:18] local.INFO: TCP Data received {"connection_id":232399,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232399,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:38:18] local.INFO: Processing buffer {"connection_id":232399,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:38:18] local.INFO: IMEI packet received {"connection_id":232399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":232399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:38:19] local.INFO: TCP Data received {"connection_id":232399,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:38:19] local.INFO: Processing buffer {"connection_id":232399,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 08:38:19] local.INFO: IMEI packet received {"connection_id":232399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":232399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:38:42] local.INFO: TCP Data received {"connection_id":230551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:42] local.INFO: Processing buffer {"connection_id":230551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:42] local.INFO: IMEI packet received {"connection_id":230551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:38:42] local.INFO: IMEI acknowledgment sent {"connection_id":230551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:38:43] local.INFO: TCP Data received {"connection_id":230551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:43] local.INFO: Processing buffer {"connection_id":230551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:43] local.INFO: IMEI packet received {"connection_id":230551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":230551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:38:48] local.INFO: TCP Data received {"connection_id":229273,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48643a8012d1d59c006d28cc8000b01502a..."} 
[2026-11-04 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48643a8012d1d59c006d28cc8000b01502a..."} 
[2026-11-04 08:38:48] local.INFO: Processing buffer {"connection_id":229273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48643a8012d1d59c006d28cc8000b01502a..."} 
[2026-11-04 08:38:48] local.INFO: Packet analysis {"connection_id":229273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:38:48] local.INFO: Extracted packet for processing {"connection_id":229273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756898240,"raw_latitude":114461896,"longitude_deg":75.689824,"latitude_deg":11.4461896,"altitude":11,"angle":336,"satellites":42,"speed":52,"hex_longitude":"2d1d59c0","hex_latitude":"06d28cc8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202974208001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20272468975419392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2119858447652276224,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793761625000,"timestamp_ms":1793761625000,"timestamp_seconds":1793761625,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48643a8"} 
[2026-11-04 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-11-04 08:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:38: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-11-04 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-11-04 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-11-04 08:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229273,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202974208001,"66":28300,"110":206,"2":56576,"24":52,"16":20272468975419392,"45":2119858447652276224},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-11-04 08:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202974208001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:38:48] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 08:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20272468975419392,"km_value":20272468975419.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2119858447652276224,"description":"Unknown IO ID 45"} 
[2026-11-04 08:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202974208001,"power":28300,"unknown_110":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":2119858447652276224}} 
[2026-11-04 08:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":229273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:38:49] local.INFO: GPS data processed {"connection_id":229273,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:38:49] local.INFO: Acknowledgment sent {"connection_id":229273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:38:49] local.INFO: TCP Data received {"connection_id":230551,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:49] local.INFO: Processing buffer {"connection_id":230551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:38:49] local.INFO: IMEI packet received {"connection_id":230551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":230551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:38:49] local.INFO: TCP Data received {"connection_id":230551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48739c0012d0e61000705d5c80016005d28..."} 
[2026-11-04 08:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48739c0012d0e61000705d5c80016005d28..."} 
[2026-11-04 08:38:49] local.INFO: Processing buffer {"connection_id":230551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48739c0012d0e61000705d5c80016005d28..."} 
[2026-11-04 08:38:49] local.INFO: Packet analysis {"connection_id":230551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a487"} 
[2026-11-04 08:38:49] local.INFO: Extracted packet for processing {"connection_id":230551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a487"} 
[2026-11-04 08:38:49] local.INFO: GPS Element Parsed {"raw_longitude":755917056,"raw_latitude":117822920,"longitude_deg":75.5917056,"latitude_deg":11.782292,"altitude":22,"angle":93,"satellites":40,"speed":14,"hex_longitude":"2d0e6100","hex_latitude":"0705d5c8","is_valid_coordinates":true} 
[2026-11-04 08:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202991616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39153879648043008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1035124257016082432,"note":"Value kept but may cause issues"} 
[2026-11-04 08:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761688000,"timestamp_ms":1793761688000,"timestamp_seconds":1793761688,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48739c0"} 
[2026-11-04 08:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 08:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202991616001,"66":14135,"165":206,"94":11008,"24":14,"16":39153879648043008,"45":1035124257016082432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202991616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:38:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:38:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39153879648043008,"km_value":39153879648043.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1035124257016082432,"description":"Unknown IO ID 45"} 
[2026-11-04 08:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202991616001,"power":14135,"unknown_165":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":1035124257016082432}} 
[2026-11-04 08:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":230551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58248,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:38:50] local.INFO: GPS data processed {"connection_id":230551,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:38:50] local.INFO: Acknowledgment sent {"connection_id":230551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:39:10] local.INFO: TCP Data received {"connection_id":228781,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:10] local.INFO: Processing buffer {"connection_id":228781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:10] local.INFO: IMEI packet received {"connection_id":228781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":228781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:39:10] local.INFO: TCP Data received {"connection_id":228781,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:10] local.INFO: Processing buffer {"connection_id":228781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:10] local.INFO: IMEI packet received {"connection_id":228781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":228781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:39:14] local.INFO: TCP Data received {"connection_id":228781,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:14] local.INFO: Processing buffer {"connection_id":228781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:39:14] local.INFO: IMEI packet received {"connection_id":228781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":228781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:39:18] local.INFO: TCP Data received {"connection_id":228781,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4865f00012d1d4b0006d2ada0000d014b26..."} 
[2026-11-04 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4865f00012d1d4b0006d2ada0000d014b26..."} 
[2026-11-04 08:39:18] local.INFO: Processing buffer {"connection_id":228781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4865f00012d1d4b0006d2ada0000d014b26..."} 
[2026-11-04 08:39:18] local.INFO: Packet analysis {"connection_id":228781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:39:18] local.INFO: Extracted packet for processing {"connection_id":228781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a486"} 
[2026-11-04 08:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756894464,"raw_latitude":114470304,"longitude_deg":75.6894464,"latitude_deg":11.4470304,"altitude":13,"angle":331,"satellites":38,"speed":52,"hex_longitude":"2d1d4b00","hex_latitude":"06d2ada0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459202976000001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20272915652018176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2114932635561936896,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793761632000,"timestamp_ms":1793761632000,"timestamp_seconds":1793761632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4865f00"} 
[2026-11-04 08:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:39:18] 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-11-04 08: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-11-04 08:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459202976000001,"66":28354,"110":206,"2":56576,"24":52,"16":20272915652018176,"45":2114932635561936896},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-11-04 08:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459202976000001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:39:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 08:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20272915652018176,"km_value":20272915652018.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2114932635561936896,"description":"Unknown IO ID 45"} 
[2026-11-04 08:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459202976000001,"power":28354,"unknown_110":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":2114932635561936896}} 
[2026-11-04 08:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":228781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:39:18] local.INFO: GPS data processed {"connection_id":228781,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:39:18] local.INFO: Acknowledgment sent {"connection_id":228781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:39:20] local.INFO: TCP Data received {"connection_id":230551,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4884360012d0e658007063098001d01582b..."} 
[2026-11-04 08:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4884360012d0e658007063098001d01582b..."} 
[2026-11-04 08:39:20] local.INFO: Processing buffer {"connection_id":230551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4884360012d0e658007063098001d01582b..."} 
[2026-11-04 08:39:20] local.INFO: Packet analysis {"connection_id":230551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a488"} 
[2026-11-04 08:39:20] local.INFO: Extracted packet for processing {"connection_id":230551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a488"} 
[2026-11-04 08:39:20] local.INFO: GPS Element Parsed {"raw_longitude":755918208,"raw_latitude":117846168,"longitude_deg":75.5918208,"latitude_deg":11.7846168,"altitude":29,"angle":344,"satellites":43,"speed":11,"hex_longitude":"2d0e6580","hex_latitude":"07063098","is_valid_coordinates":true} 
[2026-11-04 08:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203009024001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39155172433199104,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037727900556507136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793761756000,"timestamp_ms":1793761756000,"timestamp_seconds":1793761756,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4884360"} 
[2026-11-04 08:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:39: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-11-04 08:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203009024001,"66":14667,"165":206,"94":11008,"24":11,"16":39155172433199104,"45":1037727900556507136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203009024001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:39:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:39:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39155172433199104,"km_value":39155172433199.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037727900556507136,"description":"Unknown IO ID 45"} 
[2026-11-04 08:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203009024001,"power":14667,"unknown_165":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1037727900556507136}} 
[2026-11-04 08:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":230551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58250,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:39:21] local.INFO: GPS data processed {"connection_id":230551,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:39:21] local.INFO: Acknowledgment sent {"connection_id":230551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:39:42] local.INFO: TCP Data received {"connection_id":232401,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:42] local.INFO: Processing buffer {"connection_id":232401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:42] local.INFO: IMEI packet received {"connection_id":232401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":232401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:39:43] local.INFO: TCP Data received {"connection_id":232401,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:43] local.INFO: Processing buffer {"connection_id":232401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:43] local.INFO: IMEI packet received {"connection_id":232401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":232401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:39:49] local.INFO: TCP Data received {"connection_id":232401,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232401,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:49] local.INFO: Processing buffer {"connection_id":232401,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:39:49] local.INFO: IMEI packet received {"connection_id":232401,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":232401,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:39:49] local.INFO: TCP Data received {"connection_id":232401,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4884748012d0e658007063180001d01672b..."} 
[2026-11-04 08:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4884748012d0e658007063180001d01672b..."} 
[2026-11-04 08:39:49] local.INFO: Processing buffer {"connection_id":232401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4884748012d0e658007063180001d01672b..."} 
[2026-11-04 08:39:49] local.INFO: Packet analysis {"connection_id":232401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a488"} 
[2026-11-04 08:39:49] local.INFO: Extracted packet for processing {"connection_id":232401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a488"} 
[2026-11-04 08:39:49] local.INFO: GPS Element Parsed {"raw_longitude":755918208,"raw_latitude":117846400,"longitude_deg":75.5918208,"latitude_deg":11.78464,"altitude":29,"angle":359,"satellites":43,"speed":9,"hex_longitude":"2d0e6580","hex_latitude":"07063180","is_valid_coordinates":true} 
[2026-11-04 08:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203009536001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39155181023133696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037376056835741696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761757000,"timestamp_ms":1793761757000,"timestamp_seconds":1793761757,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4884748"} 
[2026-11-04 08:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 08:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1158,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203009536001,"66":14667,"165":206,"94":11008,"24":9,"16":39155181023133696,"45":1037376056835741696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203009536001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:39:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:39:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39155181023133696,"km_value":39155181023133.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037376056835741696,"description":"Unknown IO ID 45"} 
[2026-11-04 08:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203009536001,"power":14667,"unknown_165":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":1037376056835741696}} 
[2026-11-04 08:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":232401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58251,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:39:50] local.INFO: GPS data processed {"connection_id":232401,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:39:50] local.INFO: Acknowledgment sent {"connection_id":232401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:40:21] local.INFO: TCP Data received {"connection_id":232401,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4890a98012d0e32c007064d680024014d29..."} 
[2026-11-04 08:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4890a98012d0e32c007064d680024014d29..."} 
[2026-11-04 08:40:21] local.INFO: Processing buffer {"connection_id":232401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4890a98012d0e32c007064d680024014d29..."} 
[2026-11-04 08:40:21] local.INFO: Packet analysis {"connection_id":232401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a489"} 
[2026-11-04 08:40:21] local.INFO: Extracted packet for processing {"connection_id":232401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a489"} 
[2026-11-04 08:40:21] local.INFO: GPS Element Parsed {"raw_longitude":755905216,"raw_latitude":117853544,"longitude_deg":75.5905216,"latitude_deg":11.7853544,"altitude":36,"angle":333,"satellites":41,"speed":16,"hex_longitude":"2d0e32c0","hex_latitude":"07064d68","is_valid_coordinates":true} 
[2026-11-04 08:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203021056001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39156040016592896,"note":"Value kept but may cause issues"} 
[2026-11-04 08:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023794889210816512,"note":"Value kept but may cause issues"} 
[2026-11-04 08:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793761807000,"timestamp_ms":1793761807000,"timestamp_seconds":1793761807,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4890a98"} 
[2026-11-04 08:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 08:40:21] 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-11-04 08:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232401,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203021056001,"66":14428,"165":206,"94":11008,"24":16,"16":39156040016592896,"45":1023794889210816512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203021056001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:40:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:40:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39156040016592896,"km_value":39156040016592.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023794889210816512,"description":"Unknown IO ID 45"} 
[2026-11-04 08:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203021056001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":1023794889210816512}} 
[2026-11-04 08:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":232401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58252,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:40:21] local.INFO: GPS data processed {"connection_id":232401,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:40:21] local.INFO: Acknowledgment sent {"connection_id":232401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:40:43] local.INFO: TCP Data received {"connection_id":228782,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228782,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:40:43] local.INFO: Processing buffer {"connection_id":228782,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:40:43] local.INFO: IMEI packet received {"connection_id":228782,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":228782,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:40:49] local.INFO: TCP Data received {"connection_id":228782,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228782,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:40:49] local.INFO: Processing buffer {"connection_id":228782,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:40:49] local.INFO: IMEI packet received {"connection_id":228782,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":228782,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:40:49] local.INFO: TCP Data received {"connection_id":230553,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:40:49] local.INFO: Processing buffer {"connection_id":230553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:40:49] local.INFO: IMEI packet received {"connection_id":230553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":230553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:40:51] local.INFO: TCP Data received {"connection_id":228782,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4891650012d0e3100070651a00023015b29..."} 
[2026-11-04 08:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4891650012d0e3100070651a00023015b29..."} 
[2026-11-04 08:40:51] local.INFO: Processing buffer {"connection_id":228782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4891650012d0e3100070651a00023015b29..."} 
[2026-11-04 08:40:51] local.INFO: Packet analysis {"connection_id":228782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a489"} 
[2026-11-04 08:40:51] local.INFO: Extracted packet for processing {"connection_id":228782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a489"} 
[2026-11-04 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117854624,"longitude_deg":75.5904768,"latitude_deg":11.7854624,"altitude":35,"angle":347,"satellites":41,"speed":12,"hex_longitude":"2d0e3100","hex_latitude":"070651a0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203022592001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39156095851167744,"note":"Value kept but may cause issues"} 
[2026-11-04 08:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1023091201769564160,"note":"Value kept but may cause issues"} 
[2026-11-04 08:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793761810000,"timestamp_ms":1793761810000,"timestamp_seconds":1793761810,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4891650"} 
[2026-11-04 08:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 08:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203022592001,"66":14744,"165":206,"94":11008,"24":12,"16":39156095851167744,"45":1023091201769564160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203022592001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:40:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39156095851167744,"km_value":39156095851167.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1023091201769564160,"description":"Unknown IO ID 45"} 
[2026-11-04 08:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203022592001,"power":14744,"unknown_165":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":1023091201769564160}} 
[2026-11-04 08:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":228782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58253,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:40:51] local.INFO: GPS data processed {"connection_id":228782,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:40:51] local.INFO: Acknowledgment sent {"connection_id":228782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:40:52] local.INFO: TCP Data received {"connection_id":230553,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:40:52] local.INFO: Processing buffer {"connection_id":230553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:40:52] local.INFO: IMEI packet received {"connection_id":230553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":230553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:41:18] local.INFO: TCP Data received {"connection_id":228783,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:41:18] local.INFO: Processing buffer {"connection_id":228783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:41:18] local.INFO: IMEI packet received {"connection_id":228783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":228783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:41:19] local.INFO: TCP Data received {"connection_id":228783,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:41:19] local.INFO: Processing buffer {"connection_id":228783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:41:19] local.INFO: IMEI packet received {"connection_id":228783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":228783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:41:22] local.INFO: TCP Data received {"connection_id":228782,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4891a38012d0e3100070652c80023000429..."} 
[2026-11-04 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4891a38012d0e3100070652c80023000429..."} 
[2026-11-04 08:41:22] local.INFO: Processing buffer {"connection_id":228782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4891a38012d0e3100070652c80023000429..."} 
[2026-11-04 08:41:22] local.INFO: Packet analysis {"connection_id":228782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a489"} 
[2026-11-04 08:41:22] local.INFO: Extracted packet for processing {"connection_id":228782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a489"} 
[2026-11-04 08:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117854920,"longitude_deg":75.5904768,"latitude_deg":11.785492,"altitude":35,"angle":4,"satellites":41,"speed":11,"hex_longitude":"2d0e3100","hex_latitude":"070652c8","is_valid_coordinates":true} 
[2026-11-04 08:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203023360001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39156108736069632,"note":"Value kept but may cause issues"} 
[2026-11-04 08:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620560596992,"note":"Value kept but may cause issues"} 
[2026-11-04 08:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793761811000,"timestamp_ms":1793761811000,"timestamp_seconds":1793761811,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4891a38"} 
[2026-11-04 08:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 08:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1851,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228782,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203023360001,"66":14744,"165":206,"94":11008,"24":11,"16":39156108736069632,"45":1022598620560596992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203023360001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:41:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39156108736069632,"km_value":39156108736069.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620560596992,"description":"Unknown IO ID 45"} 
[2026-11-04 08:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203023360001,"power":14744,"unknown_165":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1022598620560596992}} 
[2026-11-04 08:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":228782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58254,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:41:22] local.INFO: GPS data processed {"connection_id":228782,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:41:22] local.INFO: Acknowledgment sent {"connection_id":228782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:41:43] local.INFO: TCP Data received {"connection_id":230554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:41:43] local.INFO: Processing buffer {"connection_id":230554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:41:43] local.INFO: IMEI packet received {"connection_id":230554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":230554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:41:49] local.INFO: TCP Data received {"connection_id":230554,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:41:49] local.INFO: Processing buffer {"connection_id":230554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:41:49] local.INFO: IMEI packet received {"connection_id":230554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":230554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:41:49] local.INFO: TCP Data received {"connection_id":230554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48a5a88012d0e2500070682f0001f01282a..."} 
[2026-11-04 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48a5a88012d0e2500070682f0001f01282a..."} 
[2026-11-04 08:41:49] local.INFO: Processing buffer {"connection_id":230554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48a5a88012d0e2500070682f0001f01282a..."} 
[2026-11-04 08:41:49] local.INFO: Packet analysis {"connection_id":230554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48a"} 
[2026-11-04 08:41:49] local.INFO: Extracted packet for processing {"connection_id":230554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48a"} 
[2026-11-04 08:41:49] local.INFO: GPS Element Parsed {"raw_longitude":755901696,"raw_latitude":117867248,"longitude_deg":75.5901696,"latitude_deg":11.7867248,"altitude":31,"angle":296,"satellites":42,"speed":17,"hex_longitude":"2d0e2500","hex_latitude":"070682f0","is_valid_coordinates":true} 
[2026-11-04 08:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203043328001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39156847470444544,"note":"Value kept but may cause issues"} 
[2026-11-04 08:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020417189494157312,"note":"Value kept but may cause issues"} 
[2026-11-04 08:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761893000,"timestamp_ms":1793761893000,"timestamp_seconds":1793761893,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48a5a88"} 
[2026-11-04 08:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 08:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203043328001,"66":14559,"165":206,"94":11008,"24":17,"16":39156847470444544,"45":1020417189494157312},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203043328001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:41:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:41:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 08:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39156847470444544,"km_value":39156847470444.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020417189494157312,"description":"Unknown IO ID 45"} 
[2026-11-04 08:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203043328001,"power":14559,"unknown_165":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":1020417189494157312}} 
[2026-11-04 08:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":230554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58255,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:41:50] local.INFO: GPS data processed {"connection_id":230554,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:41:50] local.INFO: Acknowledgment sent {"connection_id":230554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:42:20] local.INFO: TCP Data received {"connection_id":230554,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48b0280012d0e020007068ff00019015e2b..."} 
[2026-11-04 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48b0280012d0e020007068ff00019015e2b..."} 
[2026-11-04 08:42:20] local.INFO: Processing buffer {"connection_id":230554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48b0280012d0e020007068ff00019015e2b..."} 
[2026-11-04 08:42:20] local.INFO: Packet analysis {"connection_id":230554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:42:20] local.INFO: Extracted packet for processing {"connection_id":230554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":755892736,"raw_latitude":117870576,"longitude_deg":75.5892736,"latitude_deg":11.7870576,"altitude":25,"angle":350,"satellites":43,"speed":9,"hex_longitude":"2d0e0200","hex_latitude":"07068ff0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203055360001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157362866520064,"note":"Value kept but may cause issues"} 
[2026-11-04 08:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403400192,"note":"Value kept but may cause issues"} 
[2026-11-04 08:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793761936000,"timestamp_ms":1793761936000,"timestamp_seconds":1793761936,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b0280"} 
[2026-11-04 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-11-04 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 08:42:20] 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-11-04 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-11-04 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-11-04 08:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203055360001,"66":14439,"219":206,"94":10240,"24":9,"16":39157362866520064,"45":1009439665403400192},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203055360001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:42:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:42:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157362866520064,"km_value":39157362866520.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403400192,"description":"Unknown IO ID 45"} 
[2026-11-04 08:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203055360001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1009439665403400192}} 
[2026-11-04 08:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":230554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58256,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:42:21] local.INFO: GPS data processed {"connection_id":230554,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:42:21] local.INFO: Acknowledgment sent {"connection_id":230554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:42:49] local.INFO: TCP Data received {"connection_id":229275,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:49] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:49] local.INFO: IMEI packet received {"connection_id":229275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":229275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:42:49] local.INFO: TCP Data received {"connection_id":229275,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:49] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:49] local.INFO: IMEI packet received {"connection_id":229275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":229275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:42:54] local.INFO: TCP Data received {"connection_id":229275,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:54] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:42:54] local.INFO: IMEI packet received {"connection_id":229275,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":229275,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:42:54] local.INFO: TCP Data received {"connection_id":229275,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48b0668012d0e0200070690d00019000a2c..."} 
[2026-11-04 08:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48b0668012d0e0200070690d00019000a2c..."} 
[2026-11-04 08:42:54] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48b0668012d0e0200070690d00019000a2c..."} 
[2026-11-04 08:42:54] local.INFO: Packet analysis {"connection_id":229275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:42:54] local.INFO: Extracted packet for processing {"connection_id":229275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":755892736,"raw_latitude":117870800,"longitude_deg":75.5892736,"latitude_deg":11.78708,"altitude":25,"angle":10,"satellites":44,"speed":9,"hex_longitude":"2d0e0200","hex_latitude":"070690d0","is_valid_coordinates":true} 
[2026-11-04 08:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203055616001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157371456454656,"note":"Value kept but may cause issues"} 
[2026-11-04 08:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009369296659279872,"note":"Value kept but may cause issues"} 
[2026-11-04 08:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793761937000,"timestamp_ms":1793761937000,"timestamp_seconds":1793761937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b0668"} 
[2026-11-04 08:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203055616001,"66":14439,"219":206,"94":10240,"24":9,"16":39157371456454656,"45":1009369296659279872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203055616001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:42:54] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:42:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157371456454656,"km_value":39157371456454.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009369296659279872,"description":"Unknown IO ID 45"} 
[2026-11-04 08:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203055616001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1009369296659279872}} 
[2026-11-04 08:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":229275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58257,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:42:55] local.INFO: GPS data processed {"connection_id":229275,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:42:55] local.INFO: Acknowledgment sent {"connection_id":229275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:43:00] local.INFO: TCP Data received {"connection_id":229275,"ip":"42.109.136.4","data_length":1340,"data_hex":"000000000000030f8e0a000001a1a48b0a50012d0e0240070691800018001b2c..."} 
[2026-11-04 08:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a1a48b0a50012d0e0240070691800018001b2c..."} 
[2026-11-04 08:43:00] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a1a48b0a50012d0e0240070691800018001b2c..."} 
[2026-11-04 08:43:00] local.INFO: Packet analysis {"connection_id":229275,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:43:00] local.INFO: Extracted packet for processing {"connection_id":229275,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:43:00] local.INFO: GPS Element Parsed {"raw_longitude":755892800,"raw_latitude":117870976,"longitude_deg":75.58928,"latitude_deg":11.7870976,"altitude":24,"angle":27,"satellites":44,"speed":6,"hex_longitude":"2d0e0240","hex_latitude":"07069180","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203055872001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157380046389248,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009369296659337216,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793761938000,"timestamp_ms":1793761938000,"timestamp_seconds":1793761938,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b0a50"} 
[2026-11-04 08:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203055872001,"66":14428,"219":206,"94":10240,"24":6,"16":39157380046389248,"45":1009369296659337216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203055872001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:43:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:43:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157380046389248,"km_value":39157380046389.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009369296659337216,"description":"Unknown IO ID 45"} 
[2026-11-04 08:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203055872001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1009369296659337216}} 
[2026-11-04 08:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":229275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58258,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:43:00] local.INFO: GPS data processed {"connection_id":229275,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:43:00] local.INFO: Acknowledgment sent {"connection_id":229275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:43:00] local.INFO: Packet analysis {"connection_id":229275,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:43:00] local.INFO: Incomplete packet, waiting for more data {"connection_id":229275,"needed":795,"available":545} 
[2026-11-04 08:43:01] local.INFO: TCP Data received {"connection_id":229275,"ip":"42.109.136.4","data_length":250,"data_hex":"e30010008b1d6300000000000001a1a48aeef8012d0e050007068ee8001800f3..."} 
[2026-11-04 08:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229275,"packet_length":250,"packet_hex":"e30010008b1d6300000000000001a1a48aeef8012d0e050007068ee8001800f3..."} 
[2026-11-04 08:43:01] local.INFO: Processing buffer {"connection_id":229275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48b0e38012d0e02c0070691d80019004229..."} 
[2026-11-04 08:43:01] local.INFO: Packet analysis {"connection_id":229275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:43:01] local.INFO: Extracted packet for processing {"connection_id":229275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:43:01] local.INFO: GPS Element Parsed {"raw_longitude":755892928,"raw_latitude":117871064,"longitude_deg":75.5892928,"latitude_deg":11.7871064,"altitude":25,"angle":66,"satellites":41,"speed":7,"hex_longitude":"2d0e02c0","hex_latitude":"070691d8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203056128001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157388636323840,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009439665403559936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793761939000,"timestamp_ms":1793761939000,"timestamp_seconds":1793761939,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b0e38"} 
[2026-11-04 08:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 08:43: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-11-04 08: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-11-04 08:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229275,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203056128001,"66":14548,"219":206,"94":10240,"24":7,"16":39157388636323840,"45":1009439665403559936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203056128001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:43:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:43:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157388636323840,"km_value":39157388636323.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009439665403559936,"description":"Unknown IO ID 45"} 
[2026-11-04 08:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203056128001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1009439665403559936}} 
[2026-11-04 08:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":229275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58259,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:43:01] local.INFO: GPS data processed {"connection_id":229275,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:43:01] local.INFO: Acknowledgment sent {"connection_id":229275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:43:29] local.INFO: TCP Data received {"connection_id":232403,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:43:29] local.INFO: Processing buffer {"connection_id":232403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:43:29] local.INFO: IMEI packet received {"connection_id":232403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":232403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:43:31] local.INFO: TCP Data received {"connection_id":232403,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48aeef8012d1800c006d61d80000800682d..."} 
[2026-11-04 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48aeef8012d1800c006d61d80000800682d..."} 
[2026-11-04 08:43:31] local.INFO: Processing buffer {"connection_id":232403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48aeef8012d1800c006d61d80000800682d..."} 
[2026-11-04 08:43:31] local.INFO: Packet analysis {"connection_id":232403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48a"} 
[2026-11-04 08:43:31] local.INFO: Extracted packet for processing {"connection_id":232403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48a"} 
[2026-11-04 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":756547776,"raw_latitude":114695552,"longitude_deg":75.6547776,"latitude_deg":11.4695552,"altitude":8,"angle":104,"satellites":45,"speed":51,"hex_longitude":"2d1800c0","hex_latitude":"06d61d80","is_valid_coordinates":true} 
[2026-11-04 08:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203052544001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38627393966964736,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719952874553131008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793761931000,"timestamp_ms":1793761931000,"timestamp_seconds":1793761931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48aeef8"} 
[2026-11-04 08:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 08:43: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-11-04 08:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203052544001,"66":27365,"160":206,"81":20480,"24":51,"16":38627393966964736,"45":1719952874553131008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-11-04 08:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203052544001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:43:31] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-11-04 08:43:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38627393966964736,"km_value":38627393966964.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719952874553131008,"description":"Unknown IO ID 45"} 
[2026-11-04 08:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203052544001,"power":27365,"unknown_160":206,"unknown_81":20480,"ignition":51,"odometer":null,"unknown_45":1719952874553131008}} 
[2026-11-04 08:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":232403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:43:31] local.INFO: GPS data processed {"connection_id":232403,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:43:31] local.INFO: Acknowledgment sent {"connection_id":232403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:43:44] local.INFO: TCP Data received {"connection_id":230555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:43:44] local.INFO: Processing buffer {"connection_id":230555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:43:44] local.INFO: IMEI packet received {"connection_id":230555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":230555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:43:48] local.INFO: TCP Data received {"connection_id":230555,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230555,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:43:48] local.INFO: Processing buffer {"connection_id":230555,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:43:48] local.INFO: IMEI packet received {"connection_id":230555,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":230555,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:43:49] local.INFO: TCP Data received {"connection_id":230555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48b1220012d0e03c0070691f80018005b2a..."} 
[2026-11-04 08:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48b1220012d0e03c0070691f80018005b2a..."} 
[2026-11-04 08:43:49] local.INFO: Processing buffer {"connection_id":230555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48b1220012d0e03c0070691f80018005b2a..."} 
[2026-11-04 08:43:49] local.INFO: Packet analysis {"connection_id":230555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:43:49] local.INFO: Extracted packet for processing {"connection_id":230555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:43:49] local.INFO: GPS Element Parsed {"raw_longitude":755893184,"raw_latitude":117871096,"longitude_deg":75.5893184,"latitude_deg":11.7871096,"altitude":24,"angle":91,"satellites":42,"speed":9,"hex_longitude":"2d0e03c0","hex_latitude":"070691f8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203056384001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157401521225728,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009580402891937792,"note":"Value kept but may cause issues"} 
[2026-11-04 08:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793761940000,"timestamp_ms":1793761940000,"timestamp_seconds":1793761940,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b1220"} 
[2026-11-04 08:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203056384001,"66":14548,"219":206,"94":10240,"24":9,"16":39157401521225728,"45":1009580402891937792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203056384001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:43:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:43:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157401521225728,"km_value":39157401521225.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009580402891937792,"description":"Unknown IO ID 45"} 
[2026-11-04 08:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203056384001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1009580402891937792}} 
[2026-11-04 08:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":230555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58261,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:43:49] local.INFO: GPS data processed {"connection_id":230555,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:43:49] local.INFO: Acknowledgment sent {"connection_id":230555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:44:07] local.INFO: TCP Data received {"connection_id":232405,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:07] local.INFO: Processing buffer {"connection_id":232405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:07] local.INFO: IMEI packet received {"connection_id":232405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":232405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:44:07] local.INFO: TCP Data received {"connection_id":232405,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:07] local.INFO: Processing buffer {"connection_id":232405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:07] local.INFO: IMEI packet received {"connection_id":232405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":232405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:44:12] local.INFO: TCP Data received {"connection_id":232405,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:12] local.INFO: Processing buffer {"connection_id":232405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:44:12] local.INFO: IMEI packet received {"connection_id":232405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":232405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:44:13] local.INFO: TCP Data received {"connection_id":232405,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48b0e38012d18248006d61480000800672a..."} 
[2026-11-04 08:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48b0e38012d18248006d61480000800672a..."} 
[2026-11-04 08:44:13] local.INFO: Processing buffer {"connection_id":232405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48b0e38012d18248006d61480000800672a..."} 
[2026-11-04 08:44:13] local.INFO: Packet analysis {"connection_id":232405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:44:13] local.INFO: Extracted packet for processing {"connection_id":232405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":114693248,"longitude_deg":75.6556928,"latitude_deg":11.4693248,"altitude":8,"angle":103,"satellites":42,"speed":38,"hex_longitude":"2d182480","hex_latitude":"06d61480","is_valid_coordinates":true} 
[2026-11-04 08:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203054336001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38627844938530816,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1729593392504864768,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793761939000,"timestamp_ms":1793761939000,"timestamp_seconds":1793761939,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b0e38"} 
[2026-11-04 08:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 08:44:13] 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-11-04 08:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203054336001,"66":27517,"160":206,"81":20480,"24":38,"16":38627844938530816,"45":1729593392504864768},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-11-04 08:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203054336001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:44:13] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-11-04 08:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38627844938530816,"km_value":38627844938530.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1729593392504864768,"description":"Unknown IO ID 45"} 
[2026-11-04 08:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203054336001,"power":27517,"unknown_160":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1729593392504864768}} 
[2026-11-04 08:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":232405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:44:13] local.INFO: GPS data processed {"connection_id":232405,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:44:13] local.INFO: Acknowledgment sent {"connection_id":232405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:44:20] local.INFO: TCP Data received {"connection_id":230555,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48b1608012d0e0480070691b00018006c2a..."} 
[2026-11-04 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48b1608012d0e0480070691b00018006c2a..."} 
[2026-11-04 08:44:20] local.INFO: Processing buffer {"connection_id":230555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48b1608012d0e0480070691b00018006c2a..."} 
[2026-11-04 08:44:20] local.INFO: Packet analysis {"connection_id":230555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:44:20] local.INFO: Extracted packet for processing {"connection_id":230555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:44:20] local.INFO: GPS Element Parsed {"raw_longitude":755893376,"raw_latitude":117871024,"longitude_deg":75.5893376,"latitude_deg":11.7871024,"altitude":24,"angle":108,"satellites":42,"speed":11,"hex_longitude":"2d0e0480","hex_latitude":"070691b0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203056640001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157410111160320,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009861877868656640,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793761941000,"timestamp_ms":1793761941000,"timestamp_seconds":1793761941,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b1608"} 
[2026-11-04 08:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 08:44:20] 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-11-04 08: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-11-04 08:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230555,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203056640001,"66":14548,"219":206,"94":10240,"24":11,"16":39157410111160320,"45":1009861877868656640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203056640001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:44:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:44:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157410111160320,"km_value":39157410111160.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009861877868656640,"description":"Unknown IO ID 45"} 
[2026-11-04 08:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203056640001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":1009861877868656640}} 
[2026-11-04 08:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":230555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58263,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:44:20] local.INFO: GPS data processed {"connection_id":230555,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:44:20] local.INFO: Acknowledgment sent {"connection_id":230555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:44:43] local.INFO: TCP Data received {"connection_id":229277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:43] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:43] local.INFO: IMEI packet received {"connection_id":229277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":229277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:44:44] local.INFO: TCP Data received {"connection_id":229277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:44] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:44] local.INFO: IMEI packet received {"connection_id":229277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":229277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:44:46] local.INFO: TCP Data received {"connection_id":229277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:46] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:46] local.INFO: IMEI packet received {"connection_id":229277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":229277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:44:49] local.INFO: TCP Data received {"connection_id":229277,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:49] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:44:49] local.INFO: IMEI packet received {"connection_id":229277,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":229277,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:44:50] local.INFO: TCP Data received {"connection_id":229277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48cfe50012d0e10c007068880001d005629..."} 
[2026-11-04 08:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48cfe50012d0e10c007068880001d005629..."} 
[2026-11-04 08:44:50] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48cfe50012d0e10c007068880001d005629..."} 
[2026-11-04 08:44:50] local.INFO: Packet analysis {"connection_id":229277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:44:50] local.INFO: Extracted packet for processing {"connection_id":229277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:44:50] local.INFO: GPS Element Parsed {"raw_longitude":755896512,"raw_latitude":117868672,"longitude_deg":75.5896512,"latitude_deg":11.7868672,"altitude":29,"angle":86,"satellites":41,"speed":9,"hex_longitude":"2d0e10c0","hex_latitude":"07068880","is_valid_coordinates":true} 
[2026-11-04 08:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203083008001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157637744427008,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013239577588514816,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793762066000,"timestamp_ms":1793762066000,"timestamp_seconds":1793762066,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48cfe50"} 
[2026-11-04 08:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 08:44:50] 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-11-04 08:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203083008001,"66":14537,"219":206,"94":10240,"24":9,"16":39157637744427008,"45":1013239577588514816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203083008001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:44:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:44:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157637744427008,"km_value":39157637744427.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013239577588514816,"description":"Unknown IO ID 45"} 
[2026-11-04 08:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203083008001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":1013239577588514816}} 
[2026-11-04 08:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":229277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58264,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:44:50] local.INFO: GPS data processed {"connection_id":229277,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:44:50] local.INFO: Acknowledgment sent {"connection_id":229277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:44:51] local.INFO: TCP Data received {"connection_id":229277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48d19a8012d0e1ac0070687c0001d006b28..."} 
[2026-11-04 08:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48d19a8012d0e1ac0070687c0001d006b28..."} 
[2026-11-04 08:44:51] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48d19a8012d0e1ac0070687c0001d006b28..."} 
[2026-11-04 08:44:51] local.INFO: Packet analysis {"connection_id":229277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:44:51] local.INFO: Extracted packet for processing {"connection_id":229277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":755899072,"raw_latitude":117868480,"longitude_deg":75.5899072,"latitude_deg":11.786848,"altitude":29,"angle":107,"satellites":40,"speed":13,"hex_longitude":"2d0e1ac0","hex_latitude":"070687c0","is_valid_coordinates":true} 
[2026-11-04 08:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203088896001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157758003511296,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1013521052565274624,"note":"Value kept but may cause issues"} 
[2026-11-04 08:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793762073000,"timestamp_ms":1793762073000,"timestamp_seconds":1793762073,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48d19a8"} 
[2026-11-04 08:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 08:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203088896001,"66":14428,"219":206,"94":10240,"24":13,"16":39157758003511296,"45":1013521052565274624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203088896001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:44:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:44:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157758003511296,"km_value":39157758003511.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1013521052565274624,"description":"Unknown IO ID 45"} 
[2026-11-04 08:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203088896001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1013521052565274624}} 
[2026-11-04 08:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":229277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58265,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:44:51] local.INFO: GPS data processed {"connection_id":229277,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:44:51] local.INFO: Acknowledgment sent {"connection_id":229277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:45:09] local.INFO: TCP Data received {"connection_id":232405,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48b2990012d183d8006d61098000900592b..."} 
[2026-11-04 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48b2990012d183d8006d61098000900592b..."} 
[2026-11-04 08:45:09] local.INFO: Processing buffer {"connection_id":232405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48b2990012d183d8006d61098000900592b..."} 
[2026-11-04 08:45:09] local.INFO: Packet analysis {"connection_id":232405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:45:09] local.INFO: Extracted packet for processing {"connection_id":232405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48b"} 
[2026-11-04 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":756563328,"raw_latitude":114692248,"longitude_deg":75.6563328,"latitude_deg":11.4692248,"altitude":9,"angle":89,"satellites":43,"speed":39,"hex_longitude":"2d183d80","hex_latitude":"06d61098","is_valid_coordinates":true} 
[2026-11-04 08:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203056384001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38628154176176128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656122921680896,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793761946000,"timestamp_ms":1793761946000,"timestamp_seconds":1793761946,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48b2990"} 
[2026-11-04 08:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 08:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":232405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":232405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":232405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203056384001,"66":27376,"160":206,"81":20480,"24":39,"16":38628154176176128,"45":1739656122921680896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,81,24,16,45]} 
[2026-11-04 08:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203056384001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:45:09] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-11-04 08:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38628154176176128,"km_value":38628154176176.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656122921680896,"description":"Unknown IO ID 45"} 
[2026-11-04 08:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203056384001,"power":27376,"unknown_160":206,"unknown_81":20480,"ignition":39,"odometer":null,"unknown_45":1739656122921680896}} 
[2026-11-04 08:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":232405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:45:09] local.INFO: GPS data processed {"connection_id":232405,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:45:09] local.INFO: Acknowledgment sent {"connection_id":232405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:45:17] local.INFO: TCP Data received {"connection_id":229278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:17] local.INFO: Processing buffer {"connection_id":229278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:17] local.INFO: IMEI packet received {"connection_id":229278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":229278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:45:17] local.INFO: TCP Data received {"connection_id":229278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:17] local.INFO: Processing buffer {"connection_id":229278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:17] local.INFO: IMEI packet received {"connection_id":229278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":229278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:45:21] local.INFO: TCP Data received {"connection_id":229277,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48d40b8012d0e2a4007068218001d005c2b..."} 
[2026-11-04 08:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48d40b8012d0e2a4007068218001d005c2b..."} 
[2026-11-04 08:45:21] local.INFO: Processing buffer {"connection_id":229277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48d40b8012d0e2a4007068218001d005c2b..."} 
[2026-11-04 08:45:21] local.INFO: Packet analysis {"connection_id":229277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:45:21] local.INFO: Extracted packet for processing {"connection_id":229277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:45:21] local.INFO: GPS Element Parsed {"raw_longitude":755903040,"raw_latitude":117867032,"longitude_deg":75.590304,"latitude_deg":11.7867032,"altitude":29,"angle":92,"satellites":43,"speed":10,"hex_longitude":"2d0e2a40","hex_latitude":"07068218","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203090688001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157959866974208,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1016335802332332032,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793762083000,"timestamp_ms":1793762083000,"timestamp_seconds":1793762083,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48d40b8"} 
[2026-11-04 08:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 08:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229277,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203090688001,"66":14276,"219":206,"94":10240,"24":10,"16":39157959866974208,"45":1016335802332332032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203090688001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:45:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:45:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157959866974208,"km_value":39157959866974.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1016335802332332032,"description":"Unknown IO ID 45"} 
[2026-11-04 08:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203090688001,"power":14276,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1016335802332332032}} 
[2026-11-04 08:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":229277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58267,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:45:22] local.INFO: GPS data processed {"connection_id":229277,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:45:22] local.INFO: Acknowledgment sent {"connection_id":229277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:45:22] local.INFO: TCP Data received {"connection_id":229278,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:22] local.INFO: Processing buffer {"connection_id":229278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:45:22] local.INFO: IMEI packet received {"connection_id":229278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":229278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:45:23] local.INFO: TCP Data received {"connection_id":229278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48cbfd0012d195a4006d5dc20000700652b..."} 
[2026-11-04 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48cbfd0012d195a4006d5dc20000700652b..."} 
[2026-11-04 08:45:23] local.INFO: Processing buffer {"connection_id":229278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48cbfd0012d195a4006d5dc20000700652b..."} 
[2026-11-04 08:45:23] local.INFO: Packet analysis {"connection_id":229278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:45:23] local.INFO: Extracted packet for processing {"connection_id":229278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":114678816,"longitude_deg":75.6636224,"latitude_deg":11.4678816,"altitude":7,"angle":101,"satellites":43,"speed":34,"hex_longitude":"2d195a40","hex_latitude":"06d5dc20","is_valid_coordinates":true} 
[2026-11-04 08:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203081984001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38631800603410432,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1816428422816280576,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793762050000,"timestamp_ms":1793762050000,"timestamp_seconds":1793762050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48cbfd0"} 
[2026-11-04 08:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203081984001,"66":27658,"159":206,"81":20480,"24":34,"16":38631800603410432,"45":1816428422816280576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-11-04 08:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203081984001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:45:23] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-11-04 08:45:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38631800603410432,"km_value":38631800603410.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1816428422816280576,"description":"Unknown IO ID 45"} 
[2026-11-04 08:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203081984001,"power":27658,"unknown_159":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1816428422816280576}} 
[2026-11-04 08:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":229278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:45:23] local.INFO: GPS data processed {"connection_id":229278,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:45:23] local.INFO: Acknowledgment sent {"connection_id":229278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:45:24] local.INFO: TCP Data received {"connection_id":229278,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48ce2f8012d197d4006d5d3b80008006e2a..."} 
[2026-11-04 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48ce2f8012d197d4006d5d3b80008006e2a..."} 
[2026-11-04 08:45:24] local.INFO: Processing buffer {"connection_id":229278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48ce2f8012d197d4006d5d3b80008006e2a..."} 
[2026-11-04 08:45:24] local.INFO: Packet analysis {"connection_id":229278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:45:24] local.INFO: Extracted packet for processing {"connection_id":229278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756645184,"raw_latitude":114676664,"longitude_deg":75.6645184,"latitude_deg":11.4676664,"altitude":8,"angle":110,"satellites":42,"speed":43,"hex_longitude":"2d197d40","hex_latitude":"06d5d3b8","is_valid_coordinates":true} 
[2026-11-04 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203084800001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38632242985041920,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842996954112000,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793762059000,"timestamp_ms":1793762059000,"timestamp_seconds":1793762059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48ce2f8"} 
[2026-11-04 08:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 08:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203084800001,"66":27767,"159":206,"81":20480,"24":43,"16":38632242985041920,"45":1826842996954112000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-11-04 08:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203084800001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:45:24] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-11-04 08:45:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38632242985041920,"km_value":38632242985041.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842996954112000,"description":"Unknown IO ID 45"} 
[2026-11-04 08:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203084800001,"power":27767,"unknown_159":206,"unknown_81":20480,"ignition":43,"odometer":null,"unknown_45":1826842996954112000}} 
[2026-11-04 08:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":229278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:45:24] local.INFO: GPS data processed {"connection_id":229278,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:45:24] local.INFO: Acknowledgment sent {"connection_id":229278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:45:43] local.INFO: TCP Data received {"connection_id":232406,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232406,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:45:43] local.INFO: Processing buffer {"connection_id":232406,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:45:43] local.INFO: IMEI packet received {"connection_id":232406,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":232406,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:45:49] local.INFO: TCP Data received {"connection_id":232406,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232406,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:45:49] local.INFO: Processing buffer {"connection_id":232406,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:45:49] local.INFO: IMEI packet received {"connection_id":232406,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":232406,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:45:49] local.INFO: TCP Data received {"connection_id":232406,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48d4888012d0e2c4007068250001e005029..."} 
[2026-11-04 08:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48d4888012d0e2c4007068250001e005029..."} 
[2026-11-04 08:45:50] local.INFO: Processing buffer {"connection_id":232406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48d4888012d0e2c4007068250001e005029..."} 
[2026-11-04 08:45:50] local.INFO: Packet analysis {"connection_id":232406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:45:50] local.INFO: Extracted packet for processing {"connection_id":232406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":755903552,"raw_latitude":117867088,"longitude_deg":75.5903552,"latitude_deg":11.7867088,"altitude":30,"angle":80,"satellites":41,"speed":10,"hex_longitude":"2d0e2c40","hex_latitude":"07068250","is_valid_coordinates":true} 
[2026-11-04 08:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203093248001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39157985636777984,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020698664470976512,"note":"Value kept but may cause issues"} 
[2026-11-04 08:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793762085000,"timestamp_ms":1793762085000,"timestamp_seconds":1793762085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48d4888"} 
[2026-11-04 08:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-04 08:45:50] 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-11-04 08:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203093248001,"66":14298,"219":206,"94":10240,"24":10,"16":39157985636777984,"45":1020698664470976512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203093248001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:45:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:45:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39157985636777984,"km_value":39157985636777.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020698664470976512,"description":"Unknown IO ID 45"} 
[2026-11-04 08:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203093248001,"power":14298,"unknown_219":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":1020698664470976512}} 
[2026-11-04 08:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":232406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58270,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:45:50] local.INFO: GPS data processed {"connection_id":232406,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:45:50] local.INFO: Acknowledgment sent {"connection_id":232406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:46:07] local.INFO: TCP Data received {"connection_id":228785,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:07] local.INFO: Processing buffer {"connection_id":228785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:07] local.INFO: IMEI packet received {"connection_id":228785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":228785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:46:08] local.INFO: TCP Data received {"connection_id":228785,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:08] local.INFO: Processing buffer {"connection_id":228785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:08] local.INFO: IMEI packet received {"connection_id":228785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":228785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:46:12] local.INFO: TCP Data received {"connection_id":228785,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:12] local.INFO: Processing buffer {"connection_id":228785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:46:12] local.INFO: IMEI packet received {"connection_id":228785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":228785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:46:13] local.INFO: TCP Data received {"connection_id":228785,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48d0a08012d199ec006d5c308000900772c..."} 
[2026-11-04 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48d0a08012d199ec006d5c308000900772c..."} 
[2026-11-04 08:46:13] local.INFO: Processing buffer {"connection_id":228785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48d0a08012d199ec006d5c308000900772c..."} 
[2026-11-04 08:46:13] local.INFO: Packet analysis {"connection_id":228785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:46:13] local.INFO: Extracted packet for processing {"connection_id":228785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756653760,"raw_latitude":114672392,"longitude_deg":75.665376,"latitude_deg":11.4672392,"altitude":9,"angle":119,"satellites":44,"speed":37,"hex_longitude":"2d199ec0","hex_latitude":"06d5c308","is_valid_coordinates":true} 
[2026-11-04 08:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203087104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38632698251575296,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694621138434048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762069000,"timestamp_ms":1793762069000,"timestamp_seconds":1793762069,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48d0a08"} 
[2026-11-04 08:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203087104001,"66":27843,"159":206,"81":20480,"24":37,"16":38632698251575296,"45":1836694621138434048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,81,24,16,45]} 
[2026-11-04 08:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203087104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:46:13] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-11-04 08:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38632698251575296,"km_value":38632698251575.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694621138434048,"description":"Unknown IO ID 45"} 
[2026-11-04 08:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203087104001,"power":27843,"unknown_159":206,"unknown_81":20480,"ignition":37,"odometer":null,"unknown_45":1836694621138434048}} 
[2026-11-04 08:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":228785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:46:13] local.INFO: GPS data processed {"connection_id":228785,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:46:13] local.INFO: Acknowledgment sent {"connection_id":228785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:46:16] local.INFO: TCP Data received {"connection_id":228785,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48d2d30012d19bf8006d5b1f8000a00762c..."} 
[2026-11-04 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48d2d30012d19bf8006d5b1f8000a00762c..."} 
[2026-11-04 08:46:16] local.INFO: Processing buffer {"connection_id":228785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48d2d30012d19bf8006d5b1f8000a00762c..."} 
[2026-11-04 08:46:16] local.INFO: Packet analysis {"connection_id":228785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:46:16] local.INFO: Extracted packet for processing {"connection_id":228785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756662144,"raw_latitude":114668024,"longitude_deg":75.6662144,"latitude_deg":11.4668024,"altitude":10,"angle":118,"satellites":44,"speed":45,"hex_longitude":"2d19bf80","hex_latitude":"06d5b1f8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203089664001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38633149223141376,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124032857147392,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793762078000,"timestamp_ms":1793762078000,"timestamp_seconds":1793762078,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48d2d30"} 
[2026-11-04 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-11-04 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 08:46: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-11-04 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-11-04 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-11-04 08:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203089664001,"66":27832,"244":206,"81":20480,"24":45,"16":38633149223141376,"45":1846124032857147392},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-11-04 08:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203089664001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:46:16] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-11-04 08:46:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38633149223141376,"km_value":38633149223141.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124032857147392,"description":"Unknown IO ID 45"} 
[2026-11-04 08:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203089664001,"power":27832,"unknown_244":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1846124032857147392}} 
[2026-11-04 08:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":228785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:46:16] local.INFO: GPS data processed {"connection_id":228785,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:46:16] local.INFO: Acknowledgment sent {"connection_id":228785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:46:21] local.INFO: TCP Data received {"connection_id":232406,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48e7168012d0e3c400706da28001f015527..."} 
[2026-11-04 08:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48e7168012d0e3c400706da28001f015527..."} 
[2026-11-04 08:46:21] local.INFO: Processing buffer {"connection_id":232406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48e7168012d0e3c400706da28001f015527..."} 
[2026-11-04 08:46:21] local.INFO: Packet analysis {"connection_id":232406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:46:21] local.INFO: Extracted packet for processing {"connection_id":232406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":755907648,"raw_latitude":117889576,"longitude_deg":75.5907648,"latitude_deg":11.7889576,"altitude":31,"angle":341,"satellites":39,"speed":2,"hex_longitude":"2d0e3c40","hex_latitude":"0706da28","is_valid_coordinates":true} 
[2026-11-04 08:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203112960001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39159209702457344,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1025694845313341440,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793762161000,"timestamp_ms":1793762161000,"timestamp_seconds":1793762161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48e7168"} 
[2026-11-04 08:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 08:46:21] 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-11-04 08:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232406,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203112960001,"66":14396,"219":206,"94":10240,"24":2,"16":39159209702457344,"45":1025694845313341440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203112960001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:46:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:46:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39159209702457344,"km_value":39159209702457.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1025694845313341440,"description":"Unknown IO ID 45"} 
[2026-11-04 08:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203112960001,"power":14396,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1025694845313341440}} 
[2026-11-04 08:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":232406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58273,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:46:21] local.INFO: GPS data processed {"connection_id":232406,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:46:21] local.INFO: Acknowledgment sent {"connection_id":232406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:46:24] local.INFO: TCP Data received {"connection_id":232407,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:46:24] local.INFO: Processing buffer {"connection_id":232407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:46:24] local.INFO: IMEI packet received {"connection_id":232407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":232407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:46:26] local.INFO: TCP Data received {"connection_id":232407,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48c69e0012d189dc006d61a08000d012527..."} 
[2026-11-04 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48c69e0012d189dc006d61a08000d012527..."} 
[2026-11-04 08:46:26] local.INFO: Processing buffer {"connection_id":232407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48c69e0012d189dc006d61a08000d012527..."} 
[2026-11-04 08:46:26] local.INFO: Packet analysis {"connection_id":232407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:46:26] local.INFO: Extracted packet for processing {"connection_id":232407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756587968,"raw_latitude":114694664,"longitude_deg":75.6587968,"latitude_deg":11.4694664,"altitude":13,"angle":293,"satellites":39,"speed":57,"hex_longitude":"2d189dc0","hex_latitude":"06d61a08","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203077376001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20291899407466496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783636588031766528,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:26] 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-11-04 08:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793762028000,"timestamp_ms":1793762028000,"timestamp_seconds":1793762028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48c69e0"} 
[2026-11-04 08:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 08:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203077376001,"66":28376,"191":206,"2":56576,"24":57,"16":20291899407466496,"45":1783636588031766528},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-11-04 08:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203077376001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:46:26] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20291899407466496,"km_value":20291899407466.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783636588031766528,"description":"Unknown IO ID 45"} 
[2026-11-04 08:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203077376001,"power":28376,"unknown_191":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1783636588031766528}} 
[2026-11-04 08:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":232407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:46:26] local.INFO: GPS data processed {"connection_id":232407,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:46:26] local.INFO: Acknowledgment sent {"connection_id":232407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:46:43] local.INFO: TCP Data received {"connection_id":228786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:43] local.INFO: Processing buffer {"connection_id":228786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:43] local.INFO: IMEI packet received {"connection_id":228786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":228786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:46:44] local.INFO: TCP Data received {"connection_id":228786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:44] local.INFO: Processing buffer {"connection_id":228786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:44] local.INFO: IMEI packet received {"connection_id":228786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":228786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:46:47] local.INFO: TCP Data received {"connection_id":228786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:47] local.INFO: Processing buffer {"connection_id":228786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:47] local.INFO: IMEI packet received {"connection_id":228786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":228786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:46:47] local.INFO: TCP Data received {"connection_id":228786,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228786,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:47] local.INFO: Processing buffer {"connection_id":228786,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:46:47] local.INFO: IMEI packet received {"connection_id":228786,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":228786,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:46:51] local.INFO: TCP Data received {"connection_id":228785,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48d4c70012d19dfc006d59ee8000b007f2b..."} 
[2026-11-04 08:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48d4c70012d19dfc006d59ee8000b007f2b..."} 
[2026-11-04 08:46:51] local.INFO: Processing buffer {"connection_id":228785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48d4c70012d19dfc006d59ee8000b007f2b..."} 
[2026-11-04 08:46:51] local.INFO: Packet analysis {"connection_id":228785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:46:51] local.INFO: Extracted packet for processing {"connection_id":228785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756670400,"raw_latitude":114663144,"longitude_deg":75.66704,"latitude_deg":11.4663144,"altitude":11,"angle":127,"satellites":43,"speed":47,"hex_longitude":"2d19dfc0","hex_latitude":"06d59ee8","is_valid_coordinates":true} 
[2026-11-04 08:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203091968001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38633608784642048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855342338343303168,"note":"Value kept but may cause issues"} 
[2026-11-04 08:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793762086000,"timestamp_ms":1793762086000,"timestamp_seconds":1793762086,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48d4c70"} 
[2026-11-04 08:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 08:46:51] 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-11-04 08:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203091968001,"66":27800,"244":206,"81":20480,"24":47,"16":38633608784642048,"45":1855342338343303168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-11-04 08:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203091968001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:46:51] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-11-04 08:46:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38633608784642048,"km_value":38633608784642.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855342338343303168,"description":"Unknown IO ID 45"} 
[2026-11-04 08:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203091968001,"power":27800,"unknown_244":206,"unknown_81":20480,"ignition":47,"odometer":null,"unknown_45":1855342338343303168}} 
[2026-11-04 08:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":228785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:46:51] local.INFO: GPS data processed {"connection_id":228785,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:46:51] local.INFO: Acknowledgment sent {"connection_id":228785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:47:07] local.INFO: TCP Data received {"connection_id":232408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:07] local.INFO: Processing buffer {"connection_id":232408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:07] local.INFO: IMEI packet received {"connection_id":232408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":232408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:47:08] local.INFO: TCP Data received {"connection_id":232408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:08] local.INFO: Processing buffer {"connection_id":232408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:08] local.INFO: IMEI packet received {"connection_id":232408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":232408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:47:08] local.INFO: TCP Data received {"connection_id":232409,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:08] local.INFO: Processing buffer {"connection_id":232409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:08] local.INFO: IMEI packet received {"connection_id":232409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":232409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:47:09] local.INFO: TCP Data received {"connection_id":232409,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:09] local.INFO: Processing buffer {"connection_id":232409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:09] local.INFO: IMEI packet received {"connection_id":232409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":232409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:47:12] local.INFO: TCP Data received {"connection_id":232408,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:12] local.INFO: Processing buffer {"connection_id":232408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:47:12] local.INFO: IMEI packet received {"connection_id":232408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":232408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:47:13] local.INFO: TCP Data received {"connection_id":232408,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48e9490012d1b3dc006d4dc18000e006b2b..."} 
[2026-11-04 08:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48e9490012d1b3dc006d4dc18000e006b2b..."} 
[2026-11-04 08:47:13] local.INFO: Processing buffer {"connection_id":232408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48e9490012d1b3dc006d4dc18000e006b2b..."} 
[2026-11-04 08:47:13] local.INFO: Packet analysis {"connection_id":232408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:47:13] local.INFO: Extracted packet for processing {"connection_id":232408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756760000,"raw_latitude":114613272,"longitude_deg":75.676,"latitude_deg":11.4613272,"altitude":14,"angle":107,"satellites":43,"speed":45,"hex_longitude":"2d1b3dc0","hex_latitude":"06d4dc18","is_valid_coordinates":true} 
[2026-11-04 08:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203113216001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38638522227228672,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1952873417760456704,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762170000,"timestamp_ms":1793762170000,"timestamp_seconds":1793762170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48e9490"} 
[2026-11-04 08:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203113216001,"66":27821,"244":206,"81":20480,"24":45,"16":38638522227228672,"45":1952873417760456704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,81,24,16,45]} 
[2026-11-04 08:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203113216001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:47:13] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-11-04 08:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38638522227228672,"km_value":38638522227228.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1952873417760456704,"description":"Unknown IO ID 45"} 
[2026-11-04 08:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203113216001,"power":27821,"unknown_244":206,"unknown_81":20480,"ignition":45,"odometer":null,"unknown_45":1952873417760456704}} 
[2026-11-04 08:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":232408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:47:13] local.INFO: GPS data processed {"connection_id":232408,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:47:13] local.INFO: Acknowledgment sent {"connection_id":232408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:47:14] local.INFO: TCP Data received {"connection_id":232409,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:14] local.INFO: Processing buffer {"connection_id":232409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:47:14] local.INFO: IMEI packet received {"connection_id":232409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":232409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:47:15] local.INFO: TCP Data received {"connection_id":232409,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48c7980012d1888c006d62058000c011429..."} 
[2026-11-04 08:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48c7980012d1888c006d62058000c011429..."} 
[2026-11-04 08:47:15] local.INFO: Processing buffer {"connection_id":232409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48c7980012d1888c006d62058000c011429..."} 
[2026-11-04 08:47:15] local.INFO: Packet analysis {"connection_id":232409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:47:15] local.INFO: Extracted packet for processing {"connection_id":232409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:47:15] local.INFO: GPS Element Parsed {"raw_longitude":756582592,"raw_latitude":114696280,"longitude_deg":75.6582592,"latitude_deg":11.469628,"altitude":12,"angle":276,"satellites":41,"speed":54,"hex_longitude":"2d1888c0","hex_latitude":"06d62058","is_valid_coordinates":true} 
[2026-11-04 08:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203079168001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292169990406144,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773784963848210432,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:15] 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-11-04 08:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793762032000,"timestamp_ms":1793762032000,"timestamp_seconds":1793762032,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48c7980"} 
[2026-11-04 08:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:47:15] 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-11-04 08:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203079168001,"66":28376,"191":206,"2":56576,"24":54,"16":20292169990406144,"45":1773784963848210432},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-11-04 08:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203079168001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:47:15] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292169990406144,"km_value":20292169990406.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773784963848210432,"description":"Unknown IO ID 45"} 
[2026-11-04 08:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203079168001,"power":28376,"unknown_191":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":1773784963848210432}} 
[2026-11-04 08:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":232409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:47:15] local.INFO: GPS data processed {"connection_id":232409,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:47:15] local.INFO: Acknowledgment sent {"connection_id":232409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:47:18] local.INFO: TCP Data received {"connection_id":232408,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48eb7b8012d1b5f4006d4d090000e00772c..."} 
[2026-11-04 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48eb7b8012d1b5f4006d4d090000e00772c..."} 
[2026-11-04 08:47:18] local.INFO: Processing buffer {"connection_id":232408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48eb7b8012d1b5f4006d4d090000e00772c..."} 
[2026-11-04 08:47:18] local.INFO: Packet analysis {"connection_id":232408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:47:18] local.INFO: Extracted packet for processing {"connection_id":232408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756768576,"raw_latitude":114610320,"longitude_deg":75.6768576,"latitude_deg":11.461032,"altitude":14,"angle":119,"satellites":44,"speed":34,"hex_longitude":"2d1b5f40","hex_latitude":"06d4d090","is_valid_coordinates":true} 
[2026-11-04 08:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203115520001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38638956018925568,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962936148176934912,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793762179000,"timestamp_ms":1793762179000,"timestamp_seconds":1793762179,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48eb7b8"} 
[2026-11-04 08:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 08:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203115520001,"66":27789,"14":206,"81":20480,"24":34,"16":38638956018925568,"45":1962936148176934912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-11-04 08:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203115520001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:47:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 08:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38638956018925568,"km_value":38638956018925.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962936148176934912,"description":"Unknown IO ID 45"} 
[2026-11-04 08:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203115520001,"power":27789,"unknown_14":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1962936148176934912}} 
[2026-11-04 08:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":232408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:47:18] local.INFO: GPS data processed {"connection_id":232408,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:47:18] local.INFO: Acknowledgment sent {"connection_id":232408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:47:49] local.INFO: TCP Data received {"connection_id":232408,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48eb7b8012d1b5f4006d4d090000e00772c..."} 
[2026-11-04 08:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48eb7b8012d1b5f4006d4d090000e00772c..."} 
[2026-11-04 08:47:49] local.INFO: Processing buffer {"connection_id":232408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48eb7b8012d1b5f4006d4d090000e00772c..."} 
[2026-11-04 08:47:49] local.INFO: Packet analysis {"connection_id":232408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:47:49] local.INFO: Extracted packet for processing {"connection_id":232408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756768576,"raw_latitude":114610320,"longitude_deg":75.6768576,"latitude_deg":11.461032,"altitude":14,"angle":119,"satellites":44,"speed":34,"hex_longitude":"2d1b5f40","hex_latitude":"06d4d090","is_valid_coordinates":true} 
[2026-11-04 08:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203117824001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38638956018925568,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365559895986176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793762179000,"timestamp_ms":1793762179000,"timestamp_seconds":1793762179,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48eb7b8"} 
[2026-11-04 08:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 08:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203117824001,"66":27789,"14":206,"81":20480,"24":34,"16":38638956018925568,"45":1972365559895986176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-11-04 08:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203117824001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:47:49] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 08:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38638956018925568,"km_value":38638956018925.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365559895986176,"description":"Unknown IO ID 45"} 
[2026-11-04 08:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203117824001,"power":27789,"unknown_14":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1972365559895986176}} 
[2026-11-04 08:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":232408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:47:49] local.INFO: GPS data processed {"connection_id":232408,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:47:49] local.INFO: Acknowledgment sent {"connection_id":232408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:47:53] local.INFO: TCP Data received {"connection_id":232409,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48ccb88012d182ec006d611e0000b011928..."} 
[2026-11-04 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48ccb88012d182ec006d611e0000b011928..."} 
[2026-11-04 08:47:53] local.INFO: Processing buffer {"connection_id":232409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48ccb88012d182ec006d611e0000b011928..."} 
[2026-11-04 08:47:53] local.INFO: Packet analysis {"connection_id":232409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:47:53] local.INFO: Extracted packet for processing {"connection_id":232409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48c"} 
[2026-11-04 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756559552,"raw_latitude":114692576,"longitude_deg":75.6559552,"latitude_deg":11.4692576,"altitude":11,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d182ec0","hex_latitude":"06d611e0","is_valid_coordinates":true} 
[2026-11-04 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203080192001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767873989337700352,"note":"Value kept but may cause issues"} 
[2026-11-04 08:47:53] 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-11-04 08:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793762053000,"timestamp_ms":1793762053000,"timestamp_seconds":1793762053,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48ccb88"} 
[2026-11-04 08:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:47:53] 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-11-04 08:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":232409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":232409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":232409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203080192001,"66":28354,"191":206,"2":56576,"24":0,"16":20292238709882880,"45":1767873989337700352},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-11-04 08:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203080192001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:47:53] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292238709882880,"km_value":20292238709882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767873989337700352,"description":"Unknown IO ID 45"} 
[2026-11-04 08:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203080192001,"power":28354,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1767873989337700352}} 
[2026-11-04 08:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":232409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:47:53] local.INFO: GPS data processed {"connection_id":232409,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:47:53] local.INFO: Acknowledgment sent {"connection_id":232409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:48:07] local.INFO: TCP Data received {"connection_id":229280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:48:07] local.INFO: Processing buffer {"connection_id":229280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:48:07] local.INFO: IMEI packet received {"connection_id":229280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":229280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:48:09] local.INFO: TCP Data received {"connection_id":230557,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:48:09] local.INFO: Processing buffer {"connection_id":230557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:48:09] local.INFO: IMEI packet received {"connection_id":230557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":230557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:48:12] local.INFO: TCP Data received {"connection_id":229280,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:48:12] local.INFO: Processing buffer {"connection_id":229280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:48:12] local.INFO: IMEI packet received {"connection_id":229280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":229280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:48:13] local.INFO: TCP Data received {"connection_id":229280,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48ee2b0012d1b7e8006d4bc70000e00702b..."} 
[2026-11-04 08:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48ee2b0012d1b7e8006d4bc70000e00702b..."} 
[2026-11-04 08:48:13] local.INFO: Processing buffer {"connection_id":229280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48ee2b0012d1b7e8006d4bc70000e00702b..."} 
[2026-11-04 08:48:13] local.INFO: Packet analysis {"connection_id":229280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:48:13] local.INFO: Extracted packet for processing {"connection_id":229280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48e"} 
[2026-11-04 08:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756776576,"raw_latitude":114605168,"longitude_deg":75.6776576,"latitude_deg":11.4605168,"altitude":14,"angle":112,"satellites":43,"speed":34,"hex_longitude":"2d1b7e80","hex_latitude":"06d4bc70","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203117824001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38639411285458944,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365559895986176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762190000,"timestamp_ms":1793762190000,"timestamp_seconds":1793762190,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48ee2b0"} 
[2026-11-04 08:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 08:48:13] 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-11-04 08: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-11-04 08:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203117824001,"66":27767,"14":206,"81":20480,"24":34,"16":38639411285458944,"45":1972365559895986176},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-11-04 08:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203117824001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:48:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 08:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38639411285458944,"km_value":38639411285458.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365559895986176,"description":"Unknown IO ID 45"} 
[2026-11-04 08:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203117824001,"power":27767,"unknown_14":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":1972365559895986176}} 
[2026-11-04 08:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":229280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:48:13] local.INFO: GPS data processed {"connection_id":229280,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:48:13] local.INFO: Acknowledgment sent {"connection_id":229280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:48:14] local.INFO: TCP Data received {"connection_id":230557,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:48:14] local.INFO: Processing buffer {"connection_id":230557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:48:14] local.INFO: IMEI packet received {"connection_id":230557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":230557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:48:18] local.INFO: TCP Data received {"connection_id":230557,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48da2600100000000000000000000000000..."} 
[2026-11-04 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48da2600100000000000000000000000000..."} 
[2026-11-04 08:48:18] local.INFO: Processing buffer {"connection_id":230557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48da2600100000000000000000000000000..."} 
[2026-11-04 08:48:18] local.INFO: Packet analysis {"connection_id":230557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:48:18] local.INFO: Extracted packet for processing {"connection_id":230557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48d"} 
[2026-11-04 08:48: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-11-04 08:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203085568001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742541241432793088,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:18] 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-11-04 08:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793762108000,"timestamp_ms":1793762108000,"timestamp_seconds":1793762108,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48da260"} 
[2026-11-04 08:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:48: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-11-04 08:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":230557,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 08:48:18] local.INFO: GPS data processed {"connection_id":230557,"processed":0,"errors":0,"total":1} 
[2026-11-04 08:48:18] local.INFO: Acknowledgment sent {"connection_id":230557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:48:44] local.INFO: TCP Data received {"connection_id":229280,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48f0da8012d1ba10006d4af40000e006e2e..."} 
[2026-11-04 08:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48f0da8012d1ba10006d4af40000e006e2e..."} 
[2026-11-04 08:48:44] local.INFO: Processing buffer {"connection_id":229280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48f0da8012d1ba10006d4af40000e006e2e..."} 
[2026-11-04 08:48:44] local.INFO: Packet analysis {"connection_id":229280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48f"} 
[2026-11-04 08:48:44] local.INFO: Extracted packet for processing {"connection_id":229280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48f"} 
[2026-11-04 08:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756785408,"raw_latitude":114601792,"longitude_deg":75.6785408,"latitude_deg":11.4601792,"altitude":14,"angle":110,"satellites":46,"speed":38,"hex_longitude":"2d1ba100","hex_latitude":"06d4af40","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203120640001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38639862257025024,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1981161652916875264,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793762201000,"timestamp_ms":1793762201000,"timestamp_seconds":1793762201,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48f0da8"} 
[2026-11-04 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-11-04 08:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 08:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203120640001,"66":27745,"14":206,"81":20480,"24":38,"16":38639862257025024,"45":1981161652916875264},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-11-04 08:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203120640001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:48:44] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 08:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38639862257025024,"km_value":38639862257025.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1981161652916875264,"description":"Unknown IO ID 45"} 
[2026-11-04 08:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203120640001,"power":27745,"unknown_14":206,"unknown_81":20480,"ignition":38,"odometer":null,"unknown_45":1981161652916875264}} 
[2026-11-04 08:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":229280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:48:44] local.INFO: GPS data processed {"connection_id":229280,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:48:44] local.INFO: Acknowledgment sent {"connection_id":229280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:48:50] local.INFO: TCP Data received {"connection_id":230557,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48fc158012d157b8006d713c8000e01391e..."} 
[2026-11-04 08:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48fc158012d157b8006d713c8000e01391e..."} 
[2026-11-04 08:48:50] local.INFO: Processing buffer {"connection_id":230557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48fc158012d157b8006d713c8000e01391e..."} 
[2026-11-04 08:48:50] local.INFO: Packet analysis {"connection_id":230557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48f"} 
[2026-11-04 08:48:50] local.INFO: Extracted packet for processing {"connection_id":230557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48f"} 
[2026-11-04 08:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756382592,"raw_latitude":114758600,"longitude_deg":75.6382592,"latitude_deg":11.47586,"altitude":14,"angle":313,"satellites":30,"speed":43,"hex_longitude":"2d157b80","hex_latitude":"06d713c8","is_valid_coordinates":true} 
[2026-11-04 08:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:48:50] 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-11-04 08:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793762247000,"timestamp_ms":1793762247000,"timestamp_seconds":1793762247,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48fc158"} 
[2026-11-04 08:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:48:50] 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-11-04 08:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"193":206,"2":56576,"24":43,"16":20292238709882880},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16]} 
[2026-11-04 08:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 08:48:50] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-04 08:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292238709882880,"km_value":20292238709882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:48:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_193":206,"power_alt":56576,"ignition":43,"odometer":null}} 
[2026-11-04 08:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":230557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:48:50] local.INFO: GPS data processed {"connection_id":230557,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:48:50] local.INFO: Acknowledgment sent {"connection_id":230557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:49:07] local.INFO: TCP Data received {"connection_id":230559,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:49:07] local.INFO: Processing buffer {"connection_id":230559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:49:07] local.INFO: IMEI packet received {"connection_id":230559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":230559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:49:12] local.INFO: TCP Data received {"connection_id":230559,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:49:12] local.INFO: Processing buffer {"connection_id":230559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:49:12] local.INFO: IMEI packet received {"connection_id":230559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":230559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:49:13] local.INFO: TCP Data received {"connection_id":230559,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a48f2900012d1bbb4006d4a398000d007a2e..."} 
[2026-11-04 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a48f2900012d1bbb4006d4a398000d007a2e..."} 
[2026-11-04 08:49:13] local.INFO: Processing buffer {"connection_id":230559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a48f2900012d1bbb4006d4a398000d007a2e..."} 
[2026-11-04 08:49:13] local.INFO: Packet analysis {"connection_id":230559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a48f"} 
[2026-11-04 08:49:13] local.INFO: Extracted packet for processing {"connection_id":230559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a48f"} 
[2026-11-04 08:49:13] local.INFO: GPS Element Parsed {"raw_longitude":756792128,"raw_latitude":114598808,"longitude_deg":75.6792128,"latitude_deg":11.4598808,"altitude":13,"angle":122,"satellites":46,"speed":44,"hex_longitude":"2d1bbb40","hex_latitude":"06d4a398","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203123456001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38640214444343296,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1990872539612528640,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762208000,"timestamp_ms":1793762208000,"timestamp_seconds":1793762208,"priority":1,"record_length":96,"hex_timestamp":"000001a1a48f2900"} 
[2026-11-04 08:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203123456001,"66":27865,"14":206,"81":20480,"24":44,"16":38640214444343296,"45":1990872539612528640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,81,24,16,45]} 
[2026-11-04 08:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203123456001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:49:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 08:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38640214444343296,"km_value":38640214444343.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1990872539612528640,"description":"Unknown IO ID 45"} 
[2026-11-04 08:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203123456001,"power":27865,"unknown_14":206,"unknown_81":20480,"ignition":44,"odometer":null,"unknown_45":1990872539612528640}} 
[2026-11-04 08:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":230559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:49:13] local.INFO: GPS data processed {"connection_id":230559,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:49:13] local.INFO: Acknowledgment sent {"connection_id":230559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:49:14] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:49:14] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:49:14] local.INFO: IMEI packet received {"connection_id":229281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":229281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:49:18] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:49:18] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:49:18] local.INFO: IMEI packet received {"connection_id":229281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":229281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:49:20] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4901360012d1556c006d73828000e013e22..."} 
[2026-11-04 08:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4901360012d1556c006d73828000e013e22..."} 
[2026-11-04 08:49:20] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4901360012d1556c006d73828000e013e22..."} 
[2026-11-04 08:49:20] local.INFO: Packet analysis {"connection_id":229281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49:20] local.INFO: Extracted packet for processing {"connection_id":229281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":756373184,"raw_latitude":114767912,"longitude_deg":75.6373184,"latitude_deg":11.4767912,"altitude":14,"angle":318,"satellites":34,"speed":0,"hex_longitude":"2d1556c0","hex_latitude":"06d73828","is_valid_coordinates":true} 
[2026-11-04 08:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203135232001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1547971663798454272,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:20] 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-11-04 08:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793762268000,"timestamp_ms":1793762268000,"timestamp_seconds":1793762268,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4901360"} 
[2026-11-04 08:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:49: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-11-04 08:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203135232001,"66":28256,"193":206,"2":56576,"24":0,"16":20292238709882880,"45":1547971663798454272},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-11-04 08:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203135232001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:49:20] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-11-04 08:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292238709882880,"km_value":20292238709882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1547971663798454272,"description":"Unknown IO ID 45"} 
[2026-11-04 08:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203135232001,"power":28256,"unknown_193":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1547971663798454272}} 
[2026-11-04 08:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":229281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:49:20] local.INFO: GPS data processed {"connection_id":229281,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:49:20] local.INFO: Acknowledgment sent {"connection_id":229281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:49:22] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a490ea380100000000000000000000000000..."} 
[2026-11-04 08:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a490ea380100000000000000000000000000..."} 
[2026-11-04 08:49:22] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a490ea380100000000000000000000000000..."} 
[2026-11-04 08:49:22] local.INFO: Packet analysis {"connection_id":229281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49:22] local.INFO: Extracted packet for processing {"connection_id":229281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49: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-11-04 08: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-11-04 08:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203140608001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1537627458406721536,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49: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-11-04 08:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793762323000,"timestamp_ms":1793762323000,"timestamp_seconds":1793762323,"priority":1,"record_length":96,"hex_timestamp":"000001a1a490ea38"} 
[2026-11-04 08:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 08:49: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-11-04 08: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-11-04 08:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":229281,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 08:49:22] local.INFO: GPS data processed {"connection_id":229281,"processed":0,"errors":0,"total":1} 
[2026-11-04 08:49:22] local.INFO: Acknowledgment sent {"connection_id":229281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:49:45] local.INFO: TCP Data received {"connection_id":230559,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a490da98012d1c848006d3f4c8000a009d2d..."} 
[2026-11-04 08:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a490da98012d1c848006d3f4c8000a009d2d..."} 
[2026-11-04 08:49:45] local.INFO: Processing buffer {"connection_id":230559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a490da98012d1c848006d3f4c8000a009d2d..."} 
[2026-11-04 08:49:45] local.INFO: Packet analysis {"connection_id":230559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49:45] local.INFO: Extracted packet for processing {"connection_id":230559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756843648,"raw_latitude":114554056,"longitude_deg":75.6843648,"latitude_deg":11.4554056,"altitude":10,"angle":157,"satellites":45,"speed":42,"hex_longitude":"2d1c8480","hex_latitude":"06d3f4c8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203153152001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38643568813801472,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2053641459407251456,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793762319000,"timestamp_ms":1793762319000,"timestamp_seconds":1793762319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a490da98"} 
[2026-11-04 08:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:49: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-11-04 08: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-11-04 08:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203153152001,"66":27691,"82":206,"81":20480,"24":42,"16":38643568813801472,"45":2053641459407251456},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-11-04 08:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203153152001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:49:45] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 08:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38643568813801472,"km_value":38643568813801.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2053641459407251456,"description":"Unknown IO ID 45"} 
[2026-11-04 08:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203153152001,"power":27691,"unknown_82":206,"unknown_81":20480,"ignition":42,"odometer":null,"unknown_45":2053641459407251456}} 
[2026-11-04 08:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":230559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:49:45] local.INFO: GPS data processed {"connection_id":230559,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:49:45] local.INFO: Acknowledgment sent {"connection_id":230559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:49:54] local.INFO: TCP Data received {"connection_id":229281,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4908890012d15374006d75a40000d013f2b..."} 
[2026-11-04 08:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4908890012d15374006d75a40000d013f2b..."} 
[2026-11-04 08:49:54] local.INFO: Processing buffer {"connection_id":229281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4908890012d15374006d75a40000d013f2b..."} 
[2026-11-04 08:49:54] local.INFO: Packet analysis {"connection_id":229281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49:54] local.INFO: Extracted packet for processing {"connection_id":229281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":756365120,"raw_latitude":114776640,"longitude_deg":75.636512,"latitude_deg":11.477664,"altitude":13,"angle":319,"satellites":43,"speed":17,"hex_longitude":"2d153740","hex_latitude":"06d75a40","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:49:54] 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-11-04 08:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793762298000,"timestamp_ms":1793762298000,"timestamp_seconds":1793762298,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4908890"} 
[2026-11-04 08:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:49:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:49:54] 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-11-04 08: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-11-04 08:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229281,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"191":206,"2":56576,"24":17,"16":20292238709882880},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16]} 
[2026-11-04 08:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 08:49:54] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292238709882880,"km_value":20292238709882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:49:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_191":206,"power_alt":56576,"ignition":17,"odometer":null}} 
[2026-11-04 08:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":229281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:49:54] local.INFO: GPS data processed {"connection_id":229281,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:49:54] local.INFO: Acknowledgment sent {"connection_id":229281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:50:07] local.INFO: TCP Data received {"connection_id":232410,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:50:07] local.INFO: Processing buffer {"connection_id":232410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:50:07] local.INFO: IMEI packet received {"connection_id":232410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":232410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:50:09] local.INFO: TCP Data received {"connection_id":230560,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:50:09] local.INFO: Processing buffer {"connection_id":230560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:50:09] local.INFO: IMEI packet received {"connection_id":230560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":230560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:50:11] local.INFO: TCP Data received {"connection_id":232410,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:50:11] local.INFO: Processing buffer {"connection_id":232410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:50:11] local.INFO: IMEI packet received {"connection_id":232410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":232410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:50:12] local.INFO: TCP Data received {"connection_id":232410,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a490fdc0012d1c908006d3d280000c00962c..."} 
[2026-11-04 08:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a490fdc0012d1c908006d3d280000c00962c..."} 
[2026-11-04 08:50:12] local.INFO: Processing buffer {"connection_id":232410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a490fdc0012d1c908006d3d280000c00962c..."} 
[2026-11-04 08:50:12] local.INFO: Packet analysis {"connection_id":232410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:50:12] local.INFO: Extracted packet for processing {"connection_id":232410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:50:12] local.INFO: GPS Element Parsed {"raw_longitude":756846720,"raw_latitude":114545280,"longitude_deg":75.684672,"latitude_deg":11.454528,"altitude":12,"angle":150,"satellites":44,"speed":36,"hex_longitude":"2d1c9080","hex_latitude":"06d3d280","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203153664001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38644019785367552,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2054908096801982464,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793762328000,"timestamp_ms":1793762328000,"timestamp_seconds":1793762328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a490fdc0"} 
[2026-11-04 08:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 08:50:12] 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-11-04 08: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-11-04 08:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203153664001,"66":27767,"82":206,"81":20480,"24":36,"16":38644019785367552,"45":2054908096801982464},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-11-04 08:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203153664001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:50:12] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 08:50:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38644019785367552,"km_value":38644019785367.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2054908096801982464,"description":"Unknown IO ID 45"} 
[2026-11-04 08:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203153664001,"power":27767,"unknown_82":206,"unknown_81":20480,"ignition":36,"odometer":null,"unknown_45":2054908096801982464}} 
[2026-11-04 08:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":232410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:50:12] local.INFO: GPS data processed {"connection_id":232410,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:50:12] local.INFO: Acknowledgment sent {"connection_id":232410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:50:13] local.INFO: TCP Data received {"connection_id":230560,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:50:13] local.INFO: Processing buffer {"connection_id":230560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:50:13] local.INFO: IMEI packet received {"connection_id":230560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":230560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:50:14] local.INFO: TCP Data received {"connection_id":230560,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4915f680100000000000000000000000000..."} 
[2026-11-04 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4915f680100000000000000000000000000..."} 
[2026-11-04 08:50:14] local.INFO: Processing buffer {"connection_id":230560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4915f680100000000000000000000000000..."} 
[2026-11-04 08:50:14] local.INFO: Packet analysis {"connection_id":230560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:50:14] local.INFO: Extracted packet for processing {"connection_id":230560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:50: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-11-04 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203148288001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1528760996642570240,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:14] 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-11-04 08:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793762353000,"timestamp_ms":1793762353000,"timestamp_seconds":1793762353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4915f68"} 
[2026-11-04 08:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:50: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-11-04 08:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":230560,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 08:50:14] local.INFO: GPS data processed {"connection_id":230560,"processed":0,"errors":0,"total":1} 
[2026-11-04 08:50:14] local.INFO: Acknowledgment sent {"connection_id":230560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:50:44] local.INFO: TCP Data received {"connection_id":232410,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49128b8012d1ca30006d3b280000b00962a..."} 
[2026-11-04 08:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49128b8012d1ca30006d3b280000b00962a..."} 
[2026-11-04 08:50:44] local.INFO: Processing buffer {"connection_id":232410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49128b8012d1ca30006d3b280000b00962a..."} 
[2026-11-04 08:50:44] local.INFO: Packet analysis {"connection_id":232410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:50:44] local.INFO: Extracted packet for processing {"connection_id":232410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:50:44] local.INFO: GPS Element Parsed {"raw_longitude":756851456,"raw_latitude":114537088,"longitude_deg":75.6851456,"latitude_deg":11.4537088,"altitude":11,"angle":150,"satellites":42,"speed":30,"hex_longitude":"2d1ca300","hex_latitude":"06d3b280","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203155968001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38644475051900928,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2058285796520263680,"note":"Value kept but may cause issues"} 
[2026-11-04 08:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793762339000,"timestamp_ms":1793762339000,"timestamp_seconds":1793762339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49128b8"} 
[2026-11-04 08:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203155968001,"66":27767,"82":206,"81":20480,"24":30,"16":38644475051900928,"45":2058285796520263680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-11-04 08:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203155968001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:50:44] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 08:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38644475051900928,"km_value":38644475051900.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2058285796520263680,"description":"Unknown IO ID 45"} 
[2026-11-04 08:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203155968001,"power":27767,"unknown_82":206,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":2058285796520263680}} 
[2026-11-04 08:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":232410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:50:44] local.INFO: GPS data processed {"connection_id":232410,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:50:44] local.INFO: Acknowledgment sent {"connection_id":232410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:51:01] local.INFO: TCP Data received {"connection_id":230560,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a490ea38012d150f0006d789b0000d013d2b..."} 
[2026-11-04 08:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a490ea38012d150f0006d789b0000d013d2b..."} 
[2026-11-04 08:51:01] local.INFO: Processing buffer {"connection_id":230560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a490ea38012d150f0006d789b0000d013d2b..."} 
[2026-11-04 08:51:01] local.INFO: Packet analysis {"connection_id":230560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:51:01] local.INFO: Extracted packet for processing {"connection_id":230560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a490"} 
[2026-11-04 08:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756354816,"raw_latitude":114788784,"longitude_deg":75.6354816,"latitude_deg":11.4788784,"altitude":13,"angle":317,"satellites":43,"speed":35,"hex_longitude":"2d150f00","hex_latitude":"06d789b0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:01] 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-11-04 08:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793762323000,"timestamp_ms":1793762323000,"timestamp_seconds":1793762323,"priority":1,"record_length":96,"hex_timestamp":"000001a1a490ea38"} 
[2026-11-04 08:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 08:51:01] 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-11-04 08: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-11-04 08:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":230560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":230560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":230560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"191":206,"2":56576,"24":35,"16":20292238709882880},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16]} 
[2026-11-04 08:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 08:51:01] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292238709882880,"km_value":20292238709882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:51:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_191":206,"power_alt":56576,"ignition":35,"odometer":null}} 
[2026-11-04 08:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":230560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:51:01] local.INFO: GPS data processed {"connection_id":230560,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:51:01] local.INFO: Acknowledgment sent {"connection_id":230560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:51:07] local.INFO: TCP Data received {"connection_id":229283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:51:07] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:51:07] local.INFO: IMEI packet received {"connection_id":229283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":229283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:51:09] local.INFO: TCP Data received {"connection_id":229284,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:09] local.INFO: Processing buffer {"connection_id":229284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:09] local.INFO: IMEI packet received {"connection_id":229284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":229284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:51:10] local.INFO: TCP Data received {"connection_id":229284,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:10] local.INFO: Processing buffer {"connection_id":229284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:10] local.INFO: IMEI packet received {"connection_id":229284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":229284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:51:12] local.INFO: TCP Data received {"connection_id":229283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:51:12] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:51:12] local.INFO: IMEI packet received {"connection_id":229283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":229283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:51:13] local.INFO: TCP Data received {"connection_id":229283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4915b80012d1cae0006d399f0000d00a22d..."} 
[2026-11-04 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4915b80012d1cae0006d399f0000d00a22d..."} 
[2026-11-04 08:51:13] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4915b80012d1cae0006d399f0000d00a22d..."} 
[2026-11-04 08:51:13] local.INFO: Packet analysis {"connection_id":229283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:51:13] local.INFO: Extracted packet for processing {"connection_id":229283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756854272,"raw_latitude":114530800,"longitude_deg":75.6854272,"latitude_deg":11.45308,"altitude":13,"angle":162,"satellites":45,"speed":19,"hex_longitude":"2d1cae00","hex_latitude":"06d399f0","is_valid_coordinates":true} 
[2026-11-04 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203158784001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38644810059350016,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2063493083587313664,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762352000,"timestamp_ms":1793762352000,"timestamp_seconds":1793762352,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4915b80"} 
[2026-11-04 08:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203158784001,"66":27843,"82":206,"81":20480,"24":19,"16":38644810059350016,"45":2063493083587313664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-11-04 08:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203158784001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:51:13] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 08:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38644810059350016,"km_value":38644810059350.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2063493083587313664,"description":"Unknown IO ID 45"} 
[2026-11-04 08:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203158784001,"power":27843,"unknown_82":206,"unknown_81":20480,"ignition":19,"odometer":null,"unknown_45":2063493083587313664}} 
[2026-11-04 08:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":229283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:51:13] local.INFO: GPS data processed {"connection_id":229283,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:51:13] local.INFO: Acknowledgment sent {"connection_id":229283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:51:14] local.INFO: TCP Data received {"connection_id":229284,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:14] local.INFO: Processing buffer {"connection_id":229284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:51:14] local.INFO: IMEI packet received {"connection_id":229284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":229284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:51:16] local.INFO: TCP Data received {"connection_id":229284,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4913c40012d14da0006d7bf90000e013b2b..."} 
[2026-11-04 08:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4913c40012d14da0006d7bf90000e013b2b..."} 
[2026-11-04 08:51:16] local.INFO: Processing buffer {"connection_id":229284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4913c40012d14da0006d7bf90000e013b2b..."} 
[2026-11-04 08:51:16] local.INFO: Packet analysis {"connection_id":229284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:51:16] local.INFO: Extracted packet for processing {"connection_id":229284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":756341248,"raw_latitude":114802576,"longitude_deg":75.6341248,"latitude_deg":11.4802576,"altitude":14,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d14da00","hex_latitude":"06d7bf90","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203154688001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1517431628833075200,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:16] 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-11-04 08:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793762344000,"timestamp_ms":1793762344000,"timestamp_seconds":1793762344,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4913c40"} 
[2026-11-04 08:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 08:51:16] 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-11-04 08: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-11-04 08:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203154688001,"66":28376,"191":206,"2":56576,"24":0,"16":20292238709882880,"45":1517431628833075200},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-11-04 08:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203154688001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:51:16] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-11-04 08:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292238709882880,"km_value":20292238709882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1517431628833075200,"description":"Unknown IO ID 45"} 
[2026-11-04 08:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203154688001,"power":28376,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1517431628833075200}} 
[2026-11-04 08:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":229284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:51:16] local.INFO: GPS data processed {"connection_id":229284,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:51:16] local.INFO: Acknowledgment sent {"connection_id":229284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:51:45] local.INFO: TCP Data received {"connection_id":229283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4917ea8012d1cb7c006d38538000f009631..."} 
[2026-11-04 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4917ea8012d1cb7c006d38538000f009631..."} 
[2026-11-04 08:51:45] local.INFO: Processing buffer {"connection_id":229283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4917ea8012d1cb7c006d38538000f009631..."} 
[2026-11-04 08:51:45] local.INFO: Packet analysis {"connection_id":229283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:51:45] local.INFO: Extracted packet for processing {"connection_id":229283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756856768,"raw_latitude":114525496,"longitude_deg":75.6856768,"latitude_deg":11.4525496,"altitude":15,"angle":150,"satellites":49,"speed":29,"hex_longitude":"2d1cb7c0","hex_latitude":"06d38538","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203162112001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38645093527191552,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2066589308329521152,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793762361000,"timestamp_ms":1793762361000,"timestamp_seconds":1793762361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4917ea8"} 
[2026-11-04 08:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 08:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203162112001,"66":27767,"82":206,"81":20480,"24":29,"16":38645093527191552,"45":2066589308329521152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-11-04 08:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203162112001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:51:45] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 08:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38645093527191552,"km_value":38645093527191.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2066589308329521152,"description":"Unknown IO ID 45"} 
[2026-11-04 08:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203162112001,"power":27767,"unknown_82":206,"unknown_81":20480,"ignition":29,"odometer":null,"unknown_45":2066589308329521152}} 
[2026-11-04 08:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":229283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:51:45] local.INFO: GPS data processed {"connection_id":229283,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:51:45] local.INFO: Acknowledgment sent {"connection_id":229283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:51:47] local.INFO: TCP Data received {"connection_id":229284,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49213180100000000000000000000000000..."} 
[2026-11-04 08:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49213180100000000000000000000000000..."} 
[2026-11-04 08:51:47] local.INFO: Processing buffer {"connection_id":229284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49213180100000000000000000000000000..."} 
[2026-11-04 08:51:47] local.INFO: Packet analysis {"connection_id":229284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:51:47] local.INFO: Extracted packet for processing {"connection_id":229284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:51: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-11-04 08: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-11-04 08:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203160064001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1502513455070941184,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:47] 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-11-04 08:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793762399000,"timestamp_ms":1793762399000,"timestamp_seconds":1793762399,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4921318"} 
[2026-11-04 08:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:51: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-11-04 08: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-11-04 08:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229284,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":229284,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 08:51:47] local.INFO: GPS data processed {"connection_id":229284,"processed":0,"errors":0,"total":1} 
[2026-11-04 08:51:47] local.INFO: Acknowledgment sent {"connection_id":229284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:51:48] local.INFO: TCP Data received {"connection_id":228788,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:51:48] local.INFO: Processing buffer {"connection_id":228788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:51:48] local.INFO: IMEI packet received {"connection_id":228788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":228788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:51:49] local.INFO: TCP Data received {"connection_id":228788,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4934b98012d0d5840070716100024010f24..."} 
[2026-11-04 08:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4934b98012d0d5840070716100024010f24..."} 
[2026-11-04 08:51:49] local.INFO: Processing buffer {"connection_id":228788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4934b98012d0d5840070716100024010f24..."} 
[2026-11-04 08:51:49] local.INFO: Packet analysis {"connection_id":228788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:51:49] local.INFO: Extracted packet for processing {"connection_id":228788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":755849280,"raw_latitude":117904912,"longitude_deg":75.584928,"latitude_deg":11.7904912,"altitude":36,"angle":271,"satellites":36,"speed":19,"hex_longitude":"2d0d5840","hex_latitude":"07071610","is_valid_coordinates":true} 
[2026-11-04 08:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203193600001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39164909124059136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456673378304,"note":"Value kept but may cause issues"} 
[2026-11-04 08:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793762479000,"timestamp_ms":1793762479000,"timestamp_seconds":1793762479,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4934b98"} 
[2026-11-04 08:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 08:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203193600001,"66":13656,"219":206,"94":10240,"24":19,"16":39164909124059136,"45":963981456673378304},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 08:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203193600001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:51:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 08:51:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39164909124059136,"km_value":39164909124059.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456673378304,"description":"Unknown IO ID 45"} 
[2026-11-04 08:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203193600001,"power":13656,"unknown_219":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":963981456673378304}} 
[2026-11-04 08:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":228788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58294,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:51:50] local.INFO: GPS data processed {"connection_id":228788,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:51:50] local.INFO: Acknowledgment sent {"connection_id":228788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:52:09] local.INFO: TCP Data received {"connection_id":230561,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:09] local.INFO: Processing buffer {"connection_id":230561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:09] local.INFO: IMEI packet received {"connection_id":230561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":230561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:52:09] local.INFO: TCP Data received {"connection_id":230561,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:09] local.INFO: Processing buffer {"connection_id":230561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:09] local.INFO: IMEI packet received {"connection_id":230561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":230561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:52:11] local.INFO: TCP Data received {"connection_id":230562,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:11] local.INFO: Processing buffer {"connection_id":230562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:11] local.INFO: IMEI packet received {"connection_id":230562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":230562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:52:12] local.INFO: TCP Data received {"connection_id":230562,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:12] local.INFO: Processing buffer {"connection_id":230562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:12] local.INFO: IMEI packet received {"connection_id":230562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":230562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:52:15] local.INFO: TCP Data received {"connection_id":230561,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:15] local.INFO: Processing buffer {"connection_id":230561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:52:15] local.INFO: IMEI packet received {"connection_id":230561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":230561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:52:16] local.INFO: TCP Data received {"connection_id":230561,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a491b170012d145e0006d841a8000d01432d..."} 
[2026-11-04 08:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a491b170012d145e0006d841a8000d01432d..."} 
[2026-11-04 08:52:16] local.INFO: Processing buffer {"connection_id":230561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a491b170012d145e0006d841a8000d01432d..."} 
[2026-11-04 08:52:16] local.INFO: Packet analysis {"connection_id":230561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:52:16] local.INFO: Extracted packet for processing {"connection_id":230561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756309504,"raw_latitude":114835880,"longitude_deg":75.6309504,"latitude_deg":11.483588,"altitude":13,"angle":323,"satellites":45,"speed":59,"hex_longitude":"2d145e00","hex_latitude":"06d841a8","is_valid_coordinates":true} 
[2026-11-04 08:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20292238709882880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:16] 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-11-04 08:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793762374000,"timestamp_ms":1793762374000,"timestamp_seconds":1793762374,"priority":1,"record_length":96,"hex_timestamp":"000001a1a491b170"} 
[2026-11-04 08:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 08:52: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-11-04 08:52:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"192":206,"2":56576,"24":59,"16":20292238709882880},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16]} 
[2026-11-04 08:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 08:52:16] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-11-04 08:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20292238709882880,"km_value":20292238709882.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:52:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_192":206,"power_alt":56576,"ignition":59,"odometer":null}} 
[2026-11-04 08:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":230561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:52:16] local.INFO: GPS data processed {"connection_id":230561,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:52:16] local.INFO: Acknowledgment sent {"connection_id":230561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:52:17] local.INFO: TCP Data received {"connection_id":230562,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:17] local.INFO: Processing buffer {"connection_id":230562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:52:17] local.INFO: IMEI packet received {"connection_id":230562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":230562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:52:18] local.INFO: TCP Data received {"connection_id":230562,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a491ad88012d1cc84006d36dd80010008a2e..."} 
[2026-11-04 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a491ad88012d1cc84006d36dd80010008a2e..."} 
[2026-11-04 08:52:18] local.INFO: Processing buffer {"connection_id":230562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a491ad88012d1cc84006d36dd80010008a2e..."} 
[2026-11-04 08:52:18] local.INFO: Packet analysis {"connection_id":230562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:52:18] local.INFO: Extracted packet for processing {"connection_id":230562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756860992,"raw_latitude":114519512,"longitude_deg":75.6860992,"latitude_deg":11.4519512,"altitude":16,"angle":138,"satellites":46,"speed":26,"hex_longitude":"2d1cc840","hex_latitude":"06d36dd8","is_valid_coordinates":true} 
[2026-11-04 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203164416001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38645445714509824,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2069333689351092224,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793762373000,"timestamp_ms":1793762373000,"timestamp_seconds":1793762373,"priority":1,"record_length":96,"hex_timestamp":"000001a1a491ad88"} 
[2026-11-04 08:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203164416001,"66":27865,"82":206,"81":20480,"24":26,"16":38645445714509824,"45":2069333689351092224},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-11-04 08:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203164416001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:52:18] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 08:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38645445714509824,"km_value":38645445714509.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2069333689351092224,"description":"Unknown IO ID 45"} 
[2026-11-04 08:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203164416001,"power":27865,"unknown_82":206,"unknown_81":20480,"ignition":26,"odometer":null,"unknown_45":2069333689351092224}} 
[2026-11-04 08:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":230562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:52:18] local.INFO: GPS data processed {"connection_id":230562,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:52:18] local.INFO: Acknowledgment sent {"connection_id":230562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:52:23] local.INFO: TCP Data received {"connection_id":228788,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4940b00012d0d2840070741d80026013125..."} 
[2026-11-04 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4940b00012d0d2840070741d80026013125..."} 
[2026-11-04 08:52:23] local.INFO: Processing buffer {"connection_id":228788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4940b00012d0d2840070741d80026013125..."} 
[2026-11-04 08:52:23] local.INFO: Packet analysis {"connection_id":228788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:52:23] local.INFO: Extracted packet for processing {"connection_id":228788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:52:23] local.INFO: GPS Element Parsed {"raw_longitude":755836992,"raw_latitude":117916120,"longitude_deg":75.5836992,"latitude_deg":11.791612,"altitude":38,"angle":305,"satellites":37,"speed":19,"hex_longitude":"2d0d2840","hex_latitude":"070741d8","is_valid_coordinates":true} 
[2026-11-04 08:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203206912001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39165978570915840,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948500332957184000,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793762528000,"timestamp_ms":1793762528000,"timestamp_seconds":1793762528,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4940b00"} 
[2026-11-04 08:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203206912001,"66":14396,"221":206,"94":10240,"24":19,"16":39165978570915840,"45":948500332957184000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203206912001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39165978570915840,"km_value":39165978570915.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":948500332957184000,"description":"Unknown IO ID 45"} 
[2026-11-04 08:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203206912001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":948500332957184000}} 
[2026-11-04 08:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":228788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58297,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:52:23] local.INFO: GPS data processed {"connection_id":228788,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:52:23] local.INFO: Acknowledgment sent {"connection_id":228788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:52:23] local.INFO: TCP Data received {"connection_id":230562,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a491e820012d1ce18006d35408000f008830..."} 
[2026-11-04 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a491e820012d1ce18006d35408000f008830..."} 
[2026-11-04 08:52:23] local.INFO: Processing buffer {"connection_id":230562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a491e820012d1ce18006d35408000f008830..."} 
[2026-11-04 08:52:23] local.INFO: Packet analysis {"connection_id":230562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:52:23] local.INFO: Extracted packet for processing {"connection_id":230562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a491"} 
[2026-11-04 08:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756867456,"raw_latitude":114512904,"longitude_deg":75.6867456,"latitude_deg":11.4512904,"altitude":15,"angle":136,"satellites":48,"speed":27,"hex_longitude":"2d1ce180","hex_latitude":"06d35408","is_valid_coordinates":true} 
[2026-11-04 08:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203167488001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38645892391108608,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2073978026465286144,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793762388000,"timestamp_ms":1793762388000,"timestamp_seconds":1793762388,"priority":1,"record_length":96,"hex_timestamp":"000001a1a491e820"} 
[2026-11-04 08:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 08:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203167488001,"66":27865,"82":206,"81":20480,"24":27,"16":38645892391108608,"45":2073978026465286144},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,81,24,16,45]} 
[2026-11-04 08:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203167488001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38645892391108608,"km_value":38645892391108.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2073978026465286144,"description":"Unknown IO ID 45"} 
[2026-11-04 08:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203167488001,"power":27865,"unknown_82":206,"unknown_81":20480,"ignition":27,"odometer":null,"unknown_45":2073978026465286144}} 
[2026-11-04 08:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":230562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:52:23] local.INFO: GPS data processed {"connection_id":230562,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:52:23] local.INFO: Acknowledgment sent {"connection_id":230562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:52:44] local.INFO: TCP Data received {"connection_id":228789,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:52:44] local.INFO: Processing buffer {"connection_id":228789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:52:44] local.INFO: IMEI packet received {"connection_id":228789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":228789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:52:48] local.INFO: TCP Data received {"connection_id":230561,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a493c4b0012d13a20006db2288000b015b2f..."} 
[2026-11-04 08:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a493c4b0012d13a20006db2288000b015b2f..."} 
[2026-11-04 08:52:48] local.INFO: Processing buffer {"connection_id":230561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a493c4b0012d13a20006db2288000b015b2f..."} 
[2026-11-04 08:52:48] local.INFO: Packet analysis {"connection_id":230561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:52:48] local.INFO: Extracted packet for processing {"connection_id":230561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756261376,"raw_latitude":115024520,"longitude_deg":75.6261376,"latitude_deg":11.502452,"altitude":11,"angle":347,"satellites":47,"speed":57,"hex_longitude":"2d13a200","hex_latitude":"06db2288","is_valid_coordinates":true} 
[2026-11-04 08:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203202560001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20297341131030528,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1414693262394034176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:48] 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-11-04 08:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793762510000,"timestamp_ms":1793762510000,"timestamp_seconds":1793762510,"priority":1,"record_length":96,"hex_timestamp":"000001a1a493c4b0"} 
[2026-11-04 08:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:52:48] 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-11-04 08:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203202560001,"66":28398,"127":206,"2":56576,"24":57,"16":20297341131030528,"45":1414693262394034176},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-11-04 08:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203202560001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:52:48] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-04 08:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20297341131030528,"km_value":20297341131030.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1414693262394034176,"description":"Unknown IO ID 45"} 
[2026-11-04 08:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203202560001,"power":28398,"unknown_127":206,"power_alt":56576,"ignition":57,"odometer":null,"unknown_45":1414693262394034176}} 
[2026-11-04 08:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":230561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:52:48] local.INFO: GPS data processed {"connection_id":230561,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:52:48] local.INFO: Acknowledgment sent {"connection_id":230561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:52:49] local.INFO: TCP Data received {"connection_id":228789,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228789,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:52:49] local.INFO: Processing buffer {"connection_id":228789,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:52:49] local.INFO: IMEI packet received {"connection_id":228789,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":228789,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:52:50] local.INFO: TCP Data received {"connection_id":228789,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4947c48012d0cdd8007074d780022010325..."} 
[2026-11-04 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4947c48012d0cdd8007074d780022010325..."} 
[2026-11-04 08:52:50] local.INFO: Processing buffer {"connection_id":228789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4947c48012d0cdd8007074d780022010325..."} 
[2026-11-04 08:52:50] local.INFO: Packet analysis {"connection_id":228789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:52:50] local.INFO: Extracted packet for processing {"connection_id":228789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755817856,"raw_latitude":117919096,"longitude_deg":75.5817856,"latitude_deg":11.7919096,"altitude":34,"angle":259,"satellites":37,"speed":18,"hex_longitude":"2d0cdd80","hex_latitude":"07074d78","is_valid_coordinates":true} 
[2026-11-04 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203214336001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39166992183197696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927530447193106432,"note":"Value kept but may cause issues"} 
[2026-11-04 08:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793762557000,"timestamp_ms":1793762557000,"timestamp_seconds":1793762557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4947c48"} 
[2026-11-04 08:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203214336001,"66":14559,"221":206,"94":10240,"24":18,"16":39166992183197696,"45":927530447193106432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203214336001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:52:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39166992183197696,"km_value":39166992183197.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":927530447193106432,"description":"Unknown IO ID 45"} 
[2026-11-04 08:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203214336001,"power":14559,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":927530447193106432}} 
[2026-11-04 08:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":228789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58300,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:52:50] local.INFO: GPS data processed {"connection_id":228789,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:52:50] local.INFO: Acknowledgment sent {"connection_id":228789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:53:07] local.INFO: TCP Data received {"connection_id":229285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:53:07] local.INFO: Processing buffer {"connection_id":229285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:53:07] local.INFO: IMEI packet received {"connection_id":229285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":229285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:53:09] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:09] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:09] local.INFO: IMEI packet received {"connection_id":229286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":229286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:53:09] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:09] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:09] local.INFO: IMEI packet received {"connection_id":229286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":229286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:53:11] local.INFO: TCP Data received {"connection_id":229285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:53:11] local.INFO: Processing buffer {"connection_id":229285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:53:11] local.INFO: IMEI packet received {"connection_id":229285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":229285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:53:13] local.INFO: TCP Data received {"connection_id":229285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4923258012d1cf8c006d339f0000d008c30..."} 
[2026-11-04 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4923258012d1cf8c006d339f0000d008c30..."} 
[2026-11-04 08:53:13] local.INFO: Processing buffer {"connection_id":229285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4923258012d1cf8c006d339f0000d008c30..."} 
[2026-11-04 08:53:13] local.INFO: Packet analysis {"connection_id":229285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:53:13] local.INFO: Extracted packet for processing {"connection_id":229285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756873408,"raw_latitude":114506224,"longitude_deg":75.6873408,"latitude_deg":11.4506224,"altitude":13,"angle":140,"satellites":48,"speed":11,"hex_longitude":"2d1cf8c0","hex_latitude":"06d339f0","is_valid_coordinates":true} 
[2026-11-04 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203171328001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38646321887838208,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2081085269625538560,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762407000,"timestamp_ms":1793762407000,"timestamp_seconds":1793762407,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4923258"} 
[2026-11-04 08:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 08:53:13] 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-11-04 08:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203171328001,"66":27800,"80":206,"81":20480,"24":11,"16":38646321887838208,"45":2081085269625538560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,81,24,16,45]} 
[2026-11-04 08:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203171328001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:53:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-11-04 08:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38646321887838208,"km_value":38646321887838.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2081085269625538560,"description":"Unknown IO ID 45"} 
[2026-11-04 08:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203171328001,"power":27800,"unknown_80":206,"unknown_81":20480,"ignition":11,"odometer":null,"unknown_45":2081085269625538560}} 
[2026-11-04 08:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":229285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:53:13] local.INFO: GPS data processed {"connection_id":229285,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:53:13] local.INFO: Acknowledgment sent {"connection_id":229285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:53:14] local.INFO: TCP Data received {"connection_id":229285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4928460012d1d02c006d32b200010008e2f..."} 
[2026-11-04 08:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4928460012d1d02c006d32b200010008e2f..."} 
[2026-11-04 08:53:14] local.INFO: Processing buffer {"connection_id":229285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4928460012d1d02c006d32b200010008e2f..."} 
[2026-11-04 08:53:14] local.INFO: Packet analysis {"connection_id":229285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:53:14] local.INFO: Extracted packet for processing {"connection_id":229285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756875968,"raw_latitude":114502432,"longitude_deg":75.6875968,"latitude_deg":11.4502432,"altitude":16,"angle":142,"satellites":47,"speed":0,"hex_longitude":"2d1d02c0","hex_latitude":"06d32b20","is_valid_coordinates":true} 
[2026-11-04 08:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203176192001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38646549521104896,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2087629562832351232,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793762428000,"timestamp_ms":1793762428000,"timestamp_seconds":1793762428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4928460"} 
[2026-11-04 08:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 08:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203176192001,"66":27800,"81":20480,"24":0,"16":38646549521104896,"45":2087629562832351232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-11-04 08:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203176192001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38646549521104896,"km_value":38646549521104.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2087629562832351232,"description":"Unknown IO ID 45"} 
[2026-11-04 08:53:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203176192001,"power":27800,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":2087629562832351232}} 
[2026-11-04 08:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":229285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:53:14] local.INFO: GPS data processed {"connection_id":229285,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:53:14] local.INFO: Acknowledgment sent {"connection_id":229285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:53:14] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:14] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:53:14] local.INFO: IMEI packet received {"connection_id":229286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":229286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:53:16] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a493e008012d13958006db48b0000b01512d..."} 
[2026-11-04 08:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a493e008012d13958006db48b0000b01512d..."} 
[2026-11-04 08:53:16] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a493e008012d13958006db48b0000b01512d..."} 
[2026-11-04 08:53:16] local.INFO: Packet analysis {"connection_id":229286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:53:16] local.INFO: Extracted packet for processing {"connection_id":229286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756258176,"raw_latitude":115034288,"longitude_deg":75.6258176,"latitude_deg":11.5034288,"altitude":11,"angle":337,"satellites":45,"speed":58,"hex_longitude":"2d139580","hex_latitude":"06db48b0","is_valid_coordinates":true} 
[2026-11-04 08:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203202560001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20297839347236864,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1414693262394034176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:16] 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-11-04 08:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793762517000,"timestamp_ms":1793762517000,"timestamp_seconds":1793762517,"priority":1,"record_length":96,"hex_timestamp":"000001a1a493e008"} 
[2026-11-04 08:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:53: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-11-04 08:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203202560001,"66":28398,"127":206,"2":56576,"24":58,"16":20297839347236864,"45":1414693262394034176},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-11-04 08:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203202560001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:53:16] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-04 08:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20297839347236864,"km_value":20297839347236.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1414693262394034176,"description":"Unknown IO ID 45"} 
[2026-11-04 08:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203202560001,"power":28398,"unknown_127":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1414693262394034176}} 
[2026-11-04 08:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":229286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:53:16] local.INFO: GPS data processed {"connection_id":229286,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:53:16] local.INFO: Acknowledgment sent {"connection_id":229286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:53:21] local.INFO: TCP Data received {"connection_id":228789,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4948030012d0cdbc007074dd00022011626..."} 
[2026-11-04 08:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4948030012d0cdbc007074dd00022011626..."} 
[2026-11-04 08:53:21] local.INFO: Processing buffer {"connection_id":228789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4948030012d0cdbc007074dd00022011626..."} 
[2026-11-04 08:53:21] local.INFO: Packet analysis {"connection_id":228789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:53:21] local.INFO: Extracted packet for processing {"connection_id":228789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:53:21] local.INFO: GPS Element Parsed {"raw_longitude":755817408,"raw_latitude":117919184,"longitude_deg":75.5817408,"latitude_deg":11.7919184,"altitude":34,"angle":278,"satellites":38,"speed":19,"hex_longitude":"2d0cdbc0","hex_latitude":"07074dd0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203214592001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39167013658034176,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927037865983834112,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793762558000,"timestamp_ms":1793762558000,"timestamp_seconds":1793762558,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4948030"} 
[2026-11-04 08:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:53:21] 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-11-04 08: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-11-04 08:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228789,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203214592001,"66":13820,"221":206,"94":10240,"24":19,"16":39167013658034176,"45":927037865983834112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203214592001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:53:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39167013658034176,"km_value":39167013658034.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":927037865983834112,"description":"Unknown IO ID 45"} 
[2026-11-04 08:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203214592001,"power":13820,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":927037865983834112}} 
[2026-11-04 08:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":228789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58304,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:53:21] local.INFO: GPS data processed {"connection_id":228789,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:53:21] local.INFO: Acknowledgment sent {"connection_id":228789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:53:42] local.INFO: TCP Data received {"connection_id":230563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:42] local.INFO: Processing buffer {"connection_id":230563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:42] local.INFO: IMEI packet received {"connection_id":230563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":230563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:53:43] local.INFO: TCP Data received {"connection_id":230563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:43] local.INFO: Processing buffer {"connection_id":230563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:43] local.INFO: IMEI packet received {"connection_id":230563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":230563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:53:45] local.INFO: TCP Data received {"connection_id":229285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a492d668012d1d134006d31330000e008f2d..."} 
[2026-11-04 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a492d668012d1d134006d31330000e008f2d..."} 
[2026-11-04 08:53:45] local.INFO: Processing buffer {"connection_id":229285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a492d668012d1d134006d31330000e008f2d..."} 
[2026-11-04 08:53:45] local.INFO: Packet analysis {"connection_id":229285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:53:45] local.INFO: Extracted packet for processing {"connection_id":229285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a492"} 
[2026-11-04 08:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756880192,"raw_latitude":114496304,"longitude_deg":75.6880192,"latitude_deg":11.4496304,"altitude":14,"angle":143,"satellites":45,"speed":0,"hex_longitude":"2d1d1340","hex_latitude":"06d31330","is_valid_coordinates":true} 
[2026-11-04 08:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203181568001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38646906003390464,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2090444312598487040,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793762449000,"timestamp_ms":1793762449000,"timestamp_seconds":1793762449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a492d668"} 
[2026-11-04 08:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 08:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203181568001,"66":27745,"81":20480,"24":0,"16":38646906003390464,"45":2090444312598487040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-11-04 08:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203181568001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38646906003390464,"km_value":38646906003390.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2090444312598487040,"description":"Unknown IO ID 45"} 
[2026-11-04 08:53:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203181568001,"power":27745,"unknown_81":20480,"ignition":0,"odometer":null,"unknown_45":2090444312598487040}} 
[2026-11-04 08:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":229285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:53:45] local.INFO: GPS data processed {"connection_id":229285,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:53:45] local.INFO: Acknowledgment sent {"connection_id":229285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:53:48] local.INFO: TCP Data received {"connection_id":229286,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a493fb60012d13854006db6dc8000a01512e..."} 
[2026-11-04 08:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a493fb60012d13854006db6dc8000a01512e..."} 
[2026-11-04 08:53:48] local.INFO: Processing buffer {"connection_id":229286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a493fb60012d13854006db6dc8000a01512e..."} 
[2026-11-04 08:53:48] local.INFO: Packet analysis {"connection_id":229286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:53:48] local.INFO: Extracted packet for processing {"connection_id":229286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756254016,"raw_latitude":115043784,"longitude_deg":75.6254016,"latitude_deg":11.5043784,"altitude":10,"angle":337,"satellites":46,"speed":58,"hex_longitude":"2d138540","hex_latitude":"06db6dc8","is_valid_coordinates":true} 
[2026-11-04 08:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203204352001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20298341858410496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1411174825187651584,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:48] 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-11-04 08:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793762524000,"timestamp_ms":1793762524000,"timestamp_seconds":1793762524,"priority":1,"record_length":96,"hex_timestamp":"000001a1a493fb60"} 
[2026-11-04 08:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:53:48] 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-11-04 08:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203204352001,"66":28354,"127":206,"2":56576,"24":58,"16":20298341858410496,"45":1411174825187651584},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-11-04 08:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203204352001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:53:48] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-04 08:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20298341858410496,"km_value":20298341858410.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1411174825187651584,"description":"Unknown IO ID 45"} 
[2026-11-04 08:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203204352001,"power":28354,"unknown_127":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1411174825187651584}} 
[2026-11-04 08:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":229286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:53:48] local.INFO: GPS data processed {"connection_id":229286,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:53:48] local.INFO: Acknowledgment sent {"connection_id":229286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:53:50] local.INFO: TCP Data received {"connection_id":230563,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230563,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:50] local.INFO: Processing buffer {"connection_id":230563,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:53:50] local.INFO: IMEI packet received {"connection_id":230563,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":230563,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:53:51] local.INFO: TCP Data received {"connection_id":230563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4948418012d0cd9c007074ef80022012526..."} 
[2026-11-04 08:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4948418012d0cd9c007074ef80022012526..."} 
[2026-11-04 08:53:51] local.INFO: Processing buffer {"connection_id":230563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4948418012d0cd9c007074ef80022012526..."} 
[2026-11-04 08:53:51] local.INFO: Packet analysis {"connection_id":230563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:53:51] local.INFO: Extracted packet for processing {"connection_id":230563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a494"} 
[2026-11-04 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":755816896,"raw_latitude":117919480,"longitude_deg":75.5816896,"latitude_deg":11.791948,"altitude":34,"angle":293,"satellites":38,"speed":24,"hex_longitude":"2d0cd9c0","hex_latitude":"07074ef8","is_valid_coordinates":true} 
[2026-11-04 08:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203214848001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39167043722805248,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926545284774612992,"note":"Value kept but may cause issues"} 
[2026-11-04 08:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793762559000,"timestamp_ms":1793762559000,"timestamp_seconds":1793762559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4948418"} 
[2026-11-04 08:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-11-04 08:53:51] 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-11-04 08:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203214848001,"66":13820,"221":206,"94":10240,"24":24,"16":39167043722805248,"45":926545284774612992},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203214848001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:53:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:53:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39167043722805248,"km_value":39167043722805.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":926545284774612992,"description":"Unknown IO ID 45"} 
[2026-11-04 08:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203214848001,"power":13820,"unknown_221":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":926545284774612992}} 
[2026-11-04 08:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":230563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58307,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:53:51] local.INFO: GPS data processed {"connection_id":230563,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:53:51] local.INFO: Acknowledgment sent {"connection_id":230563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:54:07] local.INFO: TCP Data received {"connection_id":232411,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:54:07] local.INFO: Processing buffer {"connection_id":232411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:54:07] local.INFO: IMEI packet received {"connection_id":232411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":232411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:54:09] local.INFO: TCP Data received {"connection_id":229287,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:09] local.INFO: Processing buffer {"connection_id":229287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:09] local.INFO: IMEI packet received {"connection_id":229287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":229287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:54:12] local.INFO: TCP Data received {"connection_id":229287,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:12] local.INFO: Processing buffer {"connection_id":229287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:12] local.INFO: IMEI packet received {"connection_id":229287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":229287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:54:12] local.INFO: TCP Data received {"connection_id":232411,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:54:12] local.INFO: Processing buffer {"connection_id":232411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:54:12] local.INFO: IMEI packet received {"connection_id":232411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":232411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:54:13] local.INFO: TCP Data received {"connection_id":232411,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4932870012d1d278006d2f738000b00982d..."} 
[2026-11-04 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4932870012d1d278006d2f738000b00982d..."} 
[2026-11-04 08:54:13] local.INFO: Processing buffer {"connection_id":232411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4932870012d1d278006d2f738000b00982d..."} 
[2026-11-04 08:54:13] local.INFO: Packet analysis {"connection_id":232411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:54:13] local.INFO: Extracted packet for processing {"connection_id":232411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a493"} 
[2026-11-04 08:54:13] local.INFO: GPS Element Parsed {"raw_longitude":756885376,"raw_latitude":114489144,"longitude_deg":75.6885376,"latitude_deg":11.4489144,"altitude":11,"angle":152,"satellites":45,"speed":30,"hex_longitude":"2d1d2780","hex_latitude":"06d2f738","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203186944001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38647335500120064,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2095088649712644096,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762470000,"timestamp_ms":1793762470000,"timestamp_seconds":1793762470,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4932870"} 
[2026-11-04 08:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203186944001,"66":27767,"81":20480,"24":30,"16":38647335500120064,"45":2095088649712644096},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-11-04 08:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203186944001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38647335500120064,"km_value":38647335500120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2095088649712644096,"description":"Unknown IO ID 45"} 
[2026-11-04 08:54:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203186944001,"power":27767,"unknown_81":20480,"ignition":30,"odometer":null,"unknown_45":2095088649712644096}} 
[2026-11-04 08:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":232411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:54:13] local.INFO: GPS data processed {"connection_id":232411,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:54:13] local.INFO: Acknowledgment sent {"connection_id":232411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:54:14] local.INFO: TCP Data received {"connection_id":229287,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:14] local.INFO: Processing buffer {"connection_id":229287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:54:14] local.INFO: IMEI packet received {"connection_id":229287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":229287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:54:16] local.INFO: TCP Data received {"connection_id":229287,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4952058012d12cf4006dced30000f015230..."} 
[2026-11-04 08:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4952058012d12cf4006dced30000f015230..."} 
[2026-11-04 08:54:16] local.INFO: Processing buffer {"connection_id":229287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4952058012d12cf4006dced30000f015230..."} 
[2026-11-04 08:54:16] local.INFO: Packet analysis {"connection_id":229287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:16] local.INFO: Extracted packet for processing {"connection_id":229287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:16] local.INFO: GPS Element Parsed {"raw_longitude":756207424,"raw_latitude":115141936,"longitude_deg":75.6207424,"latitude_deg":11.5141936,"altitude":15,"angle":338,"satellites":48,"speed":54,"hex_longitude":"2d12cf40","hex_latitude":"06dced30","is_valid_coordinates":true} 
[2026-11-04 08:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203223552001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20303616078249984,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1360579698149320704,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:16] 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-11-04 08:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793762599000,"timestamp_ms":1793762599000,"timestamp_seconds":1793762599,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4952058"} 
[2026-11-04 08:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:54: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-11-04 08:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203223552001,"66":28332,"129":206,"2":56576,"24":54,"16":20303616078249984,"45":1360579698149320704},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-11-04 08:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203223552001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:54:16] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-04 08:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20303616078249984,"km_value":20303616078249.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1360579698149320704,"description":"Unknown IO ID 45"} 
[2026-11-04 08:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203223552001,"power":28332,"unknown_129":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":1360579698149320704}} 
[2026-11-04 08:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":229287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:54:17] local.INFO: GPS data processed {"connection_id":229287,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:54:17] local.INFO: Acknowledgment sent {"connection_id":229287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:54:22] local.INFO: TCP Data received {"connection_id":230563,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a495d408012d0c7cc0070777a0001901242b..."} 
[2026-11-04 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a495d408012d0c7cc0070777a0001901242b..."} 
[2026-11-04 08:54:22] local.INFO: Processing buffer {"connection_id":230563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a495d408012d0c7cc0070777a0001901242b..."} 
[2026-11-04 08:54:22] local.INFO: Packet analysis {"connection_id":230563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:22] local.INFO: Extracted packet for processing {"connection_id":230563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:22] local.INFO: GPS Element Parsed {"raw_longitude":755793088,"raw_latitude":117929888,"longitude_deg":75.5793088,"latitude_deg":11.7929888,"altitude":25,"angle":292,"satellites":43,"speed":13,"hex_longitude":"2d0c7cc0","hex_latitude":"070777a0","is_valid_coordinates":true} 
[2026-11-04 08:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203236096001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39168525486522368,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":900860693152331776,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793762645000,"timestamp_ms":1793762645000,"timestamp_seconds":1793762645,"priority":1,"record_length":96,"hex_timestamp":"000001a1a495d408"} 
[2026-11-04 08:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 08:54:22] 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-11-04 08:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230563,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203236096001,"66":14537,"221":206,"94":10240,"24":13,"16":39168525486522368,"45":900860693152331776},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203236096001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:54:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:54:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39168525486522368,"km_value":39168525486522.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":900860693152331776,"description":"Unknown IO ID 45"} 
[2026-11-04 08:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203236096001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":900860693152331776}} 
[2026-11-04 08:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":230563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58310,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:54:22] local.INFO: GPS data processed {"connection_id":230563,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:54:22] local.INFO: Acknowledgment sent {"connection_id":230563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:54:44] local.INFO: TCP Data received {"connection_id":228790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228790,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:44] local.INFO: Processing buffer {"connection_id":228790,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:44] local.INFO: IMEI packet received {"connection_id":228790,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":228790,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:54:44] local.INFO: TCP Data received {"connection_id":228790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228790,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:44] local.INFO: Processing buffer {"connection_id":228790,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:44] local.INFO: IMEI packet received {"connection_id":228790,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":228790,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:54:45] local.INFO: TCP Data received {"connection_id":232411,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4957648012d1e070006d1c308001100942e..."} 
[2026-11-04 08:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4957648012d1e070006d1c308001100942e..."} 
[2026-11-04 08:54:45] local.INFO: Processing buffer {"connection_id":232411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4957648012d1e070006d1c308001100942e..."} 
[2026-11-04 08:54:45] local.INFO: Packet analysis {"connection_id":232411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:45] local.INFO: Extracted packet for processing {"connection_id":232411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756942592,"raw_latitude":114410248,"longitude_deg":75.6942592,"latitude_deg":11.4410248,"altitude":17,"angle":148,"satellites":46,"speed":17,"hex_longitude":"2d1e0700","hex_latitude":"06d1c308","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203229952001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38652102913818624,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2162853750334058496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793762621000,"timestamp_ms":1793762621000,"timestamp_seconds":1793762621,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4957648"} 
[2026-11-04 08:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 08:54:45] 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-11-04 08: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-11-04 08:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203229952001,"66":27767,"140":206,"81":20480,"24":17,"16":38652102913818624,"45":2162853750334058496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-11-04 08:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203229952001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:54:45] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-04 08:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38652102913818624,"km_value":38652102913818.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2162853750334058496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203229952001,"power":27767,"unknown_140":206,"unknown_81":20480,"ignition":17,"odometer":null,"unknown_45":2162853750334058496}} 
[2026-11-04 08:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":232411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:54:45] local.INFO: GPS data processed {"connection_id":232411,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:54:45] local.INFO: Acknowledgment sent {"connection_id":232411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:54:45] local.INFO: TCP Data received {"connection_id":228790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228790,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:45] local.INFO: Processing buffer {"connection_id":228790,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:45] local.INFO: IMEI packet received {"connection_id":228790,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":228790,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:54:49] local.INFO: TCP Data received {"connection_id":229287,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4953bb0012d12c24006dd1110001001532f..."} 
[2026-11-04 08:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4953bb0012d12c24006dd1110001001532f..."} 
[2026-11-04 08:54:49] local.INFO: Processing buffer {"connection_id":229287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4953bb0012d12c24006dd1110001001532f..."} 
[2026-11-04 08:54:49] local.INFO: Packet analysis {"connection_id":229287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:49] local.INFO: Extracted packet for processing {"connection_id":229287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756204096,"raw_latitude":115151120,"longitude_deg":75.6204096,"latitude_deg":11.515112,"altitude":16,"angle":339,"satellites":47,"speed":56,"hex_longitude":"2d12c240","hex_latitude":"06dd1110","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203225344001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20304088524652544,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1355372411082321920,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:49] 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-11-04 08:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793762606000,"timestamp_ms":1793762606000,"timestamp_seconds":1793762606,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4953bb0"} 
[2026-11-04 08:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:54:49] 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-11-04 08: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-11-04 08:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203225344001,"66":28354,"129":206,"2":56576,"24":56,"16":20304088524652544,"45":1355372411082321920},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-11-04 08:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203225344001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:54:49] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-04 08:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20304088524652544,"km_value":20304088524652.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1355372411082321920,"description":"Unknown IO ID 45"} 
[2026-11-04 08:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203225344001,"power":28354,"unknown_129":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":1355372411082321920}} 
[2026-11-04 08:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":229287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:54:49] local.INFO: GPS data processed {"connection_id":229287,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:54:49] local.INFO: Acknowledgment sent {"connection_id":229287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:54:50] local.INFO: TCP Data received {"connection_id":228790,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228790,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:50] local.INFO: Processing buffer {"connection_id":228790,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:54:50] local.INFO: IMEI packet received {"connection_id":228790,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":228790,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:54:51] local.INFO: TCP Data received {"connection_id":228790,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a495dbd8012d0c798007077860001801172b..."} 
[2026-11-04 08:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a495dbd8012d0c798007077860001801172b..."} 
[2026-11-04 08:54:51] local.INFO: Processing buffer {"connection_id":228790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a495dbd8012d0c798007077860001801172b..."} 
[2026-11-04 08:54:51] local.INFO: Packet analysis {"connection_id":228790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:51] local.INFO: Extracted packet for processing {"connection_id":228790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:54:51] local.INFO: GPS Element Parsed {"raw_longitude":755792256,"raw_latitude":117930080,"longitude_deg":75.5792256,"latitude_deg":11.793008,"altitude":24,"angle":279,"satellites":43,"speed":18,"hex_longitude":"2d0c7980","hex_latitude":"07077860","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203237120001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39168568436195328,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":899805161989840896,"note":"Value kept but may cause issues"} 
[2026-11-04 08:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793762647000,"timestamp_ms":1793762647000,"timestamp_seconds":1793762647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a495dbd8"} 
[2026-11-04 08:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 08:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203237120001,"66":14537,"221":206,"94":10240,"24":18,"16":39168568436195328,"45":899805161989840896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203237120001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:54:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:54:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39168568436195328,"km_value":39168568436195.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":899805161989840896,"description":"Unknown IO ID 45"} 
[2026-11-04 08:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203237120001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":899805161989840896}} 
[2026-11-04 08:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":228790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58313,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:54:51] local.INFO: GPS data processed {"connection_id":228790,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:54:51] local.INFO: Acknowledgment sent {"connection_id":228790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:55:07] local.INFO: TCP Data received {"connection_id":232412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:07] local.INFO: Processing buffer {"connection_id":232412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:07] local.INFO: IMEI packet received {"connection_id":232412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":232412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:55:08] local.INFO: TCP Data received {"connection_id":232412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:08] local.INFO: Processing buffer {"connection_id":232412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:08] local.INFO: IMEI packet received {"connection_id":232412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":232412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:55:12] local.INFO: TCP Data received {"connection_id":232412,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:12] local.INFO: Processing buffer {"connection_id":232412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:55:12] local.INFO: IMEI packet received {"connection_id":232412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":232412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:55:13] local.INFO: TCP Data received {"connection_id":232412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a495a910012d1e1cc006d1a490001100952e..."} 
[2026-11-04 08:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a495a910012d1e1cc006d1a490001100952e..."} 
[2026-11-04 08:55:13] local.INFO: Processing buffer {"connection_id":232412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a495a910012d1e1cc006d1a490001100952e..."} 
[2026-11-04 08:55:13] local.INFO: Packet analysis {"connection_id":232412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:55:13] local.INFO: Extracted packet for processing {"connection_id":232412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756948160,"raw_latitude":114402448,"longitude_deg":75.694816,"latitude_deg":11.4402448,"altitude":17,"angle":149,"satellites":46,"speed":34,"hex_longitude":"2d1e1cc0","hex_latitude":"06d1a490","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203230976001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38652566770286592,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2163698175263836160,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762634000,"timestamp_ms":1793762634000,"timestamp_seconds":1793762634,"priority":1,"record_length":96,"hex_timestamp":"000001a1a495a910"} 
[2026-11-04 08:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 08:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203230976001,"66":27821,"140":206,"81":20480,"24":34,"16":38652566770286592,"45":2163698175263836160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-11-04 08:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203230976001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:55:13] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-04 08:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38652566770286592,"km_value":38652566770286.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2163698175263836160,"description":"Unknown IO ID 45"} 
[2026-11-04 08:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203230976001,"power":27821,"unknown_140":206,"unknown_81":20480,"ignition":34,"odometer":null,"unknown_45":2163698175263836160}} 
[2026-11-04 08:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":232412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:55:13] local.INFO: GPS data processed {"connection_id":232412,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:55:13] local.INFO: Acknowledgment sent {"connection_id":232412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:55:14] local.INFO: TCP Data received {"connection_id":228791,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:55:14] local.INFO: Processing buffer {"connection_id":228791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:55:14] local.INFO: IMEI packet received {"connection_id":228791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":228791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:55:18] local.INFO: TCP Data received {"connection_id":228791,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:55:18] local.INFO: Processing buffer {"connection_id":228791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:55:18] local.INFO: IMEI packet received {"connection_id":228791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":228791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:55:20] local.INFO: TCP Data received {"connection_id":228791,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4955708012d12b2c006dd36580010014f30..."} 
[2026-11-04 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4955708012d12b2c006dd36580010014f30..."} 
[2026-11-04 08:55:20] local.INFO: Processing buffer {"connection_id":228791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4955708012d12b2c006dd36580010014f30..."} 
[2026-11-04 08:55:20] local.INFO: Packet analysis {"connection_id":228791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:55:20] local.INFO: Extracted packet for processing {"connection_id":228791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756200128,"raw_latitude":115160664,"longitude_deg":75.6200128,"latitude_deg":11.5160664,"altitude":16,"angle":335,"satellites":48,"speed":59,"hex_longitude":"2d12b2c0","hex_latitude":"06dd3658","is_valid_coordinates":true} 
[2026-11-04 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203227136001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20304586740858880,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1351713236387434496,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:20] 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-11-04 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793762613000,"timestamp_ms":1793762613000,"timestamp_seconds":1793762613,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4955708"} 
[2026-11-04 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:55: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-11-04 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203227136001,"66":28137,"129":206,"2":56576,"24":59,"16":20304586740858880,"45":1351713236387434496},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-11-04 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203227136001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:55:20] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-11-04 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20304586740858880,"km_value":20304586740858.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1351713236387434496,"description":"Unknown IO ID 45"} 
[2026-11-04 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203227136001,"power":28137,"unknown_129":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1351713236387434496}} 
[2026-11-04 08:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":228791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:55:20] local.INFO: GPS data processed {"connection_id":228791,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:55:20] local.INFO: Acknowledgment sent {"connection_id":228791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:55:22] local.INFO: TCP Data received {"connection_id":228790,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4969f28012d0c0a40070751500017010926..."} 
[2026-11-04 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4969f28012d0c0a40070751500017010926..."} 
[2026-11-04 08:55:22] local.INFO: Processing buffer {"connection_id":228790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4969f28012d0c0a40070751500017010926..."} 
[2026-11-04 08:55:22] local.INFO: Packet analysis {"connection_id":228790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:55:22] local.INFO: Extracted packet for processing {"connection_id":228790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:55:22] local.INFO: GPS Element Parsed {"raw_longitude":755763776,"raw_latitude":117920080,"longitude_deg":75.5763776,"latitude_deg":11.792008,"altitude":23,"angle":265,"satellites":38,"speed":30,"hex_longitude":"2d0c0a40","hex_latitude":"07075150","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203247104001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39170264948277248,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":878201957525041152,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793762697000,"timestamp_ms":1793762697000,"timestamp_seconds":1793762697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4969f28"} 
[2026-11-04 08:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-11-04 08:55:22] 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-11-04 08: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-11-04 08:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228790,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203247104001,"66":14396,"221":206,"94":10240,"24":30,"16":39170264948277248,"45":878201957525041152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203247104001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:55:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:55:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39170264948277248,"km_value":39170264948277.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":878201957525041152,"description":"Unknown IO ID 45"} 
[2026-11-04 08:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203247104001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":878201957525041152}} 
[2026-11-04 08:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":228790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58316,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:55:22] local.INFO: GPS data processed {"connection_id":228790,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:55:22] local.INFO: Acknowledgment sent {"connection_id":228790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:55:43] local.INFO: TCP Data received {"connection_id":230564,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:55:43] local.INFO: Processing buffer {"connection_id":230564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:55:43] local.INFO: IMEI packet received {"connection_id":230564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":230564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:55:44] local.INFO: TCP Data received {"connection_id":232412,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a495c080012d1e24c006d193a8001100a02f..."} 
[2026-11-04 08:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a495c080012d1e24c006d193a8001100a02f..."} 
[2026-11-04 08:55:44] local.INFO: Processing buffer {"connection_id":232412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a495c080012d1e24c006d193a8001100a02f..."} 
[2026-11-04 08:55:44] local.INFO: Packet analysis {"connection_id":232412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:55:44] local.INFO: Extracted packet for processing {"connection_id":232412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756950208,"raw_latitude":114398120,"longitude_deg":75.6950208,"latitude_deg":11.439812,"altitude":17,"angle":160,"satellites":47,"speed":24,"hex_longitude":"2d1e24c0","hex_latitude":"06d193a8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203234304001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38652798698520576,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2169820256005296128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793762640000,"timestamp_ms":1793762640000,"timestamp_seconds":1793762640,"priority":1,"record_length":96,"hex_timestamp":"000001a1a495c080"} 
[2026-11-04 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-11-04 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 08:55: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-11-04 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-11-04 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-11-04 08:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203234304001,"66":27930,"140":206,"81":20480,"24":24,"16":38652798698520576,"45":2169820256005296128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-11-04 08:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203234304001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:55:44] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-04 08:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38652798698520576,"km_value":38652798698520.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2169820256005296128,"description":"Unknown IO ID 45"} 
[2026-11-04 08:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203234304001,"power":27930,"unknown_140":206,"unknown_81":20480,"ignition":24,"odometer":null,"unknown_45":2169820256005296128}} 
[2026-11-04 08:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":232412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:55:44] local.INFO: GPS data processed {"connection_id":232412,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:55:44] local.INFO: Acknowledgment sent {"connection_id":232412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:55:49] local.INFO: TCP Data received {"connection_id":230564,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230564,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:55:49] local.INFO: Processing buffer {"connection_id":230564,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:55:49] local.INFO: IMEI packet received {"connection_id":230564,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":230564,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:55:49] local.INFO: TCP Data received {"connection_id":230564,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a496b698012d0bf70007074d08001700fc28..."} 
[2026-11-04 08:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a496b698012d0bf70007074d08001700fc28..."} 
[2026-11-04 08:55:49] local.INFO: Processing buffer {"connection_id":230564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a496b698012d0bf70007074d08001700fc28..."} 
[2026-11-04 08:55:49] local.INFO: Packet analysis {"connection_id":230564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:55:49] local.INFO: Extracted packet for processing {"connection_id":230564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":755758848,"raw_latitude":117918984,"longitude_deg":75.5758848,"latitude_deg":11.7918984,"altitude":23,"angle":252,"satellites":40,"speed":39,"hex_longitude":"2d0bf700","hex_latitude":"07074d08","is_valid_coordinates":true} 
[2026-11-04 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203250432001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39170505466445824,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867576277153959936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793762703000,"timestamp_ms":1793762703000,"timestamp_seconds":1793762703,"priority":1,"record_length":96,"hex_timestamp":"000001a1a496b698"} 
[2026-11-04 08:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 08:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203250432001,"66":14461,"221":206,"94":10240,"24":39,"16":39170505466445824,"45":867576277153959936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 08:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203250432001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:55:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 08:55:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39170505466445824,"km_value":39170505466445.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":867576277153959936,"description":"Unknown IO ID 45"} 
[2026-11-04 08:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203250432001,"power":14461,"unknown_221":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":867576277153959936}} 
[2026-11-04 08:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":230564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58318,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:55:50] local.INFO: GPS data processed {"connection_id":230564,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:55:50] local.INFO: Acknowledgment sent {"connection_id":230564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:55:51] local.INFO: TCP Data received {"connection_id":228791,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49683d0012d12400006deb3e8000c01542f..."} 
[2026-11-04 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49683d0012d12400006deb3e8000c01542f..."} 
[2026-11-04 08:55:51] local.INFO: Processing buffer {"connection_id":228791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49683d0012d12400006deb3e8000c01542f..."} 
[2026-11-04 08:55:51] local.INFO: Packet analysis {"connection_id":228791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:55:51] local.INFO: Extracted packet for processing {"connection_id":228791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756170752,"raw_latitude":115258344,"longitude_deg":75.6170752,"latitude_deg":11.5258344,"altitude":12,"angle":340,"satellites":47,"speed":41,"hex_longitude":"2d124000","hex_latitude":"06deb3e8","is_valid_coordinates":true} 
[2026-11-04 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203246080001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20309590377758720,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1318217714183931904,"note":"Value kept but may cause issues"} 
[2026-11-04 08:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793762690000,"timestamp_ms":1793762690000,"timestamp_seconds":1793762690,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49683d0"} 
[2026-11-04 08:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 08:55:51] 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-11-04 08:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203246080001,"66":28354,"1":206,"2":56576,"24":41,"16":20309590377758720,"45":1318217714183931904},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-11-04 08:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203246080001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20309590377758720,"km_value":20309590377758.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1318217714183931904,"description":"Unknown IO ID 45"} 
[2026-11-04 08:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203246080001,"power":28354,"imei":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1318217714183931904}} 
[2026-11-04 08:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":228791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:55:52] local.INFO: GPS data processed {"connection_id":228791,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:55:52] local.INFO: Acknowledgment sent {"connection_id":228791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:56:06] local.INFO: TCP Data received {"connection_id":232413,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:06] local.INFO: Processing buffer {"connection_id":232413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:06] local.INFO: IMEI packet received {"connection_id":232413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":232413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:56:07] local.INFO: TCP Data received {"connection_id":232413,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:07] local.INFO: Processing buffer {"connection_id":232413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:07] local.INFO: IMEI packet received {"connection_id":232413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":232413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:56:10] local.INFO: TCP Data received {"connection_id":230565,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:10] local.INFO: Processing buffer {"connection_id":230565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:10] local.INFO: IMEI packet received {"connection_id":230565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":230565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:56:11] local.INFO: TCP Data received {"connection_id":230565,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:11] local.INFO: Processing buffer {"connection_id":230565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:11] local.INFO: IMEI packet received {"connection_id":230565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":230565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:56:12] local.INFO: TCP Data received {"connection_id":232413,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:12] local.INFO: Processing buffer {"connection_id":232413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:56:12] local.INFO: IMEI packet received {"connection_id":232413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":232413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:56:14] local.INFO: TCP Data received {"connection_id":232413,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a495ef60012d1e2ec006d179b8000f00952e..."} 
[2026-11-04 08:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a495ef60012d1e2ec006d179b8000f00952e..."} 
[2026-11-04 08:56:14] local.INFO: Processing buffer {"connection_id":232413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a495ef60012d1e2ec006d179b8000f00952e..."} 
[2026-11-04 08:56:14] local.INFO: Packet analysis {"connection_id":232413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:56:14] local.INFO: Extracted packet for processing {"connection_id":232413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a495"} 
[2026-11-04 08:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756952768,"raw_latitude":114391480,"longitude_deg":75.6952768,"latitude_deg":11.439148,"altitude":15,"angle":149,"satellites":46,"speed":10,"hex_longitude":"2d1e2ec0","hex_latitude":"06d179b8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203235840001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38653142295904256,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172072055817873408,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793762652000,"timestamp_ms":1793762652000,"timestamp_seconds":1793762652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a495ef60"} 
[2026-11-04 08:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 08:56:14] 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-11-04 08: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-11-04 08:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203235840001,"66":27745,"140":206,"81":20480,"24":10,"16":38653142295904256,"45":2172072055817873408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,81,24,16,45]} 
[2026-11-04 08:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203235840001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:56:14] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-11-04 08:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":20480,"description":"Unknown IO ID 81"} 
[2026-11-04 08:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38653142295904256,"km_value":38653142295904.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2172072055817873408,"description":"Unknown IO ID 45"} 
[2026-11-04 08:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203235840001,"power":27745,"unknown_140":206,"unknown_81":20480,"ignition":10,"odometer":null,"unknown_45":2172072055817873408}} 
[2026-11-04 08:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":232413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:56:14] local.INFO: GPS data processed {"connection_id":232413,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:56:14] local.INFO: Acknowledgment sent {"connection_id":232413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:56:15] local.INFO: TCP Data received {"connection_id":230565,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:15] local.INFO: Processing buffer {"connection_id":230565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:56:15] local.INFO: IMEI packet received {"connection_id":230565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":230565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:56:16] local.INFO: TCP Data received {"connection_id":230565,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a496a310012d12348006ded550000d01572f..."} 
[2026-11-04 08:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a496a310012d12348006ded550000d01572f..."} 
[2026-11-04 08:56:16] local.INFO: Processing buffer {"connection_id":230565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a496a310012d12348006ded550000d01572f..."} 
[2026-11-04 08:56:16] local.INFO: Packet analysis {"connection_id":230565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:16] local.INFO: Extracted packet for processing {"connection_id":230565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756167808,"raw_latitude":115266896,"longitude_deg":75.6167808,"latitude_deg":11.5266896,"altitude":13,"angle":343,"satellites":47,"speed":47,"hex_longitude":"2d123480","hex_latitude":"06ded550","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203248640001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20310028464422912,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1315051120698320896,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793762698000,"timestamp_ms":1793762698000,"timestamp_seconds":1793762698,"priority":1,"record_length":96,"hex_timestamp":"000001a1a496a310"} 
[2026-11-04 08:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:56:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:56: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-11-04 08: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-11-04 08:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203248640001,"66":28300,"1":206,"2":56576,"24":47,"16":20310028464422912,"45":1315051120698320896},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-11-04 08:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203248640001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20310028464422912,"km_value":20310028464422.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1315051120698320896,"description":"Unknown IO ID 45"} 
[2026-11-04 08:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203248640001,"power":28300,"imei":206,"power_alt":56576,"ignition":47,"odometer":null,"unknown_45":1315051120698320896}} 
[2026-11-04 08:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":230565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:56:16] local.INFO: GPS data processed {"connection_id":230565,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:56:16] local.INFO: Acknowledgment sent {"connection_id":230565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:56:19] local.INFO: TCP Data received {"connection_id":230565,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a496c250012d122b0006defb38000d015c30..."} 
[2026-11-04 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a496c250012d122b0006defb38000d015c30..."} 
[2026-11-04 08:56:19] local.INFO: Processing buffer {"connection_id":230565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a496c250012d122b0006defb38000d015c30..."} 
[2026-11-04 08:56:19] local.INFO: Packet analysis {"connection_id":230565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:19] local.INFO: Extracted packet for processing {"connection_id":230565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756165376,"raw_latitude":115276600,"longitude_deg":75.6165376,"latitude_deg":11.52766,"altitude":13,"angle":348,"satellites":48,"speed":52,"hex_longitude":"2d122b00","hex_latitude":"06defb38","is_valid_coordinates":true} 
[2026-11-04 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-11-04 08:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203250688001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20310513795727360,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1311814158468337664,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793762706000,"timestamp_ms":1793762706000,"timestamp_seconds":1793762706,"priority":1,"record_length":96,"hex_timestamp":"000001a1a496c250"} 
[2026-11-04 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-11-04 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:56:19] 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-11-04 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-11-04 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-11-04 08:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203250688001,"66":28267,"1":206,"2":56576,"24":52,"16":20310513795727360,"45":1311814158468337664},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-11-04 08:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203250688001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20310513795727360,"km_value":20310513795727.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1311814158468337664,"description":"Unknown IO ID 45"} 
[2026-11-04 08:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203250688001,"power":28267,"imei":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":1311814158468337664}} 
[2026-11-04 08:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":230565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:56:19] local.INFO: GPS data processed {"connection_id":230565,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:56:19] local.INFO: Acknowledgment sent {"connection_id":230565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:56:21] local.INFO: TCP Data received {"connection_id":230564,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4979d10012d0ba200070712c8001601002b..."} 
[2026-11-04 08:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4979d10012d0ba200070712c8001601002b..."} 
[2026-11-04 08:56:21] local.INFO: Processing buffer {"connection_id":230564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4979d10012d0ba200070712c8001601002b..."} 
[2026-11-04 08:56:21] local.INFO: Packet analysis {"connection_id":230564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:56:21] local.INFO: Extracted packet for processing {"connection_id":230564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:56:21] local.INFO: GPS Element Parsed {"raw_longitude":755737088,"raw_latitude":117904072,"longitude_deg":75.5737088,"latitude_deg":11.7904072,"altitude":22,"angle":256,"satellites":43,"speed":30,"hex_longitude":"2d0ba200","hex_latitude":"070712c8","is_valid_coordinates":true} 
[2026-11-04 08:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203265280001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39172073129508864,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842806479199764480,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793762762000,"timestamp_ms":1793762762000,"timestamp_seconds":1793762762,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4979d10"} 
[2026-11-04 08:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 08:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230564,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203265280001,"66":14439,"163":206,"94":10240,"24":30,"16":39172073129508864,"45":842806479199764480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203265280001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:56:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:56:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39172073129508864,"km_value":39172073129508.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":842806479199764480,"description":"Unknown IO ID 45"} 
[2026-11-04 08:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203265280001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":842806479199764480}} 
[2026-11-04 08:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":230564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58323,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:56:21] local.INFO: GPS data processed {"connection_id":230564,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:56:21] local.INFO: Acknowledgment sent {"connection_id":230564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:56:44] local.INFO: TCP Data received {"connection_id":232413,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49631c8012d1e400006d15ac0000f00952f..."} 
[2026-11-04 08:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49631c8012d1e400006d15ac0000f00952f..."} 
[2026-11-04 08:56:44] local.INFO: Processing buffer {"connection_id":232413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49631c8012d1e400006d15ac0000f00952f..."} 
[2026-11-04 08:56:44] local.INFO: Packet analysis {"connection_id":232413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:44] local.INFO: Extracted packet for processing {"connection_id":232413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756957184,"raw_latitude":114383552,"longitude_deg":75.6957184,"latitude_deg":11.4383552,"altitude":15,"angle":149,"satellites":47,"speed":20,"hex_longitude":"2d1e4000","hex_latitude":"06d15ac0","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203238912001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38653580382568448,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174886805583280128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793762669000,"timestamp_ms":1793762669000,"timestamp_seconds":1793762669,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49631c8"} 
[2026-11-04 08:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 08:56: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-11-04 08: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-11-04 08:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203238912001,"66":27484,"153":206,"81":22528,"24":20,"16":38653580382568448,"45":2174886805583280128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,81,24,16,45]} 
[2026-11-04 08:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203238912001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:56:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 08:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 08:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38653580382568448,"km_value":38653580382568.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2174886805583280128,"description":"Unknown IO ID 45"} 
[2026-11-04 08:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203238912001,"power":27484,"unknown_153":206,"unknown_81":22528,"ignition":20,"odometer":null,"unknown_45":2174886805583280128}} 
[2026-11-04 08:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":232413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:56:45] local.INFO: GPS data processed {"connection_id":232413,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:56:45] local.INFO: Acknowledgment sent {"connection_id":232413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:56:48] local.INFO: TCP Data received {"connection_id":230566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:48] local.INFO: Processing buffer {"connection_id":230566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:48] local.INFO: IMEI packet received {"connection_id":230566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":230566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:56:48] local.INFO: TCP Data received {"connection_id":230566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:48] local.INFO: Processing buffer {"connection_id":230566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:48] local.INFO: IMEI packet received {"connection_id":230566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":230566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:56:51] local.INFO: TCP Data received {"connection_id":230565,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a496dda8012d12238006df1ff0000c015b2f..."} 
[2026-11-04 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a496dda8012d12238006df1ff0000c015b2f..."} 
[2026-11-04 08:56:51] local.INFO: Processing buffer {"connection_id":230565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a496dda8012d12238006df1ff0000c015b2f..."} 
[2026-11-04 08:56:51] local.INFO: Packet analysis {"connection_id":230565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:51] local.INFO: Extracted packet for processing {"connection_id":230565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756163456,"raw_latitude":115286000,"longitude_deg":75.6163456,"latitude_deg":11.5286,"altitude":12,"angle":347,"satellites":47,"speed":56,"hex_longitude":"2d122380","hex_latitude":"06df1ff0","is_valid_coordinates":true} 
[2026-11-04 08:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203252736001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20310977652195328,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1309140146192070656,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793762713000,"timestamp_ms":1793762713000,"timestamp_seconds":1793762713,"priority":1,"record_length":96,"hex_timestamp":"000001a1a496dda8"} 
[2026-11-04 08:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 08:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203252736001,"66":28300,"1":206,"2":56576,"24":56,"16":20310977652195328,"45":1309140146192070656},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-11-04 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203252736001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20310977652195328,"km_value":20310977652195.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1309140146192070656,"description":"Unknown IO ID 45"} 
[2026-11-04 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203252736001,"power":28300,"imei":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":1309140146192070656}} 
[2026-11-04 08:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":230565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:56:52] local.INFO: GPS data processed {"connection_id":230565,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:56:52] local.INFO: Acknowledgment sent {"connection_id":230565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:56:53] local.INFO: TCP Data received {"connection_id":230566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230566,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:53] local.INFO: Processing buffer {"connection_id":230566,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:56:53] local.INFO: IMEI packet received {"connection_id":230566,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":230566,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:56:54] local.INFO: TCP Data received {"connection_id":230566,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a497cbf0012d0b7d0007070d780013010e2c..."} 
[2026-11-04 08:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a497cbf0012d0b7d0007070d780013010e2c..."} 
[2026-11-04 08:56:54] local.INFO: Processing buffer {"connection_id":230566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a497cbf0012d0b7d0007070d780013010e2c..."} 
[2026-11-04 08:56:54] local.INFO: Packet analysis {"connection_id":230566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:56:54] local.INFO: Extracted packet for processing {"connection_id":230566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":755727616,"raw_latitude":117902712,"longitude_deg":75.5727616,"latitude_deg":11.7902712,"altitude":19,"angle":270,"satellites":44,"speed":37,"hex_longitude":"2d0b7d00","hex_latitude":"07070d78","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203267072001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39172528396042240,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":838232510827776000,"note":"Value kept but may cause issues"} 
[2026-11-04 08:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793762774000,"timestamp_ms":1793762774000,"timestamp_seconds":1793762774,"priority":1,"record_length":96,"hex_timestamp":"000001a1a497cbf0"} 
[2026-11-04 08:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203267072001,"66":14450,"163":206,"94":10240,"24":37,"16":39172528396042240,"45":838232510827776000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203267072001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:56:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:56:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39172528396042240,"km_value":39172528396042.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":838232510827776000,"description":"Unknown IO ID 45"} 
[2026-11-04 08:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203267072001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":838232510827776000}} 
[2026-11-04 08:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":230566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:56:54] local.INFO: GPS data processed {"connection_id":230566,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:56:54] local.INFO: Acknowledgment sent {"connection_id":230566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:57:07] local.INFO: TCP Data received {"connection_id":229288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:07] local.INFO: Processing buffer {"connection_id":229288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:07] local.INFO: IMEI packet received {"connection_id":229288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":229288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:57:09] local.INFO: TCP Data received {"connection_id":228792,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:09] local.INFO: Processing buffer {"connection_id":228792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:09] local.INFO: IMEI packet received {"connection_id":228792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":228792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:57:10] local.INFO: TCP Data received {"connection_id":229288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:10] local.INFO: Processing buffer {"connection_id":229288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:10] local.INFO: IMEI packet received {"connection_id":229288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":229288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:57:11] local.INFO: TCP Data received {"connection_id":228792,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:11] local.INFO: Processing buffer {"connection_id":228792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:11] local.INFO: IMEI packet received {"connection_id":228792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":228792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:57:12] local.INFO: TCP Data received {"connection_id":229288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:12] local.INFO: Processing buffer {"connection_id":229288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:57:12] local.INFO: IMEI packet received {"connection_id":229288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":229288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:57:13] local.INFO: TCP Data received {"connection_id":229288,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a497a8c8012d1f014006d03920000e009231..."} 
[2026-11-04 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a497a8c8012d1f014006d03920000e009231..."} 
[2026-11-04 08:57:13] local.INFO: Processing buffer {"connection_id":229288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a497a8c8012d1f014006d03920000e009231..."} 
[2026-11-04 08:57:13] local.INFO: Packet analysis {"connection_id":229288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:57:13] local.INFO: Extracted packet for processing {"connection_id":229288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":757006656,"raw_latitude":114309408,"longitude_deg":75.7006656,"latitude_deg":11.4309408,"altitude":14,"angle":146,"satellites":49,"speed":20,"hex_longitude":"2d1f0140","hex_latitude":"06d03920","is_valid_coordinates":true} 
[2026-11-04 08:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203264768001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38657879644831744,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2228578157371697152,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762765000,"timestamp_ms":1793762765000,"timestamp_seconds":1793762765,"priority":1,"record_length":96,"hex_timestamp":"000001a1a497a8c8"} 
[2026-11-04 08:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-11-04 08:57:13] 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-11-04 08:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203264768001,"66":27626,"152":206,"81":22528,"24":20,"16":38657879644831744,"45":2228578157371697152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,81,24,16,45]} 
[2026-11-04 08:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203264768001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:57:13] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-11-04 08:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 08:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38657879644831744,"km_value":38657879644831.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2228578157371697152,"description":"Unknown IO ID 45"} 
[2026-11-04 08:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203264768001,"power":27626,"unknown_152":206,"unknown_81":22528,"ignition":20,"odometer":null,"unknown_45":2228578157371697152}} 
[2026-11-04 08:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":229288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:57:14] local.INFO: GPS data processed {"connection_id":229288,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:57:14] local.INFO: Acknowledgment sent {"connection_id":229288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:57:15] local.INFO: TCP Data received {"connection_id":228792,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:15] local.INFO: Processing buffer {"connection_id":228792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:57:15] local.INFO: IMEI packet received {"connection_id":228792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":228792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:57:26] local.INFO: TCP Data received {"connection_id":230566,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a498be20012d0af8c007067658000c00e527..."} 
[2026-11-04 08:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a498be20012d0af8c007067658000c00e527..."} 
[2026-11-04 08:57:26] local.INFO: Processing buffer {"connection_id":230566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a498be20012d0af8c007067658000c00e527..."} 
[2026-11-04 08:57:26] local.INFO: Packet analysis {"connection_id":230566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:57:26] local.INFO: Extracted packet for processing {"connection_id":230566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:57:26] local.INFO: GPS Element Parsed {"raw_longitude":755693760,"raw_latitude":117864024,"longitude_deg":75.569376,"latitude_deg":11.7864024,"altitude":12,"angle":229,"satellites":39,"speed":19,"hex_longitude":"2d0af8c0","hex_latitude":"07067658","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203285760001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39175152621060096,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791015083474405376,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793762836000,"timestamp_ms":1793762836000,"timestamp_seconds":1793762836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a498be20"} 
[2026-11-04 08:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230566,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203285760001,"66":14515,"163":206,"94":10240,"24":19,"16":39175152621060096,"45":791015083474405376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203285760001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:57:26] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:57:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39175152621060096,"km_value":39175152621060.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":791015083474405376,"description":"Unknown IO ID 45"} 
[2026-11-04 08:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203285760001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":791015083474405376}} 
[2026-11-04 08:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":230566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58328,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:57:26] local.INFO: GPS data processed {"connection_id":230566,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:57:26] local.INFO: Acknowledgment sent {"connection_id":230566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:57:29] local.INFO: TCP Data received {"connection_id":228792,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a496f900012d121b0006df46c8000b015b30..."} 
[2026-11-04 08:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a496f900012d121b0006df46c8000b015b30..."} 
[2026-11-04 08:57:29] local.INFO: Processing buffer {"connection_id":228792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a496f900012d121b0006df46c8000b015b30..."} 
[2026-11-04 08:57:29] local.INFO: Packet analysis {"connection_id":228792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:57:29] local.INFO: Extracted packet for processing {"connection_id":228792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a496"} 
[2026-11-04 08:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756161280,"raw_latitude":115295944,"longitude_deg":75.616128,"latitude_deg":11.5295944,"altitude":11,"angle":347,"satellites":48,"speed":58,"hex_longitude":"2d121b00","hex_latitude":"06df46c8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203254528001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20311471573434368,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1307029083869147136,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793762720000,"timestamp_ms":1793762720000,"timestamp_seconds":1793762720,"priority":1,"record_length":96,"hex_timestamp":"000001a1a496f900"} 
[2026-11-04 08:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:57:29] 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-11-04 08: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-11-04 08:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":228792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":228792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":228792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203254528001,"66":28354,"1":206,"2":56576,"24":58,"16":20311471573434368,"45":1307029083869147136},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-11-04 08:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203254528001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20311471573434368,"km_value":20311471573434.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1307029083869147136,"description":"Unknown IO ID 45"} 
[2026-11-04 08:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203254528001,"power":28354,"imei":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1307029083869147136}} 
[2026-11-04 08:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":228792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:57:29] local.INFO: GPS data processed {"connection_id":228792,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:57:29] local.INFO: Acknowledgment sent {"connection_id":228792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:57:43] local.INFO: TCP Data received {"connection_id":230567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:57:43] local.INFO: Processing buffer {"connection_id":230567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:57:43] local.INFO: IMEI packet received {"connection_id":230567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":230567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:57:45] local.INFO: TCP Data received {"connection_id":229288,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a497eb30012d1f148006d01b48000d009331..."} 
[2026-11-04 08:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a497eb30012d1f148006d01b48000d009331..."} 
[2026-11-04 08:57:45] local.INFO: Processing buffer {"connection_id":229288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a497eb30012d1f148006d01b48000d009331..."} 
[2026-11-04 08:57:45] local.INFO: Packet analysis {"connection_id":229288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:57:45] local.INFO: Extracted packet for processing {"connection_id":229288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a497"} 
[2026-11-04 08:57:45] local.INFO: GPS Element Parsed {"raw_longitude":757011584,"raw_latitude":114301768,"longitude_deg":75.7011584,"latitude_deg":11.4301768,"altitude":13,"angle":147,"satellites":49,"speed":28,"hex_longitude":"2d1f1480","hex_latitude":"06d01b48","is_valid_coordinates":true} 
[2026-11-04 08:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203267840001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38658317731495936,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2234137288159862784,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793762782000,"timestamp_ms":1793762782000,"timestamp_seconds":1793762782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a497eb30"} 
[2026-11-04 08:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 08:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203267840001,"66":27615,"81":22528,"24":28,"16":38658317731495936,"45":2234137288159862784},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-11-04 08:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203267840001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 08:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38658317731495936,"km_value":38658317731495.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2234137288159862784,"description":"Unknown IO ID 45"} 
[2026-11-04 08:57:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203267840001,"power":27615,"unknown_81":22528,"ignition":28,"odometer":null,"unknown_45":2234137288159862784}} 
[2026-11-04 08:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":229288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:57:45] local.INFO: GPS data processed {"connection_id":229288,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:57:45] local.INFO: Acknowledgment sent {"connection_id":229288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:57:49] local.INFO: TCP Data received {"connection_id":230567,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230567,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:57:49] local.INFO: Processing buffer {"connection_id":230567,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:57:49] local.INFO: IMEI packet received {"connection_id":230567,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":230567,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:57:50] local.INFO: TCP Data received {"connection_id":230567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a498c5f0012d0af50007067430000c00f027..."} 
[2026-11-04 08:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a498c5f0012d0af50007067430000c00f027..."} 
[2026-11-04 08:57:50] local.INFO: Processing buffer {"connection_id":230567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a498c5f0012d0af50007067430000c00f027..."} 
[2026-11-04 08:57:50] local.INFO: Packet analysis {"connection_id":230567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:57:50] local.INFO: Extracted packet for processing {"connection_id":230567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755692800,"raw_latitude":117863472,"longitude_deg":75.56928,"latitude_deg":11.7863472,"altitude":12,"angle":240,"satellites":39,"speed":21,"hex_longitude":"2d0af500","hex_latitude":"07067430","is_valid_coordinates":true} 
[2026-11-04 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203286016001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39175204160667648,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790592871009245184,"note":"Value kept but may cause issues"} 
[2026-11-04 08:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793762838000,"timestamp_ms":1793762838000,"timestamp_seconds":1793762838,"priority":1,"record_length":96,"hex_timestamp":"000001a1a498c5f0"} 
[2026-11-04 08:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 08:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203286016001,"66":13798,"163":206,"94":10240,"24":21,"16":39175204160667648,"45":790592871009245184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203286016001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:57:50] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:57:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39175204160667648,"km_value":39175204160667.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":790592871009245184,"description":"Unknown IO ID 45"} 
[2026-11-04 08:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203286016001,"power":13798,"unknown_163":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":790592871009245184}} 
[2026-11-04 08:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":230567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58331,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:57:50] local.INFO: GPS data processed {"connection_id":230567,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:57:50] local.INFO: Acknowledgment sent {"connection_id":230567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:58:09] local.INFO: TCP Data received {"connection_id":230569,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:58:09] local.INFO: Processing buffer {"connection_id":230569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:58:09] local.INFO: IMEI packet received {"connection_id":230569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":230569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:58:11] local.INFO: TCP Data received {"connection_id":230568,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:11] local.INFO: Processing buffer {"connection_id":230568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:11] local.INFO: IMEI packet received {"connection_id":230568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":230568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:58:12] local.INFO: TCP Data received {"connection_id":230568,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:12] local.INFO: Processing buffer {"connection_id":230568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:12] local.INFO: IMEI packet received {"connection_id":230568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":230568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:58:14] local.INFO: TCP Data received {"connection_id":230569,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:58:14] local.INFO: Processing buffer {"connection_id":230569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:58:14] local.INFO: IMEI packet received {"connection_id":230569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":230569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:58:16] local.INFO: TCP Data received {"connection_id":230569,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4988388012d11940006e17760000b01562c..."} 
[2026-11-04 08:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4988388012d11940006e17760000b01562c..."} 
[2026-11-04 08:58:16] local.INFO: Processing buffer {"connection_id":230569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4988388012d11940006e17760000b01562c..."} 
[2026-11-04 08:58:16] local.INFO: Packet analysis {"connection_id":230569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:16] local.INFO: Extracted packet for processing {"connection_id":230569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756126720,"raw_latitude":115439456,"longitude_deg":75.612672,"latitude_deg":11.5439456,"altitude":11,"angle":342,"satellites":44,"speed":58,"hex_longitude":"2d119400","hex_latitude":"06e17760","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203280384001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20318644168818688,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1270578074421960704,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:16] 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-11-04 08:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793762821000,"timestamp_ms":1793762821000,"timestamp_seconds":1793762821,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4988388"} 
[2026-11-04 08:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 08:58: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-11-04 08: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-11-04 08:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203280384001,"66":28354,"102":206,"2":56576,"24":58,"16":20318644168818688,"45":1270578074421960704},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-11-04 08:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203280384001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:58:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-04 08:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20318644168818688,"km_value":20318644168818.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1270578074421960704,"description":"Unknown IO ID 45"} 
[2026-11-04 08:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203280384001,"power":28354,"unknown_102":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1270578074421960704}} 
[2026-11-04 08:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":230569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:58:17] local.INFO: GPS data processed {"connection_id":230569,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:58:17] local.INFO: Acknowledgment sent {"connection_id":230569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:58:17] local.INFO: TCP Data received {"connection_id":230568,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:17] local.INFO: Processing buffer {"connection_id":230568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:58:17] local.INFO: IMEI packet received {"connection_id":230568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":230568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:58:21] local.INFO: TCP Data received {"connection_id":230567,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a498d1a8012d0af0c007067150000c00e328..."} 
[2026-11-04 08:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a498d1a8012d0af0c007067150000c00e328..."} 
[2026-11-04 08:58:21] local.INFO: Processing buffer {"connection_id":230567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a498d1a8012d0af0c007067150000c00e328..."} 
[2026-11-04 08:58:21] local.INFO: Packet analysis {"connection_id":230567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:21] local.INFO: Extracted packet for processing {"connection_id":230567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:21] local.INFO: GPS Element Parsed {"raw_longitude":755691712,"raw_latitude":117862736,"longitude_deg":75.5691712,"latitude_deg":11.7862736,"altitude":12,"angle":227,"satellites":40,"speed":12,"hex_longitude":"2d0af0c0","hex_latitude":"07067150","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203286528001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39175268585177088,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789537339846438912,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793762841000,"timestamp_ms":1793762841000,"timestamp_seconds":1793762841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a498d1a8"} 
[2026-11-04 08:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-11-04 08:58:21] 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-11-04 08: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-11-04 08:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230567,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203286528001,"66":14439,"163":206,"94":10240,"24":12,"16":39175268585177088,"45":789537339846438912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203286528001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:58:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:58:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39175268585177088,"km_value":39175268585177.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":789537339846438912,"description":"Unknown IO ID 45"} 
[2026-11-04 08:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203286528001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":789537339846438912}} 
[2026-11-04 08:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":230567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58333,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:58:21] local.INFO: GPS data processed {"connection_id":230567,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:58:21] local.INFO: Acknowledgment sent {"connection_id":230567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:58:25] local.INFO: TCP Data received {"connection_id":230568,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4981240012d1f290006cffc98000e009031..."} 
[2026-11-04 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4981240012d1f290006cffc98000e009031..."} 
[2026-11-04 08:58:25] local.INFO: Processing buffer {"connection_id":230568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4981240012d1f290006cffc98000e009031..."} 
[2026-11-04 08:58:25] local.INFO: Packet analysis {"connection_id":230568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:25] local.INFO: Extracted packet for processing {"connection_id":230568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":757016832,"raw_latitude":114293912,"longitude_deg":75.7016832,"latitude_deg":11.4293912,"altitude":14,"angle":144,"satellites":49,"speed":41,"hex_longitude":"2d1f2900","hex_latitude":"06cffc98","is_valid_coordinates":true} 
[2026-11-04 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38658772998029312,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2239555681459587072,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 08:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793762792000,"timestamp_ms":1793762792000,"timestamp_seconds":1793762792,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4981240"} 
[2026-11-04 08:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 08:58:25] 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-11-04 08:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203272192001,"66":27517,"81":22528,"24":41,"16":38658772998029312,"45":2239555681459587072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,24,16,45]} 
[2026-11-04 08:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:58:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 08:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38658772998029312,"km_value":38658772998029.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2239555681459587072,"description":"Unknown IO ID 45"} 
[2026-11-04 08:58:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203272192001,"power":27517,"unknown_81":22528,"ignition":41,"odometer":null,"unknown_45":2239555681459587072}} 
[2026-11-04 08:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":230568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:58:25] local.INFO: GPS data processed {"connection_id":230568,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:58:25] local.INFO: Acknowledgment sent {"connection_id":230568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:58:40] local.INFO: TCP Data received {"connection_id":232414,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:40] local.INFO: Processing buffer {"connection_id":232414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:40] local.INFO: IMEI packet received {"connection_id":232414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":232414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:58:44] local.INFO: TCP Data received {"connection_id":232414,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:44] local.INFO: Processing buffer {"connection_id":232414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:44] local.INFO: IMEI packet received {"connection_id":232414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":232414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:58:45] local.INFO: TCP Data received {"connection_id":232414,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:45] local.INFO: Processing buffer {"connection_id":232414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:45] local.INFO: IMEI packet received {"connection_id":232414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":232414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:58:48] local.INFO: TCP Data received {"connection_id":230569,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4989ee0012d118ac006e19e90000b015e2e..."} 
[2026-11-04 08:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4989ee0012d118ac006e19e90000b015e2e..."} 
[2026-11-04 08:58:48] local.INFO: Processing buffer {"connection_id":230569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4989ee0012d118ac006e19e90000b015e2e..."} 
[2026-11-04 08:58:48] local.INFO: Packet analysis {"connection_id":230569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:48] local.INFO: Extracted packet for processing {"connection_id":230569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756124352,"raw_latitude":115449488,"longitude_deg":75.6124352,"latitude_deg":11.5449488,"altitude":11,"angle":350,"satellites":46,"speed":58,"hex_longitude":"2d118ac0","hex_latitude":"06e19e90","is_valid_coordinates":true} 
[2026-11-04 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203282176001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20319142385025024,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1266637424750452736,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:48] 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-11-04 08:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793762828000,"timestamp_ms":1793762828000,"timestamp_seconds":1793762828,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4989ee0"} 
[2026-11-04 08:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 08:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203282176001,"66":28245,"102":206,"2":56576,"24":58,"16":20319142385025024,"45":1266637424750452736},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-11-04 08:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203282176001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:58:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-11-04 08:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20319142385025024,"km_value":20319142385025.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1266637424750452736,"description":"Unknown IO ID 45"} 
[2026-11-04 08:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203282176001,"power":28245,"unknown_102":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1266637424750452736}} 
[2026-11-04 08:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":230569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:58:48] local.INFO: GPS data processed {"connection_id":230569,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:58:48] local.INFO: Acknowledgment sent {"connection_id":230569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:58:49] local.INFO: TCP Data received {"connection_id":232414,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:49] local.INFO: Processing buffer {"connection_id":232414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:58:49] local.INFO: IMEI packet received {"connection_id":232414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":232414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:58:49] local.INFO: TCP Data received {"connection_id":232414,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a498e918012d0aef8007066e50000d00a928..."} 
[2026-11-04 08:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a498e918012d0aef8007066e50000d00a928..."} 
[2026-11-04 08:58:49] local.INFO: Processing buffer {"connection_id":232414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a498e918012d0aef8007066e50000d00a928..."} 
[2026-11-04 08:58:49] local.INFO: Packet analysis {"connection_id":232414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:49] local.INFO: Extracted packet for processing {"connection_id":232414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a498"} 
[2026-11-04 08:58:49] local.INFO: GPS Element Parsed {"raw_longitude":755691392,"raw_latitude":117861968,"longitude_deg":75.5691392,"latitude_deg":11.7861968,"altitude":13,"angle":169,"satellites":40,"speed":10,"hex_longitude":"2d0aef80","hex_latitude":"07066e50","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203287296001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39175311534850048,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788341071195230208,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793762847000,"timestamp_ms":1793762847000,"timestamp_seconds":1793762847,"priority":1,"record_length":96,"hex_timestamp":"000001a1a498e918"} 
[2026-11-04 08:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08: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-11-04 08:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203287296001,"66":14450,"163":206,"94":10240,"24":10,"16":39175311534850048,"45":788341071195230208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203287296001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:58:49] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:58:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39175311534850048,"km_value":39175311534850.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":788341071195230208,"description":"Unknown IO ID 45"} 
[2026-11-04 08:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203287296001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":788341071195230208}} 
[2026-11-04 08:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":232414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58336,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:58:50] local.INFO: GPS data processed {"connection_id":232414,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:58:50] local.INFO: Acknowledgment sent {"connection_id":232414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:58:54] local.INFO: TCP Data received {"connection_id":232414,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4990470012d0af44007065fb8000e009b29..."} 
[2026-11-04 08:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4990470012d0af44007065fb8000e009b29..."} 
[2026-11-04 08:58:54] local.INFO: Processing buffer {"connection_id":232414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4990470012d0af44007065fb8000e009b29..."} 
[2026-11-04 08:58:54] local.INFO: Packet analysis {"connection_id":232414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:58:54] local.INFO: Extracted packet for processing {"connection_id":232414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:58:54] local.INFO: GPS Element Parsed {"raw_longitude":755692608,"raw_latitude":117858232,"longitude_deg":75.5692608,"latitude_deg":11.7858232,"altitude":14,"angle":155,"satellites":41,"speed":31,"hex_longitude":"2d0af440","hex_latitude":"07065fb8","is_valid_coordinates":true} 
[2026-11-04 08: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-11-04 08:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203288832001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39175504808378368,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227474145280,"note":"Value kept but may cause issues"} 
[2026-11-04 08:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793762854000,"timestamp_ms":1793762854000,"timestamp_seconds":1793762854,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4990470"} 
[2026-11-04 08:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 08:58:54] 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-11-04 08: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-11-04 08:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203288832001,"66":14439,"163":206,"94":10240,"24":31,"16":39175504808378368,"45":787989227474145280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203288832001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:58:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:58:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39175504808378368,"km_value":39175504808378.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227474145280,"description":"Unknown IO ID 45"} 
[2026-11-04 08:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203288832001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":787989227474145280}} 
[2026-11-04 08:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":232414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58337,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:58:54] local.INFO: GPS data processed {"connection_id":232414,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:58:54] local.INFO: Acknowledgment sent {"connection_id":232414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:59:08] local.INFO: TCP Data received {"connection_id":228793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:08] local.INFO: Processing buffer {"connection_id":228793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:08] local.INFO: IMEI packet received {"connection_id":228793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 08:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":228793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:59:08] local.INFO: TCP Data received {"connection_id":228793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:08] local.INFO: Processing buffer {"connection_id":228793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:08] local.INFO: IMEI packet received {"connection_id":228793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":228793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:59:10] local.INFO: TCP Data received {"connection_id":228794,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:10] local.INFO: Processing buffer {"connection_id":228794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:10] local.INFO: IMEI packet received {"connection_id":228794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 08:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":228794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:59:12] local.INFO: TCP Data received {"connection_id":228793,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:12] local.INFO: Processing buffer {"connection_id":228793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 08:59:12] local.INFO: IMEI packet received {"connection_id":228793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 08:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":228793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:59:14] local.INFO: TCP Data received {"connection_id":228793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49979a0012d20570006cf2f180011007b32..."} 
[2026-11-04 08:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49979a0012d20570006cf2f180011007b32..."} 
[2026-11-04 08:59:14] local.INFO: Processing buffer {"connection_id":228793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49979a0012d20570006cf2f180011007b32..."} 
[2026-11-04 08:59:14] local.INFO: Packet analysis {"connection_id":228793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:14] local.INFO: Extracted packet for processing {"connection_id":228793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:14] local.INFO: GPS Element Parsed {"raw_longitude":757094144,"raw_latitude":114241304,"longitude_deg":75.7094144,"latitude_deg":11.4241304,"altitude":17,"angle":123,"satellites":50,"speed":34,"hex_longitude":"2d205700","hex_latitude":"06cf2f18","is_valid_coordinates":true} 
[2026-11-04 08:59: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-11-04 08:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203295744001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38663351433166848,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2321746374644785152,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793762884000,"timestamp_ms":1793762884000,"timestamp_seconds":1793762884,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49979a0"} 
[2026-11-04 08:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:59: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":234,"data_length":795,"current_offset":136} 
[2026-11-04 08:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:59: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-11-04 08:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203295744001,"66":27626,"61":206,"81":22528,"24":34,"16":38663351433166848,"45":2321746374644785152},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-11-04 08:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203295744001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:59:14] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-11-04 08:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 08:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38663351433166848,"km_value":38663351433166.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":2321746374644785152,"description":"Unknown IO ID 45"} 
[2026-11-04 08:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203295744001,"power":27626,"unknown_61":206,"unknown_81":22528,"ignition":34,"odometer":null,"unknown_45":2321746374644785152}} 
[2026-11-04 08:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":228793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:59:14] local.INFO: GPS data processed {"connection_id":228793,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:59:14] local.INFO: Acknowledgment sent {"connection_id":228793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:59:19] local.INFO: TCP Data received {"connection_id":228794,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:19] local.INFO: Processing buffer {"connection_id":228794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:19] local.INFO: IMEI packet received {"connection_id":228794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":228794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:59:20] local.INFO: TCP Data received {"connection_id":228794,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:20] local.INFO: Processing buffer {"connection_id":228794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 08:59:20] local.INFO: IMEI packet received {"connection_id":228794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 08:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":228794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:59:22] local.INFO: TCP Data received {"connection_id":228794,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4999110012d11770006e2f930000f015630..."} 
[2026-11-04 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4999110012d11770006e2f930000f015630..."} 
[2026-11-04 08:59:22] local.INFO: Processing buffer {"connection_id":228794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4999110012d11770006e2f930000f015630..."} 
[2026-11-04 08:59:22] local.INFO: Packet analysis {"connection_id":228794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:22] local.INFO: Extracted packet for processing {"connection_id":228794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756119296,"raw_latitude":115538224,"longitude_deg":75.6119296,"latitude_deg":11.5538224,"altitude":15,"angle":342,"satellites":48,"speed":54,"hex_longitude":"2d117700","hex_latitude":"06e2f930","is_valid_coordinates":true} 
[2026-11-04 08:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203298048001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20323497481863168,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261781981425117184,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:22] 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-11-04 08:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793762890000,"timestamp_ms":1793762890000,"timestamp_seconds":1793762890,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4999110"} 
[2026-11-04 08:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 08:59: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-11-04 08:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203298048001,"66":28398,"100":206,"2":56576,"24":54,"16":20323497481863168,"45":1261781981425117184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-11-04 08:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203298048001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:59:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 08:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20323497481863168,"km_value":20323497481863.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261781981425117184,"description":"Unknown IO ID 45"} 
[2026-11-04 08:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203298048001,"power":28398,"unknown_100":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":1261781981425117184}} 
[2026-11-04 08:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":228794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:59:23] local.INFO: GPS data processed {"connection_id":228794,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:59:23] local.INFO: Acknowledgment sent {"connection_id":228794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:59:24] local.INFO: TCP Data received {"connection_id":228794,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a499ac68012d116c4006e31c480012015731..."} 
[2026-11-04 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a499ac68012d116c4006e31c480012015731..."} 
[2026-11-04 08:59:24] local.INFO: Processing buffer {"connection_id":228794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a499ac68012d116c4006e31c480012015731..."} 
[2026-11-04 08:59:24] local.INFO: Packet analysis {"connection_id":228794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:24] local.INFO: Extracted packet for processing {"connection_id":228794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756116544,"raw_latitude":115547208,"longitude_deg":75.6116544,"latitude_deg":11.5547208,"altitude":18,"angle":343,"satellites":49,"speed":51,"hex_longitude":"2d116c40","hex_latitude":"06e31c48","is_valid_coordinates":true} 
[2026-11-04 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203299840001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20323952748396544,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1258474650451128320,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793762897000,"timestamp_ms":1793762897000,"timestamp_seconds":1793762897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a499ac68"} 
[2026-11-04 08:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 08:59:24] 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-11-04 08:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":228794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":228794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":228794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 08:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 08:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 08:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203299840001,"66":28354,"136":206,"2":56576,"24":51,"16":20323952748396544,"45":1258474650451128320},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-11-04 08:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 08:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 08:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203299840001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:59:24] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 08:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20323952748396544,"km_value":20323952748396.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1258474650451128320,"description":"Unknown IO ID 45"} 
[2026-11-04 08:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203299840001,"power":28354,"unknown_136":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":1258474650451128320}} 
[2026-11-04 08:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":228794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:59:24] local.INFO: GPS data processed {"connection_id":228794,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:59:24] local.INFO: Acknowledgment sent {"connection_id":228794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:59:25] local.INFO: TCP Data received {"connection_id":232414,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4995678012d0b0180070647c8000d008d26..."} 
[2026-11-04 08:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4995678012d0b0180070647c8000d008d26..."} 
[2026-11-04 08:59:25] local.INFO: Processing buffer {"connection_id":232414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4995678012d0b0180070647c8000d008d26..."} 
[2026-11-04 08:59:25] local.INFO: Packet analysis {"connection_id":232414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:25] local.INFO: Extracted packet for processing {"connection_id":232414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:25] local.INFO: GPS Element Parsed {"raw_longitude":755696000,"raw_latitude":117852104,"longitude_deg":75.5696,"latitude_deg":11.7852104,"altitude":13,"angle":141,"satellites":38,"speed":10,"hex_longitude":"2d0b0180","hex_latitude":"070647c8","is_valid_coordinates":true} 
[2026-11-04 08:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203290624001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39175844110794752,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789326233612564480,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793762875000,"timestamp_ms":1793762875000,"timestamp_seconds":1793762875,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4995678"} 
[2026-11-04 08:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 08:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203290624001,"66":14461,"163":206,"94":10240,"24":10,"16":39175844110794752,"45":789326233612564480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 08:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203290624001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:59:25] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 08:59:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39175844110794752,"km_value":39175844110794.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":789326233612564480,"description":"Unknown IO ID 45"} 
[2026-11-04 08:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203290624001,"power":14461,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":789326233612564480}} 
[2026-11-04 08:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":232414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58341,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:59:26] local.INFO: GPS data processed {"connection_id":232414,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:59:26] local.INFO: Acknowledgment sent {"connection_id":232414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:59:44] local.INFO: TCP Data received {"connection_id":228795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228795,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:44] local.INFO: Processing buffer {"connection_id":228795,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:44] local.INFO: IMEI packet received {"connection_id":228795,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 08:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":228795,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 08:59:44] local.INFO: TCP Data received {"connection_id":228795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228795,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:44] local.INFO: Processing buffer {"connection_id":228795,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:44] local.INFO: IMEI packet received {"connection_id":228795,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":228795,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:59:45] local.INFO: TCP Data received {"connection_id":228793,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a499a880012d20734006cf1970000e008031..."} 
[2026-11-04 08:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a499a880012d20734006cf1970000e008031..."} 
[2026-11-04 08:59:45] local.INFO: Processing buffer {"connection_id":228793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a499a880012d20734006cf1970000e008031..."} 
[2026-11-04 08:59:45] local.INFO: Packet analysis {"connection_id":228793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:45] local.INFO: Extracted packet for processing {"connection_id":228793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 08:59:45] local.INFO: GPS Element Parsed {"raw_longitude":757101376,"raw_latitude":114235760,"longitude_deg":75.7101376,"latitude_deg":11.423576,"altitude":14,"angle":128,"satellites":49,"speed":28,"hex_longitude":"2d207340","hex_latitude":"06cf1970","is_valid_coordinates":true} 
[2026-11-04 08:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203298304001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38663789519831040,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2330331361433294848,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793762896000,"timestamp_ms":1793762896000,"timestamp_seconds":1793762896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a499a880"} 
[2026-11-04 08:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 08:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 08:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 08:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 08:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 08:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 08:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203298304001,"66":27604,"61":206,"81":22528,"24":28,"16":38663789519831040,"45":2330331361433294848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,81,24,16,45]} 
[2026-11-04 08:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 08:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 08:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203298304001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:59:45] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-11-04 08:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 08:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38663789519831040,"km_value":38663789519831.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2330331361433294848,"description":"Unknown IO ID 45"} 
[2026-11-04 08:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203298304001,"power":27604,"unknown_61":206,"unknown_81":22528,"ignition":28,"odometer":null,"unknown_45":2330331361433294848}} 
[2026-11-04 08:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":228793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:59:45] local.INFO: GPS data processed {"connection_id":228793,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:59:45] local.INFO: Acknowledgment sent {"connection_id":228793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 08:59:49] local.INFO: TCP Data received {"connection_id":228795,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228795,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:49] local.INFO: Processing buffer {"connection_id":228795,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 08:59:49] local.INFO: IMEI packet received {"connection_id":228795,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 08:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":228795,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 08:59:50] local.INFO: TCP Data received {"connection_id":228795,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49abdd8012d0b504007060400001500cc28..."} 
[2026-11-04 08:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49abdd8012d0b504007060400001500cc28..."} 
[2026-11-04 08:59:50] local.INFO: Processing buffer {"connection_id":228795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49abdd8012d0b504007060400001500cc28..."} 
[2026-11-04 08:59:50] local.INFO: Packet analysis {"connection_id":228795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 08:59:50] local.INFO: Extracted packet for processing {"connection_id":228795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 08:59:50] local.INFO: GPS Element Parsed {"raw_longitude":755716160,"raw_latitude":117834752,"longitude_deg":75.571616,"latitude_deg":11.7834752,"altitude":21,"angle":204,"satellites":40,"speed":4,"hex_longitude":"2d0b5040","hex_latitude":"07060400","is_valid_coordinates":true} 
[2026-11-04 08:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203314432001,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39177467608432640,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816136725138739200,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 08:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793762967000,"timestamp_ms":1793762967000,"timestamp_seconds":1793762967,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49abdd8"} 
[2026-11-04 08:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 08:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 08:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733148416,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2761549568,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504197421989888,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2583588865,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":4287627284,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825557925,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":113,"raw_value":7133965696845021440,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738866894,"corrected_to":0} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2281778443,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2147943935,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84736239785674262,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":72,"raw_value":5067061319442688,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2197764341006073873,"note":"Value kept but may cause issues"} 
[2026-11-04 08:59:50] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,165,94,24,241,157,16,47,161,96,45,64,12,21,40,10,66,17,1,2,128,240,114,227,164,5,4,113,205,6,250,78,144,41,239,56,139,7,19,22,206,8,72,11],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1738866894,"validated":0}]} 
[2026-11-04 08:59:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513432843160780800,"timestamp_seconds":1513432843160780.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 08:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 08:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 08:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 08:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 08:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 08:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 08:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 08:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203314432001,"66":14450,"165":206,"94":10240,"24":4,"16":39177467608432640,"45":816136725138739200},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 08:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 08:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 08:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203314432001,"description":"Unknown IO ID 0"} 
[2026-11-04 08:59:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 08:59:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 08:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39177467608432640,"km_value":39177467608432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 08:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":816136725138739200,"description":"Unknown IO ID 45"} 
[2026-11-04 08:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203314432001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":816136725138739200}} 
[2026-11-04 08:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":228795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58343,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 08:59:50] local.INFO: GPS data processed {"connection_id":228795,"processed":1,"errors":0,"total":1} 
[2026-11-04 08:59:50] local.INFO: Acknowledgment sent {"connection_id":228795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:07] local.INFO: TCP Data received {"connection_id":232415,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:07] local.INFO: Processing buffer {"connection_id":232415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:07] local.INFO: IMEI packet received {"connection_id":232415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":232415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:00:09] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:09] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:09] local.INFO: IMEI packet received {"connection_id":229289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":229289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:00:11] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:11] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:11] local.INFO: IMEI packet received {"connection_id":229289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":229289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:00:11] local.INFO: TCP Data received {"connection_id":232415,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:11] local.INFO: Processing buffer {"connection_id":232415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:11] local.INFO: IMEI packet received {"connection_id":232415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":232415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:00:12] local.INFO: TCP Data received {"connection_id":232415,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:12] local.INFO: Processing buffer {"connection_id":232415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:00:12] local.INFO: IMEI packet received {"connection_id":232415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":232415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:00:13] local.INFO: TCP Data received {"connection_id":232415,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49a6bd0012d20b94006cedd18000c00992c..."} 
[2026-11-04 09:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49a6bd0012d20b94006cedd18000c00992c..."} 
[2026-11-04 09:00:13] local.INFO: Processing buffer {"connection_id":232415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49a6bd0012d20b94006cedd18000c00992c..."} 
[2026-11-04 09:00:13] local.INFO: Packet analysis {"connection_id":232415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:13] local.INFO: Extracted packet for processing {"connection_id":232415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":757119296,"raw_latitude":114220312,"longitude_deg":75.7119296,"latitude_deg":11.4220312,"altitude":12,"angle":153,"satellites":44,"speed":26,"hex_longitude":"2d20b940","hex_latitude":"06cedd18","is_valid_coordinates":true} 
[2026-11-04 09:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203311104001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38665030765379584,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2355312265612517376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762946000,"timestamp_ms":1793762946000,"timestamp_seconds":1793762946,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49a6bd0"} 
[2026-11-04 09:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 09:00: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-11-04 09:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203311104001,"66":27974,"60":206,"81":22528,"24":26,"16":38665030765379584,"45":2355312265612517376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-11-04 09:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203311104001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:13] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-04 09:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38665030765379584,"km_value":38665030765379.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2355312265612517376,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203311104001,"power":27974,"unknown_60":206,"unknown_81":22528,"ignition":26,"odometer":null,"unknown_45":2355312265612517376}} 
[2026-11-04 09:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":232415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:13] local.INFO: GPS data processed {"connection_id":232415,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:13] local.INFO: Acknowledgment sent {"connection_id":232415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:17] local.INFO: TCP Data received {"connection_id":232415,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49a73a0012d20bcc006ced838000d008c2c..."} 
[2026-11-04 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49a73a0012d20bcc006ced838000d008c2c..."} 
[2026-11-04 09:00:17] local.INFO: Processing buffer {"connection_id":232415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49a73a0012d20bcc006ced838000d008c2c..."} 
[2026-11-04 09:00:17] local.INFO: Packet analysis {"connection_id":232415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:17] local.INFO: Extracted packet for processing {"connection_id":232415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:17] local.INFO: GPS Element Parsed {"raw_longitude":757120192,"raw_latitude":114219064,"longitude_deg":75.7120192,"latitude_deg":11.4219064,"altitude":13,"angle":140,"satellites":44,"speed":31,"hex_longitude":"2d20bcc0","hex_latitude":"06ced838","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203314176001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38665103779823616,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357986277889742848,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793762948000,"timestamp_ms":1793762948000,"timestamp_seconds":1793762948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49a73a0"} 
[2026-11-04 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-11-04 09:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 09:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 09:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203314176001,"66":27767,"60":206,"81":22528,"24":31,"16":38665103779823616,"45":2357986277889742848},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-11-04 09:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203314176001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:17] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-04 09:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38665103779823616,"km_value":38665103779823.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2357986277889742848,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203314176001,"power":27767,"unknown_60":206,"unknown_81":22528,"ignition":31,"odometer":null,"unknown_45":2357986277889742848}} 
[2026-11-04 09:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":232415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:17] local.INFO: GPS data processed {"connection_id":232415,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:17] local.INFO: Acknowledgment sent {"connection_id":232415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:19] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:19] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:00:19] local.INFO: IMEI packet received {"connection_id":229289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":229289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:00:21] local.INFO: TCP Data received {"connection_id":228795,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49acd78012d0b4f8007060270001500db27..."} 
[2026-11-04 09:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49acd78012d0b4f8007060270001500db27..."} 
[2026-11-04 09:00:21] local.INFO: Processing buffer {"connection_id":228795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49acd78012d0b4f8007060270001500db27..."} 
[2026-11-04 09:00:21] local.INFO: Packet analysis {"connection_id":228795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:21] local.INFO: Extracted packet for processing {"connection_id":228795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:21] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":117834352,"longitude_deg":75.5715968,"latitude_deg":11.7834352,"altitude":21,"angle":219,"satellites":39,"speed":4,"hex_longitude":"2d0b4f80","hex_latitude":"07060270","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203319552001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39177489083269120,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815221931463933952,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793762971000,"timestamp_ms":1793762971000,"timestamp_seconds":1793762971,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49acd78"} 
[2026-11-04 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-11-04 09:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 09:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228795,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203319552001,"66":14374,"165":206,"94":10240,"24":4,"16":39177489083269120,"45":815221931463933952},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 09:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203319552001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 09:00:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39177489083269120,"km_value":39177489083269.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":815221931463933952,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203319552001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":815221931463933952}} 
[2026-11-04 09:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":228795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58346,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:21] local.INFO: GPS data processed {"connection_id":228795,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:21] local.INFO: Acknowledgment sent {"connection_id":228795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:24] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.124.11","data_length":1360,"data_hex":"000000000000030f8e0a000001a1a499cba8012d11630006e342880014015d2e..."} 
[2026-11-04 09:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1a499cba8012d11630006e342880014015d2e..."} 
[2026-11-04 09:00:24] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1a499cba8012d11630006e342880014015d2e..."} 
[2026-11-04 09:00:24] local.INFO: Packet analysis {"connection_id":229289,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 09:00:24] local.INFO: Extracted packet for processing {"connection_id":229289,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 09:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756114176,"raw_latitude":115557000,"longitude_deg":75.6114176,"latitude_deg":11.5557,"altitude":20,"angle":349,"satellites":46,"speed":50,"hex_longitude":"2d116300","hex_latitude":"06e34288","is_valid_coordinates":true} 
[2026-11-04 09:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203301632001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20324442374668288,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1255448794453788672,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793762905000,"timestamp_ms":1793762905000,"timestamp_seconds":1793762905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a499cba8"} 
[2026-11-04 09:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:00:24] 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-11-04 09:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203301632001,"66":28300,"136":206,"2":56576,"24":50,"16":20324442374668288,"45":1255448794453788672},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-11-04 09:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203301632001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:24] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 09:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20324442374668288,"km_value":20324442374668.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1255448794453788672,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203301632001,"power":28300,"unknown_136":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1255448794453788672}} 
[2026-11-04 09:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":229289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:24] local.INFO: GPS data processed {"connection_id":229289,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:24] local.INFO: Acknowledgment sent {"connection_id":229289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:24] local.INFO: Packet analysis {"connection_id":229289,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 09:00:24] local.INFO: Incomplete packet, waiting for more data {"connection_id":229289,"needed":795,"available":565} 
[2026-11-04 09:00:30] local.INFO: TCP Data received {"connection_id":229289,"ip":"117.224.124.11","data_length":1025,"data_hex":"2d118a0006e2aea0000901642e00390000000a000400ef0100715a00f0010045..."} 
[2026-11-04 09:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229289,"packet_length":1025,"packet_hex":"2d118a0006e2aea0000901642e00390000000a000400ef0100715a00f0010045..."} 
[2026-11-04 09:00:30] local.INFO: Processing buffer {"connection_id":229289,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a499e700012d115dc006e366a8001201622c..."} 
[2026-11-04 09:00:30] local.INFO: Packet analysis {"connection_id":229289,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 09:00:30] local.INFO: Extracted packet for processing {"connection_id":229289,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a499"} 
[2026-11-04 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756112832,"raw_latitude":115566248,"longitude_deg":75.6112832,"latitude_deg":11.5566248,"altitude":18,"angle":354,"satellites":44,"speed":55,"hex_longitude":"2d115dc0","hex_latitude":"06e366a8","is_valid_coordinates":true} 
[2026-11-04 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203303680001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20324893346234368,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1252845150921721856,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793762912000,"timestamp_ms":1793762912000,"timestamp_seconds":1793762912,"priority":1,"record_length":96,"hex_timestamp":"000001a1a499e700"} 
[2026-11-04 09:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:00:30] 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-11-04 09:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203303680001,"66":27952,"136":206,"2":56576,"24":55,"16":20324893346234368,"45":1252845150921721856},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203303680001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:30] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 09:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20324893346234368,"km_value":20324893346234.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1252845150921721856,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203303680001,"power":27952,"unknown_136":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1252845150921721856}} 
[2026-11-04 09:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":229289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:30] local.INFO: GPS data processed {"connection_id":229289,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:30] local.INFO: Acknowledgment sent {"connection_id":229289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:30] local.INFO: Packet analysis {"connection_id":229289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:30] local.INFO: Extracted packet for processing {"connection_id":229289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":756111808,"raw_latitude":115575568,"longitude_deg":75.6111808,"latitude_deg":11.5575568,"altitude":14,"angle":356,"satellites":42,"speed":50,"hex_longitude":"2d1159c0","hex_latitude":"06e38b10","is_valid_coordinates":true} 
[2026-11-04 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203305472001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20325348612767744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1251367407296358400,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793762919000,"timestamp_ms":1793762919000,"timestamp_seconds":1793762919,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49a0258"} 
[2026-11-04 09:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 09:00:30] 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-11-04 09:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203305472001,"66":28354,"138":206,"2":56576,"24":50,"16":20325348612767744,"45":1251367407296358400},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-11-04 09:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203305472001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:30] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-04 09:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20325348612767744,"km_value":20325348612767.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1251367407296358400,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203305472001,"power":28354,"unknown_138":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":1251367407296358400}} 
[2026-11-04 09:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":229289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:30] local.INFO: GPS data processed {"connection_id":229289,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:30] local.INFO: Acknowledgment sent {"connection_id":229289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:41] local.INFO: TCP Data received {"connection_id":232416,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:41] local.INFO: Processing buffer {"connection_id":232416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:41] local.INFO: IMEI packet received {"connection_id":232416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":232416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:00:43] local.INFO: TCP Data received {"connection_id":232416,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:43] local.INFO: Processing buffer {"connection_id":232416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:43] local.INFO: IMEI packet received {"connection_id":232416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":232416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:00:49] local.INFO: TCP Data received {"connection_id":232416,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232416,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:49] local.INFO: Processing buffer {"connection_id":232416,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:00:49] local.INFO: IMEI packet received {"connection_id":232416,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":232416,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:00:49] local.INFO: TCP Data received {"connection_id":232416,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49ae8d0012d0b4e4007060100001400e72a..."} 
[2026-11-04 09:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49ae8d0012d0b4e4007060100001400e72a..."} 
[2026-11-04 09:00:49] local.INFO: Processing buffer {"connection_id":232416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49ae8d0012d0b4e4007060100001400e72a..."} 
[2026-11-04 09:00:49] local.INFO: Packet analysis {"connection_id":232416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:49] local.INFO: Extracted packet for processing {"connection_id":232416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:49] local.INFO: GPS Element Parsed {"raw_longitude":755715648,"raw_latitude":117833984,"longitude_deg":75.5715648,"latitude_deg":11.7833984,"altitude":20,"angle":231,"satellites":42,"speed":0,"hex_longitude":"2d0b4e40","hex_latitude":"07060100","is_valid_coordinates":true} 
[2026-11-04 09:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203320576001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39177514853072896,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825231298560,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793762978000,"timestamp_ms":1793762978000,"timestamp_seconds":1793762978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49ae8d0"} 
[2026-11-04 09:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 09:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203320576001,"66":14439,"165":206,"94":10240,"24":0,"16":39177514853072896,"45":815010825231298560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 09:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203320576001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 09:00:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39177514853072896,"km_value":39177514853072.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825231298560,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203320576001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":815010825231298560}} 
[2026-11-04 09:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":232416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58350,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:50] local.INFO: GPS data processed {"connection_id":232416,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:50] local.INFO: Acknowledgment sent {"connection_id":232416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:00:50] local.INFO: TCP Data received {"connection_id":232415,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49a8728012d20c70006ceca10000c009a2b..."} 
[2026-11-04 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49a8728012d20c70006ceca10000c009a2b..."} 
[2026-11-04 09:00:50] local.INFO: Processing buffer {"connection_id":232415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49a8728012d20c70006ceca10000c009a2b..."} 
[2026-11-04 09:00:50] local.INFO: Packet analysis {"connection_id":232415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:50] local.INFO: Extracted packet for processing {"connection_id":232415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":757122816,"raw_latitude":114215440,"longitude_deg":75.7122816,"latitude_deg":11.421544,"altitude":12,"angle":154,"satellites":43,"speed":38,"hex_longitude":"2d20c700","hex_latitude":"06ceca10","is_valid_coordinates":true} 
[2026-11-04 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203314688001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38665322823155712,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2358971440307910656,"note":"Value kept but may cause issues"} 
[2026-11-04 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793762953000,"timestamp_ms":1793762953000,"timestamp_seconds":1793762953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49a8728"} 
[2026-11-04 09:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 09:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203314688001,"66":27767,"60":206,"81":22528,"24":38,"16":38665322823155712,"45":2358971440307910656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-11-04 09:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203314688001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:00:50] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-04 09:00:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38665322823155712,"km_value":38665322823155.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2358971440307910656,"description":"Unknown IO ID 45"} 
[2026-11-04 09:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203314688001,"power":27767,"unknown_60":206,"unknown_81":22528,"ignition":38,"odometer":null,"unknown_45":2358971440307910656}} 
[2026-11-04 09:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":232415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:00:50] local.INFO: GPS data processed {"connection_id":232415,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:00:50] local.INFO: Acknowledgment sent {"connection_id":232415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:01:07] local.INFO: TCP Data received {"connection_id":230570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:01:07] local.INFO: Processing buffer {"connection_id":230570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:01:07] local.INFO: IMEI packet received {"connection_id":230570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":230570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:01:12] local.INFO: TCP Data received {"connection_id":230570,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:01:12] local.INFO: Processing buffer {"connection_id":230570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:01:12] local.INFO: IMEI packet received {"connection_id":230570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":230570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:01:13] local.INFO: TCP Data received {"connection_id":230570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49a8ef8012d20c94006cec318000c00a72b..."} 
[2026-11-04 09:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49a8ef8012d20c94006cec318000c00a72b..."} 
[2026-11-04 09:01:13] local.INFO: Processing buffer {"connection_id":230570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49a8ef8012d20c94006cec318000c00a72b..."} 
[2026-11-04 09:01:13] local.INFO: Packet analysis {"connection_id":230570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:01:13] local.INFO: Extracted packet for processing {"connection_id":230570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:01:13] local.INFO: GPS Element Parsed {"raw_longitude":757123392,"raw_latitude":114213656,"longitude_deg":75.7123392,"latitude_deg":11.4213656,"altitude":12,"angle":167,"satellites":43,"speed":36,"hex_longitude":"2d20c940","hex_latitude":"06cec318","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203315968001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38665413017468928,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2361856558818267136,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793762955000,"timestamp_ms":1793762955000,"timestamp_seconds":1793762955,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49a8ef8"} 
[2026-11-04 09:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 09:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203315968001,"66":27821,"60":206,"81":22528,"24":36,"16":38665413017468928,"45":2361856558818267136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-11-04 09:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203315968001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:01:13] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-04 09:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38665413017468928,"km_value":38665413017468.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2361856558818267136,"description":"Unknown IO ID 45"} 
[2026-11-04 09:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203315968001,"power":27821,"unknown_60":206,"unknown_81":22528,"ignition":36,"odometer":null,"unknown_45":2361856558818267136}} 
[2026-11-04 09:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":230570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:01:13] local.INFO: GPS data processed {"connection_id":230570,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:01:13] local.INFO: Acknowledgment sent {"connection_id":230570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:01:14] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:01:14] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:01:14] local.INFO: IMEI packet received {"connection_id":229290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":229290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:01:18] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.124.11","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 09:01:18] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 09:01:18] local.INFO: IMEI packet received {"connection_id":229290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":229290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:01:19] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:01:19] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 09:01:19] local.INFO: IMEI packet received {"connection_id":229290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":229290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:01:20] local.INFO: TCP Data received {"connection_id":232416,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49c1598012d0b204007059a900016010525..."} 
[2026-11-04 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49c1598012d0b204007059a900016010525..."} 
[2026-11-04 09:01:20] local.INFO: Processing buffer {"connection_id":232416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49c1598012d0b204007059a900016010525..."} 
[2026-11-04 09:01:20] local.INFO: Packet analysis {"connection_id":232416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:01:20] local.INFO: Extracted packet for processing {"connection_id":232416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":755703872,"raw_latitude":117807760,"longitude_deg":75.5703872,"latitude_deg":11.780776,"altitude":22,"angle":261,"satellites":37,"speed":14,"hex_longitude":"2d0b2040","hex_latitude":"07059a90","is_valid_coordinates":true} 
[2026-11-04 09:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203341824001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39179615092080640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802133345039998976,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793763055000,"timestamp_ms":1793763055000,"timestamp_seconds":1793763055,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49c1598"} 
[2026-11-04 09:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 09:01:20] 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-11-04 09:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232416,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203341824001,"66":14298,"165":206,"94":10240,"24":14,"16":39179615092080640,"45":802133345039998976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203341824001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:01:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 09:01:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39179615092080640,"km_value":39179615092080.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":802133345039998976,"description":"Unknown IO ID 45"} 
[2026-11-04 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203341824001,"power":14298,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":802133345039998976}} 
[2026-11-04 09:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":232416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58353,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:01:21] local.INFO: GPS data processed {"connection_id":232416,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:01:21] local.INFO: Acknowledgment sent {"connection_id":232416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:01:23] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49b5248012d10cb8006e54c78000f00012f..."} 
[2026-11-04 09:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49b5248012d10cb8006e54c78000f00012f..."} 
[2026-11-04 09:01:23] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1a4..."} 
[2026-11-04 09:01:23] local.INFO: IMEI packet received {"connection_id":229290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":229290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:01:28] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49b6da0012d10cc4006e57488000e01652f..."} 
[2026-11-04 09:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49b6da0012d10cc4006e57488000e01652f..."} 
[2026-11-04 09:01:28] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a49b5248012d10cb8006e54c78000f00012f..."} 
[2026-11-04 09:01:28] local.INFO: Packet analysis {"connection_id":229290,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:01:28] local.INFO: Extracted packet for processing {"connection_id":229290,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756075392,"raw_latitude":115690616,"longitude_deg":75.6075392,"latitude_deg":11.5690616,"altitude":15,"angle":1,"satellites":47,"speed":59,"hex_longitude":"2d10cb80","hex_latitude":"06e54c78","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203328000001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20331279962603520,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210483166959106048,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793763005000,"timestamp_ms":1793763005000,"timestamp_seconds":1793763005,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49b5248"} 
[2026-11-04 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-11-04 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:01:28] 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-11-04 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-11-04 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-11-04 09:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":229290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":229290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":229290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203328000001,"66":28398,"149":206,"2":56576,"24":59,"16":20331279962603520,"45":1210483166959106048},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,2,24,16,45]} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203328000001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:01:28] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-11-04 09:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20331279962603520,"km_value":20331279962603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210483166959106048,"description":"Unknown IO ID 45"} 
[2026-11-04 09:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203328000001,"power":28398,"unknown_149":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1210483166959106048}} 
[2026-11-04 09:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":229290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:01:28] local.INFO: GPS data processed {"connection_id":229290,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:01:28] local.INFO: Acknowledgment sent {"connection_id":229290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:01:28] local.INFO: Packet analysis {"connection_id":229290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:01:28] local.INFO: Extracted packet for processing {"connection_id":229290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756075584,"raw_latitude":115700872,"longitude_deg":75.6075584,"latitude_deg":11.5700872,"altitude":14,"angle":357,"satellites":47,"speed":58,"hex_longitude":"2d10cc40","hex_latitude":"06e57488","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203329280001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20331778178809856,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210201691984263168,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793763012000,"timestamp_ms":1793763012000,"timestamp_seconds":1793763012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49b6da0"} 
[2026-11-04 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-11-04 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:01:28] 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-11-04 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-11-04 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-11-04 09:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":229290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":229290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":229290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203329280001,"66":28354,"149":206,"2":56576,"24":58,"16":20331778178809856,"45":1210201691984263168},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,2,24,16,45]} 
[2026-11-04 09:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203329280001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:01:28] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-11-04 09:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20331778178809856,"km_value":20331778178809.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210201691984263168,"description":"Unknown IO ID 45"} 
[2026-11-04 09:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203329280001,"power":28354,"unknown_149":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1210201691984263168}} 
[2026-11-04 09:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":229290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:01:28] local.INFO: GPS data processed {"connection_id":229290,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:01:28] local.INFO: Acknowledgment sent {"connection_id":229290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:01:29] local.INFO: TCP Data received {"connection_id":229290,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49b7d40012d10c90006e58b58000f01572f..."} 
[2026-11-04 09:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49b7d40012d10c90006e58b58000f01572f..."} 
[2026-11-04 09:01:29] local.INFO: Processing buffer {"connection_id":229290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49b7d40012d10c90006e58b58000f01572f..."} 
[2026-11-04 09:01:29] local.INFO: Packet analysis {"connection_id":229290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:01:29] local.INFO: Extracted packet for processing {"connection_id":229290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756074752,"raw_latitude":115706712,"longitude_deg":75.6074752,"latitude_deg":11.5706712,"altitude":15,"angle":343,"satellites":47,"speed":59,"hex_longitude":"2d10c900","hex_latitude":"06e58b58","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203331072001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20332065941618688,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210412798219421696,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793763016000,"timestamp_ms":1793763016000,"timestamp_seconds":1793763016,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49b7d40"} 
[2026-11-04 09:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:01: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-11-04 09: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-11-04 09:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203331072001,"66":28300,"149":206,"2":56576,"24":59,"16":20332065941618688,"45":1210412798219421696},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,2,24,16,45]} 
[2026-11-04 09:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203331072001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:01:29] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-11-04 09:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20332065941618688,"km_value":20332065941618.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210412798219421696,"description":"Unknown IO ID 45"} 
[2026-11-04 09:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203331072001,"power":28300,"unknown_149":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1210412798219421696}} 
[2026-11-04 09:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":229290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:01:30] local.INFO: GPS data processed {"connection_id":229290,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:01:30] local.INFO: Acknowledgment sent {"connection_id":229290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:01:43] local.INFO: TCP Data received {"connection_id":232417,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:43] local.INFO: Processing buffer {"connection_id":232417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:43] local.INFO: IMEI packet received {"connection_id":232417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":232417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:01:43] local.INFO: TCP Data received {"connection_id":232417,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:43] local.INFO: Processing buffer {"connection_id":232417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:43] local.INFO: IMEI packet received {"connection_id":232417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":232417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:01:44] local.INFO: TCP Data received {"connection_id":230570,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49ab220012d20cd4006ce9ee0000c00aa2b..."} 
[2026-11-04 09:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49ab220012d20cd4006ce9ee0000c00aa2b..."} 
[2026-11-04 09:01:44] local.INFO: Processing buffer {"connection_id":230570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49ab220012d20cd4006ce9ee0000c00aa2b..."} 
[2026-11-04 09:01:44] local.INFO: Packet analysis {"connection_id":230570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:01:44] local.INFO: Extracted packet for processing {"connection_id":230570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49a"} 
[2026-11-04 09:01:44] local.INFO: GPS Element Parsed {"raw_longitude":757124416,"raw_latitude":114204384,"longitude_deg":75.7124416,"latitude_deg":11.4204384,"altitude":12,"angle":170,"satellites":43,"speed":44,"hex_longitude":"2d20cd40","hex_latitude":"06ce9ee0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203316480001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38665863989035008,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362489877515409408,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793762964000,"timestamp_ms":1793762964000,"timestamp_seconds":1793762964,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49ab220"} 
[2026-11-04 09:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 09:01: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-11-04 09: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-11-04 09:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203316480001,"66":27865,"60":206,"81":22528,"24":44,"16":38665863989035008,"45":2362489877515409408},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,81,24,16,45]} 
[2026-11-04 09:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203316480001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:01:44] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-04 09:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38665863989035008,"km_value":38665863989035.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362489877515409408,"description":"Unknown IO ID 45"} 
[2026-11-04 09:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203316480001,"power":27865,"unknown_60":206,"unknown_81":22528,"ignition":44,"odometer":null,"unknown_45":2362489877515409408}} 
[2026-11-04 09:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":230570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:01:44] local.INFO: GPS data processed {"connection_id":230570,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:01:44] local.INFO: Acknowledgment sent {"connection_id":230570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:01:44] local.INFO: TCP Data received {"connection_id":232417,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:44] local.INFO: Processing buffer {"connection_id":232417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:44] local.INFO: IMEI packet received {"connection_id":232417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":232417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:01:49] local.INFO: TCP Data received {"connection_id":232417,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:49] local.INFO: Processing buffer {"connection_id":232417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:01:49] local.INFO: IMEI packet received {"connection_id":232417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":232417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:01:49] local.INFO: TCP Data received {"connection_id":232417,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49c1980012d0b1e4007059ac00016011025..."} 
[2026-11-04 09:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49c1980012d0b1e4007059ac00016011025..."} 
[2026-11-04 09:01:49] local.INFO: Processing buffer {"connection_id":232417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49c1980012d0b1e4007059ac00016011025..."} 
[2026-11-04 09:01:49] local.INFO: Packet analysis {"connection_id":232417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:01:49] local.INFO: Extracted packet for processing {"connection_id":232417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:01:49] local.INFO: GPS Element Parsed {"raw_longitude":755703360,"raw_latitude":117807808,"longitude_deg":75.570336,"latitude_deg":11.7807808,"altitude":22,"angle":272,"satellites":37,"speed":19,"hex_longitude":"2d0b1e40","hex_latitude":"07059ac0","is_valid_coordinates":true} 
[2026-11-04 09:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203342080001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39179640861884416,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801711132574912512,"note":"Value kept but may cause issues"} 
[2026-11-04 09:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793763056000,"timestamp_ms":1793763056000,"timestamp_seconds":1793763056,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49c1980"} 
[2026-11-04 09:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 09:01:49] 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-11-04 09:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203342080001,"66":14439,"165":206,"94":10240,"24":19,"16":39179640861884416,"45":801711132574912512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 09:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203342080001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:01:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 09:01:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39179640861884416,"km_value":39179640861884.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":801711132574912512,"description":"Unknown IO ID 45"} 
[2026-11-04 09:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203342080001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":801711132574912512}} 
[2026-11-04 09:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":232417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58358,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:01:50] local.INFO: GPS data processed {"connection_id":232417,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:01:50] local.INFO: Acknowledgment sent {"connection_id":232417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:02:09] local.INFO: TCP Data received {"connection_id":232418,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:02:09] local.INFO: Processing buffer {"connection_id":232418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:02:09] local.INFO: IMEI packet received {"connection_id":232418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":232418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:02:12] local.INFO: TCP Data received {"connection_id":229291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:12] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:12] local.INFO: IMEI packet received {"connection_id":229291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":229291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:02:13] local.INFO: TCP Data received {"connection_id":229291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:13] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:13] local.INFO: IMEI packet received {"connection_id":229291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":229291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:02:14] local.INFO: TCP Data received {"connection_id":232418,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:02:14] local.INFO: Processing buffer {"connection_id":232418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:02:14] local.INFO: IMEI packet received {"connection_id":232418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":232418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:02:15] local.INFO: TCP Data received {"connection_id":232418,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49b9898012d10b88006e5b070000e014e2c..."} 
[2026-11-04 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49b9898012d10b88006e5b070000e014e2c..."} 
[2026-11-04 09:02:15] local.INFO: Processing buffer {"connection_id":232418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49b9898012d10b88006e5b070000e014e2c..."} 
[2026-11-04 09:02:15] local.INFO: Packet analysis {"connection_id":232418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:02:15] local.INFO: Extracted packet for processing {"connection_id":232418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49b"} 
[2026-11-04 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":756070528,"raw_latitude":115716208,"longitude_deg":75.6070528,"latitude_deg":11.5716208,"altitude":14,"angle":334,"satellites":44,"speed":58,"hex_longitude":"2d10b880","hex_latitude":"06e5b070","is_valid_coordinates":true} 
[2026-11-04 09:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203332096001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20332568452792320,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209498004546607104,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763023000,"timestamp_ms":1793763023000,"timestamp_seconds":1793763023,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49b9898"} 
[2026-11-04 09:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:02: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-11-04 09:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203332096001,"66":28300,"149":206,"2":56576,"24":58,"16":20332568452792320,"45":1209498004546607104},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,2,24,16,45]} 
[2026-11-04 09:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203332096001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:02:15] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-11-04 09:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20332568452792320,"km_value":20332568452792.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209498004546607104,"description":"Unknown IO ID 45"} 
[2026-11-04 09:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203332096001,"power":28300,"unknown_149":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1209498004546607104}} 
[2026-11-04 09:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":232418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58359,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:02:16] local.INFO: GPS data processed {"connection_id":232418,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:02:16] local.INFO: Acknowledgment sent {"connection_id":232418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:02:17] local.INFO: TCP Data received {"connection_id":229291,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:17] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:02:17] local.INFO: IMEI packet received {"connection_id":229291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":229291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:02:17] local.INFO: TCP Data received {"connection_id":229291,"ip":"42.109.136.4","data_length":1348,"data_hex":"000000000000030f8e0a000001a1a49c4860012d215b0006cd8d88000a008932..."} 
[2026-11-04 09:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a1a49c4860012d215b0006cd8d88000a008932..."} 
[2026-11-04 09:02:17] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a1a49c4860012d215b0006cd8d88000a008932..."} 
[2026-11-04 09:02:17] local.INFO: Packet analysis {"connection_id":229291,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:17] local.INFO: Extracted packet for processing {"connection_id":229291,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:17] local.INFO: GPS Element Parsed {"raw_longitude":757160704,"raw_latitude":114134408,"longitude_deg":75.7160704,"latitude_deg":11.4134408,"altitude":10,"angle":137,"satellites":50,"speed":55,"hex_longitude":"2d215b00","hex_latitude":"06cd8d88","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203343360001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38669802474045440,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2395422449772095488,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793763068000,"timestamp_ms":1793763068000,"timestamp_seconds":1793763068,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49c4860"} 
[2026-11-04 09:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 09:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203343360001,"66":27767,"181":206,"81":22528,"24":55,"16":38669802474045440,"45":2395422449772095488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-11-04 09:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203343360001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:02:17] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 09:02:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38669802474045440,"km_value":38669802474045.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2395422449772095488,"description":"Unknown IO ID 45"} 
[2026-11-04 09:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203343360001,"power":27767,"unknown_181":206,"unknown_81":22528,"ignition":55,"odometer":null,"unknown_45":2395422449772095488}} 
[2026-11-04 09:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":229291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:02:17] local.INFO: GPS data processed {"connection_id":229291,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:02:17] local.INFO: Acknowledgment sent {"connection_id":229291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:02:17] local.INFO: Packet analysis {"connection_id":229291,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":229291,"needed":795,"available":553} 
[2026-11-04 09:02:18] local.INFO: TCP Data received {"connection_id":229291,"ip":"42.109.136.4","data_length":242,"data_hex":"000000000001a1a49ba068012d21028006cdf958000d00963000250000000a00..."} 
[2026-11-04 09:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":242,"packet_hex":"000000000001a1a49ba068012d21028006cdf958000d00963000250000000a00..."} 
[2026-11-04 09:02:18] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49c63b8012d21754006cd6e480009008e31..."} 
[2026-11-04 09:02:18] local.INFO: Packet analysis {"connection_id":229291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:18] local.INFO: Extracted packet for processing {"connection_id":229291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:18] local.INFO: GPS Element Parsed {"raw_longitude":757167424,"raw_latitude":114126408,"longitude_deg":75.7167424,"latitude_deg":11.4126408,"altitude":9,"angle":142,"satellites":49,"speed":61,"hex_longitude":"2d217540","hex_latitude":"06cd6e48","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203345408001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38670304985219072,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2403514855350700032,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793763075000,"timestamp_ms":1793763075000,"timestamp_seconds":1793763075,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49c63b8"} 
[2026-11-04 09:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 09:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203345408001,"66":27876,"181":206,"81":22528,"24":61,"16":38670304985219072,"45":2403514855350700032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-11-04 09:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203345408001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:02:18] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 09:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38670304985219072,"km_value":38670304985219.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2403514855350700032,"description":"Unknown IO ID 45"} 
[2026-11-04 09:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203345408001,"power":27876,"unknown_181":206,"unknown_81":22528,"ignition":61,"odometer":null,"unknown_45":2403514855350700032}} 
[2026-11-04 09:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":229291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:02:18] local.INFO: GPS data processed {"connection_id":229291,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:02:18] local.INFO: Acknowledgment sent {"connection_id":229291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:02:21] local.INFO: TCP Data received {"connection_id":232417,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49c5030012d0b070007059b100019010323..."} 
[2026-11-04 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49c5030012d0b070007059b100019010323..."} 
[2026-11-04 09:02:21] local.INFO: Processing buffer {"connection_id":232417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49c5030012d0b070007059b100019010323..."} 
[2026-11-04 09:02:21] local.INFO: Packet analysis {"connection_id":232417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:21] local.INFO: Extracted packet for processing {"connection_id":232417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:21] local.INFO: GPS Element Parsed {"raw_longitude":755697408,"raw_latitude":117807888,"longitude_deg":75.5697408,"latitude_deg":11.7807888,"altitude":25,"angle":259,"satellites":35,"speed":8,"hex_longitude":"2d0b0700","hex_latitude":"07059b10","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203342336001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39179924329725952,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":801148182621503488,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793763070000,"timestamp_ms":1793763070000,"timestamp_seconds":1793763070,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49c5030"} 
[2026-11-04 09:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203342336001,"66":14407,"165":206,"94":10240,"24":8,"16":39179924329725952,"45":801148182621503488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 09:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203342336001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:02:21] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 09:02:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39179924329725952,"km_value":39179924329725.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":801148182621503488,"description":"Unknown IO ID 45"} 
[2026-11-04 09:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203342336001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":801148182621503488}} 
[2026-11-04 09:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":232417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:02:21] local.INFO: GPS data processed {"connection_id":232417,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:02:21] local.INFO: Acknowledgment sent {"connection_id":232417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:02:22] local.INFO: TCP Data received {"connection_id":229291,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49c7b28012d2189c006cd51480009009331..."} 
[2026-11-04 09:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49c7b28012d2189c006cd51480009009331..."} 
[2026-11-04 09:02:22] local.INFO: Processing buffer {"connection_id":229291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49c7b28012d2189c006cd51480009009331..."} 
[2026-11-04 09:02:22] local.INFO: Packet analysis {"connection_id":229291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:22] local.INFO: Extracted packet for processing {"connection_id":229291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":757172672,"raw_latitude":114118984,"longitude_deg":75.7172672,"latitude_deg":11.4118984,"altitude":9,"angle":147,"satellites":49,"speed":59,"hex_longitude":"2d2189c0","hex_latitude":"06cd5148","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203347200001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38670743071883264,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2410903573487306752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793763081000,"timestamp_ms":1793763081000,"timestamp_seconds":1793763081,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49c7b28"} 
[2026-11-04 09:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 09:02: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-11-04 09: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-11-04 09:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203347200001,"66":27876,"181":206,"81":22528,"24":59,"16":38670743071883264,"45":2410903573487306752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-11-04 09:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203347200001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:02:22] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 09:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38670743071883264,"km_value":38670743071883.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2410903573487306752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203347200001,"power":27876,"unknown_181":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2410903573487306752}} 
[2026-11-04 09:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":229291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:02:22] local.INFO: GPS data processed {"connection_id":229291,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:02:22] local.INFO: Acknowledgment sent {"connection_id":229291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:02:43] local.INFO: TCP Data received {"connection_id":232419,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:43] local.INFO: Processing buffer {"connection_id":232419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:43] local.INFO: IMEI packet received {"connection_id":232419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":232419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:02:46] local.INFO: TCP Data received {"connection_id":232419,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:46] local.INFO: Processing buffer {"connection_id":232419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:46] local.INFO: IMEI packet received {"connection_id":232419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":232419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:02:48] local.INFO: TCP Data received {"connection_id":232419,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232419,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:48] local.INFO: Processing buffer {"connection_id":232419,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:02:48] local.INFO: IMEI packet received {"connection_id":232419,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":232419,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:02:49] local.INFO: TCP Data received {"connection_id":232419,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49c86e0012d0af88007059930001d00f826..."} 
[2026-11-04 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49c86e0012d0af88007059930001d00f826..."} 
[2026-11-04 09:02:49] local.INFO: Processing buffer {"connection_id":232419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49c86e0012d0af88007059930001d00f826..."} 
[2026-11-04 09:02:49] local.INFO: Packet analysis {"connection_id":232419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:49] local.INFO: Extracted packet for processing {"connection_id":232419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":755693696,"raw_latitude":117807408,"longitude_deg":75.5693696,"latitude_deg":11.7807408,"altitude":29,"angle":248,"satellites":38,"speed":11,"hex_longitude":"2d0af880","hex_latitude":"07059930","is_valid_coordinates":true} 
[2026-11-04 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203345920001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39180104718352384,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794603889413001216,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793763084000,"timestamp_ms":1793763084000,"timestamp_seconds":1793763084,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49c86e0"} 
[2026-11-04 09:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 09:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203345920001,"66":14396,"165":206,"94":10240,"24":11,"16":39180104718352384,"45":794603889413001216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203345920001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:02:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 09:02:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39180104718352384,"km_value":39180104718352.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":794603889413001216,"description":"Unknown IO ID 45"} 
[2026-11-04 09:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203345920001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":794603889413001216}} 
[2026-11-04 09:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":232419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:02:49] local.INFO: GPS data processed {"connection_id":232419,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:02:49] local.INFO: Acknowledgment sent {"connection_id":232419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:02:49] local.INFO: TCP Data received {"connection_id":232418,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49cd500012d0f65c006e6d4e80009012f2c..."} 
[2026-11-04 09:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49cd500012d0f65c006e6d4e80009012f2c..."} 
[2026-11-04 09:02:49] local.INFO: Processing buffer {"connection_id":232418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49cd500012d0f65c006e6d4e80009012f2c..."} 
[2026-11-04 09:02:49] local.INFO: Packet analysis {"connection_id":232418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:49] local.INFO: Extracted packet for processing {"connection_id":232418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":755983808,"raw_latitude":115791080,"longitude_deg":75.5983808,"latitude_deg":11.579108,"altitude":9,"angle":303,"satellites":44,"speed":54,"hex_longitude":"2d0f65c0","hex_latitude":"06e6d4e8","is_valid_coordinates":true} 
[2026-11-04 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203352832001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20338267874394112,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1119003799554529280,"note":"Value kept but may cause issues"} 
[2026-11-04 09:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793763104000,"timestamp_ms":1793763104000,"timestamp_seconds":1793763104,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49cd500"} 
[2026-11-04 09:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 09:02: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-11-04 09:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203352832001,"66":28430,"150":206,"2":56576,"24":54,"16":20338267874394112,"45":1119003799554529280},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-11-04 09:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203352832001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:02:49] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-11-04 09:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20338267874394112,"km_value":20338267874394.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1119003799554529280,"description":"Unknown IO ID 45"} 
[2026-11-04 09:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203352832001,"power":28430,"unknown_150":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":1119003799554529280}} 
[2026-11-04 09:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":232418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:02:49] local.INFO: GPS data processed {"connection_id":232418,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:02:49] local.INFO: Acknowledgment sent {"connection_id":232418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:03:05] local.INFO: TCP Data received {"connection_id":229292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:05] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:05] local.INFO: IMEI packet received {"connection_id":229292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":229292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:03:07] local.INFO: TCP Data received {"connection_id":229292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:07] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:07] local.INFO: IMEI packet received {"connection_id":229292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":229292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:03:11] local.INFO: TCP Data received {"connection_id":229292,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:11] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:03:11] local.INFO: IMEI packet received {"connection_id":229292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":229292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:03:12] local.INFO: TCP Data received {"connection_id":229292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d6588012d22154006cc14600009009631..."} 
[2026-11-04 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d6588012d22154006cc14600009009631..."} 
[2026-11-04 09:03:12] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d6588012d22154006cc14600009009631..."} 
[2026-11-04 09:03:12] local.INFO: Packet analysis {"connection_id":229292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:12] local.INFO: Extracted packet for processing {"connection_id":229292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:12] local.INFO: GPS Element Parsed {"raw_longitude":757208384,"raw_latitude":114037856,"longitude_deg":75.7208384,"latitude_deg":11.4037856,"altitude":9,"angle":150,"satellites":49,"speed":59,"hex_longitude":"2d221540","hex_latitude":"06cc1460","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203362560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38675063808983040,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2451084126392086528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793763141000,"timestamp_ms":1793763141000,"timestamp_seconds":1793763141,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d6588"} 
[2026-11-04 09:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 09:03:12] 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-11-04 09: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-11-04 09:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203362560001,"66":27604,"179":206,"81":22528,"24":59,"16":38675063808983040,"45":2451084126392086528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203362560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:03:12] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:03:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38675063808983040,"km_value":38675063808983.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2451084126392086528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203362560001,"power":27604,"unknown_179":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2451084126392086528}} 
[2026-11-04 09:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":229292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:03:12] local.INFO: GPS data processed {"connection_id":229292,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:03:12] local.INFO: Acknowledgment sent {"connection_id":229292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:03:13] local.INFO: TCP Data received {"connection_id":228796,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:13] local.INFO: Processing buffer {"connection_id":228796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:13] local.INFO: IMEI packet received {"connection_id":228796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":228796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:03:14] local.INFO: TCP Data received {"connection_id":228796,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:14] local.INFO: Processing buffer {"connection_id":228796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:14] local.INFO: IMEI packet received {"connection_id":228796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":228796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:03:16] local.INFO: TCP Data received {"connection_id":228796,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:16] local.INFO: Processing buffer {"connection_id":228796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:03:16] local.INFO: IMEI packet received {"connection_id":228796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":228796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:03:18] local.INFO: TCP Data received {"connection_id":228796,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49cf058012d0f47c006e6ebc0000b01362b..."} 
[2026-11-04 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49cf058012d0f47c006e6ebc0000b01362b..."} 
[2026-11-04 09:03:18] local.INFO: Processing buffer {"connection_id":228796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49cf058012d0f47c006e6ebc0000b01362b..."} 
[2026-11-04 09:03:18] local.INFO: Packet analysis {"connection_id":228796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:03:18] local.INFO: Extracted packet for processing {"connection_id":228796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49c"} 
[2026-11-04 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":755976128,"raw_latitude":115796928,"longitude_deg":75.5976128,"latitude_deg":11.5796928,"altitude":11,"angle":310,"satellites":43,"speed":54,"hex_longitude":"2d0f47c0","hex_latitude":"06e6ebc0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203354624001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20338727435894784,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1109504019091744768,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793763111000,"timestamp_ms":1793763111000,"timestamp_seconds":1793763111,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49cf058"} 
[2026-11-04 09:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:03:18] 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-11-04 09: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-11-04 09:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203354624001,"66":28485,"150":206,"2":56576,"24":54,"16":20338727435894784,"45":1109504019091744768},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,2,24,16,45]} 
[2026-11-04 09:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203354624001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:03:18] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-11-04 09:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20338727435894784,"km_value":20338727435894.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1109504019091744768,"description":"Unknown IO ID 45"} 
[2026-11-04 09:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203354624001,"power":28485,"unknown_150":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":1109504019091744768}} 
[2026-11-04 09:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":228796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:03:18] local.INFO: GPS data processed {"connection_id":228796,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:03:18] local.INFO: Acknowledgment sent {"connection_id":228796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:03:19] local.INFO: TCP Data received {"connection_id":228796,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d0f98012d0f2d4006e702f8000c01372e..."} 
[2026-11-04 09:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d0f98012d0f2d4006e702f8000c01372e..."} 
[2026-11-04 09:03:19] local.INFO: Processing buffer {"connection_id":228796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d0f98012d0f2d4006e702f8000c01372e..."} 
[2026-11-04 09:03:19] local.INFO: Packet analysis {"connection_id":228796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:19] local.INFO: Extracted packet for processing {"connection_id":228796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":755969344,"raw_latitude":115802872,"longitude_deg":75.5969344,"latitude_deg":11.5802872,"altitude":12,"angle":311,"satellites":46,"speed":30,"hex_longitude":"2d0f2d40","hex_latitude":"06e702f8","is_valid_coordinates":true} 
[2026-11-04 09:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203356416001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20339161227591680,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1101059769791922176,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:19] 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-11-04 09:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793763119000,"timestamp_ms":1793763119000,"timestamp_seconds":1793763119,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d0f98"} 
[2026-11-04 09:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 09:03:19] 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-11-04 09:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":228796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":228796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":228796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203356416001,"66":28452,"217":206,"2":56576,"24":30,"16":20339161227591680,"45":1101059769791922176},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-11-04 09:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203356416001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:03:19] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 09:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20339161227591680,"km_value":20339161227591.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1101059769791922176,"description":"Unknown IO ID 45"} 
[2026-11-04 09:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203356416001,"power":28452,"unknown_217":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1101059769791922176}} 
[2026-11-04 09:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":228796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:03:19] local.INFO: GPS data processed {"connection_id":228796,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:03:19] local.INFO: Acknowledgment sent {"connection_id":228796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:03:20] local.INFO: TCP Data received {"connection_id":232419,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49e05b0012d0aa08007058480001d012727..."} 
[2026-11-04 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49e05b0012d0aa08007058480001d012727..."} 
[2026-11-04 09:03:20] local.INFO: Processing buffer {"connection_id":232419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49e05b0012d0aa08007058480001d012727..."} 
[2026-11-04 09:03:20] local.INFO: Packet analysis {"connection_id":232419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49e"} 
[2026-11-04 09:03:20] local.INFO: Extracted packet for processing {"connection_id":232419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49e"} 
[2026-11-04 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":755671168,"raw_latitude":117802112,"longitude_deg":75.5671168,"latitude_deg":11.7802112,"altitude":29,"angle":295,"satellites":39,"speed":18,"hex_longitude":"2d0aa080","hex_latitude":"07058480","is_valid_coordinates":true} 
[2026-11-04 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203374336001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39181225704816640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":766245285507885056,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793763182000,"timestamp_ms":1793763182000,"timestamp_seconds":1793763182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49e05b0"} 
[2026-11-04 09:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 09:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232419,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203374336001,"66":14461,"153":206,"94":10240,"24":18,"16":39181225704816640,"45":766245285507885056},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203374336001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:03:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:03:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39181225704816640,"km_value":39181225704816.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":766245285507885056,"description":"Unknown IO ID 45"} 
[2026-11-04 09:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203374336001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":766245285507885056}} 
[2026-11-04 09:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":232419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:03:21] local.INFO: GPS data processed {"connection_id":232419,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:03:21] local.INFO: Acknowledgment sent {"connection_id":232419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:03:43] local.INFO: TCP Data received {"connection_id":229292,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d7cf8012d22270006cbf658000a009330..."} 
[2026-11-04 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d7cf8012d22270006cbf658000a009330..."} 
[2026-11-04 09:03:43] local.INFO: Processing buffer {"connection_id":229292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d7cf8012d22270006cbf658000a009330..."} 
[2026-11-04 09:03:43] local.INFO: Packet analysis {"connection_id":229292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:43] local.INFO: Extracted packet for processing {"connection_id":229292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":757212928,"raw_latitude":114030168,"longitude_deg":75.7212928,"latitude_deg":11.4030168,"altitude":10,"angle":147,"satellites":48,"speed":59,"hex_longitude":"2d222700","hex_latitude":"06cbf658","is_valid_coordinates":true} 
[2026-11-04 09:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203364096001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38675493305712640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2455939569738342400,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793763147000,"timestamp_ms":1793763147000,"timestamp_seconds":1793763147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d7cf8"} 
[2026-11-04 09:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 09:03: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-11-04 09:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203364096001,"66":27604,"179":206,"81":22528,"24":59,"16":38675493305712640,"45":2455939569738342400},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203364096001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:03:43] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38675493305712640,"km_value":38675493305712.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2455939569738342400,"description":"Unknown IO ID 45"} 
[2026-11-04 09:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203364096001,"power":27604,"unknown_179":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2455939569738342400}} 
[2026-11-04 09:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":229292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:03:43] local.INFO: GPS data processed {"connection_id":229292,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:03:43] local.INFO: Acknowledgment sent {"connection_id":229292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:03:43] local.INFO: TCP Data received {"connection_id":229293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:03:43] local.INFO: Processing buffer {"connection_id":229293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:03:43] local.INFO: IMEI packet received {"connection_id":229293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":229293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:03:49] local.INFO: TCP Data received {"connection_id":229293,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229293,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:03:49] local.INFO: Processing buffer {"connection_id":229293,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:03:49] local.INFO: IMEI packet received {"connection_id":229293,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":229293,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:03:49] local.INFO: TCP Data received {"connection_id":229293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49e0998012d0a9ec007058578001d013326..."} 
[2026-11-04 09:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49e0998012d0a9ec007058578001d013326..."} 
[2026-11-04 09:03:49] local.INFO: Processing buffer {"connection_id":229293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49e0998012d0a9ec007058578001d013326..."} 
[2026-11-04 09:03:49] local.INFO: Packet analysis {"connection_id":229293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49e"} 
[2026-11-04 09:03:49] local.INFO: Extracted packet for processing {"connection_id":229293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49e"} 
[2026-11-04 09:03:49] local.INFO: GPS Element Parsed {"raw_longitude":755670720,"raw_latitude":117802360,"longitude_deg":75.567072,"latitude_deg":11.780236,"altitude":29,"angle":307,"satellites":38,"speed":19,"hex_longitude":"2d0a9ec0","hex_latitude":"07058578","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203374592001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39181247179653120,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765752704298680320,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793763183000,"timestamp_ms":1793763183000,"timestamp_seconds":1793763183,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49e0998"} 
[2026-11-04 09:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 09:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203374592001,"66":14559,"153":206,"94":10240,"24":19,"16":39181247179653120,"45":765752704298680320},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203374592001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:03:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:03:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39181247179653120,"km_value":39181247179653.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":765752704298680320,"description":"Unknown IO ID 45"} 
[2026-11-04 09:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203374592001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":765752704298680320}} 
[2026-11-04 09:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":229293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:03:50] local.INFO: GPS data processed {"connection_id":229293,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:03:50] local.INFO: Acknowledgment sent {"connection_id":229293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:03:51] local.INFO: TCP Data received {"connection_id":228796,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d61a0012d0f1b4006e71100000c01392b..."} 
[2026-11-04 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d61a0012d0f1b4006e71100000c01392b..."} 
[2026-11-04 09:03:51] local.INFO: Processing buffer {"connection_id":228796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d61a0012d0f1b4006e71100000c01392b..."} 
[2026-11-04 09:03:51] local.INFO: Packet analysis {"connection_id":228796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:51] local.INFO: Extracted packet for processing {"connection_id":228796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755964736,"raw_latitude":115806464,"longitude_deg":75.5964736,"latitude_deg":11.5806464,"altitude":12,"angle":313,"satellites":43,"speed":7,"hex_longitude":"2d0f1b40","hex_latitude":"06e71100","is_valid_coordinates":true} 
[2026-11-04 09:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203358464001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20339440400465920,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1093600682910611456,"note":"Value kept but may cause issues"} 
[2026-11-04 09:03:51] 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-11-04 09:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793763140000,"timestamp_ms":1793763140000,"timestamp_seconds":1793763140,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d61a0"} 
[2026-11-04 09:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:03:51] 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-11-04 09:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203358464001,"66":28430,"217":206,"2":56576,"24":7,"16":20339440400465920,"45":1093600682910611456},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-11-04 09:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203358464001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:03:51] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 09:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20339440400465920,"km_value":20339440400465.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1093600682910611456,"description":"Unknown IO ID 45"} 
[2026-11-04 09:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203358464001,"power":28430,"unknown_217":206,"power_alt":56576,"ignition":7,"odometer":null,"unknown_45":1093600682910611456}} 
[2026-11-04 09:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":228796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:03:51] local.INFO: GPS data processed {"connection_id":228796,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:03:51] local.INFO: Acknowledgment sent {"connection_id":228796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:07] local.INFO: TCP Data received {"connection_id":230572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:07] local.INFO: Processing buffer {"connection_id":230572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:07] local.INFO: IMEI packet received {"connection_id":230572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":230572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:04:09] local.INFO: TCP Data received {"connection_id":230571,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:04:09] local.INFO: Processing buffer {"connection_id":230571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:04:09] local.INFO: IMEI packet received {"connection_id":230571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":230571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:04:09] local.INFO: TCP Data received {"connection_id":230572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:09] local.INFO: Processing buffer {"connection_id":230572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:09] local.INFO: IMEI packet received {"connection_id":230572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":230572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:04:12] local.INFO: TCP Data received {"connection_id":230572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:12] local.INFO: Processing buffer {"connection_id":230572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:04:12] local.INFO: IMEI packet received {"connection_id":230572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":230572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:04:13] local.INFO: TCP Data received {"connection_id":230571,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:04:13] local.INFO: Processing buffer {"connection_id":230571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:04:13] local.INFO: IMEI packet received {"connection_id":230571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":230571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:04:13] local.INFO: TCP Data received {"connection_id":230572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d9468012d223c0006cbda40000a008831..."} 
[2026-11-04 09:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d9468012d223c0006cbda40000a008831..."} 
[2026-11-04 09:04:13] local.INFO: Processing buffer {"connection_id":230572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d9468012d223c0006cbda40000a008831..."} 
[2026-11-04 09:04:13] local.INFO: Packet analysis {"connection_id":230572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:13] local.INFO: Extracted packet for processing {"connection_id":230572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:13] local.INFO: GPS Element Parsed {"raw_longitude":757218304,"raw_latitude":114022976,"longitude_deg":75.7218304,"latitude_deg":11.4022976,"altitude":10,"angle":136,"satellites":49,"speed":59,"hex_longitude":"2d223c00","hex_latitude":"06cbda40","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203365632001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38675927097409536,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2460935750572988416,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793763153000,"timestamp_ms":1793763153000,"timestamp_seconds":1793763153,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d9468"} 
[2026-11-04 09:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 09:04: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-11-04 09: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-11-04 09:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203365632001,"66":27615,"179":206,"81":22528,"24":59,"16":38675927097409536,"45":2460935750572988416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203365632001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:13] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38675927097409536,"km_value":38675927097409.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2460935750572988416,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203365632001,"power":27615,"unknown_179":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2460935750572988416}} 
[2026-11-04 09:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":230572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:13] local.INFO: GPS data processed {"connection_id":230572,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:13] local.INFO: Acknowledgment sent {"connection_id":230572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:15] local.INFO: TCP Data received {"connection_id":230572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49dabd8012d22568006cbc358000a007e30..."} 
[2026-11-04 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49dabd8012d22568006cbc358000a007e30..."} 
[2026-11-04 09:04:15] local.INFO: Processing buffer {"connection_id":230572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49dabd8012d22568006cbc358000a007e30..."} 
[2026-11-04 09:04:15] local.INFO: Packet analysis {"connection_id":230572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:15] local.INFO: Extracted packet for processing {"connection_id":230572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":757225088,"raw_latitude":114017112,"longitude_deg":75.7225088,"latitude_deg":11.4017112,"altitude":10,"angle":126,"satellites":48,"speed":58,"hex_longitude":"2d225680","hex_latitude":"06cbc358","is_valid_coordinates":true} 
[2026-11-04 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203367168001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38676360889106432,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2466846725082071040,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763159000,"timestamp_ms":1793763159000,"timestamp_seconds":1793763159,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49dabd8"} 
[2026-11-04 09:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 09:04:15] 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-11-04 09:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203367168001,"66":27593,"179":206,"81":22528,"24":58,"16":38676360889106432,"45":2466846725082071040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203367168001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:04:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38676360889106432,"km_value":38676360889106.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2466846725082071040,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203367168001,"power":27593,"unknown_179":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2466846725082071040}} 
[2026-11-04 09:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":230572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:15] local.INFO: GPS data processed {"connection_id":230572,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:15] local.INFO: Acknowledgment sent {"connection_id":230572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:15] local.INFO: TCP Data received {"connection_id":230571,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d7140012d0f194006e71288000c012d2b..."} 
[2026-11-04 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d7140012d0f194006e71288000c012d2b..."} 
[2026-11-04 09:04:15] local.INFO: Processing buffer {"connection_id":230571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d7140012d0f194006e71288000c012d2b..."} 
[2026-11-04 09:04:15] local.INFO: Packet analysis {"connection_id":230571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:15] local.INFO: Extracted packet for processing {"connection_id":230571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":755964224,"raw_latitude":115806856,"longitude_deg":75.5964224,"latitude_deg":11.5806856,"altitude":12,"angle":301,"satellites":43,"speed":6,"hex_longitude":"2d0f1940","hex_latitude":"06e71288","is_valid_coordinates":true} 
[2026-11-04 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203363840001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20339474760204288,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1088534133330739200,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:15] 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-11-04 09:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763144000,"timestamp_ms":1793763144000,"timestamp_seconds":1793763144,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d7140"} 
[2026-11-04 09:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:04:15] 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-11-04 09:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203363840001,"66":28452,"217":206,"2":56576,"24":6,"16":20339474760204288,"45":1088534133330739200},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-11-04 09:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203363840001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 09:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20339474760204288,"km_value":20339474760204.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1088534133330739200,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203363840001,"power":28452,"unknown_217":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1088534133330739200}} 
[2026-11-04 09:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":230571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:15] local.INFO: GPS data processed {"connection_id":230571,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:15] local.INFO: Acknowledgment sent {"connection_id":230571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:17] local.INFO: TCP Data received {"connection_id":230571,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d7910012d0f180006e71328000c01202d..."} 
[2026-11-04 09:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d7910012d0f180006e71328000c01202d..."} 
[2026-11-04 09:04:17] local.INFO: Processing buffer {"connection_id":230571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d7910012d0f180006e71328000c01202d..."} 
[2026-11-04 09:04:17] local.INFO: Packet analysis {"connection_id":230571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:17] local.INFO: Extracted packet for processing {"connection_id":230571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":755963904,"raw_latitude":115807016,"longitude_deg":75.5963904,"latitude_deg":11.5807016,"altitude":12,"angle":288,"satellites":45,"speed":6,"hex_longitude":"2d0f1800","hex_latitude":"06e71328","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203364864001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20339491940073472,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1087971183377418240,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:17] 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-11-04 09:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793763146000,"timestamp_ms":1793763146000,"timestamp_seconds":1793763146,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d7910"} 
[2026-11-04 09:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:04: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-11-04 09: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-11-04 09:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203364864001,"66":27908,"217":206,"2":56576,"24":6,"16":20339491940073472,"45":1087971183377418240},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-11-04 09:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203364864001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 09:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20339491940073472,"km_value":20339491940073.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1087971183377418240,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203364864001,"power":27908,"unknown_217":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1087971183377418240}} 
[2026-11-04 09:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":230571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:17] local.INFO: GPS data processed {"connection_id":230571,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:17] local.INFO: Acknowledgment sent {"connection_id":230571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:20] local.INFO: TCP Data received {"connection_id":229293,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49f0b68012d0a72000705de480016000e26..."} 
[2026-11-04 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49f0b68012d0a72000705de480016000e26..."} 
[2026-11-04 09:04:20] local.INFO: Processing buffer {"connection_id":229293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49f0b68012d0a72000705de480016000e26..."} 
[2026-11-04 09:04:20] local.INFO: Packet analysis {"connection_id":229293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:04:20] local.INFO: Extracted packet for processing {"connection_id":229293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117825096,"longitude_deg":75.5659264,"latitude_deg":11.7825096,"altitude":22,"angle":14,"satellites":38,"speed":6,"hex_longitude":"2d0a7200","hex_latitude":"0705de48","is_valid_coordinates":true} 
[2026-11-04 09:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203391488001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39182518489972736,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887469568,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793763249000,"timestamp_ms":1793763249000,"timestamp_seconds":1793763249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49f0b68"} 
[2026-11-04 09:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229293,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203391488001,"66":14439,"153":206,"94":10240,"24":6,"16":39182518489972736,"45":752664117887469568},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203391488001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:04:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39182518489972736,"km_value":39182518489972.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887469568,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203391488001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":752664117887469568}} 
[2026-11-04 09:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":229293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58377,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:21] local.INFO: GPS data processed {"connection_id":229293,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:21] local.INFO: Acknowledgment sent {"connection_id":229293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:43] local.INFO: TCP Data received {"connection_id":228797,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:43] local.INFO: Processing buffer {"connection_id":228797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:43] local.INFO: IMEI packet received {"connection_id":228797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":228797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:04:45] local.INFO: TCP Data received {"connection_id":228797,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:45] local.INFO: Processing buffer {"connection_id":228797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:45] local.INFO: IMEI packet received {"connection_id":228797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":228797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:04:46] local.INFO: TCP Data received {"connection_id":230572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49ed4b8012d233d0006ca53f0000d008830..."} 
[2026-11-04 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49ed4b8012d233d0006ca53f0000d008830..."} 
[2026-11-04 09:04:46] local.INFO: Processing buffer {"connection_id":230572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49ed4b8012d233d0006ca53f0000d008830..."} 
[2026-11-04 09:04:46] local.INFO: Packet analysis {"connection_id":230572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49e"} 
[2026-11-04 09:04:46] local.INFO: Extracted packet for processing {"connection_id":230572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49e"} 
[2026-11-04 09:04:46] local.INFO: GPS Element Parsed {"raw_longitude":757284096,"raw_latitude":113923056,"longitude_deg":75.7284096,"latitude_deg":11.3923056,"altitude":13,"angle":136,"satellites":48,"speed":59,"hex_longitude":"2d233d00","hex_latitude":"06ca53f0","is_valid_coordinates":true} 
[2026-11-04 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203386624001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38681815497572352,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2532852607096911872,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793763235000,"timestamp_ms":1793763235000,"timestamp_seconds":1793763235,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49ed4b8"} 
[2026-11-04 09:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 09:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203386624001,"66":27669,"47":206,"81":22528,"24":59,"16":38681815497572352,"45":2532852607096911872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-11-04 09:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203386624001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:46] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-11-04 09:04:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38681815497572352,"km_value":38681815497572.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2532852607096911872,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203386624001,"power":27669,"unknown_47":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2532852607096911872}} 
[2026-11-04 09:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":230572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:46] local.INFO: GPS data processed {"connection_id":230572,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:46] local.INFO: Acknowledgment sent {"connection_id":230572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:48] local.INFO: TCP Data received {"connection_id":230571,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49d9850012d0f140006e71518000b01312c..."} 
[2026-11-04 09:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49d9850012d0f140006e71518000b01312c..."} 
[2026-11-04 09:04:48] local.INFO: Processing buffer {"connection_id":230571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49d9850012d0f140006e71518000b01312c..."} 
[2026-11-04 09:04:48] local.INFO: Packet analysis {"connection_id":230571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:48] local.INFO: Extracted packet for processing {"connection_id":230571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":755962880,"raw_latitude":115807512,"longitude_deg":75.596288,"latitude_deg":11.5807512,"altitude":11,"angle":305,"satellites":44,"speed":6,"hex_longitude":"2d0f1400","hex_latitude":"06e71518","is_valid_coordinates":true} 
[2026-11-04 09:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203365376001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20339543479681024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1087619339656570880,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:48] 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-11-04 09:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793763154000,"timestamp_ms":1793763154000,"timestamp_seconds":1793763154,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49d9850"} 
[2026-11-04 09:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:04: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-11-04 09:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203365376001,"66":28300,"217":206,"2":56576,"24":6,"16":20339543479681024,"45":1087619339656570880},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-11-04 09:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203365376001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:48] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 09:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20339543479681024,"km_value":20339543479681.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1087619339656570880,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203365376001,"power":28300,"unknown_217":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1087619339656570880}} 
[2026-11-04 09:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":230571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:48] local.INFO: GPS data processed {"connection_id":230571,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:48] local.INFO: Acknowledgment sent {"connection_id":230571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:04:49] local.INFO: TCP Data received {"connection_id":228797,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228797,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:49] local.INFO: Processing buffer {"connection_id":228797,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:04:49] local.INFO: IMEI packet received {"connection_id":228797,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":228797,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:04:50] local.INFO: TCP Data received {"connection_id":228797,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49f1338012d0a72800705df600015002526..."} 
[2026-11-04 09:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49f1338012d0a72800705df600015002526..."} 
[2026-11-04 09:04:50] local.INFO: Processing buffer {"connection_id":228797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49f1338012d0a72800705df600015002526..."} 
[2026-11-04 09:04:50] local.INFO: Packet analysis {"connection_id":228797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:04:50] local.INFO: Extracted packet for processing {"connection_id":228797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:04:50] local.INFO: GPS Element Parsed {"raw_longitude":755659392,"raw_latitude":117825376,"longitude_deg":75.5659392,"latitude_deg":11.7825376,"altitude":21,"angle":37,"satellites":38,"speed":6,"hex_longitude":"2d0a7280","hex_latitude":"0705df60","is_valid_coordinates":true} 
[2026-11-04 09:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203391744001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39182535669841920,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887518720,"note":"Value kept but may cause issues"} 
[2026-11-04 09:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793763251000,"timestamp_ms":1793763251000,"timestamp_seconds":1793763251,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49f1338"} 
[2026-11-04 09:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203391744001,"66":14352,"153":206,"94":10240,"24":6,"16":39182535669841920,"45":752664117887518720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203391744001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:04:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:04:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39182535669841920,"km_value":39182535669841.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887518720,"description":"Unknown IO ID 45"} 
[2026-11-04 09:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203391744001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":752664117887518720}} 
[2026-11-04 09:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":228797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:04:50] local.INFO: GPS data processed {"connection_id":228797,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:04:50] local.INFO: Acknowledgment sent {"connection_id":228797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:05:09] local.INFO: TCP Data received {"connection_id":228798,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:05:09] local.INFO: Processing buffer {"connection_id":228798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:05:09] local.INFO: IMEI packet received {"connection_id":228798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":228798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:05:14] local.INFO: TCP Data received {"connection_id":228798,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:05:14] local.INFO: Processing buffer {"connection_id":228798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:05:14] local.INFO: IMEI packet received {"connection_id":228798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":228798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:05:15] local.INFO: TCP Data received {"connection_id":228798,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49da7f0012d0f124006e716d8000b013e2c..."} 
[2026-11-04 09:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49da7f0012d0f124006e716d8000b013e2c..."} 
[2026-11-04 09:05:15] local.INFO: Processing buffer {"connection_id":228798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49da7f0012d0f124006e716d8000b013e2c..."} 
[2026-11-04 09:05:15] local.INFO: Packet analysis {"connection_id":228798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:05:15] local.INFO: Extracted packet for processing {"connection_id":228798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:05:15] local.INFO: GPS Element Parsed {"raw_longitude":755962432,"raw_latitude":115807960,"longitude_deg":75.5962432,"latitude_deg":11.580796,"altitude":11,"angle":318,"satellites":44,"speed":8,"hex_longitude":"2d0f1240","hex_latitude":"06e716d8","is_valid_coordinates":true} 
[2026-11-04 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203367424001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20339573544452096,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1086493439749855232,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:15] 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-11-04 09:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763158000,"timestamp_ms":1793763158000,"timestamp_seconds":1793763158,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49da7f0"} 
[2026-11-04 09:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:05: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-11-04 09:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203367424001,"66":28354,"217":206,"2":56576,"24":8,"16":20339573544452096,"45":1086493439749855232},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-11-04 09:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203367424001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:05:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 09:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20339573544452096,"km_value":20339573544452.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1086493439749855232,"description":"Unknown IO ID 45"} 
[2026-11-04 09:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203367424001,"power":28354,"unknown_217":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":1086493439749855232}} 
[2026-11-04 09:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":228798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:05:16] local.INFO: GPS data processed {"connection_id":228798,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:05:16] local.INFO: Acknowledgment sent {"connection_id":228798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:05:21] local.INFO: TCP Data received {"connection_id":228797,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49fedf8012d0a8640070614c0000c004c27..."} 
[2026-11-04 09:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49fedf8012d0a8640070614c0000c004c27..."} 
[2026-11-04 09:05:21] local.INFO: Processing buffer {"connection_id":228797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49fedf8012d0a8640070614c0000c004c27..."} 
[2026-11-04 09:05:21] local.INFO: Packet analysis {"connection_id":228797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:21] local.INFO: Extracted packet for processing {"connection_id":228797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117839040,"longitude_deg":75.5664448,"latitude_deg":11.783904,"altitude":12,"angle":76,"satellites":39,"speed":7,"hex_longitude":"2d0a8640","hex_latitude":"070614c0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203406336001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39183459087810560,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758082511192762368,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793763307000,"timestamp_ms":1793763307000,"timestamp_seconds":1793763307,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49fedf8"} 
[2026-11-04 09:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228797,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203406336001,"66":14450,"153":206,"94":10240,"24":7,"16":39183459087810560,"45":758082511192762368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203406336001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:05:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:05:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39183459087810560,"km_value":39183459087810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":758082511192762368,"description":"Unknown IO ID 45"} 
[2026-11-04 09:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203406336001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758082511192762368}} 
[2026-11-04 09:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":228797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:05:22] local.INFO: GPS data processed {"connection_id":228797,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:05:22] local.INFO: Acknowledgment sent {"connection_id":228797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:05:42] local.INFO: TCP Data received {"connection_id":229294,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:05:42] local.INFO: Processing buffer {"connection_id":229294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:05:42] local.INFO: IMEI packet received {"connection_id":229294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":229294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:05:45] local.INFO: TCP Data received {"connection_id":229294,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:05:45] local.INFO: Processing buffer {"connection_id":229294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:05:45] local.INFO: IMEI packet received {"connection_id":229294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":229294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:05:46] local.INFO: TCP Data received {"connection_id":229294,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49fbb30012d242ec006c98868000d00a430..."} 
[2026-11-04 09:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49fbb30012d242ec006c98868000d00a430..."} 
[2026-11-04 09:05:46] local.INFO: Processing buffer {"connection_id":229294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49fbb30012d242ec006c98868000d00a430..."} 
[2026-11-04 09:05:46] local.INFO: Packet analysis {"connection_id":229294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:46] local.INFO: Extracted packet for processing {"connection_id":229294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":757345984,"raw_latitude":113870952,"longitude_deg":75.7345984,"latitude_deg":11.3870952,"altitude":13,"angle":164,"satellites":48,"speed":59,"hex_longitude":"2d242ec0","hex_latitude":"06c98868","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203401728001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38686050335326208,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2604206513680128000,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793763294000,"timestamp_ms":1793763294000,"timestamp_seconds":1793763294,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49fbb30"} 
[2026-11-04 09:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 09:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203401728001,"66":27832,"47":206,"81":22528,"24":59,"16":38686050335326208,"45":2604206513680128000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,81,24,16,45]} 
[2026-11-04 09:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203401728001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:05:46] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-11-04 09:05:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38686050335326208,"km_value":38686050335326.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2604206513680128000,"description":"Unknown IO ID 45"} 
[2026-11-04 09:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203401728001,"power":27832,"unknown_47":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2604206513680128000}} 
[2026-11-04 09:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":229294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:05:46] local.INFO: GPS data processed {"connection_id":229294,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:05:46] local.INFO: Acknowledgment sent {"connection_id":229294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:05:47] local.INFO: TCP Data received {"connection_id":228798,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49df9f8012d0f08c006e72118000b013d2d..."} 
[2026-11-04 09:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49df9f8012d0f08c006e72118000b013d2d..."} 
[2026-11-04 09:05:47] local.INFO: Processing buffer {"connection_id":228798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49df9f8012d0f08c006e72118000b013d2d..."} 
[2026-11-04 09:05:47] local.INFO: Packet analysis {"connection_id":228798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:05:47] local.INFO: Extracted packet for processing {"connection_id":228798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49d"} 
[2026-11-04 09:05:47] local.INFO: GPS Element Parsed {"raw_longitude":755960000,"raw_latitude":115810584,"longitude_deg":75.596,"latitude_deg":11.5810584,"altitude":11,"angle":317,"satellites":45,"speed":4,"hex_longitude":"2d0f08c0","hex_latitude":"06e72118","is_valid_coordinates":true} 
[2026-11-04 09:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203368448001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20339749638111232,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1086000858540726272,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:47] 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-11-04 09:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793763179000,"timestamp_ms":1793763179000,"timestamp_seconds":1793763179,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49df9f8"} 
[2026-11-04 09:05:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:05:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:05:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:05:47] 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-11-04 09:05:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:05:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203368448001,"66":28354,"217":206,"2":56576,"24":4,"16":20339749638111232,"45":1086000858540726272},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-11-04 09:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203368448001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:05:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 09:05:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20339749638111232,"km_value":20339749638111.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1086000858540726272,"description":"Unknown IO ID 45"} 
[2026-11-04 09:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203368448001,"power":28354,"unknown_217":206,"power_alt":56576,"ignition":4,"odometer":null,"unknown_45":1086000858540726272}} 
[2026-11-04 09:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":228798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:05:47] local.INFO: GPS data processed {"connection_id":228798,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:05:47] local.INFO: Acknowledgment sent {"connection_id":228798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:05:49] local.INFO: TCP Data received {"connection_id":229295,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:05:49] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:05:49] local.INFO: IMEI packet received {"connection_id":229295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":229295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:05:51] local.INFO: TCP Data received {"connection_id":229295,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:05:51] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:05:51] local.INFO: IMEI packet received {"connection_id":229295,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":229295,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:05:52] local.INFO: TCP Data received {"connection_id":229295,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49ff1e0012d0a86c007061510000c003a27..."} 
[2026-11-04 09:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49ff1e0012d0a86c007061510000c003a27..."} 
[2026-11-04 09:05:52] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49ff1e0012d0a86c007061510000c003a27..."} 
[2026-11-04 09:05:52] local.INFO: Packet analysis {"connection_id":229295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:52] local.INFO: Extracted packet for processing {"connection_id":229295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:52] local.INFO: GPS Element Parsed {"raw_longitude":755664576,"raw_latitude":117839120,"longitude_deg":75.5664576,"latitude_deg":11.783912,"altitude":12,"angle":58,"satellites":39,"speed":6,"hex_longitude":"2d0a86c0","hex_latitude":"07061510","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203406592001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39183467677745152,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986169479168,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793763308000,"timestamp_ms":1793763308000,"timestamp_seconds":1793763308,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49ff1e0"} 
[2026-11-04 09:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:05:52] 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-11-04 09: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-11-04 09:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203406592001,"66":14515,"153":206,"94":10240,"24":6,"16":39183467677745152,"45":758363986169479168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203406592001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:05:52] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:05:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39183467677745152,"km_value":39183467677745.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986169479168,"description":"Unknown IO ID 45"} 
[2026-11-04 09:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203406592001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":758363986169479168}} 
[2026-11-04 09:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":229295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58385,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:05:52] local.INFO: GPS data processed {"connection_id":229295,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:05:52] local.INFO: Acknowledgment sent {"connection_id":229295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:05:54] local.INFO: TCP Data received {"connection_id":229295,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49ff5c8012d0a878007061588000c002e27..."} 
[2026-11-04 09:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49ff5c8012d0a878007061588000c002e27..."} 
[2026-11-04 09:05:54] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49ff5c8012d0a878007061588000c002e27..."} 
[2026-11-04 09:05:54] local.INFO: Packet analysis {"connection_id":229295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:54] local.INFO: Extracted packet for processing {"connection_id":229295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755664768,"raw_latitude":117839240,"longitude_deg":75.5664768,"latitude_deg":11.783924,"altitude":12,"angle":46,"satellites":39,"speed":7,"hex_longitude":"2d0a8780","hex_latitude":"07061588","is_valid_coordinates":true} 
[2026-11-04 09:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203406848001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39183476267679744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758504723657854976,"note":"Value kept but may cause issues"} 
[2026-11-04 09:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793763309000,"timestamp_ms":1793763309000,"timestamp_seconds":1793763309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49ff5c8"} 
[2026-11-04 09:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 09:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203406848001,"66":14515,"153":206,"94":10240,"24":7,"16":39183476267679744,"45":758504723657854976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203406848001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:05:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39183476267679744,"km_value":39183476267679.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":758504723657854976,"description":"Unknown IO ID 45"} 
[2026-11-04 09:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203406848001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758504723657854976}} 
[2026-11-04 09:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":229295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:05:54] local.INFO: GPS data processed {"connection_id":229295,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:05:54] local.INFO: Acknowledgment sent {"connection_id":229295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:06:10] local.INFO: TCP Data received {"connection_id":228799,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:10] local.INFO: Processing buffer {"connection_id":228799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:10] local.INFO: IMEI packet received {"connection_id":228799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":228799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:06:10] local.INFO: TCP Data received {"connection_id":232420,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:10] local.INFO: Processing buffer {"connection_id":232420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:10] local.INFO: IMEI packet received {"connection_id":232420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":232420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:06:12] local.INFO: TCP Data received {"connection_id":228799,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:12] local.INFO: Processing buffer {"connection_id":228799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:12] local.INFO: IMEI packet received {"connection_id":228799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":228799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:06:14] local.INFO: TCP Data received {"connection_id":232420,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:14] local.INFO: Processing buffer {"connection_id":232420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:14] local.INFO: IMEI packet received {"connection_id":232420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":232420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:06:15] local.INFO: TCP Data received {"connection_id":228799,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:15] local.INFO: Processing buffer {"connection_id":228799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:06:15] local.INFO: IMEI packet received {"connection_id":228799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":228799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:06:16] local.INFO: TCP Data received {"connection_id":228799,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49fd2a0012d24380006c966d0000d00a430..."} 
[2026-11-04 09:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49fd2a0012d24380006c966d0000d00a430..."} 
[2026-11-04 09:06:16] local.INFO: Processing buffer {"connection_id":228799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49fd2a0012d24380006c966d0000d00a430..."} 
[2026-11-04 09:06:16] local.INFO: Packet analysis {"connection_id":228799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:16] local.INFO: Extracted packet for processing {"connection_id":228799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":757348352,"raw_latitude":113862352,"longitude_deg":75.7348352,"latitude_deg":11.3862352,"altitude":13,"angle":164,"satellites":48,"speed":59,"hex_longitude":"2d243800","hex_latitude":"06c966d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203403264001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38686484127023104,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2607232369677592576,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793763300000,"timestamp_ms":1793763300000,"timestamp_seconds":1793763300,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49fd2a0"} 
[2026-11-04 09:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 09:06:16] 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-11-04 09: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-11-04 09:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203403264001,"66":27865,"46":206,"81":22528,"24":59,"16":38686484127023104,"45":2607232369677592576},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-11-04 09:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203403264001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:06:16] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-04 09:06:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38686484127023104,"km_value":38686484127023.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2607232369677592576,"description":"Unknown IO ID 45"} 
[2026-11-04 09:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203403264001,"power":27865,"unknown_46":206,"unknown_81":22528,"ignition":59,"odometer":null,"unknown_45":2607232369677592576}} 
[2026-11-04 09:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":228799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:06:16] local.INFO: GPS data processed {"connection_id":228799,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:06:16] local.INFO: Acknowledgment sent {"connection_id":228799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:06:19] local.INFO: TCP Data received {"connection_id":232420,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:19] local.INFO: Processing buffer {"connection_id":232420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:06:19] local.INFO: IMEI packet received {"connection_id":232420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":232420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:06:21] local.INFO: TCP Data received {"connection_id":232420,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49fc300012d0e6f8006e81b100006015c2e..."} 
[2026-11-04 09:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49fc300012d0e6f8006e81b100006015c2e..."} 
[2026-11-04 09:06:21] local.INFO: Processing buffer {"connection_id":232420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49fc300012d0e6f8006e81b100006015c2e..."} 
[2026-11-04 09:06:21] local.INFO: Packet analysis {"connection_id":232420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:21] local.INFO: Extracted packet for processing {"connection_id":232420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":755920768,"raw_latitude":115874576,"longitude_deg":75.5920768,"latitude_deg":11.5874576,"altitude":6,"angle":348,"satellites":46,"speed":21,"hex_longitude":"2d0e6f80","hex_latitude":"06e81b10","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203399936001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20343481964691456,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1042231499676985344,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793763296000,"timestamp_ms":1793763296000,"timestamp_seconds":1793763296,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49fc300"} 
[2026-11-04 09:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:06: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-11-04 09: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-11-04 09:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203399936001,"66":28376,"131":206,"2":56576,"24":21,"16":20343481964691456,"45":1042231499676985344},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,2,24,16,45]} 
[2026-11-04 09:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203399936001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:06:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-04 09:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20343481964691456,"km_value":20343481964691.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1042231499676985344,"description":"Unknown IO ID 45"} 
[2026-11-04 09:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203399936001,"power":28376,"unknown_131":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":1042231499676985344}} 
[2026-11-04 09:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":232420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:06:21] local.INFO: GPS data processed {"connection_id":232420,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:06:21] local.INFO: Acknowledgment sent {"connection_id":232420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:06:23] local.INFO: TCP Data received {"connection_id":232420,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49ff9b0012d0e6a0006e83e90000701602d..."} 
[2026-11-04 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49ff9b0012d0e6a0006e83e90000701602d..."} 
[2026-11-04 09:06:23] local.INFO: Processing buffer {"connection_id":232420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49ff9b0012d0e6a0006e83e90000701602d..."} 
[2026-11-04 09:06:23] local.INFO: Packet analysis {"connection_id":232420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:23] local.INFO: Extracted packet for processing {"connection_id":232420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":755919360,"raw_latitude":115883664,"longitude_deg":75.591936,"latitude_deg":11.5883664,"altitude":7,"angle":352,"satellites":45,"speed":31,"hex_longitude":"2d0e6a00","hex_latitude":"06e83e90","is_valid_coordinates":true} 
[2026-11-04 09:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203403776001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20343928641290240,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1040190806098120704,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793763310000,"timestamp_ms":1793763310000,"timestamp_seconds":1793763310,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49ff9b0"} 
[2026-11-04 09:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 09:06:23] 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-11-04 09:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203403776001,"66":28343,"131":206,"2":56576,"24":31,"16":20343928641290240,"45":1040190806098120704},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,2,24,16,45]} 
[2026-11-04 09:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203403776001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:06:23] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-04 09:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20343928641290240,"km_value":20343928641290.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1040190806098120704,"description":"Unknown IO ID 45"} 
[2026-11-04 09:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203403776001,"power":28343,"unknown_131":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":1040190806098120704}} 
[2026-11-04 09:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":232420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:06:23] local.INFO: GPS data processed {"connection_id":232420,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:06:23] local.INFO: Acknowledgment sent {"connection_id":232420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:06:25] local.INFO: TCP Data received {"connection_id":229295,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a043e8012d0a86c0070613f0000d002627..."} 
[2026-11-04 09:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a043e8012d0a86c0070613f0000d002627..."} 
[2026-11-04 09:06:25] local.INFO: Processing buffer {"connection_id":229295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a043e8012d0a86c0070613f0000d002627..."} 
[2026-11-04 09:06:25] local.INFO: Packet analysis {"connection_id":229295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:06:25] local.INFO: Extracted packet for processing {"connection_id":229295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:06:25] local.INFO: GPS Element Parsed {"raw_longitude":755664576,"raw_latitude":117838832,"longitude_deg":75.5664576,"latitude_deg":11.7838832,"altitude":13,"angle":38,"satellites":39,"speed":0,"hex_longitude":"2d0a86c0","hex_latitude":"070613f0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203407104001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39183553577091072,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758715829890418688,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793763329000,"timestamp_ms":1793763329000,"timestamp_seconds":1793763329,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a043e8"} 
[2026-11-04 09:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 09:06:25] 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-11-04 09: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-11-04 09:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229295,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203407104001,"66":14450,"153":206,"94":10240,"24":0,"16":39183553577091072,"45":758715829890418688},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203407104001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:06:25] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:06:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39183553577091072,"km_value":39183553577091.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":758715829890418688,"description":"Unknown IO ID 45"} 
[2026-11-04 09:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203407104001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":758715829890418688}} 
[2026-11-04 09:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":229295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58390,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:06:25] local.INFO: GPS data processed {"connection_id":229295,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:06:25] local.INFO: Acknowledgment sent {"connection_id":229295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:06:44] local.INFO: TCP Data received {"connection_id":232421,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:06:44] local.INFO: Processing buffer {"connection_id":232421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:06:44] local.INFO: IMEI packet received {"connection_id":232421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":232421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:06:47] local.INFO: TCP Data received {"connection_id":228799,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a49fedf8012d24408006c93fc8000f00a830..."} 
[2026-11-04 09:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a49fedf8012d24408006c93fc8000f00a830..."} 
[2026-11-04 09:06:47] local.INFO: Processing buffer {"connection_id":228799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a49fedf8012d24408006c93fc8000f00a830..."} 
[2026-11-04 09:06:47] local.INFO: Packet analysis {"connection_id":228799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:47] local.INFO: Extracted packet for processing {"connection_id":228799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a49f"} 
[2026-11-04 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":757350528,"raw_latitude":113852360,"longitude_deg":75.7350528,"latitude_deg":11.385236,"altitude":15,"angle":168,"satellites":48,"speed":57,"hex_longitude":"2d244080","hex_latitude":"06c93fc8","is_valid_coordinates":true} 
[2026-11-04 09:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203404800001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38686978048262144,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2609836013209964544,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793763307000,"timestamp_ms":1793763307000,"timestamp_seconds":1793763307,"priority":1,"record_length":96,"hex_timestamp":"000001a1a49fedf8"} 
[2026-11-04 09:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 09:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203404800001,"66":27767,"46":206,"81":22528,"24":57,"16":38686978048262144,"45":2609836013209964544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-11-04 09:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203404800001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:06:47] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-04 09:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38686978048262144,"km_value":38686978048262.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2609836013209964544,"description":"Unknown IO ID 45"} 
[2026-11-04 09:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203404800001,"power":27767,"unknown_46":206,"unknown_81":22528,"ignition":57,"odometer":null,"unknown_45":2609836013209964544}} 
[2026-11-04 09:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":228799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:06:47] local.INFO: GPS data processed {"connection_id":228799,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:06:47] local.INFO: Acknowledgment sent {"connection_id":228799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:06:49] local.INFO: TCP Data received {"connection_id":232421,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232421,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:06:49] local.INFO: Processing buffer {"connection_id":232421,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:06:49] local.INFO: IMEI packet received {"connection_id":232421,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":232421,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:06:50] local.INFO: TCP Data received {"connection_id":232421,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a095f0012d0a8600070614e0000d002629..."} 
[2026-11-04 09:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a095f0012d0a8600070614e0000d002629..."} 
[2026-11-04 09:06:50] local.INFO: Processing buffer {"connection_id":232421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a095f0012d0a8600070614e0000d002629..."} 
[2026-11-04 09:06:50] local.INFO: Packet analysis {"connection_id":232421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:06:50] local.INFO: Extracted packet for processing {"connection_id":232421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117839072,"longitude_deg":75.5664384,"latitude_deg":11.7839072,"altitude":13,"angle":38,"satellites":41,"speed":0,"hex_longitude":"2d0a8600","hex_latitude":"070614e0","is_valid_coordinates":true} 
[2026-11-04 09:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203412224001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39183575051927552,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758504723657781248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793763350000,"timestamp_ms":1793763350000,"timestamp_seconds":1793763350,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a095f0"} 
[2026-11-04 09:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:06:50] 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-11-04 09:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203412224001,"66":14407,"153":206,"94":10240,"24":0,"16":39183575051927552,"45":758504723657781248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203412224001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:06:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:06:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39183575051927552,"km_value":39183575051927.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":758504723657781248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203412224001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":758504723657781248}} 
[2026-11-04 09:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":232421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58392,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:06:50] local.INFO: GPS data processed {"connection_id":232421,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:06:50] local.INFO: Acknowledgment sent {"connection_id":232421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:07:07] local.INFO: TCP Data received {"connection_id":230573,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:07] local.INFO: Processing buffer {"connection_id":230573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:07] local.INFO: IMEI packet received {"connection_id":230573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":230573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:07:08] local.INFO: TCP Data received {"connection_id":230573,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:08] local.INFO: Processing buffer {"connection_id":230573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:08] local.INFO: IMEI packet received {"connection_id":230573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":230573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:07:12] local.INFO: TCP Data received {"connection_id":230573,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:12] local.INFO: Processing buffer {"connection_id":230573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:07:12] local.INFO: IMEI packet received {"connection_id":230573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":230573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:07:13] local.INFO: TCP Data received {"connection_id":230573,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a0e028012d24db4006c80170000b00a12f..."} 
[2026-11-04 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a0e028012d24db4006c80170000b00a12f..."} 
[2026-11-04 09:07:13] local.INFO: Processing buffer {"connection_id":230573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a0e028012d24db4006c80170000b00a12f..."} 
[2026-11-04 09:07:13] local.INFO: Packet analysis {"connection_id":230573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:07:13] local.INFO: Extracted packet for processing {"connection_id":230573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:07:13] local.INFO: GPS Element Parsed {"raw_longitude":757390144,"raw_latitude":113770864,"longitude_deg":75.7390144,"latitude_deg":11.3770864,"altitude":11,"angle":161,"satellites":47,"speed":58,"hex_longitude":"2d24db40","hex_latitude":"06c80170","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203420928001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38691410454511616,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2652620209648734208,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793763369000,"timestamp_ms":1793763369000,"timestamp_seconds":1793763369,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a0e028"} 
[2026-11-04 09:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 09:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203420928001,"66":27691,"78":206,"81":22528,"24":58,"16":38691410454511616,"45":2652620209648734208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-11-04 09:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203420928001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:07:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 09:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38691410454511616,"km_value":38691410454511.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2652620209648734208,"description":"Unknown IO ID 45"} 
[2026-11-04 09:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203420928001,"power":27691,"unknown_78":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2652620209648734208}} 
[2026-11-04 09:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":230573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:07:13] local.INFO: GPS data processed {"connection_id":230573,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:07:13] local.INFO: Acknowledgment sent {"connection_id":230573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:07:21] local.INFO: TCP Data received {"connection_id":232421,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a197c0012d0a758007060160001100a827..."} 
[2026-11-04 09:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a197c0012d0a758007060160001100a827..."} 
[2026-11-04 09:07:21] local.INFO: Processing buffer {"connection_id":232421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a197c0012d0a758007060160001100a827..."} 
[2026-11-04 09:07:21] local.INFO: Packet analysis {"connection_id":232421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a1"} 
[2026-11-04 09:07:21] local.INFO: Extracted packet for processing {"connection_id":232421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a1"} 
[2026-11-04 09:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117834080,"longitude_deg":75.566016,"latitude_deg":11.783408,"altitude":17,"angle":168,"satellites":39,"speed":13,"hex_longitude":"2d0a7580","hex_latitude":"07060160","is_valid_coordinates":true} 
[2026-11-04 09:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203433984001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39184051793297408,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911564277760,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793763416000,"timestamp_ms":1793763416000,"timestamp_seconds":1793763416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a197c0"} 
[2026-11-04 09:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:07:21] 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-11-04 09:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232421,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203433984001,"66":14309,"153":206,"94":10240,"24":13,"16":39184051793297408,"45":753578911564277760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203433984001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:07:21] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:07:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39184051793297408,"km_value":39184051793297.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911564277760,"description":"Unknown IO ID 45"} 
[2026-11-04 09:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203433984001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":753578911564277760}} 
[2026-11-04 09:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":232421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58394,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:07:21] local.INFO: GPS data processed {"connection_id":232421,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:07:21] local.INFO: Acknowledgment sent {"connection_id":232421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:07:43] local.INFO: TCP Data received {"connection_id":229296,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:43] local.INFO: Processing buffer {"connection_id":229296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:43] local.INFO: IMEI packet received {"connection_id":229296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":229296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:07:44] local.INFO: TCP Data received {"connection_id":229296,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:44] local.INFO: Processing buffer {"connection_id":229296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:44] local.INFO: IMEI packet received {"connection_id":229296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":229296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:07:45] local.INFO: TCP Data received {"connection_id":229297,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:07:45] local.INFO: Processing buffer {"connection_id":229297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:07:45] local.INFO: IMEI packet received {"connection_id":229297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":229297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:07:47] local.INFO: TCP Data received {"connection_id":230573,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a0fb80012d24e68006c7db40000e00a631..."} 
[2026-11-04 09:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a0fb80012d24e68006c7db40000e00a631..."} 
[2026-11-04 09:07:47] local.INFO: Processing buffer {"connection_id":230573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a0fb80012d24e68006c7db40000e00a631..."} 
[2026-11-04 09:07:47] local.INFO: Packet analysis {"connection_id":230573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:07:47] local.INFO: Extracted packet for processing {"connection_id":230573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a0"} 
[2026-11-04 09:07:47] local.INFO: GPS Element Parsed {"raw_longitude":757393024,"raw_latitude":113761088,"longitude_deg":75.7393024,"latitude_deg":11.3761088,"altitude":14,"angle":166,"satellites":49,"speed":58,"hex_longitude":"2d24e680","hex_latitude":"06c7db40","is_valid_coordinates":true} 
[2026-11-04 09:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203422464001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38691904375750656,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2655786803134558208,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793763376000,"timestamp_ms":1793763376000,"timestamp_seconds":1793763376,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a0fb80"} 
[2026-11-04 09:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 09:07:47] 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-11-04 09:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203422464001,"66":27691,"78":206,"81":22528,"24":58,"16":38691904375750656,"45":2655786803134558208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-11-04 09:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203422464001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:07:47] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 09:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":22528,"description":"Unknown IO ID 81"} 
[2026-11-04 09:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38691904375750656,"km_value":38691904375750.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2655786803134558208,"description":"Unknown IO ID 45"} 
[2026-11-04 09:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203422464001,"power":27691,"unknown_78":206,"unknown_81":22528,"ignition":58,"odometer":null,"unknown_45":2655786803134558208}} 
[2026-11-04 09:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":230573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:07:47] local.INFO: GPS data processed {"connection_id":230573,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:07:47] local.INFO: Acknowledgment sent {"connection_id":230573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:07:48] local.INFO: TCP Data received {"connection_id":229297,"ip":"117.224.124.11","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 09:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229297,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 09:07:48] local.INFO: Processing buffer {"connection_id":229297,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 09:07:48] local.INFO: IMEI packet received {"connection_id":229297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":229297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:07:50] local.INFO: TCP Data received {"connection_id":229296,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229296,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:50] local.INFO: Processing buffer {"connection_id":229296,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:07:50] local.INFO: IMEI packet received {"connection_id":229296,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":229296,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:07:51] local.INFO: TCP Data received {"connection_id":229296,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a1d258012d0a77400705f480001300b428..."} 
[2026-11-04 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a1d258012d0a77400705f480001300b428..."} 
[2026-11-04 09:07:51] local.INFO: Processing buffer {"connection_id":229296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a1d258012d0a77400705f480001300b428..."} 
[2026-11-04 09:07:51] local.INFO: Packet analysis {"connection_id":229296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a1"} 
[2026-11-04 09:07:51] local.INFO: Extracted packet for processing {"connection_id":229296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a1"} 
[2026-11-04 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117830784,"longitude_deg":75.5660608,"latitude_deg":11.7830784,"altitude":19,"angle":180,"satellites":40,"speed":16,"hex_longitude":"2d0a7740","hex_latitude":"0705f480","is_valid_coordinates":true} 
[2026-11-04 09:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203434496001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39184215002054656,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280308305920,"note":"Value kept but may cause issues"} 
[2026-11-04 09:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793763431000,"timestamp_ms":1793763431000,"timestamp_seconds":1793763431,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a1d258"} 
[2026-11-04 09:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 09:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203434496001,"66":14396,"153":206,"94":10240,"24":16,"16":39184215002054656,"45":753649280308305920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203434496001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:07:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39184215002054656,"km_value":39184215002054.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280308305920,"description":"Unknown IO ID 45"} 
[2026-11-04 09:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203434496001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":753649280308305920}} 
[2026-11-04 09:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":229296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:07:51] local.INFO: GPS data processed {"connection_id":229296,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:07:51] local.INFO: Acknowledgment sent {"connection_id":229296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:08:22] local.INFO: TCP Data received {"connection_id":230574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:08:22] local.INFO: TCP Data received {"connection_id":229296,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a1f198012d0a76c00705e610001300c327..."} 
[2026-11-04 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:08:22] local.INFO: Processing buffer {"connection_id":230574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:08:22] local.INFO: IMEI packet received {"connection_id":230574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":230574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a1f198012d0a76c00705e610001300c327..."} 
[2026-11-04 09:08:22] local.INFO: Processing buffer {"connection_id":229296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a1f198012d0a76c00705e610001300c327..."} 
[2026-11-04 09:08:22] local.INFO: Packet analysis {"connection_id":229296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a1"} 
[2026-11-04 09:08:22] local.INFO: Extracted packet for processing {"connection_id":229296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a1"} 
[2026-11-04 09:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755660480,"raw_latitude":117827088,"longitude_deg":75.566048,"latitude_deg":11.7827088,"altitude":19,"angle":195,"satellites":39,"speed":17,"hex_longitude":"2d0a76c0","hex_latitude":"0705e610","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203438336001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39184395390681088,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754141861516705792,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793763439000,"timestamp_ms":1793763439000,"timestamp_seconds":1793763439,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a1f198"} 
[2026-11-04 09:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229296,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203438336001,"66":14439,"153":206,"94":10240,"24":17,"16":39184395390681088,"45":754141861516705792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203438336001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:08:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39184395390681088,"km_value":39184395390681.086,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":754141861516705792,"description":"Unknown IO ID 45"} 
[2026-11-04 09:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203438336001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":754141861516705792}} 
[2026-11-04 09:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":229296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:08:22] local.INFO: GPS data processed {"connection_id":229296,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:08:22] local.INFO: Acknowledgment sent {"connection_id":229296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:08:23] local.INFO: TCP Data received {"connection_id":230574,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230574,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 09:08:23] local.INFO: Processing buffer {"connection_id":230574,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 09:08:23] local.INFO: IMEI packet received {"connection_id":230574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":230574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:08:24] local.INFO: TCP Data received {"connection_id":230574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a210d8012d2576c006c65f10000c00972f..."} 
[2026-11-04 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a210d8012d2576c006c65f10000c00972f..."} 
[2026-11-04 09:08:24] local.INFO: Processing buffer {"connection_id":230574,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a4..."} 
[2026-11-04 09:08:24] local.INFO: IMEI packet received {"connection_id":230574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":230574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:08:24] local.INFO: TCP Data received {"connection_id":230574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a22848012d2587c006c64078000c009731..."} 
[2026-11-04 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a22848012d2587c006c64078000c009731..."} 
[2026-11-04 09:08:24] local.INFO: Processing buffer {"connection_id":230574,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a4a210d8012d2576c006c65f10000c00972f..."} 
[2026-11-04 09:08:24] local.INFO: Packet analysis {"connection_id":230574,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:24] local.INFO: Extracted packet for processing {"connection_id":230574,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":757429952,"raw_latitude":113663760,"longitude_deg":75.7429952,"latitude_deg":11.366376,"altitude":12,"angle":151,"satellites":47,"speed":59,"hex_longitude":"2d2576c0","hex_latitude":"06c65f10","is_valid_coordinates":true} 
[2026-11-04 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203440896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38697006796898304,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2694841456127744000,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793763447000,"timestamp_ms":1793763447000,"timestamp_seconds":1793763447,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a210d8"} 
[2026-11-04 09:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 09:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203440896001,"66":27745,"85":206,"81":20992,"24":59,"16":38697006796898304,"45":2694841456127744000},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203440896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38697006796898304,"km_value":38697006796898.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2694841456127744000,"description":"Unknown IO ID 45"} 
[2026-11-04 09:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203440896001,"power":27745,"unknown_85":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2694841456127744000}} 
[2026-11-04 09:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":230574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:08:24] local.INFO: GPS data processed {"connection_id":230574,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:08:24] local.INFO: Acknowledgment sent {"connection_id":230574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:08:24] local.INFO: Packet analysis {"connection_id":230574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:24] local.INFO: Extracted packet for processing {"connection_id":230574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":757434304,"raw_latitude":113655928,"longitude_deg":75.7434304,"latitude_deg":11.3655928,"altitude":12,"angle":151,"satellites":49,"speed":59,"hex_longitude":"2d2587c0","hex_latitude":"06c64078","is_valid_coordinates":true} 
[2026-11-04 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203442432001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38697440588595200,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2699556161985646592,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793763453000,"timestamp_ms":1793763453000,"timestamp_seconds":1793763453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a22848"} 
[2026-11-04 09:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 09:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203442432001,"66":27626,"85":206,"81":20992,"24":59,"16":38697440588595200,"45":2699556161985646592},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-11-04 09:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203442432001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38697440588595200,"km_value":38697440588595.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2699556161985646592,"description":"Unknown IO ID 45"} 
[2026-11-04 09:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203442432001,"power":27626,"unknown_85":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2699556161985646592}} 
[2026-11-04 09:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":230574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:08:24] local.INFO: GPS data processed {"connection_id":230574,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:08:24] local.INFO: Acknowledgment sent {"connection_id":230574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:08:27] local.INFO: TCP Data received {"connection_id":230574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a23fb8012d25990006c62210000b00952e..."} 
[2026-11-04 09:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a23fb8012d25990006c62210000b00952e..."} 
[2026-11-04 09:08:27] local.INFO: Processing buffer {"connection_id":230574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a23fb8012d25990006c62210000b00952e..."} 
[2026-11-04 09:08:27] local.INFO: Packet analysis {"connection_id":230574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:27] local.INFO: Extracted packet for processing {"connection_id":230574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:27] local.INFO: GPS Element Parsed {"raw_longitude":757438720,"raw_latitude":113648144,"longitude_deg":75.743872,"latitude_deg":11.3648144,"altitude":11,"angle":149,"satellites":46,"speed":59,"hex_longitude":"2d259900","hex_latitude":"06c62210","is_valid_coordinates":true} 
[2026-11-04 09:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203443968001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38697870085324800,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2704341236587722752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793763459000,"timestamp_ms":1793763459000,"timestamp_seconds":1793763459,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a23fb8"} 
[2026-11-04 09:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 09:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203443968001,"66":27713,"85":206,"81":20992,"24":59,"16":38697870085324800,"45":2704341236587722752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-11-04 09:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203443968001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-04 09:08:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38697870085324800,"km_value":38697870085324.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2704341236587722752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203443968001,"power":27713,"unknown_85":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2704341236587722752}} 
[2026-11-04 09:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":230574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:08:27] local.INFO: GPS data processed {"connection_id":230574,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:08:27] local.INFO: Acknowledgment sent {"connection_id":230574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:08:43] local.INFO: TCP Data received {"connection_id":228800,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228800,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:08:43] local.INFO: Processing buffer {"connection_id":228800,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:08:43] local.INFO: IMEI packet received {"connection_id":228800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":228800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:08:58] local.INFO: TCP Data received {"connection_id":228800,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228800,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:08:58] local.INFO: Processing buffer {"connection_id":228800,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:08:58] local.INFO: IMEI packet received {"connection_id":228800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":228800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:08:59] local.INFO: TCP Data received {"connection_id":228800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a2f750012d0a52c007057b48000f00fc27..."} 
[2026-11-04 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a2f750012d0a52c007057b48000f00fc27..."} 
[2026-11-04 09:08:59] local.INFO: Processing buffer {"connection_id":228800,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a1a4..."} 
[2026-11-04 09:08:59] local.INFO: IMEI packet received {"connection_id":228800,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":228800,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:08:59] local.INFO: TCP Data received {"connection_id":228800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a2fb38012d0a518007057b18000e010b26..."} 
[2026-11-04 09:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a2fb38012d0a518007057b18000e010b26..."} 
[2026-11-04 09:08:59] local.INFO: Processing buffer {"connection_id":228800,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a4a2f750012d0a52c007057b48000f00fc27..."} 
[2026-11-04 09:08:59] local.INFO: Packet analysis {"connection_id":228800,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:59] local.INFO: Extracted packet for processing {"connection_id":228800,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:08:59] local.INFO: GPS Element Parsed {"raw_longitude":755651264,"raw_latitude":117799752,"longitude_deg":75.5651264,"latitude_deg":11.7799752,"altitude":15,"angle":252,"satellites":39,"speed":15,"hex_longitude":"2d0a52c0","hex_latitude":"07057b48","is_valid_coordinates":true} 
[2026-11-04 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203454976001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39186036068188160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749638261882130432,"note":"Value kept but may cause issues"} 
[2026-11-04 09:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793763506000,"timestamp_ms":1793763506000,"timestamp_seconds":1793763506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a2f750"} 
[2026-11-04 09:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:08: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-11-04 09:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:08: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-11-04 09:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":228800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":228800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":228800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203454976001,"66":14309,"153":206,"94":10240,"24":15,"16":39186036068188160,"45":749638261882130432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203454976001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:08:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:08:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39186036068188160,"km_value":39186036068188.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":749638261882130432,"description":"Unknown IO ID 45"} 
[2026-11-04 09:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203454976001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":749638261882130432}} 
[2026-11-04 09:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":228800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58401,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:09:00] local.INFO: GPS data processed {"connection_id":228800,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:09:00] local.INFO: Acknowledgment sent {"connection_id":228800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:09:00] local.INFO: Packet analysis {"connection_id":228800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:00] local.INFO: Extracted packet for processing {"connection_id":228800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":755650944,"raw_latitude":117799704,"longitude_deg":75.5650944,"latitude_deg":11.7799704,"altitude":14,"angle":267,"satellites":38,"speed":14,"hex_longitude":"2d0a5180","hex_latitude":"07057b18","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203457536001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39186053248057344,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743868024858822656,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793763507000,"timestamp_ms":1793763507000,"timestamp_seconds":1793763507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a2fb38"} 
[2026-11-04 09:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 09:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":228800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":228800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":228800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203457536001,"66":14309,"153":206,"94":10240,"24":14,"16":39186053248057344,"45":743868024858822656},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203457536001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39186053248057344,"km_value":39186053248057.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":743868024858822656,"description":"Unknown IO ID 45"} 
[2026-11-04 09:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203457536001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":743868024858822656}} 
[2026-11-04 09:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":228800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58402,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:09:00] local.INFO: GPS data processed {"connection_id":228800,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:09:00] local.INFO: Acknowledgment sent {"connection_id":228800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:09:00] local.INFO: TCP Data received {"connection_id":228800,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a2ff20012d0a504007057b38000e012226..."} 
[2026-11-04 09:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a2ff20012d0a504007057b38000e012226..."} 
[2026-11-04 09:09:00] local.INFO: Processing buffer {"connection_id":228800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a2ff20012d0a504007057b38000e012226..."} 
[2026-11-04 09:09:00] local.INFO: Packet analysis {"connection_id":228800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:00] local.INFO: Extracted packet for processing {"connection_id":228800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":755650624,"raw_latitude":117799736,"longitude_deg":75.5650624,"latitude_deg":11.7799736,"altitude":14,"angle":290,"satellites":38,"speed":10,"hex_longitude":"2d0a5040","hex_latitude":"07057b38","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203457792001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39186066132959232,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743516181137922048,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793763508000,"timestamp_ms":1793763508000,"timestamp_seconds":1793763508,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a2ff20"} 
[2026-11-04 09:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 09:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":228800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":228800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":228800,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203457792001,"66":14450,"153":206,"94":10240,"24":10,"16":39186066132959232,"45":743516181137922048},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203457792001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39186066132959232,"km_value":39186066132959.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":743516181137922048,"description":"Unknown IO ID 45"} 
[2026-11-04 09:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203457792001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":743516181137922048}} 
[2026-11-04 09:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":228800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:09:00] local.INFO: GPS data processed {"connection_id":228800,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:09:00] local.INFO: Acknowledgment sent {"connection_id":228800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:09:07] local.INFO: TCP Data received {"connection_id":228801,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:07] local.INFO: Processing buffer {"connection_id":228801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:07] local.INFO: IMEI packet received {"connection_id":228801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":228801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:09:08] local.INFO: TCP Data received {"connection_id":228801,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:08] local.INFO: Processing buffer {"connection_id":228801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:08] local.INFO: IMEI packet received {"connection_id":228801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":228801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:09:12] local.INFO: TCP Data received {"connection_id":228801,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:12] local.INFO: Processing buffer {"connection_id":228801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:09:12] local.INFO: IMEI packet received {"connection_id":228801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":228801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:09:13] local.INFO: TCP Data received {"connection_id":228801,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a25b10012d25ae4006c5ff80000d009430..."} 
[2026-11-04 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a25b10012d25ae4006c5ff80000d009430..."} 
[2026-11-04 09:09:13] local.INFO: Processing buffer {"connection_id":228801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a25b10012d25ae4006c5ff80000d009430..."} 
[2026-11-04 09:09:13] local.INFO: Packet analysis {"connection_id":228801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:13] local.INFO: Extracted packet for processing {"connection_id":228801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:13] local.INFO: GPS Element Parsed {"raw_longitude":757444160,"raw_latitude":113639296,"longitude_deg":75.744416,"latitude_deg":11.3639296,"altitude":13,"angle":148,"satellites":48,"speed":58,"hex_longitude":"2d25ae40","hex_latitude":"06c5ff80","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203445504001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38698372596498432,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2709196679933988864,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793763466000,"timestamp_ms":1793763466000,"timestamp_seconds":1793763466,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a25b10"} 
[2026-11-04 09:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 09:09:13] 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-11-04 09: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-11-04 09:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203445504001,"66":27691,"85":206,"81":20992,"24":58,"16":38698372596498432,"45":2709196679933988864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-11-04 09:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203445504001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-04 09:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38698372596498432,"km_value":38698372596498.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2709196679933988864,"description":"Unknown IO ID 45"} 
[2026-11-04 09:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203445504001,"power":27691,"unknown_85":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2709196679933988864}} 
[2026-11-04 09:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":228801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:09:13] local.INFO: GPS data processed {"connection_id":228801,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:09:13] local.INFO: Acknowledgment sent {"connection_id":228801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:09:42] local.INFO: TCP Data received {"connection_id":232423,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:42] local.INFO: Processing buffer {"connection_id":232423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:42] local.INFO: IMEI packet received {"connection_id":232423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":232423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:09:43] local.INFO: TCP Data received {"connection_id":232423,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:43] local.INFO: Processing buffer {"connection_id":232423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:43] local.INFO: IMEI packet received {"connection_id":232423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":232423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:09:44] local.INFO: TCP Data received {"connection_id":228801,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a27280012d25c10006c5e230000d009130..."} 
[2026-11-04 09:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a27280012d25c10006c5e230000d009130..."} 
[2026-11-04 09:09:44] local.INFO: Processing buffer {"connection_id":228801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a27280012d25c10006c5e230000d009130..."} 
[2026-11-04 09:09:44] local.INFO: Packet analysis {"connection_id":228801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:44] local.INFO: Extracted packet for processing {"connection_id":228801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a2"} 
[2026-11-04 09:09:44] local.INFO: GPS Element Parsed {"raw_longitude":757448960,"raw_latitude":113631792,"longitude_deg":75.744896,"latitude_deg":11.3631792,"altitude":13,"angle":145,"satellites":48,"speed":59,"hex_longitude":"2d25c100","hex_latitude":"06c5e230","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203447296001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38698802093228032,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2715178023186825216,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793763472000,"timestamp_ms":1793763472000,"timestamp_seconds":1793763472,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a27280"} 
[2026-11-04 09:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 09:09:44] 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-11-04 09: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-11-04 09:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203447296001,"66":27713,"85":206,"81":20992,"24":59,"16":38698802093228032,"45":2715178023186825216},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-11-04 09:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203447296001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-04 09:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38698802093228032,"km_value":38698802093228.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2715178023186825216,"description":"Unknown IO ID 45"} 
[2026-11-04 09:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203447296001,"power":27713,"unknown_85":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2715178023186825216}} 
[2026-11-04 09:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":228801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:09:44] local.INFO: GPS data processed {"connection_id":228801,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:09:44] local.INFO: Acknowledgment sent {"connection_id":228801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:09:48] local.INFO: TCP Data received {"connection_id":232423,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:48] local.INFO: Processing buffer {"connection_id":232423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:09:48] local.INFO: IMEI packet received {"connection_id":232423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":232423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:09:49] local.INFO: TCP Data received {"connection_id":232423,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a30308012d0a4f8007057ba8000e013427..."} 
[2026-11-04 09:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a30308012d0a4f8007057ba8000e013427..."} 
[2026-11-04 09:09:49] local.INFO: Processing buffer {"connection_id":232423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a30308012d0a4f8007057ba8000e013427..."} 
[2026-11-04 09:09:49] local.INFO: Packet analysis {"connection_id":232423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a3"} 
[2026-11-04 09:09:49] local.INFO: Extracted packet for processing {"connection_id":232423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a3"} 
[2026-11-04 09:09:49] local.INFO: GPS Element Parsed {"raw_longitude":755650432,"raw_latitude":117799848,"longitude_deg":75.5650432,"latitude_deg":11.7799848,"altitude":14,"angle":308,"satellites":39,"speed":6,"hex_longitude":"2d0a4f80","hex_latitude":"07057ba8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203458048001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39186079017861120,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743164337417041920,"note":"Value kept but may cause issues"} 
[2026-11-04 09:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793763509000,"timestamp_ms":1793763509000,"timestamp_seconds":1793763509,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a30308"} 
[2026-11-04 09:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203458048001,"66":14450,"153":206,"94":10240,"24":6,"16":39186079017861120,"45":743164337417041920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203458048001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:09:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:09:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39186079017861120,"km_value":39186079017861.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":743164337417041920,"description":"Unknown IO ID 45"} 
[2026-11-04 09:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203458048001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":743164337417041920}} 
[2026-11-04 09:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":232423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58406,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:09:49] local.INFO: GPS data processed {"connection_id":232423,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:09:49] local.INFO: Acknowledgment sent {"connection_id":232423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:10:20] local.INFO: TCP Data received {"connection_id":232423,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a33da0012d0a4ec007057d000010015227..."} 
[2026-11-04 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a33da0012d0a4ec007057d000010015227..."} 
[2026-11-04 09:10:20] local.INFO: Processing buffer {"connection_id":232423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a33da0012d0a4ec007057d000010015227..."} 
[2026-11-04 09:10:20] local.INFO: Packet analysis {"connection_id":232423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a3"} 
[2026-11-04 09:10:20] local.INFO: Extracted packet for processing {"connection_id":232423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a3"} 
[2026-11-04 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":755650240,"raw_latitude":117800192,"longitude_deg":75.565024,"latitude_deg":11.7800192,"altitude":16,"angle":338,"satellites":39,"speed":10,"hex_longitude":"2d0a4ec0","hex_latitude":"07057d00","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203458304001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39186100492697600,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742953231184537600,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793763524000,"timestamp_ms":1793763524000,"timestamp_seconds":1793763524,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a33da0"} 
[2026-11-04 09:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:10:20] 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-11-04 09: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-11-04 09:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203458304001,"66":14309,"153":206,"94":10240,"24":10,"16":39186100492697600,"45":742953231184537600},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 09:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203458304001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:10:20] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 09:10:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39186100492697600,"km_value":39186100492697.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":742953231184537600,"description":"Unknown IO ID 45"} 
[2026-11-04 09:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203458304001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":742953231184537600}} 
[2026-11-04 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":232423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:10:20] local.INFO: GPS data processed {"connection_id":232423,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:10:20] local.INFO: Acknowledgment sent {"connection_id":232423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:10:22] local.INFO: TCP Data received {"connection_id":230575,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:22] local.INFO: Processing buffer {"connection_id":230575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:22] local.INFO: IMEI packet received {"connection_id":230575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":230575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:10:23] local.INFO: TCP Data received {"connection_id":230575,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:23] local.INFO: Processing buffer {"connection_id":230575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:23] local.INFO: IMEI packet received {"connection_id":230575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":230575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:10:27] local.INFO: TCP Data received {"connection_id":230575,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:27] local.INFO: Processing buffer {"connection_id":230575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:10:27] local.INFO: IMEI packet received {"connection_id":230575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":230575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:10:28] local.INFO: TCP Data received {"connection_id":230575,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a39b60012d26c8c006c4aa78000a009032..."} 
[2026-11-04 09:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a39b60012d26c8c006c4aa78000a009032..."} 
[2026-11-04 09:10:28] local.INFO: Processing buffer {"connection_id":230575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a39b60012d26c8c006c4aa78000a009032..."} 
[2026-11-04 09:10:28] local.INFO: Packet analysis {"connection_id":230575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a3"} 
[2026-11-04 09:10:28] local.INFO: Extracted packet for processing {"connection_id":230575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a3"} 
[2026-11-04 09:10:28] local.INFO: GPS Element Parsed {"raw_longitude":757516480,"raw_latitude":113551992,"longitude_deg":75.751648,"latitude_deg":11.3551992,"altitude":10,"angle":144,"satellites":50,"speed":59,"hex_longitude":"2d26c8c0","hex_latitude":"06c4aa78","is_valid_coordinates":true} 
[2026-11-04 09:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203466752001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38703835794898944,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2788572623343589376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793763548000,"timestamp_ms":1793763548000,"timestamp_seconds":1793763548,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a39b60"} 
[2026-11-04 09:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 09:10: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-11-04 09:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203466752001,"66":27517,"231":206,"81":20992,"24":59,"16":38703835794898944,"45":2788572623343589376},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,81,24,16,45]} 
[2026-11-04 09:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203466752001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:10:28] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-11-04 09:10:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38703835794898944,"km_value":38703835794898.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2788572623343589376,"description":"Unknown IO ID 45"} 
[2026-11-04 09:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203466752001,"power":27517,"unknown_231":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2788572623343589376}} 
[2026-11-04 09:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":230575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:10:28] local.INFO: GPS data processed {"connection_id":230575,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:10:28] local.INFO: Acknowledgment sent {"connection_id":230575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:10:43] local.INFO: TCP Data received {"connection_id":230576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:43] local.INFO: Processing buffer {"connection_id":230576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:43] local.INFO: IMEI packet received {"connection_id":230576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":230576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:10:44] local.INFO: TCP Data received {"connection_id":230576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:44] local.INFO: Processing buffer {"connection_id":230576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:44] local.INFO: IMEI packet received {"connection_id":230576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":230576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:10:48] local.INFO: TCP Data received {"connection_id":230576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:48] local.INFO: Processing buffer {"connection_id":230576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:10:48] local.INFO: IMEI packet received {"connection_id":230576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":230576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:10:48] local.INFO: TCP Data received {"connection_id":230576,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a4b4a0012d09ea0007057a00000c00b127..."} 
[2026-11-04 09:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a4b4a0012d09ea0007057a00000c00b127..."} 
[2026-11-04 09:10:48] local.INFO: Processing buffer {"connection_id":230576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a4b4a0012d09ea0007057a00000c00b127..."} 
[2026-11-04 09:10:48] local.INFO: Packet analysis {"connection_id":230576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:10:48] local.INFO: Extracted packet for processing {"connection_id":230576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:10:48] local.INFO: GPS Element Parsed {"raw_longitude":755624448,"raw_latitude":117799424,"longitude_deg":75.5624448,"latitude_deg":11.7799424,"altitude":12,"angle":177,"satellites":39,"speed":15,"hex_longitude":"2d09ea00","hex_latitude":"07057a00","is_valid_coordinates":true} 
[2026-11-04 09:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203486464001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39187474882232320,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714313152304236544,"note":"Value kept but may cause issues"} 
[2026-11-04 09:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793763620000,"timestamp_ms":1793763620000,"timestamp_seconds":1793763620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a4b4a0"} 
[2026-11-04 09:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203486464001,"66":14374,"177":206,"94":10240,"24":15,"16":39187474882232320,"45":714313152304236544},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203486464001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:10:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:10:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39187474882232320,"km_value":39187474882232.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":714313152304236544,"description":"Unknown IO ID 45"} 
[2026-11-04 09:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203486464001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":714313152304236544}} 
[2026-11-04 09:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":230576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:10:49] local.INFO: GPS data processed {"connection_id":230576,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:10:49] local.INFO: Acknowledgment sent {"connection_id":230576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:11:07] local.INFO: TCP Data received {"connection_id":228802,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:07] local.INFO: Processing buffer {"connection_id":228802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:07] local.INFO: IMEI packet received {"connection_id":228802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":228802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:11:07] local.INFO: TCP Data received {"connection_id":228802,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:07] local.INFO: Processing buffer {"connection_id":228802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:07] local.INFO: IMEI packet received {"connection_id":228802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":228802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:11:12] local.INFO: TCP Data received {"connection_id":228802,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:12] local.INFO: Processing buffer {"connection_id":228802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:11:12] local.INFO: IMEI packet received {"connection_id":228802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":228802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:11:13] local.INFO: TCP Data received {"connection_id":228802,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a4a8e8012d27768006c341200010009b30..."} 
[2026-11-04 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a4a8e8012d27768006c341200010009b30..."} 
[2026-11-04 09:11:13] local.INFO: Processing buffer {"connection_id":228802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a4a8e8012d27768006c341200010009b30..."} 
[2026-11-04 09:11:13] local.INFO: Packet analysis {"connection_id":228802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:11:13] local.INFO: Extracted packet for processing {"connection_id":228802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:11:13] local.INFO: GPS Element Parsed {"raw_longitude":757560960,"raw_latitude":113459488,"longitude_deg":75.756096,"latitude_deg":11.3459488,"altitude":16,"angle":155,"satellites":48,"speed":59,"hex_longitude":"2d277680","hex_latitude":"06c34120","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203484416001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38708796482125824,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2839378856616468480,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793763617000,"timestamp_ms":1793763617000,"timestamp_seconds":1793763617,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a4a8e8"} 
[2026-11-04 09:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":65,"data_length":795,"current_offset":136} 
[2026-11-04 09:11:13] 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-11-04 09: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-11-04 09:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203484416001,"66":27626,"181":206,"81":20992,"24":59,"16":38708796482125824,"45":2839378856616468480},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-11-04 09:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203484416001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:11:13] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 09:11:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38708796482125824,"km_value":38708796482125.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2839378856616468480,"description":"Unknown IO ID 45"} 
[2026-11-04 09:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203484416001,"power":27626,"unknown_181":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2839378856616468480}} 
[2026-11-04 09:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":228802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:11:13] local.INFO: GPS data processed {"connection_id":228802,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:11:13] local.INFO: Acknowledgment sent {"connection_id":228802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:11:22] local.INFO: TCP Data received {"connection_id":230576,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a54910012d09bf80070569e8000a006127..."} 
[2026-11-04 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a54910012d09bf80070569e8000a006127..."} 
[2026-11-04 09:11:22] local.INFO: Processing buffer {"connection_id":230576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a54910012d09bf80070569e8000a006127..."} 
[2026-11-04 09:11:22] local.INFO: Packet analysis {"connection_id":230576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:11:22] local.INFO: Extracted packet for processing {"connection_id":230576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":755613568,"raw_latitude":117795304,"longitude_deg":75.5613568,"latitude_deg":11.7795304,"altitude":10,"angle":97,"satellites":39,"speed":9,"hex_longitude":"2d09bf80","hex_latitude":"070569e8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203496192001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39188295220985856,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702139359560353792,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793763658000,"timestamp_ms":1793763658000,"timestamp_seconds":1793763658,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a54910"} 
[2026-11-04 09:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203496192001,"66":14407,"177":206,"94":10240,"24":9,"16":39188295220985856,"45":702139359560353792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203496192001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:11:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:11:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39188295220985856,"km_value":39188295220985.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":702139359560353792,"description":"Unknown IO ID 45"} 
[2026-11-04 09:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203496192001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":702139359560353792}} 
[2026-11-04 09:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":230576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58411,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:11:22] local.INFO: GPS data processed {"connection_id":230576,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:11:22] local.INFO: Acknowledgment sent {"connection_id":230576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:11:43] local.INFO: TCP Data received {"connection_id":229300,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:11:43] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:11:43] local.INFO: IMEI packet received {"connection_id":229300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":229300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:11:44] local.INFO: TCP Data received {"connection_id":228802,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a4c058012d27850006c32170000f009a31..."} 
[2026-11-04 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a4c058012d27850006c32170000f009a31..."} 
[2026-11-04 09:11:44] local.INFO: Processing buffer {"connection_id":228802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a4c058012d27850006c32170000f009a31..."} 
[2026-11-04 09:11:44] local.INFO: Packet analysis {"connection_id":228802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:11:44] local.INFO: Extracted packet for processing {"connection_id":228802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":757564672,"raw_latitude":113451376,"longitude_deg":75.7564672,"latitude_deg":11.3451376,"altitude":15,"angle":154,"satellites":49,"speed":59,"hex_longitude":"2d278500","hex_latitude":"06c32170","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203485952001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38709225978855424,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2843600981265031168,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793763623000,"timestamp_ms":1793763623000,"timestamp_seconds":1793763623,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a4c058"} 
[2026-11-04 09:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 09:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203485952001,"66":27691,"181":206,"81":20992,"24":59,"16":38709225978855424,"45":2843600981265031168},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-11-04 09:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203485952001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:11:44] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 09:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38709225978855424,"km_value":38709225978855.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2843600981265031168,"description":"Unknown IO ID 45"} 
[2026-11-04 09:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203485952001,"power":27691,"unknown_181":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2843600981265031168}} 
[2026-11-04 09:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":228802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:11:44] local.INFO: GPS data processed {"connection_id":228802,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:11:44] local.INFO: Acknowledgment sent {"connection_id":228802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:11:49] local.INFO: TCP Data received {"connection_id":229300,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:11:49] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:11:49] local.INFO: IMEI packet received {"connection_id":229300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":229300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:11:49] local.INFO: TCP Data received {"connection_id":229300,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a554c8012d09c34007056928000a006e27..."} 
[2026-11-04 09:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a554c8012d09c34007056928000a006e27..."} 
[2026-11-04 09:11:49] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a554c8012d09c34007056928000a006e27..."} 
[2026-11-04 09:11:49] local.INFO: Packet analysis {"connection_id":229300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:11:49] local.INFO: Extracted packet for processing {"connection_id":229300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:11:49] local.INFO: GPS Element Parsed {"raw_longitude":755614528,"raw_latitude":117795112,"longitude_deg":75.5614528,"latitude_deg":11.7795112,"altitude":10,"angle":110,"satellites":39,"speed":14,"hex_longitude":"2d09c340","hex_latitude":"07056928","is_valid_coordinates":true} 
[2026-11-04 09:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203496448001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39188346760593408,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702420834537039872,"note":"Value kept but may cause issues"} 
[2026-11-04 09:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793763661000,"timestamp_ms":1793763661000,"timestamp_seconds":1793763661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a554c8"} 
[2026-11-04 09:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 09:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203496448001,"66":14396,"177":206,"94":10240,"24":14,"16":39188346760593408,"45":702420834537039872},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203496448001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:11:49] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:11:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39188346760593408,"km_value":39188346760593.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":702420834537039872,"description":"Unknown IO ID 45"} 
[2026-11-04 09:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203496448001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":702420834537039872}} 
[2026-11-04 09:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":229300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:11:50] local.INFO: GPS data processed {"connection_id":229300,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:11:50] local.INFO: Acknowledgment sent {"connection_id":229300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:12:12] local.INFO: TCP Data received {"connection_id":232425,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:12:12] local.INFO: Processing buffer {"connection_id":232425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:12:12] local.INFO: IMEI packet received {"connection_id":232425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":232425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:12:15] local.INFO: TCP Data received {"connection_id":232425,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:12:15] local.INFO: Processing buffer {"connection_id":232425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:12:15] local.INFO: IMEI packet received {"connection_id":232425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":232425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:12:16] local.INFO: TCP Data received {"connection_id":232425,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a4d7c8012d27940006c301d8000e009b31..."} 
[2026-11-04 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a4d7c8012d27940006c301d8000e009b31..."} 
[2026-11-04 09:12:16] local.INFO: Processing buffer {"connection_id":232425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a4d7c8012d27940006c301d8000e009b31..."} 
[2026-11-04 09:12:16] local.INFO: Packet analysis {"connection_id":232425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:12:16] local.INFO: Extracted packet for processing {"connection_id":232425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":757568512,"raw_latitude":113443288,"longitude_deg":75.7568512,"latitude_deg":11.3443288,"altitude":14,"angle":155,"satellites":49,"speed":58,"hex_longitude":"2d279400","hex_latitude":"06c301d8","is_valid_coordinates":true} 
[2026-11-04 09:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203487488001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38709659770552320,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2847682368425259008,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793763629000,"timestamp_ms":1793763629000,"timestamp_seconds":1793763629,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a4d7c8"} 
[2026-11-04 09:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 09:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203487488001,"66":27647,"181":206,"81":20992,"24":58,"16":38709659770552320,"45":2847682368425259008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,81,24,16,45]} 
[2026-11-04 09:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203487488001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:12:16] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 09:12:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38709659770552320,"km_value":38709659770552.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2847682368425259008,"description":"Unknown IO ID 45"} 
[2026-11-04 09:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203487488001,"power":27647,"unknown_181":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":2847682368425259008}} 
[2026-11-04 09:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":232425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:12:16] local.INFO: GPS data processed {"connection_id":232425,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:12:16] local.INFO: Acknowledgment sent {"connection_id":232425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:12:21] local.INFO: TCP Data received {"connection_id":229300,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a58790012d09c400070568e0000a012525..."} 
[2026-11-04 09:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a58790012d09c400070568e0000a012525..."} 
[2026-11-04 09:12:21] local.INFO: Processing buffer {"connection_id":229300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a58790012d09c400070568e0000a012525..."} 
[2026-11-04 09:12:21] local.INFO: Packet analysis {"connection_id":229300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:21] local.INFO: Extracted packet for processing {"connection_id":229300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":755614720,"raw_latitude":117795040,"longitude_deg":75.561472,"latitude_deg":11.779504,"altitude":10,"angle":293,"satellites":37,"speed":2,"hex_longitude":"2d09c400","hex_latitude":"070568e0","is_valid_coordinates":true} 
[2026-11-04 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203497216001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39188376825364480,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703476365699655680,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793763674000,"timestamp_ms":1793763674000,"timestamp_seconds":1793763674,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a58790"} 
[2026-11-04 09:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:12:21] 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-11-04 09:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229300,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203497216001,"66":14439,"177":206,"94":10240,"24":2,"16":39188376825364480,"45":703476365699655680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203497216001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:12:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:12:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39188376825364480,"km_value":39188376825364.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":703476365699655680,"description":"Unknown IO ID 45"} 
[2026-11-04 09:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203497216001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":703476365699655680}} 
[2026-11-04 09:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":229300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:12:21] local.INFO: GPS data processed {"connection_id":229300,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:12:21] local.INFO: Acknowledgment sent {"connection_id":229300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:12:47] local.INFO: TCP Data received {"connection_id":232425,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a61c00012d285fc006c1b5080014008832..."} 
[2026-11-04 09:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a61c00012d285fc006c1b5080014008832..."} 
[2026-11-04 09:12:47] local.INFO: Processing buffer {"connection_id":232425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a61c00012d285fc006c1b5080014008832..."} 
[2026-11-04 09:12:47] local.INFO: Packet analysis {"connection_id":232425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:12:47] local.INFO: Extracted packet for processing {"connection_id":232425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:12:47] local.INFO: GPS Element Parsed {"raw_longitude":757620672,"raw_latitude":113358088,"longitude_deg":75.7620672,"latitude_deg":11.3358088,"altitude":20,"angle":136,"satellites":50,"speed":54,"hex_longitude":"2d285fc0","hex_latitude":"06c1b508","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203508480001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38714538853400576,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2902007038908227584,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793763712000,"timestamp_ms":1793763712000,"timestamp_seconds":1793763712,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a61c00"} 
[2026-11-04 09:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 09:12:47] 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-11-04 09: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-11-04 09:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203508480001,"66":27713,"179":206,"81":20992,"24":54,"16":38714538853400576,"45":2902007038908227584},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203508480001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:12:47] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38714538853400576,"km_value":38714538853400.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2902007038908227584,"description":"Unknown IO ID 45"} 
[2026-11-04 09:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203508480001,"power":27713,"unknown_179":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":2902007038908227584}} 
[2026-11-04 09:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":232425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:12:47] local.INFO: GPS data processed {"connection_id":232425,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:12:47] local.INFO: Acknowledgment sent {"connection_id":232425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:12:49] local.INFO: TCP Data received {"connection_id":229301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:49] local.INFO: Processing buffer {"connection_id":229301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:49] local.INFO: IMEI packet received {"connection_id":229301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":229301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:12:49] local.INFO: TCP Data received {"connection_id":229301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:49] local.INFO: Processing buffer {"connection_id":229301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:49] local.INFO: IMEI packet received {"connection_id":229301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":229301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:12:49] local.INFO: TCP Data received {"connection_id":230577,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:12:49] local.INFO: Processing buffer {"connection_id":230577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:12:49] local.INFO: IMEI packet received {"connection_id":230577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":230577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:12:51] local.INFO: TCP Data received {"connection_id":230577,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a4df98012d0d7d0006e9eed80012013a29..."} 
[2026-11-04 09:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a4df98012d0d7d0006e9eed80012013a29..."} 
[2026-11-04 09:12:51] local.INFO: Processing buffer {"connection_id":230577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a4df98012d0d7d0006e9eed80012013a29..."} 
[2026-11-04 09:12:51] local.INFO: Packet analysis {"connection_id":230577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:12:51] local.INFO: Extracted packet for processing {"connection_id":230577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a4"} 
[2026-11-04 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":755858688,"raw_latitude":115994328,"longitude_deg":75.5858688,"latitude_deg":11.5994328,"altitude":18,"angle":314,"satellites":41,"speed":20,"hex_longitude":"2d0d7d00","hex_latitude":"06e9eed8","is_valid_coordinates":true} 
[2026-11-04 09:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348717529825280,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,41,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793763631000,"timestamp_ms":1793763631000,"timestamp_seconds":1793763631,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a4df98"} 
[2026-11-04 09:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 09:12: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-11-04 09:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"41":206,"2":56576,"24":20,"16":20348717529825280},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16]} 
[2026-11-04 09:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 09:12:51] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348717529825280,"km_value":20348717529825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:12:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_41":206,"power_alt":56576,"ignition":20,"odometer":null}} 
[2026-11-04 09:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":230577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:12:51] local.INFO: GPS data processed {"connection_id":230577,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:12:51] local.INFO: Acknowledgment sent {"connection_id":230577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:12:54] local.INFO: TCP Data received {"connection_id":229301,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229301,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:54] local.INFO: Processing buffer {"connection_id":229301,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:12:54] local.INFO: IMEI packet received {"connection_id":229301,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":229301,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:12:55] local.INFO: TCP Data received {"connection_id":229301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a59b18012d09c30007056950000a011927..."} 
[2026-11-04 09:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a59b18012d09c30007056950000a011927..."} 
[2026-11-04 09:12:55] local.INFO: Processing buffer {"connection_id":229301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a59b18012d09c30007056950000a011927..."} 
[2026-11-04 09:12:55] local.INFO: Packet analysis {"connection_id":229301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:55] local.INFO: Extracted packet for processing {"connection_id":229301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":755614464,"raw_latitude":117795152,"longitude_deg":75.5614464,"latitude_deg":11.7795152,"altitude":10,"angle":281,"satellites":39,"speed":1,"hex_longitude":"2d09c300","hex_latitude":"07056950","is_valid_coordinates":true} 
[2026-11-04 09:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203500544001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39188394005233664,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703687471932170240,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793763679000,"timestamp_ms":1793763679000,"timestamp_seconds":1793763679,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a59b18"} 
[2026-11-04 09:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203500544001,"66":14439,"177":206,"94":10240,"24":1,"16":39188394005233664,"45":703687471932170240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203500544001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:12:55] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:12:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39188394005233664,"km_value":39188394005233.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":703687471932170240,"description":"Unknown IO ID 45"} 
[2026-11-04 09:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203500544001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":703687471932170240}} 
[2026-11-04 09:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":229301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:12:55] local.INFO: GPS data processed {"connection_id":229301,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:12:55] local.INFO: Acknowledgment sent {"connection_id":229301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:12:56] local.INFO: TCP Data received {"connection_id":229301,"ip":"42.109.136.4","data_length":1340,"data_hex":"000000000000030f8e0a000001a1a4a5aea0012d09c3c0070568d8000a008a27..."} 
[2026-11-04 09:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229301,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a1a4a5aea0012d09c3c0070568d8000a008a27..."} 
[2026-11-04 09:12:56] local.INFO: Processing buffer {"connection_id":229301,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a1a4a5aea0012d09c3c0070568d8000a008a27..."} 
[2026-11-04 09:12:56] local.INFO: Packet analysis {"connection_id":229301,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:56] local.INFO: Extracted packet for processing {"connection_id":229301,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:56] local.INFO: GPS Element Parsed {"raw_longitude":755614656,"raw_latitude":117795032,"longitude_deg":75.5614656,"latitude_deg":11.7795032,"altitude":10,"angle":138,"satellites":39,"speed":3,"hex_longitude":"2d09c3c0","hex_latitude":"070568d8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203501824001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39188402595168256,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703405996955488256,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793763684000,"timestamp_ms":1793763684000,"timestamp_seconds":1793763684,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a5aea0"} 
[2026-11-04 09:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203501824001,"66":14559,"177":206,"94":10240,"24":3,"16":39188402595168256,"45":703405996955488256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203501824001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:12:56] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:12:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39188402595168256,"km_value":39188402595168.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":703405996955488256,"description":"Unknown IO ID 45"} 
[2026-11-04 09:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203501824001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":703405996955488256}} 
[2026-11-04 09:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":229301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:12:56] local.INFO: GPS data processed {"connection_id":229301,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:12:56] local.INFO: Acknowledgment sent {"connection_id":229301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:12:56] local.INFO: Packet analysis {"connection_id":229301,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:56] local.INFO: Incomplete packet, waiting for more data {"connection_id":229301,"needed":795,"available":545} 
[2026-11-04 09:12:57] local.INFO: TCP Data received {"connection_id":229301,"ip":"42.109.136.4","data_length":250,"data_hex":"e30010008b398a00000000000001a1a4a54140012d09be0007056ad8000b0093..."} 
[2026-11-04 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229301,"packet_length":250,"packet_hex":"e30010008b398a00000000000001a1a4a54140012d09be0007056ad8000b0093..."} 
[2026-11-04 09:12:57] local.INFO: Processing buffer {"connection_id":229301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a5c9f8012d09c5c007056698000a009e28..."} 
[2026-11-04 09:12:57] local.INFO: Packet analysis {"connection_id":229301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:57] local.INFO: Extracted packet for processing {"connection_id":229301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:12:57] local.INFO: GPS Element Parsed {"raw_longitude":755615168,"raw_latitude":117794456,"longitude_deg":75.5615168,"latitude_deg":11.7794456,"altitude":10,"angle":158,"satellites":40,"speed":4,"hex_longitude":"2d09c5c0","hex_latitude":"07056698","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203503104001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39188441249873920,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703617103187990528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793763691000,"timestamp_ms":1793763691000,"timestamp_seconds":1793763691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a5c9f8"} 
[2026-11-04 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-11-04 09:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 09:12:57] 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-11-04 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-11-04 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-11-04 09:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203503104001,"66":13678,"177":206,"94":10240,"24":4,"16":39188441249873920,"45":703617103187990528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203503104001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:12:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:12:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39188441249873920,"km_value":39188441249873.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":703617103187990528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203503104001,"power":13678,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":703617103187990528}} 
[2026-11-04 09:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":229301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58420,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:12:57] local.INFO: GPS data processed {"connection_id":229301,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:12:57] local.INFO: Acknowledgment sent {"connection_id":229301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:07] local.INFO: TCP Data received {"connection_id":232426,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:13:07] local.INFO: Processing buffer {"connection_id":232426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:13:07] local.INFO: IMEI packet received {"connection_id":232426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":232426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:13:10] local.INFO: TCP Data received {"connection_id":232427,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:13:10] local.INFO: Processing buffer {"connection_id":232427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:13:10] local.INFO: IMEI packet received {"connection_id":232427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":232427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:13:14] local.INFO: TCP Data received {"connection_id":232427,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:13:14] local.INFO: Processing buffer {"connection_id":232427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:13:14] local.INFO: IMEI packet received {"connection_id":232427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":232427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:13:15] local.INFO: TCP Data received {"connection_id":232427,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a531a0012d0d7d0006e9eed80012013a29..."} 
[2026-11-04 09:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a531a0012d0d7d0006e9eed80012013a29..."} 
[2026-11-04 09:13:15] local.INFO: Processing buffer {"connection_id":232427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a531a0012d0d7d0006e9eed80012013a29..."} 
[2026-11-04 09:13:15] local.INFO: Packet analysis {"connection_id":232427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:13:15] local.INFO: Extracted packet for processing {"connection_id":232427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:13:15] local.INFO: GPS Element Parsed {"raw_longitude":755858688,"raw_latitude":115994328,"longitude_deg":75.5858688,"latitude_deg":11.5994328,"altitude":18,"angle":314,"satellites":41,"speed":0,"hex_longitude":"2d0d7d00","hex_latitude":"06e9eed8","is_valid_coordinates":true} 
[2026-11-04 09:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203489536001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348717529825280,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":971933124276443136,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763652000,"timestamp_ms":1793763652000,"timestamp_seconds":1793763652,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a531a0"} 
[2026-11-04 09:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:13: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-11-04 09:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203489536001,"66":27930,"41":206,"2":56576,"24":0,"16":20348717529825280,"45":971933124276443136},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203489536001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348717529825280,"km_value":20348717529825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":971933124276443136,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203489536001,"power":27930,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":971933124276443136}} 
[2026-11-04 09:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":232427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:15] local.INFO: GPS data processed {"connection_id":232427,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:15] local.INFO: Acknowledgment sent {"connection_id":232427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:16] local.INFO: TCP Data received {"connection_id":232426,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:13:16] local.INFO: Processing buffer {"connection_id":232426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:13:16] local.INFO: IMEI packet received {"connection_id":232426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":232426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:13:18] local.INFO: TCP Data received {"connection_id":232426,"ip":"42.109.136.4","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a4..."} 
[2026-11-04 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232426,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a4..."} 
[2026-11-04 09:13:18] local.INFO: Processing buffer {"connection_id":232426,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a4..."} 
[2026-11-04 09:13:18] local.INFO: IMEI packet received {"connection_id":232426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":232426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:13:19] local.INFO: TCP Data received {"connection_id":232426,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a64ec8012d2893c006c17e180012008831..."} 
[2026-11-04 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a64ec8012d2893c006c17e180012008831..."} 
[2026-11-04 09:13:19] local.INFO: Processing buffer {"connection_id":232426,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a4a63758012d287b0006c198180014008930..."} 
[2026-11-04 09:13:19] local.INFO: Packet analysis {"connection_id":232426,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:19] local.INFO: Extracted packet for processing {"connection_id":232426,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":757627648,"raw_latitude":113350680,"longitude_deg":75.7627648,"latitude_deg":11.335068,"altitude":20,"angle":137,"satellites":48,"speed":60,"hex_longitude":"2d287b00","hex_latitude":"06c19818","is_valid_coordinates":true} 
[2026-11-04 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203510272001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38715024184705024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2909255019556833280,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793763719000,"timestamp_ms":1793763719000,"timestamp_seconds":1793763719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a63758"} 
[2026-11-04 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 09:13:19] 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-11-04 09:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203510272001,"66":27669,"179":206,"81":20992,"24":60,"16":38715024184705024,"45":2909255019556833280},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203510272001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38715024184705024,"km_value":38715024184705.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2909255019556833280,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203510272001,"power":27669,"unknown_179":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":2909255019556833280}} 
[2026-11-04 09:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":232426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:19] local.INFO: GPS data processed {"connection_id":232426,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:19] local.INFO: Acknowledgment sent {"connection_id":232426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:19] local.INFO: Packet analysis {"connection_id":232426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:19] local.INFO: Extracted packet for processing {"connection_id":232426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":757633984,"raw_latitude":113344024,"longitude_deg":75.7633984,"latitude_deg":11.3344024,"altitude":18,"angle":136,"satellites":49,"speed":60,"hex_longitude":"2d2893c0","hex_latitude":"06c17e18","is_valid_coordinates":true} 
[2026-11-04 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203512064001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38715466566336512,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2916925212670302208,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793763725000,"timestamp_ms":1793763725000,"timestamp_seconds":1793763725,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a64ec8"} 
[2026-11-04 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-04 09:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203512064001,"66":27658,"179":206,"81":20992,"24":60,"16":38715466566336512,"45":2916925212670302208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203512064001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38715466566336512,"km_value":38715466566336.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2916925212670302208,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203512064001,"power":27658,"unknown_179":206,"unknown_81":20992,"ignition":60,"odometer":null,"unknown_45":2916925212670302208}} 
[2026-11-04 09:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":232426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:19] local.INFO: GPS data processed {"connection_id":232426,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:19] local.INFO: Acknowledgment sent {"connection_id":232426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:19] local.INFO: TCP Data received {"connection_id":232426,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a66a20012d28b04006c160f00010008730..."} 
[2026-11-04 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a66a20012d28b04006c160f00010008730..."} 
[2026-11-04 09:13:19] local.INFO: Processing buffer {"connection_id":232426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a66a20012d28b04006c160f00010008730..."} 
[2026-11-04 09:13:19] local.INFO: Packet analysis {"connection_id":232426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:19] local.INFO: Extracted packet for processing {"connection_id":232426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":757641280,"raw_latitude":113336560,"longitude_deg":75.764128,"latitude_deg":11.333656,"altitude":16,"angle":135,"satellites":48,"speed":59,"hex_longitude":"2d28b040","hex_latitude":"06c160f0","is_valid_coordinates":true} 
[2026-11-04 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203513600001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38715969077510144,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2923891718342187008,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793763732000,"timestamp_ms":1793763732000,"timestamp_seconds":1793763732,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a66a20"} 
[2026-11-04 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 09:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203513600001,"66":27713,"179":206,"81":20992,"24":59,"16":38715969077510144,"45":2923891718342187008},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203513600001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38715969077510144,"km_value":38715969077510.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2923891718342187008,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203513600001,"power":27713,"unknown_179":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2923891718342187008}} 
[2026-11-04 09:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":232426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:19] local.INFO: GPS data processed {"connection_id":232426,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:19] local.INFO: Acknowledgment sent {"connection_id":232426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:28] local.INFO: TCP Data received {"connection_id":229301,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a75098012d09c8c00704ff28000d008d25..."} 
[2026-11-04 09:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a75098012d09c8c00704ff28000d008d25..."} 
[2026-11-04 09:13:28] local.INFO: Processing buffer {"connection_id":229301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a75098012d09c8c00704ff28000d008d25..."} 
[2026-11-04 09:13:28] local.INFO: Packet analysis {"connection_id":229301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:13:28] local.INFO: Extracted packet for processing {"connection_id":229301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755615936,"raw_latitude":117767976,"longitude_deg":75.5615936,"latitude_deg":11.7767976,"altitude":13,"angle":141,"satellites":37,"speed":14,"hex_longitude":"2d09c8c0","hex_latitude":"0704ff28","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203529472001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39189884358885376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":704531896855646208,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793763791000,"timestamp_ms":1793763791000,"timestamp_seconds":1793763791,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a75098"} 
[2026-11-04 09:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13: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-11-04 09:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 09:13: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-11-04 09: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-11-04 09:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":229301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":229301,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203529472001,"66":14396,"177":206,"94":10240,"24":14,"16":39189884358885376,"45":704531896855646208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203529472001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:13:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39189884358885376,"km_value":39189884358885.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":704531896855646208,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203529472001,"power":14396,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":704531896855646208}} 
[2026-11-04 09:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":229301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:28] local.INFO: GPS data processed {"connection_id":229301,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:28] local.INFO: Acknowledgment sent {"connection_id":229301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:45] local.INFO: TCP Data received {"connection_id":230578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:45] local.INFO: Processing buffer {"connection_id":230578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:45] local.INFO: IMEI packet received {"connection_id":230578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":230578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:13:47] local.INFO: TCP Data received {"connection_id":232427,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a55c98012d0d620006ea0ac8000e000a2b..."} 
[2026-11-04 09:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a55c98012d0d620006ea0ac8000e000a2b..."} 
[2026-11-04 09:13:47] local.INFO: Processing buffer {"connection_id":232427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a55c98012d0d620006ea0ac8000e000a2b..."} 
[2026-11-04 09:13:47] local.INFO: Packet analysis {"connection_id":232427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:13:47] local.INFO: Extracted packet for processing {"connection_id":232427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:13:47] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001480,"longitude_deg":75.5851776,"latitude_deg":11.600148,"altitude":14,"angle":10,"satellites":43,"speed":12,"hex_longitude":"2d0d6200","hex_latitude":"06ea0ac8","is_valid_coordinates":true} 
[2026-11-04 09:13: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-11-04 09:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203494912001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348717529825280,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":971933124276443136,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793763663000,"timestamp_ms":1793763663000,"timestamp_seconds":1793763663,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a55c98"} 
[2026-11-04 09:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:13: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-11-04 09:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203494912001,"66":28495,"41":206,"2":56576,"24":12,"16":20348717529825280,"45":971933124276443136},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203494912001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:47] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348717529825280,"km_value":20348717529825.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":971933124276443136,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203494912001,"power":28495,"unknown_41":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":971933124276443136}} 
[2026-11-04 09:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":232427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:47] local.INFO: GPS data processed {"connection_id":232427,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:47] local.INFO: Acknowledgment sent {"connection_id":232427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:49] local.INFO: TCP Data received {"connection_id":230578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:49] local.INFO: Processing buffer {"connection_id":230578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:49] local.INFO: IMEI packet received {"connection_id":230578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":230578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:13:51] local.INFO: TCP Data received {"connection_id":232426,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a68190012d28c8c006c147d8000f008730..."} 
[2026-11-04 09:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a68190012d28c8c006c147d8000f008730..."} 
[2026-11-04 09:13:51] local.INFO: Processing buffer {"connection_id":232426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a68190012d28c8c006c147d8000f008730..."} 
[2026-11-04 09:13:51] local.INFO: Packet analysis {"connection_id":232426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:51] local.INFO: Extracted packet for processing {"connection_id":232426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:13:51] local.INFO: GPS Element Parsed {"raw_longitude":757647552,"raw_latitude":113330136,"longitude_deg":75.7647552,"latitude_deg":11.3330136,"altitude":15,"angle":135,"satellites":48,"speed":59,"hex_longitude":"2d28c8c0","hex_latitude":"06c147d8","is_valid_coordinates":true} 
[2026-11-04 09:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203515392001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38716398574239744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2931913755176529920,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793763738000,"timestamp_ms":1793763738000,"timestamp_seconds":1793763738,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a68190"} 
[2026-11-04 09:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 09:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203515392001,"66":27767,"179":206,"81":20992,"24":59,"16":38716398574239744,"45":2931913755176529920},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203515392001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:51] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:13:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38716398574239744,"km_value":38716398574239.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":2931913755176529920,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203515392001,"power":27767,"unknown_179":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":2931913755176529920}} 
[2026-11-04 09:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":232426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:51] local.INFO: GPS data processed {"connection_id":232426,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:51] local.INFO: Acknowledgment sent {"connection_id":232426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:52] local.INFO: TCP Data received {"connection_id":230578,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230578,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:52] local.INFO: Processing buffer {"connection_id":230578,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:13:52] local.INFO: IMEI packet received {"connection_id":230578,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":230578,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:13:52] local.INFO: TCP Data received {"connection_id":230578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a76420012d09cb400704fc10000e009f25..."} 
[2026-11-04 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a76420012d09cb400704fc10000e009f25..."} 
[2026-11-04 09:13:52] local.INFO: Processing buffer {"connection_id":230578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a76420012d09cb400704fc10000e009f25..."} 
[2026-11-04 09:13:52] local.INFO: Packet analysis {"connection_id":230578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:13:52] local.INFO: Extracted packet for processing {"connection_id":230578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":755616576,"raw_latitude":117767184,"longitude_deg":75.5616576,"latitude_deg":11.7767184,"altitude":14,"angle":159,"satellites":37,"speed":5,"hex_longitude":"2d09cb40","hex_latitude":"0704fc10","is_valid_coordinates":true} 
[2026-11-04 09:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203530496001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39189935898492928,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705024478064617472,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793763796000,"timestamp_ms":1793763796000,"timestamp_seconds":1793763796,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a76420"} 
[2026-11-04 09:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:13:52] 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-11-04 09:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203530496001,"66":14515,"177":206,"94":10240,"24":5,"16":39189935898492928,"45":705024478064617472},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203530496001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:13:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39189935898492928,"km_value":39189935898492.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":705024478064617472,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203530496001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":705024478064617472}} 
[2026-11-04 09:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":230578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58428,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:52] local.INFO: GPS data processed {"connection_id":230578,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:52] local.INFO: Acknowledgment sent {"connection_id":230578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:13:53] local.INFO: TCP Data received {"connection_id":230578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a76bf0012d09cbc00704fa70000e00aa25..."} 
[2026-11-04 09:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a76bf0012d09cbc00704fa70000e00aa25..."} 
[2026-11-04 09:13:53] local.INFO: Processing buffer {"connection_id":230578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a76bf0012d09cbc00704fa70000e00aa25..."} 
[2026-11-04 09:13:53] local.INFO: Packet analysis {"connection_id":230578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:13:53] local.INFO: Extracted packet for processing {"connection_id":230578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:13:53] local.INFO: GPS Element Parsed {"raw_longitude":755616704,"raw_latitude":117766768,"longitude_deg":75.5616704,"latitude_deg":11.7766768,"altitude":14,"angle":170,"satellites":37,"speed":11,"hex_longitude":"2d09cbc0","hex_latitude":"0704fa70","is_valid_coordinates":true} 
[2026-11-04 09:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203531776001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39189953078362112,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705728165506191360,"note":"Value kept but may cause issues"} 
[2026-11-04 09:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793763798000,"timestamp_ms":1793763798000,"timestamp_seconds":1793763798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a76bf0"} 
[2026-11-04 09:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:13:53] 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-11-04 09:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 09:13:53] 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-11-04 09:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203531776001,"66":14428,"177":206,"94":10240,"24":11,"16":39189953078362112,"45":705728165506191360},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203531776001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:13:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:13:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39189953078362112,"km_value":39189953078362.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":705728165506191360,"description":"Unknown IO ID 45"} 
[2026-11-04 09:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203531776001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":705728165506191360}} 
[2026-11-04 09:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":230578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:13:53] local.INFO: GPS data processed {"connection_id":230578,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:13:53] local.INFO: Acknowledgment sent {"connection_id":230578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:14:07] local.INFO: TCP Data received {"connection_id":230579,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:14:07] local.INFO: Processing buffer {"connection_id":230579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:14:07] local.INFO: IMEI packet received {"connection_id":230579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":230579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:14:09] local.INFO: TCP Data received {"connection_id":232428,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:14:09] local.INFO: Processing buffer {"connection_id":232428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:14:09] local.INFO: IMEI packet received {"connection_id":232428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":232428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:14:11] local.INFO: TCP Data received {"connection_id":230579,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:14:11] local.INFO: Processing buffer {"connection_id":230579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:14:11] local.INFO: IMEI packet received {"connection_id":230579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":230579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:14:12] local.INFO: TCP Data received {"connection_id":230579,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a69ce8012d28e50006c12b58000e00872f..."} 
[2026-11-04 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a69ce8012d28e50006c12b58000e00872f..."} 
[2026-11-04 09:14:12] local.INFO: Processing buffer {"connection_id":230579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a69ce8012d28e50006c12b58000e00872f..."} 
[2026-11-04 09:14:12] local.INFO: Packet analysis {"connection_id":230579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:14:12] local.INFO: Extracted packet for processing {"connection_id":230579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":757654784,"raw_latitude":113322840,"longitude_deg":75.7654784,"latitude_deg":11.332284,"altitude":14,"angle":135,"satellites":47,"speed":57,"hex_longitude":"2d28e500","hex_latitude":"06c12b58","is_valid_coordinates":true} 
[2026-11-04 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203516928001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38716892495478784,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2938809892104296448,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793763745000,"timestamp_ms":1793763745000,"timestamp_seconds":1793763745,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a69ce8"} 
[2026-11-04 09:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 09:14: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-11-04 09:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203516928001,"66":27745,"179":206,"81":20992,"24":57,"16":38716892495478784,"45":2938809892104296448},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,81,24,16,45]} 
[2026-11-04 09:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203516928001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:14:12] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 09:14:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38716892495478784,"km_value":38716892495478.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2938809892104296448,"description":"Unknown IO ID 45"} 
[2026-11-04 09:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203516928001,"power":27745,"unknown_179":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":2938809892104296448}} 
[2026-11-04 09:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":230579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:14:12] local.INFO: GPS data processed {"connection_id":230579,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:14:12] local.INFO: Acknowledgment sent {"connection_id":230579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:14:14] local.INFO: TCP Data received {"connection_id":232428,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:14:14] local.INFO: Processing buffer {"connection_id":232428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:14:14] local.INFO: IMEI packet received {"connection_id":232428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":232428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:14:16] local.INFO: TCP Data received {"connection_id":232428,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a57020012d0d62c006ea11e8000f01642a..."} 
[2026-11-04 09:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a57020012d0d62c006ea11e8000f01642a..."} 
[2026-11-04 09:14:16] local.INFO: Processing buffer {"connection_id":232428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a57020012d0d62c006ea11e8000f01642a..."} 
[2026-11-04 09:14:16] local.INFO: Packet analysis {"connection_id":232428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:14:16] local.INFO: Extracted packet for processing {"connection_id":232428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:14:16] local.INFO: GPS Element Parsed {"raw_longitude":755851968,"raw_latitude":116003304,"longitude_deg":75.5851968,"latitude_deg":11.6003304,"altitude":15,"angle":356,"satellites":42,"speed":15,"hex_longitude":"2d0d62c0","hex_latitude":"06ea11e8","is_valid_coordinates":true} 
[2026-11-04 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203497728001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348803429171200,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299907086336,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793763668000,"timestamp_ms":1793763668000,"timestamp_seconds":1793763668,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a57020"} 
[2026-11-04 09:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 09:14:16] 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-11-04 09:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203497728001,"66":28376,"41":206,"2":56576,"24":15,"16":20348803429171200,"45":964333299907086336},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203497728001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:14:16] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348803429171200,"km_value":20348803429171.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299907086336,"description":"Unknown IO ID 45"} 
[2026-11-04 09:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203497728001,"power":28376,"unknown_41":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":964333299907086336}} 
[2026-11-04 09:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":232428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:14:17] local.INFO: GPS data processed {"connection_id":232428,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:14:17] local.INFO: Acknowledgment sent {"connection_id":232428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:14:24] local.INFO: TCP Data received {"connection_id":230578,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a81fa0012d0a08c00704e0d00018004b25..."} 
[2026-11-04 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a81fa0012d0a08c00704e0d00018004b25..."} 
[2026-11-04 09:14:24] local.INFO: Processing buffer {"connection_id":230578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a81fa0012d0a08c00704e0d00018004b25..."} 
[2026-11-04 09:14:24] local.INFO: Packet analysis {"connection_id":230578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:14:24] local.INFO: Extracted packet for processing {"connection_id":230578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":755632320,"raw_latitude":117760208,"longitude_deg":75.563232,"latitude_deg":11.7760208,"altitude":24,"angle":75,"satellites":37,"speed":36,"hex_longitude":"2d0a08c0","hex_latitude":"0704e0d0","is_valid_coordinates":true} 
[2026-11-04 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203543296001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39191366122602496,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":720013020572381184,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793763844000,"timestamp_ms":1793763844000,"timestamp_seconds":1793763844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a81fa0"} 
[2026-11-04 09:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 09:14:24] 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-11-04 09:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230578,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203543296001,"66":14428,"177":206,"94":10240,"24":36,"16":39191366122602496,"45":720013020572381184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 09:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203543296001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:14:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 09:14:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39191366122602496,"km_value":39191366122602.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":720013020572381184,"description":"Unknown IO ID 45"} 
[2026-11-04 09:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203543296001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":36,"odometer":null,"unknown_45":720013020572381184}} 
[2026-11-04 09:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":230578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:14:25] local.INFO: GPS data processed {"connection_id":230578,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:14:25] local.INFO: Acknowledgment sent {"connection_id":230578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:14:43] local.INFO: TCP Data received {"connection_id":230579,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a7f0c0012d2a31c006bfad08000f008e2f..."} 
[2026-11-04 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a7f0c0012d2a31c006bfad08000f008e2f..."} 
[2026-11-04 09:14:43] local.INFO: Processing buffer {"connection_id":230579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a7f0c0012d2a31c006bfad08000f008e2f..."} 
[2026-11-04 09:14:43] local.INFO: Packet analysis {"connection_id":230579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:14:43] local.INFO: Extracted packet for processing {"connection_id":230579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":757739968,"raw_latitude":113224968,"longitude_deg":75.7739968,"latitude_deg":11.3224968,"altitude":15,"angle":142,"satellites":47,"speed":59,"hex_longitude":"2d2a31c0","hex_latitude":"06bfad08","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203539456001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38723158852763648,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3034300277928275968,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793763832000,"timestamp_ms":1793763832000,"timestamp_seconds":1793763832,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a7f0c0"} 
[2026-11-04 09:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-11-04 09:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203539456001,"66":27626,"73":206,"81":20992,"24":59,"16":38723158852763648,"45":3034300277928275968},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-11-04 09:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203539456001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:14:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 09:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38723158852763648,"km_value":38723158852763.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3034300277928275968,"description":"Unknown IO ID 45"} 
[2026-11-04 09:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203539456001,"power":27626,"unknown_73":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3034300277928275968}} 
[2026-11-04 09:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":230579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:14:43] local.INFO: GPS data processed {"connection_id":230579,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:14:43] local.INFO: Acknowledgment sent {"connection_id":230579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:14:48] local.INFO: TCP Data received {"connection_id":232428,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a57fc0012d0d620006ea16b8000e015329..."} 
[2026-11-04 09:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a57fc0012d0d620006ea16b8000e015329..."} 
[2026-11-04 09:14:48] local.INFO: Processing buffer {"connection_id":232428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a57fc0012d0d620006ea16b8000e015329..."} 
[2026-11-04 09:14:48] local.INFO: Packet analysis {"connection_id":232428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:14:48] local.INFO: Extracted packet for processing {"connection_id":232428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:14:48] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116004536,"longitude_deg":75.5851776,"latitude_deg":11.6004536,"altitude":14,"angle":339,"satellites":41,"speed":10,"hex_longitude":"2d0d6200","hex_latitude":"06ea16b8","is_valid_coordinates":true} 
[2026-11-04 09:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203499008001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348867853680640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964544406140086272,"note":"Value kept but may cause issues"} 
[2026-11-04 09:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793763672000,"timestamp_ms":1793763672000,"timestamp_seconds":1793763672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a57fc0"} 
[2026-11-04 09:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 09:14: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-11-04 09:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203499008001,"66":28278,"41":206,"2":56576,"24":10,"16":20348867853680640,"45":964544406140086272},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203499008001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:14:48] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348867853680640,"km_value":20348867853680.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":964544406140086272,"description":"Unknown IO ID 45"} 
[2026-11-04 09:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203499008001,"power":28278,"unknown_41":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":964544406140086272}} 
[2026-11-04 09:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":232428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:14:48] local.INFO: GPS data processed {"connection_id":232428,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:14:48] local.INFO: Acknowledgment sent {"connection_id":232428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:15:07] local.INFO: TCP Data received {"connection_id":229302,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:07] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:07] local.INFO: IMEI packet received {"connection_id":229302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":229302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:15:07] local.INFO: TCP Data received {"connection_id":229302,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:07] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:07] local.INFO: IMEI packet received {"connection_id":229302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":229302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:15:09] local.INFO: TCP Data received {"connection_id":228803,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:15:09] local.INFO: Processing buffer {"connection_id":228803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:15:09] local.INFO: IMEI packet received {"connection_id":228803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":228803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:15:12] local.INFO: TCP Data received {"connection_id":229302,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:12] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:15:12] local.INFO: IMEI packet received {"connection_id":229302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":229302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:15:13] local.INFO: TCP Data received {"connection_id":229302,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a80830012d2a46c006bf9110000f008f2e..."} 
[2026-11-04 09:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a80830012d2a46c006bf9110000f008f2e..."} 
[2026-11-04 09:15:13] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a80830012d2a46c006bf9110000f008f2e..."} 
[2026-11-04 09:15:13] local.INFO: Packet analysis {"connection_id":229302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:15:13] local.INFO: Extracted packet for processing {"connection_id":229302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:15:13] local.INFO: GPS Element Parsed {"raw_longitude":757745344,"raw_latitude":113217808,"longitude_deg":75.7745344,"latitude_deg":11.3217808,"altitude":15,"angle":143,"satellites":46,"speed":58,"hex_longitude":"2d2a46c0","hex_latitude":"06bf9110","is_valid_coordinates":true} 
[2026-11-04 09:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38723588349493248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3040422358669920256,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793763838000,"timestamp_ms":1793763838000,"timestamp_seconds":1793763838,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a80830"} 
[2026-11-04 09:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 09:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203540992001,"66":27604,"73":206,"81":20992,"24":58,"16":38723588349493248,"45":3040422358669920256},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-11-04 09:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:15:13] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 09:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38723588349493248,"km_value":38723588349493.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3040422358669920256,"description":"Unknown IO ID 45"} 
[2026-11-04 09:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203540992001,"power":27604,"unknown_73":206,"unknown_81":20992,"ignition":58,"odometer":null,"unknown_45":3040422358669920256}} 
[2026-11-04 09:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":229302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:15:13] local.INFO: GPS data processed {"connection_id":229302,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:15:13] local.INFO: Acknowledgment sent {"connection_id":229302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:15:14] local.INFO: TCP Data received {"connection_id":228803,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:15:14] local.INFO: Processing buffer {"connection_id":228803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:15:14] local.INFO: IMEI packet received {"connection_id":228803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":228803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:15:14] local.INFO: TCP Data received {"connection_id":228804,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:14] local.INFO: Processing buffer {"connection_id":228804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:14] local.INFO: IMEI packet received {"connection_id":228804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":228804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:15:15] local.INFO: TCP Data received {"connection_id":228803,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a59348012d0d60c006ea1b38000d000129..."} 
[2026-11-04 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a59348012d0d60c006ea1b38000d000129..."} 
[2026-11-04 09:15:15] local.INFO: Processing buffer {"connection_id":228803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a59348012d0d60c006ea1b38000d000129..."} 
[2026-11-04 09:15:15] local.INFO: Packet analysis {"connection_id":228803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:15:15] local.INFO: Extracted packet for processing {"connection_id":228803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:15:15] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005688,"longitude_deg":75.5851456,"latitude_deg":11.6005688,"altitude":13,"angle":1,"satellites":41,"speed":6,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1b38","is_valid_coordinates":true} 
[2026-11-04 09:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203500032001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348923688255488,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299907868672,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763677000,"timestamp_ms":1793763677000,"timestamp_seconds":1793763677,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a59348"} 
[2026-11-04 09:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 09:15:15] 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-11-04 09:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203500032001,"66":28202,"41":206,"2":56576,"24":6,"16":20348923688255488,"45":964333299907868672},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203500032001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:15:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348923688255488,"km_value":20348923688255.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299907868672,"description":"Unknown IO ID 45"} 
[2026-11-04 09:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203500032001,"power":28202,"unknown_41":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":964333299907868672}} 
[2026-11-04 09:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":228803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:15:15] local.INFO: GPS data processed {"connection_id":228803,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:15:15] local.INFO: Acknowledgment sent {"connection_id":228803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:15:15] local.INFO: TCP Data received {"connection_id":228804,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:15] local.INFO: Processing buffer {"connection_id":228804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:15] local.INFO: IMEI packet received {"connection_id":228804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":228804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:15:18] local.INFO: TCP Data received {"connection_id":228804,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:18] local.INFO: Processing buffer {"connection_id":228804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:18] local.INFO: IMEI packet received {"connection_id":228804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":228804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:15:18] local.INFO: TCP Data received {"connection_id":228804,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:18] local.INFO: Processing buffer {"connection_id":228804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:15:18] local.INFO: IMEI packet received {"connection_id":228804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":228804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:15:47] local.INFO: TCP Data received {"connection_id":228803,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a5e550012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a5e550012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:15:47] local.INFO: Processing buffer {"connection_id":228803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a5e550012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:15:47] local.INFO: Packet analysis {"connection_id":228803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:15:47] local.INFO: Extracted packet for processing {"connection_id":228803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a5"} 
[2026-11-04 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203501312001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187275264,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793763698000,"timestamp_ms":1793763698000,"timestamp_seconds":1793763698,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a5e550"} 
[2026-11-04 09:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 09:15:47] 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-11-04 09: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-11-04 09:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203501312001,"66":28376,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187275264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203501312001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:15:47] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187275264,"description":"Unknown IO ID 45"} 
[2026-11-04 09:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203501312001,"power":28376,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187275264}} 
[2026-11-04 09:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":228803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:15:47] local.INFO: GPS data processed {"connection_id":228803,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:15:47] local.INFO: Acknowledgment sent {"connection_id":228803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:15:50] local.INFO: TCP Data received {"connection_id":229302,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a81fa0012d2a5c4006bf7568000f008e30..."} 
[2026-11-04 09:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a81fa0012d2a5c4006bf7568000f008e30..."} 
[2026-11-04 09:15:50] local.INFO: Processing buffer {"connection_id":229302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a81fa0012d2a5c4006bf7568000f008e30..."} 
[2026-11-04 09:15:50] local.INFO: Packet analysis {"connection_id":229302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:15:50] local.INFO: Extracted packet for processing {"connection_id":229302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:15:50] local.INFO: GPS Element Parsed {"raw_longitude":757750848,"raw_latitude":113210728,"longitude_deg":75.7750848,"latitude_deg":11.3210728,"altitude":15,"angle":142,"satellites":48,"speed":59,"hex_longitude":"2d2a5c40","hex_latitude":"06bf7568","is_valid_coordinates":true} 
[2026-11-04 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203542528001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38724022141190144,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3046333333179011072,"note":"Value kept but may cause issues"} 
[2026-11-04 09:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793763844000,"timestamp_ms":1793763844000,"timestamp_seconds":1793763844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a81fa0"} 
[2026-11-04 09:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 09:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203542528001,"66":27745,"73":206,"81":20992,"24":59,"16":38724022141190144,"45":3046333333179011072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-11-04 09:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203542528001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:15:50] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 09:15:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38724022141190144,"km_value":38724022141190.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3046333333179011072,"description":"Unknown IO ID 45"} 
[2026-11-04 09:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203542528001,"power":27745,"unknown_73":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3046333333179011072}} 
[2026-11-04 09:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":229302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:15:50] local.INFO: GPS data processed {"connection_id":229302,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:15:50] local.INFO: Acknowledgment sent {"connection_id":229302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:16:12] local.INFO: TCP Data received {"connection_id":230581,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:16:12] local.INFO: Processing buffer {"connection_id":230581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:16:12] local.INFO: IMEI packet received {"connection_id":230581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":230581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:16:14] local.INFO: TCP Data received {"connection_id":229303,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:16:14] local.INFO: Processing buffer {"connection_id":229303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:16:14] local.INFO: IMEI packet received {"connection_id":229303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":229303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:16:15] local.INFO: TCP Data received {"connection_id":230581,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:16:15] local.INFO: Processing buffer {"connection_id":230581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:16:15] local.INFO: IMEI packet received {"connection_id":230581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":230581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:16:16] local.INFO: TCP Data received {"connection_id":230581,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a92940012d2b53c006be3f98000b008c2f..."} 
[2026-11-04 09:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a92940012d2b53c006be3f98000b008c2f..."} 
[2026-11-04 09:16:16] local.INFO: Processing buffer {"connection_id":230581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a92940012d2b53c006be3f98000b008c2f..."} 
[2026-11-04 09:16:16] local.INFO: Packet analysis {"connection_id":230581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a9"} 
[2026-11-04 09:16:16] local.INFO: Extracted packet for processing {"connection_id":230581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a9"} 
[2026-11-04 09:16:16] local.INFO: GPS Element Parsed {"raw_longitude":757814208,"raw_latitude":113131416,"longitude_deg":75.7814208,"latitude_deg":11.3131416,"altitude":11,"angle":140,"satellites":47,"speed":59,"hex_longitude":"2d2b53c0","hex_latitude":"06be3f98","is_valid_coordinates":true} 
[2026-11-04 09:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203559936001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38728905519005696,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3115928021150408704,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793763912000,"timestamp_ms":1793763912000,"timestamp_seconds":1793763912,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a92940"} 
[2026-11-04 09:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203559936001,"66":27745,"125":206,"81":20992,"24":59,"16":38728905519005696,"45":3115928021150408704},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-11-04 09:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203559936001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:16:16] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-11-04 09:16:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38728905519005696,"km_value":38728905519005.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3115928021150408704,"description":"Unknown IO ID 45"} 
[2026-11-04 09:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203559936001,"power":27745,"unknown_125":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3115928021150408704}} 
[2026-11-04 09:16:16] local.INFO: DEBUG: GPS processor result {"connection_id":230581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:16:16] local.INFO: GPS data processed {"connection_id":230581,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:16:16] local.INFO: Acknowledgment sent {"connection_id":230581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:16:19] local.INFO: TCP Data received {"connection_id":229303,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:16:19] local.INFO: Processing buffer {"connection_id":229303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:16:19] local.INFO: IMEI packet received {"connection_id":229303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":229303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:16:20] local.INFO: TCP Data received {"connection_id":229303,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a63758012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a63758012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:16:20] local.INFO: Processing buffer {"connection_id":229303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a63758012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:16:20] local.INFO: Packet analysis {"connection_id":229303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:16:20] local.INFO: Extracted packet for processing {"connection_id":229303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203506688001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793763719000,"timestamp_ms":1793763719000,"timestamp_seconds":1793763719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a63758"} 
[2026-11-04 09:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 09:16: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-11-04 09:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203506688001,"66":28354,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203506688001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:16:20] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203506688001,"power":28354,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":229303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:16:20] local.INFO: GPS data processed {"connection_id":229303,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:16:20] local.INFO: Acknowledgment sent {"connection_id":229303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:16:25] local.INFO: TCP Data received {"connection_id":229303,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a68960012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a68960012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:16:25] local.INFO: Processing buffer {"connection_id":229303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a68960012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:16:25] local.INFO: Packet analysis {"connection_id":229303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:16:25] local.INFO: Extracted packet for processing {"connection_id":229303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:16:25] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203512064001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793763740000,"timestamp_ms":1793763740000,"timestamp_seconds":1793763740,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a68960"} 
[2026-11-04 09:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:16:25] 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-11-04 09:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203512064001,"66":28148,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203512064001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:16:25] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203512064001,"power":28148,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":229303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:16:25] local.INFO: GPS data processed {"connection_id":229303,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:16:25] local.INFO: Acknowledgment sent {"connection_id":229303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:16:51] local.INFO: TCP Data received {"connection_id":230581,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a940b0012d2b6a0006be2470000b008c30..."} 
[2026-11-04 09:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a940b0012d2b6a0006be2470000b008c30..."} 
[2026-11-04 09:16:51] local.INFO: Processing buffer {"connection_id":230581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a940b0012d2b6a0006be2470000b008c30..."} 
[2026-11-04 09:16:51] local.INFO: Packet analysis {"connection_id":230581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a9"} 
[2026-11-04 09:16:51] local.INFO: Extracted packet for processing {"connection_id":230581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a9"} 
[2026-11-04 09:16:51] local.INFO: GPS Element Parsed {"raw_longitude":757819904,"raw_latitude":113124464,"longitude_deg":75.7819904,"latitude_deg":11.3124464,"altitude":11,"angle":140,"satellites":48,"speed":59,"hex_longitude":"2d2b6a00","hex_latitude":"06be2470","is_valid_coordinates":true} 
[2026-11-04 09:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203561472001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38729339310702592,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3122050101892061184,"note":"Value kept but may cause issues"} 
[2026-11-04 09:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793763918000,"timestamp_ms":1793763918000,"timestamp_seconds":1793763918,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a940b0"} 
[2026-11-04 09:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 09:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203561472001,"66":27843,"125":206,"81":20992,"24":59,"16":38729339310702592,"45":3122050101892061184},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,81,24,16,45]} 
[2026-11-04 09:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203561472001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:16:51] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-11-04 09:16:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38729339310702592,"km_value":38729339310702.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3122050101892061184,"description":"Unknown IO ID 45"} 
[2026-11-04 09:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203561472001,"power":27843,"unknown_125":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3122050101892061184}} 
[2026-11-04 09:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":230581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:16:51] local.INFO: GPS data processed {"connection_id":230581,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:16:51] local.INFO: Acknowledgment sent {"connection_id":230581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:17:09] local.INFO: TCP Data received {"connection_id":228805,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:17:09] local.INFO: Processing buffer {"connection_id":228805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:17:09] local.INFO: IMEI packet received {"connection_id":228805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":228805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:17:10] local.INFO: TCP Data received {"connection_id":228805,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:17:10] local.INFO: Processing buffer {"connection_id":228805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:17:10] local.INFO: IMEI packet received {"connection_id":228805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":228805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:17:11] local.INFO: TCP Data received {"connection_id":228805,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a6db68012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a6db68012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:11] local.INFO: Processing buffer {"connection_id":228805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a6db68012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:11] local.INFO: Packet analysis {"connection_id":228805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:17:11] local.INFO: Extracted packet for processing {"connection_id":228805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a6"} 
[2026-11-04 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203517440001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793763761000,"timestamp_ms":1793763761000,"timestamp_seconds":1793763761,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a6db68"} 
[2026-11-04 09:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 09:17:11] 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-11-04 09: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-11-04 09:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203517440001,"66":28224,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203517440001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:17:11] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203517440001,"power":28224,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":228805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:17:11] local.INFO: GPS data processed {"connection_id":228805,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:17:11] local.INFO: Acknowledgment sent {"connection_id":228805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:17:12] local.INFO: TCP Data received {"connection_id":232429,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:12] local.INFO: Processing buffer {"connection_id":232429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:12] local.INFO: IMEI packet received {"connection_id":232429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":232429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:17:13] local.INFO: TCP Data received {"connection_id":232429,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:13] local.INFO: Processing buffer {"connection_id":232429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:13] local.INFO: IMEI packet received {"connection_id":232429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":232429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:17:16] local.INFO: TCP Data received {"connection_id":228805,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a72d70012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a72d70012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:16] local.INFO: Processing buffer {"connection_id":228805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a72d70012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:16] local.INFO: Packet analysis {"connection_id":228805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:17:16] local.INFO: Extracted packet for processing {"connection_id":228805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:17:16] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203522816001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793763782000,"timestamp_ms":1793763782000,"timestamp_seconds":1793763782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a72d70"} 
[2026-11-04 09:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 09:17: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-11-04 09:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203522816001,"66":28398,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203522816001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:17:16] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203522816001,"power":28398,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":228805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:17:16] local.INFO: GPS data processed {"connection_id":228805,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:17:16] local.INFO: Acknowledgment sent {"connection_id":228805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:17:19] local.INFO: TCP Data received {"connection_id":232429,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:19] local.INFO: Processing buffer {"connection_id":232429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:17:19] local.INFO: IMEI packet received {"connection_id":232429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":232429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:17:20] local.INFO: TCP Data received {"connection_id":232429,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4aa36c8012d2c678006bd1c30001200882c..."} 
[2026-11-04 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4aa36c8012d2c678006bd1c30001200882c..."} 
[2026-11-04 09:17:20] local.INFO: Processing buffer {"connection_id":232429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4aa36c8012d2c678006bd1c30001200882c..."} 
[2026-11-04 09:17:20] local.INFO: Packet analysis {"connection_id":232429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:17:20] local.INFO: Extracted packet for processing {"connection_id":232429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:17:20] local.INFO: GPS Element Parsed {"raw_longitude":757884800,"raw_latitude":113056816,"longitude_deg":75.78848,"latitude_deg":11.3056816,"altitude":18,"angle":136,"satellites":44,"speed":59,"hex_longitude":"2d2c6780","hex_latitude":"06bd1c30","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203577344001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38733866206232576,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3191715158610774016,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793763981000,"timestamp_ms":1793763981000,"timestamp_seconds":1793763981,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4aa36c8"} 
[2026-11-04 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-11-04 09:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 09:17:20] 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-11-04 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-11-04 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-11-04 09:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203577344001,"66":27995,"124":206,"81":20992,"24":59,"16":38733866206232576,"45":3191715158610774016},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-11-04 09:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203577344001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:17:20] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-11-04 09:17:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38733866206232576,"km_value":38733866206232.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3191715158610774016,"description":"Unknown IO ID 45"} 
[2026-11-04 09:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203577344001,"power":27995,"unknown_124":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3191715158610774016}} 
[2026-11-04 09:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":232429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:17:20] local.INFO: GPS data processed {"connection_id":232429,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:17:20] local.INFO: Acknowledgment sent {"connection_id":232429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:17:48] local.INFO: TCP Data received {"connection_id":228805,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a77f78012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a77f78012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:48] local.INFO: Processing buffer {"connection_id":228805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a77f78012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:17:48] local.INFO: Packet analysis {"connection_id":228805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:17:48] local.INFO: Extracted packet for processing {"connection_id":228805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:17:48] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203528192001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793763803000,"timestamp_ms":1793763803000,"timestamp_seconds":1793763803,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a77f78"} 
[2026-11-04 09:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:17:48] 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-11-04 09:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203528192001,"66":28452,"58":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203528192001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:17:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203528192001,"power":28452,"unknown_58":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":228805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:17:48] local.INFO: GPS data processed {"connection_id":228805,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:17:48] local.INFO: Acknowledgment sent {"connection_id":228805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:17:55] local.INFO: TCP Data received {"connection_id":232429,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4aa5220012d2c840006bcfed0001200892a..."} 
[2026-11-04 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4aa5220012d2c840006bcfed0001200892a..."} 
[2026-11-04 09:17:55] local.INFO: Processing buffer {"connection_id":232429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4aa5220012d2c840006bcfed0001200892a..."} 
[2026-11-04 09:17:55] local.INFO: Packet analysis {"connection_id":232429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:17:55] local.INFO: Extracted packet for processing {"connection_id":232429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:17:55] local.INFO: GPS Element Parsed {"raw_longitude":757892096,"raw_latitude":113049296,"longitude_deg":75.7892096,"latitude_deg":11.3049296,"altitude":18,"angle":137,"satellites":42,"speed":59,"hex_longitude":"2d2c8400","hex_latitude":"06bcfed0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203579136001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38734364422438912,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3199666826700926976,"note":"Value kept but may cause issues"} 
[2026-11-04 09:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793763988000,"timestamp_ms":1793763988000,"timestamp_seconds":1793763988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4aa5220"} 
[2026-11-04 09:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 09:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":232429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":232429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":232429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203579136001,"66":28028,"124":206,"81":20992,"24":59,"16":38734364422438912,"45":3199666826700926976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,81,24,16,45]} 
[2026-11-04 09:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203579136001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:17:55] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-11-04 09:17:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38734364422438912,"km_value":38734364422438.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3199666826700926976,"description":"Unknown IO ID 45"} 
[2026-11-04 09:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203579136001,"power":28028,"unknown_124":206,"unknown_81":20992,"ignition":59,"odometer":null,"unknown_45":3199666826700926976}} 
[2026-11-04 09:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":232429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:17:55] local.INFO: GPS data processed {"connection_id":232429,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:17:55] local.INFO: Acknowledgment sent {"connection_id":232429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:18:08] local.INFO: TCP Data received {"connection_id":230584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:08] local.INFO: Processing buffer {"connection_id":230584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:08] local.INFO: IMEI packet received {"connection_id":230584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":230584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:18:09] local.INFO: TCP Data received {"connection_id":230583,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:18:09] local.INFO: Processing buffer {"connection_id":230583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:18:09] local.INFO: IMEI packet received {"connection_id":230583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":230583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:18:13] local.INFO: TCP Data received {"connection_id":230584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:13] local.INFO: Processing buffer {"connection_id":230584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:13] local.INFO: IMEI packet received {"connection_id":230584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":230584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:18:14] local.INFO: TCP Data received {"connection_id":230583,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:18:14] local.INFO: Processing buffer {"connection_id":230583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:18:14] local.INFO: IMEI packet received {"connection_id":230583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":230583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:18:14] local.INFO: TCP Data received {"connection_id":230584,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:14] local.INFO: Processing buffer {"connection_id":230584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:18:14] local.INFO: IMEI packet received {"connection_id":230584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":230584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:18:15] local.INFO: TCP Data received {"connection_id":230583,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a7d180012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a7d180012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:18:15] local.INFO: Processing buffer {"connection_id":230583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a7d180012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:18:15] local.INFO: Packet analysis {"connection_id":230583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:18:15] local.INFO: Extracted packet for processing {"connection_id":230583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a7"} 
[2026-11-04 09:18:15] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203533568001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763824000,"timestamp_ms":1793763824000,"timestamp_seconds":1793763824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a7d180"} 
[2026-11-04 09:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:18:15] 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-11-04 09:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203533568001,"66":28354,"58":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203533568001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:18:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203533568001,"power":28354,"unknown_58":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":230583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:18:15] local.INFO: GPS data processed {"connection_id":230583,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:18:15] local.INFO: Acknowledgment sent {"connection_id":230583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:18:15] local.INFO: TCP Data received {"connection_id":230584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4aa6990012d2c9b8006bce4f80012008a2f..."} 
[2026-11-04 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4aa6990012d2c9b8006bce4f80012008a2f..."} 
[2026-11-04 09:18:15] local.INFO: Processing buffer {"connection_id":230584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4aa6990012d2c9b8006bce4f80012008a2f..."} 
[2026-11-04 09:18:15] local.INFO: Packet analysis {"connection_id":230584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:18:15] local.INFO: Extracted packet for processing {"connection_id":230584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:18:15] local.INFO: GPS Element Parsed {"raw_longitude":757898112,"raw_latitude":113042680,"longitude_deg":75.7898112,"latitude_deg":11.304268,"altitude":18,"angle":138,"satellites":47,"speed":58,"hex_longitude":"2d2c9b80","hex_latitude":"06bce4f8","is_valid_coordinates":true} 
[2026-11-04 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203580928001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38734793919168512,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3207688863535255552,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763994000,"timestamp_ms":1793763994000,"timestamp_seconds":1793763994,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4aa6990"} 
[2026-11-04 09:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 09:18:15] 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-11-04 09:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203580928001,"66":28017,"138":206,"81":21760,"24":58,"16":38734793919168512,"45":3207688863535255552},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,81,24,16,45]} 
[2026-11-04 09:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203580928001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:18:15] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-04 09:18:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-11-04 09:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38734793919168512,"km_value":38734793919168.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3207688863535255552,"description":"Unknown IO ID 45"} 
[2026-11-04 09:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203580928001,"power":28017,"unknown_138":206,"unknown_81":21760,"ignition":58,"odometer":null,"unknown_45":3207688863535255552}} 
[2026-11-04 09:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":230584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:18:15] local.INFO: GPS data processed {"connection_id":230584,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:18:15] local.INFO: Acknowledgment sent {"connection_id":230584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:18:17] local.INFO: TCP Data received {"connection_id":230584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4aa84e8012d2cb60006bcc7b0001400892f..."} 
[2026-11-04 09:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4aa84e8012d2cb60006bcc7b0001400892f..."} 
[2026-11-04 09:18:17] local.INFO: Processing buffer {"connection_id":230584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4aa84e8012d2cb60006bcc7b0001400892f..."} 
[2026-11-04 09:18:17] local.INFO: Packet analysis {"connection_id":230584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:18:17] local.INFO: Extracted packet for processing {"connection_id":230584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4aa"} 
[2026-11-04 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":757904896,"raw_latitude":113035184,"longitude_deg":75.7904896,"latitude_deg":11.3035184,"altitude":20,"angle":137,"satellites":47,"speed":56,"hex_longitude":"2d2cb600","hex_latitude":"06bcc7b0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203582464001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38735283545440256,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3214303525486262272,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793764001000,"timestamp_ms":1793764001000,"timestamp_seconds":1793764001,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4aa84e8"} 
[2026-11-04 09:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":113,"data_length":795,"current_offset":136} 
[2026-11-04 09:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203582464001,"66":27865,"138":206,"81":21760,"24":56,"16":38735283545440256,"45":3214303525486262272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,81,24,16,45]} 
[2026-11-04 09:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203582464001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:18:17] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-11-04 09:18:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":21760,"description":"Unknown IO ID 81"} 
[2026-11-04 09:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38735283545440256,"km_value":38735283545440.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3214303525486262272,"description":"Unknown IO ID 45"} 
[2026-11-04 09:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203582464001,"power":27865,"unknown_138":206,"unknown_81":21760,"ignition":56,"odometer":null,"unknown_45":3214303525486262272}} 
[2026-11-04 09:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":230584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:18:17] local.INFO: GPS data processed {"connection_id":230584,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:18:17] local.INFO: Acknowledgment sent {"connection_id":230584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:18:47] local.INFO: TCP Data received {"connection_id":230583,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a82388012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a82388012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:18:47] local.INFO: Processing buffer {"connection_id":230583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a82388012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:18:47] local.INFO: Packet analysis {"connection_id":230583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:18:47] local.INFO: Extracted packet for processing {"connection_id":230583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:18:47] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203538944001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793763845000,"timestamp_ms":1793763845000,"timestamp_seconds":1793763845,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a82388"} 
[2026-11-04 09:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:18:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:18:47] 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-11-04 09:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203538944001,"66":28354,"58":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203538944001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:18:47] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203538944001,"power":28354,"unknown_58":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":230583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:18:48] local.INFO: GPS data processed {"connection_id":230583,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:18:48] local.INFO: Acknowledgment sent {"connection_id":230583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:18:48] local.INFO: TCP Data received {"connection_id":230584,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4aba5f8012d2dbac006bb86f80011009e31..."} 
[2026-11-04 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4aba5f8012d2dbac006bb86f80011009e31..."} 
[2026-11-04 09:18:48] local.INFO: Processing buffer {"connection_id":230584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4aba5f8012d2dbac006bb86f80011009e31..."} 
[2026-11-04 09:18:48] local.INFO: Packet analysis {"connection_id":230584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ab"} 
[2026-11-04 09:18:48] local.INFO: Extracted packet for processing {"connection_id":230584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ab"} 
[2026-11-04 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":757971648,"raw_latitude":112953080,"longitude_deg":75.7971648,"latitude_deg":11.295308,"altitude":17,"angle":158,"satellites":49,"speed":54,"hex_longitude":"2d2dbac0","hex_latitude":"06bb86f8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203601408001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38740390261555200,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3290301769177505792,"note":"Value kept but may cause issues"} 
[2026-11-04 09:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793764075000,"timestamp_ms":1793764075000,"timestamp_seconds":1793764075,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4aba5f8"} 
[2026-11-04 09:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203601408001,"66":27484,"18":206,"81":20992,"24":54,"16":38740390261555200,"45":3290301769177505792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-11-04 09:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203601408001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:18:48] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 09:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38740390261555200,"km_value":38740390261555.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3290301769177505792,"description":"Unknown IO ID 45"} 
[2026-11-04 09:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203601408001,"power":27484,"unknown_18":206,"unknown_81":20992,"ignition":54,"odometer":null,"unknown_45":3290301769177505792}} 
[2026-11-04 09:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":230584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:18:49] local.INFO: GPS data processed {"connection_id":230584,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:18:49] local.INFO: Acknowledgment sent {"connection_id":230584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:19:06] local.INFO: TCP Data received {"connection_id":232430,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:06] local.INFO: Processing buffer {"connection_id":232430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:06] local.INFO: IMEI packet received {"connection_id":232430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":232430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:19:07] local.INFO: TCP Data received {"connection_id":232430,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:07] local.INFO: Processing buffer {"connection_id":232430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:07] local.INFO: IMEI packet received {"connection_id":232430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":232430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:19:09] local.INFO: TCP Data received {"connection_id":228807,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:19:09] local.INFO: Processing buffer {"connection_id":228807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:19:09] local.INFO: IMEI packet received {"connection_id":228807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":228807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:19:14] local.INFO: TCP Data received {"connection_id":228807,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:19:14] local.INFO: Processing buffer {"connection_id":228807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:19:14] local.INFO: IMEI packet received {"connection_id":228807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":228807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:19:15] local.INFO: TCP Data received {"connection_id":228807,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4a87590012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4a87590012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:19:15] local.INFO: Processing buffer {"connection_id":228807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4a87590012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:19:15] local.INFO: Packet analysis {"connection_id":228807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:19:15] local.INFO: Extracted packet for processing {"connection_id":228807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4a8"} 
[2026-11-04 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:19: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-11-04 09:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203544320001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793763866000,"timestamp_ms":1793763866000,"timestamp_seconds":1793763866,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4a87590"} 
[2026-11-04 09:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:19: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-11-04 09:19: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-11-04 09:19: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-11-04 09:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203544320001,"66":28300,"58":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203544320001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:19:15] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203544320001,"power":28300,"unknown_58":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":228807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:19:15] local.INFO: GPS data processed {"connection_id":228807,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:19:15] local.INFO: Acknowledgment sent {"connection_id":228807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:19:24] local.INFO: TCP Data received {"connection_id":232430,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:24] local.INFO: Processing buffer {"connection_id":232430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:19:24] local.INFO: IMEI packet received {"connection_id":232430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":232430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:19:26] local.INFO: TCP Data received {"connection_id":232430,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4abc150012d2dca4006bb64080011009b2f..."} 
[2026-11-04 09:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4abc150012d2dca4006bb64080011009b2f..."} 
[2026-11-04 09:19:26] local.INFO: Processing buffer {"connection_id":232430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4abc150012d2dca4006bb64080011009b2f..."} 
[2026-11-04 09:19:26] local.INFO: Packet analysis {"connection_id":232430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ab"} 
[2026-11-04 09:19:26] local.INFO: Extracted packet for processing {"connection_id":232430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ab"} 
[2026-11-04 09:19:26] local.INFO: GPS Element Parsed {"raw_longitude":757975616,"raw_latitude":112944136,"longitude_deg":75.7975616,"latitude_deg":11.2944136,"altitude":17,"angle":155,"satellites":47,"speed":57,"hex_longitude":"2d2dca40","hex_latitude":"06bb6408","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203603200001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38740862707957760,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3295157212523460608,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793764082000,"timestamp_ms":1793764082000,"timestamp_seconds":1793764082,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4abc150"} 
[2026-11-04 09:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 09:19: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-11-04 09: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-11-04 09:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203603200001,"66":27887,"18":206,"81":20992,"24":57,"16":38740862707957760,"45":3295157212523460608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,81,24,16,45]} 
[2026-11-04 09:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203603200001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:19:26] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 09:19:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":20992,"description":"Unknown IO ID 81"} 
[2026-11-04 09:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38740862707957760,"km_value":38740862707957.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3295157212523460608,"description":"Unknown IO ID 45"} 
[2026-11-04 09:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203603200001,"power":27887,"unknown_18":206,"unknown_81":20992,"ignition":57,"odometer":null,"unknown_45":3295157212523460608}} 
[2026-11-04 09:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":232430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:19:26] local.INFO: GPS data processed {"connection_id":232430,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:19:26] local.INFO: Acknowledgment sent {"connection_id":232430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:19:46] local.INFO: TCP Data received {"connection_id":228807,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4abfbe8012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4abfbe8012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:19:46] local.INFO: Processing buffer {"connection_id":228807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4abfbe8012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:19:46] local.INFO: Packet analysis {"connection_id":228807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ab"} 
[2026-11-04 09:19:46] local.INFO: Extracted packet for processing {"connection_id":228807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ab"} 
[2026-11-04 09:19:46] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203603456001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793764097000,"timestamp_ms":1793764097000,"timestamp_seconds":1793764097,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4abfbe8"} 
[2026-11-04 09:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 09:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203603456001,"66":28354,"58":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203603456001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:19:46] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203603456001,"power":28354,"unknown_58":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":228807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:19:46] local.INFO: GPS data processed {"connection_id":228807,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:19:46] local.INFO: Acknowledgment sent {"connection_id":228807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:20:07] local.INFO: TCP Data received {"connection_id":229304,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:07] local.INFO: Processing buffer {"connection_id":229304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:07] local.INFO: IMEI packet received {"connection_id":229304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":229304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:20:07] local.INFO: TCP Data received {"connection_id":229304,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:07] local.INFO: Processing buffer {"connection_id":229304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:07] local.INFO: IMEI packet received {"connection_id":229304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":229304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:20:09] local.INFO: TCP Data received {"connection_id":230585,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:20:09] local.INFO: Processing buffer {"connection_id":230585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:20:09] local.INFO: IMEI packet received {"connection_id":230585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":230585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:20:14] local.INFO: TCP Data received {"connection_id":230585,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:20:14] local.INFO: Processing buffer {"connection_id":230585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:20:14] local.INFO: IMEI packet received {"connection_id":230585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":230585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:20:16] local.INFO: TCP Data received {"connection_id":230585,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ac4df0012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ac4df0012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:20:16] local.INFO: Processing buffer {"connection_id":230585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ac4df0012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:20:16] local.INFO: Packet analysis {"connection_id":230585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:16] local.INFO: Extracted packet for processing {"connection_id":230585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:16] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203608832001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793764118000,"timestamp_ms":1793764118000,"timestamp_seconds":1793764118,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ac4df0"} 
[2026-11-04 09:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:20: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-11-04 09: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-11-04 09:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203608832001,"66":28430,"58":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203608832001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:20:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203608832001,"power":28430,"unknown_58":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":230585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:20:16] local.INFO: GPS data processed {"connection_id":230585,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:20:16] local.INFO: Acknowledgment sent {"connection_id":230585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:20:18] local.INFO: TCP Data received {"connection_id":229304,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:18] local.INFO: Processing buffer {"connection_id":229304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:20:18] local.INFO: IMEI packet received {"connection_id":229304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":229304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:20:20] local.INFO: TCP Data received {"connection_id":229304,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4acced8012d2e6dc006b9f940001c009f29..."} 
[2026-11-04 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4acced8012d2e6dc006b9f940001c009f29..."} 
[2026-11-04 09:20:20] local.INFO: Processing buffer {"connection_id":229304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4acced8012d2e6dc006b9f940001c009f29..."} 
[2026-11-04 09:20:20] local.INFO: Packet analysis {"connection_id":229304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:20] local.INFO: Extracted packet for processing {"connection_id":229304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758017472,"raw_latitude":112851264,"longitude_deg":75.8017472,"latitude_deg":11.2851264,"altitude":28,"angle":159,"satellites":41,"speed":60,"hex_longitude":"2d2e6dc0","hex_latitude":"06b9f940","is_valid_coordinates":true} 
[2026-11-04 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203621120001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38745789035446272,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3342163533610229760,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793764151000,"timestamp_ms":1793764151000,"timestamp_seconds":1793764151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4acced8"} 
[2026-11-04 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 09:20:20] 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-11-04 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203621120001,"66":28137,"230":206,"81":23552,"24":60,"16":38745789035446272,"45":3342163533610229760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-11-04 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203621120001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:20:20] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-11-04 09:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38745789035446272,"km_value":38745789035446.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3342163533610229760,"description":"Unknown IO ID 45"} 
[2026-11-04 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203621120001,"power":28137,"unknown_230":206,"unknown_81":23552,"ignition":60,"odometer":null,"unknown_45":3342163533610229760}} 
[2026-11-04 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":229304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:20:20] local.INFO: GPS data processed {"connection_id":229304,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:20:20] local.INFO: Acknowledgment sent {"connection_id":229304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:20:48] local.INFO: TCP Data received {"connection_id":230585,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ac9ff8012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ac9ff8012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:20:48] local.INFO: Processing buffer {"connection_id":230585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ac9ff8012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:20:48] local.INFO: Packet analysis {"connection_id":230585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:48] local.INFO: Extracted packet for processing {"connection_id":230585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:48] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203614208001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793764139000,"timestamp_ms":1793764139000,"timestamp_seconds":1793764139,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ac9ff8"} 
[2026-11-04 09:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:20:48] 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-11-04 09: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-11-04 09:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203614208001,"66":28517,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203614208001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:20:48] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203614208001,"power":28517,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":230585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:20:48] local.INFO: GPS data processed {"connection_id":230585,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:20:48] local.INFO: Acknowledgment sent {"connection_id":230585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:20:51] local.INFO: TCP Data received {"connection_id":229304,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4acea30012d2e7dc006b9d580001b009d2b..."} 
[2026-11-04 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4acea30012d2e7dc006b9d580001b009d2b..."} 
[2026-11-04 09:20:51] local.INFO: Processing buffer {"connection_id":229304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4acea30012d2e7dc006b9d580001b009d2b..."} 
[2026-11-04 09:20:51] local.INFO: Packet analysis {"connection_id":229304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:51] local.INFO: Extracted packet for processing {"connection_id":229304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758021568,"raw_latitude":112842112,"longitude_deg":75.8021568,"latitude_deg":11.2842112,"altitude":27,"angle":157,"satellites":43,"speed":53,"hex_longitude":"2d2e7dc0","hex_latitude":"06b9d580","is_valid_coordinates":true} 
[2026-11-04 09:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203622656001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38746270071783424,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3345541233328603136,"note":"Value kept but may cause issues"} 
[2026-11-04 09:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793764158000,"timestamp_ms":1793764158000,"timestamp_seconds":1793764158,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4acea30"} 
[2026-11-04 09:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 09:20:51] 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-11-04 09:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203622656001,"66":28104,"230":206,"81":23552,"24":53,"16":38746270071783424,"45":3345541233328603136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-11-04 09:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203622656001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:20:51] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-11-04 09:20:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38746270071783424,"km_value":38746270071783.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3345541233328603136,"description":"Unknown IO ID 45"} 
[2026-11-04 09:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203622656001,"power":28104,"unknown_230":206,"unknown_81":23552,"ignition":53,"odometer":null,"unknown_45":3345541233328603136}} 
[2026-11-04 09:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":229304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:20:51] local.INFO: GPS data processed {"connection_id":229304,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:20:51] local.INFO: Acknowledgment sent {"connection_id":229304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:21:07] local.INFO: TCP Data received {"connection_id":228808,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:07] local.INFO: Processing buffer {"connection_id":228808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:07] local.INFO: IMEI packet received {"connection_id":228808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":228808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:21:09] local.INFO: TCP Data received {"connection_id":232431,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:21:09] local.INFO: Processing buffer {"connection_id":232431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:21:09] local.INFO: IMEI packet received {"connection_id":232431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":232431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:21:09] local.INFO: TCP Data received {"connection_id":228808,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:09] local.INFO: Processing buffer {"connection_id":228808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:09] local.INFO: IMEI packet received {"connection_id":228808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":228808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:21:14] local.INFO: TCP Data received {"connection_id":228808,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:14] local.INFO: Processing buffer {"connection_id":228808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:21:14] local.INFO: IMEI packet received {"connection_id":228808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":228808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:21:14] local.INFO: TCP Data received {"connection_id":232431,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:21:14] local.INFO: Processing buffer {"connection_id":232431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:21:14] local.INFO: IMEI packet received {"connection_id":232431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":232431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:21:15] local.INFO: TCP Data received {"connection_id":228808,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4acfdb8012d2e8bc006b9bc80001800912b..."} 
[2026-11-04 09:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4acfdb8012d2e8bc006b9bc80001800912b..."} 
[2026-11-04 09:21:15] local.INFO: Processing buffer {"connection_id":228808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4acfdb8012d2e8bc006b9bc80001800912b..."} 
[2026-11-04 09:21:15] local.INFO: Packet analysis {"connection_id":228808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:21:15] local.INFO: Extracted packet for processing {"connection_id":228808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758025152,"raw_latitude":112835712,"longitude_deg":75.8025152,"latitude_deg":11.2835712,"altitude":24,"angle":145,"satellites":43,"speed":62,"hex_longitude":"2d2e8bc0","hex_latitude":"06b9bc80","is_valid_coordinates":true} 
[2026-11-04 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203624448001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38746626554068992,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3350044832953630720,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793764163000,"timestamp_ms":1793764163000,"timestamp_seconds":1793764163,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4acfdb8"} 
[2026-11-04 09:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 09:21:15] 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-11-04 09:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203624448001,"66":28104,"230":206,"81":23552,"24":62,"16":38746626554068992,"45":3350044832953630720},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,81,24,16,45]} 
[2026-11-04 09:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203624448001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:21:15] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-11-04 09:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38746626554068992,"km_value":38746626554068.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3350044832953630720,"description":"Unknown IO ID 45"} 
[2026-11-04 09:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203624448001,"power":28104,"unknown_230":206,"unknown_81":23552,"ignition":62,"odometer":null,"unknown_45":3350044832953630720}} 
[2026-11-04 09:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":228808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:21:15] local.INFO: GPS data processed {"connection_id":228808,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:21:15] local.INFO: Acknowledgment sent {"connection_id":228808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:21:16] local.INFO: TCP Data received {"connection_id":232431,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4acf200012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4acf200012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:21:16] local.INFO: Processing buffer {"connection_id":232431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4acf200012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:21:16] local.INFO: Packet analysis {"connection_id":232431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:21:16] local.INFO: Extracted packet for processing {"connection_id":232431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ac"} 
[2026-11-04 09:21:16] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203619584001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793764160000,"timestamp_ms":1793764160000,"timestamp_seconds":1793764160,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4acf200"} 
[2026-11-04 09:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":101,"data_length":795,"current_offset":136} 
[2026-11-04 09:21:16] 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-11-04 09: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-11-04 09:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203619584001,"66":28452,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203619584001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:21:16] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203619584001,"power":28452,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":232431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:21:16] local.INFO: GPS data processed {"connection_id":232431,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:21:16] local.INFO: Acknowledgment sent {"connection_id":232431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:21:37] local.INFO: TCP Data received {"connection_id":230586,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:37] local.INFO: Processing buffer {"connection_id":230586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:37] local.INFO: IMEI packet received {"connection_id":230586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":230586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:21:38] local.INFO: TCP Data received {"connection_id":230586,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:38] local.INFO: Processing buffer {"connection_id":230586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:38] local.INFO: IMEI packet received {"connection_id":230586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":230586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:21:39] local.INFO: TCP Data received {"connection_id":230586,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:39] local.INFO: Processing buffer {"connection_id":230586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:39] local.INFO: IMEI packet received {"connection_id":230586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":230586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:21:42] local.INFO: TCP Data received {"connection_id":230586,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230586,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:42] local.INFO: Processing buffer {"connection_id":230586,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:21:42] local.INFO: IMEI packet received {"connection_id":230586,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":230586,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:21:46] local.INFO: TCP Data received {"connection_id":228808,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ae6518012d2f938006b7d6500007009c2e..."} 
[2026-11-04 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ae6518012d2f938006b7d6500007009c2e..."} 
[2026-11-04 09:21:46] local.INFO: Processing buffer {"connection_id":228808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ae6518012d2f938006b7d6500007009c2e..."} 
[2026-11-04 09:21:46] local.INFO: Packet analysis {"connection_id":228808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:21:46] local.INFO: Extracted packet for processing {"connection_id":228808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758092672,"raw_latitude":112711248,"longitude_deg":75.8092672,"latitude_deg":11.2711248,"altitude":7,"angle":156,"satellites":46,"speed":59,"hex_longitude":"2d2f9380","hex_latitude":"06b7d650","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203647744001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38753468436971520,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3424143120541298688,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793764255000,"timestamp_ms":1793764255000,"timestamp_seconds":1793764255,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ae6518"} 
[2026-11-04 09:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 09:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203647744001,"66":27995,"128":206,"81":23552,"24":59,"16":38753468436971520,"45":3424143120541298688},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-11-04 09:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203647744001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:21:46] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 09:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38753468436971520,"km_value":38753468436971.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3424143120541298688,"description":"Unknown IO ID 45"} 
[2026-11-04 09:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203647744001,"power":27995,"unknown_128":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3424143120541298688}} 
[2026-11-04 09:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":228808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:21:46] local.INFO: GPS data processed {"connection_id":228808,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:21:46] local.INFO: Acknowledgment sent {"connection_id":228808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:21:49] local.INFO: TCP Data received {"connection_id":232431,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ad4408012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ad4408012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:21:49] local.INFO: Processing buffer {"connection_id":232431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ad4408012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:21:49] local.INFO: Packet analysis {"connection_id":232431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ad"} 
[2026-11-04 09:21:49] local.INFO: Extracted packet for processing {"connection_id":232431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ad"} 
[2026-11-04 09:21:49] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203624960001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793764181000,"timestamp_ms":1793764181000,"timestamp_seconds":1793764181,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ad4408"} 
[2026-11-04 09:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:21: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-11-04 09: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-11-04 09:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203624960001,"66":28485,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203624960001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:21:49] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203624960001,"power":28485,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":232431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:21:49] local.INFO: GPS data processed {"connection_id":232431,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:21:49] local.INFO: Acknowledgment sent {"connection_id":232431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:22:14] local.INFO: TCP Data received {"connection_id":232432,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:22:14] local.INFO: Processing buffer {"connection_id":232432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:22:14] local.INFO: IMEI packet received {"connection_id":232432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":232432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:22:17] local.INFO: TCP Data received {"connection_id":232433,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:17] local.INFO: Processing buffer {"connection_id":232433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:17] local.INFO: IMEI packet received {"connection_id":232433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":232433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:22:17] local.INFO: TCP Data received {"connection_id":232433,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:17] local.INFO: Processing buffer {"connection_id":232433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:17] local.INFO: IMEI packet received {"connection_id":232433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":232433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:22:19] local.INFO: TCP Data received {"connection_id":232432,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:22:19] local.INFO: Processing buffer {"connection_id":232432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:22:19] local.INFO: IMEI packet received {"connection_id":232432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":232432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:22:20] local.INFO: TCP Data received {"connection_id":232432,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ad9610012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ad9610012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:22:20] local.INFO: Processing buffer {"connection_id":232432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ad9610012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:22:20] local.INFO: Packet analysis {"connection_id":232432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ad"} 
[2026-11-04 09:22:20] local.INFO: Extracted packet for processing {"connection_id":232432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ad"} 
[2026-11-04 09:22:20] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203630336001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793764202000,"timestamp_ms":1793764202000,"timestamp_seconds":1793764202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ad9610"} 
[2026-11-04 09:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 09:22:20] 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-11-04 09: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-11-04 09:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203630336001,"66":28398,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203630336001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:22:20] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203630336001,"power":28398,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":232432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:22:20] local.INFO: GPS data processed {"connection_id":232432,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:22:20] local.INFO: Acknowledgment sent {"connection_id":232432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:22:22] local.INFO: TCP Data received {"connection_id":232433,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:22] local.INFO: Processing buffer {"connection_id":232433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:22:22] local.INFO: IMEI packet received {"connection_id":232433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":232433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:22:23] local.INFO: TCP Data received {"connection_id":232433,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ae7c88012d2fa04006b7b5d8000700a02f..."} 
[2026-11-04 09:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ae7c88012d2fa04006b7b5d8000700a02f..."} 
[2026-11-04 09:22:23] local.INFO: Processing buffer {"connection_id":232433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ae7c88012d2fa04006b7b5d8000700a02f..."} 
[2026-11-04 09:22:23] local.INFO: Packet analysis {"connection_id":232433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:22:23] local.INFO: Extracted packet for processing {"connection_id":232433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758095936,"raw_latitude":112702936,"longitude_deg":75.8095936,"latitude_deg":11.2702936,"altitude":7,"angle":160,"satellites":47,"speed":59,"hex_longitude":"2d2fa040","hex_latitude":"06b7b5d8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203649280001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38753902228668416,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3428224507701514240,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793764261000,"timestamp_ms":1793764261000,"timestamp_seconds":1793764261,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ae7c88"} 
[2026-11-04 09:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:22:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 09:22:23] 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-11-04 09: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-11-04 09:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203649280001,"66":27865,"128":206,"81":23552,"24":59,"16":38753902228668416,"45":3428224507701514240},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,81,24,16,45]} 
[2026-11-04 09:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203649280001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:22:23] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-11-04 09:22:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38753902228668416,"km_value":38753902228668.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3428224507701514240,"description":"Unknown IO ID 45"} 
[2026-11-04 09:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203649280001,"power":27865,"unknown_128":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3428224507701514240}} 
[2026-11-04 09:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":232433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:22:23] local.INFO: GPS data processed {"connection_id":232433,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:22:23] local.INFO: Acknowledgment sent {"connection_id":232433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:22:25] local.INFO: TCP Data received {"connection_id":232432,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ade818012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ade818012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:22:25] local.INFO: Processing buffer {"connection_id":232432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ade818012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:22:25] local.INFO: Packet analysis {"connection_id":232432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ad"} 
[2026-11-04 09:22:25] local.INFO: Extracted packet for processing {"connection_id":232432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ad"} 
[2026-11-04 09:22:25] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203635712001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793764223000,"timestamp_ms":1793764223000,"timestamp_seconds":1793764223,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ade818"} 
[2026-11-04 09:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:22:25] 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-11-04 09: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-11-04 09:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203635712001,"66":28430,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203635712001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:22:25] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203635712001,"power":28430,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":232432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:22:25] local.INFO: GPS data processed {"connection_id":232432,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:22:25] local.INFO: Acknowledgment sent {"connection_id":232432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:23:07] local.INFO: TCP Data received {"connection_id":230587,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:07] local.INFO: Processing buffer {"connection_id":230587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:07] local.INFO: IMEI packet received {"connection_id":230587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":230587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:23:09] local.INFO: TCP Data received {"connection_id":230587,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:09] local.INFO: Processing buffer {"connection_id":230587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:09] local.INFO: IMEI packet received {"connection_id":230587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":230587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:23:14] local.INFO: TCP Data received {"connection_id":230587,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:14] local.INFO: Processing buffer {"connection_id":230587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:23:14] local.INFO: IMEI packet received {"connection_id":230587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":230587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:23:15] local.INFO: TCP Data received {"connection_id":230587,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ae3a20012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ae3a20012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:23:15] local.INFO: Processing buffer {"connection_id":230587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ae3a20012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:23:15] local.INFO: Packet analysis {"connection_id":230587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:23:15] local.INFO: Extracted packet for processing {"connection_id":230587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203641088001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793764244000,"timestamp_ms":1793764244000,"timestamp_seconds":1793764244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ae3a20"} 
[2026-11-04 09:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:23:15] 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-11-04 09:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203641088001,"66":28452,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203641088001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:23:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203641088001,"power":28452,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":230587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:23:15] local.INFO: GPS data processed {"connection_id":230587,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:23:15] local.INFO: Acknowledgment sent {"connection_id":230587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:23:27] local.INFO: TCP Data received {"connection_id":230588,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:23:27] local.INFO: Processing buffer {"connection_id":230588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:23:27] local.INFO: IMEI packet received {"connection_id":230588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":230588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:23:28] local.INFO: TCP Data received {"connection_id":230588,"ip":"42.109.136.4","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 09:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230588,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 09:23:28] local.INFO: Processing buffer {"connection_id":230588,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 09:23:28] local.INFO: IMEI packet received {"connection_id":230588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":230588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:23:46] local.INFO: TCP Data received {"connection_id":230587,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ae8c28012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ae8c28012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:23:46] local.INFO: Processing buffer {"connection_id":230587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ae8c28012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:23:46] local.INFO: Packet analysis {"connection_id":230587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:23:46] local.INFO: Extracted packet for processing {"connection_id":230587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203646464001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793764265000,"timestamp_ms":1793764265000,"timestamp_seconds":1793764265,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ae8c28"} 
[2026-11-04 09:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:23: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-11-04 09:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203646464001,"66":28430,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203646464001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:23:46] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203646464001,"power":28430,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":230587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:23:47] local.INFO: GPS data processed {"connection_id":230587,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:23:47] local.INFO: Acknowledgment sent {"connection_id":230587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:24:09] local.INFO: TCP Data received {"connection_id":228809,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:09] local.INFO: Processing buffer {"connection_id":228809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:09] local.INFO: IMEI packet received {"connection_id":228809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":228809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:24:10] local.INFO: TCP Data received {"connection_id":228809,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:10] local.INFO: Processing buffer {"connection_id":228809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:10] local.INFO: IMEI packet received {"connection_id":228809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":228809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:24:14] local.INFO: TCP Data received {"connection_id":228809,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:14] local.INFO: Processing buffer {"connection_id":228809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:24:14] local.INFO: IMEI packet received {"connection_id":228809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":228809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:24:15] local.INFO: TCP Data received {"connection_id":228809,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4aede30012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4aede30012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:24:15] local.INFO: Processing buffer {"connection_id":228809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4aede30012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:24:15] local.INFO: Packet analysis {"connection_id":228809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:24:15] local.INFO: Extracted packet for processing {"connection_id":228809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ae"} 
[2026-11-04 09:24:15] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203651840001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793764286000,"timestamp_ms":1793764286000,"timestamp_seconds":1793764286,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4aede30"} 
[2026-11-04 09:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:24:15] 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-11-04 09: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-11-04 09:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203651840001,"66":28452,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203651840001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:24:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203651840001,"power":28452,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":228809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:24:15] local.INFO: GPS data processed {"connection_id":228809,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:24:15] local.INFO: Acknowledgment sent {"connection_id":228809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:24:47] local.INFO: TCP Data received {"connection_id":228809,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4af3038012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4af3038012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:24:47] local.INFO: Processing buffer {"connection_id":228809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4af3038012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:24:47] local.INFO: Packet analysis {"connection_id":228809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4af"} 
[2026-11-04 09:24:47] local.INFO: Extracted packet for processing {"connection_id":228809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4af"} 
[2026-11-04 09:24:47] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203657216001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793764307000,"timestamp_ms":1793764307000,"timestamp_seconds":1793764307,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4af3038"} 
[2026-11-04 09:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:24: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-11-04 09: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-11-04 09:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203657216001,"66":28430,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203657216001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:24:47] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203657216001,"power":28430,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":228809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:24:48] local.INFO: GPS data processed {"connection_id":228809,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:24:48] local.INFO: Acknowledgment sent {"connection_id":228809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:25:09] local.INFO: TCP Data received {"connection_id":232436,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:25:09] local.INFO: Processing buffer {"connection_id":232436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:25:09] local.INFO: IMEI packet received {"connection_id":232436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":232436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:25:13] local.INFO: TCP Data received {"connection_id":232436,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:25:13] local.INFO: Processing buffer {"connection_id":232436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:25:13] local.INFO: IMEI packet received {"connection_id":232436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":232436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:25:14] local.INFO: TCP Data received {"connection_id":232436,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4af8240012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4af8240012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:25:14] local.INFO: Processing buffer {"connection_id":232436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4af8240012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:25:14] local.INFO: Packet analysis {"connection_id":232436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4af"} 
[2026-11-04 09:25:14] local.INFO: Extracted packet for processing {"connection_id":232436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4af"} 
[2026-11-04 09:25:14] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203662592001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793764328000,"timestamp_ms":1793764328000,"timestamp_seconds":1793764328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4af8240"} 
[2026-11-04 09:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:25:14] 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-11-04 09: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-11-04 09:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203662592001,"66":28517,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203662592001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:25:14] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203662592001,"power":28517,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":232436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:25:14] local.INFO: GPS data processed {"connection_id":232436,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:25:14] local.INFO: Acknowledgment sent {"connection_id":232436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:25:45] local.INFO: TCP Data received {"connection_id":232436,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4afd448012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4afd448012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:25:45] local.INFO: Processing buffer {"connection_id":232436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4afd448012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:25:45] local.INFO: Packet analysis {"connection_id":232436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4af"} 
[2026-11-04 09:25:45] local.INFO: Extracted packet for processing {"connection_id":232436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4af"} 
[2026-11-04 09:25:45] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203667968001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793764349000,"timestamp_ms":1793764349000,"timestamp_seconds":1793764349,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4afd448"} 
[2026-11-04 09:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-04 09:25:45] 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-11-04 09: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-11-04 09:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203667968001,"66":28485,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203667968001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:25:45] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203667968001,"power":28485,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":232436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:25:45] local.INFO: GPS data processed {"connection_id":232436,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:25:45] local.INFO: Acknowledgment sent {"connection_id":232436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:26:09] local.INFO: TCP Data received {"connection_id":232438,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:26:09] local.INFO: Processing buffer {"connection_id":232438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:26:09] local.INFO: IMEI packet received {"connection_id":232438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":232438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:26:14] local.INFO: TCP Data received {"connection_id":232438,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:26:14] local.INFO: Processing buffer {"connection_id":232438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:26:14] local.INFO: IMEI packet received {"connection_id":232438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":232438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:26:15] local.INFO: TCP Data received {"connection_id":232438,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b02650012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b02650012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:26:15] local.INFO: Processing buffer {"connection_id":232438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b02650012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:26:15] local.INFO: Packet analysis {"connection_id":232438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b0"} 
[2026-11-04 09:26:15] local.INFO: Extracted packet for processing {"connection_id":232438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b0"} 
[2026-11-04 09:26:15] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203673344001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793764370000,"timestamp_ms":1793764370000,"timestamp_seconds":1793764370,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b02650"} 
[2026-11-04 09:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 09:26:15] 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-11-04 09: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-11-04 09:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203673344001,"66":28517,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203673344001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:26:15] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203673344001,"power":28517,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":232438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:26:15] local.INFO: GPS data processed {"connection_id":232438,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:26:15] local.INFO: Acknowledgment sent {"connection_id":232438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:26:44] local.INFO: TCP Data received {"connection_id":232439,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:44] local.INFO: Processing buffer {"connection_id":232439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:44] local.INFO: IMEI packet received {"connection_id":232439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":232439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:26:44] local.INFO: TCP Data received {"connection_id":232439,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:44] local.INFO: Processing buffer {"connection_id":232439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:44] local.INFO: IMEI packet received {"connection_id":232439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":232439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:26:45] local.INFO: TCP Data received {"connection_id":232439,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:45] local.INFO: Processing buffer {"connection_id":232439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:45] local.INFO: IMEI packet received {"connection_id":232439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":232439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:26:47] local.INFO: TCP Data received {"connection_id":232438,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b07858012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b07858012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:26:47] local.INFO: Processing buffer {"connection_id":232438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b07858012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:26:47] local.INFO: Packet analysis {"connection_id":232438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b0"} 
[2026-11-04 09:26:47] local.INFO: Extracted packet for processing {"connection_id":232438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b0"} 
[2026-11-04 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203678720001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793764391000,"timestamp_ms":1793764391000,"timestamp_seconds":1793764391,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b07858"} 
[2026-11-04 09:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-04 09:26:47] 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-11-04 09: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-11-04 09:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203678720001,"66":28452,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203678720001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:26:47] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203678720001,"power":28452,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":232438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:26:47] local.INFO: GPS data processed {"connection_id":232438,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:26:47] local.INFO: Acknowledgment sent {"connection_id":232438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:26:48] local.INFO: TCP Data received {"connection_id":232439,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232439,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:48] local.INFO: Processing buffer {"connection_id":232439,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:26:48] local.INFO: IMEI packet received {"connection_id":232439,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":232439,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:26:49] local.INFO: TCP Data received {"connection_id":232439,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b3a8c0012d0ca8c00705da980018014525..."} 
[2026-11-04 09:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b3a8c0012d0ca8c00705da980018014525..."} 
[2026-11-04 09:26:49] local.INFO: Processing buffer {"connection_id":232439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b3a8c0012d0ca8c00705da980018014525..."} 
[2026-11-04 09:26:49] local.INFO: Packet analysis {"connection_id":232439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:26:49] local.INFO: Extracted packet for processing {"connection_id":232439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:26:49] local.INFO: GPS Element Parsed {"raw_longitude":755804352,"raw_latitude":117824152,"longitude_deg":75.5804352,"latitude_deg":11.7824152,"altitude":24,"angle":325,"satellites":37,"speed":13,"hex_longitude":"2d0ca8c0","hex_latitude":"0705da98","is_valid_coordinates":true} 
[2026-11-04 09:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203735040001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39207094292840448,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915638129402058752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793764600000,"timestamp_ms":1793764600000,"timestamp_seconds":1793764600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b3a8c0"} 
[2026-11-04 09:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:26: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-11-04 09:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-11-04 09:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203735040001,"66":14407,"219":206,"28":32256,"24":13,"16":39207094292840448,"45":915638129402058752},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-11-04 09:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203735040001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:26:49] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 09:26:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39207094292840448,"km_value":39207094292840.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":915638129402058752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203735040001,"power":14407,"unknown_219":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":915638129402058752}} 
[2026-11-04 09:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":232439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58475,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:26:49] local.INFO: GPS data processed {"connection_id":232439,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:26:49] local.INFO: Acknowledgment sent {"connection_id":232439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:27:19] local.INFO: TCP Data received {"connection_id":230590,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:19] local.INFO: Processing buffer {"connection_id":230590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:19] local.INFO: IMEI packet received {"connection_id":230590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":230590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:27:20] local.INFO: TCP Data received {"connection_id":230590,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:20] local.INFO: Processing buffer {"connection_id":230590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:20] local.INFO: IMEI packet received {"connection_id":230590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":230590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:27:24] local.INFO: TCP Data received {"connection_id":230590,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:24] local.INFO: Processing buffer {"connection_id":230590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:27:24] local.INFO: IMEI packet received {"connection_id":230590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":230590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:27:24] local.INFO: TCP Data received {"connection_id":232439,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b3b090012d0ca7800705dc480018015225..."} 
[2026-11-04 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b3b090012d0ca7800705dc480018015225..."} 
[2026-11-04 09:27:24] local.INFO: Processing buffer {"connection_id":232439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b3b090012d0ca7800705dc480018015225..."} 
[2026-11-04 09:27:24] local.INFO: Packet analysis {"connection_id":232439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:27:24] local.INFO: Extracted packet for processing {"connection_id":232439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:27:24] local.INFO: GPS Element Parsed {"raw_longitude":755804032,"raw_latitude":117824584,"longitude_deg":75.5804032,"latitude_deg":11.7824584,"altitude":24,"angle":338,"satellites":37,"speed":7,"hex_longitude":"2d0ca780","hex_latitude":"0705dc48","is_valid_coordinates":true} 
[2026-11-04 09:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203737600001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39207120062644224,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912190060938041344,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793764602000,"timestamp_ms":1793764602000,"timestamp_seconds":1793764602,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b3b090"} 
[2026-11-04 09:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 09:27: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-11-04 09:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232439,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203737600001,"66":14102,"219":206,"28":32256,"24":7,"16":39207120062644224,"45":912190060938041344},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-11-04 09:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203737600001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:27:24] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 09:27:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39207120062644224,"km_value":39207120062644.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":912190060938041344,"description":"Unknown IO ID 45"} 
[2026-11-04 09:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203737600001,"power":14102,"unknown_219":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":912190060938041344}} 
[2026-11-04 09:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":232439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:27:25] local.INFO: GPS data processed {"connection_id":232439,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:27:25] local.INFO: Acknowledgment sent {"connection_id":232439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:27:26] local.INFO: TCP Data received {"connection_id":230590,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b0ca60012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b0ca60012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:27:26] local.INFO: Processing buffer {"connection_id":230590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b0ca60012d0d60c006ea1c30000d000127..."} 
[2026-11-04 09:27:26] local.INFO: Packet analysis {"connection_id":230590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b0"} 
[2026-11-04 09:27:26] local.INFO: Extracted packet for processing {"connection_id":230590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b0"} 
[2026-11-04 09:27:26] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116005936,"longitude_deg":75.5851456,"latitude_deg":11.6005936,"altitude":13,"angle":1,"satellites":39,"speed":0,"hex_longitude":"2d0d60c0","hex_latitude":"06ea1c30","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203684096001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20348936573157376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456187338752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793764412000,"timestamp_ms":1793764412000,"timestamp_seconds":1793764412,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b0ca60"} 
[2026-11-04 09:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:27:26] 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-11-04 09: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-11-04 09:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203684096001,"66":28071,"41":206,"2":56576,"24":0,"16":20348936573157376,"45":963981456187338752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-11-04 09:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203684096001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:27:26] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 09:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20348936573157376,"km_value":20348936573157.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456187338752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203684096001,"power":28071,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":963981456187338752}} 
[2026-11-04 09:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":230590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:27:26] local.INFO: GPS data processed {"connection_id":230590,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:27:26] local.INFO: Acknowledgment sent {"connection_id":230590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:27:43] local.INFO: TCP Data received {"connection_id":228811,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:27:43] local.INFO: Processing buffer {"connection_id":228811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:27:43] local.INFO: IMEI packet received {"connection_id":228811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":228811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:27:49] local.INFO: TCP Data received {"connection_id":228811,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:27:49] local.INFO: Processing buffer {"connection_id":228811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:27:49] local.INFO: IMEI packet received {"connection_id":228811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":228811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:27:50] local.INFO: TCP Data received {"connection_id":228811,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b3b478012d0ca7400705dcd00018015e24..."} 
[2026-11-04 09:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b3b478012d0ca7400705dcd00018015e24..."} 
[2026-11-04 09:27:50] local.INFO: Processing buffer {"connection_id":228811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b3b478012d0ca7400705dcd00018015e24..."} 
[2026-11-04 09:27:50] local.INFO: Packet analysis {"connection_id":228811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:27:50] local.INFO: Extracted packet for processing {"connection_id":228811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:27:50] local.INFO: GPS Element Parsed {"raw_longitude":755803968,"raw_latitude":117824720,"longitude_deg":75.5803968,"latitude_deg":11.782472,"altitude":24,"angle":350,"satellites":36,"speed":6,"hex_longitude":"2d0ca740","hex_latitude":"0705dcd0","is_valid_coordinates":true} 
[2026-11-04 09:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203738112001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39207128652578816,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911838217217263616,"note":"Value kept but may cause issues"} 
[2026-11-04 09:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793764603000,"timestamp_ms":1793764603000,"timestamp_seconds":1793764603,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b3b478"} 
[2026-11-04 09:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:27: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-11-04 09:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 09:27:50] 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-11-04 09:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203738112001,"66":14102,"219":206,"28":32256,"24":6,"16":39207128652578816,"45":911838217217263616},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-11-04 09:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203738112001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:27:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 09:27:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39207128652578816,"km_value":39207128652578.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":911838217217263616,"description":"Unknown IO ID 45"} 
[2026-11-04 09:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203738112001,"power":14102,"unknown_219":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":911838217217263616}} 
[2026-11-04 09:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":228811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:27:51] local.INFO: GPS data processed {"connection_id":228811,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:27:51] local.INFO: Acknowledgment sent {"connection_id":228811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:28:07] local.INFO: TCP Data received {"connection_id":232440,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:07] local.INFO: Processing buffer {"connection_id":232440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:07] local.INFO: IMEI packet received {"connection_id":232440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":232440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:28:09] local.INFO: TCP Data received {"connection_id":232440,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:09] local.INFO: Processing buffer {"connection_id":232440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:09] local.INFO: IMEI packet received {"connection_id":232440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":232440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:28:18] local.INFO: TCP Data received {"connection_id":232440,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232440,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:18] local.INFO: Processing buffer {"connection_id":232440,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:28:18] local.INFO: IMEI packet received {"connection_id":232440,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":232440,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:28:23] local.INFO: TCP Data received {"connection_id":228811,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b3c030012d0ca6800705def80018015226..."} 
[2026-11-04 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b3c030012d0ca6800705def80018015226..."} 
[2026-11-04 09:28:23] local.INFO: Processing buffer {"connection_id":228811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b3c030012d0ca6800705def80018015226..."} 
[2026-11-04 09:28:23] local.INFO: Packet analysis {"connection_id":228811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:28:23] local.INFO: Extracted packet for processing {"connection_id":228811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b3"} 
[2026-11-04 09:28:23] local.INFO: GPS Element Parsed {"raw_longitude":755803776,"raw_latitude":117825272,"longitude_deg":75.5803776,"latitude_deg":11.7825272,"altitude":24,"angle":338,"satellites":38,"speed":11,"hex_longitude":"2d0ca680","hex_latitude":"0705def8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203738368001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39207158717349888,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911767848473120768,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793764606000,"timestamp_ms":1793764606000,"timestamp_seconds":1793764606,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b3c030"} 
[2026-11-04 09:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:28: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-11-04 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 09:28: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-11-04 09: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-11-04 09:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203738368001,"66":14363,"219":206,"28":32256,"24":11,"16":39207158717349888,"45":911767848473120768},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-11-04 09:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203738368001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:28:23] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 09:28:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39207158717349888,"km_value":39207158717349.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":911767848473120768,"description":"Unknown IO ID 45"} 
[2026-11-04 09:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203738368001,"power":14363,"unknown_219":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_45":911767848473120768}} 
[2026-11-04 09:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":228811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58479,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:28:23] local.INFO: GPS data processed {"connection_id":228811,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:28:23] local.INFO: Acknowledgment sent {"connection_id":228811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:28:26] local.INFO: TCP Data received {"connection_id":232440,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b41620012d0d5b0006ea57d0000d015e28..."} 
[2026-11-04 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b41620012d0d5b0006ea57d0000d015e28..."} 
[2026-11-04 09:28:26] local.INFO: Processing buffer {"connection_id":232440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b41620012d0d5b0006ea57d0000d015e28..."} 
[2026-11-04 09:28:26] local.INFO: Packet analysis {"connection_id":232440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b4"} 
[2026-11-04 09:28:26] local.INFO: Extracted packet for processing {"connection_id":232440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b4"} 
[2026-11-04 09:28:26] local.INFO: GPS Element Parsed {"raw_longitude":755849984,"raw_latitude":116021200,"longitude_deg":75.5849984,"latitude_deg":11.60212,"altitude":13,"angle":350,"satellites":40,"speed":29,"hex_longitude":"2d0d5b00","hex_latitude":"06ea57d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203741184001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20349984545177600,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963699981212131328,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793764628000,"timestamp_ms":1793764628000,"timestamp_seconds":1793764628,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b41620"} 
[2026-11-04 09:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:28:26] 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-11-04 09: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-11-04 09:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232440,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203741184001,"66":28354,"58":206,"2":56576,"24":29,"16":20349984545177600,"45":963699981212131328},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203741184001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:28:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20349984545177600,"km_value":20349984545177.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":963699981212131328,"description":"Unknown IO ID 45"} 
[2026-11-04 09:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203741184001,"power":28354,"unknown_58":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":963699981212131328}} 
[2026-11-04 09:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":232440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:28:26] local.INFO: GPS data processed {"connection_id":232440,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:28:26] local.INFO: Acknowledgment sent {"connection_id":232440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:28:27] local.INFO: TCP Data received {"connection_id":230591,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:28:27] local.INFO: Processing buffer {"connection_id":230591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:28:27] local.INFO: IMEI packet received {"connection_id":230591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":230591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:28:28] local.INFO: TCP Data received {"connection_id":230591,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b45c70012d35080006b26e400009008030..."} 
[2026-11-04 09:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b45c70012d35080006b26e400009008030..."} 
[2026-11-04 09:28:28] local.INFO: Processing buffer {"connection_id":230591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b45c70012d35080006b26e400009008030..."} 
[2026-11-04 09:28:28] local.INFO: Packet analysis {"connection_id":230591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b4"} 
[2026-11-04 09:28:28] local.INFO: Extracted packet for processing {"connection_id":230591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b4"} 
[2026-11-04 09:28:28] local.INFO: GPS Element Parsed {"raw_longitude":758450176,"raw_latitude":112356928,"longitude_deg":75.8450176,"latitude_deg":11.2356928,"altitude":9,"angle":128,"satellites":48,"speed":61,"hex_longitude":"2d350800","hex_latitude":"06b26e40","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203747840001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38779444399177728,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3813211907008169984,"note":"Value kept but may cause issues"} 
[2026-11-04 09:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793764646000,"timestamp_ms":1793764646000,"timestamp_seconds":1793764646,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b45c70"} 
[2026-11-04 09:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 09:28: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-11-04 09: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-11-04 09:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203747840001,"66":27919,"67":206,"81":23552,"24":61,"16":38779444399177728,"45":3813211907008169984},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,81,24,16,45]} 
[2026-11-04 09:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203747840001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:28:28] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 09:28:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38779444399177728,"km_value":38779444399177.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3813211907008169984,"description":"Unknown IO ID 45"} 
[2026-11-04 09:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203747840001,"power":27919,"unknown_67":206,"unknown_81":23552,"ignition":61,"odometer":null,"unknown_45":3813211907008169984}} 
[2026-11-04 09:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":230591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:28:28] local.INFO: GPS data processed {"connection_id":230591,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:28:28] local.INFO: Acknowledgment sent {"connection_id":230591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:28:49] local.INFO: TCP Data received {"connection_id":232441,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:28:49] local.INFO: Processing buffer {"connection_id":232441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:28:49] local.INFO: IMEI packet received {"connection_id":232441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":232441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:28:52] local.INFO: TCP Data received {"connection_id":232441,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:28:52] local.INFO: Processing buffer {"connection_id":232441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:28:52] local.INFO: IMEI packet received {"connection_id":232441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":232441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:29:01] local.INFO: TCP Data received {"connection_id":232441,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b575b0012d0c4f0007063f100019012928..."} 
[2026-11-04 09:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b575b0012d0c4f0007063f100019012928..."} 
[2026-11-04 09:29:01] local.INFO: Processing buffer {"connection_id":232441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b575b0012d0c4f0007063f100019012928..."} 
[2026-11-04 09:29:01] local.INFO: Packet analysis {"connection_id":232441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b5"} 
[2026-11-04 09:29:01] local.INFO: Extracted packet for processing {"connection_id":232441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b5"} 
[2026-11-04 09:29:01] local.INFO: GPS Element Parsed {"raw_longitude":755781376,"raw_latitude":117849872,"longitude_deg":75.5781376,"latitude_deg":11.7849872,"altitude":25,"angle":297,"satellites":40,"speed":22,"hex_longitude":"2d0c4f00","hex_latitude":"07063f10","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203767040001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39208777920020480,"note":"Value kept but may cause issues"} 
[2026-11-04 09:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531644850176,"note":"Value kept but may cause issues"} 
[2026-11-04 09:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793764718000,"timestamp_ms":1793764718000,"timestamp_seconds":1793764718,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b575b0"} 
[2026-11-04 09:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09: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-11-04 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":232441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":232441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":232441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203767040001,"66":14396,"219":206,"28":32256,"24":22,"16":39208777920020480,"45":888616531644850176},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-11-04 09:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203767040001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:29:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 09:29:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39208777920020480,"km_value":39208777920020.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531644850176,"description":"Unknown IO ID 45"} 
[2026-11-04 09:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203767040001,"power":14396,"unknown_219":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":888616531644850176}} 
[2026-11-04 09:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":232441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:29:01] local.INFO: GPS data processed {"connection_id":232441,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:29:01] local.INFO: Acknowledgment sent {"connection_id":232441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:29:09] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:09] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:09] local.INFO: IMEI packet received {"connection_id":229307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":229307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:29:10] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:10] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:10] local.INFO: IMEI packet received {"connection_id":229307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":229307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:29:23] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:23] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:29:23] local.INFO: IMEI packet received {"connection_id":229307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":229307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:29:26] local.INFO: TCP Data received {"connection_id":229307,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b44118012d0d580006ea7af8001001672c..."} 
[2026-11-04 09:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b44118012d0d580006ea7af8001001672c..."} 
[2026-11-04 09:29:26] local.INFO: Processing buffer {"connection_id":229307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b44118012d0d580006ea7af8001001672c..."} 
[2026-11-04 09:29:26] local.INFO: Packet analysis {"connection_id":229307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b4"} 
[2026-11-04 09:29:26] local.INFO: Extracted packet for processing {"connection_id":229307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b4"} 
[2026-11-04 09:29:26] local.INFO: GPS Element Parsed {"raw_longitude":755849216,"raw_latitude":116030200,"longitude_deg":75.5849216,"latitude_deg":11.60302,"altitude":16,"angle":359,"satellites":44,"speed":32,"hex_longitude":"2d0d5800","hex_latitude":"06ea7af8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203744768001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20350426926809088,"note":"Value kept but may cause issues"} 
[2026-11-04 09:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962362975075160064,"note":"Value kept but may cause issues"} 
[2026-11-04 09:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793764639000,"timestamp_ms":1793764639000,"timestamp_seconds":1793764639,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b44118"} 
[2026-11-04 09:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:29:26] 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-11-04 09: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-11-04 09:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229307,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203744768001,"66":28300,"58":206,"2":56576,"24":32,"16":20350426926809088,"45":962362975075160064},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-11-04 09:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203744768001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:29:26] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 09:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20350426926809088,"km_value":20350426926809.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":962362975075160064,"description":"Unknown IO ID 45"} 
[2026-11-04 09:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203744768001,"power":28300,"unknown_58":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":962362975075160064}} 
[2026-11-04 09:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":229307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:29:26] local.INFO: GPS data processed {"connection_id":229307,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:29:26] local.INFO: Acknowledgment sent {"connection_id":229307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:29:27] local.INFO: TCP Data received {"connection_id":229306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:29:27] local.INFO: Processing buffer {"connection_id":229306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:29:27] local.INFO: IMEI packet received {"connection_id":229306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":229306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:29:38] local.INFO: TCP Data received {"connection_id":229306,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:29:38] local.INFO: Processing buffer {"connection_id":229306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:29:38] local.INFO: IMEI packet received {"connection_id":229306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":229306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:29:44] local.INFO: TCP Data received {"connection_id":232442,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:44] local.INFO: Processing buffer {"connection_id":232442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:44] local.INFO: IMEI packet received {"connection_id":232442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":232442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:29:45] local.INFO: TCP Data received {"connection_id":232442,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:45] local.INFO: Processing buffer {"connection_id":232442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:45] local.INFO: IMEI packet received {"connection_id":232442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":232442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:29:49] local.INFO: TCP Data received {"connection_id":232442,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232442,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:49] local.INFO: Processing buffer {"connection_id":232442,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:29:49] local.INFO: IMEI packet received {"connection_id":232442,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":232442,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:30:06] local.INFO: TCP Data received {"connection_id":232442,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b640d0012d0c4040070644080017006426..."} 
[2026-11-04 09:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b640d0012d0c4040070644080017006426..."} 
[2026-11-04 09:30:06] local.INFO: Processing buffer {"connection_id":232442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b640d0012d0c4040070644080017006426..."} 
[2026-11-04 09:30:06] local.INFO: Packet analysis {"connection_id":232442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:06] local.INFO: Extracted packet for processing {"connection_id":232442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:06] local.INFO: GPS Element Parsed {"raw_longitude":755777600,"raw_latitude":117851144,"longitude_deg":75.57776,"latitude_deg":11.7851144,"altitude":23,"angle":100,"satellites":38,"speed":13,"hex_longitude":"2d0c4040","hex_latitude":"07064408","is_valid_coordinates":true} 
[2026-11-04 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203779840001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39209194531848192,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881368550995288064,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793764770000,"timestamp_ms":1793764770000,"timestamp_seconds":1793764770,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b640d0"} 
[2026-11-04 09:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:30: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-11-04 09:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 09:30:06] 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-11-04 09:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":232442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":232442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":232442,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203779840001,"66":14254,"115":206,"28":32256,"24":13,"16":39209194531848192,"45":881368550995288064},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-11-04 09:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203779840001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39209194531848192,"km_value":39209194531848.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":881368550995288064,"description":"Unknown IO ID 45"} 
[2026-11-04 09:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203779840001,"power":14254,"unknown_115":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":881368550995288064}} 
[2026-11-04 09:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":232442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58484,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:30:06] local.INFO: GPS data processed {"connection_id":232442,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:30:06] local.INFO: Acknowledgment sent {"connection_id":232442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:30:09] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:30:09] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:30:09] local.INFO: IMEI packet received {"connection_id":229308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":229308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:30:12] local.INFO: TCP Data received {"connection_id":232443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:30:12] local.INFO: Processing buffer {"connection_id":232443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:30:12] local.INFO: IMEI packet received {"connection_id":232443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":232443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:30:14] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:30:14] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:30:14] local.INFO: IMEI packet received {"connection_id":229308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":229308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:30:15] local.INFO: TCP Data received {"connection_id":232443,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:30:15] local.INFO: Processing buffer {"connection_id":232443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:30:15] local.INFO: IMEI packet received {"connection_id":232443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":232443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:30:16] local.INFO: TCP Data received {"connection_id":232443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b58168012d36380006b14780000b009f30..."} 
[2026-11-04 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b58168012d36380006b14780000b009f30..."} 
[2026-11-04 09:30:16] local.INFO: Processing buffer {"connection_id":232443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b58168012d36380006b14780000b009f30..."} 
[2026-11-04 09:30:16] local.INFO: Packet analysis {"connection_id":232443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b5"} 
[2026-11-04 09:30:16] local.INFO: Extracted packet for processing {"connection_id":232443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b5"} 
[2026-11-04 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758528000,"raw_latitude":112281472,"longitude_deg":75.8528,"latitude_deg":11.2281472,"altitude":11,"angle":159,"satellites":48,"speed":59,"hex_longitude":"2d363800","hex_latitude":"06b14780","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203767040001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38784834583134208,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3903213530792865792,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793764721000,"timestamp_ms":1793764721000,"timestamp_seconds":1793764721,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b58168"} 
[2026-11-04 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-11-04 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203767040001,"66":27876,"65":206,"81":23552,"24":59,"16":38784834583134208,"45":3903213530792865792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,81,24,16,45]} 
[2026-11-04 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203767040001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:30:16] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-11-04 09:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38784834583134208,"km_value":38784834583134.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3903213530792865792,"description":"Unknown IO ID 45"} 
[2026-11-04 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203767040001,"power":27876,"unknown_65":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3903213530792865792}} 
[2026-11-04 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":232443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:30:16] local.INFO: GPS data processed {"connection_id":232443,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:30:16] local.INFO: Acknowledgment sent {"connection_id":232443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:30:17] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b5d758012d0c98c006eb64100011014b29..."} 
[2026-11-04 09:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b5d758012d0c98c006eb64100011014b29..."} 
[2026-11-04 09:30:17] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b5d758012d0c98c006eb64100011014b29..."} 
[2026-11-04 09:30:17] local.INFO: Packet analysis {"connection_id":229308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b5"} 
[2026-11-04 09:30:17] local.INFO: Extracted packet for processing {"connection_id":229308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b5"} 
[2026-11-04 09:30:17] local.INFO: GPS Element Parsed {"raw_longitude":755800256,"raw_latitude":116089872,"longitude_deg":75.5800256,"latitude_deg":11.6089872,"altitude":17,"angle":331,"satellites":41,"speed":30,"hex_longitude":"2d0c98c0","hex_latitude":"06eb6410","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203771392001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20354236562800640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913808541608224768,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:17] 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-11-04 09:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793764743000,"timestamp_ms":1793764743000,"timestamp_seconds":1793764743,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b5d758"} 
[2026-11-04 09:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:30: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-11-04 09: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-11-04 09:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203771392001,"66":28354,"42":206,"2":56576,"24":30,"16":20354236562800640,"45":913808541608224768},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203771392001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:30:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20354236562800640,"km_value":20354236562800.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":913808541608224768,"description":"Unknown IO ID 45"} 
[2026-11-04 09:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203771392001,"power":28354,"unknown_42":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":913808541608224768}} 
[2026-11-04 09:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":229308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:30:17] local.INFO: GPS data processed {"connection_id":229308,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:30:17] local.INFO: Acknowledgment sent {"connection_id":229308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:30:44] local.INFO: TCP Data received {"connection_id":228812,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:30:44] local.INFO: Processing buffer {"connection_id":228812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:30:44] local.INFO: IMEI packet received {"connection_id":228812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":228812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:30:47] local.INFO: TCP Data received {"connection_id":232443,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b6a278012d36e64006afbea80010009d2f..."} 
[2026-11-04 09:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b6a278012d36e64006afbea80010009d2f..."} 
[2026-11-04 09:30:47] local.INFO: Processing buffer {"connection_id":232443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b6a278012d36e64006afbea80010009d2f..."} 
[2026-11-04 09:30:47] local.INFO: Packet analysis {"connection_id":232443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:47] local.INFO: Extracted packet for processing {"connection_id":232443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:47] local.INFO: GPS Element Parsed {"raw_longitude":758572608,"raw_latitude":112180904,"longitude_deg":75.8572608,"latitude_deg":11.2180904,"altitude":16,"angle":157,"satellites":47,"speed":58,"hex_longitude":"2d36e640","hex_latitude":"06afbea8","is_valid_coordinates":true} 
[2026-11-04 09:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203785984001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38790151752646656,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3951908701737998336,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793764795000,"timestamp_ms":1793764795000,"timestamp_seconds":1793764795,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b6a278"} 
[2026-11-04 09:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:30:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203785984001,"66":27800,"85":206,"81":23552,"24":58,"16":38790151752646656,"45":3951908701737998336},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-11-04 09:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203785984001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:30:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-04 09:30:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38790151752646656,"km_value":38790151752646.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:30:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3951908701737998336,"description":"Unknown IO ID 45"} 
[2026-11-04 09:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203785984001,"power":27800,"unknown_85":206,"unknown_81":23552,"ignition":58,"odometer":null,"unknown_45":3951908701737998336}} 
[2026-11-04 09:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":232443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:30:47] local.INFO: GPS data processed {"connection_id":232443,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:30:47] local.INFO: Acknowledgment sent {"connection_id":232443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:30:51] local.INFO: TCP Data received {"connection_id":228812,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228812,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:30:51] local.INFO: Processing buffer {"connection_id":228812,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:30:51] local.INFO: IMEI packet received {"connection_id":228812,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":228812,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:30:53] local.INFO: TCP Data received {"connection_id":229308,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b615d8012d0c898006eb8430001501412c..."} 
[2026-11-04 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b615d8012d0c898006eb8430001501412c..."} 
[2026-11-04 09:30:53] local.INFO: Processing buffer {"connection_id":229308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b615d8012d0c898006eb8430001501412c..."} 
[2026-11-04 09:30:53] local.INFO: Packet analysis {"connection_id":229308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:53] local.INFO: Extracted packet for processing {"connection_id":229308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":755796352,"raw_latitude":116098096,"longitude_deg":75.5796352,"latitude_deg":11.6098096,"altitude":21,"angle":321,"satellites":44,"speed":21,"hex_longitude":"2d0c8980","hex_latitude":"06eb8430","is_valid_coordinates":true} 
[2026-11-04 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203774208001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20354678944432128,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907686460866695168,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:53] 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-11-04 09:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793764759000,"timestamp_ms":1793764759000,"timestamp_seconds":1793764759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b615d8"} 
[2026-11-04 09:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:30:53] 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-11-04 09:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":229308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":229308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":229308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203774208001,"66":28430,"42":206,"2":56576,"24":21,"16":20354678944432128,"45":907686460866695168},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203774208001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:30:53] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20354678944432128,"km_value":20354678944432.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:30:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":907686460866695168,"description":"Unknown IO ID 45"} 
[2026-11-04 09:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203774208001,"power":28430,"unknown_42":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":907686460866695168}} 
[2026-11-04 09:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":229308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:30:53] local.INFO: GPS data processed {"connection_id":229308,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:30:53] local.INFO: Acknowledgment sent {"connection_id":229308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:30:55] local.INFO: TCP Data received {"connection_id":228812,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b663f8012d0c4e4007064008001a007224..."} 
[2026-11-04 09:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b663f8012d0c4e4007064008001a007224..."} 
[2026-11-04 09:30:55] local.INFO: Processing buffer {"connection_id":228812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b663f8012d0c4e4007064008001a007224..."} 
[2026-11-04 09:30:55] local.INFO: Packet analysis {"connection_id":228812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:55] local.INFO: Extracted packet for processing {"connection_id":228812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755781184,"raw_latitude":117850120,"longitude_deg":75.5781184,"latitude_deg":11.785012,"altitude":26,"angle":114,"satellites":36,"speed":22,"hex_longitude":"2d0c4e40","hex_latitude":"07064008","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203781120001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39209370625507328,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882775925878687744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793764779000,"timestamp_ms":1793764779000,"timestamp_seconds":1793764779,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b663f8"} 
[2026-11-04 09:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09: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-11-04 09: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":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-04 09:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2039,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":228812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":228812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":228812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203781120001,"66":14407,"115":206,"28":32256,"24":22,"16":39209370625507328,"45":882775925878687744},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-11-04 09:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203781120001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:30:55] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-04 09:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39209370625507328,"km_value":39209370625507.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":882775925878687744,"description":"Unknown IO ID 45"} 
[2026-11-04 09:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203781120001,"power":14407,"unknown_115":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":882775925878687744}} 
[2026-11-04 09:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":228812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:30:55] local.INFO: GPS data processed {"connection_id":228812,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:30:55] local.INFO: Acknowledgment sent {"connection_id":228812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:31:07] local.INFO: TCP Data received {"connection_id":228813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:31:07] local.INFO: Processing buffer {"connection_id":228813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:31:07] local.INFO: IMEI packet received {"connection_id":228813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":228813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:31:12] local.INFO: TCP Data received {"connection_id":228813,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:31:12] local.INFO: Processing buffer {"connection_id":228813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:31:12] local.INFO: IMEI packet received {"connection_id":228813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":228813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:31:13] local.INFO: TCP Data received {"connection_id":228813,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b6b9e8012d36f3c006af9e900011009d30..."} 
[2026-11-04 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b6b9e8012d36f3c006af9e900011009d30..."} 
[2026-11-04 09:31:13] local.INFO: Processing buffer {"connection_id":228813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b6b9e8012d36f3c006af9e900011009d30..."} 
[2026-11-04 09:31:13] local.INFO: Packet analysis {"connection_id":228813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:13] local.INFO: Extracted packet for processing {"connection_id":228813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758576064,"raw_latitude":112172688,"longitude_deg":75.8576064,"latitude_deg":11.2172688,"altitude":17,"angle":157,"satellites":48,"speed":59,"hex_longitude":"2d36f3c0","hex_latitude":"06af9e90","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203787520001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38790581249376256,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3955919720154048512,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793764801000,"timestamp_ms":1793764801000,"timestamp_seconds":1793764801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b6b9e8"} 
[2026-11-04 09:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 09:31: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-11-04 09: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-11-04 09:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203787520001,"66":27930,"85":206,"81":23552,"24":59,"16":38790581249376256,"45":3955919720154048512},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,81,24,16,45]} 
[2026-11-04 09:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203787520001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-11-04 09:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23552,"description":"Unknown IO ID 81"} 
[2026-11-04 09:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38790581249376256,"km_value":38790581249376.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3955919720154048512,"description":"Unknown IO ID 45"} 
[2026-11-04 09:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203787520001,"power":27930,"unknown_85":206,"unknown_81":23552,"ignition":59,"odometer":null,"unknown_45":3955919720154048512}} 
[2026-11-04 09:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":228813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:31:14] local.INFO: GPS data processed {"connection_id":228813,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:31:14] local.INFO: Acknowledgment sent {"connection_id":228813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:31:16] local.INFO: TCP Data received {"connection_id":230592,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:31:16] local.INFO: Processing buffer {"connection_id":230592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:31:16] local.INFO: IMEI packet received {"connection_id":230592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":230592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:31:22] local.INFO: TCP Data received {"connection_id":230592,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:31:22] local.INFO: Processing buffer {"connection_id":230592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:31:22] local.INFO: IMEI packet received {"connection_id":230592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":230592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:31:24] local.INFO: TCP Data received {"connection_id":230592,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b62960012d0c830006eb8d100015014d2c..."} 
[2026-11-04 09:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b62960012d0c830006eb8d100015014d2c..."} 
[2026-11-04 09:31:24] local.INFO: Processing buffer {"connection_id":230592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b62960012d0c830006eb8d100015014d2c..."} 
[2026-11-04 09:31:24] local.INFO: Packet analysis {"connection_id":230592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:24] local.INFO: Extracted packet for processing {"connection_id":230592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":755794688,"raw_latitude":116100368,"longitude_deg":75.5794688,"latitude_deg":11.6100368,"altitude":21,"angle":333,"satellites":44,"speed":26,"hex_longitude":"2d0c8300","hex_latitude":"06eb8d10","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203778304001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20354816383385600,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903393967473963008,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:24] 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-11-04 09:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793764764000,"timestamp_ms":1793764764000,"timestamp_seconds":1793764764,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b62960"} 
[2026-11-04 09:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:31:24] 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-11-04 09: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-11-04 09:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203778304001,"66":28419,"42":206,"2":56576,"24":26,"16":20354816383385600,"45":903393967473963008},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203778304001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:31:24] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20354816383385600,"km_value":20354816383385.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":903393967473963008,"description":"Unknown IO ID 45"} 
[2026-11-04 09:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203778304001,"power":28419,"unknown_42":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":903393967473963008}} 
[2026-11-04 09:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":230592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:31:24] local.INFO: GPS data processed {"connection_id":230592,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:31:24] local.INFO: Acknowledgment sent {"connection_id":230592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:31:26] local.INFO: TCP Data received {"connection_id":230592,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b65840012d0c71c006ebaed8001201532c..."} 
[2026-11-04 09:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b65840012d0c71c006ebaed8001201532c..."} 
[2026-11-04 09:31:26] local.INFO: Processing buffer {"connection_id":230592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b65840012d0c71c006ebaed8001201532c..."} 
[2026-11-04 09:31:26] local.INFO: Packet analysis {"connection_id":230592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:26] local.INFO: Extracted packet for processing {"connection_id":230592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:26] local.INFO: GPS Element Parsed {"raw_longitude":755790272,"raw_latitude":116109016,"longitude_deg":75.5790272,"latitude_deg":11.6109016,"altitude":18,"angle":339,"satellites":44,"speed":39,"hex_longitude":"2d0c71c0","hex_latitude":"06ebaed8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203779584001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20355284534820864,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901564380125925376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:26] 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-11-04 09:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793764776000,"timestamp_ms":1793764776000,"timestamp_seconds":1793764776,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b65840"} 
[2026-11-04 09:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 09:31:26] 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-11-04 09: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-11-04 09:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230592,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203779584001,"66":28398,"42":206,"2":56576,"24":39,"16":20355284534820864,"45":901564380125925376},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203779584001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:31:26] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20355284534820864,"km_value":20355284534820.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":901564380125925376,"description":"Unknown IO ID 45"} 
[2026-11-04 09:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203779584001,"power":28398,"unknown_42":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":901564380125925376}} 
[2026-11-04 09:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":230592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:31:26] local.INFO: GPS data processed {"connection_id":230592,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:31:26] local.INFO: Acknowledgment sent {"connection_id":230592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:31:27] local.INFO: TCP Data received {"connection_id":228812,"ip":"117.224.151.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b66fb0012d0c544007063c90001a007f24..."} 
[2026-11-04 09:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b66fb0012d0c544007063c90001a007f24..."} 
[2026-11-04 09:31:27] local.INFO: Processing buffer {"connection_id":228812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b66fb0012d0c544007063c90001a007f24..."} 
[2026-11-04 09:31:27] local.INFO: Packet analysis {"connection_id":228812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:27] local.INFO: Extracted packet for processing {"connection_id":228812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:27] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117849232,"longitude_deg":75.578272,"latitude_deg":11.7849232,"altitude":26,"angle":127,"satellites":36,"speed":24,"hex_longitude":"2d0c5440","hex_latitude":"07063c90","is_valid_coordinates":true} 
[2026-11-04 09:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203783424001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39209456524853248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575552374784,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793764782000,"timestamp_ms":1793764782000,"timestamp_seconds":1793764782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b66fb0"} 
[2026-11-04 09:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09: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-11-04 09:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 09:31:27] 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-11-04 09:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":228812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":228812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":228812,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.151.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203783424001,"66":14428,"115":206,"28":32256,"24":24,"16":39209456524853248,"45":886716575552374784},"client_ip":"117.224.151.11","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,28,24,16,45]} 
[2026-11-04 09:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203783424001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:31:27] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-11-04 09:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39209456524853248,"km_value":39209456524853.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575552374784,"description":"Unknown IO ID 45"} 
[2026-11-04 09:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203783424001,"power":14428,"unknown_115":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":886716575552374784}} 
[2026-11-04 09:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":228812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58493,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:31:28] local.INFO: GPS data processed {"connection_id":228812,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:31:28] local.INFO: Acknowledgment sent {"connection_id":228812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:31:43] local.INFO: TCP Data received {"connection_id":230593,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:43] local.INFO: Processing buffer {"connection_id":230593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:43] local.INFO: IMEI packet received {"connection_id":230593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":230593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:31:45] local.INFO: TCP Data received {"connection_id":230593,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:45] local.INFO: Processing buffer {"connection_id":230593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:45] local.INFO: IMEI packet received {"connection_id":230593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":230593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:31:45] local.INFO: TCP Data received {"connection_id":228813,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b6d158012d3700c006af7e580013009d2d..."} 
[2026-11-04 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b6d158012d3700c006af7e580013009d2d..."} 
[2026-11-04 09:31:45] local.INFO: Processing buffer {"connection_id":228813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b6d158012d3700c006af7e580013009d2d..."} 
[2026-11-04 09:31:45] local.INFO: Packet analysis {"connection_id":228813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:45] local.INFO: Extracted packet for processing {"connection_id":228813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758579392,"raw_latitude":112164440,"longitude_deg":75.8579392,"latitude_deg":11.216444,"altitude":19,"angle":157,"satellites":45,"speed":59,"hex_longitude":"2d3700c0","hex_latitude":"06af7e58","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203789056001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38791015041073152,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3959719632337539072,"note":"Value kept but may cause issues"} 
[2026-11-04 09:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793764807000,"timestamp_ms":1793764807000,"timestamp_seconds":1793764807,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b6d158"} 
[2026-11-04 09:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:31: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-11-04 09: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-11-04 09:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203789056001,"66":27930,"6":206,"81":49664,"24":59,"16":38791015041073152,"45":3959719632337539072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-11-04 09:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203789056001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:31:45] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 09:31:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 09:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38791015041073152,"km_value":38791015041073.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3959719632337539072,"description":"Unknown IO ID 45"} 
[2026-11-04 09:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203789056001,"power":27930,"unknown_6":206,"unknown_81":49664,"ignition":59,"odometer":null,"unknown_45":3959719632337539072}} 
[2026-11-04 09:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":228813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:31:45] local.INFO: GPS data processed {"connection_id":228813,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:31:45] local.INFO: Acknowledgment sent {"connection_id":228813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:31:46] local.INFO: TCP Data received {"connection_id":230593,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:46] local.INFO: Processing buffer {"connection_id":230593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:46] local.INFO: IMEI packet received {"connection_id":230593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":230593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:31:47] local.INFO: TCP Data received {"connection_id":230593,"ip":"117.224.151.11","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:47] local.INFO: Processing buffer {"connection_id":230593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:31:47] local.INFO: IMEI packet received {"connection_id":230593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":230593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:32:07] local.INFO: TCP Data received {"connection_id":230595,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:07] local.INFO: Processing buffer {"connection_id":230595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:07] local.INFO: IMEI packet received {"connection_id":230595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":230595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:32:08] local.INFO: TCP Data received {"connection_id":230595,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:08] local.INFO: Processing buffer {"connection_id":230595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:08] local.INFO: IMEI packet received {"connection_id":230595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":230595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:32:10] local.INFO: TCP Data received {"connection_id":230594,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:10] local.INFO: Processing buffer {"connection_id":230594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:10] local.INFO: IMEI packet received {"connection_id":230594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":230594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:32:11] local.INFO: TCP Data received {"connection_id":230594,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:11] local.INFO: Processing buffer {"connection_id":230594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:11] local.INFO: IMEI packet received {"connection_id":230594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":230594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:32:12] local.INFO: TCP Data received {"connection_id":230595,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:12] local.INFO: Processing buffer {"connection_id":230595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:32:12] local.INFO: IMEI packet received {"connection_id":230595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":230595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:32:13] local.INFO: TCP Data received {"connection_id":230595,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b6e8c8012d370e8006af5e180014009c2c..."} 
[2026-11-04 09:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b6e8c8012d370e8006af5e180014009c2c..."} 
[2026-11-04 09:32:13] local.INFO: Processing buffer {"connection_id":230595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b6e8c8012d370e8006af5e180014009c2c..."} 
[2026-11-04 09:32:13] local.INFO: Packet analysis {"connection_id":230595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:13] local.INFO: Extracted packet for processing {"connection_id":230595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758582912,"raw_latitude":112156184,"longitude_deg":75.8582912,"latitude_deg":11.2156184,"altitude":20,"angle":156,"satellites":44,"speed":59,"hex_longitude":"2d370e80","hex_latitude":"06af5e18","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203790592001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38791448832770048,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3963378807032666112,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793764813000,"timestamp_ms":1793764813000,"timestamp_seconds":1793764813,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b6e8c8"} 
[2026-11-04 09:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:32: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-11-04 09: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-11-04 09:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203790592001,"66":27930,"6":206,"81":49664,"24":59,"16":38791448832770048,"45":3963378807032666112},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-11-04 09:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203790592001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:32:13] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 09:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 09:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38791448832770048,"km_value":38791448832770.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3963378807032666112,"description":"Unknown IO ID 45"} 
[2026-11-04 09:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203790592001,"power":27930,"unknown_6":206,"unknown_81":49664,"ignition":59,"odometer":null,"unknown_45":3963378807032666112}} 
[2026-11-04 09:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":230595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:32:13] local.INFO: GPS data processed {"connection_id":230595,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:32:13] local.INFO: Acknowledgment sent {"connection_id":230595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:32:14] local.INFO: TCP Data received {"connection_id":230594,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:14] local.INFO: Processing buffer {"connection_id":230594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:32:14] local.INFO: IMEI packet received {"connection_id":230594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":230594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:32:15] local.INFO: TCP Data received {"connection_id":230594,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b66fb0012d0c6b8006ebc6e00012015e2c..."} 
[2026-11-04 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b66fb0012d0c6b8006ebc6e00012015e2c..."} 
[2026-11-04 09:32:15] local.INFO: Processing buffer {"connection_id":230594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b66fb0012d0c6b8006ebc6e00012015e2c..."} 
[2026-11-04 09:32:15] local.INFO: Packet analysis {"connection_id":230594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:15] local.INFO: Extracted packet for processing {"connection_id":230594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":116115168,"longitude_deg":75.5788672,"latitude_deg":11.6115168,"altitude":18,"angle":350,"satellites":44,"speed":44,"hex_longitude":"2d0c6b80","hex_latitude":"06ebc6e0","is_valid_coordinates":true} 
[2026-11-04 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203782656001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20355593772466176,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896708936779880448,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:15] 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-11-04 09:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793764782000,"timestamp_ms":1793764782000,"timestamp_seconds":1793764782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b66fb0"} 
[2026-11-04 09:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:32: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-11-04 09:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203782656001,"66":28256,"42":206,"2":56576,"24":44,"16":20355593772466176,"45":896708936779880448},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203782656001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:32:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20355593772466176,"km_value":20355593772466.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":896708936779880448,"description":"Unknown IO ID 45"} 
[2026-11-04 09:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203782656001,"power":28256,"unknown_42":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":896708936779880448}} 
[2026-11-04 09:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":230594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:32:15] local.INFO: GPS data processed {"connection_id":230594,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:32:15] local.INFO: Acknowledgment sent {"connection_id":230594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:32:20] local.INFO: TCP Data received {"connection_id":230594,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b68ef0012d0c684006ebea48001101642e..."} 
[2026-11-04 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b68ef0012d0c684006ebea48001101642e..."} 
[2026-11-04 09:32:20] local.INFO: Processing buffer {"connection_id":230594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b68ef0012d0c684006ebea48001101642e..."} 
[2026-11-04 09:32:20] local.INFO: Packet analysis {"connection_id":230594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:20] local.INFO: Extracted packet for processing {"connection_id":230594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":116124232,"longitude_deg":75.578784,"latitude_deg":11.6124232,"altitude":17,"angle":356,"satellites":46,"speed":45,"hex_longitude":"2d0c6840","hex_latitude":"06ebea48","is_valid_coordinates":true} 
[2026-11-04 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203784192001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20356036154097664,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718177013760,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:20] 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-11-04 09:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793764790000,"timestamp_ms":1793764790000,"timestamp_seconds":1793764790,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b68ef0"} 
[2026-11-04 09:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 09:32:20] 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-11-04 09:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203784192001,"66":28376,"42":206,"2":56576,"24":45,"16":20356036154097664,"45":894949718177013760},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203784192001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:32:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20356036154097664,"km_value":20356036154097.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718177013760,"description":"Unknown IO ID 45"} 
[2026-11-04 09:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203784192001,"power":28376,"unknown_42":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":894949718177013760}} 
[2026-11-04 09:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":230594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:32:20] local.INFO: GPS data processed {"connection_id":230594,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:32:20] local.INFO: Acknowledgment sent {"connection_id":230594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:32:44] local.INFO: TCP Data received {"connection_id":230595,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b882f0012d381d0006ada010000d00922e..."} 
[2026-11-04 09:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b882f0012d381d0006ada010000d00922e..."} 
[2026-11-04 09:32:44] local.INFO: Processing buffer {"connection_id":230595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b882f0012d381d0006ada010000d00922e..."} 
[2026-11-04 09:32:44] local.INFO: Packet analysis {"connection_id":230595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:32:44] local.INFO: Extracted packet for processing {"connection_id":230595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758652160,"raw_latitude":112042000,"longitude_deg":75.865216,"latitude_deg":11.2042,"altitude":13,"angle":146,"satellites":46,"speed":52,"hex_longitude":"2d381d00","hex_latitude":"06ada010","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203817216001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38797899873648640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4037617832110866432,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793764918000,"timestamp_ms":1793764918000,"timestamp_seconds":1793764918,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b882f0"} 
[2026-11-04 09:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 09:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203817216001,"66":28028,"185":206,"81":49664,"24":52,"16":38797899873648640,"45":4037617832110866432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-11-04 09:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203817216001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:32:44] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-11-04 09:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 09:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38797899873648640,"km_value":38797899873648.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4037617832110866432,"description":"Unknown IO ID 45"} 
[2026-11-04 09:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203817216001,"power":28028,"unknown_185":206,"unknown_81":49664,"ignition":52,"odometer":null,"unknown_45":4037617832110866432}} 
[2026-11-04 09:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":230595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:32:44] local.INFO: GPS data processed {"connection_id":230595,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:32:44] local.INFO: Acknowledgment sent {"connection_id":230595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:32:51] local.INFO: TCP Data received {"connection_id":230594,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b6b218012d0c644006ec0fb00013015e2f..."} 
[2026-11-04 09:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b6b218012d0c644006ec0fb00013015e2f..."} 
[2026-11-04 09:32:51] local.INFO: Processing buffer {"connection_id":230594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b6b218012d0c644006ec0fb00013015e2f..."} 
[2026-11-04 09:32:51] local.INFO: Packet analysis {"connection_id":230594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:51] local.INFO: Extracted packet for processing {"connection_id":230594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":755786816,"raw_latitude":116133808,"longitude_deg":75.5786816,"latitude_deg":11.6133808,"altitude":19,"angle":350,"satellites":47,"speed":32,"hex_longitude":"2d0c6440","hex_latitude":"06ec0fb0","is_valid_coordinates":true} 
[2026-11-04 09:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203786240001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20356504305532928,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924505024512,"note":"Value kept but may cause issues"} 
[2026-11-04 09:32:51] 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-11-04 09:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793764799000,"timestamp_ms":1793764799000,"timestamp_seconds":1793764799,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b6b218"} 
[2026-11-04 09:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 09:32:51] 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-11-04 09:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203786240001,"66":28398,"42":206,"2":56576,"24":32,"16":20356504305532928,"45":894034924505024512},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203786240001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:32:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20356504305532928,"km_value":20356504305532.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924505024512,"description":"Unknown IO ID 45"} 
[2026-11-04 09:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203786240001,"power":28398,"unknown_42":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":894034924505024512}} 
[2026-11-04 09:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":230594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:32:51] local.INFO: GPS data processed {"connection_id":230594,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:32:51] local.INFO: Acknowledgment sent {"connection_id":230594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:33:09] local.INFO: TCP Data received {"connection_id":228814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:09] local.INFO: Processing buffer {"connection_id":228814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:09] local.INFO: IMEI packet received {"connection_id":228814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":228814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:33:09] local.INFO: TCP Data received {"connection_id":232444,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:33:09] local.INFO: Processing buffer {"connection_id":232444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:33:09] local.INFO: IMEI packet received {"connection_id":232444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":232444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:33:13] local.INFO: TCP Data received {"connection_id":228814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:13] local.INFO: Processing buffer {"connection_id":228814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:13] local.INFO: IMEI packet received {"connection_id":228814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":228814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:33:14] local.INFO: TCP Data received {"connection_id":232444,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:33:14] local.INFO: Processing buffer {"connection_id":232444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:33:14] local.INFO: IMEI packet received {"connection_id":232444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":232444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:33:16] local.INFO: TCP Data received {"connection_id":232444,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b6e0f8012d0c5e8006ec25d8001501532e..."} 
[2026-11-04 09:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b6e0f8012d0c5e8006ec25d8001501532e..."} 
[2026-11-04 09:33:16] local.INFO: Processing buffer {"connection_id":232444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b6e0f8012d0c5e8006ec25d8001501532e..."} 
[2026-11-04 09:33:16] local.INFO: Packet analysis {"connection_id":232444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:33:16] local.INFO: Extracted packet for processing {"connection_id":232444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b6"} 
[2026-11-04 09:33:16] local.INFO: GPS Element Parsed {"raw_longitude":755785344,"raw_latitude":116139480,"longitude_deg":75.5785344,"latitude_deg":11.613948,"altitude":21,"angle":339,"satellites":46,"speed":14,"hex_longitude":"2d0c5e80","hex_latitude":"06ec25d8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203788544001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20356787773374464,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892909024600633344,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:16] 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-11-04 09:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793764811000,"timestamp_ms":1793764811000,"timestamp_seconds":1793764811,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b6e0f8"} 
[2026-11-04 09:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:33: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-11-04 09: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-11-04 09:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203788544001,"66":28430,"42":206,"2":56576,"24":14,"16":20356787773374464,"45":892909024600633344},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-11-04 09:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203788544001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:33:16] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 09:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20356787773374464,"km_value":20356787773374.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":892909024600633344,"description":"Unknown IO ID 45"} 
[2026-11-04 09:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203788544001,"power":28430,"unknown_42":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":892909024600633344}} 
[2026-11-04 09:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":232444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:33:16] local.INFO: GPS data processed {"connection_id":232444,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:33:16] local.INFO: Acknowledgment sent {"connection_id":232444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:33:20] local.INFO: TCP Data received {"connection_id":228814,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:20] local.INFO: Processing buffer {"connection_id":228814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:33:20] local.INFO: IMEI packet received {"connection_id":228814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":228814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:33:22] local.INFO: TCP Data received {"connection_id":228814,"ip":"42.109.136.4","data_length":1348,"data_hex":"000000000000030f8e0a000001a1a4b88ea8012d38274006ad9410000d00862f..."} 
[2026-11-04 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228814,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a1a4b88ea8012d38274006ad9410000d00862f..."} 
[2026-11-04 09:33:22] local.INFO: Processing buffer {"connection_id":228814,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a1a4b88ea8012d38274006ad9410000d00862f..."} 
[2026-11-04 09:33:22] local.INFO: Packet analysis {"connection_id":228814,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:33:22] local.INFO: Extracted packet for processing {"connection_id":228814,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":758654784,"raw_latitude":112038928,"longitude_deg":75.8654784,"latitude_deg":11.2038928,"altitude":13,"angle":134,"satellites":47,"speed":53,"hex_longitude":"2d382740","hex_latitude":"06ad9410","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203819008001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38798093147176960,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4043388069131325440,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793764921000,"timestamp_ms":1793764921000,"timestamp_seconds":1793764921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b88ea8"} 
[2026-11-04 09:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 09:33:22] 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-11-04 09: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-11-04 09:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203819008001,"66":28126,"185":206,"81":49664,"24":53,"16":38798093147176960,"45":4043388069131325440},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-11-04 09:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203819008001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:33:22] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-11-04 09:33:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 09:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38798093147176960,"km_value":38798093147176.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4043388069131325440,"description":"Unknown IO ID 45"} 
[2026-11-04 09:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203819008001,"power":28126,"unknown_185":206,"unknown_81":49664,"ignition":53,"odometer":null,"unknown_45":4043388069131325440}} 
[2026-11-04 09:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":228814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:33:22] local.INFO: GPS data processed {"connection_id":228814,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:33:22] local.INFO: Acknowledgment sent {"connection_id":228814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:33:22] local.INFO: Packet analysis {"connection_id":228814,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:33:22] local.INFO: Incomplete packet, waiting for more data {"connection_id":228814,"needed":795,"available":553} 
[2026-11-04 09:33:23] local.INFO: TCP Data received {"connection_id":228814,"ip":"42.109.136.4","data_length":1037,"data_hex":"000000000001a1a4b7fa38012d37b7c006ae3fe0000b00933000330000000a00..."} 
[2026-11-04 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228814,"packet_length":1037,"packet_hex":"000000000001a1a4b7fa38012d37b7c006ae3fe0000b00933000330000000a00..."} 
[2026-11-04 09:33:23] local.INFO: Processing buffer {"connection_id":228814,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a4b89e48012d3834c006ad8318000d00922e..."} 
[2026-11-04 09:33:23] local.INFO: Packet analysis {"connection_id":228814,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:33:23] local.INFO: Extracted packet for processing {"connection_id":228814,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758658240,"raw_latitude":112034584,"longitude_deg":75.865824,"latitude_deg":11.2034584,"altitude":13,"angle":146,"satellites":46,"speed":55,"hex_longitude":"2d3834c0","hex_latitude":"06ad8318","is_valid_coordinates":true} 
[2026-11-04 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203819776001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38798359435149312,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4046273187641823232,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793764925000,"timestamp_ms":1793764925000,"timestamp_seconds":1793764925,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b89e48"} 
[2026-11-04 09:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 09:33:23] 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-11-04 09:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203819776001,"66":28028,"185":206,"81":49664,"24":55,"16":38798359435149312,"45":4046273187641823232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,81,24,16,45]} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203819776001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 09:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38798359435149312,"km_value":38798359435149.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4046273187641823232,"description":"Unknown IO ID 45"} 
[2026-11-04 09:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203819776001,"power":28028,"unknown_185":206,"unknown_81":49664,"ignition":55,"odometer":null,"unknown_45":4046273187641823232}} 
[2026-11-04 09:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":228814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:33:23] local.INFO: GPS data processed {"connection_id":228814,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:33:23] local.INFO: Acknowledgment sent {"connection_id":228814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:33:23] local.INFO: Packet analysis {"connection_id":228814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:33:23] local.INFO: Extracted packet for processing {"connection_id":228814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b8"} 
[2026-11-04 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":758663104,"raw_latitude":112025760,"longitude_deg":75.8663104,"latitude_deg":11.202576,"altitude":14,"angle":156,"satellites":47,"speed":57,"hex_longitude":"2d3847c0","hex_latitude":"06ad60a0","is_valid_coordinates":true} 
[2026-11-04 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203820800001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38798844766453760,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4050073099826305024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793764932000,"timestamp_ms":1793764932000,"timestamp_seconds":1793764932,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b8b9a0"} 
[2026-11-04 09:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 09:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203820800001,"66":28093,"186":206,"81":49664,"24":57,"16":38798844766453760,"45":4050073099826305024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,81,24,16,45]} 
[2026-11-04 09:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203820800001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 09:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38798844766453760,"km_value":38798844766453.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4050073099826305024,"description":"Unknown IO ID 45"} 
[2026-11-04 09:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203820800001,"power":28093,"unknown_186":206,"unknown_81":49664,"ignition":57,"odometer":null,"unknown_45":4050073099826305024}} 
[2026-11-04 09:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":228814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:33:23] local.INFO: GPS data processed {"connection_id":228814,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:33:23] local.INFO: Acknowledgment sent {"connection_id":228814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:33:48] local.INFO: TCP Data received {"connection_id":232444,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b90f90012d0c55c006ed3a58000900072d..."} 
[2026-11-04 09:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b90f90012d0c55c006ed3a58000900072d..."} 
[2026-11-04 09:33:48] local.INFO: Processing buffer {"connection_id":232444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b90f90012d0c55c006ed3a58000900072d..."} 
[2026-11-04 09:33:48] local.INFO: Packet analysis {"connection_id":232444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:33:48] local.INFO: Extracted packet for processing {"connection_id":232444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:33:48] local.INFO: GPS Element Parsed {"raw_longitude":755783104,"raw_latitude":116210264,"longitude_deg":75.5783104,"latitude_deg":11.6210264,"altitude":9,"angle":7,"satellites":45,"speed":31,"hex_longitude":"2d0c55c0","hex_latitude":"06ed3a58","is_valid_coordinates":true} 
[2026-11-04 09:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203824896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20360309646557184,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887209156339396608,"note":"Value kept but may cause issues"} 
[2026-11-04 09:33:48] 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-11-04 09:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793764954000,"timestamp_ms":1793764954000,"timestamp_seconds":1793764954,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b90f90"} 
[2026-11-04 09:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:33: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-11-04 09:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203824896001,"66":28376,"158":206,"2":56576,"24":31,"16":20360309646557184,"45":887209156339396608},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-11-04 09:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203824896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:33:48] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-04 09:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20360309646557184,"km_value":20360309646557.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":887209156339396608,"description":"Unknown IO ID 45"} 
[2026-11-04 09:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203824896001,"power":28376,"unknown_158":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":887209156339396608}} 
[2026-11-04 09:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":232444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:33:48] local.INFO: GPS data processed {"connection_id":232444,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:33:48] local.INFO: Acknowledgment sent {"connection_id":232444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:34:04] local.INFO: TCP Data received {"connection_id":228815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:04] local.INFO: Processing buffer {"connection_id":228815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:04] local.INFO: IMEI packet received {"connection_id":228815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":228815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:34:07] local.INFO: TCP Data received {"connection_id":228815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:07] local.INFO: Processing buffer {"connection_id":228815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:07] local.INFO: IMEI packet received {"connection_id":228815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":228815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:34:09] local.INFO: TCP Data received {"connection_id":230596,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:09] local.INFO: Processing buffer {"connection_id":230596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:09] local.INFO: IMEI packet received {"connection_id":230596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":230596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:34:11] local.INFO: TCP Data received {"connection_id":228815,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:11] local.INFO: Processing buffer {"connection_id":228815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:34:11] local.INFO: IMEI packet received {"connection_id":228815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":228815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:34:11] local.INFO: TCP Data received {"connection_id":228815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b9c340012d38b28006abe0a0000b00a42c..."} 
[2026-11-04 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b9c340012d38b28006abe0a0000b00a42c..."} 
[2026-11-04 09:34:11] local.INFO: Processing buffer {"connection_id":228815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b9c340012d38b28006abe0a0000b00a42c..."} 
[2026-11-04 09:34:11] local.INFO: Packet analysis {"connection_id":228815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:11] local.INFO: Extracted packet for processing {"connection_id":228815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758690432,"raw_latitude":111927456,"longitude_deg":75.8690432,"latitude_deg":11.1927456,"altitude":11,"angle":164,"satellites":44,"speed":59,"hex_longitude":"2d38b280","hex_latitude":"06abe0a0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38803788273811456,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4082794565843705856,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793765000000,"timestamp_ms":1793765000000,"timestamp_seconds":1793765000,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b9c340"} 
[2026-11-04 09:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203838464001,"66":27908,"164":206,"81":23296,"24":59,"16":38803788273811456,"45":4082794565843705856},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-11-04 09:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:34:11] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 09:34:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38803788273811456,"km_value":38803788273811.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4082794565843705856,"description":"Unknown IO ID 45"} 
[2026-11-04 09:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203838464001,"power":27908,"unknown_164":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4082794565843705856}} 
[2026-11-04 09:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":228815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:34:11] local.INFO: GPS data processed {"connection_id":228815,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:34:11] local.INFO: Acknowledgment sent {"connection_id":228815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:34:11] local.INFO: TCP Data received {"connection_id":230596,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:11] local.INFO: Processing buffer {"connection_id":230596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:11] local.INFO: IMEI packet received {"connection_id":230596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":230596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:34:14] local.INFO: TCP Data received {"connection_id":230596,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:14] local.INFO: Processing buffer {"connection_id":230596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:34:14] local.INFO: IMEI packet received {"connection_id":230596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":230596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:34:17] local.INFO: TCP Data received {"connection_id":230596,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b93e70012d0c5ac006ed5d980008000930..."} 
[2026-11-04 09:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b93e70012d0c5ac006ed5d980008000930..."} 
[2026-11-04 09:34:17] local.INFO: Processing buffer {"connection_id":230596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b93e70012d0c5ac006ed5d980008000930..."} 
[2026-11-04 09:34:17] local.INFO: Packet analysis {"connection_id":230596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:17] local.INFO: Extracted packet for processing {"connection_id":230596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":755784384,"raw_latitude":116219288,"longitude_deg":75.5784384,"latitude_deg":11.6219288,"altitude":8,"angle":9,"satellites":48,"speed":31,"hex_longitude":"2d0c5ac0","hex_latitude":"06ed5d98","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203828224001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20360752028188672,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888827637457901568,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:17] 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-11-04 09:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793764966000,"timestamp_ms":1793764966000,"timestamp_seconds":1793764966,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b93e70"} 
[2026-11-04 09:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 09:34: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-11-04 09: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-11-04 09:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203828224001,"66":28300,"158":206,"2":56576,"24":31,"16":20360752028188672,"45":888827637457901568},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-11-04 09:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203828224001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:34:17] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-04 09:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20360752028188672,"km_value":20360752028188.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":888827637457901568,"description":"Unknown IO ID 45"} 
[2026-11-04 09:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203828224001,"power":28300,"unknown_158":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":888827637457901568}} 
[2026-11-04 09:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":230596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:34:17] local.INFO: GPS data processed {"connection_id":230596,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:34:17] local.INFO: Acknowledgment sent {"connection_id":230596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:34:48] local.INFO: TCP Data received {"connection_id":230596,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b97908012d0c5e4006ed80a0000a00012e..."} 
[2026-11-04 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b97908012d0c5e4006ed80a0000a00012e..."} 
[2026-11-04 09:34:48] local.INFO: Processing buffer {"connection_id":230596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b97908012d0c5e4006ed80a0000a00012e..."} 
[2026-11-04 09:34:48] local.INFO: Packet analysis {"connection_id":230596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:48] local.INFO: Extracted packet for processing {"connection_id":230596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":755785280,"raw_latitude":116228256,"longitude_deg":75.578528,"latitude_deg":11.6228256,"altitude":10,"angle":1,"satellites":46,"speed":28,"hex_longitude":"2d0c5e40","hex_latitude":"06ed80a0","is_valid_coordinates":true} 
[2026-11-04 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203831296001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20361190114852864,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890235012343764992,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:48] 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-11-04 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793764981000,"timestamp_ms":1793764981000,"timestamp_seconds":1793764981,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b97908"} 
[2026-11-04 09:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:34: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-11-04 09:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203831296001,"66":28300,"158":206,"2":56576,"24":28,"16":20361190114852864,"45":890235012343764992},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-11-04 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203831296001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:34:48] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-04 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20361190114852864,"km_value":20361190114852.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":890235012343764992,"description":"Unknown IO ID 45"} 
[2026-11-04 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203831296001,"power":28300,"unknown_158":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":890235012343764992}} 
[2026-11-04 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":230596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58507,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:34:48] local.INFO: GPS data processed {"connection_id":230596,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:34:48] local.INFO: Acknowledgment sent {"connection_id":230596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:34:52] local.INFO: TCP Data received {"connection_id":228815,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b9dab0012d38bb4006abbef8000b00a530..."} 
[2026-11-04 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b9dab0012d38bb4006abbef8000b00a530..."} 
[2026-11-04 09:34:52] local.INFO: Processing buffer {"connection_id":228815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b9dab0012d38bb4006abbef8000b00a530..."} 
[2026-11-04 09:34:52] local.INFO: Packet analysis {"connection_id":228815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:52] local.INFO: Extracted packet for processing {"connection_id":228815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":758692672,"raw_latitude":111918840,"longitude_deg":75.8692672,"latitude_deg":11.191884,"altitude":11,"angle":165,"satellites":48,"speed":58,"hex_longitude":"2d38bb40","hex_latitude":"06abbef8","is_valid_coordinates":true} 
[2026-11-04 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203840000001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38804217770541056,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4085468578120245248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793765006000,"timestamp_ms":1793765006000,"timestamp_seconds":1793765006,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b9dab0"} 
[2026-11-04 09:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203840000001,"66":27930,"163":206,"81":23296,"24":58,"16":38804217770541056,"45":4085468578120245248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-11-04 09:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203840000001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:34:52] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 09:34:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38804217770541056,"km_value":38804217770541.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4085468578120245248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203840000001,"power":27930,"unknown_163":206,"unknown_81":23296,"ignition":58,"odometer":null,"unknown_45":4085468578120245248}} 
[2026-11-04 09:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":228815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:34:52] local.INFO: GPS data processed {"connection_id":228815,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:34:52] local.INFO: Acknowledgment sent {"connection_id":228815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:35:07] local.INFO: TCP Data received {"connection_id":232446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:35:07] local.INFO: Processing buffer {"connection_id":232446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:35:07] local.INFO: IMEI packet received {"connection_id":232446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":232446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:35:09] local.INFO: TCP Data received {"connection_id":229310,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:35:09] local.INFO: Processing buffer {"connection_id":229310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:35:09] local.INFO: IMEI packet received {"connection_id":229310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":229310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:35:11] local.INFO: TCP Data received {"connection_id":232446,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:35:11] local.INFO: Processing buffer {"connection_id":232446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:35:11] local.INFO: IMEI packet received {"connection_id":232446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":232446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:35:12] local.INFO: TCP Data received {"connection_id":232446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b9f220012d38c3c006ab9d30000b00a731..."} 
[2026-11-04 09:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b9f220012d38c3c006ab9d30000b00a731..."} 
[2026-11-04 09:35:12] local.INFO: Processing buffer {"connection_id":232446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b9f220012d38c3c006ab9d30000b00a731..."} 
[2026-11-04 09:35:12] local.INFO: Packet analysis {"connection_id":232446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:35:12] local.INFO: Extracted packet for processing {"connection_id":232446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758694848,"raw_latitude":111910192,"longitude_deg":75.8694848,"latitude_deg":11.1910192,"altitude":11,"angle":167,"satellites":49,"speed":59,"hex_longitude":"2d38c3c0","hex_latitude":"06ab9d30","is_valid_coordinates":true} 
[2026-11-04 09:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203841536001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38804651562237952,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4087931484164257792,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793765012000,"timestamp_ms":1793765012000,"timestamp_seconds":1793765012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b9f220"} 
[2026-11-04 09:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:35: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-11-04 09:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203841536001,"66":27865,"163":206,"81":23296,"24":59,"16":38804651562237952,"45":4087931484164257792},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,81,24,16,45]} 
[2026-11-04 09:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203841536001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:35:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 09:35:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38804651562237952,"km_value":38804651562237.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4087931484164257792,"description":"Unknown IO ID 45"} 
[2026-11-04 09:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203841536001,"power":27865,"unknown_163":206,"unknown_81":23296,"ignition":59,"odometer":null,"unknown_45":4087931484164257792}} 
[2026-11-04 09:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":232446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:35:12] local.INFO: GPS data processed {"connection_id":232446,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:35:12] local.INFO: Acknowledgment sent {"connection_id":232446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:35:14] local.INFO: TCP Data received {"connection_id":229310,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:35:14] local.INFO: Processing buffer {"connection_id":229310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:35:14] local.INFO: IMEI packet received {"connection_id":229310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":229310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:35:16] local.INFO: TCP Data received {"connection_id":229310,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b9a400012d0c5e0006ed9a18000a015f2f..."} 
[2026-11-04 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b9a400012d0c5e0006ed9a18000a015f2f..."} 
[2026-11-04 09:35:16] local.INFO: Processing buffer {"connection_id":229310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b9a400012d0c5e0006ed9a18000a015f2f..."} 
[2026-11-04 09:35:16] local.INFO: Packet analysis {"connection_id":229310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:35:16] local.INFO: Extracted packet for processing {"connection_id":229310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":755785216,"raw_latitude":116234776,"longitude_deg":75.5785216,"latitude_deg":11.6234776,"altitude":10,"angle":351,"satellites":47,"speed":17,"hex_longitude":"2d0c5e00","hex_latitude":"06ed9a18","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203835136001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20361507942432768,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891220174764548096,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:16] 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-11-04 09:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793764992000,"timestamp_ms":1793764992000,"timestamp_seconds":1793764992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b9a400"} 
[2026-11-04 09:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:35: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-11-04 09: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-11-04 09:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203835136001,"66":28300,"158":206,"2":56576,"24":17,"16":20361507942432768,"45":891220174764548096},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-11-04 09:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203835136001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:35:16] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-04 09:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20361507942432768,"km_value":20361507942432.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":891220174764548096,"description":"Unknown IO ID 45"} 
[2026-11-04 09:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203835136001,"power":28300,"unknown_158":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":891220174764548096}} 
[2026-11-04 09:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":229310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:35:16] local.INFO: GPS data processed {"connection_id":229310,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:35:16] local.INFO: Acknowledgment sent {"connection_id":229310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:35:43] local.INFO: TCP Data received {"connection_id":232446,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bb1718012d39324006a9ff40000b00a230..."} 
[2026-11-04 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bb1718012d39324006a9ff40000b00a230..."} 
[2026-11-04 09:35:43] local.INFO: Processing buffer {"connection_id":232446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bb1718012d39324006a9ff40000b00a230..."} 
[2026-11-04 09:35:43] local.INFO: Packet analysis {"connection_id":232446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bb"} 
[2026-11-04 09:35:43] local.INFO: Extracted packet for processing {"connection_id":232446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bb"} 
[2026-11-04 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758723136,"raw_latitude":111804224,"longitude_deg":75.8723136,"latitude_deg":11.1804224,"altitude":11,"angle":162,"satellites":48,"speed":41,"hex_longitude":"2d393240","hex_latitude":"06a9ff40","is_valid_coordinates":true} 
[2026-11-04 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203860480001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38809960141815808,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4118823362831144960,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793765087000,"timestamp_ms":1793765087000,"timestamp_seconds":1793765087,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bb1718"} 
[2026-11-04 09:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 09:35:43] 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-11-04 09:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203860480001,"66":27713,"44":206,"81":23296,"24":41,"16":38809960141815808,"45":4118823362831144960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-11-04 09:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203860480001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-11-04 09:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38809960141815808,"km_value":38809960141815.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4118823362831144960,"description":"Unknown IO ID 45"} 
[2026-11-04 09:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203860480001,"power":27713,"unknown_44":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":4118823362831144960}} 
[2026-11-04 09:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":232446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:35:43] local.INFO: GPS data processed {"connection_id":232446,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:35:43] local.INFO: Acknowledgment sent {"connection_id":232446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:35:47] local.INFO: TCP Data received {"connection_id":229310,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4b9f608012d0c590006edb458000b015e2e..."} 
[2026-11-04 09:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4b9f608012d0c590006edb458000b015e2e..."} 
[2026-11-04 09:35:47] local.INFO: Processing buffer {"connection_id":229310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4b9f608012d0c590006edb458000b015e2e..."} 
[2026-11-04 09:35:47] local.INFO: Packet analysis {"connection_id":229310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:35:47] local.INFO: Extracted packet for processing {"connection_id":229310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4b9"} 
[2026-11-04 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":755783936,"raw_latitude":116241496,"longitude_deg":75.5783936,"latitude_deg":11.6241496,"altitude":11,"angle":350,"satellites":46,"speed":12,"hex_longitude":"2d0c5900","hex_latitude":"06edb458","is_valid_coordinates":true} 
[2026-11-04 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203837952001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20361838654914560,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891149806022039552,"note":"Value kept but may cause issues"} 
[2026-11-04 09:35:47] 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-11-04 09:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793765013000,"timestamp_ms":1793765013000,"timestamp_seconds":1793765013,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4b9f608"} 
[2026-11-04 09:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:35:47] 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-11-04 09:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203837952001,"66":28278,"158":206,"2":56576,"24":12,"16":20361838654914560,"45":891149806022039552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-11-04 09:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203837952001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:35:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-04 09:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20361838654914560,"km_value":20361838654914.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":891149806022039552,"description":"Unknown IO ID 45"} 
[2026-11-04 09:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203837952001,"power":28278,"unknown_158":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":891149806022039552}} 
[2026-11-04 09:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":229310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:35:47] local.INFO: GPS data processed {"connection_id":229310,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:35:47] local.INFO: Acknowledgment sent {"connection_id":229310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:36:07] local.INFO: TCP Data received {"connection_id":230598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:36:07] local.INFO: Processing buffer {"connection_id":230598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:36:07] local.INFO: IMEI packet received {"connection_id":230598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":230598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:36:09] local.INFO: TCP Data received {"connection_id":230599,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:09] local.INFO: Processing buffer {"connection_id":230599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:09] local.INFO: IMEI packet received {"connection_id":230599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":230599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:36:09] local.INFO: TCP Data received {"connection_id":230599,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:10] local.INFO: Processing buffer {"connection_id":230599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:10] local.INFO: IMEI packet received {"connection_id":230599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":230599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:36:12] local.INFO: TCP Data received {"connection_id":230598,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:36:12] local.INFO: Processing buffer {"connection_id":230598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:36:12] local.INFO: IMEI packet received {"connection_id":230598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":230598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:36:13] local.INFO: TCP Data received {"connection_id":230598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bb26b8012d39370006a9f3f0000b009530..."} 
[2026-11-04 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bb26b8012d39370006a9f3f0000b009530..."} 
[2026-11-04 09:36:13] local.INFO: Processing buffer {"connection_id":230598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bb26b8012d39370006a9f3f0000b009530..."} 
[2026-11-04 09:36:13] local.INFO: Packet analysis {"connection_id":230598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bb"} 
[2026-11-04 09:36:13] local.INFO: Extracted packet for processing {"connection_id":230598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bb"} 
[2026-11-04 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758724352,"raw_latitude":111801328,"longitude_deg":75.8724352,"latitude_deg":11.1801328,"altitude":11,"angle":149,"satellites":48,"speed":25,"hex_longitude":"2d393700","hex_latitude":"06a9f3f0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203862272001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38810114760638464,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4121427006363484160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765091000,"timestamp_ms":1793765091000,"timestamp_seconds":1793765091,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bb26b8"} 
[2026-11-04 09:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":65,"data_length":795,"current_offset":136} 
[2026-11-04 09:36:13] 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-11-04 09: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-11-04 09:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203862272001,"66":27984,"44":206,"81":23296,"24":25,"16":38810114760638464,"45":4121427006363484160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,81,24,16,45]} 
[2026-11-04 09:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203862272001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-11-04 09:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38810114760638464,"km_value":38810114760638.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4121427006363484160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203862272001,"power":27984,"unknown_44":206,"unknown_81":23296,"ignition":25,"odometer":null,"unknown_45":4121427006363484160}} 
[2026-11-04 09:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":230598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:36:13] local.INFO: GPS data processed {"connection_id":230598,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:36:13] local.INFO: Acknowledgment sent {"connection_id":230598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:36:14] local.INFO: TCP Data received {"connection_id":230599,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:14] local.INFO: Processing buffer {"connection_id":230599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:36:14] local.INFO: IMEI packet received {"connection_id":230599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":230599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:36:15] local.INFO: TCP Data received {"connection_id":230599,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ba3c58012d0c504006edd338000e015330..."} 
[2026-11-04 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ba3c58012d0c504006edd338000e015330..."} 
[2026-11-04 09:36:15] local.INFO: Processing buffer {"connection_id":230599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ba3c58012d0c504006edd338000e015330..."} 
[2026-11-04 09:36:15] local.INFO: Packet analysis {"connection_id":230599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ba"} 
[2026-11-04 09:36:15] local.INFO: Extracted packet for processing {"connection_id":230599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ba"} 
[2026-11-04 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":755781696,"raw_latitude":116249400,"longitude_deg":75.5781696,"latitude_deg":11.62494,"altitude":14,"angle":339,"satellites":48,"speed":24,"hex_longitude":"2d0c5040","hex_latitude":"06edd338","is_valid_coordinates":true} 
[2026-11-04 09:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203843328001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20362238086873088,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889742431140206592,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:15] 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-11-04 09:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793765031000,"timestamp_ms":1793765031000,"timestamp_seconds":1793765031,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ba3c58"} 
[2026-11-04 09:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 09:36:15] 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-11-04 09:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203843328001,"66":28332,"158":206,"2":56576,"24":24,"16":20362238086873088,"45":889742431140206592},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-11-04 09:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203843328001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:36:15] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-04 09:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20362238086873088,"km_value":20362238086873.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":889742431140206592,"description":"Unknown IO ID 45"} 
[2026-11-04 09:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203843328001,"power":28332,"unknown_158":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":889742431140206592}} 
[2026-11-04 09:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":230599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:36:15] local.INFO: GPS data processed {"connection_id":230599,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:36:15] local.INFO: Acknowledgment sent {"connection_id":230599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:36:44] local.INFO: TCP Data received {"connection_id":230598,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc1cd0012d395f4006a95130000c01242c..."} 
[2026-11-04 09:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc1cd0012d395f4006a95130000c01242c..."} 
[2026-11-04 09:36:44] local.INFO: Processing buffer {"connection_id":230598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc1cd0012d395f4006a95130000c01242c..."} 
[2026-11-04 09:36:44] local.INFO: Packet analysis {"connection_id":230598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:36:44] local.INFO: Extracted packet for processing {"connection_id":230598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758734656,"raw_latitude":111759664,"longitude_deg":75.8734656,"latitude_deg":11.1759664,"altitude":12,"angle":292,"satellites":44,"speed":14,"hex_longitude":"2d395f40","hex_latitude":"06a95130","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203879168001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134515592769064960,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38812300898992128,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793765154000,"timestamp_ms":1793765154000,"timestamp_seconds":1793765154,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc1cd0"} 
[2026-11-04 09:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 09:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203879168001,"66":27908,"45":4134515592769064960,"81":23296,"24":14,"16":38812300898992128},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 09:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203879168001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134515592769064960,"description":"Unknown IO ID 45"} 
[2026-11-04 09:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38812300898992128,"km_value":38812300898992.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:36:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203879168001,"power":27908,"unknown_45":4134515592769064960,"unknown_81":23296,"ignition":14,"odometer":null}} 
[2026-11-04 09:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":230598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:36:44] local.INFO: GPS data processed {"connection_id":230598,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:36:44] local.INFO: Acknowledgment sent {"connection_id":230598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:36:47] local.INFO: TCP Data received {"connection_id":230599,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ba8a78012d0c410006edf378000e014c2e..."} 
[2026-11-04 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ba8a78012d0c410006edf378000e014c2e..."} 
[2026-11-04 09:36:47] local.INFO: Processing buffer {"connection_id":230599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ba8a78012d0c410006edf378000e014c2e..."} 
[2026-11-04 09:36:47] local.INFO: Packet analysis {"connection_id":230599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ba"} 
[2026-11-04 09:36:47] local.INFO: Extracted packet for processing {"connection_id":230599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ba"} 
[2026-11-04 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":755777792,"raw_latitude":116257656,"longitude_deg":75.5777792,"latitude_deg":11.6257656,"altitude":14,"angle":332,"satellites":46,"speed":16,"hex_longitude":"2d0c4100","hex_latitude":"06edf378","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203847936001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20362680468504576,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887279525096011776,"note":"Value kept but may cause issues"} 
[2026-11-04 09:36:47] 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-11-04 09:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793765051000,"timestamp_ms":1793765051000,"timestamp_seconds":1793765051,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ba8a78"} 
[2026-11-04 09:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 09:36:47] 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-11-04 09: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-11-04 09:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203847936001,"66":28300,"158":206,"2":56576,"24":16,"16":20362680468504576,"45":887279525096011776},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-11-04 09:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203847936001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:36:47] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-11-04 09:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20362680468504576,"km_value":20362680468504.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":887279525096011776,"description":"Unknown IO ID 45"} 
[2026-11-04 09:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203847936001,"power":28300,"unknown_158":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":887279525096011776}} 
[2026-11-04 09:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":230599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:36:47] local.INFO: GPS data processed {"connection_id":230599,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:36:47] local.INFO: Acknowledgment sent {"connection_id":230599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:37:07] local.INFO: TCP Data received {"connection_id":229311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:37:07] local.INFO: Processing buffer {"connection_id":229311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:37:07] local.INFO: IMEI packet received {"connection_id":229311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":229311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:37:12] local.INFO: TCP Data received {"connection_id":232447,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:12] local.INFO: Processing buffer {"connection_id":232447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:12] local.INFO: IMEI packet received {"connection_id":232447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":232447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:37:12] local.INFO: TCP Data received {"connection_id":229311,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:37:12] local.INFO: Processing buffer {"connection_id":229311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:37:12] local.INFO: IMEI packet received {"connection_id":229311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":229311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:37:13] local.INFO: TCP Data received {"connection_id":229311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc20b8012d395d8006a95228000c01352b..."} 
[2026-11-04 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc20b8012d395d8006a95228000c01352b..."} 
[2026-11-04 09:37:13] local.INFO: Processing buffer {"connection_id":229311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc20b8012d395d8006a95228000c01352b..."} 
[2026-11-04 09:37:13] local.INFO: Packet analysis {"connection_id":229311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:13] local.INFO: Extracted packet for processing {"connection_id":229311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758734208,"raw_latitude":111759912,"longitude_deg":75.8734208,"latitude_deg":11.1759912,"altitude":12,"angle":309,"satellites":43,"speed":16,"hex_longitude":"2d395d80","hex_latitude":"06a95228","is_valid_coordinates":true} 
[2026-11-04 09:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203879424001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4134093380304056320,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38812322373828608,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765155000,"timestamp_ms":1793765155000,"timestamp_seconds":1793765155,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc20b8"} 
[2026-11-04 09:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:37:13] 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-11-04 09:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203879424001,"66":27908,"45":4134093380304056320,"81":23296,"24":16,"16":38812322373828608},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 09:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203879424001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4134093380304056320,"description":"Unknown IO ID 45"} 
[2026-11-04 09:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38812322373828608,"km_value":38812322373828.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:37:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203879424001,"power":27908,"unknown_45":4134093380304056320,"unknown_81":23296,"ignition":16,"odometer":null}} 
[2026-11-04 09:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":229311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:37:13] local.INFO: GPS data processed {"connection_id":229311,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:37:13] local.INFO: Acknowledgment sent {"connection_id":229311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:37:13] local.INFO: TCP Data received {"connection_id":232447,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:13] local.INFO: Processing buffer {"connection_id":232447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:13] local.INFO: IMEI packet received {"connection_id":232447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":232447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:37:16] local.INFO: TCP Data received {"connection_id":232447,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:16] local.INFO: Processing buffer {"connection_id":232447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:16] local.INFO: IMEI packet received {"connection_id":232447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":232447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:37:19] local.INFO: TCP Data received {"connection_id":232447,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:19] local.INFO: Processing buffer {"connection_id":232447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:37:19] local.INFO: IMEI packet received {"connection_id":232447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":232447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:37:20] local.INFO: TCP Data received {"connection_id":232447,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc5f38012d0b9dc006ef4190001001542d..."} 
[2026-11-04 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc5f38012d0b9dc006ef4190001001542d..."} 
[2026-11-04 09:37:20] local.INFO: Processing buffer {"connection_id":232447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc5f38012d0b9dc006ef4190001001542d..."} 
[2026-11-04 09:37:20] local.INFO: Packet analysis {"connection_id":232447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:20] local.INFO: Extracted packet for processing {"connection_id":232447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":755736000,"raw_latitude":116343184,"longitude_deg":75.5736,"latitude_deg":11.6343184,"altitude":16,"angle":340,"satellites":45,"speed":58,"hex_longitude":"2d0b9dc0","hex_latitude":"06ef4190","is_valid_coordinates":true} 
[2026-11-04 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203882240001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20367301853315072,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840484310239731712,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:20] 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-11-04 09:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793765171000,"timestamp_ms":1793765171000,"timestamp_seconds":1793765171,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc5f38"} 
[2026-11-04 09:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:37: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-11-04 09:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203882240001,"66":28398,"118":206,"2":56576,"24":58,"16":20367301853315072,"45":840484310239731712},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203882240001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:37:20] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20367301853315072,"km_value":20367301853315.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":840484310239731712,"description":"Unknown IO ID 45"} 
[2026-11-04 09:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203882240001,"power":28398,"unknown_118":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":840484310239731712}} 
[2026-11-04 09:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":232447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:37:20] local.INFO: GPS data processed {"connection_id":232447,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:37:20] local.INFO: Acknowledgment sent {"connection_id":232447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:37:30] local.INFO: TCP Data received {"connection_id":232447,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc7a90012d0b918006ef64c0001101552d..."} 
[2026-11-04 09:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc7a90012d0b918006ef64c0001101552d..."} 
[2026-11-04 09:37:30] local.INFO: Processing buffer {"connection_id":232447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc7a90012d0b918006ef64c0001101552d..."} 
[2026-11-04 09:37:30] local.INFO: Packet analysis {"connection_id":232447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:30] local.INFO: Extracted packet for processing {"connection_id":232447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:30] local.INFO: GPS Element Parsed {"raw_longitude":755732864,"raw_latitude":116352192,"longitude_deg":75.5732864,"latitude_deg":11.6352192,"altitude":17,"angle":341,"satellites":45,"speed":48,"hex_longitude":"2d0b9180","hex_latitude":"06ef64c0","is_valid_coordinates":true} 
[2026-11-04 09:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203883776001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20367761414815744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837036241777168384,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:30] 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-11-04 09:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793765178000,"timestamp_ms":1793765178000,"timestamp_seconds":1793765178,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc7a90"} 
[2026-11-04 09:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:37:30] 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-11-04 09:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203883776001,"66":28452,"118":206,"2":56576,"24":48,"16":20367761414815744,"45":837036241777168384},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203883776001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:37:30] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20367761414815744,"km_value":20367761414815.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":837036241777168384,"description":"Unknown IO ID 45"} 
[2026-11-04 09:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203883776001,"power":28452,"unknown_118":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":837036241777168384}} 
[2026-11-04 09:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":232447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:37:30] local.INFO: GPS data processed {"connection_id":232447,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:37:30] local.INFO: Acknowledgment sent {"connection_id":232447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:37:44] local.INFO: TCP Data received {"connection_id":229311,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc2c70012d39574006a954f8000c012a2b..."} 
[2026-11-04 09:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc2c70012d39574006a954f8000c012a2b..."} 
[2026-11-04 09:37:44] local.INFO: Processing buffer {"connection_id":229311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc2c70012d39574006a954f8000c012a2b..."} 
[2026-11-04 09:37:44] local.INFO: Packet analysis {"connection_id":229311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:44] local.INFO: Extracted packet for processing {"connection_id":229311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758732608,"raw_latitude":111760632,"longitude_deg":75.8732608,"latitude_deg":11.1760632,"altitude":12,"angle":298,"satellites":43,"speed":21,"hex_longitude":"2d395740","hex_latitude":"06a954f8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203879680001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38812408273174528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4133600799094876160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793765158000,"timestamp_ms":1793765158000,"timestamp_seconds":1793765158,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc2c70"} 
[2026-11-04 09:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09: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-11-04 09: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-11-04 09:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203879680001,"66":27995,"46":206,"81":23296,"24":21,"16":38812408273174528,"45":4133600799094876160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-11-04 09:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203879680001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:37:44] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-04 09:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38812408273174528,"km_value":38812408273174.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4133600799094876160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203879680001,"power":27995,"unknown_46":206,"unknown_81":23296,"ignition":21,"odometer":null,"unknown_45":4133600799094876160}} 
[2026-11-04 09:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":229311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:37:44] local.INFO: GPS data processed {"connection_id":229311,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:37:44] local.INFO: Acknowledgment sent {"connection_id":229311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:38:08] local.INFO: TCP Data received {"connection_id":230600,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:08] local.INFO: Processing buffer {"connection_id":230600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:08] local.INFO: IMEI packet received {"connection_id":230600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":230600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:38:09] local.INFO: TCP Data received {"connection_id":230600,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:09] local.INFO: Processing buffer {"connection_id":230600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:09] local.INFO: IMEI packet received {"connection_id":230600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":230600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:38:12] local.INFO: TCP Data received {"connection_id":228816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:38:12] local.INFO: Processing buffer {"connection_id":228816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:38:12] local.INFO: IMEI packet received {"connection_id":228816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":228816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:38:13] local.INFO: TCP Data received {"connection_id":230600,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:13] local.INFO: Processing buffer {"connection_id":230600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:38:13] local.INFO: IMEI packet received {"connection_id":230600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":230600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:38:14] local.INFO: TCP Data received {"connection_id":228816,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:38:14] local.INFO: Processing buffer {"connection_id":228816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:38:14] local.INFO: IMEI packet received {"connection_id":228816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":228816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:38:15] local.INFO: TCP Data received {"connection_id":228816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc4bb0012d39498006a95988000c011f28..."} 
[2026-11-04 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc4bb0012d39498006a95988000c011f28..."} 
[2026-11-04 09:38:15] local.INFO: Processing buffer {"connection_id":228816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc4bb0012d39498006a95988000c011f28..."} 
[2026-11-04 09:38:15] local.INFO: Packet analysis {"connection_id":228816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:15] local.INFO: Extracted packet for processing {"connection_id":228816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:15] local.INFO: GPS Element Parsed {"raw_longitude":758729088,"raw_latitude":111761800,"longitude_deg":75.8729088,"latitude_deg":11.17618,"altitude":12,"angle":287,"satellites":40,"speed":23,"hex_longitude":"2d394980","hex_latitude":"06a95988","is_valid_coordinates":true} 
[2026-11-04 09:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203880448001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38812584366833664,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131841580490618880,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793765166000,"timestamp_ms":1793765166000,"timestamp_seconds":1793765166,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc4bb0"} 
[2026-11-04 09:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 09:38: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-11-04 09:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203880448001,"66":28006,"46":206,"81":23296,"24":23,"16":38812584366833664,"45":4131841580490618880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-11-04 09:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203880448001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:38:15] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-04 09:38:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38812584366833664,"km_value":38812584366833.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131841580490618880,"description":"Unknown IO ID 45"} 
[2026-11-04 09:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203880448001,"power":28006,"unknown_46":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":4131841580490618880}} 
[2026-11-04 09:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":228816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:38:15] local.INFO: GPS data processed {"connection_id":228816,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:38:15] local.INFO: Acknowledgment sent {"connection_id":228816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:38:16] local.INFO: TCP Data received {"connection_id":230600,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bca1a0012d0b898006ef7aa0000e01412a..."} 
[2026-11-04 09:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bca1a0012d0b898006ef7aa0000e01412a..."} 
[2026-11-04 09:38:16] local.INFO: Processing buffer {"connection_id":230600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bca1a0012d0b898006ef7aa0000e01412a..."} 
[2026-11-04 09:38:16] local.INFO: Packet analysis {"connection_id":230600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:16] local.INFO: Extracted packet for processing {"connection_id":230600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:16] local.INFO: GPS Element Parsed {"raw_longitude":755730816,"raw_latitude":116357792,"longitude_deg":75.5730816,"latitude_deg":11.6357792,"altitude":14,"angle":321,"satellites":42,"speed":10,"hex_longitude":"2d0b8980","hex_latitude":"06ef7aa0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203885568001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20368049177624576,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833588173314768896,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:16] 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-11-04 09:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793765188000,"timestamp_ms":1793765188000,"timestamp_seconds":1793765188,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bca1a0"} 
[2026-11-04 09:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:38: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-11-04 09: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-11-04 09:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203885568001,"66":28430,"118":206,"2":56576,"24":10,"16":20368049177624576,"45":833588173314768896},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203885568001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:38:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20368049177624576,"km_value":20368049177624.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":833588173314768896,"description":"Unknown IO ID 45"} 
[2026-11-04 09:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203885568001,"power":28430,"unknown_118":206,"power_alt":56576,"ignition":10,"odometer":null,"unknown_45":833588173314768896}} 
[2026-11-04 09:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":230600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:38:16] local.INFO: GPS data processed {"connection_id":230600,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:38:16] local.INFO: Acknowledgment sent {"connection_id":230600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:38:17] local.INFO: TCP Data received {"connection_id":228816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc76a8012d39270006a962e0000c011d26..."} 
[2026-11-04 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc76a8012d39270006a962e0000c011d26..."} 
[2026-11-04 09:38:17] local.INFO: Processing buffer {"connection_id":228816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc76a8012d39270006a962e0000c011d26..."} 
[2026-11-04 09:38:17] local.INFO: Packet analysis {"connection_id":228816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:17] local.INFO: Extracted packet for processing {"connection_id":228816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":758720256,"raw_latitude":111764192,"longitude_deg":75.8720256,"latitude_deg":11.1764192,"altitude":12,"angle":285,"satellites":38,"speed":40,"hex_longitude":"2d392700","hex_latitude":"06a962e0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203882496001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38813022453497856,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4127971299561146368,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793765177000,"timestamp_ms":1793765177000,"timestamp_seconds":1793765177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc76a8"} 
[2026-11-04 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-11-04 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 09:38: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-11-04 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-11-04 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-11-04 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203882496001,"66":27930,"91":206,"81":23296,"24":40,"16":38813022453497856,"45":4127971299561146368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-11-04 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203882496001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:38:17] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-04 09:38:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38813022453497856,"km_value":38813022453497.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4127971299561146368,"description":"Unknown IO ID 45"} 
[2026-11-04 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203882496001,"power":27930,"unknown_91":206,"unknown_81":23296,"ignition":40,"odometer":null,"unknown_45":4127971299561146368}} 
[2026-11-04 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":228816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:38:17] local.INFO: GPS data processed {"connection_id":228816,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:38:17] local.INFO: Acknowledgment sent {"connection_id":228816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:38:48] local.INFO: TCP Data received {"connection_id":228816,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bc9db8012d39010006a969b8000d01162a..."} 
[2026-11-04 09:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bc9db8012d39010006a969b8000d01162a..."} 
[2026-11-04 09:38:48] local.INFO: Processing buffer {"connection_id":228816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bc9db8012d39010006a969b8000d01162a..."} 
[2026-11-04 09:38:48] local.INFO: Packet analysis {"connection_id":228816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:48] local.INFO: Extracted packet for processing {"connection_id":228816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:48] local.INFO: GPS Element Parsed {"raw_longitude":758710528,"raw_latitude":111765944,"longitude_deg":75.8710528,"latitude_deg":11.1765944,"altitude":13,"angle":278,"satellites":42,"speed":39,"hex_longitude":"2d390100","hex_latitude":"06a969b8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203885312001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38813490604933120,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4118260412865241088,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793765187000,"timestamp_ms":1793765187000,"timestamp_seconds":1793765187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bc9db8"} 
[2026-11-04 09:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203885312001,"66":28050,"91":206,"81":23296,"24":39,"16":38813490604933120,"45":4118260412865241088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,81,24,16,45]} 
[2026-11-04 09:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203885312001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:38:48] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-04 09:38:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38813490604933120,"km_value":38813490604933.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4118260412865241088,"description":"Unknown IO ID 45"} 
[2026-11-04 09:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203885312001,"power":28050,"unknown_91":206,"unknown_81":23296,"ignition":39,"odometer":null,"unknown_45":4118260412865241088}} 
[2026-11-04 09:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":228816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:38:49] local.INFO: GPS data processed {"connection_id":228816,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:38:49] local.INFO: Acknowledgment sent {"connection_id":228816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:38:49] local.INFO: TCP Data received {"connection_id":230600,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bcb528012d0b85c006ef7f08000e014e2b..."} 
[2026-11-04 09:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bcb528012d0b85c006ef7f08000e014e2b..."} 
[2026-11-04 09:38:49] local.INFO: Processing buffer {"connection_id":230600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bcb528012d0b85c006ef7f08000e014e2b..."} 
[2026-11-04 09:38:49] local.INFO: Packet analysis {"connection_id":230600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:49] local.INFO: Extracted packet for processing {"connection_id":230600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:38:49] local.INFO: GPS Element Parsed {"raw_longitude":755729856,"raw_latitude":116358920,"longitude_deg":75.5729856,"latitude_deg":11.635892,"altitude":14,"angle":334,"satellites":43,"speed":16,"hex_longitude":"2d0b85c0","hex_latitude":"06ef7f08","is_valid_coordinates":true} 
[2026-11-04 09:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203888128001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20368122192068608,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831336373502517248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:38:49] 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-11-04 09:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765193000,"timestamp_ms":1793765193000,"timestamp_seconds":1793765193,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bcb528"} 
[2026-11-04 09:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:38: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-11-04 09:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230600,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203888128001,"66":28571,"118":206,"2":56576,"24":16,"16":20368122192068608,"45":831336373502517248},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203888128001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:38:49] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20368122192068608,"km_value":20368122192068.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":831336373502517248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203888128001,"power":28571,"unknown_118":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":831336373502517248}} 
[2026-11-04 09:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":230600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:38:49] local.INFO: GPS data processed {"connection_id":230600,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:38:49] local.INFO: Acknowledgment sent {"connection_id":230600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:39:06] local.INFO: TCP Data received {"connection_id":229312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:06] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:06] local.INFO: IMEI packet received {"connection_id":229312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":229312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:39:07] local.INFO: TCP Data received {"connection_id":229312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:07] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:07] local.INFO: IMEI packet received {"connection_id":229312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":229312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:39:09] local.INFO: TCP Data received {"connection_id":232448,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:09] local.INFO: Processing buffer {"connection_id":232448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:09] local.INFO: IMEI packet received {"connection_id":232448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":232448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:39:10] local.INFO: TCP Data received {"connection_id":232448,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:10] local.INFO: Processing buffer {"connection_id":232448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:10] local.INFO: IMEI packet received {"connection_id":232448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":232448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:39:12] local.INFO: TCP Data received {"connection_id":229312,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:12] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:39:12] local.INFO: IMEI packet received {"connection_id":229312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":229312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:39:13] local.INFO: TCP Data received {"connection_id":229312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bcc8b0012d38de0006a97138000d011b2c..."} 
[2026-11-04 09:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bcc8b0012d38de0006a97138000d011b2c..."} 
[2026-11-04 09:39:13] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bcc8b0012d38de0006a97138000d011b2c..."} 
[2026-11-04 09:39:13] local.INFO: Packet analysis {"connection_id":229312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:39:13] local.INFO: Extracted packet for processing {"connection_id":229312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758701568,"raw_latitude":111767864,"longitude_deg":75.8701568,"latitude_deg":11.1767864,"altitude":13,"angle":283,"satellites":44,"speed":26,"hex_longitude":"2d38de00","hex_latitude":"06a97138","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203887872001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38813928691597312,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4107564363750684672,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765198000,"timestamp_ms":1793765198000,"timestamp_seconds":1793765198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bcc8b0"} 
[2026-11-04 09:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:39: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-11-04 09: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-11-04 09:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203887872001,"66":27930,"46":206,"81":23296,"24":26,"16":38813928691597312,"45":4107564363750684672},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-11-04 09:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203887872001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:39:13] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-04 09:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38813928691597312,"km_value":38813928691597.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4107564363750684672,"description":"Unknown IO ID 45"} 
[2026-11-04 09:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203887872001,"power":27930,"unknown_46":206,"unknown_81":23296,"ignition":26,"odometer":null,"unknown_45":4107564363750684672}} 
[2026-11-04 09:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":229312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:39:13] local.INFO: GPS data processed {"connection_id":229312,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:39:13] local.INFO: Acknowledgment sent {"connection_id":229312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:39:14] local.INFO: TCP Data received {"connection_id":232448,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:14] local.INFO: Processing buffer {"connection_id":232448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:39:14] local.INFO: IMEI packet received {"connection_id":232448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":232448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:39:17] local.INFO: TCP Data received {"connection_id":232448,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bcbcf8012d0b848006ef82a8000e015c2a..."} 
[2026-11-04 09:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bcbcf8012d0b848006ef82a8000e015c2a..."} 
[2026-11-04 09:39:17] local.INFO: Processing buffer {"connection_id":232448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bcbcf8012d0b848006ef82a8000e015c2a..."} 
[2026-11-04 09:39:17] local.INFO: Packet analysis {"connection_id":232448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:39:17] local.INFO: Extracted packet for processing {"connection_id":232448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:39:17] local.INFO: GPS Element Parsed {"raw_longitude":755729536,"raw_latitude":116359848,"longitude_deg":75.5729536,"latitude_deg":11.6359848,"altitude":14,"angle":348,"satellites":42,"speed":21,"hex_longitude":"2d0b8480","hex_latitude":"06ef82a8","is_valid_coordinates":true} 
[2026-11-04 09:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203889408001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20368169436708864,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830280842340141056,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39: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-11-04 09:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793765195000,"timestamp_ms":1793765195000,"timestamp_seconds":1793765195,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bcbcf8"} 
[2026-11-04 09:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-11-04 09:39:17] 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-11-04 09:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203889408001,"66":28485,"118":206,"2":56576,"24":21,"16":20368169436708864,"45":830280842340141056},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203889408001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:39:17] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20368169436708864,"km_value":20368169436708.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":830280842340141056,"description":"Unknown IO ID 45"} 
[2026-11-04 09:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203889408001,"power":28485,"unknown_118":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":830280842340141056}} 
[2026-11-04 09:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":232448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:39:17] local.INFO: GPS data processed {"connection_id":232448,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:39:17] local.INFO: Acknowledgment sent {"connection_id":232448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:39:46] local.INFO: TCP Data received {"connection_id":229312,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bd0730012d38b98006a97ac8000b011d2b..."} 
[2026-11-04 09:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bd0730012d38b98006a97ac8000b011d2b..."} 
[2026-11-04 09:39:46] local.INFO: Processing buffer {"connection_id":229312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bd0730012d38b98006a97ac8000b011d2b..."} 
[2026-11-04 09:39:46] local.INFO: Packet analysis {"connection_id":229312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bd"} 
[2026-11-04 09:39:46] local.INFO: Extracted packet for processing {"connection_id":229312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bd"} 
[2026-11-04 09:39:46] local.INFO: GPS Element Parsed {"raw_longitude":758692224,"raw_latitude":111770312,"longitude_deg":75.8692224,"latitude_deg":11.1770312,"altitude":11,"angle":285,"satellites":43,"speed":26,"hex_longitude":"2d38b980","hex_latitude":"06a97ac8","is_valid_coordinates":true} 
[2026-11-04 09:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203890688001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38814388253097984,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097712739566303232,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793765214000,"timestamp_ms":1793765214000,"timestamp_seconds":1793765214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bd0730"} 
[2026-11-04 09:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203890688001,"66":28028,"46":206,"81":23296,"24":26,"16":38814388253097984,"45":4097712739566303232},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-11-04 09:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203890688001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:39:46] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-04 09:39:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38814388253097984,"km_value":38814388253097.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4097712739566303232,"description":"Unknown IO ID 45"} 
[2026-11-04 09:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203890688001,"power":28028,"unknown_46":206,"unknown_81":23296,"ignition":26,"odometer":null,"unknown_45":4097712739566303232}} 
[2026-11-04 09:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":229312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:39:46] local.INFO: GPS data processed {"connection_id":229312,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:39:46] local.INFO: Acknowledgment sent {"connection_id":229312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:39:49] local.INFO: TCP Data received {"connection_id":232448,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bcefc0012d0b7c8006efa480000c015b2a..."} 
[2026-11-04 09:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bcefc0012d0b7c8006efa480000c015b2a..."} 
[2026-11-04 09:39:49] local.INFO: Processing buffer {"connection_id":232448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bcefc0012d0b7c8006efa480000c015b2a..."} 
[2026-11-04 09:39:49] local.INFO: Packet analysis {"connection_id":232448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:39:49] local.INFO: Extracted packet for processing {"connection_id":232448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bc"} 
[2026-11-04 09:39:49] local.INFO: GPS Element Parsed {"raw_longitude":755727488,"raw_latitude":116368512,"longitude_deg":75.5727488,"latitude_deg":11.6368512,"altitude":12,"angle":347,"satellites":42,"speed":31,"hex_longitude":"2d0b7c80","hex_latitude":"06efa480","is_valid_coordinates":true} 
[2026-11-04 09:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203889920001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20368603228405760,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829928998619490304,"note":"Value kept but may cause issues"} 
[2026-11-04 09:39:49] 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-11-04 09:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765208000,"timestamp_ms":1793765208000,"timestamp_seconds":1793765208,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bcefc0"} 
[2026-11-04 09:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 09:39: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-11-04 09:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203889920001,"66":28571,"118":206,"2":56576,"24":31,"16":20368603228405760,"45":829928998619490304},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203889920001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:39:49] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20368603228405760,"km_value":20368603228405.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":829928998619490304,"description":"Unknown IO ID 45"} 
[2026-11-04 09:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203889920001,"power":28571,"unknown_118":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":829928998619490304}} 
[2026-11-04 09:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":232448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58529,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:39:49] local.INFO: GPS data processed {"connection_id":232448,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:39:49] local.INFO: Acknowledgment sent {"connection_id":232448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:40:09] local.INFO: TCP Data received {"connection_id":230602,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:09] local.INFO: Processing buffer {"connection_id":230602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:09] local.INFO: IMEI packet received {"connection_id":230602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":230602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:40:10] local.INFO: TCP Data received {"connection_id":230601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:10] local.INFO: Processing buffer {"connection_id":230601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:10] local.INFO: IMEI packet received {"connection_id":230601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":230601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:40:12] local.INFO: TCP Data received {"connection_id":230601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:12] local.INFO: Processing buffer {"connection_id":230601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:12] local.INFO: IMEI packet received {"connection_id":230601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":230601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:40:14] local.INFO: TCP Data received {"connection_id":230602,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:14] local.INFO: Processing buffer {"connection_id":230602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:14] local.INFO: IMEI packet received {"connection_id":230602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":230602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:40:15] local.INFO: TCP Data received {"connection_id":230602,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:15] local.INFO: Processing buffer {"connection_id":230602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:40:15] local.INFO: IMEI packet received {"connection_id":230602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":230602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:40:16] local.INFO: TCP Data received {"connection_id":230602,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4beef78012d0b128006f0dcb8000c01412d..."} 
[2026-11-04 09:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4beef78012d0b128006f0dcb8000c01412d..."} 
[2026-11-04 09:40:16] local.INFO: Processing buffer {"connection_id":230602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4beef78012d0b128006f0dcb8000c01412d..."} 
[2026-11-04 09:40:16] local.INFO: Packet analysis {"connection_id":230602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4be"} 
[2026-11-04 09:40:16] local.INFO: Extracted packet for processing {"connection_id":230602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4be"} 
[2026-11-04 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":755700352,"raw_latitude":116448440,"longitude_deg":75.5700352,"latitude_deg":11.644844,"altitude":12,"angle":321,"satellites":45,"speed":27,"hex_longitude":"2d0b1280","hex_latitude":"06f0dcb8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203923200001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20372734986944512,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803822194550345728,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:16] 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-11-04 09:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793765339000,"timestamp_ms":1793765339000,"timestamp_seconds":1793765339,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4beef78"} 
[2026-11-04 09:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:40: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-11-04 09: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-11-04 09:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203923200001,"66":28354,"118":206,"2":56576,"24":27,"16":20372734986944512,"45":803822194550345728},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203923200001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:40:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20372734986944512,"km_value":20372734986944.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":803822194550345728,"description":"Unknown IO ID 45"} 
[2026-11-04 09:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203923200001,"power":28354,"unknown_118":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":803822194550345728}} 
[2026-11-04 09:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":230602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:40:16] local.INFO: GPS data processed {"connection_id":230602,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:40:16] local.INFO: Acknowledgment sent {"connection_id":230602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:40:17] local.INFO: TCP Data received {"connection_id":230601,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:17] local.INFO: Processing buffer {"connection_id":230601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:40:17] local.INFO: IMEI packet received {"connection_id":230601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":230601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:40:18] local.INFO: TCP Data received {"connection_id":230601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bf0eb8012d376a0006a98af8000d010a2e..."} 
[2026-11-04 09:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bf0eb8012d376a0006a98af8000d010a2e..."} 
[2026-11-04 09:40:18] local.INFO: Processing buffer {"connection_id":230601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bf0eb8012d376a0006a98af8000d010a2e..."} 
[2026-11-04 09:40:18] local.INFO: Packet analysis {"connection_id":230601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:18] local.INFO: Extracted packet for processing {"connection_id":230601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758606336,"raw_latitude":111774456,"longitude_deg":75.8606336,"latitude_deg":11.1774456,"altitude":13,"angle":266,"satellites":46,"speed":48,"hex_longitude":"2d376a00","hex_latitude":"06a98af8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203926528001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38818520011636736,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4003629728602660864,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793765347000,"timestamp_ms":1793765347000,"timestamp_seconds":1793765347,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bf0eb8"} 
[2026-11-04 09:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 09:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203926528001,"66":27919,"78":206,"81":23296,"24":48,"16":38818520011636736,"45":4003629728602660864},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-11-04 09:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203926528001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:40:18] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 09:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38818520011636736,"km_value":38818520011636.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4003629728602660864,"description":"Unknown IO ID 45"} 
[2026-11-04 09:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203926528001,"power":27919,"unknown_78":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":4003629728602660864}} 
[2026-11-04 09:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":230601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:40:18] local.INFO: GPS data processed {"connection_id":230601,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:40:18] local.INFO: Acknowledgment sent {"connection_id":230601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:40:21] local.INFO: TCP Data received {"connection_id":230602,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bf4180012d0afa4006f0f818000d013c2d..."} 
[2026-11-04 09:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bf4180012d0afa4006f0f818000d013c2d..."} 
[2026-11-04 09:40:21] local.INFO: Processing buffer {"connection_id":230602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bf4180012d0afa4006f0f818000d013c2d..."} 
[2026-11-04 09:40:21] local.INFO: Packet analysis {"connection_id":230602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:21] local.INFO: Extracted packet for processing {"connection_id":230602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:21] local.INFO: GPS Element Parsed {"raw_longitude":755694144,"raw_latitude":116455448,"longitude_deg":75.5694144,"latitude_deg":11.6455448,"altitude":13,"angle":316,"satellites":45,"speed":22,"hex_longitude":"2d0afa40","hex_latitude":"06f0f818","is_valid_coordinates":true} 
[2026-11-04 09:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203926784001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20373185958510592,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797840851297155072,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:21] 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-11-04 09:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793765360000,"timestamp_ms":1793765360000,"timestamp_seconds":1793765360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bf4180"} 
[2026-11-04 09:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:40: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-11-04 09:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203926784001,"66":28398,"118":206,"2":56576,"24":22,"16":20373185958510592,"45":797840851297155072},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203926784001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:40:21] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20373185958510592,"km_value":20373185958510.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":797840851297155072,"description":"Unknown IO ID 45"} 
[2026-11-04 09:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203926784001,"power":28398,"unknown_118":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":797840851297155072}} 
[2026-11-04 09:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":230602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:40:22] local.INFO: GPS data processed {"connection_id":230602,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:40:22] local.INFO: Acknowledgment sent {"connection_id":230602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:40:24] local.INFO: TCP Data received {"connection_id":232449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232449,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:24] local.INFO: Processing buffer {"connection_id":232449,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:24] local.INFO: IMEI packet received {"connection_id":232449,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":232449,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:40:27] local.INFO: TCP Data received {"connection_id":232449,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232449,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:27] local.INFO: Processing buffer {"connection_id":232449,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:27] local.INFO: IMEI packet received {"connection_id":232449,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":232449,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:40:28] local.INFO: TCP Data received {"connection_id":232449,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bfaaf8012d0d2ac00703e8d0001700b623..."} 
[2026-11-04 09:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bfaaf8012d0d2ac00703e8d0001700b623..."} 
[2026-11-04 09:40:28] local.INFO: Processing buffer {"connection_id":232449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bfaaf8012d0d2ac00703e8d0001700b623..."} 
[2026-11-04 09:40:28] local.INFO: Packet analysis {"connection_id":232449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:28] local.INFO: Extracted packet for processing {"connection_id":232449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:28] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117696720,"longitude_deg":75.5837632,"latitude_deg":11.769672,"altitude":23,"angle":182,"satellites":35,"speed":21,"hex_longitude":"2d0d2ac0","hex_latitude":"0703e8d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203932416001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39220816713351168,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948289226670833664,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793765387000,"timestamp_ms":1793765387000,"timestamp_seconds":1793765387,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bfaaf8"} 
[2026-11-04 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-11-04 09:40: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-11-04 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-11-04 09:40:28] 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-11-04 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-11-04 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-11-04 09:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":232449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":232449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":232449,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203932416001,"66":14396,"17":206,"94":11008,"24":21,"16":39220816713351168,"45":948289226670833664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 09:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203932416001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:40:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39220816713351168,"km_value":39220816713351.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":948289226670833664,"description":"Unknown IO ID 45"} 
[2026-11-04 09:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203932416001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":21,"odometer":null,"unknown_45":948289226670833664}} 
[2026-11-04 09:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":232449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:40:28] local.INFO: GPS data processed {"connection_id":232449,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:40:28] local.INFO: Acknowledgment sent {"connection_id":232449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:40:49] local.INFO: TCP Data received {"connection_id":230601,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bf1e58012d3755c006a98ba0000d01162e..."} 
[2026-11-04 09:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bf1e58012d3755c006a98ba0000d01162e..."} 
[2026-11-04 09:40:49] local.INFO: Processing buffer {"connection_id":230601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bf1e58012d3755c006a98ba0000d01162e..."} 
[2026-11-04 09:40:49] local.INFO: Packet analysis {"connection_id":230601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:49] local.INFO: Extracted packet for processing {"connection_id":230601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758601152,"raw_latitude":111774624,"longitude_deg":75.8601152,"latitude_deg":11.1774624,"altitude":13,"angle":278,"satellites":46,"speed":53,"hex_longitude":"2d3755c0","hex_latitude":"06a98ba0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203928832001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38818769119739904,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993004048231626752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765351000,"timestamp_ms":1793765351000,"timestamp_seconds":1793765351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bf1e58"} 
[2026-11-04 09:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 09:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203928832001,"66":27865,"78":206,"81":23296,"24":53,"16":38818769119739904,"45":3993004048231626752},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,81,24,16,45]} 
[2026-11-04 09:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203928832001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:40:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-11-04 09:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38818769119739904,"km_value":38818769119739.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993004048231626752,"description":"Unknown IO ID 45"} 
[2026-11-04 09:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203928832001,"power":27865,"unknown_78":206,"unknown_81":23296,"ignition":53,"odometer":null,"unknown_45":3993004048231626752}} 
[2026-11-04 09:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":230601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:40:49] local.INFO: GPS data processed {"connection_id":230601,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:40:49] local.INFO: Acknowledgment sent {"connection_id":230601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:40:54] local.INFO: TCP Data received {"connection_id":228817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:54] local.INFO: Processing buffer {"connection_id":228817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:54] local.INFO: IMEI packet received {"connection_id":228817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":228817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:40:54] local.INFO: TCP Data received {"connection_id":228817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:54] local.INFO: Processing buffer {"connection_id":228817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:54] local.INFO: IMEI packet received {"connection_id":228817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":228817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:40:59] local.INFO: TCP Data received {"connection_id":228817,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228817,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:59] local.INFO: Processing buffer {"connection_id":228817,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:40:59] local.INFO: IMEI packet received {"connection_id":228817,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":228817,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:40:59] local.INFO: TCP Data received {"connection_id":230602,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bf4180012d0afa4006f0f818000d013c2d..."} 
[2026-11-04 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bf4180012d0afa4006f0f818000d013c2d..."} 
[2026-11-04 09:40:59] local.INFO: Processing buffer {"connection_id":230602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bf4180012d0afa4006f0f818000d013c2d..."} 
[2026-11-04 09:40:59] local.INFO: Packet analysis {"connection_id":230602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:59] local.INFO: Extracted packet for processing {"connection_id":230602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":755694144,"raw_latitude":116455448,"longitude_deg":75.5694144,"latitude_deg":11.6455448,"altitude":13,"angle":316,"satellites":45,"speed":22,"hex_longitude":"2d0afa40","hex_latitude":"06f0f818","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203932160001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20373185958510592,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791015083113715712,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:59] 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-11-04 09:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793765360000,"timestamp_ms":1793765360000,"timestamp_seconds":1793765360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bf4180"} 
[2026-11-04 09:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:40:59] 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-11-04 09: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-11-04 09:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":230602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":230602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":230602,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203932160001,"66":28398,"118":206,"2":56576,"24":22,"16":20373185958510592,"45":791015083113715712},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203932160001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:40:59] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20373185958510592,"km_value":20373185958510.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":791015083113715712,"description":"Unknown IO ID 45"} 
[2026-11-04 09:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203932160001,"power":28398,"unknown_118":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":791015083113715712}} 
[2026-11-04 09:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":230602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:40:59] local.INFO: GPS data processed {"connection_id":230602,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:40:59] local.INFO: Acknowledgment sent {"connection_id":230602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:40:59] local.INFO: TCP Data received {"connection_id":228817,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bfce20012d0d2b400703d758001600aa24..."} 
[2026-11-04 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bfce20012d0d2b400703d758001600aa24..."} 
[2026-11-04 09:40:59] local.INFO: Processing buffer {"connection_id":228817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bfce20012d0d2b400703d758001600aa24..."} 
[2026-11-04 09:40:59] local.INFO: Packet analysis {"connection_id":228817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:59] local.INFO: Extracted packet for processing {"connection_id":228817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":755837760,"raw_latitude":117692248,"longitude_deg":75.583776,"latitude_deg":11.7692248,"altitude":22,"angle":170,"satellites":36,"speed":18,"hex_longitude":"2d0d2b40","hex_latitude":"0703d758","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203939072001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39221035756683264,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807877804032,"note":"Value kept but may cause issues"} 
[2026-11-04 09:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793765396000,"timestamp_ms":1793765396000,"timestamp_seconds":1793765396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bfce20"} 
[2026-11-04 09:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:40: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-11-04 09: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-11-04 09:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":228817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":228817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":228817,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203939072001,"66":14407,"17":206,"94":11008,"24":18,"16":39221035756683264,"45":948781807877804032},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 09:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203939072001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:40:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39221035756683264,"km_value":39221035756683.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807877804032,"description":"Unknown IO ID 45"} 
[2026-11-04 09:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203939072001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":948781807877804032}} 
[2026-11-04 09:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":228817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:40:59] local.INFO: GPS data processed {"connection_id":228817,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:40:59] local.INFO: Acknowledgment sent {"connection_id":228817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:41:05] local.INFO: TCP Data received {"connection_id":230603,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:05] local.INFO: Processing buffer {"connection_id":230603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:05] local.INFO: IMEI packet received {"connection_id":230603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":230603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:41:07] local.INFO: TCP Data received {"connection_id":230603,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:07] local.INFO: Processing buffer {"connection_id":230603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:07] local.INFO: IMEI packet received {"connection_id":230603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":230603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:41:12] local.INFO: TCP Data received {"connection_id":230603,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:12] local.INFO: Processing buffer {"connection_id":230603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:41:12] local.INFO: IMEI packet received {"connection_id":230603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":230603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:41:12] local.INFO: TCP Data received {"connection_id":232450,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:12] local.INFO: Processing buffer {"connection_id":232450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:12] local.INFO: IMEI packet received {"connection_id":232450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":232450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:41:13] local.INFO: TCP Data received {"connection_id":230603,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bf3d98012d3730c006a991c0000b01192d..."} 
[2026-11-04 09:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bf3d98012d3730c006a991c0000b01192d..."} 
[2026-11-04 09:41:13] local.INFO: Processing buffer {"connection_id":230603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bf3d98012d3730c006a991c0000b01192d..."} 
[2026-11-04 09:41:13] local.INFO: Packet analysis {"connection_id":230603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:13] local.INFO: Extracted packet for processing {"connection_id":230603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758591680,"raw_latitude":111776192,"longitude_deg":75.859168,"latitude_deg":11.1776192,"altitude":11,"angle":281,"satellites":45,"speed":38,"hex_longitude":"2d3730c0","hex_latitude":"06a991c0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203929856001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38819224386273280,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3987304179953278976,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765359000,"timestamp_ms":1793765359000,"timestamp_seconds":1793765359,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bf3d98"} 
[2026-11-04 09:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 09:41:13] 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-11-04 09: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-11-04 09:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203929856001,"66":27876,"77":206,"81":23296,"24":38,"16":38819224386273280,"45":3987304179953278976},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-11-04 09:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203929856001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:41:13] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 09:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38819224386273280,"km_value":38819224386273.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3987304179953278976,"description":"Unknown IO ID 45"} 
[2026-11-04 09:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203929856001,"power":27876,"unknown_77":206,"unknown_81":23296,"ignition":38,"odometer":null,"unknown_45":3987304179953278976}} 
[2026-11-04 09:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":230603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:41:13] local.INFO: GPS data processed {"connection_id":230603,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:41:13] local.INFO: Acknowledgment sent {"connection_id":230603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:41:14] local.INFO: TCP Data received {"connection_id":232450,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:14] local.INFO: Processing buffer {"connection_id":232450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:14] local.INFO: IMEI packet received {"connection_id":232450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":232450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:41:19] local.INFO: TCP Data received {"connection_id":232450,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:19] local.INFO: Processing buffer {"connection_id":232450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:41:19] local.INFO: IMEI packet received {"connection_id":232450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":232450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:41:23] local.INFO: TCP Data received {"connection_id":232450,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bf7830012d0ade8006f11120000e01362d..."} 
[2026-11-04 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bf7830012d0ade8006f11120000e01362d..."} 
[2026-11-04 09:41:23] local.INFO: Processing buffer {"connection_id":232450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bf7830012d0ade8006f11120000e01362d..."} 
[2026-11-04 09:41:23] local.INFO: Packet analysis {"connection_id":232450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:23] local.INFO: Extracted packet for processing {"connection_id":232450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":755687040,"raw_latitude":116461856,"longitude_deg":75.568704,"latitude_deg":11.6461856,"altitude":14,"angle":310,"satellites":45,"speed":33,"hex_longitude":"2d0ade80","hex_latitude":"06f11120","is_valid_coordinates":true} 
[2026-11-04 09:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203932160001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20373645520011264,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791015083113715712,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:23] 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-11-04 09:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793765374000,"timestamp_ms":1793765374000,"timestamp_seconds":1793765374,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bf7830"} 
[2026-11-04 09:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 09:41:23] 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-11-04 09:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203932160001,"66":28376,"118":206,"2":56576,"24":33,"16":20373645520011264,"45":791015083113715712},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203932160001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:41:23] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20373645520011264,"km_value":20373645520011.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":791015083113715712,"description":"Unknown IO ID 45"} 
[2026-11-04 09:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203932160001,"power":28376,"unknown_118":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":791015083113715712}} 
[2026-11-04 09:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":232450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:41:23] local.INFO: GPS data processed {"connection_id":232450,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:41:23] local.INFO: Acknowledgment sent {"connection_id":232450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:41:44] local.INFO: TCP Data received {"connection_id":232451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:44] local.INFO: Processing buffer {"connection_id":232451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:44] local.INFO: IMEI packet received {"connection_id":232451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":232451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:41:44] local.INFO: TCP Data received {"connection_id":230603,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c081d0012d35e4c006aa0da8000a01242f..."} 
[2026-11-04 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c081d0012d35e4c006aa0da8000a01242f..."} 
[2026-11-04 09:41:44] local.INFO: Processing buffer {"connection_id":230603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c081d0012d35e4c006aa0da8000a01242f..."} 
[2026-11-04 09:41:44] local.INFO: Packet analysis {"connection_id":230603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:41:44] local.INFO: Extracted packet for processing {"connection_id":230603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758506688,"raw_latitude":111807912,"longitude_deg":75.8506688,"latitude_deg":11.1807912,"altitude":10,"angle":292,"satellites":47,"speed":47,"hex_longitude":"2d35e4c0","hex_latitude":"06aa0da8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203951104001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38823605252915200,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893713750204545024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793765442000,"timestamp_ms":1793765442000,"timestamp_seconds":1793765442,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c081d0"} 
[2026-11-04 09:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 09:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203951104001,"66":27974,"96":206,"81":23296,"24":47,"16":38823605252915200,"45":3893713750204545024},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-11-04 09:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203951104001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:41:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-04 09:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38823605252915200,"km_value":38823605252915.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893713750204545024,"description":"Unknown IO ID 45"} 
[2026-11-04 09:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203951104001,"power":27974,"unknown_96":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":3893713750204545024}} 
[2026-11-04 09:41:44] local.INFO: TCP Data received {"connection_id":232451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:44] local.INFO: Processing buffer {"connection_id":232451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:44] local.INFO: IMEI packet received {"connection_id":232451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":232451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":230603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:41:44] local.INFO: GPS data processed {"connection_id":230603,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:41:44] local.INFO: Acknowledgment sent {"connection_id":230603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:41:49] local.INFO: TCP Data received {"connection_id":232451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:49] local.INFO: Processing buffer {"connection_id":232451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:41:49] local.INFO: IMEI packet received {"connection_id":232451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":232451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:41:49] local.INFO: TCP Data received {"connection_id":232451,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bff148012d0d2e000703ca28001500b524..."} 
[2026-11-04 09:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bff148012d0d2e000703ca28001500b524..."} 
[2026-11-04 09:41:49] local.INFO: Processing buffer {"connection_id":232451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bff148012d0d2e000703ca28001500b524..."} 
[2026-11-04 09:41:49] local.INFO: Packet analysis {"connection_id":232451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:49] local.INFO: Extracted packet for processing {"connection_id":232451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:49] local.INFO: GPS Element Parsed {"raw_longitude":755838464,"raw_latitude":117688872,"longitude_deg":75.5838464,"latitude_deg":11.7688872,"altitude":21,"angle":181,"satellites":36,"speed":8,"hex_longitude":"2d0d2e00","hex_latitude":"0703ca28","is_valid_coordinates":true} 
[2026-11-04 09:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203941376001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39221203260407808,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948922545365014528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765405000,"timestamp_ms":1793765405000,"timestamp_seconds":1793765405,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bff148"} 
[2026-11-04 09:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:41: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-11-04 09:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 09:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203941376001,"66":14428,"16":39221203260407808,"94":11008,"24":8,"45":948922545365014528},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203941376001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39221203260407808,"km_value":39221203260407.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:41:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":948922545365014528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:41:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203941376001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":948922545365014528}} 
[2026-11-04 09:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":232451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58540,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:41:50] local.INFO: GPS data processed {"connection_id":232451,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:41:50] local.INFO: Acknowledgment sent {"connection_id":232451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:41:56] local.INFO: TCP Data received {"connection_id":232450,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bfa328012d0ac00006f126f8000d012e29..."} 
[2026-11-04 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bfa328012d0ac00006f126f8000d012e29..."} 
[2026-11-04 09:41:56] local.INFO: Processing buffer {"connection_id":232450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bfa328012d0ac00006f126f8000d012e29..."} 
[2026-11-04 09:41:56] local.INFO: Packet analysis {"connection_id":232450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:56] local.INFO: Extracted packet for processing {"connection_id":232450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755679232,"raw_latitude":116467448,"longitude_deg":75.5679232,"latitude_deg":11.6467448,"altitude":13,"angle":302,"satellites":41,"speed":34,"hex_longitude":"2d0ac000","hex_latitude":"06f126f8","is_valid_coordinates":true} 
[2026-11-04 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203935744001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20374105081511936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783204152511635456,"note":"Value kept but may cause issues"} 
[2026-11-04 09:41:56] 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-11-04 09:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793765385000,"timestamp_ms":1793765385000,"timestamp_seconds":1793765385,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bfa328"} 
[2026-11-04 09:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 09:41:56] 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-11-04 09:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":232450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":232450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":232450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203935744001,"66":28430,"118":206,"2":56576,"24":34,"16":20374105081511936,"45":783204152511635456},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203935744001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:41:56] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20374105081511936,"km_value":20374105081511.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":783204152511635456,"description":"Unknown IO ID 45"} 
[2026-11-04 09:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203935744001,"power":28430,"unknown_118":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":783204152511635456}} 
[2026-11-04 09:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":232450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:41:56] local.INFO: GPS data processed {"connection_id":232450,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:41:56] local.INFO: Acknowledgment sent {"connection_id":232450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:42:07] local.INFO: TCP Data received {"connection_id":230604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:42:07] local.INFO: Processing buffer {"connection_id":230604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:42:07] local.INFO: IMEI packet received {"connection_id":230604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":230604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:42:09] local.INFO: TCP Data received {"connection_id":232452,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:09] local.INFO: Processing buffer {"connection_id":232452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:09] local.INFO: IMEI packet received {"connection_id":232452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":232452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:42:10] local.INFO: TCP Data received {"connection_id":232452,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:10] local.INFO: Processing buffer {"connection_id":232452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:10] local.INFO: IMEI packet received {"connection_id":232452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":232452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:42:12] local.INFO: TCP Data received {"connection_id":230604,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:42:12] local.INFO: Processing buffer {"connection_id":230604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:42:12] local.INFO: IMEI packet received {"connection_id":230604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":230604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:42:13] local.INFO: TCP Data received {"connection_id":230604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c0a110012d35c38006aa1b88000a01262e..."} 
[2026-11-04 09:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c0a110012d35c38006aa1b88000a01262e..."} 
[2026-11-04 09:42:13] local.INFO: Processing buffer {"connection_id":230604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c0a110012d35c38006aa1b88000a01262e..."} 
[2026-11-04 09:42:13] local.INFO: Packet analysis {"connection_id":230604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:42:13] local.INFO: Extracted packet for processing {"connection_id":230604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758498176,"raw_latitude":111811464,"longitude_deg":75.8498176,"latitude_deg":11.1811464,"altitude":10,"angle":294,"satellites":46,"speed":41,"hex_longitude":"2d35c380","hex_latitude":"06aa1b88","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203953152001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38824047634546688,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3883439913555568640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765450000,"timestamp_ms":1793765450000,"timestamp_seconds":1793765450,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c0a110"} 
[2026-11-04 09:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":70,"data_length":795,"current_offset":136} 
[2026-11-04 09:42: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-11-04 09: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-11-04 09:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203953152001,"66":28093,"96":206,"81":23296,"24":41,"16":38824047634546688,"45":3883439913555568640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-11-04 09:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203953152001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:42:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-04 09:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38824047634546688,"km_value":38824047634546.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3883439913555568640,"description":"Unknown IO ID 45"} 
[2026-11-04 09:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203953152001,"power":28093,"unknown_96":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3883439913555568640}} 
[2026-11-04 09:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":230604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:42:13] local.INFO: GPS data processed {"connection_id":230604,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:42:13] local.INFO: Acknowledgment sent {"connection_id":230604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:42:14] local.INFO: TCP Data received {"connection_id":232452,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:14] local.INFO: Processing buffer {"connection_id":232452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:42:14] local.INFO: IMEI packet received {"connection_id":232452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":232452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:42:16] local.INFO: TCP Data received {"connection_id":232452,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bfd208012d0aa04006f13b60000f01302a..."} 
[2026-11-04 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bfd208012d0aa04006f13b60000f01302a..."} 
[2026-11-04 09:42:16] local.INFO: Processing buffer {"connection_id":232452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bfd208012d0aa04006f13b60000f01302a..."} 
[2026-11-04 09:42:16] local.INFO: Packet analysis {"connection_id":232452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:42:16] local.INFO: Extracted packet for processing {"connection_id":232452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:42:16] local.INFO: GPS Element Parsed {"raw_longitude":755671104,"raw_latitude":116472672,"longitude_deg":75.5671104,"latitude_deg":11.6472672,"altitude":15,"angle":304,"satellites":42,"speed":26,"hex_longitude":"2d0aa040","hex_latitude":"06f13b60","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203938560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20374568937979904,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":774619165723392000,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:16] 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-11-04 09:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793765397000,"timestamp_ms":1793765397000,"timestamp_seconds":1793765397,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bfd208"} 
[2026-11-04 09:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:42: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-11-04 09: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-11-04 09:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203938560001,"66":28354,"118":206,"2":56576,"24":26,"16":20374568937979904,"45":774619165723392000},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203938560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:42:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20374568937979904,"km_value":20374568937979.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":774619165723392000,"description":"Unknown IO ID 45"} 
[2026-11-04 09:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203938560001,"power":28354,"unknown_118":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":774619165723392000}} 
[2026-11-04 09:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":232452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:42:16] local.INFO: GPS data processed {"connection_id":232452,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:42:16] local.INFO: Acknowledgment sent {"connection_id":232452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:42:18] local.INFO: TCP Data received {"connection_id":232452,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4bfe590012d0a978006f14218001101432b..."} 
[2026-11-04 09:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4bfe590012d0a978006f14218001101432b..."} 
[2026-11-04 09:42:18] local.INFO: Processing buffer {"connection_id":232452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4bfe590012d0a978006f14218001101432b..."} 
[2026-11-04 09:42:18] local.INFO: Packet analysis {"connection_id":232452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:42:18] local.INFO: Extracted packet for processing {"connection_id":232452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4bf"} 
[2026-11-04 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":755668864,"raw_latitude":116474392,"longitude_deg":75.5668864,"latitude_deg":11.6474392,"altitude":17,"angle":323,"satellites":43,"speed":17,"hex_longitude":"2d0a9780","hex_latitude":"06f14218","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203941632001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20374702081966080,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765682335214166016,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:18] 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-11-04 09:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793765402000,"timestamp_ms":1793765402000,"timestamp_seconds":1793765402,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4bfe590"} 
[2026-11-04 09:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:42: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-11-04 09: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-11-04 09:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203941632001,"66":28300,"118":206,"2":56576,"24":17,"16":20374702081966080,"45":765682335214166016},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-11-04 09:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203941632001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:42:18] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-11-04 09:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20374702081966080,"km_value":20374702081966.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":765682335214166016,"description":"Unknown IO ID 45"} 
[2026-11-04 09:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203941632001,"power":28300,"unknown_118":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":765682335214166016}} 
[2026-11-04 09:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":232452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:42:18] local.INFO: GPS data processed {"connection_id":232452,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:42:18] local.INFO: Acknowledgment sent {"connection_id":232452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:42:21] local.INFO: TCP Data received {"connection_id":232451,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c18f58012d0d244007042f980014000425..."} 
[2026-11-04 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c18f58012d0d244007042f980014000425..."} 
[2026-11-04 09:42:21] local.INFO: Processing buffer {"connection_id":232451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c18f58012d0d244007042f980014000425..."} 
[2026-11-04 09:42:21] local.INFO: Packet analysis {"connection_id":232451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:42:21] local.INFO: Extracted packet for processing {"connection_id":232451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:42:21] local.INFO: GPS Element Parsed {"raw_longitude":755835968,"raw_latitude":117714840,"longitude_deg":75.5835968,"latitude_deg":11.771484,"altitude":20,"angle":4,"satellites":37,"speed":10,"hex_longitude":"2d0d2440","hex_latitude":"07042f98","is_valid_coordinates":true} 
[2026-11-04 09:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203968512001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39222530405302272,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947444801742235648,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793765511000,"timestamp_ms":1793765511000,"timestamp_seconds":1793765511,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c18f58"} 
[2026-11-04 09:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:42: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-11-04 09:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:42: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-11-04 09:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203968512001,"66":13689,"16":39222530405302272,"94":11008,"24":10,"45":947444801742235648},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203968512001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39222530405302272,"km_value":39222530405302.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:42:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":947444801742235648,"description":"Unknown IO ID 45"} 
[2026-11-04 09:42:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203968512001,"power":13689,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":947444801742235648}} 
[2026-11-04 09:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":232451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:42:21] local.INFO: GPS data processed {"connection_id":232451,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:42:21] local.INFO: Acknowledgment sent {"connection_id":232451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:42:43] local.INFO: TCP Data received {"connection_id":232453,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:42:43] local.INFO: Processing buffer {"connection_id":232453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:42:43] local.INFO: IMEI packet received {"connection_id":232453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":232453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:42:44] local.INFO: TCP Data received {"connection_id":230604,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c0c438012d359f0006aa2ac0000b01242c..."} 
[2026-11-04 09:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c0c438012d359f0006aa2ac0000b01242c..."} 
[2026-11-04 09:42:44] local.INFO: Processing buffer {"connection_id":230604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c0c438012d359f0006aa2ac0000b01242c..."} 
[2026-11-04 09:42:44] local.INFO: Packet analysis {"connection_id":230604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:42:44] local.INFO: Extracted packet for processing {"connection_id":230604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758488832,"raw_latitude":111815360,"longitude_deg":75.8488832,"latitude_deg":11.181536,"altitude":11,"angle":292,"satellites":44,"speed":47,"hex_longitude":"2d359f00","hex_latitude":"06aa2ac0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203955200001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38824528670883840,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3874080870580848640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793765459000,"timestamp_ms":1793765459000,"timestamp_seconds":1793765459,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c0c438"} 
[2026-11-04 09:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 09:42:44] 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-11-04 09: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-11-04 09:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203955200001,"66":28093,"96":206,"81":23296,"24":47,"16":38824528670883840,"45":3874080870580848640},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-11-04 09:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203955200001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:42:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-04 09:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38824528670883840,"km_value":38824528670883.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3874080870580848640,"description":"Unknown IO ID 45"} 
[2026-11-04 09:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203955200001,"power":28093,"unknown_96":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":3874080870580848640}} 
[2026-11-04 09:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":230604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:42:44] local.INFO: GPS data processed {"connection_id":230604,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:42:44] local.INFO: Acknowledgment sent {"connection_id":230604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:42:48] local.INFO: TCP Data received {"connection_id":232453,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:42:48] local.INFO: Processing buffer {"connection_id":232453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:42:48] local.INFO: IMEI packet received {"connection_id":232453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":232453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:42:50] local.INFO: TCP Data received {"connection_id":232452,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c16078012d09d60006f21ce8000801572e..."} 
[2026-11-04 09:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c16078012d09d60006f21ce8000801572e..."} 
[2026-11-04 09:42:50] local.INFO: Processing buffer {"connection_id":232452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c16078012d09d60006f21ce8000801572e..."} 
[2026-11-04 09:42:50] local.INFO: Packet analysis {"connection_id":232452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:42:50] local.INFO: Extracted packet for processing {"connection_id":232452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:42:50] local.INFO: GPS Element Parsed {"raw_longitude":755619328,"raw_latitude":116530408,"longitude_deg":75.5619328,"latitude_deg":11.6530408,"altitude":8,"angle":343,"satellites":46,"speed":21,"hex_longitude":"2d09d600","hex_latitude":"06f21ce8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203965952001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20378498833055744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708754021188235264,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:50] 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-11-04 09:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793765499000,"timestamp_ms":1793765499000,"timestamp_seconds":1793765499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c16078"} 
[2026-11-04 09:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:42: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-11-04 09: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-11-04 09:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203965952001,"66":27995,"119":206,"2":56576,"24":21,"16":20378498833055744,"45":708754021188235264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-11-04 09:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203965952001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:42:50] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-04 09:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20378498833055744,"km_value":20378498833055.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":708754021188235264,"description":"Unknown IO ID 45"} 
[2026-11-04 09:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203965952001,"power":27995,"unknown_119":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":708754021188235264}} 
[2026-11-04 09:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":232452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:42:51] local.INFO: GPS data processed {"connection_id":232452,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:42:51] local.INFO: Acknowledgment sent {"connection_id":232452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:42:52] local.INFO: TCP Data received {"connection_id":232453,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c19b10012d0d24c0070432600015001024..."} 
[2026-11-04 09:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c19b10012d0d24c0070432600015001024..."} 
[2026-11-04 09:42:52] local.INFO: Processing buffer {"connection_id":232453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c19b10012d0d24c0070432600015001024..."} 
[2026-11-04 09:42:52] local.INFO: Packet analysis {"connection_id":232453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:42:52] local.INFO: Extracted packet for processing {"connection_id":232453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:42:52] local.INFO: GPS Element Parsed {"raw_longitude":755836096,"raw_latitude":117715552,"longitude_deg":75.5836096,"latitude_deg":11.7715552,"altitude":21,"angle":16,"satellites":36,"speed":9,"hex_longitude":"2d0d24c0","hex_latitude":"07043260","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203970816001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39222564765040640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946952220533823488,"note":"Value kept but may cause issues"} 
[2026-11-04 09:42:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793765514000,"timestamp_ms":1793765514000,"timestamp_seconds":1793765514,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c19b10"} 
[2026-11-04 09:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:42: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-11-04 09: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-04 09:42:52] 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-11-04 09: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-11-04 09:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203970816001,"66":14450,"16":39222564765040640,"94":11008,"24":9,"45":946952220533823488},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203970816001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39222564765040640,"km_value":39222564765040.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:42:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":946952220533823488,"description":"Unknown IO ID 45"} 
[2026-11-04 09:42:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203970816001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":946952220533823488}} 
[2026-11-04 09:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":232453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58548,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:42:52] local.INFO: GPS data processed {"connection_id":232453,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:42:52] local.INFO: Acknowledgment sent {"connection_id":232453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:43:07] local.INFO: TCP Data received {"connection_id":232454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:43:07] local.INFO: Processing buffer {"connection_id":232454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:43:07] local.INFO: IMEI packet received {"connection_id":232454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":232454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:43:09] local.INFO: TCP Data received {"connection_id":229313,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:43:09] local.INFO: Processing buffer {"connection_id":229313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:43:09] local.INFO: IMEI packet received {"connection_id":229313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":229313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:43:12] local.INFO: TCP Data received {"connection_id":232454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:43:12] local.INFO: Processing buffer {"connection_id":232454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:43:12] local.INFO: IMEI packet received {"connection_id":232454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":232454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:43:12] local.INFO: TCP Data received {"connection_id":229313,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:43:12] local.INFO: Processing buffer {"connection_id":229313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:43:12] local.INFO: IMEI packet received {"connection_id":229313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":229313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:43:13] local.INFO: TCP Data received {"connection_id":232454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c0e378012d357b8006aa39c0000c01262c..."} 
[2026-11-04 09:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c0e378012d357b8006aa39c0000c01262c..."} 
[2026-11-04 09:43:13] local.INFO: Processing buffer {"connection_id":232454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c0e378012d357b8006aa39c0000c01262c..."} 
[2026-11-04 09:43:13] local.INFO: Packet analysis {"connection_id":232454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:43:13] local.INFO: Extracted packet for processing {"connection_id":232454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c0"} 
[2026-11-04 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758479744,"raw_latitude":111819200,"longitude_deg":75.8479744,"latitude_deg":11.18192,"altitude":12,"angle":294,"satellites":44,"speed":47,"hex_longitude":"2d357b80","hex_latitude":"06aa39c0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203957504001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38824996822319104,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3863807033931907072,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765467000,"timestamp_ms":1793765467000,"timestamp_seconds":1793765467,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c0e378"} 
[2026-11-04 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-11-04 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 09:43: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-11-04 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-11-04 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-11-04 09:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203957504001,"66":27995,"97":206,"81":23296,"24":47,"16":38824996822319104,"45":3863807033931907072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203957504001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38824996822319104,"km_value":38824996822319.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3863807033931907072,"description":"Unknown IO ID 45"} 
[2026-11-04 09:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203957504001,"power":27995,"unknown_97":206,"unknown_81":23296,"ignition":47,"odometer":null,"unknown_45":3863807033931907072}} 
[2026-11-04 09:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":232454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:43:13] local.INFO: GPS data processed {"connection_id":232454,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:43:13] local.INFO: Acknowledgment sent {"connection_id":232454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:43:14] local.INFO: TCP Data received {"connection_id":229313,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c17400012d09d28006f225580009014b2d..."} 
[2026-11-04 09:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c17400012d09d28006f225580009014b2d..."} 
[2026-11-04 09:43:14] local.INFO: Processing buffer {"connection_id":229313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c17400012d09d28006f225580009014b2d..."} 
[2026-11-04 09:43:14] local.INFO: Packet analysis {"connection_id":229313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:43:14] local.INFO: Extracted packet for processing {"connection_id":229313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":755618432,"raw_latitude":116532568,"longitude_deg":75.5618432,"latitude_deg":11.6532568,"altitude":9,"angle":331,"satellites":45,"speed":15,"hex_longitude":"2d09d280","hex_latitude":"06f22558","is_valid_coordinates":true} 
[2026-11-04 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203967744001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20378614797172736,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708754021189216256,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:14] 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-11-04 09:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793765504000,"timestamp_ms":1793765504000,"timestamp_seconds":1793765504,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c17400"} 
[2026-11-04 09:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 09:43: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-11-04 09:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203967744001,"66":28354,"119":206,"2":56576,"24":15,"16":20378614797172736,"45":708754021189216256},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-11-04 09:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203967744001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:43:14] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-04 09:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20378614797172736,"km_value":20378614797172.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":708754021189216256,"description":"Unknown IO ID 45"} 
[2026-11-04 09:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203967744001,"power":28354,"unknown_119":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":708754021189216256}} 
[2026-11-04 09:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":229313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:43:14] local.INFO: GPS data processed {"connection_id":229313,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:43:14] local.INFO: Acknowledgment sent {"connection_id":229313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:43:23] local.INFO: TCP Data received {"connection_id":232453,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c1e930012d0d2680070438400015001122..."} 
[2026-11-04 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c1e930012d0d2680070438400015001122..."} 
[2026-11-04 09:43:23] local.INFO: Processing buffer {"connection_id":232453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c1e930012d0d2680070438400015001122..."} 
[2026-11-04 09:43:23] local.INFO: Packet analysis {"connection_id":232453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:43:23] local.INFO: Extracted packet for processing {"connection_id":232453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:43:23] local.INFO: GPS Element Parsed {"raw_longitude":755836544,"raw_latitude":117717056,"longitude_deg":75.5836544,"latitude_deg":11.7717056,"altitude":21,"angle":17,"satellites":34,"speed":0,"hex_longitude":"2d0d2680","hex_latitude":"07043840","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203971584001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39222642074451968,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947092958022361088,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793765534000,"timestamp_ms":1793765534000,"timestamp_seconds":1793765534,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c1e930"} 
[2026-11-04 09:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:43: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-11-04 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:43:23] 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-11-04 09: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-11-04 09:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203971584001,"66":14515,"16":39222642074451968,"94":11008,"24":0,"45":947092958022361088},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203971584001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39222642074451968,"km_value":39222642074451.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:43:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":947092958022361088,"description":"Unknown IO ID 45"} 
[2026-11-04 09:43:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203971584001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":947092958022361088}} 
[2026-11-04 09:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":232453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:43:24] local.INFO: GPS data processed {"connection_id":232453,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:43:24] local.INFO: Acknowledgment sent {"connection_id":232453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:43:43] local.INFO: TCP Data received {"connection_id":229314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:43:43] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:43:43] local.INFO: IMEI packet received {"connection_id":229314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":229314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:43:44] local.INFO: TCP Data received {"connection_id":232454,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c26248012d34c44006aa5240000c00a42b..."} 
[2026-11-04 09:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c26248012d34c44006aa5240000c00a42b..."} 
[2026-11-04 09:43:44] local.INFO: Processing buffer {"connection_id":232454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c26248012d34c44006aa5240000c00a42b..."} 
[2026-11-04 09:43:44] local.INFO: Packet analysis {"connection_id":232454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:43:44] local.INFO: Extracted packet for processing {"connection_id":232454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111825472,"longitude_deg":75.8432832,"latitude_deg":11.1825472,"altitude":12,"angle":164,"satellites":43,"speed":10,"hex_longitude":"2d34c440","hex_latitude":"06aa5240","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984384001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827406298972160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382779121664,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793765565000,"timestamp_ms":1793765565000,"timestamp_seconds":1793765565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c26248"} 
[2026-11-04 09:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 09:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984384001,"66":27919,"97":206,"81":23296,"24":10,"16":38827406298972160,"45":3802234382779121664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984384001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:43:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827406298972160,"km_value":38827406298972.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382779121664,"description":"Unknown IO ID 45"} 
[2026-11-04 09:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984384001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3802234382779121664}} 
[2026-11-04 09:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":232454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:43:44] local.INFO: GPS data processed {"connection_id":232454,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:43:44] local.INFO: Acknowledgment sent {"connection_id":232454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:43:46] local.INFO: TCP Data received {"connection_id":229313,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c1a6c8012d09cb0006f235c8000c01592e..."} 
[2026-11-04 09:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c1a6c8012d09cb0006f235c8000c01592e..."} 
[2026-11-04 09:43:46] local.INFO: Processing buffer {"connection_id":229313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c1a6c8012d09cb0006f235c8000c01592e..."} 
[2026-11-04 09:43:46] local.INFO: Packet analysis {"connection_id":229313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:43:46] local.INFO: Extracted packet for processing {"connection_id":229313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":755616512,"raw_latitude":116536776,"longitude_deg":75.5616512,"latitude_deg":11.6536776,"altitude":12,"angle":345,"satellites":46,"speed":17,"hex_longitude":"2d09cb00","hex_latitude":"06f235c8","is_valid_coordinates":true} 
[2026-11-04 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203969024001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20378838135472128,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":707768858771281920,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:46] 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-11-04 09:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793765517000,"timestamp_ms":1793765517000,"timestamp_seconds":1793765517,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c1a6c8"} 
[2026-11-04 09:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:43: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-11-04 09:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203969024001,"66":28452,"119":206,"2":56576,"24":17,"16":20378838135472128,"45":707768858771281920},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-11-04 09:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203969024001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:43:46] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-04 09:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20378838135472128,"km_value":20378838135472.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":707768858771281920,"description":"Unknown IO ID 45"} 
[2026-11-04 09:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203969024001,"power":28452,"unknown_119":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":707768858771281920}} 
[2026-11-04 09:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":229313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:43:47] local.INFO: GPS data processed {"connection_id":229313,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:43:47] local.INFO: Acknowledgment sent {"connection_id":229313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:43:49] local.INFO: TCP Data received {"connection_id":229314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:43:49] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:43:49] local.INFO: IMEI packet received {"connection_id":229314,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":229314,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:43:49] local.INFO: TCP Data received {"connection_id":229314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c23b38012d0d2a40070445600015000b24..."} 
[2026-11-04 09:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c23b38012d0d2a40070445600015000b24..."} 
[2026-11-04 09:43:49] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c23b38012d0d2a40070445600015000b24..."} 
[2026-11-04 09:43:49] local.INFO: Packet analysis {"connection_id":229314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:43:49] local.INFO: Extracted packet for processing {"connection_id":229314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:43:49] local.INFO: GPS Element Parsed {"raw_longitude":755837504,"raw_latitude":117720416,"longitude_deg":75.5837504,"latitude_deg":11.7720416,"altitude":21,"angle":11,"satellites":36,"speed":12,"hex_longitude":"2d0d2a40","hex_latitude":"07044560","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203976704001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39222809578176512,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947585539231989760,"note":"Value kept but may cause issues"} 
[2026-11-04 09:43:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765555000,"timestamp_ms":1793765555000,"timestamp_seconds":1793765555,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c23b38"} 
[2026-11-04 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-11-04 09:43: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-11-04 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 09:43:49] 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-11-04 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-11-04 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-11-04 09:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203976704001,"66":14407,"16":39222809578176512,"94":11008,"24":12,"45":947585539231989760},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203976704001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39222809578176512,"km_value":39222809578176.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:43:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":947585539231989760,"description":"Unknown IO ID 45"} 
[2026-11-04 09:43:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203976704001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":947585539231989760}} 
[2026-11-04 09:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":229314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:43:50] local.INFO: GPS data processed {"connection_id":229314,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:43:50] local.INFO: Acknowledgment sent {"connection_id":229314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:44:07] local.INFO: TCP Data received {"connection_id":228818,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:44:07] local.INFO: Processing buffer {"connection_id":228818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:44:07] local.INFO: IMEI packet received {"connection_id":228818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":228818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:44:09] local.INFO: TCP Data received {"connection_id":232455,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:44:09] local.INFO: Processing buffer {"connection_id":232455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:44:09] local.INFO: IMEI packet received {"connection_id":232455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":232455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:44:12] local.INFO: TCP Data received {"connection_id":228818,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:44:12] local.INFO: Processing buffer {"connection_id":228818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:44:12] local.INFO: IMEI packet received {"connection_id":228818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":228818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:44:13] local.INFO: TCP Data received {"connection_id":228818,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c26630012d34c48006aa5170000b00902c..."} 
[2026-11-04 09:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c26630012d34c48006aa5170000b00902c..."} 
[2026-11-04 09:44:13] local.INFO: Processing buffer {"connection_id":228818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c26630012d34c48006aa5170000b00902c..."} 
[2026-11-04 09:44:13] local.INFO: Packet analysis {"connection_id":228818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:13] local.INFO: Extracted packet for processing {"connection_id":228818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111825264,"longitude_deg":75.8432896,"latitude_deg":11.1825264,"altitude":11,"angle":144,"satellites":44,"speed":7,"hex_longitude":"2d34c480","hex_latitude":"06aa5170","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984640001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827414888906752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382779039744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765566000,"timestamp_ms":1793765566000,"timestamp_seconds":1793765566,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c26630"} 
[2026-11-04 09:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 09:44: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-11-04 09: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-11-04 09:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984640001,"66":27908,"97":206,"81":23296,"24":7,"16":38827414888906752,"45":3802234382779039744},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984640001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827414888906752,"km_value":38827414888906.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382779039744,"description":"Unknown IO ID 45"} 
[2026-11-04 09:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984640001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802234382779039744}} 
[2026-11-04 09:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":228818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:44:13] local.INFO: GPS data processed {"connection_id":228818,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:44:13] local.INFO: Acknowledgment sent {"connection_id":228818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:44:14] local.INFO: TCP Data received {"connection_id":232455,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:44:14] local.INFO: Processing buffer {"connection_id":232455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:44:14] local.INFO: IMEI packet received {"connection_id":232455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":232455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:44:20] local.INFO: TCP Data received {"connection_id":229314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c246f0012d0d2a80070448180016016525..."} 
[2026-11-04 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c246f0012d0d2a80070448180016016525..."} 
[2026-11-04 09:44:20] local.INFO: Processing buffer {"connection_id":229314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c246f0012d0d2a80070448180016016525..."} 
[2026-11-04 09:44:20] local.INFO: Packet analysis {"connection_id":229314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:20] local.INFO: Extracted packet for processing {"connection_id":229314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:20] local.INFO: GPS Element Parsed {"raw_longitude":755837568,"raw_latitude":117721112,"longitude_deg":75.5837568,"latitude_deg":11.7721112,"altitude":22,"angle":357,"satellites":37,"speed":7,"hex_longitude":"2d0d2a80","hex_latitude":"07044818","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203982080001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39222843937914880,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948641070395514880,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793765558000,"timestamp_ms":1793765558000,"timestamp_seconds":1793765558,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c246f0"} 
[2026-11-04 09:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09: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-11-04 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 09:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229314,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203982080001,"66":14026,"16":39222843937914880,"94":11008,"24":7,"45":948641070395514880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203982080001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39222843937914880,"km_value":39222843937914.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:44:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":948641070395514880,"description":"Unknown IO ID 45"} 
[2026-11-04 09:44:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459203982080001,"power":14026,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":948641070395514880}} 
[2026-11-04 09:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":229314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58556,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:44:20] local.INFO: GPS data processed {"connection_id":229314,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:44:20] local.INFO: Acknowledgment sent {"connection_id":229314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:44:21] local.INFO: TCP Data received {"connection_id":232455,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c1dd78012d09c1c006f25930000d01582e..."} 
[2026-11-04 09:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c1dd78012d09c1c006f25930000d01582e..."} 
[2026-11-04 09:44:21] local.INFO: Processing buffer {"connection_id":232455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c1dd78012d09c1c006f25930000d01582e..."} 
[2026-11-04 09:44:21] local.INFO: Packet analysis {"connection_id":232455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:44:21] local.INFO: Extracted packet for processing {"connection_id":232455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c1"} 
[2026-11-04 09:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755614144,"raw_latitude":116545840,"longitude_deg":75.5614144,"latitude_deg":11.654584,"altitude":13,"angle":344,"satellites":46,"speed":37,"hex_longitude":"2d09c1c0","hex_latitude":"06f25930","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203972352001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20379293402005504,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705657796447029248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:21] 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-11-04 09:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793765531000,"timestamp_ms":1793765531000,"timestamp_seconds":1793765531,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c1dd78"} 
[2026-11-04 09:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 09:44:21] 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-11-04 09: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-11-04 09:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203972352001,"66":28430,"119":206,"2":56576,"24":37,"16":20379293402005504,"45":705657796447029248},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-11-04 09:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203972352001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:44:21] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-04 09:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20379293402005504,"km_value":20379293402005.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":705657796447029248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203972352001,"power":28430,"unknown_119":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":705657796447029248}} 
[2026-11-04 09:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":232455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:44:21] local.INFO: GPS data processed {"connection_id":232455,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:44:21] local.INFO: Acknowledgment sent {"connection_id":232455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:44:43] local.INFO: TCP Data received {"connection_id":230605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:43] local.INFO: Processing buffer {"connection_id":230605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:43] local.INFO: IMEI packet received {"connection_id":230605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":230605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:44:44] local.INFO: TCP Data received {"connection_id":228818,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:44:44] local.INFO: Processing buffer {"connection_id":228818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:44:44] local.INFO: Packet analysis {"connection_id":228818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:44] local.INFO: Extracted packet for processing {"connection_id":228818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:44: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-11-04 09:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:44: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-11-04 09: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-11-04 09:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":228818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:44:44] local.INFO: GPS data processed {"connection_id":228818,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:44:44] local.INFO: Acknowledgment sent {"connection_id":228818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:44:47] local.INFO: TCP Data received {"connection_id":230605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:47] local.INFO: Processing buffer {"connection_id":230605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:47] local.INFO: IMEI packet received {"connection_id":230605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":230605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:44:48] local.INFO: TCP Data received {"connection_id":230605,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230605,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:48] local.INFO: Processing buffer {"connection_id":230605,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:44:48] local.INFO: IMEI packet received {"connection_id":230605,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":230605,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:44:54] local.INFO: TCP Data received {"connection_id":230605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c3e118012d0d37c00704bc20001c010e26..."} 
[2026-11-04 09:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c3e118012d0d37c00704bc20001c010e26..."} 
[2026-11-04 09:44:54] local.INFO: Processing buffer {"connection_id":230605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c3e118012d0d37c00704bc20001c010e26..."} 
[2026-11-04 09:44:54] local.INFO: Packet analysis {"connection_id":230605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:44:54] local.INFO: Extracted packet for processing {"connection_id":230605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:44:54] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117750816,"longitude_deg":75.584096,"latitude_deg":11.7750816,"altitude":28,"angle":270,"satellites":38,"speed":7,"hex_longitude":"2d0d37c0","hex_latitude":"0704bc20","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204009472001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39224342881501184,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952722457565597696,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793765663000,"timestamp_ms":1793765663000,"timestamp_seconds":1793765663,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c3e118"} 
[2026-11-04 09:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:44: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-11-04 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204009472001,"66":14439,"17":206,"94":11008,"24":7,"16":39224342881501184,"45":952722457565597696},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 09:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204009472001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:44:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39224342881501184,"km_value":39224342881501.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":952722457565597696,"description":"Unknown IO ID 45"} 
[2026-11-04 09:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204009472001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":952722457565597696}} 
[2026-11-04 09:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":230605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:44:54] local.INFO: GPS data processed {"connection_id":230605,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:44:54] local.INFO: Acknowledgment sent {"connection_id":230605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:44:55] local.INFO: TCP Data received {"connection_id":232455,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c200a0012d09b88006f27e48000c015b2e..."} 
[2026-11-04 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c200a0012d09b88006f27e48000c015b2e..."} 
[2026-11-04 09:44:55] local.INFO: Processing buffer {"connection_id":232455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c200a0012d09b88006f27e48000c015b2e..."} 
[2026-11-04 09:44:55] local.INFO: Packet analysis {"connection_id":232455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:55] local.INFO: Extracted packet for processing {"connection_id":232455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":755611776,"raw_latitude":116555336,"longitude_deg":75.5611776,"latitude_deg":11.6555336,"altitude":12,"angle":347,"satellites":46,"speed":43,"hex_longitude":"2d09b880","hex_latitude":"06f27e48","is_valid_coordinates":true} 
[2026-11-04 09:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203975936001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20379765848408064,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703054152914776064,"note":"Value kept but may cause issues"} 
[2026-11-04 09:44:55] 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-11-04 09:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793765540000,"timestamp_ms":1793765540000,"timestamp_seconds":1793765540,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c200a0"} 
[2026-11-04 09:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 09:44:55] 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-11-04 09:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":232455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":232455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":232455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203975936001,"66":28354,"119":206,"2":56576,"24":43,"16":20379765848408064,"45":703054152914776064},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-11-04 09:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203975936001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:44:55] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-11-04 09:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20379765848408064,"km_value":20379765848408.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":703054152914776064,"description":"Unknown IO ID 45"} 
[2026-11-04 09:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203975936001,"power":28354,"unknown_119":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":703054152914776064}} 
[2026-11-04 09:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":232455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:44:55] local.INFO: GPS data processed {"connection_id":232455,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:44:55] local.INFO: Acknowledgment sent {"connection_id":232455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:45:07] local.INFO: TCP Data received {"connection_id":232456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:45:07] local.INFO: Processing buffer {"connection_id":232456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:45:07] local.INFO: IMEI packet received {"connection_id":232456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":232456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:45:09] local.INFO: TCP Data received {"connection_id":228819,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:09] local.INFO: Processing buffer {"connection_id":228819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:09] local.INFO: IMEI packet received {"connection_id":228819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":228819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:45:10] local.INFO: TCP Data received {"connection_id":228819,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:10] local.INFO: Processing buffer {"connection_id":228819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:10] local.INFO: IMEI packet received {"connection_id":228819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":228819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:45:12] local.INFO: TCP Data received {"connection_id":232456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:45:12] local.INFO: Processing buffer {"connection_id":232456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:45:12] local.INFO: IMEI packet received {"connection_id":232456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":232456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:45:13] local.INFO: TCP Data received {"connection_id":232456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:45:13] local.INFO: Processing buffer {"connection_id":232456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:45:13] local.INFO: Packet analysis {"connection_id":232456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:45:13] local.INFO: Extracted packet for processing {"connection_id":232456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:45: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-11-04 09:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:45:13] 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-11-04 09: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-11-04 09:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":232456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:45:13] local.INFO: GPS data processed {"connection_id":232456,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:45:13] local.INFO: Acknowledgment sent {"connection_id":232456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:45:15] local.INFO: TCP Data received {"connection_id":228819,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:15] local.INFO: Processing buffer {"connection_id":228819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:45:15] local.INFO: IMEI packet received {"connection_id":228819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":228819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:45:21] local.INFO: TCP Data received {"connection_id":228819,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c3c9a8012d09824006f3e6b8000e01522c..."} 
[2026-11-04 09:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c3c9a8012d09824006f3e6b8000e01522c..."} 
[2026-11-04 09:45:21] local.INFO: Processing buffer {"connection_id":228819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c3c9a8012d09824006f3e6b8000e01522c..."} 
[2026-11-04 09:45:21] local.INFO: Packet analysis {"connection_id":228819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:45:21] local.INFO: Extracted packet for processing {"connection_id":228819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:45:21] local.INFO: GPS Element Parsed {"raw_longitude":755597888,"raw_latitude":116647608,"longitude_deg":75.5597888,"latitude_deg":11.6647608,"altitude":14,"angle":338,"satellites":44,"speed":30,"hex_longitude":"2d098240","hex_latitude":"06f3e6b8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204005888001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20384305628839936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688135979172952064,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:21] 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-11-04 09:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793765657000,"timestamp_ms":1793765657000,"timestamp_seconds":1793765657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c3c9a8"} 
[2026-11-04 09:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:45: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-11-04 09: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-11-04 09:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204005888001,"66":28354,"67":206,"2":56576,"24":30,"16":20384305628839936,"45":688135979172952064},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-11-04 09:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204005888001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:45:21] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 09:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20384305628839936,"km_value":20384305628839.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":688135979172952064,"description":"Unknown IO ID 45"} 
[2026-11-04 09:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204005888001,"power":28354,"unknown_67":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":688135979172952064}} 
[2026-11-04 09:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":228819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:45:21] local.INFO: GPS data processed {"connection_id":228819,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:45:21] local.INFO: Acknowledgment sent {"connection_id":228819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:45:26] local.INFO: TCP Data received {"connection_id":230605,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c4b020012d0cb7c00704bd080022011d22..."} 
[2026-11-04 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c4b020012d0cb7c00704bd080022011d22..."} 
[2026-11-04 09:45:26] local.INFO: Processing buffer {"connection_id":230605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c4b020012d0cb7c00704bd080022011d22..."} 
[2026-11-04 09:45:26] local.INFO: Packet analysis {"connection_id":230605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:45:26] local.INFO: Extracted packet for processing {"connection_id":230605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755808192,"raw_latitude":117751048,"longitude_deg":75.5808192,"latitude_deg":11.7751048,"altitude":34,"angle":285,"satellites":34,"speed":27,"hex_longitude":"2d0cb7c0","hex_latitude":"0704bd08","is_valid_coordinates":true} 
[2026-11-04 09:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204022784001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39225914839531520,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917889929197690880,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793765716000,"timestamp_ms":1793765716000,"timestamp_seconds":1793765716,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c4b020"} 
[2026-11-04 09:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:45: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-11-04 09:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751549274,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2764318568,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1523342694217154570,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3294500865,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509168913,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2870018254,"corrected_to":0} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966699,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":13,"raw_value":1927548357399543838,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-3962941537477669282,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.WARNING: Large IO value detected {"io_id":43,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,17,94,24,241,157,16,91,161,152,45,192,190,35,33,10,66,144,128,117,1,240,223,227,164,4,113,205,18,55,5,224,36,239,2,139,7,30,13,56,43],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2870018254,"validated":0}]} 
[2026-11-04 09:45:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522307303644528640,"timestamp_seconds":2522307303644528.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 09:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230605,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204022784001,"66":14439,"17":206,"94":11008,"24":27,"16":39225914839531520,"45":917889929197690880},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 09:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204022784001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:45:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39225914839531520,"km_value":39225914839531.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":917889929197690880,"description":"Unknown IO ID 45"} 
[2026-11-04 09:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204022784001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":917889929197690880}} 
[2026-11-04 09:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":230605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58563,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:45:26] local.INFO: GPS data processed {"connection_id":230605,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:45:26] local.INFO: Acknowledgment sent {"connection_id":230605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:45:43] local.INFO: TCP Data received {"connection_id":228820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228820,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:43] local.INFO: Processing buffer {"connection_id":228820,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:43] local.INFO: IMEI packet received {"connection_id":228820,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":228820,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:45:44] local.INFO: TCP Data received {"connection_id":232456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:45:44] local.INFO: Processing buffer {"connection_id":232456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:45:44] local.INFO: Packet analysis {"connection_id":232456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:45:44] local.INFO: Extracted packet for processing {"connection_id":232456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:45: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-11-04 09:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:45: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-11-04 09: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-11-04 09:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":232456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:45:44] local.INFO: GPS data processed {"connection_id":232456,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:45:44] local.INFO: Acknowledgment sent {"connection_id":232456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:45:47] local.INFO: TCP Data received {"connection_id":228820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228820,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:47] local.INFO: Processing buffer {"connection_id":228820,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:47] local.INFO: IMEI packet received {"connection_id":228820,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":228820,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:45:48] local.INFO: TCP Data received {"connection_id":228820,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228820,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:48] local.INFO: Processing buffer {"connection_id":228820,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:45:48] local.INFO: IMEI packet received {"connection_id":228820,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":228820,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:45:49] local.INFO: TCP Data received {"connection_id":228820,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c4c3a8012d0caa400704c1680023012823..."} 
[2026-11-04 09:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c4c3a8012d0caa400704c1680023012823..."} 
[2026-11-04 09:45:49] local.INFO: Processing buffer {"connection_id":228820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c4c3a8012d0caa400704c1680023012823..."} 
[2026-11-04 09:45:49] local.INFO: Packet analysis {"connection_id":228820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:45:49] local.INFO: Extracted packet for processing {"connection_id":228820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:45:49] local.INFO: GPS Element Parsed {"raw_longitude":755804736,"raw_latitude":117752168,"longitude_deg":75.5804736,"latitude_deg":11.7752168,"altitude":35,"angle":296,"satellites":35,"speed":26,"hex_longitude":"2d0caa40","hex_latitude":"0704c168","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204023296001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39226090933190656,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916412185569986560,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765721000,"timestamp_ms":1793765721000,"timestamp_seconds":1793765721,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c4c3a8"} 
[2026-11-04 09:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:45: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-11-04 09:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 09:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228820,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228820,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204023296001,"66":14374,"17":206,"94":11008,"24":26,"16":39226090933190656,"45":916412185569986560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 09:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204023296001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:45:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39226090933190656,"km_value":39226090933190.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":916412185569986560,"description":"Unknown IO ID 45"} 
[2026-11-04 09:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204023296001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":916412185569986560}} 
[2026-11-04 09:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":228820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58565,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:45:49] local.INFO: GPS data processed {"connection_id":228820,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:45:49] local.INFO: Acknowledgment sent {"connection_id":228820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:45:55] local.INFO: TCP Data received {"connection_id":228819,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c3c9a8012d09824006f3e6b8000e01522c..."} 
[2026-11-04 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c3c9a8012d09824006f3e6b8000e01522c..."} 
[2026-11-04 09:45:55] local.INFO: Processing buffer {"connection_id":228819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c3c9a8012d09824006f3e6b8000e01522c..."} 
[2026-11-04 09:45:55] local.INFO: Packet analysis {"connection_id":228819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:45:55] local.INFO: Extracted packet for processing {"connection_id":228819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:45:55] local.INFO: GPS Element Parsed {"raw_longitude":755597888,"raw_latitude":116647608,"longitude_deg":75.5597888,"latitude_deg":11.6647608,"altitude":14,"angle":338,"satellites":44,"speed":30,"hex_longitude":"2d098240","hex_latitude":"06f3e6b8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204008192001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20384305628839936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685180491919702016,"note":"Value kept but may cause issues"} 
[2026-11-04 09:45:55] 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-11-04 09:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793765657000,"timestamp_ms":1793765657000,"timestamp_seconds":1793765657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c3c9a8"} 
[2026-11-04 09:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:45:55] 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-11-04 09: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-11-04 09:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":228819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":228819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":228819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204008192001,"66":28354,"67":206,"2":56576,"24":30,"16":20384305628839936,"45":685180491919702016},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-11-04 09:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204008192001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:45:55] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 09:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20384305628839936,"km_value":20384305628839.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":685180491919702016,"description":"Unknown IO ID 45"} 
[2026-11-04 09:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204008192001,"power":28354,"unknown_67":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":685180491919702016}} 
[2026-11-04 09:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":228819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:45:55] local.INFO: GPS data processed {"connection_id":228819,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:45:55] local.INFO: Acknowledgment sent {"connection_id":228819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:46:12] local.INFO: TCP Data received {"connection_id":230606,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:46:12] local.INFO: Processing buffer {"connection_id":230606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:46:12] local.INFO: IMEI packet received {"connection_id":230606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":230606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:46:13] local.INFO: TCP Data received {"connection_id":228821,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:13] local.INFO: Processing buffer {"connection_id":228821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:13] local.INFO: IMEI packet received {"connection_id":228821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":228821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:46:14] local.INFO: TCP Data received {"connection_id":228821,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:14] local.INFO: Processing buffer {"connection_id":228821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:14] local.INFO: IMEI packet received {"connection_id":228821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":228821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:46:17] local.INFO: TCP Data received {"connection_id":230606,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:46:17] local.INFO: Processing buffer {"connection_id":230606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:46:17] local.INFO: IMEI packet received {"connection_id":230606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":230606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:46:18] local.INFO: TCP Data received {"connection_id":230606,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:46:18] local.INFO: Processing buffer {"connection_id":230606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:46:18] local.INFO: Packet analysis {"connection_id":230606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:46:18] local.INFO: Extracted packet for processing {"connection_id":230606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:46:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":230606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:46:18] local.INFO: GPS data processed {"connection_id":230606,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:46:18] local.INFO: Acknowledgment sent {"connection_id":230606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:46:19] local.INFO: TCP Data received {"connection_id":228821,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228821,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:19] local.INFO: Processing buffer {"connection_id":228821,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:46:19] local.INFO: IMEI packet received {"connection_id":228821,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":228821,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:46:20] local.INFO: TCP Data received {"connection_id":228820,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c4cb78012d0ca6400704c4a00023013f23..."} 
[2026-11-04 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c4cb78012d0ca6400704c4a00023013f23..."} 
[2026-11-04 09:46:20] local.INFO: Processing buffer {"connection_id":228820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c4cb78012d0ca6400704c4a00023013f23..."} 
[2026-11-04 09:46:20] local.INFO: Packet analysis {"connection_id":228820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:46:20] local.INFO: Extracted packet for processing {"connection_id":228820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":755803712,"raw_latitude":117752992,"longitude_deg":75.5803712,"latitude_deg":11.7752992,"altitude":35,"angle":319,"satellites":35,"speed":26,"hex_longitude":"2d0ca640","hex_latitude":"0704c4a0","is_valid_coordinates":true} 
[2026-11-04 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204024576001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39226155357700096,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912612273384679424,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793765723000,"timestamp_ms":1793765723000,"timestamp_seconds":1793765723,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c4cb78"} 
[2026-11-04 09:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:46: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-11-04 09:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 09:46:20] 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-11-04 09:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228820,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228820,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204024576001,"66":14548,"17":206,"94":11008,"24":26,"16":39226155357700096,"45":912612273384679424},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 09:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204024576001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:46:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39226155357700096,"km_value":39226155357700.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":912612273384679424,"description":"Unknown IO ID 45"} 
[2026-11-04 09:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204024576001,"power":14548,"axis_x":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":912612273384679424}} 
[2026-11-04 09:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":228820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58568,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:46:21] local.INFO: GPS data processed {"connection_id":228820,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:46:21] local.INFO: Acknowledgment sent {"connection_id":228820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:46:21] local.INFO: TCP Data received {"connection_id":228821,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c3d178012d097fc006f3eb90000e01472c..."} 
[2026-11-04 09:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c3d178012d097fc006f3eb90000e01472c..."} 
[2026-11-04 09:46:21] local.INFO: Processing buffer {"connection_id":228821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c3d178012d097fc006f3eb90000e01472c..."} 
[2026-11-04 09:46:21] local.INFO: Packet analysis {"connection_id":228821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:46:21] local.INFO: Extracted packet for processing {"connection_id":228821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":755597248,"raw_latitude":116648848,"longitude_deg":75.5597248,"latitude_deg":11.6648848,"altitude":14,"angle":327,"satellites":44,"speed":26,"hex_longitude":"2d097fc0","hex_latitude":"06f3eb90","is_valid_coordinates":true} 
[2026-11-04 09:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204008192001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20384374348316672,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685180491919702016,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:21] 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-11-04 09:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793765659000,"timestamp_ms":1793765659000,"timestamp_seconds":1793765659,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c3d178"} 
[2026-11-04 09:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:46: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-11-04 09:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204008192001,"66":28300,"67":206,"2":56576,"24":26,"16":20384374348316672,"45":685180491919702016},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-11-04 09:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204008192001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:46:21] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 09:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20384374348316672,"km_value":20384374348316.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":685180491919702016,"description":"Unknown IO ID 45"} 
[2026-11-04 09:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204008192001,"power":28300,"unknown_67":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":685180491919702016}} 
[2026-11-04 09:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":228821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:46:21] local.INFO: GPS data processed {"connection_id":228821,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:46:21] local.INFO: Acknowledgment sent {"connection_id":228821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:46:23] local.INFO: TCP Data received {"connection_id":230606,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:46:23] local.INFO: Processing buffer {"connection_id":230606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:46:23] local.INFO: Packet analysis {"connection_id":230606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:46:23] local.INFO: Extracted packet for processing {"connection_id":230606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:46:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:46:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":230606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:46:23] local.INFO: GPS data processed {"connection_id":230606,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:46:23] local.INFO: Acknowledgment sent {"connection_id":230606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:46:24] local.INFO: TCP Data received {"connection_id":228821,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c3dd30012d097b8006f3f290000e015429..."} 
[2026-11-04 09:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c3dd30012d097b8006f3f290000e015429..."} 
[2026-11-04 09:46:24] local.INFO: Processing buffer {"connection_id":228821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c3dd30012d097b8006f3f290000e015429..."} 
[2026-11-04 09:46:24] local.INFO: Packet analysis {"connection_id":228821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:46:24] local.INFO: Extracted packet for processing {"connection_id":228821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c3"} 
[2026-11-04 09:46:24] local.INFO: GPS Element Parsed {"raw_longitude":755596160,"raw_latitude":116650640,"longitude_deg":75.559616,"latitude_deg":11.665064,"altitude":14,"angle":340,"satellites":41,"speed":30,"hex_longitude":"2d097b80","hex_latitude":"06f3f290","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204008704001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20384473132564480,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684476804478242816,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:24] 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-11-04 09:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793765662000,"timestamp_ms":1793765662000,"timestamp_seconds":1793765662,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c3dd30"} 
[2026-11-04 09:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:46:24] 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-11-04 09: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-11-04 09:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":228821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":228821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":228821,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204008704001,"66":28256,"67":206,"2":56576,"24":30,"16":20384473132564480,"45":684476804478242816},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-11-04 09:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204008704001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:46:24] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 09:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20384473132564480,"km_value":20384473132564.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":684476804478242816,"description":"Unknown IO ID 45"} 
[2026-11-04 09:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204008704001,"power":28256,"unknown_67":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":684476804478242816}} 
[2026-11-04 09:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":228821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:46:24] local.INFO: GPS data processed {"connection_id":228821,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:46:24] local.INFO: Acknowledgment sent {"connection_id":228821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:46:45] local.INFO: TCP Data received {"connection_id":228822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:45] local.INFO: Processing buffer {"connection_id":228822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:45] local.INFO: IMEI packet received {"connection_id":228822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":228822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:46:49] local.INFO: TCP Data received {"connection_id":228822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:49] local.INFO: Processing buffer {"connection_id":228822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:49] local.INFO: IMEI packet received {"connection_id":228822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":228822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:46:51] local.INFO: TCP Data received {"connection_id":228822,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:51] local.INFO: Processing buffer {"connection_id":228822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:46:51] local.INFO: IMEI packet received {"connection_id":228822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":228822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:46:52] local.INFO: TCP Data received {"connection_id":228822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c4d730012d0ca1c00704ca280024013423..."} 
[2026-11-04 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c4d730012d0ca1c00704ca280024013423..."} 
[2026-11-04 09:46:52] local.INFO: Processing buffer {"connection_id":228822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c4d730012d0ca1c00704ca280024013423..."} 
[2026-11-04 09:46:52] local.INFO: Packet analysis {"connection_id":228822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:46:52] local.INFO: Extracted packet for processing {"connection_id":228822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:46:52] local.INFO: GPS Element Parsed {"raw_longitude":755802560,"raw_latitude":117754408,"longitude_deg":75.580256,"latitude_deg":11.7754408,"altitude":36,"angle":308,"satellites":35,"speed":24,"hex_longitude":"2d0ca1c0","hex_latitude":"0704ca28","is_valid_coordinates":true} 
[2026-11-04 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204025088001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39226241257046016,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911486373478047744,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793765726000,"timestamp_ms":1793765726000,"timestamp_seconds":1793765726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c4d730"} 
[2026-11-04 09:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:46: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-11-04 09:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 09:46:52] 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-11-04 09:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204025088001,"66":14026,"17":206,"94":11008,"24":24,"16":39226241257046016,"45":911486373478047744},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 09:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204025088001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:46:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39226241257046016,"km_value":39226241257046.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":911486373478047744,"description":"Unknown IO ID 45"} 
[2026-11-04 09:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204025088001,"power":14026,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":911486373478047744}} 
[2026-11-04 09:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":228822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:46:52] local.INFO: GPS data processed {"connection_id":228822,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:46:52] local.INFO: Acknowledgment sent {"connection_id":228822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:46:54] local.INFO: TCP Data received {"connection_id":228822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c4df00012d0c9c800704ccc00023012323..."} 
[2026-11-04 09:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c4df00012d0c9c800704ccc00023012323..."} 
[2026-11-04 09:46:54] local.INFO: Processing buffer {"connection_id":228822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c4df00012d0c9c800704ccc00023012323..."} 
[2026-11-04 09:46:54] local.INFO: Packet analysis {"connection_id":228822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:46:54] local.INFO: Extracted packet for processing {"connection_id":228822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c4"} 
[2026-11-04 09:46:54] local.INFO: GPS Element Parsed {"raw_longitude":755801216,"raw_latitude":117755072,"longitude_deg":75.5801216,"latitude_deg":11.7755072,"altitude":35,"angle":291,"satellites":35,"speed":30,"hex_longitude":"2d0c9c80","hex_latitude":"0704ccc0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204025856001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39226309976522752,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910219736083212288,"note":"Value kept but may cause issues"} 
[2026-11-04 09:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793765728000,"timestamp_ms":1793765728000,"timestamp_seconds":1793765728,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c4df00"} 
[2026-11-04 09:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:46: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-11-04 09: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-11-04 09:46:54] 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-11-04 09: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-11-04 09:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":228822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":228822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":228822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204025856001,"66":14135,"95":206,"94":10240,"24":30,"16":39226309976522752,"45":910219736083212288},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-04 09:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204025856001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:46:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 09:46:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39226309976522752,"km_value":39226309976522.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":910219736083212288,"description":"Unknown IO ID 45"} 
[2026-11-04 09:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204025856001,"power":14135,"unknown_95":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":910219736083212288}} 
[2026-11-04 09:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":228822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58573,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:46:54] local.INFO: GPS data processed {"connection_id":228822,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:46:54] local.INFO: Acknowledgment sent {"connection_id":228822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:07] local.INFO: TCP Data received {"connection_id":230607,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:47:07] local.INFO: Processing buffer {"connection_id":230607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:47:07] local.INFO: IMEI packet received {"connection_id":230607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":230607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:47:09] local.INFO: TCP Data received {"connection_id":228823,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:47:09] local.INFO: Processing buffer {"connection_id":228823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:47:09] local.INFO: IMEI packet received {"connection_id":228823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":228823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:47:10] local.INFO: TCP Data received {"connection_id":228823,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:47:10] local.INFO: Processing buffer {"connection_id":228823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:47:10] local.INFO: IMEI packet received {"connection_id":228823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":228823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:47:12] local.INFO: TCP Data received {"connection_id":230607,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:47:12] local.INFO: Processing buffer {"connection_id":230607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:47:12] local.INFO: IMEI packet received {"connection_id":230607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":230607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:47:12] local.INFO: TCP Data received {"connection_id":228823,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c54878012d08aec006f548f0000b014629..."} 
[2026-11-04 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c54878012d08aec006f548f0000b014629..."} 
[2026-11-04 09:47:12] local.INFO: Processing buffer {"connection_id":228823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c54878012d08aec006f548f0000b014629..."} 
[2026-11-04 09:47:12] local.INFO: Packet analysis {"connection_id":228823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:47:12] local.INFO: Extracted packet for processing {"connection_id":228823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":755543744,"raw_latitude":116738288,"longitude_deg":75.5543744,"latitude_deg":11.6738288,"altitude":11,"angle":326,"satellites":41,"speed":44,"hex_longitude":"2d08aec0","hex_latitude":"06f548f0","is_valid_coordinates":true} 
[2026-11-04 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204030976001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20389485359398912,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":631700246365933568,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47: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-11-04 09:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793765755000,"timestamp_ms":1793765755000,"timestamp_seconds":1793765755,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c54878"} 
[2026-11-04 09:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:47: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-11-04 09:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204030976001,"66":28256,"69":206,"2":56576,"24":44,"16":20389485359398912,"45":631700246365933568},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-11-04 09:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204030976001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-11-04 09:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20389485359398912,"km_value":20389485359398.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":631700246365933568,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204030976001,"power":28256,"unknown_69":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":631700246365933568}} 
[2026-11-04 09:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":228823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:12] local.INFO: GPS data processed {"connection_id":228823,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:12] local.INFO: Acknowledgment sent {"connection_id":228823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:13] local.INFO: TCP Data received {"connection_id":230607,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:47:13] local.INFO: Processing buffer {"connection_id":230607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:47:13] local.INFO: Packet analysis {"connection_id":230607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:47:13] local.INFO: Extracted packet for processing {"connection_id":230607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:47: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-11-04 09:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:47:13] 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-11-04 09: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-11-04 09:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":230607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:13] local.INFO: GPS data processed {"connection_id":230607,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:13] local.INFO: Acknowledgment sent {"connection_id":230607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:15] local.INFO: TCP Data received {"connection_id":228823,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c567b8012d089a8006f56670000b014429..."} 
[2026-11-04 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c567b8012d089a8006f56670000b014429..."} 
[2026-11-04 09:47:15] local.INFO: Processing buffer {"connection_id":228823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c567b8012d089a8006f56670000b014429..."} 
[2026-11-04 09:47:15] local.INFO: Packet analysis {"connection_id":228823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:47:15] local.INFO: Extracted packet for processing {"connection_id":228823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":755538560,"raw_latitude":116745840,"longitude_deg":75.553856,"latitude_deg":11.674584,"altitude":11,"angle":324,"satellites":41,"speed":44,"hex_longitude":"2d089a80","hex_latitude":"06f56670","is_valid_coordinates":true} 
[2026-11-04 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204033280001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20389927741030400,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":625648534368612352,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:15] 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-11-04 09:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793765763000,"timestamp_ms":1793765763000,"timestamp_seconds":1793765763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c567b8"} 
[2026-11-04 09:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 09:47:15] 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-11-04 09:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204033280001,"66":28300,"69":206,"2":56576,"24":44,"16":20389927741030400,"45":625648534368612352},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-11-04 09:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204033280001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:15] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-11-04 09:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20389927741030400,"km_value":20389927741030.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":625648534368612352,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204033280001,"power":28300,"unknown_69":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":625648534368612352}} 
[2026-11-04 09:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":228823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:15] local.INFO: GPS data processed {"connection_id":228823,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:15] local.INFO: Acknowledgment sent {"connection_id":228823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:25] local.INFO: TCP Data received {"connection_id":228822,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c680f8012d0ca280070427f8001d00cf20..."} 
[2026-11-04 09:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c680f8012d0ca280070427f8001d00cf20..."} 
[2026-11-04 09:47:25] local.INFO: Processing buffer {"connection_id":228822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c680f8012d0ca280070427f8001d00cf20..."} 
[2026-11-04 09:47:25] local.INFO: Packet analysis {"connection_id":228822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:25] local.INFO: Extracted packet for processing {"connection_id":228822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:25] local.INFO: GPS Element Parsed {"raw_longitude":755802752,"raw_latitude":117712888,"longitude_deg":75.5802752,"latitude_deg":11.7712888,"altitude":29,"angle":207,"satellites":32,"speed":37,"hex_longitude":"2d0ca280","hex_latitude":"070427f8","is_valid_coordinates":true} 
[2026-11-04 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204050688001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39228732338077696,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":915004810678878208,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793765835000,"timestamp_ms":1793765835000,"timestamp_seconds":1793765835,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c680f8"} 
[2026-11-04 09:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47: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-11-04 09:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:47: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-11-04 09:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204050688001,"66":14407,"95":206,"94":10240,"24":37,"16":39228732338077696,"45":915004810678878208},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-04 09:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204050688001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:25] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 09:47:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39228732338077696,"km_value":39228732338077.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":915004810678878208,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204050688001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":915004810678878208}} 
[2026-11-04 09:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":228822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:25] local.INFO: GPS data processed {"connection_id":228822,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:25] local.INFO: Acknowledgment sent {"connection_id":228822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:45] local.INFO: TCP Data received {"connection_id":230607,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:47:45] local.INFO: Processing buffer {"connection_id":230607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:47:45] local.INFO: Packet analysis {"connection_id":230607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:47:45] local.INFO: Extracted packet for processing {"connection_id":230607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:47: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-11-04 09:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:47:45] 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-11-04 09:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":230607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:45] local.INFO: GPS data processed {"connection_id":230607,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:45] local.INFO: Acknowledgment sent {"connection_id":230607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:46] local.INFO: TCP Data received {"connection_id":228824,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228824,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:47:46] local.INFO: Processing buffer {"connection_id":228824,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:47:46] local.INFO: IMEI packet received {"connection_id":228824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":228824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:47:46] local.INFO: TCP Data received {"connection_id":228824,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228824,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:47:46] local.INFO: Processing buffer {"connection_id":228824,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:47:46] local.INFO: IMEI packet received {"connection_id":228824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":228824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:47:47] local.INFO: TCP Data received {"connection_id":228824,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c69098012d0c9a8007041b68001d00db21..."} 
[2026-11-04 09:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c69098012d0c9a8007041b68001d00db21..."} 
[2026-11-04 09:47:47] local.INFO: Processing buffer {"connection_id":228824,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a1a4..."} 
[2026-11-04 09:47:47] local.INFO: IMEI packet received {"connection_id":228824,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":228824,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:47:47] local.INFO: TCP Data received {"connection_id":228823,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c586f8012d08848006f58500000b01442a..."} 
[2026-11-04 09:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c586f8012d08848006f58500000b01442a..."} 
[2026-11-04 09:47:47] local.INFO: Processing buffer {"connection_id":228823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c586f8012d08848006f58500000b01442a..."} 
[2026-11-04 09:47:47] local.INFO: Packet analysis {"connection_id":228823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:47:47] local.INFO: Extracted packet for processing {"connection_id":228823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:47:47] local.INFO: GPS Element Parsed {"raw_longitude":755532928,"raw_latitude":116753664,"longitude_deg":75.5532928,"latitude_deg":11.6753664,"altitude":11,"angle":324,"satellites":42,"speed":50,"hex_longitude":"2d088480","hex_latitude":"06f58500","is_valid_coordinates":true} 
[2026-11-04 09:47: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-11-04 09:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204035328001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20390391597498368,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":619948666092154880,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:47] 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-11-04 09:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793765771000,"timestamp_ms":1793765771000,"timestamp_seconds":1793765771,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c586f8"} 
[2026-11-04 09:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:47: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:47:47] 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-11-04 09:47: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-11-04 09:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204035328001,"66":28419,"69":206,"2":56576,"24":50,"16":20390391597498368,"45":619948666092154880},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-11-04 09:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204035328001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:47] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-11-04 09:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20390391597498368,"km_value":20390391597498.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":619948666092154880,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204035328001,"power":28419,"unknown_69":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":619948666092154880}} 
[2026-11-04 09:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":228823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:48] local.INFO: GPS data processed {"connection_id":228823,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:48] local.INFO: Acknowledgment sent {"connection_id":228823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:48] local.INFO: TCP Data received {"connection_id":228824,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c6a038012d0c900007041120001d00e920..."} 
[2026-11-04 09:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c6a038012d0c900007041120001d00e920..."} 
[2026-11-04 09:47:48] local.INFO: Processing buffer {"connection_id":228824,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a4c69098012d0c9a8007041b68001d00db21..."} 
[2026-11-04 09:47:48] local.INFO: Packet analysis {"connection_id":228824,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:48] local.INFO: Extracted packet for processing {"connection_id":228824,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:48] local.INFO: GPS Element Parsed {"raw_longitude":755800704,"raw_latitude":117709672,"longitude_deg":75.5800704,"latitude_deg":11.7709672,"altitude":29,"angle":219,"satellites":33,"speed":37,"hex_longitude":"2d0c9a80","hex_latitude":"07041b68","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204053760001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39228917021671424,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910430842305116160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793765839000,"timestamp_ms":1793765839000,"timestamp_seconds":1793765839,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c69098"} 
[2026-11-04 09:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47: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-11-04 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 09:47:48] 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-11-04 09: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-11-04 09:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204053760001,"66":13830,"95":206,"94":10240,"24":37,"16":39228917021671424,"45":910430842305116160},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204053760001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39228917021671424,"km_value":39228917021671.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":910430842305116160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204053760001,"power":13830,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":910430842305116160}} 
[2026-11-04 09:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":228824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:48] local.INFO: GPS data processed {"connection_id":228824,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:48] local.INFO: Acknowledgment sent {"connection_id":228824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:48] local.INFO: Packet analysis {"connection_id":228824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:48] local.INFO: Extracted packet for processing {"connection_id":228824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:48] local.INFO: GPS Element Parsed {"raw_longitude":755798016,"raw_latitude":117707040,"longitude_deg":75.5798016,"latitude_deg":11.770704,"altitude":29,"angle":233,"satellites":32,"speed":37,"hex_longitude":"2d0c9000","hex_latitude":"07041120","is_valid_coordinates":true} 
[2026-11-04 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-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204054784001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39229097410297856,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908179042490607616,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793765843000,"timestamp_ms":1793765843000,"timestamp_seconds":1793765843,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c6a038"} 
[2026-11-04 09:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47: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-11-04 09: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8444257907048448,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652632575738624,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2764441568,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":93,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3324452865,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861864142,"corrected_to":0} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3556822323,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":217,"raw_value":331007270061828,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.WARNING: Large IO value detected {"io_id":166,"raw_value":6917565313792016384,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,94,24,241,157,16,161,128,45,39,29,32,10,66,82,192,73,28,31,93,50,1,240,114,227,164,4,113,205,44,27,185,48,34,239,56,2,139,7,30,217,166],"length":528,"final_offset":658,"validated_count":43,"validation_warnings":[{"io_id":205,"original":861864142,"validated":0}]} 
[2026-11-04 09:47:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2089911161882738688,"timestamp_seconds":2089911161882738.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 09:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204054784001,"66":14450,"95":206,"94":10240,"24":37,"16":39229097410297856,"45":908179042490607616},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-04 09:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204054784001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 09:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39229097410297856,"km_value":39229097410297.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":908179042490607616,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204054784001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":908179042490607616}} 
[2026-11-04 09:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":228824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:48] local.INFO: GPS data processed {"connection_id":228824,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:48] local.INFO: Acknowledgment sent {"connection_id":228824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:47:49] local.INFO: TCP Data received {"connection_id":228824,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c6c748012d0c71c00703fbb8001b00e722..."} 
[2026-11-04 09:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c6c748012d0c71c00703fbb8001b00e722..."} 
[2026-11-04 09:47:49] local.INFO: Processing buffer {"connection_id":228824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c6c748012d0c71c00703fbb8001b00e722..."} 
[2026-11-04 09:47:49] local.INFO: Packet analysis {"connection_id":228824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:49] local.INFO: Extracted packet for processing {"connection_id":228824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c6"} 
[2026-11-04 09:47:49] local.INFO: GPS Element Parsed {"raw_longitude":755790272,"raw_latitude":117701560,"longitude_deg":75.5790272,"latitude_deg":11.770156,"altitude":27,"angle":231,"satellites":34,"speed":38,"hex_longitude":"2d0c71c0","hex_latitude":"0703fbb8","is_valid_coordinates":true} 
[2026-11-04 09:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204055808001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39229552676831232,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905223555234471936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:47:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765853000,"timestamp_ms":1793765853000,"timestamp_seconds":1793765853,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c6c748"} 
[2026-11-04 09:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:47: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-11-04 09:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 09:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204055808001,"66":14559,"16":39229552676831232,"94":11008,"24":38,"45":905223555234471936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204055808001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39229552676831232,"km_value":39229552676831.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:47:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":905223555234471936,"description":"Unknown IO ID 45"} 
[2026-11-04 09:47:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459204055808001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":38,"unknown_45":905223555234471936}} 
[2026-11-04 09:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":228824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:47:49] local.INFO: GPS data processed {"connection_id":228824,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:47:49] local.INFO: Acknowledgment sent {"connection_id":228824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:48:09] local.INFO: TCP Data received {"connection_id":229315,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:48:09] local.INFO: Processing buffer {"connection_id":229315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:48:09] local.INFO: IMEI packet received {"connection_id":229315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":229315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:48:09] local.INFO: TCP Data received {"connection_id":232457,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:48:09] local.INFO: Processing buffer {"connection_id":232457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:48:09] local.INFO: IMEI packet received {"connection_id":232457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":232457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:48:12] local.INFO: TCP Data received {"connection_id":232457,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:48:12] local.INFO: Processing buffer {"connection_id":232457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:48:12] local.INFO: IMEI packet received {"connection_id":232457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":232457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:48:13] local.INFO: TCP Data received {"connection_id":232457,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:48:13] local.INFO: Processing buffer {"connection_id":232457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:48:13] local.INFO: Packet analysis {"connection_id":232457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:48:13] local.INFO: Extracted packet for processing {"connection_id":232457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:48: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-11-04 09:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:48:13] 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-11-04 09: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-11-04 09:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:48:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":232457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:48:13] local.INFO: GPS data processed {"connection_id":232457,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:48:13] local.INFO: Acknowledgment sent {"connection_id":232457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:48:14] local.INFO: TCP Data received {"connection_id":229315,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:48:14] local.INFO: Processing buffer {"connection_id":229315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:48:14] local.INFO: IMEI packet received {"connection_id":229315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":229315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:48:18] local.INFO: TCP Data received {"connection_id":232457,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:48:18] local.INFO: Processing buffer {"connection_id":232457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c2a898012d34c50006aa50d0000c00902d..."} 
[2026-11-04 09:48:18] local.INFO: Packet analysis {"connection_id":232457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:48:18] local.INFO: Extracted packet for processing {"connection_id":232457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c2"} 
[2026-11-04 09:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111825104,"longitude_deg":75.8433024,"latitude_deg":11.1825104,"altitude":12,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c500","hex_latitude":"06aa50d0","is_valid_coordinates":true} 
[2026-11-04 09:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203984896001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751523164160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793765583000,"timestamp_ms":1793765583000,"timestamp_seconds":1793765583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c2a898"} 
[2026-11-04 09:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 09:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203984896001,"66":28050,"97":206,"81":23296,"24":0,"16":38827432068775936,"45":3802304751523164160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 09:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203984896001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 09:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751523164160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203984896001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751523164160}} 
[2026-11-04 09:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":232457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:48:18] local.INFO: GPS data processed {"connection_id":232457,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:48:18] local.INFO: Acknowledgment sent {"connection_id":232457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:48:20] local.INFO: TCP Data received {"connection_id":228824,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c76388012d0c6e800703de98001e009622..."} 
[2026-11-04 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c76388012d0c6e800703de98001e009622..."} 
[2026-11-04 09:48:20] local.INFO: Processing buffer {"connection_id":228824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c76388012d0c6e800703de98001e009622..."} 
[2026-11-04 09:48:20] local.INFO: Packet analysis {"connection_id":228824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:48:20] local.INFO: Extracted packet for processing {"connection_id":228824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":755789440,"raw_latitude":117694104,"longitude_deg":75.578944,"latitude_deg":11.7694104,"altitude":30,"angle":150,"satellites":34,"speed":14,"hex_longitude":"2d0c6e80","hex_latitude":"0703de98","is_valid_coordinates":true} 
[2026-11-04 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204068352001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39230385900486656,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668534710272,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793765893000,"timestamp_ms":1793765893000,"timestamp_seconds":1793765893,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c76388"} 
[2026-11-04 09:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:48: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-11-04 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:48:20] 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-11-04 09:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228824,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204068352001,"66":14396,"16":39230385900486656,"94":11008,"24":14,"45":895512668534710272},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204068352001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39230385900486656,"km_value":39230385900486.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:48:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668534710272,"description":"Unknown IO ID 45"} 
[2026-11-04 09:48:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459204068352001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":895512668534710272}} 
[2026-11-04 09:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":228824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:48:20] local.INFO: GPS data processed {"connection_id":228824,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:48:20] local.INFO: Acknowledgment sent {"connection_id":228824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:48:20] local.INFO: TCP Data received {"connection_id":229315,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c5a250012d08704006f5a158000d01442b..."} 
[2026-11-04 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c5a250012d08704006f5a158000d01442b..."} 
[2026-11-04 09:48:20] local.INFO: Processing buffer {"connection_id":229315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c5a250012d08704006f5a158000d01442b..."} 
[2026-11-04 09:48:20] local.INFO: Packet analysis {"connection_id":229315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:48:20] local.INFO: Extracted packet for processing {"connection_id":229315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":755527744,"raw_latitude":116760920,"longitude_deg":75.5527744,"latitude_deg":11.676092,"altitude":13,"angle":324,"satellites":43,"speed":50,"hex_longitude":"2d087040","hex_latitude":"06f5a158","is_valid_coordinates":true} 
[2026-11-04 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204037376001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20390821094227968,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":613756216606523392,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:20] 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-11-04 09:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793765778000,"timestamp_ms":1793765778000,"timestamp_seconds":1793765778,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c5a250"} 
[2026-11-04 09:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 09:48: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-11-04 09:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204037376001,"66":28354,"69":206,"2":56576,"24":50,"16":20390821094227968,"45":613756216606523392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-11-04 09:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204037376001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:48:20] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-11-04 09:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20390821094227968,"km_value":20390821094227.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":613756216606523392,"description":"Unknown IO ID 45"} 
[2026-11-04 09:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204037376001,"power":28354,"unknown_69":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":613756216606523392}} 
[2026-11-04 09:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":229315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:48:20] local.INFO: GPS data processed {"connection_id":229315,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:48:20] local.INFO: Acknowledgment sent {"connection_id":229315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:48:43] local.INFO: TCP Data received {"connection_id":228825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:43] local.INFO: Processing buffer {"connection_id":228825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:43] local.INFO: IMEI packet received {"connection_id":228825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":228825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:48:44] local.INFO: TCP Data received {"connection_id":228825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:44] local.INFO: Processing buffer {"connection_id":228825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:44] local.INFO: IMEI packet received {"connection_id":228825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":228825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:48:49] local.INFO: TCP Data received {"connection_id":228825,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228825,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:49] local.INFO: Processing buffer {"connection_id":228825,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:48:49] local.INFO: IMEI packet received {"connection_id":228825,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":228825,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:48:49] local.INFO: TCP Data received {"connection_id":228825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c76770012d0c6ec00703dd50001f00a622..."} 
[2026-11-04 09:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c76770012d0c6ec00703dd50001f00a622..."} 
[2026-11-04 09:48:49] local.INFO: Processing buffer {"connection_id":228825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c76770012d0c6ec00703dd50001f00a622..."} 
[2026-11-04 09:48:49] local.INFO: Packet analysis {"connection_id":228825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:48:49] local.INFO: Extracted packet for processing {"connection_id":228825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:48:49] local.INFO: GPS Element Parsed {"raw_longitude":755789504,"raw_latitude":117693776,"longitude_deg":75.5789504,"latitude_deg":11.7693776,"altitude":31,"angle":166,"satellites":34,"speed":14,"hex_longitude":"2d0c6ec0","hex_latitude":"0703dd50","is_valid_coordinates":true} 
[2026-11-04 09:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204068608001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39230398785388544,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895794143511353344,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793765894000,"timestamp_ms":1793765894000,"timestamp_seconds":1793765894,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c76770"} 
[2026-11-04 09:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:48: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-11-04 09:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 09:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204068608001,"66":14363,"16":39230398785388544,"94":11008,"24":14,"45":895794143511353344},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204068608001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39230398785388544,"km_value":39230398785388.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:48:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":895794143511353344,"description":"Unknown IO ID 45"} 
[2026-11-04 09:48:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459204068608001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":895794143511353344}} 
[2026-11-04 09:48:50] local.INFO: TCP Data received {"connection_id":232457,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:48:50] local.INFO: Processing buffer {"connection_id":232457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:48:50] local.INFO: Packet analysis {"connection_id":232457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:48:50] local.INFO: Extracted packet for processing {"connection_id":232457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:48:50] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:48:50] 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-11-04 09:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:48:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":232457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:48:50] local.INFO: GPS data processed {"connection_id":232457,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:48:50] local.INFO: Acknowledgment sent {"connection_id":232457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":228825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:48:50] local.INFO: GPS data processed {"connection_id":228825,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:48:50] local.INFO: Acknowledgment sent {"connection_id":228825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:48:56] local.INFO: TCP Data received {"connection_id":229315,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c5bda8012d085b4006f5be38000e01442a..."} 
[2026-11-04 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c5bda8012d085b4006f5be38000e01442a..."} 
[2026-11-04 09:48:56] local.INFO: Processing buffer {"connection_id":229315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c5bda8012d085b4006f5be38000e01442a..."} 
[2026-11-04 09:48:56] local.INFO: Packet analysis {"connection_id":229315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:48:56] local.INFO: Extracted packet for processing {"connection_id":229315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c5"} 
[2026-11-04 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":755522368,"raw_latitude":116768312,"longitude_deg":75.5522368,"latitude_deg":11.6768312,"altitude":14,"angle":324,"satellites":42,"speed":53,"hex_longitude":"2d085b40","hex_latitude":"06f5be38","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204039168001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20391263475859456,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":608056348329990144,"note":"Value kept but may cause issues"} 
[2026-11-04 09:48:56] 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-11-04 09:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793765785000,"timestamp_ms":1793765785000,"timestamp_seconds":1793765785,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c5bda8"} 
[2026-11-04 09:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 09:48:56] 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-11-04 09: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-11-04 09:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204039168001,"66":28419,"69":206,"2":56576,"24":53,"16":20391263475859456,"45":608056348329990144},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-11-04 09:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204039168001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:48:56] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-11-04 09:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20391263475859456,"km_value":20391263475859.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":608056348329990144,"description":"Unknown IO ID 45"} 
[2026-11-04 09:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204039168001,"power":28419,"unknown_69":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":608056348329990144}} 
[2026-11-04 09:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":229315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:48:56] local.INFO: GPS data processed {"connection_id":229315,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:48:56] local.INFO: Acknowledgment sent {"connection_id":229315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:49:07] local.INFO: TCP Data received {"connection_id":230608,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:49:07] local.INFO: Processing buffer {"connection_id":230608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:49:07] local.INFO: IMEI packet received {"connection_id":230608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":230608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:49:12] local.INFO: TCP Data received {"connection_id":230608,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:49:12] local.INFO: Processing buffer {"connection_id":230608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:49:12] local.INFO: IMEI packet received {"connection_id":230608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":230608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:49:13] local.INFO: TCP Data received {"connection_id":230608,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:49:13] local.INFO: Processing buffer {"connection_id":230608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:49:13] local.INFO: Packet analysis {"connection_id":230608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:13] local.INFO: Extracted packet for processing {"connection_id":230608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:49: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-11-04 09: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-11-04 09:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":230608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:49:13] local.INFO: GPS data processed {"connection_id":230608,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:49:13] local.INFO: Acknowledgment sent {"connection_id":230608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:49:14] local.INFO: TCP Data received {"connection_id":228826,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:14] local.INFO: Processing buffer {"connection_id":228826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:14] local.INFO: IMEI packet received {"connection_id":228826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":228826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:49:15] local.INFO: TCP Data received {"connection_id":228826,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:15] local.INFO: Processing buffer {"connection_id":228826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:15] local.INFO: IMEI packet received {"connection_id":228826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":228826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:49:19] local.INFO: TCP Data received {"connection_id":228826,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:19] local.INFO: Processing buffer {"connection_id":228826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:49:19] local.INFO: IMEI packet received {"connection_id":228826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":228826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:49:20] local.INFO: TCP Data received {"connection_id":228826,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c73890012d07684006f6d808000d014329..."} 
[2026-11-04 09:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c73890012d07684006f6d808000d014329..."} 
[2026-11-04 09:49:20] local.INFO: Processing buffer {"connection_id":228826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c73890012d07684006f6d808000d014329..."} 
[2026-11-04 09:49:20] local.INFO: Packet analysis {"connection_id":228826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:20] local.INFO: Extracted packet for processing {"connection_id":228826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:20] local.INFO: GPS Element Parsed {"raw_longitude":755460160,"raw_latitude":116840456,"longitude_deg":75.546016,"latitude_deg":11.6840456,"altitude":13,"angle":323,"satellites":41,"speed":31,"hex_longitude":"2d076840","hex_latitude":"06f6d808","is_valid_coordinates":true} 
[2026-11-04 09:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204063488001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20395850500931584,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":540220878961213440,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:20] 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-11-04 09:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793765882000,"timestamp_ms":1793765882000,"timestamp_seconds":1793765882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c73890"} 
[2026-11-04 09:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 09:49:20] 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-11-04 09:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204063488001,"66":28332,"69":206,"2":56576,"24":31,"16":20395850500931584,"45":540220878961213440},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-11-04 09:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204063488001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:49:20] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-11-04 09:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20395850500931584,"km_value":20395850500931.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":540220878961213440,"description":"Unknown IO ID 45"} 
[2026-11-04 09:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204063488001,"power":28332,"unknown_69":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":540220878961213440}} 
[2026-11-04 09:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":228826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:49:20] local.INFO: GPS data processed {"connection_id":228826,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:49:20] local.INFO: Acknowledgment sent {"connection_id":228826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:49:21] local.INFO: TCP Data received {"connection_id":228825,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c76b58012d0c6ec00703dbb8001f00b222..."} 
[2026-11-04 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c76b58012d0c6ec00703dbb8001f00b222..."} 
[2026-11-04 09:49:21] local.INFO: Processing buffer {"connection_id":228825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c76b58012d0c6ec00703dbb8001f00b222..."} 
[2026-11-04 09:49:21] local.INFO: Packet analysis {"connection_id":228825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:21] local.INFO: Extracted packet for processing {"connection_id":228825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":755789504,"raw_latitude":117693368,"longitude_deg":75.5789504,"latitude_deg":11.7693368,"altitude":31,"angle":178,"satellites":34,"speed":17,"hex_longitude":"2d0c6ec0","hex_latitude":"0703dbb8","is_valid_coordinates":true} 
[2026-11-04 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204068864001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39230420260225024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895864512255447040,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 09:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793765895000,"timestamp_ms":1793765895000,"timestamp_seconds":1793765895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c76b58"} 
[2026-11-04 09:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:49: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-11-04 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-11-04 09:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228825,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204068864001,"66":14363,"16":39230420260225024,"94":11008,"24":17,"45":895864512255447040},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-11-04 09:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204068864001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39230420260225024,"km_value":39230420260225.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:49:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":895864512255447040,"description":"Unknown IO ID 45"} 
[2026-11-04 09:49:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459204068864001,"power":14363,"odometer":null,"unknown_94":11008,"ignition":17,"unknown_45":895864512255447040}} 
[2026-11-04 09:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":228825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:49:21] local.INFO: GPS data processed {"connection_id":228825,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:49:21] local.INFO: Acknowledgment sent {"connection_id":228825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:49:25] local.INFO: TCP Data received {"connection_id":228826,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c78a98012d075b0006f6eab0000d014823..."} 
[2026-11-04 09:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c78a98012d075b0006f6eab0000d014823..."} 
[2026-11-04 09:49:25] local.INFO: Processing buffer {"connection_id":228826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c78a98012d075b0006f6eab0000d014823..."} 
[2026-11-04 09:49:25] local.INFO: Packet analysis {"connection_id":228826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:25] local.INFO: Extracted packet for processing {"connection_id":228826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:25] local.INFO: GPS Element Parsed {"raw_longitude":755456768,"raw_latitude":116845232,"longitude_deg":75.5456768,"latitude_deg":11.6845232,"altitude":13,"angle":328,"satellites":35,"speed":17,"hex_longitude":"2d075b00","hex_latitude":"06f6eab0","is_valid_coordinates":true} 
[2026-11-04 09:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204065792001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20396133968773120,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533746954498738176,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:25] 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-11-04 09:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793765903000,"timestamp_ms":1793765903000,"timestamp_seconds":1793765903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c78a98"} 
[2026-11-04 09:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 09:49:25] 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-11-04 09:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204065792001,"66":28278,"155":206,"28":32256,"24":17,"16":20396133968773120,"45":533746954498738176},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-11-04 09:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204065792001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:49:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 09:49:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20396133968773120,"km_value":20396133968773.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":533746954498738176,"description":"Unknown IO ID 45"} 
[2026-11-04 09:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204065792001,"power":28278,"unknown_155":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":533746954498738176}} 
[2026-11-04 09:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":228826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:49:25] local.INFO: GPS data processed {"connection_id":228826,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:49:25] local.INFO: Acknowledgment sent {"connection_id":228826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:49:44] local.INFO: TCP Data received {"connection_id":230609,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:49:44] local.INFO: Processing buffer {"connection_id":230609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:49:44] local.INFO: IMEI packet received {"connection_id":230609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":230609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:49:44] local.INFO: TCP Data received {"connection_id":230609,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230609,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:49:44] local.INFO: Processing buffer {"connection_id":230609,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:49:44] local.INFO: IMEI packet received {"connection_id":230609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":230609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:49:45] local.INFO: TCP Data received {"connection_id":230608,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:49:45] local.INFO: Processing buffer {"connection_id":230608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:49:45] local.INFO: Packet analysis {"connection_id":230608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:45] local.INFO: Extracted packet for processing {"connection_id":230608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:49: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-11-04 09: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-11-04 09:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":230608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:49:45] local.INFO: GPS data processed {"connection_id":230608,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:49:45] local.INFO: Acknowledgment sent {"connection_id":230608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:49:45] local.INFO: TCP Data received {"connection_id":230609,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:49:45] local.INFO: Processing buffer {"connection_id":230609,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:49:45] local.INFO: IMEI packet received {"connection_id":230609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":230609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:50:07] local.INFO: TCP Data received {"connection_id":229316,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:50:07] local.INFO: Processing buffer {"connection_id":229316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:50:07] local.INFO: IMEI packet received {"connection_id":229316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":229316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:50:08] local.INFO: TCP Data received {"connection_id":232458,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:08] local.INFO: Processing buffer {"connection_id":232458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:08] local.INFO: IMEI packet received {"connection_id":232458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":232458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:50:09] local.INFO: TCP Data received {"connection_id":232458,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:09] local.INFO: Processing buffer {"connection_id":232458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:09] local.INFO: IMEI packet received {"connection_id":232458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":232458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:50:12] local.INFO: TCP Data received {"connection_id":229316,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:50:12] local.INFO: Processing buffer {"connection_id":229316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:50:12] local.INFO: IMEI packet received {"connection_id":229316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":229316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:50:13] local.INFO: TCP Data received {"connection_id":229316,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:50:13] local.INFO: Processing buffer {"connection_id":229316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:50:13] local.INFO: Packet analysis {"connection_id":229316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:13] local.INFO: Extracted packet for processing {"connection_id":229316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:50: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-11-04 09:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":229316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:50:13] local.INFO: GPS data processed {"connection_id":229316,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:50:13] local.INFO: Acknowledgment sent {"connection_id":229316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:50:14] local.INFO: TCP Data received {"connection_id":232458,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:14] local.INFO: Processing buffer {"connection_id":232458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:50:14] local.INFO: IMEI packet received {"connection_id":232458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":232458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:50:16] local.INFO: TCP Data received {"connection_id":232458,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c7c148012d07458006f70688000e013e2c..."} 
[2026-11-04 09:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c7c148012d07458006f70688000e013e2c..."} 
[2026-11-04 09:50:16] local.INFO: Processing buffer {"connection_id":232458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c7c148012d07458006f70688000e013e2c..."} 
[2026-11-04 09:50:16] local.INFO: Packet analysis {"connection_id":232458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:16] local.INFO: Extracted packet for processing {"connection_id":232458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:16] local.INFO: GPS Element Parsed {"raw_longitude":755451264,"raw_latitude":116852360,"longitude_deg":75.5451264,"latitude_deg":11.685236,"altitude":14,"angle":318,"satellites":44,"speed":28,"hex_longitude":"2d074580","hex_latitude":"06f70688","is_valid_coordinates":true} 
[2026-11-04 09:50: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-11-04 09:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204071168001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20396567760470016,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":530017411058544640,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:16] 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-11-04 09:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793765917000,"timestamp_ms":1793765917000,"timestamp_seconds":1793765917,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c7c148"} 
[2026-11-04 09:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:50: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-11-04 09:50: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-11-04 09:50: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-11-04 09:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204071168001,"66":28332,"155":206,"28":32256,"24":28,"16":20396567760470016,"45":530017411058544640},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-11-04 09:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204071168001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:50:16] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 09:50:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20396567760470016,"km_value":20396567760470.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":530017411058544640,"description":"Unknown IO ID 45"} 
[2026-11-04 09:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204071168001,"power":28332,"unknown_155":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":530017411058544640}} 
[2026-11-04 09:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":232458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:50:16] local.INFO: GPS data processed {"connection_id":232458,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:50:16] local.INFO: Acknowledgment sent {"connection_id":232458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:50:46] local.INFO: TCP Data received {"connection_id":229316,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:50:46] local.INFO: Processing buffer {"connection_id":229316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:50:46] local.INFO: Packet analysis {"connection_id":229316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:46] local.INFO: Extracted packet for processing {"connection_id":229316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:50:46] 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-11-04 09:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":229316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:50:46] local.INFO: GPS data processed {"connection_id":229316,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:50:46] local.INFO: Acknowledgment sent {"connection_id":229316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:50:50] local.INFO: TCP Data received {"connection_id":232458,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c7ec40012d072d8006f72390001101452d..."} 
[2026-11-04 09:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c7ec40012d072d8006f72390001101452d..."} 
[2026-11-04 09:50:50] local.INFO: Processing buffer {"connection_id":232458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c7ec40012d072d8006f72390001101452d..."} 
[2026-11-04 09:50:50] local.INFO: Packet analysis {"connection_id":232458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:50] local.INFO: Extracted packet for processing {"connection_id":232458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:50:50] local.INFO: GPS Element Parsed {"raw_longitude":755445120,"raw_latitude":116859792,"longitude_deg":75.544512,"latitude_deg":11.6859792,"altitude":17,"angle":325,"satellites":45,"speed":38,"hex_longitude":"2d072d80","hex_latitude":"06f72390","is_valid_coordinates":true} 
[2026-11-04 09:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204074752001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20397031616937984,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":523965699061090304,"note":"Value kept but may cause issues"} 
[2026-11-04 09:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793765928000,"timestamp_ms":1793765928000,"timestamp_seconds":1793765928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c7ec40"} 
[2026-11-04 09:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 09:50:50] 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-11-04 09:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204074752001,"66":27995,"155":206,"28":32256,"24":38,"16":20397031616937984,"45":523965699061090304},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-11-04 09:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204074752001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:50:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 09:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20397031616937984,"km_value":20397031616937.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":523965699061090304,"description":"Unknown IO ID 45"} 
[2026-11-04 09:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204074752001,"power":27995,"unknown_155":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":523965699061090304}} 
[2026-11-04 09:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":232458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:50:50] local.INFO: GPS data processed {"connection_id":232458,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:50:50] local.INFO: Acknowledgment sent {"connection_id":232458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:51:09] local.INFO: TCP Data received {"connection_id":228828,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:51:09] local.INFO: Processing buffer {"connection_id":228828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:51:09] local.INFO: IMEI packet received {"connection_id":228828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":228828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:51:12] local.INFO: TCP Data received {"connection_id":228827,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:51:12] local.INFO: Processing buffer {"connection_id":228827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:51:12] local.INFO: IMEI packet received {"connection_id":228827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":228827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:51:14] local.INFO: TCP Data received {"connection_id":228828,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:51:14] local.INFO: Processing buffer {"connection_id":228828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:51:14] local.INFO: IMEI packet received {"connection_id":228828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":228828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:51:16] local.INFO: TCP Data received {"connection_id":228828,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c80f68012d07170006f73fe00010013f2f..."} 
[2026-11-04 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c80f68012d07170006f73fe00010013f2f..."} 
[2026-11-04 09:51:16] local.INFO: Processing buffer {"connection_id":228828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c80f68012d07170006f73fe00010013f2f..."} 
[2026-11-04 09:51:16] local.INFO: Packet analysis {"connection_id":228828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c8"} 
[2026-11-04 09:51:16] local.INFO: Extracted packet for processing {"connection_id":228828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c8"} 
[2026-11-04 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755439360,"raw_latitude":116867040,"longitude_deg":75.543936,"latitude_deg":11.686704,"altitude":16,"angle":319,"satellites":47,"speed":41,"hex_longitude":"2d071700","hex_latitude":"06f73fe0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204077568001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20397478293536768,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":517210299621937152,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:16] 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-11-04 09:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793765937000,"timestamp_ms":1793765937000,"timestamp_seconds":1793765937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c80f68"} 
[2026-11-04 09:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:51:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 09:51:16] 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-11-04 09: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-11-04 09:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:51:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204077568001,"66":28332,"155":206,"28":32256,"24":41,"16":20397478293536768,"45":517210299621937152},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-11-04 09:51:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:51:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:51:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204077568001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:51:16] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 09:51:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:51:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20397478293536768,"km_value":20397478293536.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:51:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":517210299621937152,"description":"Unknown IO ID 45"} 
[2026-11-04 09:51:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204077568001,"power":28332,"unknown_155":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":517210299621937152}} 
[2026-11-04 09:51:16] local.INFO: DEBUG: GPS processor result {"connection_id":228828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:51:16] local.INFO: GPS data processed {"connection_id":228828,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:51:16] local.INFO: Acknowledgment sent {"connection_id":228828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:51:17] local.INFO: TCP Data received {"connection_id":228827,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:51:17] local.INFO: Processing buffer {"connection_id":228827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:51:17] local.INFO: IMEI packet received {"connection_id":228827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":228827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:51:18] local.INFO: TCP Data received {"connection_id":228827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:51:18] local.INFO: Processing buffer {"connection_id":228827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:51:18] local.INFO: Packet analysis {"connection_id":228827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:51:18] local.INFO: Extracted packet for processing {"connection_id":228827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:51:18] 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-11-04 09: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-11-04 09:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":228827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:51:18] local.INFO: GPS data processed {"connection_id":228827,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:51:18] local.INFO: Acknowledgment sent {"connection_id":228827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:51:22] local.INFO: TCP Data received {"connection_id":228827,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:51:22] local.INFO: Processing buffer {"connection_id":228827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:51:22] local.INFO: Packet analysis {"connection_id":228827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:51:22] local.INFO: Extracted packet for processing {"connection_id":228827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:51:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:51:22] 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-11-04 09:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:51:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":228827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:51:22] local.INFO: GPS data processed {"connection_id":228827,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:51:22] local.INFO: Acknowledgment sent {"connection_id":228827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:51:48] local.INFO: TCP Data received {"connection_id":228828,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c83290012d06fec006f75cb0000e013f2d..."} 
[2026-11-04 09:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c83290012d06fec006f75cb0000e013f2d..."} 
[2026-11-04 09:51:48] local.INFO: Processing buffer {"connection_id":228828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c83290012d06fec006f75cb0000e013f2d..."} 
[2026-11-04 09:51:48] local.INFO: Packet analysis {"connection_id":228828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c8"} 
[2026-11-04 09:51:48] local.INFO: Extracted packet for processing {"connection_id":228828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c8"} 
[2026-11-04 09:51:48] local.INFO: GPS Element Parsed {"raw_longitude":755433152,"raw_latitude":116874416,"longitude_deg":75.5433152,"latitude_deg":11.6874416,"altitude":14,"angle":319,"satellites":45,"speed":39,"hex_longitude":"2d06fec0","hex_latitude":"06f75cb0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204079872001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20397942150004736,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":510877112647802880,"note":"Value kept but may cause issues"} 
[2026-11-04 09:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793765946000,"timestamp_ms":1793765946000,"timestamp_seconds":1793765946,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c83290"} 
[2026-11-04 09:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 09:51: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-11-04 09: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-11-04 09:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204079872001,"66":28224,"155":206,"28":32256,"24":39,"16":20397942150004736,"45":510877112647802880},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-11-04 09:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204079872001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:51:48] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-11-04 09:51:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20397942150004736,"km_value":20397942150004.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":510877112647802880,"description":"Unknown IO ID 45"} 
[2026-11-04 09:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204079872001,"power":28224,"unknown_155":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":510877112647802880}} 
[2026-11-04 09:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":228828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:51:48] local.INFO: GPS data processed {"connection_id":228828,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:51:48] local.INFO: Acknowledgment sent {"connection_id":228828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:52:07] local.INFO: TCP Data received {"connection_id":229317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:52:07] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:52:07] local.INFO: IMEI packet received {"connection_id":229317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":229317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:52:10] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:10] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:10] local.INFO: IMEI packet received {"connection_id":229318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":229318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:52:12] local.INFO: TCP Data received {"connection_id":229317,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:52:12] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:52:12] local.INFO: IMEI packet received {"connection_id":229317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":229317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:52:13] local.INFO: TCP Data received {"connection_id":229317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:52:13] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:52:13] local.INFO: Packet analysis {"connection_id":229317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:52:13] local.INFO: Extracted packet for processing {"connection_id":229317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:52:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:52: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-11-04 09: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-11-04 09:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:52:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":229317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:52:13] local.INFO: GPS data processed {"connection_id":229317,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:52:13] local.INFO: Acknowledgment sent {"connection_id":229317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:52:14] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:14] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:14] local.INFO: IMEI packet received {"connection_id":229318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":229318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:52:24] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:24] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:52:24] local.INFO: IMEI packet received {"connection_id":229318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":229318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:52:26] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ca1ec0012d05ed4006f883d8000f01392f..."} 
[2026-11-04 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ca1ec0012d05ed4006f883d8000f01392f..."} 
[2026-11-04 09:52:26] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ca1ec0012d05ed4006f883d8000f01392f..."} 
[2026-11-04 09:52:26] local.INFO: Packet analysis {"connection_id":229318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ca"} 
[2026-11-04 09:52:26] local.INFO: Extracted packet for processing {"connection_id":229318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ca"} 
[2026-11-04 09:52:26] local.INFO: GPS Element Parsed {"raw_longitude":755363136,"raw_latitude":116949976,"longitude_deg":75.5363136,"latitude_deg":11.6949976,"altitude":15,"angle":313,"satellites":47,"speed":26,"hex_longitude":"2d05ed40","hex_latitude":"06f883d8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204109056001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20402894247297024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":434104812769591296,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793766072000,"timestamp_ms":1793766072000,"timestamp_seconds":1793766072,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ca1ec0"} 
[2026-11-04 09:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 09:52:26] 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-11-04 09: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-11-04 09:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204109056001,"66":28300,"73":206,"28":32256,"24":26,"16":20402894247297024,"45":434104812769591296},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-11-04 09:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204109056001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:52:26] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 09:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20402894247297024,"km_value":20402894247297.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":434104812769591296,"description":"Unknown IO ID 45"} 
[2026-11-04 09:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204109056001,"power":28300,"unknown_73":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":434104812769591296}} 
[2026-11-04 09:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":229318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:52:26] local.INFO: GPS data processed {"connection_id":229318,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:52:26] local.INFO: Acknowledgment sent {"connection_id":229318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:52:27] local.INFO: TCP Data received {"connection_id":229318,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ca1ec0012d05ed4006f883d8000f01392f..."} 
[2026-11-04 09:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ca1ec0012d05ed4006f883d8000f01392f..."} 
[2026-11-04 09:52:27] local.INFO: Processing buffer {"connection_id":229318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ca1ec0012d05ed4006f883d8000f01392f..."} 
[2026-11-04 09:52:27] local.INFO: Packet analysis {"connection_id":229318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ca"} 
[2026-11-04 09:52:27] local.INFO: Extracted packet for processing {"connection_id":229318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ca"} 
[2026-11-04 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":755363136,"raw_latitude":116949976,"longitude_deg":75.5363136,"latitude_deg":11.6949976,"altitude":15,"angle":313,"satellites":47,"speed":26,"hex_longitude":"2d05ed40","hex_latitude":"06f883d8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204114432001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20402894247297024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":427067938353436672,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793766072000,"timestamp_ms":1793766072000,"timestamp_seconds":1793766072,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ca1ec0"} 
[2026-11-04 09:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:52:27] 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-11-04 09: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-11-04 09:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204114432001,"66":28300,"73":206,"28":32256,"24":26,"16":20402894247297024,"45":427067938353436672},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-11-04 09:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204114432001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:52:27] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 09:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20402894247297024,"km_value":20402894247297.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":427067938353436672,"description":"Unknown IO ID 45"} 
[2026-11-04 09:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204114432001,"power":28300,"unknown_73":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":427067938353436672}} 
[2026-11-04 09:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":229318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:52:27] local.INFO: GPS data processed {"connection_id":229318,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:52:27] local.INFO: Acknowledgment sent {"connection_id":229318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:52:45] local.INFO: TCP Data received {"connection_id":229317,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:52:45] local.INFO: Processing buffer {"connection_id":229317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:52:45] local.INFO: Packet analysis {"connection_id":229317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:52:45] local.INFO: Extracted packet for processing {"connection_id":229317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:52: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-11-04 09: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-11-04 09:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":229317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:52:45] local.INFO: GPS data processed {"connection_id":229317,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:52:45] local.INFO: Acknowledgment sent {"connection_id":229317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:53:07] local.INFO: TCP Data received {"connection_id":228830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:53:07] local.INFO: Processing buffer {"connection_id":228830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:53:07] local.INFO: IMEI packet received {"connection_id":228830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":228830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:53:09] local.INFO: TCP Data received {"connection_id":232460,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:53:09] local.INFO: Processing buffer {"connection_id":232460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:53:09] local.INFO: IMEI packet received {"connection_id":232460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":232460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:53:12] local.INFO: TCP Data received {"connection_id":228830,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:53:12] local.INFO: Processing buffer {"connection_id":228830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:53:12] local.INFO: IMEI packet received {"connection_id":228830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":228830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:53:13] local.INFO: TCP Data received {"connection_id":228830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:53:13] local.INFO: Processing buffer {"connection_id":228830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4c74448012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:53:13] local.INFO: Packet analysis {"connection_id":228830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:53:13] local.INFO: Extracted packet for processing {"connection_id":228830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4c7"} 
[2026-11-04 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459203989248001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489011478528,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793765885000,"timestamp_ms":1793765885000,"timestamp_seconds":1793765885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4c74448"} 
[2026-11-04 09:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 09:53: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-11-04 09:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459203989248001,"66":26169,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3802445489011478528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459203989248001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489011478528,"description":"Unknown IO ID 45"} 
[2026-11-04 09:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459203989248001,"power":26169,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802445489011478528}} 
[2026-11-04 09:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":228830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:53:13] local.INFO: GPS data processed {"connection_id":228830,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:53:13] local.INFO: Acknowledgment sent {"connection_id":228830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:53:14] local.INFO: TCP Data received {"connection_id":232460,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:53:14] local.INFO: Processing buffer {"connection_id":232460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:53:14] local.INFO: IMEI packet received {"connection_id":232460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":232460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:53:16] local.INFO: TCP Data received {"connection_id":232460,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ca3630012d05e24006f88f60000f01452d..."} 
[2026-11-04 09:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ca3630012d05e24006f88f60000f01452d..."} 
[2026-11-04 09:53:16] local.INFO: Processing buffer {"connection_id":232460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ca3630012d05e24006f88f60000f01452d..."} 
[2026-11-04 09:53:16] local.INFO: Packet analysis {"connection_id":232460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ca"} 
[2026-11-04 09:53:16] local.INFO: Extracted packet for processing {"connection_id":232460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ca"} 
[2026-11-04 09:53:16] local.INFO: GPS Element Parsed {"raw_longitude":755360320,"raw_latitude":116952928,"longitude_deg":75.536032,"latitude_deg":11.6952928,"altitude":15,"angle":325,"satellites":45,"speed":28,"hex_longitude":"2d05e240","hex_latitude":"06f88f60","is_valid_coordinates":true} 
[2026-11-04 09:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204114432001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20403087520825344,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":427067938353436672,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793766078000,"timestamp_ms":1793766078000,"timestamp_seconds":1793766078,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ca3630"} 
[2026-11-04 09:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:53: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-11-04 09:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204114432001,"66":28224,"73":206,"28":32256,"24":28,"16":20403087520825344,"45":427067938353436672},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,28,24,16,45]} 
[2026-11-04 09:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204114432001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:53:16] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 09:53:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20403087520825344,"km_value":20403087520825.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":427067938353436672,"description":"Unknown IO ID 45"} 
[2026-11-04 09:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204114432001,"power":28224,"unknown_73":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":427067938353436672}} 
[2026-11-04 09:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":232460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:53:16] local.INFO: GPS data processed {"connection_id":232460,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:53:16] local.INFO: Acknowledgment sent {"connection_id":232460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:53:45] local.INFO: TCP Data received {"connection_id":228830,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:53:45] local.INFO: Processing buffer {"connection_id":228830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:53:45] local.INFO: Packet analysis {"connection_id":228830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:53:45] local.INFO: Extracted packet for processing {"connection_id":228830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":228830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:53:45] local.INFO: GPS data processed {"connection_id":228830,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:53:45] local.INFO: Acknowledgment sent {"connection_id":228830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:53:47] local.INFO: TCP Data received {"connection_id":232460,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbc0b8012d059d8006f9cac80010012d2b..."} 
[2026-11-04 09:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbc0b8012d059d8006f9cac80010012d2b..."} 
[2026-11-04 09:53:47] local.INFO: Processing buffer {"connection_id":232460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbc0b8012d059d8006f9cac80010012d2b..."} 
[2026-11-04 09:53:47] local.INFO: Packet analysis {"connection_id":232460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:53:47] local.INFO: Extracted packet for processing {"connection_id":232460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:53:47] local.INFO: GPS Element Parsed {"raw_longitude":755342720,"raw_latitude":117033672,"longitude_deg":75.534272,"latitude_deg":11.7033672,"altitude":16,"angle":301,"satellites":43,"speed":32,"hex_longitude":"2d059d80","hex_latitude":"06f9cac8","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204141568001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20407214984396800,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":405535102656430080,"note":"Value kept but may cause issues"} 
[2026-11-04 09:53:47] 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-11-04 09:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793766179000,"timestamp_ms":1793766179000,"timestamp_seconds":1793766179,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbc0b8"} 
[2026-11-04 09:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 09:53: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-11-04 09: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-11-04 09:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204141568001,"66":28234,"74":206,"28":32256,"24":32,"16":20407214984396800,"45":405535102656430080},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-11-04 09:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204141568001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:53:47] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-11-04 09:53:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20407214984396800,"km_value":20407214984396.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":405535102656430080,"description":"Unknown IO ID 45"} 
[2026-11-04 09:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204141568001,"power":28234,"unknown_74":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_45":405535102656430080}} 
[2026-11-04 09:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":232460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:53:47] local.INFO: GPS data processed {"connection_id":232460,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:53:47] local.INFO: Acknowledgment sent {"connection_id":232460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:54:07] local.INFO: TCP Data received {"connection_id":230611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:54:07] local.INFO: Processing buffer {"connection_id":230611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:54:07] local.INFO: IMEI packet received {"connection_id":230611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":230611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:54:09] local.INFO: TCP Data received {"connection_id":228831,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:54:09] local.INFO: Processing buffer {"connection_id":228831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:54:09] local.INFO: IMEI packet received {"connection_id":228831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":228831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:54:12] local.INFO: TCP Data received {"connection_id":230611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:54:12] local.INFO: Processing buffer {"connection_id":230611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:54:12] local.INFO: IMEI packet received {"connection_id":230611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":230611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:54:13] local.INFO: TCP Data received {"connection_id":230611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:54:13] local.INFO: Processing buffer {"connection_id":230611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:54:13] local.INFO: Packet analysis {"connection_id":230611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:54:13] local.INFO: Extracted packet for processing {"connection_id":230611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":230611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:54:13] local.INFO: GPS data processed {"connection_id":230611,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:54:13] local.INFO: Acknowledgment sent {"connection_id":230611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:54:13] local.INFO: TCP Data received {"connection_id":228831,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:54:13] local.INFO: Processing buffer {"connection_id":228831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:54:13] local.INFO: IMEI packet received {"connection_id":228831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":228831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:54:14] local.INFO: TCP Data received {"connection_id":228831,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbc4a0012d05994006f9cb88000f012128..."} 
[2026-11-04 09:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbc4a0012d05994006f9cb88000f012128..."} 
[2026-11-04 09:54:14] local.INFO: Processing buffer {"connection_id":228831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbc4a0012d05994006f9cb88000f012128..."} 
[2026-11-04 09:54:14] local.INFO: Packet analysis {"connection_id":228831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:54:14] local.INFO: Extracted packet for processing {"connection_id":228831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:54:14] local.INFO: GPS Element Parsed {"raw_longitude":755341632,"raw_latitude":117033864,"longitude_deg":75.5341632,"latitude_deg":11.7033864,"altitude":15,"angle":289,"satellites":40,"speed":37,"hex_longitude":"2d059940","hex_latitude":"06f9cb88","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204141824001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20407266524004352,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":404620308982188032,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:14] 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-11-04 09:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793766180000,"timestamp_ms":1793766180000,"timestamp_seconds":1793766180,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbc4a0"} 
[2026-11-04 09:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 09:54:14] 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-11-04 09: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-11-04 09:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204141824001,"66":28202,"74":206,"28":32256,"24":37,"16":20407266524004352,"45":404620308982188032},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-11-04 09:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204141824001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:54:14] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-11-04 09:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20407266524004352,"km_value":20407266524004.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":404620308982188032,"description":"Unknown IO ID 45"} 
[2026-11-04 09:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204141824001,"power":28202,"unknown_74":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":404620308982188032}} 
[2026-11-04 09:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":228831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:54:14] local.INFO: GPS data processed {"connection_id":228831,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:54:14] local.INFO: Acknowledgment sent {"connection_id":228831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:54:44] local.INFO: TCP Data received {"connection_id":230611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:54:44] local.INFO: Processing buffer {"connection_id":230611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:54:44] local.INFO: Packet analysis {"connection_id":230611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:54:44] local.INFO: Extracted packet for processing {"connection_id":230611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":230611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:54:44] local.INFO: GPS data processed {"connection_id":230611,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:54:44] local.INFO: Acknowledgment sent {"connection_id":230611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:54:46] local.INFO: TCP Data received {"connection_id":228831,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cc87f0012d059cc006fa38c0000a01412c..."} 
[2026-11-04 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cc87f0012d059cc006fa38c0000a01412c..."} 
[2026-11-04 09:54:46] local.INFO: Processing buffer {"connection_id":228831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cc87f0012d059cc006fa38c0000a01412c..."} 
[2026-11-04 09:54:46] local.INFO: Packet analysis {"connection_id":228831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:54:46] local.INFO: Extracted packet for processing {"connection_id":228831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":755342528,"raw_latitude":117061824,"longitude_deg":75.5342528,"latitude_deg":11.7061824,"altitude":10,"angle":321,"satellites":44,"speed":7,"hex_longitude":"2d059cc0","hex_latitude":"06fa38c0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204154368001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20409285158633472,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":404690677733468160,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793766230000,"timestamp_ms":1793766230000,"timestamp_seconds":1793766230,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cc87f0"} 
[2026-11-04 09:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:54: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-11-04 09: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-11-04 09:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204154368001,"66":28137,"13":206,"28":32256,"24":7,"16":20409285158633472,"45":404690677733468160},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-11-04 09:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204154368001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:54:46] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 09:54:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20409285158633472,"km_value":20409285158633.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":404690677733468160,"description":"Unknown IO ID 45"} 
[2026-11-04 09:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204154368001,"power":28137,"unknown_13":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":404690677733468160}} 
[2026-11-04 09:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":228831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:54:46] local.INFO: GPS data processed {"connection_id":228831,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:54:46] local.INFO: Acknowledgment sent {"connection_id":228831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:54:49] local.INFO: TCP Data received {"connection_id":229319,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:54:49] local.INFO: Processing buffer {"connection_id":229319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:54:49] local.INFO: IMEI packet received {"connection_id":229319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":229319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:54:49] local.INFO: TCP Data received {"connection_id":229319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cce5b0012d0b6d40070346280012016221..."} 
[2026-11-04 09:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cce5b0012d0b6d40070346280012016221..."} 
[2026-11-04 09:54:50] local.INFO: Processing buffer {"connection_id":229319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cce5b0012d0b6d40070346280012016221..."} 
[2026-11-04 09:54:50] local.INFO: Packet analysis {"connection_id":229319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:54:50] local.INFO: Extracted packet for processing {"connection_id":229319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:54:50] local.INFO: GPS Element Parsed {"raw_longitude":755723584,"raw_latitude":117655080,"longitude_deg":75.5723584,"latitude_deg":11.765508,"altitude":18,"angle":354,"satellites":33,"speed":7,"hex_longitude":"2d0b6d40","hex_latitude":"07034628","is_valid_coordinates":true} 
[2026-11-04 09:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204160768001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39235471141765120,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823384705742501888,"note":"Value kept but may cause issues"} 
[2026-11-04 09:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793766254000,"timestamp_ms":1793766254000,"timestamp_seconds":1793766254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cce5b0"} 
[2026-11-04 09:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 09:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204160768001,"66":14461,"37":206,"94":11008,"24":7,"16":39235471141765120,"45":823384705742501888},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 09:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204160768001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:54:50] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 09:54:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39235471141765120,"km_value":39235471141765.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":823384705742501888,"description":"Unknown IO ID 45"} 
[2026-11-04 09:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204160768001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":823384705742501888}} 
[2026-11-04 09:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":229319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:54:50] local.INFO: GPS data processed {"connection_id":229319,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:54:50] local.INFO: Acknowledgment sent {"connection_id":229319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:55:09] local.INFO: TCP Data received {"connection_id":232462,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:09] local.INFO: Processing buffer {"connection_id":232462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:09] local.INFO: IMEI packet received {"connection_id":232462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":232462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:55:10] local.INFO: TCP Data received {"connection_id":232462,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:10] local.INFO: Processing buffer {"connection_id":232462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:10] local.INFO: IMEI packet received {"connection_id":232462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":232462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:55:12] local.INFO: TCP Data received {"connection_id":230612,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:55:12] local.INFO: Processing buffer {"connection_id":230612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:55:12] local.INFO: IMEI packet received {"connection_id":230612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":230612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:55:14] local.INFO: TCP Data received {"connection_id":232462,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:14] local.INFO: Processing buffer {"connection_id":232462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:55:14] local.INFO: IMEI packet received {"connection_id":232462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":232462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:55:15] local.INFO: TCP Data received {"connection_id":232462,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cc8bd8012d059c4006fa3958000a01322c..."} 
[2026-11-04 09:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cc8bd8012d059c4006fa3958000a01322c..."} 
[2026-11-04 09:55:15] local.INFO: Processing buffer {"connection_id":232462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cc8bd8012d059c4006fa3958000a01322c..."} 
[2026-11-04 09:55:15] local.INFO: Packet analysis {"connection_id":232462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:55:15] local.INFO: Extracted packet for processing {"connection_id":232462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:55:15] local.INFO: GPS Element Parsed {"raw_longitude":755342400,"raw_latitude":117061976,"longitude_deg":75.53424,"latitude_deg":11.7061976,"altitude":10,"angle":306,"satellites":44,"speed":8,"hex_longitude":"2d059c40","hex_latitude":"06fa3958","is_valid_coordinates":true} 
[2026-11-04 09:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204154880001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20409293748568064,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":404409202756861952,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793766231000,"timestamp_ms":1793766231000,"timestamp_seconds":1793766231,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cc8bd8"} 
[2026-11-04 09:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 09:55:15] 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-11-04 09:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204154880001,"66":28137,"13":206,"28":32256,"24":8,"16":20409293748568064,"45":404409202756861952},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-11-04 09:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204154880001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:55:15] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 09:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20409293748568064,"km_value":20409293748568.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":404409202756861952,"description":"Unknown IO ID 45"} 
[2026-11-04 09:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204154880001,"power":28137,"unknown_13":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":404409202756861952}} 
[2026-11-04 09:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":232462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:55:16] local.INFO: GPS data processed {"connection_id":232462,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:55:16] local.INFO: Acknowledgment sent {"connection_id":232462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:55:17] local.INFO: TCP Data received {"connection_id":230612,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:55:17] local.INFO: Processing buffer {"connection_id":230612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:55:17] local.INFO: IMEI packet received {"connection_id":230612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":230612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:55:18] local.INFO: TCP Data received {"connection_id":230612,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:55:18] local.INFO: Processing buffer {"connection_id":230612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:55:18] local.INFO: Packet analysis {"connection_id":230612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:55:18] local.INFO: Extracted packet for processing {"connection_id":230612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":230612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:55:18] local.INFO: GPS data processed {"connection_id":230612,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:55:18] local.INFO: Acknowledgment sent {"connection_id":230612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:55:22] local.INFO: TCP Data received {"connection_id":230612,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:55:22] local.INFO: Processing buffer {"connection_id":230612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:55:22] local.INFO: Packet analysis {"connection_id":230612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:55:22] local.INFO: Extracted packet for processing {"connection_id":230612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:55:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:55:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":230612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:55:22] local.INFO: GPS data processed {"connection_id":230612,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:55:22] local.INFO: Acknowledgment sent {"connection_id":230612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:55:30] local.INFO: TCP Data received {"connection_id":229319,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ccf938012d0b6c8007034b980012015222..."} 
[2026-11-04 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ccf938012d0b6c8007034b980012015222..."} 
[2026-11-04 09:55:30] local.INFO: Processing buffer {"connection_id":229319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ccf938012d0b6c8007034b980012015222..."} 
[2026-11-04 09:55:30] local.INFO: Packet analysis {"connection_id":229319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:55:30] local.INFO: Extracted packet for processing {"connection_id":229319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":755723392,"raw_latitude":117656472,"longitude_deg":75.5723392,"latitude_deg":11.7656472,"altitude":18,"angle":338,"satellites":34,"speed":10,"hex_longitude":"2d0b6c80","hex_latitude":"07034b98","is_valid_coordinates":true} 
[2026-11-04 09:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204161024001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39235539861241856,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823384705742546944,"note":"Value kept but may cause issues"} 
[2026-11-04 09:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793766259000,"timestamp_ms":1793766259000,"timestamp_seconds":1793766259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ccf938"} 
[2026-11-04 09:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 09:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":229319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":229319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":229319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 09:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 09:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 09:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204161024001,"66":14309,"37":206,"94":11008,"24":10,"16":39235539861241856,"45":823384705742546944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 09:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 09:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 09:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204161024001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:55:30] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 09:55:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 09:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39235539861241856,"km_value":39235539861241.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":823384705742546944,"description":"Unknown IO ID 45"} 
[2026-11-04 09:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204161024001,"power":14309,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":823384705742546944}} 
[2026-11-04 09:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":229319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58619,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:55:30] local.INFO: GPS data processed {"connection_id":229319,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:55:30] local.INFO: Acknowledgment sent {"connection_id":229319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:55:44] local.INFO: TCP Data received {"connection_id":230613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:55:44] local.INFO: Processing buffer {"connection_id":230613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:55:44] local.INFO: IMEI packet received {"connection_id":230613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 09:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":230613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:55:47] local.INFO: TCP Data received {"connection_id":230613,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230613,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:55:47] local.INFO: Processing buffer {"connection_id":230613,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 09:55:47] local.INFO: IMEI packet received {"connection_id":230613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":230613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:55:48] local.INFO: TCP Data received {"connection_id":230613,"ip":"42.109.136.4","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230613,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:55:48] local.INFO: Processing buffer {"connection_id":230613,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 09:55:48] local.INFO: IMEI packet received {"connection_id":230613,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 09:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":230613,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:56:07] local.INFO: TCP Data received {"connection_id":228832,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:56:07] local.INFO: Processing buffer {"connection_id":228832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:56:07] local.INFO: IMEI packet received {"connection_id":228832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":228832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:56:12] local.INFO: TCP Data received {"connection_id":232462,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cc9b78012d05998006fa3b98000901252d..."} 
[2026-11-04 09:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cc9b78012d05998006fa3b98000901252d..."} 
[2026-11-04 09:56:12] local.INFO: Processing buffer {"connection_id":232462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cc9b78012d05998006fa3b98000901252d..."} 
[2026-11-04 09:56:12] local.INFO: Packet analysis {"connection_id":232462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:56:12] local.INFO: Extracted packet for processing {"connection_id":232462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cc"} 
[2026-11-04 09:56:12] local.INFO: GPS Element Parsed {"raw_longitude":755341696,"raw_latitude":117062552,"longitude_deg":75.5341696,"latitude_deg":11.7062552,"altitude":9,"angle":293,"satellites":45,"speed":9,"hex_longitude":"2d059980","hex_latitude":"06fa3b98","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204155136001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20409336698241024,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":404268465268545536,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793766235000,"timestamp_ms":1793766235000,"timestamp_seconds":1793766235,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cc9b78"} 
[2026-11-04 09:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 09:56: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-11-04 09: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-11-04 09:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204155136001,"66":28343,"13":206,"28":32256,"24":9,"16":20409336698241024,"45":404268465268545536},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,28,24,16,45]} 
[2026-11-04 09:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204155136001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:56:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 09:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20409336698241024,"km_value":20409336698241.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":404268465268545536,"description":"Unknown IO ID 45"} 
[2026-11-04 09:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204155136001,"power":28343,"unknown_13":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":404268465268545536}} 
[2026-11-04 09:56:12] local.INFO: TCP Data received {"connection_id":228832,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:56:12] local.INFO: Processing buffer {"connection_id":228832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:56:12] local.INFO: IMEI packet received {"connection_id":228832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":228832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":232462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:56:12] local.INFO: GPS data processed {"connection_id":232462,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:56:12] local.INFO: Acknowledgment sent {"connection_id":232462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:56:13] local.INFO: TCP Data received {"connection_id":228832,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:56:13] local.INFO: Processing buffer {"connection_id":228832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:56:13] local.INFO: Packet analysis {"connection_id":228832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:56:13] local.INFO: Extracted packet for processing {"connection_id":228832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":228832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:56:13] local.INFO: GPS data processed {"connection_id":228832,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:56:13] local.INFO: Acknowledgment sent {"connection_id":228832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:56:19] local.INFO: TCP Data received {"connection_id":232463,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:56:19] local.INFO: Processing buffer {"connection_id":232463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:56:19] local.INFO: IMEI packet received {"connection_id":232463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":232463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:56:24] local.INFO: TCP Data received {"connection_id":232463,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:56:24] local.INFO: Processing buffer {"connection_id":232463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:56:24] local.INFO: IMEI packet received {"connection_id":232463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":232463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:56:29] local.INFO: TCP Data received {"connection_id":232463,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cdc070012d050bc006fa7ff8001501112a..."} 
[2026-11-04 09:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cdc070012d050bc006fa7ff8001501112a..."} 
[2026-11-04 09:56:29] local.INFO: Processing buffer {"connection_id":232463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cdc070012d050bc006fa7ff8001501112a..."} 
[2026-11-04 09:56:29] local.INFO: Packet analysis {"connection_id":232463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cd"} 
[2026-11-04 09:56:29] local.INFO: Extracted packet for processing {"connection_id":232463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cd"} 
[2026-11-04 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":755305408,"raw_latitude":117080056,"longitude_deg":75.5305408,"latitude_deg":11.7080056,"altitude":21,"angle":273,"satellites":42,"speed":27,"hex_longitude":"2d050bc0","hex_latitude":"06fa7ff8","is_valid_coordinates":true} 
[2026-11-04 09:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204174336001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20411363922804736,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":366410080905400320,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:29] 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-11-04 09:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793766310000,"timestamp_ms":1793766310000,"timestamp_seconds":1793766310,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cdc070"} 
[2026-11-04 09:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 09:56:29] 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-11-04 09:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":232463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":232463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":232463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204174336001,"66":27995,"74":206,"28":32256,"24":27,"16":20411363922804736,"45":366410080905400320},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-11-04 09:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204174336001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:56:29] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-11-04 09:56:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20411363922804736,"km_value":20411363922804.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":366410080905400320,"description":"Unknown IO ID 45"} 
[2026-11-04 09:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204174336001,"power":27995,"unknown_74":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":366410080905400320}} 
[2026-11-04 09:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":232463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:56:29] local.INFO: GPS data processed {"connection_id":232463,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:56:29] local.INFO: Acknowledgment sent {"connection_id":232463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:56:45] local.INFO: TCP Data received {"connection_id":228832,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:56:45] local.INFO: Processing buffer {"connection_id":228832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:56:45] local.INFO: Packet analysis {"connection_id":228832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:56:45] local.INFO: Extracted packet for processing {"connection_id":228832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":228832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:56:45] local.INFO: GPS data processed {"connection_id":228832,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:56:45] local.INFO: Acknowledgment sent {"connection_id":228832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:57:07] local.INFO: TCP Data received {"connection_id":232464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:57:07] local.INFO: Processing buffer {"connection_id":232464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:57:07] local.INFO: IMEI packet received {"connection_id":232464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":232464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:57:10] local.INFO: TCP Data received {"connection_id":230614,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:10] local.INFO: Processing buffer {"connection_id":230614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:10] local.INFO: IMEI packet received {"connection_id":230614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":230614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:57:12] local.INFO: TCP Data received {"connection_id":232464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:57:12] local.INFO: Processing buffer {"connection_id":232464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:57:12] local.INFO: IMEI packet received {"connection_id":232464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":232464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:57:13] local.INFO: TCP Data received {"connection_id":232464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:57:13] local.INFO: Processing buffer {"connection_id":232464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:57:13] local.INFO: Packet analysis {"connection_id":232464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:57:13] local.INFO: Extracted packet for processing {"connection_id":232464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":232464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:57:13] local.INFO: GPS data processed {"connection_id":232464,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:57:13] local.INFO: Acknowledgment sent {"connection_id":232464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:57:14] local.INFO: TCP Data received {"connection_id":230614,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:14] local.INFO: Processing buffer {"connection_id":230614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:14] local.INFO: IMEI packet received {"connection_id":230614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":230614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:57:17] local.INFO: TCP Data received {"connection_id":230614,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:17] local.INFO: Processing buffer {"connection_id":230614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:57:17] local.INFO: IMEI packet received {"connection_id":230614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":230614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:57:18] local.INFO: TCP Data received {"connection_id":230614,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cee180012d043b8006fb4f00001c011e2b..."} 
[2026-11-04 09:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cee180012d043b8006fb4f00001c011e2b..."} 
[2026-11-04 09:57:18] local.INFO: Processing buffer {"connection_id":230614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cee180012d043b8006fb4f00001c011e2b..."} 
[2026-11-04 09:57:18] local.INFO: Packet analysis {"connection_id":230614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ce"} 
[2026-11-04 09:57:18] local.INFO: Extracted packet for processing {"connection_id":230614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ce"} 
[2026-11-04 09:57:18] local.INFO: GPS Element Parsed {"raw_longitude":755252096,"raw_latitude":117133056,"longitude_deg":75.5252096,"latitude_deg":11.7133056,"altitude":28,"angle":286,"satellites":43,"speed":42,"hex_longitude":"2d043b80","hex_latitude":"06fb4f00","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204192512001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20413434097041408,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":312226147901364224,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793766384000,"timestamp_ms":1793766384000,"timestamp_seconds":1793766384,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cee180"} 
[2026-11-04 09:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":26,"data_length":795,"current_offset":136} 
[2026-11-04 09:57: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-11-04 09: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-11-04 09:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204192512001,"66":28278,"189":206,"28":32256,"24":42,"16":20413434097041408,"45":312226147901364224},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-11-04 09:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204192512001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:57:18] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-11-04 09:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20413434097041408,"km_value":20413434097041.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":312226147901364224,"description":"Unknown IO ID 45"} 
[2026-11-04 09:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204192512001,"power":28278,"unknown_189":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":312226147901364224}} 
[2026-11-04 09:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":230614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:57:18] local.INFO: GPS data processed {"connection_id":230614,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:57:18] local.INFO: Acknowledgment sent {"connection_id":230614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:57:19] local.INFO: TCP Data received {"connection_id":230614,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cef508012d04260006fb56b8001c012f28..."} 
[2026-11-04 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cef508012d04260006fb56b8001c012f28..."} 
[2026-11-04 09:57:19] local.INFO: Processing buffer {"connection_id":230614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cef508012d04260006fb56b8001c012f28..."} 
[2026-11-04 09:57:19] local.INFO: Packet analysis {"connection_id":230614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ce"} 
[2026-11-04 09:57:19] local.INFO: Extracted packet for processing {"connection_id":230614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ce"} 
[2026-11-04 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":755246592,"raw_latitude":117135032,"longitude_deg":75.5246592,"latitude_deg":11.7135032,"altitude":28,"angle":303,"satellites":40,"speed":48,"hex_longitude":"2d042600","hex_latitude":"06fb56b8","is_valid_coordinates":true} 
[2026-11-04 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204194304001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20413713269915648,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":304978167252058112,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 09:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793766389000,"timestamp_ms":1793766389000,"timestamp_seconds":1793766389,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cef508"} 
[2026-11-04 09:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 09:57:19] 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-11-04 09:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204194304001,"66":28300,"189":206,"28":32256,"24":48,"16":20413713269915648,"45":304978167252058112},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,28,24,16,45]} 
[2026-11-04 09:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204194304001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:57:19] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-11-04 09:57:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20413713269915648,"km_value":20413713269915.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":304978167252058112,"description":"Unknown IO ID 45"} 
[2026-11-04 09:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204194304001,"power":28300,"unknown_189":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":304978167252058112}} 
[2026-11-04 09:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":230614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:57:19] local.INFO: GPS data processed {"connection_id":230614,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:57:19] local.INFO: Acknowledgment sent {"connection_id":230614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:57:45] local.INFO: TCP Data received {"connection_id":232464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:57:45] local.INFO: Processing buffer {"connection_id":232464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:57:45] local.INFO: Packet analysis {"connection_id":232464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:57:45] local.INFO: Extracted packet for processing {"connection_id":232464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":232464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:57:45] local.INFO: GPS data processed {"connection_id":232464,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:57:45] local.INFO: Acknowledgment sent {"connection_id":232464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:57:50] local.INFO: TCP Data received {"connection_id":230614,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cf00c0012d041ac006fb6078001b013b29..."} 
[2026-11-04 09:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cf00c0012d041ac006fb6078001b013b29..."} 
[2026-11-04 09:57:50] local.INFO: Processing buffer {"connection_id":230614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cf00c0012d041ac006fb6078001b013b29..."} 
[2026-11-04 09:57:50] local.INFO: Packet analysis {"connection_id":230614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:57:50] local.INFO: Extracted packet for processing {"connection_id":230614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:57:50] local.INFO: GPS Element Parsed {"raw_longitude":755243712,"raw_latitude":117137528,"longitude_deg":75.5243712,"latitude_deg":11.7137528,"altitude":27,"angle":315,"satellites":41,"speed":52,"hex_longitude":"2d041ac0","hex_latitude":"06fb6078","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204195584001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20413897953509376,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":298926455253284864,"note":"Value kept but may cause issues"} 
[2026-11-04 09:57:50] 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-11-04 09:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793766392000,"timestamp_ms":1793766392000,"timestamp_seconds":1793766392,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cf00c0"} 
[2026-11-04 09:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 09:57: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-11-04 09: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-11-04 09:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204195584001,"66":28126,"109":206,"28":32256,"24":52,"16":20413897953509376,"45":298926455253284864},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-11-04 09:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204195584001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:57:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-04 09:57:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20413897953509376,"km_value":20413897953509.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":298926455253284864,"description":"Unknown IO ID 45"} 
[2026-11-04 09:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204195584001,"power":28126,"unknown_109":206,"unknown_28":32256,"ignition":52,"odometer":null,"unknown_45":298926455253284864}} 
[2026-11-04 09:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":230614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:57:50] local.INFO: GPS data processed {"connection_id":230614,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:57:50] local.INFO: Acknowledgment sent {"connection_id":230614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:58:07] local.INFO: TCP Data received {"connection_id":232466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:58:07] local.INFO: Processing buffer {"connection_id":232466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:58:07] local.INFO: IMEI packet received {"connection_id":232466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":232466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:58:07] local.INFO: TCP Data received {"connection_id":232465,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:07] local.INFO: Processing buffer {"connection_id":232465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:07] local.INFO: IMEI packet received {"connection_id":232465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":232465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:58:09] local.INFO: TCP Data received {"connection_id":232465,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:09] local.INFO: Processing buffer {"connection_id":232465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:09] local.INFO: IMEI packet received {"connection_id":232465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":232465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:58:12] local.INFO: TCP Data received {"connection_id":232466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:58:12] local.INFO: Processing buffer {"connection_id":232466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:58:12] local.INFO: IMEI packet received {"connection_id":232466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":232466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:58:13] local.INFO: TCP Data received {"connection_id":232466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:58:13] local.INFO: Processing buffer {"connection_id":232466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:58:13] local.INFO: Packet analysis {"connection_id":232466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:58:13] local.INFO: Extracted packet for processing {"connection_id":232466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":232466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:58:13] local.INFO: GPS data processed {"connection_id":232466,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:58:13] local.INFO: Acknowledgment sent {"connection_id":232466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:58:14] local.INFO: TCP Data received {"connection_id":232465,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:14] local.INFO: Processing buffer {"connection_id":232465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:58:14] local.INFO: IMEI packet received {"connection_id":232465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":232465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:58:15] local.INFO: TCP Data received {"connection_id":232465,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cfbc40012d03738006fc1a58000701572c..."} 
[2026-11-04 09:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cfbc40012d03738006fc1a58000701572c..."} 
[2026-11-04 09:58:15] local.INFO: Processing buffer {"connection_id":232465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cfbc40012d03738006fc1a58000701572c..."} 
[2026-11-04 09:58:15] local.INFO: Packet analysis {"connection_id":232465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:58:15] local.INFO: Extracted packet for processing {"connection_id":232465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:58:15] local.INFO: GPS Element Parsed {"raw_longitude":755200896,"raw_latitude":117185112,"longitude_deg":75.5200896,"latitude_deg":11.7185112,"altitude":7,"angle":343,"satellites":44,"speed":57,"hex_longitude":"2d037380","hex_latitude":"06fc1a58","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204206848001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20417222258196480,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":249175753129895936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:15] 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-11-04 09:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793766440000,"timestamp_ms":1793766440000,"timestamp_seconds":1793766440,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cfbc40"} 
[2026-11-04 09:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 09:58:15] 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-11-04 09: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-11-04 09:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204206848001,"66":28234,"109":206,"28":32256,"24":57,"16":20417222258196480,"45":249175753129895936},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-11-04 09:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204206848001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:58:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-04 09:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20417222258196480,"km_value":20417222258196.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":249175753129895936,"description":"Unknown IO ID 45"} 
[2026-11-04 09:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204206848001,"power":28234,"unknown_109":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_45":249175753129895936}} 
[2026-11-04 09:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":232465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58630,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:58:15] local.INFO: GPS data processed {"connection_id":232465,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:58:15] local.INFO: Acknowledgment sent {"connection_id":232465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:58:44] local.INFO: TCP Data received {"connection_id":232466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:58:44] local.INFO: Processing buffer {"connection_id":232466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cbdc10012d34c30006aa43d0000b00902d..."} 
[2026-11-04 09:58:44] local.INFO: Packet analysis {"connection_id":232466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:58:44] local.INFO: Extracted packet for processing {"connection_id":232466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cb"} 
[2026-11-04 09:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204066560001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793766186000,"timestamp_ms":1793766186000,"timestamp_seconds":1793766186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cbdc10"} 
[2026-11-04 09:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-11-04 09:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 09: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-11-04 09:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204066560001,"66":25952,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204066560001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204066560001,"power":25952,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":232466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:58:44] local.INFO: GPS data processed {"connection_id":232466,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:58:44] local.INFO: Acknowledgment sent {"connection_id":232466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:58:47] local.INFO: TCP Data received {"connection_id":232465,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cfbc40012d03738006fc1a58000701572c..."} 
[2026-11-04 09:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cfbc40012d03738006fc1a58000701572c..."} 
[2026-11-04 09:58:47] local.INFO: Processing buffer {"connection_id":232465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cfbc40012d03738006fc1a58000701572c..."} 
[2026-11-04 09:58:47] local.INFO: Packet analysis {"connection_id":232465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:58:47] local.INFO: Extracted packet for processing {"connection_id":232465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:58:47] local.INFO: GPS Element Parsed {"raw_longitude":755200896,"raw_latitude":117185112,"longitude_deg":75.5200896,"latitude_deg":11.7185112,"altitude":7,"angle":343,"satellites":44,"speed":57,"hex_longitude":"2d037380","hex_latitude":"06fc1a58","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204208640001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20417222258196480,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":248683171923253248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:58:47] 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-11-04 09:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793766440000,"timestamp_ms":1793766440000,"timestamp_seconds":1793766440,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cfbc40"} 
[2026-11-04 09:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":74,"data_length":795,"current_offset":136} 
[2026-11-04 09:58: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-11-04 09: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-11-04 09:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204208640001,"66":28234,"109":206,"28":32256,"24":57,"16":20417222258196480,"45":248683171923253248},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-11-04 09:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204208640001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:58:47] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-04 09:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20417222258196480,"km_value":20417222258196.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":248683171923253248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204208640001,"power":28234,"unknown_109":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_45":248683171923253248}} 
[2026-11-04 09:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":232465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:58:47] local.INFO: GPS data processed {"connection_id":232465,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:58:47] local.INFO: Acknowledgment sent {"connection_id":232465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:59:07] local.INFO: TCP Data received {"connection_id":228834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:59:07] local.INFO: Processing buffer {"connection_id":228834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:59:07] local.INFO: IMEI packet received {"connection_id":228834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 09:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":228834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:59:10] local.INFO: TCP Data received {"connection_id":232467,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:10] local.INFO: Processing buffer {"connection_id":232467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:10] local.INFO: IMEI packet received {"connection_id":232467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 09:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":232467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 09:59:10] local.INFO: TCP Data received {"connection_id":232467,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:10] local.INFO: Processing buffer {"connection_id":232467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:10] local.INFO: IMEI packet received {"connection_id":232467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":232467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:59:12] local.INFO: TCP Data received {"connection_id":228834,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:59:12] local.INFO: Processing buffer {"connection_id":228834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 09:59:12] local.INFO: IMEI packet received {"connection_id":228834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 09:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":228834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:59:13] local.INFO: TCP Data received {"connection_id":228834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 09:59:13] local.INFO: Processing buffer {"connection_id":228834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 09:59:13] local.INFO: Packet analysis {"connection_id":228834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 09:59:13] local.INFO: Extracted packet for processing {"connection_id":228834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 09:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 09:59:13] 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-11-04 09: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-11-04 09:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":228834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:59:13] local.INFO: GPS data processed {"connection_id":228834,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:59:13] local.INFO: Acknowledgment sent {"connection_id":228834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:59:14] local.INFO: TCP Data received {"connection_id":232467,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:14] local.INFO: Processing buffer {"connection_id":232467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 09:59:14] local.INFO: IMEI packet received {"connection_id":232467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 09:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":232467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 09:59:16] local.INFO: TCP Data received {"connection_id":232467,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cfc410012d036e8006fc2438000801482b..."} 
[2026-11-04 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cfc410012d036e8006fc2438000801482b..."} 
[2026-11-04 09:59:17] local.INFO: Processing buffer {"connection_id":232467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cfc410012d036e8006fc2438000801482b..."} 
[2026-11-04 09:59:17] local.INFO: Packet analysis {"connection_id":232467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:59:17] local.INFO: Extracted packet for processing {"connection_id":232467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 09:59:17] local.INFO: GPS Element Parsed {"raw_longitude":755199616,"raw_latitude":117187640,"longitude_deg":75.5199616,"latitude_deg":11.718764,"altitude":8,"angle":328,"satellites":43,"speed":57,"hex_longitude":"2d036e80","hex_latitude":"06fc2438","is_valid_coordinates":true} 
[2026-11-04 09: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-11-04 09:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204208640001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20417359697149952,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":248683171923253248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:17] 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-11-04 09:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793766442000,"timestamp_ms":1793766442000,"timestamp_seconds":1793766442,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cfc410"} 
[2026-11-04 09:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 09:59:17] 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-11-04 09: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-11-04 09:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204208640001,"66":28256,"109":206,"28":32256,"24":57,"16":20417359697149952,"45":248683171923253248},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-11-04 09:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204208640001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:59:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-11-04 09:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20417359697149952,"km_value":20417359697149.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":248683171923253248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204208640001,"power":28256,"unknown_109":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_45":248683171923253248}} 
[2026-11-04 09:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":232467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:59:17] local.INFO: GPS data processed {"connection_id":232467,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:59:17] local.INFO: Acknowledgment sent {"connection_id":232467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:59:45] local.INFO: TCP Data received {"connection_id":228834,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 09:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 09:59:45] local.INFO: Processing buffer {"connection_id":228834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 09:59:45] local.INFO: Packet analysis {"connection_id":228834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 09:59:45] local.INFO: Extracted packet for processing {"connection_id":228834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 09:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 09:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 09:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 09:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 09:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 09:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 09:59:45] 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-11-04 09:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 09:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 09:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 09:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 09:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 09:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 09:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 09:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 09:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 09:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":228834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:59:45] local.INFO: GPS data processed {"connection_id":228834,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:59:45] local.INFO: Acknowledgment sent {"connection_id":228834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 09:59:48] local.INFO: TCP Data received {"connection_id":232467,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d10848012d02424006fd4380000601512e..."} 
[2026-11-04 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d10848012d02424006fd4380000601512e..."} 
[2026-11-04 09:59:48] local.INFO: Processing buffer {"connection_id":232467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d10848012d02424006fd4380000601512e..."} 
[2026-11-04 09:59:48] local.INFO: Packet analysis {"connection_id":232467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d1"} 
[2026-11-04 09:59:48] local.INFO: Extracted packet for processing {"connection_id":232467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d1"} 
[2026-11-04 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":755122752,"raw_latitude":117261184,"longitude_deg":75.5122752,"latitude_deg":11.7261184,"altitude":6,"angle":337,"satellites":46,"speed":58,"hex_longitude":"2d024240","hex_latitude":"06fd4380","is_valid_coordinates":true} 
[2026-11-04 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 09:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204228864001,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20422633916989440,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":167548009903890432,"note":"Value kept but may cause issues"} 
[2026-11-04 09:59:48] 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-11-04 09:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793766525000,"timestamp_ms":1793766525000,"timestamp_seconds":1793766525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d10848"} 
[2026-11-04 09:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 09:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 09:59:48] 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-11-04 09:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 09:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 09:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 09:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 09:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 09:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 09:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 09:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 09:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204228864001,"66":28300,"110":206,"28":32256,"24":58,"16":20422633916989440,"45":167548009903890432},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-11-04 09:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 09:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 09:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204228864001,"description":"Unknown IO ID 0"} 
[2026-11-04 09:59:48] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 09:59:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 09:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20422633916989440,"km_value":20422633916989.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 09:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":167548009903890432,"description":"Unknown IO ID 45"} 
[2026-11-04 09:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204228864001,"power":28300,"unknown_110":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":167548009903890432}} 
[2026-11-04 09:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":232467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 09:59:48] local.INFO: GPS data processed {"connection_id":232467,"processed":1,"errors":0,"total":1} 
[2026-11-04 09:59:48] local.INFO: Acknowledgment sent {"connection_id":232467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:00:07] local.INFO: TCP Data received {"connection_id":229322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:00:07] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:00:07] local.INFO: IMEI packet received {"connection_id":229322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":229322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:00:09] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:00:09] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:00:09] local.INFO: IMEI packet received {"connection_id":229323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":229323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:00:12] local.INFO: TCP Data received {"connection_id":229322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:00:12] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:00:12] local.INFO: IMEI packet received {"connection_id":229322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":229322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:00:13] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:00:13] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:00:13] local.INFO: IMEI packet received {"connection_id":229323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":229323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:00:13] local.INFO: TCP Data received {"connection_id":229322,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:00:13] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:00:13] local.INFO: Packet analysis {"connection_id":229322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:00:13] local.INFO: Extracted packet for processing {"connection_id":229322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:00:13] 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-11-04 10: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-11-04 10:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":229322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:00:13] local.INFO: GPS data processed {"connection_id":229322,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:00:13] local.INFO: Acknowledgment sent {"connection_id":229322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:00:14] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d123a0012d0232c006fd6828000501512c..."} 
[2026-11-04 10:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d123a0012d0232c006fd6828000501512c..."} 
[2026-11-04 10:00:14] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d123a0012d0232c006fd6828000501512c..."} 
[2026-11-04 10:00:14] local.INFO: Packet analysis {"connection_id":229323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d1"} 
[2026-11-04 10:00:14] local.INFO: Extracted packet for processing {"connection_id":229323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d1"} 
[2026-11-04 10:00:14] local.INFO: GPS Element Parsed {"raw_longitude":755118784,"raw_latitude":117270568,"longitude_deg":75.5118784,"latitude_deg":11.7270568,"altitude":5,"angle":337,"satellites":44,"speed":54,"hex_longitude":"2d0232c0","hex_latitude":"06fd6828","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204230400001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20423127838228480,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":162762935301799936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:14] 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-11-04 10:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793766532000,"timestamp_ms":1793766532000,"timestamp_seconds":1793766532,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d123a0"} 
[2026-11-04 10:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 10:00:14] 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-11-04 10: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-11-04 10:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204230400001,"66":28126,"110":206,"28":32256,"24":54,"16":20423127838228480,"45":162762935301799936},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-11-04 10:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204230400001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:00:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 10:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20423127838228480,"km_value":20423127838228.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":162762935301799936,"description":"Unknown IO ID 45"} 
[2026-11-04 10:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204230400001,"power":28126,"unknown_110":206,"unknown_28":32256,"ignition":54,"odometer":null,"unknown_45":162762935301799936}} 
[2026-11-04 10:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":229323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:00:14] local.INFO: GPS data processed {"connection_id":229323,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:00:14] local.INFO: Acknowledgment sent {"connection_id":229323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:00:44] local.INFO: TCP Data received {"connection_id":229322,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:00:44] local.INFO: Processing buffer {"connection_id":229322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:00:44] local.INFO: Packet analysis {"connection_id":229322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:00:44] local.INFO: Extracted packet for processing {"connection_id":229322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:00:44] 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-11-04 10: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-11-04 10:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:00:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":229322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:00:44] local.INFO: GPS data processed {"connection_id":229322,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:00:44] local.INFO: Acknowledgment sent {"connection_id":229322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:00:45] local.INFO: TCP Data received {"connection_id":229323,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d146c8012d02248006fd8ae00005015a2c..."} 
[2026-11-04 10:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d146c8012d02248006fd8ae00005015a2c..."} 
[2026-11-04 10:00:45] local.INFO: Processing buffer {"connection_id":229323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d146c8012d02248006fd8ae00005015a2c..."} 
[2026-11-04 10:00:45] local.INFO: Packet analysis {"connection_id":229323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d1"} 
[2026-11-04 10:00:45] local.INFO: Extracted packet for processing {"connection_id":229323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d1"} 
[2026-11-04 10:00:45] local.INFO: GPS Element Parsed {"raw_longitude":755115136,"raw_latitude":117279456,"longitude_deg":75.5115136,"latitude_deg":11.7279456,"altitude":5,"angle":346,"satellites":44,"speed":39,"hex_longitude":"2d022480","hex_latitude":"06fd8ae0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204232192001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20423591694696448,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":158400073165187072,"note":"Value kept but may cause issues"} 
[2026-11-04 10:00:45] 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-11-04 10:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766541000,"timestamp_ms":1793766541000,"timestamp_seconds":1793766541,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d146c8"} 
[2026-11-04 10:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 10:00:45] 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-11-04 10: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-11-04 10:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229323,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204232192001,"66":28224,"110":206,"28":32256,"24":39,"16":20423591694696448,"45":158400073165187072},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-11-04 10:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204232192001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:00:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 10:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20423591694696448,"km_value":20423591694696.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":158400073165187072,"description":"Unknown IO ID 45"} 
[2026-11-04 10:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204232192001,"power":28224,"unknown_110":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":158400073165187072}} 
[2026-11-04 10:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":229323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:00:46] local.INFO: GPS data processed {"connection_id":229323,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:00:46] local.INFO: Acknowledgment sent {"connection_id":229323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:00:58] local.INFO: TCP Data received {"connection_id":229324,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:00:58] local.INFO: Processing buffer {"connection_id":229324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:00:58] local.INFO: IMEI packet received {"connection_id":229324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":229324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:01:00] local.INFO: TCP Data received {"connection_id":229324,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4cffea8012d0b00800702bd20000c00ad22..."} 
[2026-11-04 10:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4cffea8012d0b00800702bd20000c00ad22..."} 
[2026-11-04 10:01:00] local.INFO: Processing buffer {"connection_id":229324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4cffea8012d0b00800702bd20000c00ad22..."} 
[2026-11-04 10:01:00] local.INFO: Packet analysis {"connection_id":229324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 10:01:00] local.INFO: Extracted packet for processing {"connection_id":229324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4cf"} 
[2026-11-04 10:01:00] local.INFO: GPS Element Parsed {"raw_longitude":755695744,"raw_latitude":117620000,"longitude_deg":75.5695744,"latitude_deg":11.762,"altitude":12,"angle":173,"satellites":34,"speed":14,"hex_longitude":"2d0b0080","hex_latitude":"0702bd20","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204212224001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239139043835904,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302016530432,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793766457000,"timestamp_ms":1793766457000,"timestamp_seconds":1793766457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4cffea8"} 
[2026-11-04 10:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:01: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-11-04 10:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 10:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 10:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 10:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204212224001,"66":14450,"17":206,"94":11008,"24":14,"16":39239139043835904,"45":792774302016530432},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 10:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 10:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 10:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204212224001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 10:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39239139043835904,"km_value":39239139043835.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302016530432,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204212224001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":792774302016530432}} 
[2026-11-04 10:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":229324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:00] local.INFO: GPS data processed {"connection_id":229324,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:00] local.INFO: Acknowledgment sent {"connection_id":229324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:01:09] local.INFO: TCP Data received {"connection_id":232469,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:09] local.INFO: Processing buffer {"connection_id":232469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:09] local.INFO: IMEI packet received {"connection_id":232469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":232469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:01:09] local.INFO: TCP Data received {"connection_id":232469,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:09] local.INFO: Processing buffer {"connection_id":232469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:09] local.INFO: IMEI packet received {"connection_id":232469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":232469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:01:12] local.INFO: TCP Data received {"connection_id":232468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:01:12] local.INFO: Processing buffer {"connection_id":232468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:01:12] local.INFO: IMEI packet received {"connection_id":232468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":232468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:01:12] local.INFO: TCP Data received {"connection_id":232469,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:12] local.INFO: Processing buffer {"connection_id":232469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:12] local.INFO: IMEI packet received {"connection_id":232469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":232469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:01:14] local.INFO: TCP Data received {"connection_id":232469,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:14] local.INFO: Processing buffer {"connection_id":232469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:01:14] local.INFO: IMEI packet received {"connection_id":232469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":232469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:01:15] local.INFO: TCP Data received {"connection_id":232469,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d27f48012d013f4006fe72b00005012f23..."} 
[2026-11-04 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d27f48012d013f4006fe72b00005012f23..."} 
[2026-11-04 10:01:15] local.INFO: Processing buffer {"connection_id":232469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d27f48012d013f4006fe72b00005012f23..."} 
[2026-11-04 10:01:15] local.INFO: Packet analysis {"connection_id":232469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:01:15] local.INFO: Extracted packet for processing {"connection_id":232469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:01:15] local.INFO: GPS Element Parsed {"raw_longitude":755056448,"raw_latitude":117338800,"longitude_deg":75.5056448,"latitude_deg":11.73388,"altitude":5,"angle":303,"satellites":35,"speed":42,"hex_longitude":"2d013f40","hex_latitude":"06fe72b0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204252416001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20427727748202496,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":98938484351209472,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:15] 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-11-04 10:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793766621000,"timestamp_ms":1793766621000,"timestamp_seconds":1793766621,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d27f48"} 
[2026-11-04 10:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 10:01:15] 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-11-04 10: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-11-04 10:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204252416001,"66":28332,"15":206,"28":32256,"24":42,"16":20427727748202496,"45":98938484351209472},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-11-04 10:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204252416001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 10:01:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20427727748202496,"km_value":20427727748202.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":98938484351209472,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204252416001,"power":28332,"unknown_15":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":98938484351209472}} 
[2026-11-04 10:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":232469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:15] local.INFO: GPS data processed {"connection_id":232469,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:15] local.INFO: Acknowledgment sent {"connection_id":232469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:01:16] local.INFO: TCP Data received {"connection_id":232469,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d2a658012d01210006fe86680007013128..."} 
[2026-11-04 10:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d2a658012d01210006fe86680007013128..."} 
[2026-11-04 10:01:16] local.INFO: Processing buffer {"connection_id":232469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d2a658012d01210006fe86680007013128..."} 
[2026-11-04 10:01:16] local.INFO: Packet analysis {"connection_id":232469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:01:16] local.INFO: Extracted packet for processing {"connection_id":232469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:01:16] local.INFO: GPS Element Parsed {"raw_longitude":755048704,"raw_latitude":117343848,"longitude_deg":75.5048704,"latitude_deg":11.7343848,"altitude":7,"angle":305,"satellites":40,"speed":38,"hex_longitude":"2d012100","hex_latitude":"06fe8668","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204254976001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20428174424801280,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":89860916353609728,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:16] 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-11-04 10:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793766631000,"timestamp_ms":1793766631000,"timestamp_seconds":1793766631,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d2a658"} 
[2026-11-04 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-11-04 10:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 10:01: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-11-04 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-11-04 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-11-04 10:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204254976001,"66":28278,"15":206,"28":32256,"24":38,"16":20428174424801280,"45":89860916353609728},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-11-04 10:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204254976001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:16] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 10:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20428174424801280,"km_value":20428174424801.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":89860916353609728,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204254976001,"power":28278,"unknown_15":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":89860916353609728}} 
[2026-11-04 10:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":232469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:16] local.INFO: GPS data processed {"connection_id":232469,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:16] local.INFO: Acknowledgment sent {"connection_id":232469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:01:17] local.INFO: TCP Data received {"connection_id":232468,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:01:17] local.INFO: Processing buffer {"connection_id":232468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:01:17] local.INFO: IMEI packet received {"connection_id":232468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":232468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:01:18] local.INFO: TCP Data received {"connection_id":232468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:01:18] local.INFO: Processing buffer {"connection_id":232468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:01:18] local.INFO: Packet analysis {"connection_id":232468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:18] local.INFO: Extracted packet for processing {"connection_id":232468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":232468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:18] local.INFO: GPS data processed {"connection_id":232468,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:18] local.INFO: Acknowledgment sent {"connection_id":232468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:01:22] local.INFO: TCP Data received {"connection_id":232468,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:01:22] local.INFO: Processing buffer {"connection_id":232468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:01:22] local.INFO: Packet analysis {"connection_id":232468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:22] local.INFO: Extracted packet for processing {"connection_id":232468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":232468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:22] local.INFO: GPS data processed {"connection_id":232468,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:22] local.INFO: Acknowledgment sent {"connection_id":232468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:01:47] local.INFO: TCP Data received {"connection_id":232469,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d2b210012d01184006fe8e000006013c2a..."} 
[2026-11-04 10:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d2b210012d01184006fe8e000006013c2a..."} 
[2026-11-04 10:01:47] local.INFO: Processing buffer {"connection_id":232469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d2b210012d01184006fe8e000006013c2a..."} 
[2026-11-04 10:01:47] local.INFO: Packet analysis {"connection_id":232469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:01:47] local.INFO: Extracted packet for processing {"connection_id":232469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:01:47] local.INFO: GPS Element Parsed {"raw_longitude":755046464,"raw_latitude":117345792,"longitude_deg":75.5046464,"latitude_deg":11.7345792,"altitude":6,"angle":316,"satellites":42,"speed":36,"hex_longitude":"2d011840","hex_latitude":"06fe8e00","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204257536001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20428311863754752,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":81346298309404672,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:47] 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-11-04 10:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793766634000,"timestamp_ms":1793766634000,"timestamp_seconds":1793766634,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d2b210"} 
[2026-11-04 10:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 10:01:47] 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-11-04 10: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-11-04 10:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204257536001,"66":28256,"15":206,"28":32256,"24":36,"16":20428311863754752,"45":81346298309404672},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-11-04 10:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204257536001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 10:01:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20428311863754752,"km_value":20428311863754.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":81346298309404672,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204257536001,"power":28256,"unknown_15":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":81346298309404672}} 
[2026-11-04 10:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":232469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:47] local.INFO: GPS data processed {"connection_id":232469,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:47] local.INFO: Acknowledgment sent {"connection_id":232469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:01:49] local.INFO: TCP Data received {"connection_id":229325,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:01:49] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:01:49] local.INFO: IMEI packet received {"connection_id":229325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 10:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":229325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:01:54] local.INFO: TCP Data received {"connection_id":229325,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:01:54] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:01:54] local.INFO: IMEI packet received {"connection_id":229325,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 10:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":229325,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:01:55] local.INFO: TCP Data received {"connection_id":229325,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d01618012d0b03000702b220000e009a23..."} 
[2026-11-04 10:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d01618012d0b03000702b220000e009a23..."} 
[2026-11-04 10:01:55] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d01618012d0b03000702b220000e009a23..."} 
[2026-11-04 10:01:55] local.INFO: Packet analysis {"connection_id":229325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:55] local.INFO: Extracted packet for processing {"connection_id":229325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:55] local.INFO: GPS Element Parsed {"raw_longitude":755696384,"raw_latitude":117617184,"longitude_deg":75.5696384,"latitude_deg":11.7617184,"altitude":14,"angle":154,"satellites":35,"speed":20,"hex_longitude":"2d0b0300","hex_latitude":"0702b220","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204212992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239280777756672,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792774302016282624,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793766463000,"timestamp_ms":1793766463000,"timestamp_seconds":1793766463,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d01618"} 
[2026-11-04 10:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:01: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-11-04 10: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 10:01:55] 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-11-04 10: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-11-04 10:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":229325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":229325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":229325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 10:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 10:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204212992001,"66":14407,"17":206,"94":11008,"24":20,"16":39239280777756672,"45":792774302016282624},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 10:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 10:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 10:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204212992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 10:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39239280777756672,"km_value":39239280777756.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":792774302016282624,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204212992001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":792774302016282624}} 
[2026-11-04 10:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":229325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:55] local.INFO: GPS data processed {"connection_id":229325,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:55] local.INFO: Acknowledgment sent {"connection_id":229325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:01:59] local.INFO: TCP Data received {"connection_id":229325,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d01de8012d0b05400702aef8000e008f22..."} 
[2026-11-04 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d01de8012d0b05400702aef8000e008f22..."} 
[2026-11-04 10:01:59] local.INFO: Processing buffer {"connection_id":229325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d01de8012d0b05400702aef8000e008f22..."} 
[2026-11-04 10:01:59] local.INFO: Packet analysis {"connection_id":229325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:59] local.INFO: Extracted packet for processing {"connection_id":229325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":755696960,"raw_latitude":117616376,"longitude_deg":75.569696,"latitude_deg":11.7616376,"altitude":14,"angle":143,"satellites":34,"speed":17,"hex_longitude":"2d0b0540","hex_latitude":"0702aef8","is_valid_coordinates":true} 
[2026-11-04 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204214528001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239328022396928,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793477989457338368,"note":"Value kept but may cause issues"} 
[2026-11-04 10:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793766465000,"timestamp_ms":1793766465000,"timestamp_seconds":1793766465,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d01de8"} 
[2026-11-04 10:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:01: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-11-04 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 10:01: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-11-04 10:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":229325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":229325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":229325,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 10:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 10:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204214528001,"66":14439,"17":206,"94":11008,"24":17,"16":39239328022396928,"45":793477989457338368},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 10:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 10:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 10:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204214528001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:01:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 10:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39239328022396928,"km_value":39239328022396.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":793477989457338368,"description":"Unknown IO ID 45"} 
[2026-11-04 10:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204214528001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":793477989457338368}} 
[2026-11-04 10:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":229325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:01:59] local.INFO: GPS data processed {"connection_id":229325,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:01:59] local.INFO: Acknowledgment sent {"connection_id":229325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:02:07] local.INFO: TCP Data received {"connection_id":228835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:02:07] local.INFO: Processing buffer {"connection_id":228835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:02:07] local.INFO: IMEI packet received {"connection_id":228835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":228835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:02:09] local.INFO: TCP Data received {"connection_id":230616,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:02:09] local.INFO: Processing buffer {"connection_id":230616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:02:09] local.INFO: IMEI packet received {"connection_id":230616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":230616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:02:12] local.INFO: TCP Data received {"connection_id":228835,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:02:12] local.INFO: Processing buffer {"connection_id":228835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:02:12] local.INFO: IMEI packet received {"connection_id":228835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":228835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:02:13] local.INFO: TCP Data received {"connection_id":228835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:02:13] local.INFO: Processing buffer {"connection_id":228835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:02:13] local.INFO: Packet analysis {"connection_id":228835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:02:13] local.INFO: Extracted packet for processing {"connection_id":228835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:02:13] 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-11-04 10: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-11-04 10:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":228835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:02:13] local.INFO: GPS data processed {"connection_id":228835,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:02:13] local.INFO: Acknowledgment sent {"connection_id":228835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:02:19] local.INFO: TCP Data received {"connection_id":230616,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:02:19] local.INFO: Processing buffer {"connection_id":230616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:02:19] local.INFO: IMEI packet received {"connection_id":230616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":230616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:02:21] local.INFO: TCP Data received {"connection_id":230616,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d2b9e0012d01128006fe92e00008012f2b..."} 
[2026-11-04 10:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d2b9e0012d01128006fe92e00008012f2b..."} 
[2026-11-04 10:02:21] local.INFO: Processing buffer {"connection_id":230616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d2b9e0012d01128006fe92e00008012f2b..."} 
[2026-11-04 10:02:21] local.INFO: Packet analysis {"connection_id":230616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:02:21] local.INFO: Extracted packet for processing {"connection_id":230616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d2"} 
[2026-11-04 10:02:21] local.INFO: GPS Element Parsed {"raw_longitude":755044992,"raw_latitude":117347040,"longitude_deg":75.5044992,"latitude_deg":11.734704,"altitude":8,"angle":303,"satellites":43,"speed":36,"hex_longitude":"2d011280","hex_latitude":"06fe92e0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204258304001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20428406353035264,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":78883392263684096,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02: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-11-04 10:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793766636000,"timestamp_ms":1793766636000,"timestamp_seconds":1793766636,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d2b9e0"} 
[2026-11-04 10:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:02:21] 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-11-04 10: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-11-04 10:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204258304001,"66":28234,"15":206,"28":32256,"24":36,"16":20428406353035264,"45":78883392263684096},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-11-04 10:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204258304001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:02:21] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 10:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20428406353035264,"km_value":20428406353035.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":78883392263684096,"description":"Unknown IO ID 45"} 
[2026-11-04 10:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204258304001,"power":28234,"unknown_15":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":78883392263684096}} 
[2026-11-04 10:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":230616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:02:21] local.INFO: GPS data processed {"connection_id":230616,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:02:21] local.INFO: Acknowledgment sent {"connection_id":230616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:02:43] local.INFO: TCP Data received {"connection_id":229326,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:02:43] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:02:43] local.INFO: IMEI packet received {"connection_id":229326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 10:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":229326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:02:44] local.INFO: TCP Data received {"connection_id":228835,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:02:44] local.INFO: Processing buffer {"connection_id":228835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:02:44] local.INFO: Packet analysis {"connection_id":228835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:02:44] local.INFO: Extracted packet for processing {"connection_id":228835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:02:44] 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-11-04 10: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-11-04 10:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":228835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:02:44] local.INFO: GPS data processed {"connection_id":228835,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:02:44] local.INFO: Acknowledgment sent {"connection_id":228835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:02:49] local.INFO: TCP Data received {"connection_id":229326,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:02:49] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:02:49] local.INFO: IMEI packet received {"connection_id":229326,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 10:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":229326,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:02:49] local.INFO: TCP Data received {"connection_id":229326,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d03558012d0b0cc00702a778000f008320..."} 
[2026-11-04 10:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d03558012d0b0cc00702a778000f008320..."} 
[2026-11-04 10:02:49] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d03558012d0b0cc00702a778000f008320..."} 
[2026-11-04 10:02:49] local.INFO: Packet analysis {"connection_id":229326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:02:49] local.INFO: Extracted packet for processing {"connection_id":229326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:02:49] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117614456,"longitude_deg":75.569888,"latitude_deg":11.7614456,"altitude":15,"angle":131,"satellites":32,"speed":22,"hex_longitude":"2d0b0cc0","hex_latitude":"0702a778","is_valid_coordinates":true} 
[2026-11-04 10:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204215040001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239456871415808,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794111308154730496,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793766471000,"timestamp_ms":1793766471000,"timestamp_seconds":1793766471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d03558"} 
[2026-11-04 10:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:02:49] 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-11-04 10:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 10:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 10:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 10:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204215040001,"66":14428,"17":206,"94":11008,"24":22,"16":39239456871415808,"45":794111308154730496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 10:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 10:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 10:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204215040001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:02:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 10:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39239456871415808,"km_value":39239456871415.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":794111308154730496,"description":"Unknown IO ID 45"} 
[2026-11-04 10:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204215040001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":794111308154730496}} 
[2026-11-04 10:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":229326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:02:49] local.INFO: GPS data processed {"connection_id":229326,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:02:49] local.INFO: Acknowledgment sent {"connection_id":229326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:02:53] local.INFO: TCP Data received {"connection_id":230616,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d3ea90012d006b0006ff38e8001b01602d..."} 
[2026-11-04 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d3ea90012d006b0006ff38e8001b01602d..."} 
[2026-11-04 10:02:53] local.INFO: Processing buffer {"connection_id":230616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d3ea90012d006b0006ff38e8001b01602d..."} 
[2026-11-04 10:02:53] local.INFO: Packet analysis {"connection_id":230616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d3"} 
[2026-11-04 10:02:53] local.INFO: Extracted packet for processing {"connection_id":230616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d3"} 
[2026-11-04 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":755002112,"raw_latitude":117389544,"longitude_deg":75.5002112,"latitude_deg":11.7389544,"altitude":27,"angle":352,"satellites":45,"speed":20,"hex_longitude":"2d006b00","hex_latitude":"06ff38e8","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204274944001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20431799377199104,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":31736333673572352,"note":"Value kept but may cause issues"} 
[2026-11-04 10:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793766714000,"timestamp_ms":1793766714000,"timestamp_seconds":1793766714,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d3ea90"} 
[2026-11-04 10:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 10:02:53] 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-11-04 10: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-11-04 10:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":230616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":230616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":230616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204274944001,"66":28267,"195":206,"28":32256,"24":20,"16":20431799377199104,"45":31736333673572352},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-11-04 10:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204274944001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:02:53] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 10:02:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20431799377199104,"km_value":20431799377199.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":31736333673572352,"description":"Unknown IO ID 45"} 
[2026-11-04 10:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204274944001,"power":28267,"unknown_195":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":31736333673572352}} 
[2026-11-04 10:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":230616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:02:53] local.INFO: GPS data processed {"connection_id":230616,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:02:53] local.INFO: Acknowledgment sent {"connection_id":230616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:03:07] local.INFO: TCP Data received {"connection_id":228836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:03:07] local.INFO: Processing buffer {"connection_id":228836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:03:07] local.INFO: IMEI packet received {"connection_id":228836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":228836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:03:09] local.INFO: TCP Data received {"connection_id":228837,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:09] local.INFO: Processing buffer {"connection_id":228837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:09] local.INFO: IMEI packet received {"connection_id":228837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":228837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:03:12] local.INFO: TCP Data received {"connection_id":228836,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:03:12] local.INFO: Processing buffer {"connection_id":228836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:03:12] local.INFO: IMEI packet received {"connection_id":228836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":228836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:03:13] local.INFO: TCP Data received {"connection_id":228837,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:13] local.INFO: Processing buffer {"connection_id":228837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:13] local.INFO: IMEI packet received {"connection_id":228837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":228837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:03:13] local.INFO: TCP Data received {"connection_id":228836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:03:13] local.INFO: Processing buffer {"connection_id":228836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:03:13] local.INFO: Packet analysis {"connection_id":228836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:03:13] local.INFO: Extracted packet for processing {"connection_id":228836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:03:13] 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-11-04 10: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-11-04 10:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":228836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:03:13] local.INFO: GPS data processed {"connection_id":228836,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:03:13] local.INFO: Acknowledgment sent {"connection_id":228836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:03:14] local.INFO: TCP Data received {"connection_id":228837,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:14] local.INFO: Processing buffer {"connection_id":228837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:03:14] local.INFO: IMEI packet received {"connection_id":228837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":228837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:03:15] local.INFO: TCP Data received {"connection_id":228837,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d42528012d00658006ff58d0001901542a..."} 
[2026-11-04 10:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d42528012d00658006ff58d0001901542a..."} 
[2026-11-04 10:03:15] local.INFO: Processing buffer {"connection_id":228837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d42528012d00658006ff58d0001901542a..."} 
[2026-11-04 10:03:15] local.INFO: Packet analysis {"connection_id":228837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:03:15] local.INFO: Extracted packet for processing {"connection_id":228837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:03:15] local.INFO: GPS Element Parsed {"raw_longitude":755000704,"raw_latitude":117397712,"longitude_deg":75.5000704,"latitude_deg":11.7397712,"altitude":25,"angle":340,"satellites":42,"speed":21,"hex_longitude":"2d006580","hex_latitude":"06ff58d0","is_valid_coordinates":true} 
[2026-11-04 10:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204278784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20432203104124928,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":30117852559763456,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793766729000,"timestamp_ms":1793766729000,"timestamp_seconds":1793766729,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d42528"} 
[2026-11-04 10:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 10:03:15] 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-11-04 10:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204278784001,"66":28224,"195":206,"28":32256,"24":21,"16":20432203104124928,"45":30117852559763456},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-11-04 10:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204278784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:03:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 10:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20432203104124928,"km_value":20432203104124.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":30117852559763456,"description":"Unknown IO ID 45"} 
[2026-11-04 10:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204278784001,"power":28224,"unknown_195":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":30117852559763456}} 
[2026-11-04 10:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":228837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:03:15] local.INFO: GPS data processed {"connection_id":228837,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:03:15] local.INFO: Acknowledgment sent {"connection_id":228837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:03:20] local.INFO: TCP Data received {"connection_id":228837,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d42cf8012d0063c006ff5c60001801462a..."} 
[2026-11-04 10:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d42cf8012d0063c006ff5c60001801462a..."} 
[2026-11-04 10:03:20] local.INFO: Processing buffer {"connection_id":228837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d42cf8012d0063c006ff5c60001801462a..."} 
[2026-11-04 10:03:20] local.INFO: Packet analysis {"connection_id":228837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:03:20] local.INFO: Extracted packet for processing {"connection_id":228837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:03:20] local.INFO: GPS Element Parsed {"raw_longitude":755000256,"raw_latitude":117398624,"longitude_deg":75.5000256,"latitude_deg":11.7398624,"altitude":24,"angle":326,"satellites":42,"speed":19,"hex_longitude":"2d0063c0","hex_latitude":"06ff5c60","is_valid_coordinates":true} 
[2026-11-04 10:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204282624001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20432254643732480,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":28569740189945856,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793766731000,"timestamp_ms":1793766731000,"timestamp_seconds":1793766731,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d42cf8"} 
[2026-11-04 10:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 10:03:20] 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-11-04 10:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204282624001,"66":28256,"195":206,"28":32256,"24":19,"16":20432254643732480,"45":28569740189945856},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-11-04 10:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204282624001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:03:20] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 10:03:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20432254643732480,"km_value":20432254643732.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":28569740189945856,"description":"Unknown IO ID 45"} 
[2026-11-04 10:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204282624001,"power":28256,"unknown_195":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":28569740189945856}} 
[2026-11-04 10:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":228837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:03:20] local.INFO: GPS data processed {"connection_id":228837,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:03:20] local.INFO: Acknowledgment sent {"connection_id":228837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:03:21] local.INFO: TCP Data received {"connection_id":229326,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d04110012d0b10400702a3480010009321..."} 
[2026-11-04 10:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d04110012d0b10400702a3480010009321..."} 
[2026-11-04 10:03:21] local.INFO: Processing buffer {"connection_id":229326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d04110012d0b10400702a3480010009321..."} 
[2026-11-04 10:03:21] local.INFO: Packet analysis {"connection_id":229326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:03:21] local.INFO: Extracted packet for processing {"connection_id":229326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:03:21] local.INFO: GPS Element Parsed {"raw_longitude":755699776,"raw_latitude":117613384,"longitude_deg":75.5699776,"latitude_deg":11.7613384,"altitude":16,"angle":147,"satellites":33,"speed":16,"hex_longitude":"2d0b1040","hex_latitude":"0702a348","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204216576001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239525590892544,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479568896,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793766474000,"timestamp_ms":1793766474000,"timestamp_seconds":1793766474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d04110"} 
[2026-11-04 10:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 10:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229326,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 10:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 10:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 10:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204216576001,"66":14298,"17":206,"94":11008,"24":16,"16":39239525590892544,"45":796222370479568896},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 10:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 10:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 10:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204216576001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:03:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 10:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39239525590892544,"km_value":39239525590892.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479568896,"description":"Unknown IO ID 45"} 
[2026-11-04 10:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204216576001,"power":14298,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":796222370479568896}} 
[2026-11-04 10:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":229326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:03:21] local.INFO: GPS data processed {"connection_id":229326,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:03:21] local.INFO: Acknowledgment sent {"connection_id":229326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:03:44] local.INFO: TCP Data received {"connection_id":232470,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232470,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:03:44] local.INFO: Processing buffer {"connection_id":232470,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 10:03:44] local.INFO: IMEI packet received {"connection_id":232470,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 10:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":232470,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:03:44] local.INFO: TCP Data received {"connection_id":228836,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:03:45] local.INFO: Processing buffer {"connection_id":228836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d073d8012d34c30006aa43d0000b00902e..."} 
[2026-11-04 10:03:45] local.INFO: Packet analysis {"connection_id":228836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:03:45] local.INFO: Extracted packet for processing {"connection_id":228836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d0"} 
[2026-11-04 10:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204143616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766487000,"timestamp_ms":1793766487000,"timestamp_seconds":1793766487,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d073d8"} 
[2026-11-04 10:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:03:45] 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-11-04 10: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-11-04 10:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204143616001,"66":25843,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204143616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204143616001,"power":25843,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":228836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:03:45] local.INFO: GPS data processed {"connection_id":228836,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:03:45] local.INFO: Acknowledgment sent {"connection_id":228836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:03:51] local.INFO: TCP Data received {"connection_id":228837,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d44850012d005b8006ff67c80013013a2c..."} 
[2026-11-04 10:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d44850012d005b8006ff67c80013013a2c..."} 
[2026-11-04 10:03:51] local.INFO: Processing buffer {"connection_id":228837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d44850012d005b8006ff67c80013013a2c..."} 
[2026-11-04 10:03:51] local.INFO: Packet analysis {"connection_id":228837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:03:51] local.INFO: Extracted packet for processing {"connection_id":228837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:03:51] local.INFO: GPS Element Parsed {"raw_longitude":754998144,"raw_latitude":117401544,"longitude_deg":75.4998144,"latitude_deg":11.7401544,"altitude":19,"angle":314,"satellites":44,"speed":17,"hex_longitude":"2d005b80","hex_latitude":"06ff67c8","is_valid_coordinates":true} 
[2026-11-04 10:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204283136001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20432426442424320,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":28077158980935680,"note":"Value kept but may cause issues"} 
[2026-11-04 10:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793766738000,"timestamp_ms":1793766738000,"timestamp_seconds":1793766738,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d44850"} 
[2026-11-04 10:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 10:03:51] 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-11-04 10:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204283136001,"66":28300,"195":206,"28":32256,"24":17,"16":20432426442424320,"45":28077158980935680},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-11-04 10:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204283136001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:03:51] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 10:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20432426442424320,"km_value":20432426442424.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":28077158980935680,"description":"Unknown IO ID 45"} 
[2026-11-04 10:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204283136001,"power":28300,"unknown_195":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":28077158980935680}} 
[2026-11-04 10:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":228837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:03:52] local.INFO: GPS data processed {"connection_id":228837,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:03:52] local.INFO: Acknowledgment sent {"connection_id":228837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:04:07] local.INFO: TCP Data received {"connection_id":229327,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:04:07] local.INFO: Processing buffer {"connection_id":229327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:04:07] local.INFO: IMEI packet received {"connection_id":229327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":229327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:04:09] local.INFO: TCP Data received {"connection_id":228838,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:04:09] local.INFO: Processing buffer {"connection_id":228838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:04:09] local.INFO: IMEI packet received {"connection_id":228838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":228838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:04:12] local.INFO: TCP Data received {"connection_id":229327,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:04:12] local.INFO: Processing buffer {"connection_id":229327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:04:12] local.INFO: IMEI packet received {"connection_id":229327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":229327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:04:14] local.INFO: TCP Data received {"connection_id":229327,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:04:14] local.INFO: Processing buffer {"connection_id":229327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:04:14] local.INFO: Packet analysis {"connection_id":229327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:04:14] local.INFO: Extracted packet for processing {"connection_id":229327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:04:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":229327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:04:14] local.INFO: GPS data processed {"connection_id":229327,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:04:14] local.INFO: Acknowledgment sent {"connection_id":229327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:04:14] local.INFO: TCP Data received {"connection_id":228838,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:04:14] local.INFO: Processing buffer {"connection_id":228838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:04:14] local.INFO: IMEI packet received {"connection_id":228838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":228838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:04:15] local.INFO: TCP Data received {"connection_id":228838,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d486d0012d003f8006ff80a0000d01332c..."} 
[2026-11-04 10:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d486d0012d003f8006ff80a0000d01332c..."} 
[2026-11-04 10:04:15] local.INFO: Processing buffer {"connection_id":228838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d486d0012d003f8006ff80a0000d01332c..."} 
[2026-11-04 10:04:15] local.INFO: Packet analysis {"connection_id":228838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:04:15] local.INFO: Extracted packet for processing {"connection_id":228838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:04:15] local.INFO: GPS Element Parsed {"raw_longitude":754990976,"raw_latitude":117407904,"longitude_deg":75.4990976,"latitude_deg":11.7407904,"altitude":13,"angle":307,"satellites":44,"speed":33,"hex_longitude":"2d003f80","hex_latitude":"06ff80a0","is_valid_coordinates":true} 
[2026-11-04 10:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204284928001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20432886003924992,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":25754990423820288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793766754000,"timestamp_ms":1793766754000,"timestamp_seconds":1793766754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d486d0"} 
[2026-11-04 10:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 10:04: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-11-04 10:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204284928001,"66":28376,"195":206,"28":32256,"24":33,"16":20432886003924992,"45":25754990423820288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-11-04 10:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204284928001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:04:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 10:04:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20432886003924992,"km_value":20432886003924.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":25754990423820288,"description":"Unknown IO ID 45"} 
[2026-11-04 10:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204284928001,"power":28376,"unknown_195":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":25754990423820288}} 
[2026-11-04 10:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":228838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:04:16] local.INFO: GPS data processed {"connection_id":228838,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:04:16] local.INFO: Acknowledgment sent {"connection_id":228838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:04:45] local.INFO: TCP Data received {"connection_id":229327,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:04:45] local.INFO: Processing buffer {"connection_id":229327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:04:45] local.INFO: Packet analysis {"connection_id":229327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:04:45] local.INFO: Extracted packet for processing {"connection_id":229327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":229327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:04:45] local.INFO: GPS data processed {"connection_id":229327,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:04:45] local.INFO: Acknowledgment sent {"connection_id":229327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:04:49] local.INFO: TCP Data received {"connection_id":228838,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d4a610012d0025c006ff92c8000d01262a..."} 
[2026-11-04 10:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d4a610012d0025c006ff92c8000d01262a..."} 
[2026-11-04 10:04:49] local.INFO: Processing buffer {"connection_id":228838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d4a610012d0025c006ff92c8000d01262a..."} 
[2026-11-04 10:04:49] local.INFO: Packet analysis {"connection_id":228838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:04:49] local.INFO: Extracted packet for processing {"connection_id":228838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:04:49] local.INFO: GPS Element Parsed {"raw_longitude":754984384,"raw_latitude":117412552,"longitude_deg":75.4984384,"latitude_deg":11.7412552,"altitude":13,"angle":294,"satellites":42,"speed":43,"hex_longitude":"2d0025c0","hex_latitude":"06ff92c8","is_valid_coordinates":true} 
[2026-11-04 10:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204289024001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20433272550981632,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":17873691077550080,"note":"Value kept but may cause issues"} 
[2026-11-04 10:04: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-11-04 10:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793766762000,"timestamp_ms":1793766762000,"timestamp_seconds":1793766762,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d4a610"} 
[2026-11-04 10:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:04: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-11-04 10:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204289024001,"66":28278,"196":206,"28":32256,"24":43,"16":20433272550981632,"45":17873691077550080},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-11-04 10:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204289024001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:04:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 10:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20433272550981632,"km_value":20433272550981.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":17873691077550080,"description":"Unknown IO ID 45"} 
[2026-11-04 10:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204289024001,"power":28278,"unknown_196":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":17873691077550080}} 
[2026-11-04 10:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":228838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:04:49] local.INFO: GPS data processed {"connection_id":228838,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:04:49] local.INFO: Acknowledgment sent {"connection_id":228838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:05:12] local.INFO: TCP Data received {"connection_id":232471,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:05:12] local.INFO: Processing buffer {"connection_id":232471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:05:12] local.INFO: IMEI packet received {"connection_id":232471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":232471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:05:14] local.INFO: TCP Data received {"connection_id":230617,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:05:14] local.INFO: Processing buffer {"connection_id":230617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:05:14] local.INFO: IMEI packet received {"connection_id":230617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":230617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:05:17] local.INFO: TCP Data received {"connection_id":232471,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:05:17] local.INFO: Processing buffer {"connection_id":232471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:05:17] local.INFO: IMEI packet received {"connection_id":232471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":232471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:05:18] local.INFO: TCP Data received {"connection_id":232471,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:05:18] local.INFO: Processing buffer {"connection_id":232471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:05:18] local.INFO: Packet analysis {"connection_id":232471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:05:18] local.INFO: Extracted packet for processing {"connection_id":232471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:05:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 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-11-04 10:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 10:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":232471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:05:18] local.INFO: GPS data processed {"connection_id":232471,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:05:18] local.INFO: Acknowledgment sent {"connection_id":232471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:05:19] local.INFO: TCP Data received {"connection_id":230617,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:05:19] local.INFO: Processing buffer {"connection_id":230617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:05:19] local.INFO: IMEI packet received {"connection_id":230617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":230617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:05:21] local.INFO: TCP Data received {"connection_id":230617,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d4bd80012d000e0006ff9d90000e013129..."} 
[2026-11-04 10:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d4bd80012d000e0006ff9d90000e013129..."} 
[2026-11-04 10:05:21] local.INFO: Processing buffer {"connection_id":230617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d4bd80012d000e0006ff9d90000e013129..."} 
[2026-11-04 10:05:21] local.INFO: Packet analysis {"connection_id":230617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:05:21] local.INFO: Extracted packet for processing {"connection_id":230617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:05:21] local.INFO: GPS Element Parsed {"raw_longitude":754978304,"raw_latitude":117415312,"longitude_deg":75.4978304,"latitude_deg":11.7415312,"altitude":14,"angle":305,"satellites":41,"speed":44,"hex_longitude":"2d000e00","hex_latitude":"06ff9d90","is_valid_coordinates":true} 
[2026-11-04 10:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204291072001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20433590378561536,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":10625710428440576,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:21] 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-11-04 10:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793766768000,"timestamp_ms":1793766768000,"timestamp_seconds":1793766768,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d4bd80"} 
[2026-11-04 10:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 10:05:21] 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-11-04 10:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204291072001,"66":28300,"196":206,"28":32256,"24":44,"16":20433590378561536,"45":10625710428440576},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-11-04 10:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204291072001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:05:21] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 10:05:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20433590378561536,"km_value":20433590378561.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":10625710428440576,"description":"Unknown IO ID 45"} 
[2026-11-04 10:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204291072001,"power":28300,"unknown_196":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":10625710428440576}} 
[2026-11-04 10:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":230617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:05:21] local.INFO: GPS data processed {"connection_id":230617,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:05:21] local.INFO: Acknowledgment sent {"connection_id":230617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:05:23] local.INFO: TCP Data received {"connection_id":232471,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:05:23] local.INFO: Processing buffer {"connection_id":232471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:05:23] local.INFO: Packet analysis {"connection_id":232471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:05:23] local.INFO: Extracted packet for processing {"connection_id":232471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":232471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:05:23] local.INFO: GPS data processed {"connection_id":232471,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:05:23] local.INFO: Acknowledgment sent {"connection_id":232471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:05:24] local.INFO: TCP Data received {"connection_id":230617,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d4e0a8012cfff18006ffb590000e012f27..."} 
[2026-11-04 10:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d4e0a8012cfff18006ffb590000e012f27..."} 
[2026-11-04 10:05:24] local.INFO: Processing buffer {"connection_id":230617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d4e0a8012cfff18006ffb590000e012f27..."} 
[2026-11-04 10:05:24] local.INFO: Packet analysis {"connection_id":230617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:05:24] local.INFO: Extracted packet for processing {"connection_id":230617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d4"} 
[2026-11-04 10:05:24] local.INFO: GPS Element Parsed {"raw_longitude":754971008,"raw_latitude":117421456,"longitude_deg":75.4971008,"latitude_deg":11.7421456,"altitude":14,"angle":303,"satellites":39,"speed":42,"hex_longitude":"2cfff180","hex_latitude":"06ffb590","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204292608001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20434049940062208,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3940679732269056,"note":"Value kept but may cause issues"} 
[2026-11-04 10:05:24] 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-11-04 10:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793766777000,"timestamp_ms":1793766777000,"timestamp_seconds":1793766777,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d4e0a8"} 
[2026-11-04 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-11-04 10:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 10:05:24] 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-11-04 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-11-04 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-11-04 10:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204292608001,"66":28354,"196":206,"28":32256,"24":42,"16":20434049940062208,"45":3940679732269056},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-11-04 10:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204292608001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:05:24] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-11-04 10:05:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20434049940062208,"km_value":20434049940062.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3940679732269056,"description":"Unknown IO ID 45"} 
[2026-11-04 10:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204292608001,"power":28354,"unknown_196":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":3940679732269056}} 
[2026-11-04 10:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":230617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:05:24] local.INFO: GPS data processed {"connection_id":230617,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:05:24] local.INFO: Acknowledgment sent {"connection_id":230617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:06:07] local.INFO: TCP Data received {"connection_id":230618,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:06:07] local.INFO: Processing buffer {"connection_id":230618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:06:07] local.INFO: IMEI packet received {"connection_id":230618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":230618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:06:09] local.INFO: TCP Data received {"connection_id":230619,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:06:09] local.INFO: Processing buffer {"connection_id":230619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:06:09] local.INFO: IMEI packet received {"connection_id":230619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":230619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:06:12] local.INFO: TCP Data received {"connection_id":230618,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:06:12] local.INFO: Processing buffer {"connection_id":230618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:06:12] local.INFO: IMEI packet received {"connection_id":230618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":230618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:06:13] local.INFO: TCP Data received {"connection_id":230618,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:06:13] local.INFO: Processing buffer {"connection_id":230618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:06:13] local.INFO: Packet analysis {"connection_id":230618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:06:13] local.INFO: Extracted packet for processing {"connection_id":230618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":230618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:06:13] local.INFO: GPS data processed {"connection_id":230618,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:06:13] local.INFO: Acknowledgment sent {"connection_id":230618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:06:14] local.INFO: TCP Data received {"connection_id":230619,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:06:14] local.INFO: Processing buffer {"connection_id":230619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:06:14] local.INFO: IMEI packet received {"connection_id":230619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":230619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:06:15] local.INFO: TCP Data received {"connection_id":230619,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d67eb8012cff2080070032e00009013f2c..."} 
[2026-11-04 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d67eb8012cff2080070032e00009013f2c..."} 
[2026-11-04 10:06:15] local.INFO: Processing buffer {"connection_id":230619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d67eb8012cff2080070032e00009013f2c..."} 
[2026-11-04 10:06:15] local.INFO: Packet analysis {"connection_id":230619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d6"} 
[2026-11-04 10:06:15] local.INFO: Extracted packet for processing {"connection_id":230619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d6"} 
[2026-11-04 10:06:15] local.INFO: GPS Element Parsed {"raw_longitude":754917504,"raw_latitude":117453536,"longitude_deg":75.4917504,"latitude_deg":11.7453536,"altitude":9,"angle":319,"satellites":44,"speed":26,"hex_longitude":"2cff2080","hex_latitude":"070032e0","is_valid_coordinates":true} 
[2026-11-04 10:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204316928001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20437107956776960,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-56154227787505664,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793766883000,"timestamp_ms":1793766883000,"timestamp_seconds":1793766883,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d67eb8"} 
[2026-11-04 10:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 10:06:15] 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-11-04 10:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204316928001,"66":28267,"33":206,"28":32256,"24":26,"16":20437107956776960,"44":-56154227787505664},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204316928001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20437107956776960,"km_value":20437107956776.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-56154227787505664,"description":"Unknown IO ID 44"} 
[2026-11-04 10:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204316928001,"power":28267,"unknown_33":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_44":-56154227787505664}} 
[2026-11-04 10:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":230619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:06:15] local.INFO: GPS data processed {"connection_id":230619,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:06:15] local.INFO: Acknowledgment sent {"connection_id":230619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:06:44] local.INFO: TCP Data received {"connection_id":230618,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:06:44] local.INFO: Processing buffer {"connection_id":230618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:06:44] local.INFO: Packet analysis {"connection_id":230618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:06:44] local.INFO: Extracted packet for processing {"connection_id":230618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:06:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":230618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:06:44] local.INFO: GPS data processed {"connection_id":230618,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:06:44] local.INFO: Acknowledgment sent {"connection_id":230618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:06:47] local.INFO: TCP Data received {"connection_id":230619,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d6b568012cff08c007004d80000a013629..."} 
[2026-11-04 10:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d6b568012cff08c007004d80000a013629..."} 
[2026-11-04 10:06:47] local.INFO: Processing buffer {"connection_id":230619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d6b568012cff08c007004d80000a013629..."} 
[2026-11-04 10:06:47] local.INFO: Packet analysis {"connection_id":230619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d6"} 
[2026-11-04 10:06:47] local.INFO: Extracted packet for processing {"connection_id":230619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d6"} 
[2026-11-04 10:06:47] local.INFO: GPS Element Parsed {"raw_longitude":754911424,"raw_latitude":117460352,"longitude_deg":75.4911424,"latitude_deg":11.7460352,"altitude":10,"angle":310,"satellites":41,"speed":8,"hex_longitude":"2cff08c0","hex_latitude":"07004d80","is_valid_coordinates":true} 
[2026-11-04 10:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204322048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20437546043441152,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-62909627226726400,"note":"Value kept but may cause issues"} 
[2026-11-04 10:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793766897000,"timestamp_ms":1793766897000,"timestamp_seconds":1793766897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d6b568"} 
[2026-11-04 10:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 10:06: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-11-04 10:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204322048001,"66":28354,"33":206,"28":32256,"24":8,"16":20437546043441152,"44":-62909627226726400},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204322048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:06:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20437546043441152,"km_value":20437546043441.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-62909627226726400,"description":"Unknown IO ID 44"} 
[2026-11-04 10:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204322048001,"power":28354,"unknown_33":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_44":-62909627226726400}} 
[2026-11-04 10:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":230619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:06:47] local.INFO: GPS data processed {"connection_id":230619,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:06:47] local.INFO: Acknowledgment sent {"connection_id":230619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:07:07] local.INFO: TCP Data received {"connection_id":229328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:07:07] local.INFO: Processing buffer {"connection_id":229328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:07:07] local.INFO: IMEI packet received {"connection_id":229328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":229328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:07:09] local.INFO: TCP Data received {"connection_id":229329,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:07:09] local.INFO: Processing buffer {"connection_id":229329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:07:09] local.INFO: IMEI packet received {"connection_id":229329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":229329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:07:12] local.INFO: TCP Data received {"connection_id":229328,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:07:12] local.INFO: Processing buffer {"connection_id":229328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:07:12] local.INFO: IMEI packet received {"connection_id":229328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":229328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:07:13] local.INFO: TCP Data received {"connection_id":229329,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:07:13] local.INFO: Processing buffer {"connection_id":229329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:07:13] local.INFO: IMEI packet received {"connection_id":229329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":229329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:07:13] local.INFO: TCP Data received {"connection_id":229328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:07:13] local.INFO: Processing buffer {"connection_id":229328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:07:13] local.INFO: Packet analysis {"connection_id":229328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:07:13] local.INFO: Extracted packet for processing {"connection_id":229328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":229328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:07:13] local.INFO: GPS data processed {"connection_id":229328,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:07:13] local.INFO: Acknowledgment sent {"connection_id":229328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:07:14] local.INFO: TCP Data received {"connection_id":229329,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d70770012cff084007004ea0000a013629..."} 
[2026-11-04 10:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d70770012cff084007004ea0000a013629..."} 
[2026-11-04 10:07:14] local.INFO: Processing buffer {"connection_id":229329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d70770012cff084007004ea0000a013629..."} 
[2026-11-04 10:07:14] local.INFO: Packet analysis {"connection_id":229329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d7"} 
[2026-11-04 10:07:14] local.INFO: Extracted packet for processing {"connection_id":229329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d7"} 
[2026-11-04 10:07:14] local.INFO: GPS Element Parsed {"raw_longitude":754911296,"raw_latitude":117460640,"longitude_deg":75.4911296,"latitude_deg":11.746064,"altitude":10,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2cff0840","hex_latitude":"07004ea0","is_valid_coordinates":true} 
[2026-11-04 10:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204325632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20437563223310336,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-69594657921859584,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793766918000,"timestamp_ms":1793766918000,"timestamp_seconds":1793766918,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d70770"} 
[2026-11-04 10:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 10:07: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-11-04 10:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204325632001,"66":28234,"33":206,"28":32256,"24":0,"16":20437563223310336,"44":-69594657921859584},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204325632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:07:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20437563223310336,"km_value":20437563223310.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:07:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-69594657921859584,"description":"Unknown IO ID 44"} 
[2026-11-04 10:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204325632001,"power":28234,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-69594657921859584}} 
[2026-11-04 10:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":229329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:07:14] local.INFO: GPS data processed {"connection_id":229329,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:07:14] local.INFO: Acknowledgment sent {"connection_id":229329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:07:45] local.INFO: TCP Data received {"connection_id":229328,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:07:45] local.INFO: Processing buffer {"connection_id":229328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:07:45] local.INFO: Packet analysis {"connection_id":229328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:07:45] local.INFO: Extracted packet for processing {"connection_id":229328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":229328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:07:45] local.INFO: GPS data processed {"connection_id":229328,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:07:45] local.INFO: Acknowledgment sent {"connection_id":229328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:07:45] local.INFO: TCP Data received {"connection_id":229329,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d75978012cff084007004ea0000a013629..."} 
[2026-11-04 10:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d75978012cff084007004ea0000a013629..."} 
[2026-11-04 10:07:45] local.INFO: Processing buffer {"connection_id":229329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d75978012cff084007004ea0000a013629..."} 
[2026-11-04 10:07:45] local.INFO: Packet analysis {"connection_id":229329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d7"} 
[2026-11-04 10:07:45] local.INFO: Extracted packet for processing {"connection_id":229329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d7"} 
[2026-11-04 10:07:45] local.INFO: GPS Element Parsed {"raw_longitude":754911296,"raw_latitude":117460640,"longitude_deg":75.4911296,"latitude_deg":11.746064,"altitude":10,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2cff0840","hex_latitude":"07004ea0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204331008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20437563223310336,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-69735395410141184,"note":"Value kept but may cause issues"} 
[2026-11-04 10:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793766939000,"timestamp_ms":1793766939000,"timestamp_seconds":1793766939,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d75978"} 
[2026-11-04 10:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":74,"data_length":795,"current_offset":136} 
[2026-11-04 10:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204331008001,"66":27887,"33":206,"28":32256,"24":0,"16":20437563223310336,"44":-69735395410141184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204331008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:07:45] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20437563223310336,"km_value":20437563223310.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:07:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-69735395410141184,"description":"Unknown IO ID 44"} 
[2026-11-04 10:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204331008001,"power":27887,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-69735395410141184}} 
[2026-11-04 10:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":229329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:07:45] local.INFO: GPS data processed {"connection_id":229329,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:07:45] local.INFO: Acknowledgment sent {"connection_id":229329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:08:07] local.INFO: TCP Data received {"connection_id":229330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:08:07] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:08:07] local.INFO: IMEI packet received {"connection_id":229330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":229330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:08:09] local.INFO: TCP Data received {"connection_id":230620,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:09] local.INFO: Processing buffer {"connection_id":230620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:09] local.INFO: IMEI packet received {"connection_id":230620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":230620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:08:10] local.INFO: TCP Data received {"connection_id":230620,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:10] local.INFO: Processing buffer {"connection_id":230620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:10] local.INFO: IMEI packet received {"connection_id":230620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":230620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:08:11] local.INFO: TCP Data received {"connection_id":230620,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:11] local.INFO: Processing buffer {"connection_id":230620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:11] local.INFO: IMEI packet received {"connection_id":230620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":230620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:08:12] local.INFO: TCP Data received {"connection_id":229330,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:08:12] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:08:12] local.INFO: IMEI packet received {"connection_id":229330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":229330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:08:12] local.INFO: TCP Data received {"connection_id":230620,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:12] local.INFO: Processing buffer {"connection_id":230620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:08:12] local.INFO: IMEI packet received {"connection_id":230620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":230620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:08:13] local.INFO: TCP Data received {"connection_id":229330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:08:13] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:08:13] local.INFO: Packet analysis {"connection_id":229330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:08:13] local.INFO: Extracted packet for processing {"connection_id":229330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":229330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:08:13] local.INFO: GPS data processed {"connection_id":229330,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:08:13] local.INFO: Acknowledgment sent {"connection_id":229330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:08:14] local.INFO: TCP Data received {"connection_id":230620,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d7ab80012cff084007004ea0000a013629..."} 
[2026-11-04 10:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d7ab80012cff084007004ea0000a013629..."} 
[2026-11-04 10:08:14] local.INFO: Processing buffer {"connection_id":230620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d7ab80012cff084007004ea0000a013629..."} 
[2026-11-04 10:08:14] local.INFO: Packet analysis {"connection_id":230620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d7"} 
[2026-11-04 10:08:14] local.INFO: Extracted packet for processing {"connection_id":230620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d7"} 
[2026-11-04 10:08:14] local.INFO: GPS Element Parsed {"raw_longitude":754911296,"raw_latitude":117460640,"longitude_deg":75.4911296,"latitude_deg":11.746064,"altitude":10,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2cff0840","hex_latitude":"07004ea0","is_valid_coordinates":true} 
[2026-11-04 10:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204336384001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20437563223310336,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-69735395410141184,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793766960000,"timestamp_ms":1793766960000,"timestamp_seconds":1793766960,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d7ab80"} 
[2026-11-04 10:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 10:08: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-11-04 10:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204336384001,"66":28104,"33":206,"28":32256,"24":0,"16":20437563223310336,"44":-69735395410141184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204336384001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:08:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20437563223310336,"km_value":20437563223310.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:08:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-69735395410141184,"description":"Unknown IO ID 44"} 
[2026-11-04 10:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204336384001,"power":28104,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-69735395410141184}} 
[2026-11-04 10:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":230620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:08:14] local.INFO: GPS data processed {"connection_id":230620,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:08:14] local.INFO: Acknowledgment sent {"connection_id":230620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:08:44] local.INFO: TCP Data received {"connection_id":229330,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:08:44] local.INFO: Processing buffer {"connection_id":229330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d50ba0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:08:44] local.INFO: Packet analysis {"connection_id":229330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:08:44] local.INFO: Extracted packet for processing {"connection_id":229330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d5"} 
[2026-11-04 10:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204220672001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793766788000,"timestamp_ms":1793766788000,"timestamp_seconds":1793766788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d50ba0"} 
[2026-11-04 10:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-11-04 10:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204220672001,"66":25734,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204220672001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:08:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204220672001,"power":25734,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":229330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:08:44] local.INFO: GPS data processed {"connection_id":229330,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:08:44] local.INFO: Acknowledgment sent {"connection_id":229330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:08:45] local.INFO: TCP Data received {"connection_id":230620,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d93608012cfeffc007003dc0000801412b..."} 
[2026-11-04 10:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d93608012cfeffc007003dc0000801412b..."} 
[2026-11-04 10:08:45] local.INFO: Processing buffer {"connection_id":230620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d93608012cfeffc007003dc0000801412b..."} 
[2026-11-04 10:08:45] local.INFO: Packet analysis {"connection_id":230620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:08:45] local.INFO: Extracted packet for processing {"connection_id":230620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:08:45] local.INFO: GPS Element Parsed {"raw_longitude":754909120,"raw_latitude":117456320,"longitude_deg":75.490912,"latitude_deg":11.745632,"altitude":8,"angle":321,"satellites":43,"speed":9,"hex_longitude":"2cfeffc0","hex_latitude":"07003dc0","is_valid_coordinates":true} 
[2026-11-04 10:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204367104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20437919705595904,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71846457736656896,"note":"Value kept but may cause issues"} 
[2026-11-04 10:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767061000,"timestamp_ms":1793767061000,"timestamp_seconds":1793767061,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d93608"} 
[2026-11-04 10:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:08: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-11-04 10:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204367104001,"66":28028,"33":206,"28":32256,"24":9,"16":20437919705595904,"44":-71846457736656896},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204367104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:08:45] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20437919705595904,"km_value":20437919705595.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:08:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71846457736656896,"description":"Unknown IO ID 44"} 
[2026-11-04 10:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204367104001,"power":28028,"unknown_33":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_44":-71846457736656896}} 
[2026-11-04 10:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":230620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:08:46] local.INFO: GPS data processed {"connection_id":230620,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:08:46] local.INFO: Acknowledgment sent {"connection_id":230620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:09:07] local.INFO: TCP Data received {"connection_id":230621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:09:07] local.INFO: Processing buffer {"connection_id":230621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:09:07] local.INFO: IMEI packet received {"connection_id":230621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":230621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:09:09] local.INFO: TCP Data received {"connection_id":232472,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:09:09] local.INFO: Processing buffer {"connection_id":232472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:09:09] local.INFO: IMEI packet received {"connection_id":232472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":232472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:09:12] local.INFO: TCP Data received {"connection_id":230621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:09:12] local.INFO: Processing buffer {"connection_id":230621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:09:12] local.INFO: IMEI packet received {"connection_id":230621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":230621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:09:13] local.INFO: TCP Data received {"connection_id":230621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:09:13] local.INFO: Processing buffer {"connection_id":230621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:09:13] local.INFO: Packet analysis {"connection_id":230621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:13] local.INFO: Extracted packet for processing {"connection_id":230621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":230621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:09:13] local.INFO: GPS data processed {"connection_id":230621,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:09:13] local.INFO: Acknowledgment sent {"connection_id":230621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:09:14] local.INFO: TCP Data received {"connection_id":232472,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:09:14] local.INFO: Processing buffer {"connection_id":232472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:09:14] local.INFO: IMEI packet received {"connection_id":232472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":232472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:09:15] local.INFO: TCP Data received {"connection_id":232472,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d93dd8012cfefe8007003f08000801342b..."} 
[2026-11-04 10:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d93dd8012cfefe8007003f08000801342b..."} 
[2026-11-04 10:09:15] local.INFO: Processing buffer {"connection_id":232472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d93dd8012cfefe8007003f08000801342b..."} 
[2026-11-04 10:09:15] local.INFO: Packet analysis {"connection_id":232472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:15] local.INFO: Extracted packet for processing {"connection_id":232472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:15] local.INFO: GPS Element Parsed {"raw_longitude":754908800,"raw_latitude":117456648,"longitude_deg":75.49088,"latitude_deg":11.7456648,"altitude":8,"angle":308,"satellites":43,"speed":6,"hex_longitude":"2cfefe80","hex_latitude":"07003f08","is_valid_coordinates":true} 
[2026-11-04 10:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204367616001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20437941180432384,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72127932713287680,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793767063000,"timestamp_ms":1793767063000,"timestamp_seconds":1793767063,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d93dd8"} 
[2026-11-04 10:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 10:09:15] 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-11-04 10:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204367616001,"66":27789,"33":206,"28":32256,"24":6,"16":20437941180432384,"44":-72127932713287680},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204367616001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:09:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20437941180432384,"km_value":20437941180432.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72127932713287680,"description":"Unknown IO ID 44"} 
[2026-11-04 10:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204367616001,"power":27789,"unknown_33":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-72127932713287680}} 
[2026-11-04 10:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":232472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:09:15] local.INFO: GPS data processed {"connection_id":232472,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:09:15] local.INFO: Acknowledgment sent {"connection_id":232472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:09:44] local.INFO: TCP Data received {"connection_id":230621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:09:44] local.INFO: Processing buffer {"connection_id":230621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:09:44] local.INFO: Packet analysis {"connection_id":230621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:44] local.INFO: Extracted packet for processing {"connection_id":230621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":230621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:09:44] local.INFO: GPS data processed {"connection_id":230621,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:09:44] local.INFO: Acknowledgment sent {"connection_id":230621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:09:50] local.INFO: TCP Data received {"connection_id":232472,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d98fe0012cfefa40070041a80008013427..."} 
[2026-11-04 10:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d98fe0012cfefa40070041a80008013427..."} 
[2026-11-04 10:09:50] local.INFO: Processing buffer {"connection_id":232472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d98fe0012cfefa40070041a80008013427..."} 
[2026-11-04 10:09:50] local.INFO: Packet analysis {"connection_id":232472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:50] local.INFO: Extracted packet for processing {"connection_id":232472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:09:50] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204368128001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72479776434092032,"note":"Value kept but may cause issues"} 
[2026-11-04 10:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793767084000,"timestamp_ms":1793767084000,"timestamp_seconds":1793767084,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d98fe0"} 
[2026-11-04 10:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 10:09:50] 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-11-04 10:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204368128001,"66":28354,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-72479776434092032},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204368128001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:09:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:09:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72479776434092032,"description":"Unknown IO ID 44"} 
[2026-11-04 10:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204368128001,"power":28354,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-72479776434092032}} 
[2026-11-04 10:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":232472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:09:50] local.INFO: GPS data processed {"connection_id":232472,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:09:50] local.INFO: Acknowledgment sent {"connection_id":232472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:10:07] local.INFO: TCP Data received {"connection_id":229331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:10:07] local.INFO: Processing buffer {"connection_id":229331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:10:07] local.INFO: IMEI packet received {"connection_id":229331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":229331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:10:09] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:10:09] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:10:09] local.INFO: IMEI packet received {"connection_id":229332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":229332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:10:12] local.INFO: TCP Data received {"connection_id":229331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:10:12] local.INFO: Processing buffer {"connection_id":229331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:10:12] local.INFO: IMEI packet received {"connection_id":229331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":229331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:10:13] local.INFO: TCP Data received {"connection_id":229331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:10:13] local.INFO: Processing buffer {"connection_id":229331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:10:13] local.INFO: Packet analysis {"connection_id":229331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:10:13] local.INFO: Extracted packet for processing {"connection_id":229331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:10:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":229331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:10:13] local.INFO: GPS data processed {"connection_id":229331,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:10:13] local.INFO: Acknowledgment sent {"connection_id":229331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:10:14] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:10:14] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:10:14] local.INFO: IMEI packet received {"connection_id":229332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":229332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:10:16] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9e1e8012cfefa40070041a80008013427..."} 
[2026-11-04 10:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9e1e8012cfefa40070041a80008013427..."} 
[2026-11-04 10:10:16] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9e1e8012cfefa40070041a80008013427..."} 
[2026-11-04 10:10:16] local.INFO: Packet analysis {"connection_id":229332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:10:16] local.INFO: Extracted packet for processing {"connection_id":229332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204373504001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793767105000,"timestamp_ms":1793767105000,"timestamp_seconds":1793767105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9e1e8"} 
[2026-11-04 10:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 10:10: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-11-04 10:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204373504001,"66":28376,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204373504001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:10:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:10:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:10:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204373504001,"power":28376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":229332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:10:16] local.INFO: GPS data processed {"connection_id":229332,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:10:16] local.INFO: Acknowledgment sent {"connection_id":229332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:10:45] local.INFO: TCP Data received {"connection_id":229331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:10:45] local.INFO: Processing buffer {"connection_id":229331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:10:45] local.INFO: Packet analysis {"connection_id":229331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:10:45] local.INFO: Extracted packet for processing {"connection_id":229331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:10:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":229331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:10:45] local.INFO: GPS data processed {"connection_id":229331,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:10:45] local.INFO: Acknowledgment sent {"connection_id":229331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:10:47] local.INFO: TCP Data received {"connection_id":229332,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da33f0012cfefa40070041a80008013427..."} 
[2026-11-04 10:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da33f0012cfefa40070041a80008013427..."} 
[2026-11-04 10:10:47] local.INFO: Processing buffer {"connection_id":229332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da33f0012cfefa40070041a80008013427..."} 
[2026-11-04 10:10:47] local.INFO: Packet analysis {"connection_id":229332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:10:47] local.INFO: Extracted packet for processing {"connection_id":229332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:10:47] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204378880001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793767126000,"timestamp_ms":1793767126000,"timestamp_seconds":1793767126,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da33f0"} 
[2026-11-04 10:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:10: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-11-04 10:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204378880001,"66":28376,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204378880001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:10:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:10:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204378880001,"power":28376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":229332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:10:48] local.INFO: GPS data processed {"connection_id":229332,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:10:48] local.INFO: Acknowledgment sent {"connection_id":229332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:11:12] local.INFO: TCP Data received {"connection_id":230622,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:11:12] local.INFO: Processing buffer {"connection_id":230622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:11:12] local.INFO: IMEI packet received {"connection_id":230622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":230622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:11:14] local.INFO: TCP Data received {"connection_id":230623,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:11:14] local.INFO: Processing buffer {"connection_id":230623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:11:14] local.INFO: IMEI packet received {"connection_id":230623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":230623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:11:17] local.INFO: TCP Data received {"connection_id":230622,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:11:17] local.INFO: Processing buffer {"connection_id":230622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:11:17] local.INFO: IMEI packet received {"connection_id":230622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":230622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:11:18] local.INFO: TCP Data received {"connection_id":230622,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:11:18] local.INFO: Processing buffer {"connection_id":230622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:11:18] local.INFO: Packet analysis {"connection_id":230622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:11:18] local.INFO: Extracted packet for processing {"connection_id":230622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":230622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:11:18] local.INFO: GPS data processed {"connection_id":230622,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:11:18] local.INFO: Acknowledgment sent {"connection_id":230622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:11:19] local.INFO: TCP Data received {"connection_id":230623,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:11:19] local.INFO: Processing buffer {"connection_id":230623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:11:19] local.INFO: IMEI packet received {"connection_id":230623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":230623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:11:20] local.INFO: TCP Data received {"connection_id":230623,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da85f8012cfefa40070041a80008013427..."} 
[2026-11-04 10:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da85f8012cfefa40070041a80008013427..."} 
[2026-11-04 10:11:20] local.INFO: Processing buffer {"connection_id":230623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da85f8012cfefa40070041a80008013427..."} 
[2026-11-04 10:11:20] local.INFO: Packet analysis {"connection_id":230623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:11:20] local.INFO: Extracted packet for processing {"connection_id":230623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:11:20] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204384256001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793767147000,"timestamp_ms":1793767147000,"timestamp_seconds":1793767147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da85f8"} 
[2026-11-04 10:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:11: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-11-04 10: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-11-04 10:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204384256001,"66":28376,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204384256001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:11:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204384256001,"power":28376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":230623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:11:20] local.INFO: GPS data processed {"connection_id":230623,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:11:20] local.INFO: Acknowledgment sent {"connection_id":230623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:11:25] local.INFO: TCP Data received {"connection_id":230623,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:11:25] local.INFO: Processing buffer {"connection_id":230623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:11:25] local.INFO: Packet analysis {"connection_id":230623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:11:25] local.INFO: Extracted packet for processing {"connection_id":230623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204389632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793767151000,"timestamp_ms":1793767151000,"timestamp_seconds":1793767151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da9598"} 
[2026-11-04 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-11-04 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:11:25] 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-11-04 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-11-04 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-11-04 10:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204389632001,"66":28398,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204389632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:11:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:11:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204389632001,"power":28398,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":230623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:11:25] local.INFO: GPS data processed {"connection_id":230623,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:11:25] local.INFO: Acknowledgment sent {"connection_id":230623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:11:50] local.INFO: TCP Data received {"connection_id":230622,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:11:50] local.INFO: Processing buffer {"connection_id":230622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:11:50] local.INFO: Packet analysis {"connection_id":230622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:11:50] local.INFO: Extracted packet for processing {"connection_id":230622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:11:50] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:11:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":230622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:11:50] local.INFO: GPS data processed {"connection_id":230622,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:11:50] local.INFO: Acknowledgment sent {"connection_id":230622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:12:07] local.INFO: TCP Data received {"connection_id":228839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:12:07] local.INFO: Processing buffer {"connection_id":228839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:12:07] local.INFO: IMEI packet received {"connection_id":228839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":228839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:12:09] local.INFO: TCP Data received {"connection_id":232473,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:12:09] local.INFO: Processing buffer {"connection_id":232473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:12:09] local.INFO: IMEI packet received {"connection_id":232473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":232473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:12:12] local.INFO: TCP Data received {"connection_id":228839,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:12:12] local.INFO: Processing buffer {"connection_id":228839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:12:12] local.INFO: IMEI packet received {"connection_id":228839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":228839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:12:13] local.INFO: TCP Data received {"connection_id":228839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:12:13] local.INFO: Processing buffer {"connection_id":228839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:12:13] local.INFO: Packet analysis {"connection_id":228839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:12:13] local.INFO: Extracted packet for processing {"connection_id":228839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":228839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:12:13] local.INFO: GPS data processed {"connection_id":228839,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:12:13] local.INFO: Acknowledgment sent {"connection_id":228839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:12:14] local.INFO: TCP Data received {"connection_id":232473,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:12:14] local.INFO: Processing buffer {"connection_id":232473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:12:14] local.INFO: IMEI packet received {"connection_id":232473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":232473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:12:17] local.INFO: TCP Data received {"connection_id":232473,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:12:17] local.INFO: Processing buffer {"connection_id":232473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:12:17] local.INFO: Packet analysis {"connection_id":232473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:12:17] local.INFO: Extracted packet for processing {"connection_id":232473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204389632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793767151000,"timestamp_ms":1793767151000,"timestamp_seconds":1793767151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da9598"} 
[2026-11-04 10:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:12: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-11-04 10: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-11-04 10:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204389632001,"66":28398,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204389632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:12:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204389632001,"power":28398,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":232473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:12:17] local.INFO: GPS data processed {"connection_id":232473,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:12:17] local.INFO: Acknowledgment sent {"connection_id":232473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:12:45] local.INFO: TCP Data received {"connection_id":228839,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:12:45] local.INFO: Processing buffer {"connection_id":228839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:12:45] local.INFO: Packet analysis {"connection_id":228839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:12:45] local.INFO: Extracted packet for processing {"connection_id":228839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":228839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:12:45] local.INFO: GPS data processed {"connection_id":228839,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:12:45] local.INFO: Acknowledgment sent {"connection_id":228839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:12:48] local.INFO: TCP Data received {"connection_id":232473,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:12:48] local.INFO: Processing buffer {"connection_id":232473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:12:48] local.INFO: Packet analysis {"connection_id":232473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:12:48] local.INFO: Extracted packet for processing {"connection_id":232473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:12:48] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204389632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793767151000,"timestamp_ms":1793767151000,"timestamp_seconds":1793767151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da9598"} 
[2026-11-04 10:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:12: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-11-04 10: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-11-04 10:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204389632001,"66":28398,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204389632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:12:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:12:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204389632001,"power":28398,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":232473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:12:48] local.INFO: GPS data processed {"connection_id":232473,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:12:48] local.INFO: Acknowledgment sent {"connection_id":232473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:13:07] local.INFO: TCP Data received {"connection_id":229333,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:13:07] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:13:07] local.INFO: IMEI packet received {"connection_id":229333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":229333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:13:09] local.INFO: TCP Data received {"connection_id":230624,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:13:09] local.INFO: Processing buffer {"connection_id":230624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:13:09] local.INFO: IMEI packet received {"connection_id":230624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":230624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:13:12] local.INFO: TCP Data received {"connection_id":229333,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:13:12] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:13:12] local.INFO: IMEI packet received {"connection_id":229333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":229333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:13:13] local.INFO: TCP Data received {"connection_id":229333,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:13:13] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:13:13] local.INFO: Packet analysis {"connection_id":229333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:13:13] local.INFO: Extracted packet for processing {"connection_id":229333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":229333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:13:13] local.INFO: GPS data processed {"connection_id":229333,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:13:13] local.INFO: Acknowledgment sent {"connection_id":229333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:13:14] local.INFO: TCP Data received {"connection_id":230624,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:13:14] local.INFO: Processing buffer {"connection_id":230624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:13:14] local.INFO: IMEI packet received {"connection_id":230624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":230624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:13:20] local.INFO: TCP Data received {"connection_id":230624,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:13:20] local.INFO: Processing buffer {"connection_id":230624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:13:20] local.INFO: Packet analysis {"connection_id":230624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:13:20] local.INFO: Extracted packet for processing {"connection_id":230624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:13: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-11-04 10:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204389632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793767151000,"timestamp_ms":1793767151000,"timestamp_seconds":1793767151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da9598"} 
[2026-11-04 10:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:13: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-11-04 10:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204389632001,"66":28398,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204389632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:13:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:13:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204389632001,"power":28398,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":230624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:13:20] local.INFO: GPS data processed {"connection_id":230624,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:13:20] local.INFO: Acknowledgment sent {"connection_id":230624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:13:45] local.INFO: TCP Data received {"connection_id":229333,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:13:45] local.INFO: Processing buffer {"connection_id":229333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4d9a368012d34c30006aa43d0000b009030..."} 
[2026-11-04 10:13:45] local.INFO: Packet analysis {"connection_id":229333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:13:45] local.INFO: Extracted packet for processing {"connection_id":229333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4d9"} 
[2026-11-04 10:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":48,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204297728001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767089000,"timestamp_ms":1793767089000,"timestamp_seconds":1793767089,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4d9a368"} 
[2026-11-04 10:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 10:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204297728001,"66":25756,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204297728001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204297728001,"power":25756,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":229333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:13:45] local.INFO: GPS data processed {"connection_id":229333,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:13:45] local.INFO: Acknowledgment sent {"connection_id":229333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:13:52] local.INFO: TCP Data received {"connection_id":230624,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:13:52] local.INFO: Processing buffer {"connection_id":230624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:13:52] local.INFO: Packet analysis {"connection_id":230624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:13:52] local.INFO: Extracted packet for processing {"connection_id":230624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:13:52] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204389632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793767151000,"timestamp_ms":1793767151000,"timestamp_seconds":1793767151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da9598"} 
[2026-11-04 10:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204389632001,"66":28398,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204389632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:13:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204389632001,"power":28398,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":230624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:13:52] local.INFO: GPS data processed {"connection_id":230624,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:13:52] local.INFO: Acknowledgment sent {"connection_id":230624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:14:09] local.INFO: TCP Data received {"connection_id":232474,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:14:09] local.INFO: Processing buffer {"connection_id":232474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:14:09] local.INFO: IMEI packet received {"connection_id":232474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":232474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:14:12] local.INFO: TCP Data received {"connection_id":228840,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:14:12] local.INFO: Processing buffer {"connection_id":228840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:14:12] local.INFO: IMEI packet received {"connection_id":228840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":228840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:14:14] local.INFO: TCP Data received {"connection_id":232474,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:14:14] local.INFO: Processing buffer {"connection_id":232474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:14:14] local.INFO: IMEI packet received {"connection_id":232474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":232474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:14:16] local.INFO: TCP Data received {"connection_id":232474,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:14:16] local.INFO: Processing buffer {"connection_id":232474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:14:16] local.INFO: Packet analysis {"connection_id":232474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:14:16] local.INFO: Extracted packet for processing {"connection_id":232474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:14:16] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204389632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793767151000,"timestamp_ms":1793767151000,"timestamp_seconds":1793767151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da9598"} 
[2026-11-04 10:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:14: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-11-04 10:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204389632001,"66":28398,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204389632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:14:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:14:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:14:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204389632001,"power":28398,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":232474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:14:16] local.INFO: GPS data processed {"connection_id":232474,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:14:16] local.INFO: Acknowledgment sent {"connection_id":232474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:14:17] local.INFO: TCP Data received {"connection_id":228840,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:14:17] local.INFO: Processing buffer {"connection_id":228840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:14:17] local.INFO: IMEI packet received {"connection_id":228840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":228840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:14:18] local.INFO: TCP Data received {"connection_id":228840,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:14:18] local.INFO: Processing buffer {"connection_id":228840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:14:18] local.INFO: Packet analysis {"connection_id":228840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:14:18] local.INFO: Extracted packet for processing {"connection_id":228840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":228840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:14:18] local.INFO: GPS data processed {"connection_id":228840,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:14:18] local.INFO: Acknowledgment sent {"connection_id":228840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:14:23] local.INFO: TCP Data received {"connection_id":228840,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:14:23] local.INFO: Processing buffer {"connection_id":228840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:14:23] local.INFO: Packet analysis {"connection_id":228840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:14:23] local.INFO: Extracted packet for processing {"connection_id":228840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:14:23] 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-11-04 10: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-11-04 10:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:14:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":228840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:14:23] local.INFO: GPS data processed {"connection_id":228840,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:14:23] local.INFO: Acknowledgment sent {"connection_id":228840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:14:48] local.INFO: TCP Data received {"connection_id":232474,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:14:48] local.INFO: Processing buffer {"connection_id":232474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4da9598012cfefa40070041a80008013427..."} 
[2026-11-04 10:14:48] local.INFO: Packet analysis {"connection_id":232474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:14:48] local.INFO: Extracted packet for processing {"connection_id":232474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4da"} 
[2026-11-04 10:14:48] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204389632001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793767151000,"timestamp_ms":1793767151000,"timestamp_seconds":1793767151,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4da9598"} 
[2026-11-04 10:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:14: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-11-04 10:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204389632001,"66":28398,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204389632001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:14:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:14:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204389632001,"power":28398,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":232474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:14:48] local.INFO: GPS data processed {"connection_id":232474,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:14:48] local.INFO: Acknowledgment sent {"connection_id":232474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:15:07] local.INFO: TCP Data received {"connection_id":230625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:15:07] local.INFO: Processing buffer {"connection_id":230625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:15:07] local.INFO: IMEI packet received {"connection_id":230625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":230625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:15:12] local.INFO: TCP Data received {"connection_id":230625,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:15:12] local.INFO: Processing buffer {"connection_id":230625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:15:12] local.INFO: IMEI packet received {"connection_id":230625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":230625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:15:13] local.INFO: TCP Data received {"connection_id":230625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:15:13] local.INFO: Processing buffer {"connection_id":230625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:15:13] local.INFO: Packet analysis {"connection_id":230625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:15:13] local.INFO: Extracted packet for processing {"connection_id":230625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:15:13] 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-11-04 10: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-11-04 10:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":230625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:15:13] local.INFO: GPS data processed {"connection_id":230625,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:15:13] local.INFO: Acknowledgment sent {"connection_id":230625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:15:14] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:15:14] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:15:14] local.INFO: IMEI packet received {"connection_id":229334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":229334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:15:19] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:15:19] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:15:19] local.INFO: IMEI packet received {"connection_id":229334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":229334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:15:20] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:15:21] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:15:21] local.INFO: Packet analysis {"connection_id":229334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:15:21] local.INFO: Extracted packet for processing {"connection_id":229334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:15:21] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:15:21] 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-11-04 10: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-11-04 10:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:15:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:15:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":229334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:15:21] local.INFO: GPS data processed {"connection_id":229334,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:15:21] local.INFO: Acknowledgment sent {"connection_id":229334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:15:24] local.INFO: TCP Data received {"connection_id":229334,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:15:24] local.INFO: Processing buffer {"connection_id":229334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:15:24] local.INFO: Packet analysis {"connection_id":229334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:15:24] local.INFO: Extracted packet for processing {"connection_id":229334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 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-11-04 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:15:24] 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-11-04 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-11-04 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-11-04 10:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:15:24] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:15:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":229334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:15:24] local.INFO: GPS data processed {"connection_id":229334,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:15:24] local.INFO: Acknowledgment sent {"connection_id":229334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:15:45] local.INFO: TCP Data received {"connection_id":230625,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:15:45] local.INFO: Processing buffer {"connection_id":230625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:15:45] local.INFO: Packet analysis {"connection_id":230625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:15:45] local.INFO: Extracted packet for processing {"connection_id":230625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:15: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-11-04 10: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-11-04 10:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":230625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:15:45] local.INFO: GPS data processed {"connection_id":230625,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:15:45] local.INFO: Acknowledgment sent {"connection_id":230625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:16:07] local.INFO: TCP Data received {"connection_id":228841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:16:07] local.INFO: Processing buffer {"connection_id":228841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:16:07] local.INFO: IMEI packet received {"connection_id":228841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":228841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:16:09] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:16:09] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:16:09] local.INFO: IMEI packet received {"connection_id":229335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":229335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:16:12] local.INFO: TCP Data received {"connection_id":228841,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:16:12] local.INFO: Processing buffer {"connection_id":228841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:16:12] local.INFO: IMEI packet received {"connection_id":228841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":228841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:16:13] local.INFO: TCP Data received {"connection_id":228841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:16:13] local.INFO: Processing buffer {"connection_id":228841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:16:13] local.INFO: Packet analysis {"connection_id":228841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:16:13] local.INFO: Extracted packet for processing {"connection_id":228841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:16:13] 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-11-04 10: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-11-04 10:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":228841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:16:13] local.INFO: GPS data processed {"connection_id":228841,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:16:13] local.INFO: Acknowledgment sent {"connection_id":228841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:16:14] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:16:14] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:16:14] local.INFO: IMEI packet received {"connection_id":229335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":229335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:16:15] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:15] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:15] local.INFO: Packet analysis {"connection_id":229335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:16:15] local.INFO: Extracted packet for processing {"connection_id":229335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:16: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-11-04 10:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:16:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:16:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":229335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:16:15] local.INFO: GPS data processed {"connection_id":229335,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:16:15] local.INFO: Acknowledgment sent {"connection_id":229335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:16:20] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:20] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:20] local.INFO: Packet analysis {"connection_id":229335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:16:20] local.INFO: Extracted packet for processing {"connection_id":229335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:16:20] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:16:20] 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-11-04 10:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:16:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:16:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":229335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:16:20] local.INFO: GPS data processed {"connection_id":229335,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:16:20] local.INFO: Acknowledgment sent {"connection_id":229335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:16:45] local.INFO: TCP Data received {"connection_id":228841,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:16:45] local.INFO: Processing buffer {"connection_id":228841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:16:45] local.INFO: Packet analysis {"connection_id":228841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:16:45] local.INFO: Extracted packet for processing {"connection_id":228841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:16:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:16: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-11-04 10: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-11-04 10:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:16:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":228841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:16:45] local.INFO: GPS data processed {"connection_id":228841,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:16:45] local.INFO: Acknowledgment sent {"connection_id":228841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:16:51] local.INFO: TCP Data received {"connection_id":229335,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:51] local.INFO: Processing buffer {"connection_id":229335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:16:51] local.INFO: Packet analysis {"connection_id":229335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:16:51] local.INFO: Extracted packet for processing {"connection_id":229335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:16:51] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:16:51] 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-11-04 10:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:16:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:16:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":229335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:16:51] local.INFO: GPS data processed {"connection_id":229335,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:16:51] local.INFO: Acknowledgment sent {"connection_id":229335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:17:07] local.INFO: TCP Data received {"connection_id":229337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:17:07] local.INFO: Processing buffer {"connection_id":229337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:17:07] local.INFO: IMEI packet received {"connection_id":229337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":229337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:17:09] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:17:09] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:17:09] local.INFO: IMEI packet received {"connection_id":229336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":229336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:17:12] local.INFO: TCP Data received {"connection_id":229337,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:17:12] local.INFO: Processing buffer {"connection_id":229337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:17:12] local.INFO: IMEI packet received {"connection_id":229337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":229337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:17:13] local.INFO: TCP Data received {"connection_id":229337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:17:13] local.INFO: Processing buffer {"connection_id":229337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:17:13] local.INFO: Packet analysis {"connection_id":229337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:17:13] local.INFO: Extracted packet for processing {"connection_id":229337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:17:13] 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-11-04 10: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-11-04 10:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":229337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:17:13] local.INFO: GPS data processed {"connection_id":229337,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:17:13] local.INFO: Acknowledgment sent {"connection_id":229337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:17:14] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:17:14] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:17:14] local.INFO: IMEI packet received {"connection_id":229336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":229336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:17:15] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:15] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:15] local.INFO: Packet analysis {"connection_id":229336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:17:15] local.INFO: Extracted packet for processing {"connection_id":229336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:17:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:17: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-11-04 10:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":229336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:17:15] local.INFO: GPS data processed {"connection_id":229336,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:17:15] local.INFO: Acknowledgment sent {"connection_id":229336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:17:20] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:20] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:20] local.INFO: Packet analysis {"connection_id":229336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:17:20] local.INFO: Extracted packet for processing {"connection_id":229336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:17:20] 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-11-04 10:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:17:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:17:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":229336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:17:20] local.INFO: GPS data processed {"connection_id":229336,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:17:20] local.INFO: Acknowledgment sent {"connection_id":229336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:17:45] local.INFO: TCP Data received {"connection_id":229337,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:17:45] local.INFO: Processing buffer {"connection_id":229337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:17:45] local.INFO: Packet analysis {"connection_id":229337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:17:45] local.INFO: Extracted packet for processing {"connection_id":229337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:17: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-11-04 10: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-11-04 10:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":229337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:17:45] local.INFO: GPS data processed {"connection_id":229337,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:17:45] local.INFO: Acknowledgment sent {"connection_id":229337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:17:52] local.INFO: TCP Data received {"connection_id":229336,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:52] local.INFO: Processing buffer {"connection_id":229336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:17:52] local.INFO: Packet analysis {"connection_id":229336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:17:52] local.INFO: Extracted packet for processing {"connection_id":229336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:17:52] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:17: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-11-04 10:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:17:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:17:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":229336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:17:53] local.INFO: GPS data processed {"connection_id":229336,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:17:53] local.INFO: Acknowledgment sent {"connection_id":229336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:18:06] local.INFO: TCP Data received {"connection_id":229339,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:18:07] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:18:07] local.INFO: IMEI packet received {"connection_id":229339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":229339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:18:09] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:18:09] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:18:09] local.INFO: IMEI packet received {"connection_id":229338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":229338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:18:12] local.INFO: TCP Data received {"connection_id":229339,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:18:12] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:18:12] local.INFO: IMEI packet received {"connection_id":229339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":229339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:18:13] local.INFO: TCP Data received {"connection_id":229339,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:18:13] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:18:13] local.INFO: Packet analysis {"connection_id":229339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:18:13] local.INFO: Extracted packet for processing {"connection_id":229339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:18:13] 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-11-04 10: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-11-04 10:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":229339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:18:13] local.INFO: GPS data processed {"connection_id":229339,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:18:13] local.INFO: Acknowledgment sent {"connection_id":229339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:18:14] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:18:14] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:18:14] local.INFO: IMEI packet received {"connection_id":229338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":229338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:18:17] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:18:17] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:18:17] local.INFO: Packet analysis {"connection_id":229338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:18:17] local.INFO: Extracted packet for processing {"connection_id":229338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:18: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-11-04 10: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-11-04 10:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:18:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":229338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:18:17] local.INFO: GPS data processed {"connection_id":229338,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:18:17] local.INFO: Acknowledgment sent {"connection_id":229338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:18:45] local.INFO: TCP Data received {"connection_id":229339,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:18:45] local.INFO: Processing buffer {"connection_id":229339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4de3b30012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:18:45] local.INFO: Packet analysis {"connection_id":229339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:18:45] local.INFO: Extracted packet for processing {"connection_id":229339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4de"} 
[2026-11-04 10:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204374784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767390000,"timestamp_ms":1793767390000,"timestamp_seconds":1793767390,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4de3b30"} 
[2026-11-04 10:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 10:18: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-11-04 10:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204374784001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204374784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204374784001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":229339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:18:45] local.INFO: GPS data processed {"connection_id":229339,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:18:45] local.INFO: Acknowledgment sent {"connection_id":229339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:18:49] local.INFO: TCP Data received {"connection_id":229338,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:18:49] local.INFO: Processing buffer {"connection_id":229338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:18:49] local.INFO: Packet analysis {"connection_id":229338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:18:49] local.INFO: Extracted packet for processing {"connection_id":229338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:18:49] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:18: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-11-04 10:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:18:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:18:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:18:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":229338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:18:49] local.INFO: GPS data processed {"connection_id":229338,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:18:49] local.INFO: Acknowledgment sent {"connection_id":229338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:19:07] local.INFO: TCP Data received {"connection_id":230626,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:19:07] local.INFO: Processing buffer {"connection_id":230626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:19:07] local.INFO: IMEI packet received {"connection_id":230626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":230626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:19:09] local.INFO: TCP Data received {"connection_id":230627,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:19:09] local.INFO: Processing buffer {"connection_id":230627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:19:09] local.INFO: IMEI packet received {"connection_id":230627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":230627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:19:12] local.INFO: TCP Data received {"connection_id":230626,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:19:12] local.INFO: Processing buffer {"connection_id":230626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:19:12] local.INFO: IMEI packet received {"connection_id":230626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":230626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:19:13] local.INFO: TCP Data received {"connection_id":230626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:13] local.INFO: Processing buffer {"connection_id":230626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:13] local.INFO: Packet analysis {"connection_id":230626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:19:13] local.INFO: Extracted packet for processing {"connection_id":230626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":230626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:19:13] local.INFO: GPS data processed {"connection_id":230626,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:19:13] local.INFO: Acknowledgment sent {"connection_id":230626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:19:14] local.INFO: TCP Data received {"connection_id":230627,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:19:14] local.INFO: Processing buffer {"connection_id":230627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:19:14] local.INFO: IMEI packet received {"connection_id":230627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":230627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:19:16] local.INFO: TCP Data received {"connection_id":230627,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:19:16] local.INFO: Processing buffer {"connection_id":230627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:19:16] local.INFO: Packet analysis {"connection_id":230627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:19:16] local.INFO: Extracted packet for processing {"connection_id":230627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:19:16] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:19:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:19:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:19:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:19:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:19:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:19: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-11-04 10:19:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:19:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:19:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:19:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:19:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:19:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:19:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:19:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:19:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:19:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:19:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:19:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:19:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:19:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:19:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:19:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:19:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:19:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":230627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:19:16] local.INFO: GPS data processed {"connection_id":230627,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:19:16] local.INFO: Acknowledgment sent {"connection_id":230627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:19:18] local.INFO: TCP Data received {"connection_id":230626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:18] local.INFO: Processing buffer {"connection_id":230626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:18] local.INFO: Packet analysis {"connection_id":230626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:19:18] local.INFO: Extracted packet for processing {"connection_id":230626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":230626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:19:18] local.INFO: GPS data processed {"connection_id":230626,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:19:18] local.INFO: Acknowledgment sent {"connection_id":230626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:19:47] local.INFO: TCP Data received {"connection_id":230627,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:19:47] local.INFO: Processing buffer {"connection_id":230627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4df40e8012cfef900070041880008013427..."} 
[2026-11-04 10:19:47] local.INFO: Packet analysis {"connection_id":230627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:19:47] local.INFO: Extracted packet for processing {"connection_id":230627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4df"} 
[2026-11-04 10:19:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204390656001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793767457000,"timestamp_ms":1793767457000,"timestamp_seconds":1793767457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4df40e8"} 
[2026-11-04 10:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:19: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-11-04 10:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230627,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204390656001,"66":27071,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204390656001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:19:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:19:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204390656001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":230627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:19:47] local.INFO: GPS data processed {"connection_id":230627,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:19:47] local.INFO: Acknowledgment sent {"connection_id":230627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:19:50] local.INFO: TCP Data received {"connection_id":230626,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:50] local.INFO: Processing buffer {"connection_id":230626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:19:50] local.INFO: Packet analysis {"connection_id":230626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:19:50] local.INFO: Extracted packet for processing {"connection_id":230626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:19:50] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:19:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":230626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:19:50] local.INFO: GPS data processed {"connection_id":230626,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:19:50] local.INFO: Acknowledgment sent {"connection_id":230626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:20:07] local.INFO: TCP Data received {"connection_id":228842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:20:07] local.INFO: Processing buffer {"connection_id":228842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:20:07] local.INFO: IMEI packet received {"connection_id":228842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":228842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:20:12] local.INFO: TCP Data received {"connection_id":228842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:20:12] local.INFO: Processing buffer {"connection_id":228842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:20:12] local.INFO: IMEI packet received {"connection_id":228842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":228842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:20:13] local.INFO: TCP Data received {"connection_id":228842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:20:13] local.INFO: Processing buffer {"connection_id":228842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:20:13] local.INFO: Packet analysis {"connection_id":228842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:20:13] local.INFO: Extracted packet for processing {"connection_id":228842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":228842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:20:13] local.INFO: GPS data processed {"connection_id":228842,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:20:13] local.INFO: Acknowledgment sent {"connection_id":228842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:20:14] local.INFO: TCP Data received {"connection_id":228843,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:20:14] local.INFO: Processing buffer {"connection_id":228843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:20:14] local.INFO: IMEI packet received {"connection_id":228843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":228843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:20:19] local.INFO: TCP Data received {"connection_id":228843,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:20:19] local.INFO: Processing buffer {"connection_id":228843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:20:19] local.INFO: IMEI packet received {"connection_id":228843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":228843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:20:20] local.INFO: TCP Data received {"connection_id":228843,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:20:20] local.INFO: Processing buffer {"connection_id":228843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:20:20] local.INFO: Packet analysis {"connection_id":228843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:20:20] local.INFO: Extracted packet for processing {"connection_id":228843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:20:20] 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-11-04 10:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:20:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":228843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:20:21] local.INFO: GPS data processed {"connection_id":228843,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:20:21] local.INFO: Acknowledgment sent {"connection_id":228843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:20:25] local.INFO: TCP Data received {"connection_id":228843,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:20:25] local.INFO: Processing buffer {"connection_id":228843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:20:25] local.INFO: Packet analysis {"connection_id":228843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:20:25] local.INFO: Extracted packet for processing {"connection_id":228843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:20:25] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:20:25] 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-11-04 10: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-11-04 10:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:20:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:20:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:20:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":228843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:20:25] local.INFO: GPS data processed {"connection_id":228843,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:20:25] local.INFO: Acknowledgment sent {"connection_id":228843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:20:45] local.INFO: TCP Data received {"connection_id":228842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:20:45] local.INFO: Processing buffer {"connection_id":228842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:20:45] local.INFO: Packet analysis {"connection_id":228842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:20:45] local.INFO: Extracted packet for processing {"connection_id":228842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:20:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:20:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":228842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:20:45] local.INFO: GPS data processed {"connection_id":228842,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:20:45] local.INFO: Acknowledgment sent {"connection_id":228842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:21:07] local.INFO: TCP Data received {"connection_id":230628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:21:07] local.INFO: Processing buffer {"connection_id":230628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:21:07] local.INFO: IMEI packet received {"connection_id":230628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":230628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:21:09] local.INFO: TCP Data received {"connection_id":229340,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:21:09] local.INFO: Processing buffer {"connection_id":229340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:21:09] local.INFO: IMEI packet received {"connection_id":229340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":229340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:21:12] local.INFO: TCP Data received {"connection_id":230628,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:21:12] local.INFO: Processing buffer {"connection_id":230628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:21:12] local.INFO: IMEI packet received {"connection_id":230628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":230628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:21:13] local.INFO: TCP Data received {"connection_id":230628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:21:13] local.INFO: Processing buffer {"connection_id":230628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:21:13] local.INFO: Packet analysis {"connection_id":230628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:21:13] local.INFO: Extracted packet for processing {"connection_id":230628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":230628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:21:13] local.INFO: GPS data processed {"connection_id":230628,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:21:13] local.INFO: Acknowledgment sent {"connection_id":230628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:21:14] local.INFO: TCP Data received {"connection_id":229340,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:21:14] local.INFO: Processing buffer {"connection_id":229340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:21:14] local.INFO: IMEI packet received {"connection_id":229340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":229340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:21:17] local.INFO: TCP Data received {"connection_id":229340,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:21:17] local.INFO: Processing buffer {"connection_id":229340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:21:17] local.INFO: Packet analysis {"connection_id":229340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:21:17] local.INFO: Extracted packet for processing {"connection_id":229340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:21:17] 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-11-04 10: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-11-04 10:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:21:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:21:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":229340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:21:17] local.INFO: GPS data processed {"connection_id":229340,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:21:17] local.INFO: Acknowledgment sent {"connection_id":229340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:21:45] local.INFO: TCP Data received {"connection_id":230628,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:21:45] local.INFO: Processing buffer {"connection_id":230628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:21:45] local.INFO: Packet analysis {"connection_id":230628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:21:45] local.INFO: Extracted packet for processing {"connection_id":230628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":230628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:21:45] local.INFO: GPS data processed {"connection_id":230628,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:21:45] local.INFO: Acknowledgment sent {"connection_id":230628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:21:48] local.INFO: TCP Data received {"connection_id":229340,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:21:48] local.INFO: Processing buffer {"connection_id":229340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:21:48] local.INFO: Packet analysis {"connection_id":229340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:21:48] local.INFO: Extracted packet for processing {"connection_id":229340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:21:48] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:21:48] 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-11-04 10: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-11-04 10:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229340,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:21:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:21:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:21:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":229340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:21:49] local.INFO: GPS data processed {"connection_id":229340,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:21:49] local.INFO: Acknowledgment sent {"connection_id":229340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:22:07] local.INFO: TCP Data received {"connection_id":230629,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:22:07] local.INFO: Processing buffer {"connection_id":230629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:22:07] local.INFO: IMEI packet received {"connection_id":230629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":230629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:22:09] local.INFO: TCP Data received {"connection_id":230630,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:22:09] local.INFO: Processing buffer {"connection_id":230630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:22:09] local.INFO: IMEI packet received {"connection_id":230630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":230630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:22:12] local.INFO: TCP Data received {"connection_id":230629,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:22:12] local.INFO: Processing buffer {"connection_id":230629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:22:12] local.INFO: IMEI packet received {"connection_id":230629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":230629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:22:13] local.INFO: TCP Data received {"connection_id":230629,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:22:13] local.INFO: Processing buffer {"connection_id":230629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:22:13] local.INFO: Packet analysis {"connection_id":230629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:22:13] local.INFO: Extracted packet for processing {"connection_id":230629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":230629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:22:13] local.INFO: GPS data processed {"connection_id":230629,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:22:13] local.INFO: Acknowledgment sent {"connection_id":230629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:22:14] local.INFO: TCP Data received {"connection_id":230630,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:22:14] local.INFO: Processing buffer {"connection_id":230630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:22:14] local.INFO: IMEI packet received {"connection_id":230630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":230630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:22:15] local.INFO: TCP Data received {"connection_id":230630,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:22:15] local.INFO: Processing buffer {"connection_id":230630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:22:15] local.INFO: Packet analysis {"connection_id":230630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:22:15] local.INFO: Extracted packet for processing {"connection_id":230630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:22:15] 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-11-04 10: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-11-04 10:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":230630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:22:16] local.INFO: GPS data processed {"connection_id":230630,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:22:16] local.INFO: Acknowledgment sent {"connection_id":230630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:22:46] local.INFO: TCP Data received {"connection_id":230629,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:22:46] local.INFO: Processing buffer {"connection_id":230629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:22:46] local.INFO: Packet analysis {"connection_id":230629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:22:46] local.INFO: Extracted packet for processing {"connection_id":230629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 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-11-04 10:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 10:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":230629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:22:46] local.INFO: GPS data processed {"connection_id":230629,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:22:46] local.INFO: Acknowledgment sent {"connection_id":230629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:22:47] local.INFO: TCP Data received {"connection_id":230630,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:22:47] local.INFO: Processing buffer {"connection_id":230630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:22:47] local.INFO: Packet analysis {"connection_id":230630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:22:47] local.INFO: Extracted packet for processing {"connection_id":230630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:22:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:22:47] 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-11-04 10: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-11-04 10:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:22:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:22:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:22:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":230630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:22:47] local.INFO: GPS data processed {"connection_id":230630,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:22:47] local.INFO: Acknowledgment sent {"connection_id":230630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:23:07] local.INFO: TCP Data received {"connection_id":229341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:23:07] local.INFO: Processing buffer {"connection_id":229341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:23:07] local.INFO: IMEI packet received {"connection_id":229341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":229341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:23:09] local.INFO: TCP Data received {"connection_id":230631,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:23:09] local.INFO: Processing buffer {"connection_id":230631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:23:09] local.INFO: IMEI packet received {"connection_id":230631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":230631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:23:12] local.INFO: TCP Data received {"connection_id":229341,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:23:12] local.INFO: Processing buffer {"connection_id":229341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:23:12] local.INFO: IMEI packet received {"connection_id":229341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":229341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:23:14] local.INFO: TCP Data received {"connection_id":229341,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:23:14] local.INFO: Processing buffer {"connection_id":229341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:23:14] local.INFO: Packet analysis {"connection_id":229341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:23:14] local.INFO: Extracted packet for processing {"connection_id":229341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":229341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:23:14] local.INFO: GPS data processed {"connection_id":229341,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:23:14] local.INFO: Acknowledgment sent {"connection_id":229341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:23:14] local.INFO: TCP Data received {"connection_id":230631,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:23:14] local.INFO: Processing buffer {"connection_id":230631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:23:14] local.INFO: IMEI packet received {"connection_id":230631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":230631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:23:15] local.INFO: TCP Data received {"connection_id":230631,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:23:15] local.INFO: Processing buffer {"connection_id":230631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:23:15] local.INFO: Packet analysis {"connection_id":230631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:23:15] local.INFO: Extracted packet for processing {"connection_id":230631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:23:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:23:15] 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-11-04 10:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:23:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:23:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":230631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:23:15] local.INFO: GPS data processed {"connection_id":230631,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:23:15] local.INFO: Acknowledgment sent {"connection_id":230631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:23:45] local.INFO: TCP Data received {"connection_id":229341,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:23:45] local.INFO: Processing buffer {"connection_id":229341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e2d2f8012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:23:45] local.INFO: Packet analysis {"connection_id":229341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:23:45] local.INFO: Extracted packet for processing {"connection_id":229341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e2"} 
[2026-11-04 10:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204451840001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767691000,"timestamp_ms":1793767691000,"timestamp_seconds":1793767691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e2d2f8"} 
[2026-11-04 10:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204451840001,"66":25712,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204451840001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204451840001,"power":25712,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":229341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:23:45] local.INFO: GPS data processed {"connection_id":229341,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:23:45] local.INFO: Acknowledgment sent {"connection_id":229341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:23:50] local.INFO: TCP Data received {"connection_id":230631,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:23:50] local.INFO: Processing buffer {"connection_id":230631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:23:50] local.INFO: Packet analysis {"connection_id":230631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:23:50] local.INFO: Extracted packet for processing {"connection_id":230631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:23:50] 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-11-04 10:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:23:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:23:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":230631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:23:50] local.INFO: GPS data processed {"connection_id":230631,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:23:50] local.INFO: Acknowledgment sent {"connection_id":230631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:24:09] local.INFO: TCP Data received {"connection_id":230633,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:24:09] local.INFO: Processing buffer {"connection_id":230633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:24:09] local.INFO: IMEI packet received {"connection_id":230633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":230633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:24:12] local.INFO: TCP Data received {"connection_id":230632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:24:12] local.INFO: Processing buffer {"connection_id":230632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:24:12] local.INFO: IMEI packet received {"connection_id":230632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":230632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:24:14] local.INFO: TCP Data received {"connection_id":230633,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:24:14] local.INFO: Processing buffer {"connection_id":230633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:24:14] local.INFO: IMEI packet received {"connection_id":230633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":230633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:24:17] local.INFO: TCP Data received {"connection_id":230632,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:24:17] local.INFO: Processing buffer {"connection_id":230632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:24:17] local.INFO: IMEI packet received {"connection_id":230632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":230632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:24:18] local.INFO: TCP Data received {"connection_id":230632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:24:18] local.INFO: Processing buffer {"connection_id":230632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:24:18] local.INFO: Packet analysis {"connection_id":230632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:24:18] local.INFO: Extracted packet for processing {"connection_id":230632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":230632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:24:18] local.INFO: GPS data processed {"connection_id":230632,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:24:18] local.INFO: Acknowledgment sent {"connection_id":230632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:24:20] local.INFO: TCP Data received {"connection_id":230633,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:24:20] local.INFO: Processing buffer {"connection_id":230633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:24:20] local.INFO: Packet analysis {"connection_id":230633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:24:20] local.INFO: Extracted packet for processing {"connection_id":230633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:24:20] 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-11-04 10:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:24:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":230633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:24:21] local.INFO: GPS data processed {"connection_id":230633,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:24:21] local.INFO: Acknowledgment sent {"connection_id":230633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:24:22] local.INFO: TCP Data received {"connection_id":230632,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:24:22] local.INFO: Processing buffer {"connection_id":230632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:24:22] local.INFO: Packet analysis {"connection_id":230632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:24:22] local.INFO: Extracted packet for processing {"connection_id":230632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:24:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:24:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":230632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:24:22] local.INFO: GPS data processed {"connection_id":230632,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:24:22] local.INFO: Acknowledgment sent {"connection_id":230632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:24:52] local.INFO: TCP Data received {"connection_id":230633,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:24:52] local.INFO: Processing buffer {"connection_id":230633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e3d8b0012cfef900070041880008013427..."} 
[2026-11-04 10:24:52] local.INFO: Packet analysis {"connection_id":230633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:24:52] local.INFO: Extracted packet for processing {"connection_id":230633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e3"} 
[2026-11-04 10:24:52] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204468992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793767758000,"timestamp_ms":1793767758000,"timestamp_seconds":1793767758,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e3d8b0"} 
[2026-11-04 10:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-11-04 10:24:52] 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-11-04 10:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204468992001,"66":26223,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204468992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:24:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:24:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204468992001,"power":26223,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":230633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:24:52] local.INFO: GPS data processed {"connection_id":230633,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:24:52] local.INFO: Acknowledgment sent {"connection_id":230633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:25:07] local.INFO: TCP Data received {"connection_id":229342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:25:07] local.INFO: Processing buffer {"connection_id":229342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:25:07] local.INFO: IMEI packet received {"connection_id":229342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":229342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:25:12] local.INFO: TCP Data received {"connection_id":229342,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:25:12] local.INFO: Processing buffer {"connection_id":229342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:25:12] local.INFO: IMEI packet received {"connection_id":229342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":229342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:25:13] local.INFO: TCP Data received {"connection_id":229342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:25:13] local.INFO: Processing buffer {"connection_id":229342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:25:13] local.INFO: Packet analysis {"connection_id":229342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:25:13] local.INFO: Extracted packet for processing {"connection_id":229342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":229342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:25:13] local.INFO: GPS data processed {"connection_id":229342,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:25:13] local.INFO: Acknowledgment sent {"connection_id":229342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:25:14] local.INFO: TCP Data received {"connection_id":232475,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:25:14] local.INFO: Processing buffer {"connection_id":232475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:25:14] local.INFO: IMEI packet received {"connection_id":232475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":232475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:25:19] local.INFO: TCP Data received {"connection_id":232475,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:25:19] local.INFO: Processing buffer {"connection_id":232475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:25:19] local.INFO: IMEI packet received {"connection_id":232475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":232475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:25:21] local.INFO: TCP Data received {"connection_id":232475,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:25:21] local.INFO: Processing buffer {"connection_id":232475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:25:21] local.INFO: Packet analysis {"connection_id":232475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:25:21] local.INFO: Extracted packet for processing {"connection_id":232475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:25:21] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:25: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-11-04 10:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:25:21] 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-11-04 10:25: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-11-04 10:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:25:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:25:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":232475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:25:21] local.INFO: GPS data processed {"connection_id":232475,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:25:21] local.INFO: Acknowledgment sent {"connection_id":232475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:25:45] local.INFO: TCP Data received {"connection_id":229342,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:25:45] local.INFO: Processing buffer {"connection_id":229342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:25:45] local.INFO: Packet analysis {"connection_id":229342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:25:45] local.INFO: Extracted packet for processing {"connection_id":229342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":229342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:25:45] local.INFO: GPS data processed {"connection_id":229342,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:25:45] local.INFO: Acknowledgment sent {"connection_id":229342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:25:52] local.INFO: TCP Data received {"connection_id":232475,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:25:52] local.INFO: Processing buffer {"connection_id":232475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:25:52] local.INFO: Packet analysis {"connection_id":232475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:25:52] local.INFO: Extracted packet for processing {"connection_id":232475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:25:52] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:25:52] 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-11-04 10:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:25:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":232475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:25:52] local.INFO: GPS data processed {"connection_id":232475,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:25:52] local.INFO: Acknowledgment sent {"connection_id":232475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:26:07] local.INFO: TCP Data received {"connection_id":230634,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:26:07] local.INFO: Processing buffer {"connection_id":230634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:26:07] local.INFO: IMEI packet received {"connection_id":230634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":230634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:26:12] local.INFO: TCP Data received {"connection_id":230634,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:26:12] local.INFO: Processing buffer {"connection_id":230634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:26:12] local.INFO: IMEI packet received {"connection_id":230634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":230634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:26:13] local.INFO: TCP Data received {"connection_id":230634,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:26:13] local.INFO: Processing buffer {"connection_id":230634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:26:13] local.INFO: Packet analysis {"connection_id":230634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:26:13] local.INFO: Extracted packet for processing {"connection_id":230634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:26:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":230634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:26:13] local.INFO: GPS data processed {"connection_id":230634,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:26:13] local.INFO: Acknowledgment sent {"connection_id":230634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:26:44] local.INFO: TCP Data received {"connection_id":230634,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:26:44] local.INFO: Processing buffer {"connection_id":230634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:26:44] local.INFO: Packet analysis {"connection_id":230634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:26:44] local.INFO: Extracted packet for processing {"connection_id":230634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":230634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:26:44] local.INFO: GPS data processed {"connection_id":230634,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:26:44] local.INFO: Acknowledgment sent {"connection_id":230634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:26:45] local.INFO: TCP Data received {"connection_id":232476,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:26:45] local.INFO: Processing buffer {"connection_id":232476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:26:45] local.INFO: IMEI packet received {"connection_id":232476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":232476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:26:49] local.INFO: TCP Data received {"connection_id":232476,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:26:49] local.INFO: Processing buffer {"connection_id":232476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:26:49] local.INFO: IMEI packet received {"connection_id":232476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":232476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:26:51] local.INFO: TCP Data received {"connection_id":232476,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:26:51] local.INFO: Processing buffer {"connection_id":232476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:26:51] local.INFO: Packet analysis {"connection_id":232476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:26:51] local.INFO: Extracted packet for processing {"connection_id":232476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:26:51] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:26:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":232476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:26:51] local.INFO: GPS data processed {"connection_id":232476,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:26:51] local.INFO: Acknowledgment sent {"connection_id":232476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:27:07] local.INFO: TCP Data received {"connection_id":228844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:27:07] local.INFO: Processing buffer {"connection_id":228844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:27:07] local.INFO: IMEI packet received {"connection_id":228844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":228844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:27:12] local.INFO: TCP Data received {"connection_id":228844,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:27:12] local.INFO: Processing buffer {"connection_id":228844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:27:12] local.INFO: IMEI packet received {"connection_id":228844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":228844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:27:13] local.INFO: TCP Data received {"connection_id":228844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:27:13] local.INFO: Processing buffer {"connection_id":228844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:27:13] local.INFO: Packet analysis {"connection_id":228844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:27:13] local.INFO: Extracted packet for processing {"connection_id":228844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":228844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:27:13] local.INFO: GPS data processed {"connection_id":228844,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:27:13] local.INFO: Acknowledgment sent {"connection_id":228844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:27:15] local.INFO: TCP Data received {"connection_id":230635,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:27:15] local.INFO: Processing buffer {"connection_id":230635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:27:15] local.INFO: IMEI packet received {"connection_id":230635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":230635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:27:19] local.INFO: TCP Data received {"connection_id":230635,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:27:19] local.INFO: Processing buffer {"connection_id":230635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:27:19] local.INFO: IMEI packet received {"connection_id":230635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":230635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:27:20] local.INFO: TCP Data received {"connection_id":230635,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:27:20] local.INFO: Processing buffer {"connection_id":230635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:27:20] local.INFO: Packet analysis {"connection_id":230635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:27:20] local.INFO: Extracted packet for processing {"connection_id":230635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:27:20] 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-11-04 10:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:27:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:27:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":230635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:27:20] local.INFO: GPS data processed {"connection_id":230635,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:27:20] local.INFO: Acknowledgment sent {"connection_id":230635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:27:47] local.INFO: TCP Data received {"connection_id":228844,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:27:47] local.INFO: Processing buffer {"connection_id":228844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:27:47] local.INFO: Packet analysis {"connection_id":228844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:27:47] local.INFO: Extracted packet for processing {"connection_id":228844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":228844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:27:47] local.INFO: GPS data processed {"connection_id":228844,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:27:47] local.INFO: Acknowledgment sent {"connection_id":228844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:27:52] local.INFO: TCP Data received {"connection_id":230635,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:27:52] local.INFO: Processing buffer {"connection_id":230635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:27:52] local.INFO: Packet analysis {"connection_id":230635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:27:52] local.INFO: Extracted packet for processing {"connection_id":230635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:27:52] 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-11-04 10:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:27:52] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:27:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":230635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:27:52] local.INFO: GPS data processed {"connection_id":230635,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:27:52] local.INFO: Acknowledgment sent {"connection_id":230635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:28:07] local.INFO: TCP Data received {"connection_id":228845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:28:07] local.INFO: Processing buffer {"connection_id":228845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:28:07] local.INFO: IMEI packet received {"connection_id":228845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":228845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:28:09] local.INFO: TCP Data received {"connection_id":230636,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:28:09] local.INFO: Processing buffer {"connection_id":230636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:28:09] local.INFO: IMEI packet received {"connection_id":230636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":230636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:28:12] local.INFO: TCP Data received {"connection_id":228845,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:28:12] local.INFO: Processing buffer {"connection_id":228845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:28:12] local.INFO: IMEI packet received {"connection_id":228845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":228845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:28:14] local.INFO: TCP Data received {"connection_id":228845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:28:14] local.INFO: Processing buffer {"connection_id":228845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:28:14] local.INFO: Packet analysis {"connection_id":228845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:28:14] local.INFO: Extracted packet for processing {"connection_id":228845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":228845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:28:14] local.INFO: GPS data processed {"connection_id":228845,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:28:14] local.INFO: Acknowledgment sent {"connection_id":228845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:28:14] local.INFO: TCP Data received {"connection_id":230636,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:28:14] local.INFO: Processing buffer {"connection_id":230636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:28:14] local.INFO: IMEI packet received {"connection_id":230636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":230636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:28:15] local.INFO: TCP Data received {"connection_id":230636,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:28:15] local.INFO: Processing buffer {"connection_id":230636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:28:15] local.INFO: Packet analysis {"connection_id":230636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:28:15] local.INFO: Extracted packet for processing {"connection_id":230636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:28:15] 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-11-04 10:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:28:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":230636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:28:15] local.INFO: GPS data processed {"connection_id":230636,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:28:15] local.INFO: Acknowledgment sent {"connection_id":230636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:28:46] local.INFO: TCP Data received {"connection_id":228845,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:28:46] local.INFO: Processing buffer {"connection_id":228845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e76ac0012d34c30006aa43d0000b00902f..."} 
[2026-11-04 10:28:46] local.INFO: Packet analysis {"connection_id":228845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:28:46] local.INFO: Extracted packet for processing {"connection_id":228845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e7"} 
[2026-11-04 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":47,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204528896001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793767992000,"timestamp_ms":1793767992000,"timestamp_seconds":1793767992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e76ac0"} 
[2026-11-04 10:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-11-04 10:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":228845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":228845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":228845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204528896001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204528896001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204528896001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":228845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:28:46] local.INFO: GPS data processed {"connection_id":228845,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:28:46] local.INFO: Acknowledgment sent {"connection_id":228845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:28:47] local.INFO: TCP Data received {"connection_id":230636,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:28:47] local.INFO: Processing buffer {"connection_id":230636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:28:47] local.INFO: Packet analysis {"connection_id":230636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:28:47] local.INFO: Extracted packet for processing {"connection_id":230636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:28:47] 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-11-04 10:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:28:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:28:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":230636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:28:47] local.INFO: GPS data processed {"connection_id":230636,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:28:47] local.INFO: Acknowledgment sent {"connection_id":230636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:29:09] local.INFO: TCP Data received {"connection_id":228846,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:29:09] local.INFO: Processing buffer {"connection_id":228846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:29:09] local.INFO: IMEI packet received {"connection_id":228846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":228846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:29:12] local.INFO: TCP Data received {"connection_id":232477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:29:12] local.INFO: Processing buffer {"connection_id":232477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:29:12] local.INFO: IMEI packet received {"connection_id":232477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":232477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:29:14] local.INFO: TCP Data received {"connection_id":228846,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:29:14] local.INFO: Processing buffer {"connection_id":228846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:29:14] local.INFO: IMEI packet received {"connection_id":228846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":228846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:29:16] local.INFO: TCP Data received {"connection_id":228846,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:29:16] local.INFO: Processing buffer {"connection_id":228846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:29:16] local.INFO: Packet analysis {"connection_id":228846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:29:16] local.INFO: Extracted packet for processing {"connection_id":228846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:29:16] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:29: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-11-04 10:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:29: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-11-04 10:29: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-11-04 10:29: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-11-04 10:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:29:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:29:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":228846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:29:16] local.INFO: GPS data processed {"connection_id":228846,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:29:16] local.INFO: Acknowledgment sent {"connection_id":228846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:29:17] local.INFO: TCP Data received {"connection_id":232477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:29:17] local.INFO: Processing buffer {"connection_id":232477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:29:17] local.INFO: IMEI packet received {"connection_id":232477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":232477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:29:18] local.INFO: TCP Data received {"connection_id":232477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:29:19] local.INFO: Processing buffer {"connection_id":232477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:29:19] local.INFO: Packet analysis {"connection_id":232477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:29:19] local.INFO: Extracted packet for processing {"connection_id":232477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:29:19] 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-11-04 10:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":232477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:29:19] local.INFO: GPS data processed {"connection_id":232477,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:29:19] local.INFO: Acknowledgment sent {"connection_id":232477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:29:49] local.INFO: TCP Data received {"connection_id":228846,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:29:49] local.INFO: Processing buffer {"connection_id":228846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4e87078012cfef900070041880008013427..."} 
[2026-11-04 10:29:49] local.INFO: Packet analysis {"connection_id":228846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:29:49] local.INFO: Extracted packet for processing {"connection_id":228846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4e8"} 
[2026-11-04 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204546048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793768059000,"timestamp_ms":1793768059000,"timestamp_seconds":1793768059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4e87078"} 
[2026-11-04 10:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-11-04 10:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204546048001,"66":26473,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204546048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:29:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:29:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:29:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204546048001,"power":26473,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":228846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:29:49] local.INFO: GPS data processed {"connection_id":228846,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:29:49] local.INFO: Acknowledgment sent {"connection_id":228846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:29:50] local.INFO: TCP Data received {"connection_id":232477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:29:50] local.INFO: Processing buffer {"connection_id":232477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:29:50] local.INFO: Packet analysis {"connection_id":232477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:29:50] local.INFO: Extracted packet for processing {"connection_id":232477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:29:50] 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-11-04 10:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:29:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":232477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:29:50] local.INFO: GPS data processed {"connection_id":232477,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:29:50] local.INFO: Acknowledgment sent {"connection_id":232477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:30:07] local.INFO: TCP Data received {"connection_id":229343,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:30:07] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:30:07] local.INFO: IMEI packet received {"connection_id":229343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":229343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:30:12] local.INFO: TCP Data received {"connection_id":229343,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:30:12] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:30:12] local.INFO: IMEI packet received {"connection_id":229343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":229343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:30:14] local.INFO: TCP Data received {"connection_id":229343,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:30:14] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:30:14] local.INFO: Packet analysis {"connection_id":229343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:30:14] local.INFO: Extracted packet for processing {"connection_id":229343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:30:14] 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-11-04 10:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":229343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:30:14] local.INFO: GPS data processed {"connection_id":229343,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:30:14] local.INFO: Acknowledgment sent {"connection_id":229343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:30:14] local.INFO: TCP Data received {"connection_id":230637,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:30:14] local.INFO: Processing buffer {"connection_id":230637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:30:14] local.INFO: IMEI packet received {"connection_id":230637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":230637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:30:19] local.INFO: TCP Data received {"connection_id":230637,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:30:19] local.INFO: Processing buffer {"connection_id":230637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:30:19] local.INFO: IMEI packet received {"connection_id":230637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":230637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:30:21] local.INFO: TCP Data received {"connection_id":230637,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:30:21] local.INFO: Processing buffer {"connection_id":230637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:30:21] local.INFO: Packet analysis {"connection_id":230637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:30:21] local.INFO: Extracted packet for processing {"connection_id":230637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 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-11-04 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 10:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:30:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":230637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:30:21] local.INFO: GPS data processed {"connection_id":230637,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:30:21] local.INFO: Acknowledgment sent {"connection_id":230637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:30:25] local.INFO: TCP Data received {"connection_id":230637,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:30:25] local.INFO: Processing buffer {"connection_id":230637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:30:25] local.INFO: Packet analysis {"connection_id":230637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:30:25] local.INFO: Extracted packet for processing {"connection_id":230637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:30:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":230637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:30:25] local.INFO: GPS data processed {"connection_id":230637,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:30:25] local.INFO: Acknowledgment sent {"connection_id":230637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:30:45] local.INFO: TCP Data received {"connection_id":229343,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:30:45] local.INFO: Processing buffer {"connection_id":229343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:30:45] local.INFO: Packet analysis {"connection_id":229343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:30:45] local.INFO: Extracted packet for processing {"connection_id":229343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:30: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-11-04 10:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":229343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:30:45] local.INFO: GPS data processed {"connection_id":229343,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:30:45] local.INFO: Acknowledgment sent {"connection_id":229343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:31:07] local.INFO: TCP Data received {"connection_id":232478,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:31:07] local.INFO: Processing buffer {"connection_id":232478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:31:07] local.INFO: IMEI packet received {"connection_id":232478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":232478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:31:09] local.INFO: TCP Data received {"connection_id":232479,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:31:09] local.INFO: Processing buffer {"connection_id":232479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:31:09] local.INFO: IMEI packet received {"connection_id":232479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":232479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:31:12] local.INFO: TCP Data received {"connection_id":232478,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:31:12] local.INFO: Processing buffer {"connection_id":232478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:31:12] local.INFO: IMEI packet received {"connection_id":232478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":232478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:31:13] local.INFO: TCP Data received {"connection_id":232478,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:31:14] local.INFO: Processing buffer {"connection_id":232478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:31:14] local.INFO: Packet analysis {"connection_id":232478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:31:14] local.INFO: Extracted packet for processing {"connection_id":232478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:31:14] 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-11-04 10: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-11-04 10:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":232478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:31:14] local.INFO: GPS data processed {"connection_id":232478,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:31:14] local.INFO: Acknowledgment sent {"connection_id":232478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:31:14] local.INFO: TCP Data received {"connection_id":232479,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:31:14] local.INFO: Processing buffer {"connection_id":232479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:31:14] local.INFO: IMEI packet received {"connection_id":232479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":232479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:31:15] local.INFO: TCP Data received {"connection_id":232479,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:31:15] local.INFO: Processing buffer {"connection_id":232479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:31:15] local.INFO: Packet analysis {"connection_id":232479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:31:15] local.INFO: Extracted packet for processing {"connection_id":232479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:31:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":232479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:31:15] local.INFO: GPS data processed {"connection_id":232479,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:31:15] local.INFO: Acknowledgment sent {"connection_id":232479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:31:46] local.INFO: TCP Data received {"connection_id":232478,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:31:46] local.INFO: Processing buffer {"connection_id":232478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:31:46] local.INFO: Packet analysis {"connection_id":232478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:31:46] local.INFO: Extracted packet for processing {"connection_id":232478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:31:46] 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-11-04 10: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-11-04 10:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":232478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:31:46] local.INFO: GPS data processed {"connection_id":232478,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:31:46] local.INFO: Acknowledgment sent {"connection_id":232478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:31:47] local.INFO: TCP Data received {"connection_id":232479,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:31:47] local.INFO: Processing buffer {"connection_id":232479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:31:47] local.INFO: Packet analysis {"connection_id":232479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:31:47] local.INFO: Extracted packet for processing {"connection_id":232479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:31:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:31:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:31:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:31:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":232479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:31:48] local.INFO: GPS data processed {"connection_id":232479,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:31:48] local.INFO: Acknowledgment sent {"connection_id":232479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:32:07] local.INFO: TCP Data received {"connection_id":229344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:32:07] local.INFO: Processing buffer {"connection_id":229344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:32:07] local.INFO: IMEI packet received {"connection_id":229344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":229344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:32:09] local.INFO: TCP Data received {"connection_id":228847,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:32:09] local.INFO: Processing buffer {"connection_id":228847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:32:09] local.INFO: IMEI packet received {"connection_id":228847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":228847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:32:12] local.INFO: TCP Data received {"connection_id":229344,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:32:12] local.INFO: Processing buffer {"connection_id":229344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:32:12] local.INFO: IMEI packet received {"connection_id":229344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":229344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:32:13] local.INFO: TCP Data received {"connection_id":229344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:32:13] local.INFO: Processing buffer {"connection_id":229344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:32:13] local.INFO: Packet analysis {"connection_id":229344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:32:13] local.INFO: Extracted packet for processing {"connection_id":229344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:32:13] 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-11-04 10: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-11-04 10:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":229344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:32:13] local.INFO: GPS data processed {"connection_id":229344,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:32:13] local.INFO: Acknowledgment sent {"connection_id":229344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:32:14] local.INFO: TCP Data received {"connection_id":228847,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:32:14] local.INFO: Processing buffer {"connection_id":228847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:32:14] local.INFO: IMEI packet received {"connection_id":228847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":228847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:32:15] local.INFO: TCP Data received {"connection_id":228847,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:32:15] local.INFO: Processing buffer {"connection_id":228847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:32:15] local.INFO: Packet analysis {"connection_id":228847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:32:15] local.INFO: Extracted packet for processing {"connection_id":228847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":228847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:32:15] local.INFO: GPS data processed {"connection_id":228847,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:32:15] local.INFO: Acknowledgment sent {"connection_id":228847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:32:45] local.INFO: TCP Data received {"connection_id":229344,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:32:45] local.INFO: Processing buffer {"connection_id":229344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:32:45] local.INFO: Packet analysis {"connection_id":229344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:32:45] local.INFO: Extracted packet for processing {"connection_id":229344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:32:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:32: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-11-04 10:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:32:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":229344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:32:45] local.INFO: GPS data processed {"connection_id":229344,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:32:45] local.INFO: Acknowledgment sent {"connection_id":229344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:32:47] local.INFO: TCP Data received {"connection_id":228847,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:32:47] local.INFO: Processing buffer {"connection_id":228847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:32:47] local.INFO: Packet analysis {"connection_id":228847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:32:47] local.INFO: Extracted packet for processing {"connection_id":228847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:32:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:32:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":228847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:32:47] local.INFO: GPS data processed {"connection_id":228847,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:32:47] local.INFO: Acknowledgment sent {"connection_id":228847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:33:07] local.INFO: TCP Data received {"connection_id":229345,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:33:07] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:33:07] local.INFO: IMEI packet received {"connection_id":229345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":229345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:33:09] local.INFO: TCP Data received {"connection_id":230638,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:33:09] local.INFO: Processing buffer {"connection_id":230638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:33:09] local.INFO: IMEI packet received {"connection_id":230638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":230638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:33:12] local.INFO: TCP Data received {"connection_id":229345,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:33:12] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:33:12] local.INFO: IMEI packet received {"connection_id":229345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":229345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:33:13] local.INFO: TCP Data received {"connection_id":229345,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:33:13] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:33:13] local.INFO: Packet analysis {"connection_id":229345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:33:13] local.INFO: Extracted packet for processing {"connection_id":229345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:33:13] 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-11-04 10:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":229345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:33:13] local.INFO: GPS data processed {"connection_id":229345,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:33:13] local.INFO: Acknowledgment sent {"connection_id":229345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:33:14] local.INFO: TCP Data received {"connection_id":230638,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:33:14] local.INFO: Processing buffer {"connection_id":230638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:33:14] local.INFO: IMEI packet received {"connection_id":230638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":230638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:33:15] local.INFO: TCP Data received {"connection_id":230638,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:33:15] local.INFO: Processing buffer {"connection_id":230638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:33:15] local.INFO: Packet analysis {"connection_id":230638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:33:15] local.INFO: Extracted packet for processing {"connection_id":230638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:33:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":230638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:33:15] local.INFO: GPS data processed {"connection_id":230638,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:33:15] local.INFO: Acknowledgment sent {"connection_id":230638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:33:44] local.INFO: TCP Data received {"connection_id":229345,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:33:44] local.INFO: Processing buffer {"connection_id":229345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ec0288012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:33:44] local.INFO: Packet analysis {"connection_id":229345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:33:44] local.INFO: Extracted packet for processing {"connection_id":229345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ec"} 
[2026-11-04 10:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204605952001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793768293000,"timestamp_ms":1793768293000,"timestamp_seconds":1793768293,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ec0288"} 
[2026-11-04 10:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:33: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-11-04 10: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-11-04 10:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204605952001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204605952001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204605952001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":229345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:33:44] local.INFO: GPS data processed {"connection_id":229345,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:33:44] local.INFO: Acknowledgment sent {"connection_id":229345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:33:47] local.INFO: TCP Data received {"connection_id":230638,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:33:47] local.INFO: Processing buffer {"connection_id":230638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:33:47] local.INFO: Packet analysis {"connection_id":230638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:33:47] local.INFO: Extracted packet for processing {"connection_id":230638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:33:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:33:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:33:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":230638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:33:47] local.INFO: GPS data processed {"connection_id":230638,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:33:47] local.INFO: Acknowledgment sent {"connection_id":230638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:34:09] local.INFO: TCP Data received {"connection_id":230639,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:34:09] local.INFO: Processing buffer {"connection_id":230639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:34:09] local.INFO: IMEI packet received {"connection_id":230639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":230639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:34:12] local.INFO: TCP Data received {"connection_id":232480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:34:12] local.INFO: Processing buffer {"connection_id":232480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:34:12] local.INFO: IMEI packet received {"connection_id":232480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":232480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:34:16] local.INFO: TCP Data received {"connection_id":230639,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:34:16] local.INFO: Processing buffer {"connection_id":230639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:34:16] local.INFO: IMEI packet received {"connection_id":230639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":230639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:34:17] local.INFO: TCP Data received {"connection_id":232480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:34:17] local.INFO: Processing buffer {"connection_id":232480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:34:17] local.INFO: IMEI packet received {"connection_id":232480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":232480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:34:18] local.INFO: TCP Data received {"connection_id":230639,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:34:18] local.INFO: Processing buffer {"connection_id":230639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:34:18] local.INFO: Packet analysis {"connection_id":230639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:34:18] local.INFO: Extracted packet for processing {"connection_id":230639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:34:18] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:34:18] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:34:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:34:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":230639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:34:18] local.INFO: GPS data processed {"connection_id":230639,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:34:18] local.INFO: Acknowledgment sent {"connection_id":230639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:34:18] local.INFO: TCP Data received {"connection_id":232480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:34:18] local.INFO: Processing buffer {"connection_id":232480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:34:18] local.INFO: Packet analysis {"connection_id":232480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:34:18] local.INFO: Extracted packet for processing {"connection_id":232480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:34:18] 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-11-04 10: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-11-04 10:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":232480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:34:18] local.INFO: GPS data processed {"connection_id":232480,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:34:18] local.INFO: Acknowledgment sent {"connection_id":232480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:34:22] local.INFO: TCP Data received {"connection_id":232480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:34:22] local.INFO: Processing buffer {"connection_id":232480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:34:22] local.INFO: Packet analysis {"connection_id":232480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:34:22] local.INFO: Extracted packet for processing {"connection_id":232480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:34:22] 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-11-04 10: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-11-04 10:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":232480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:34:22] local.INFO: GPS data processed {"connection_id":232480,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:34:22] local.INFO: Acknowledgment sent {"connection_id":232480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:34:49] local.INFO: TCP Data received {"connection_id":230639,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:34:49] local.INFO: Processing buffer {"connection_id":230639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ed0840012cfef900070041880008013427..."} 
[2026-11-04 10:34:49] local.INFO: Packet analysis {"connection_id":230639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:34:49] local.INFO: Extracted packet for processing {"connection_id":230639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ed"} 
[2026-11-04 10:34:49] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204623104001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793768360000,"timestamp_ms":1793768360000,"timestamp_seconds":1793768360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ed0840"} 
[2026-11-04 10:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 10:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204623104001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204623104001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:34:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:34:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:34:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204623104001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":230639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:34:50] local.INFO: GPS data processed {"connection_id":230639,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:34:50] local.INFO: Acknowledgment sent {"connection_id":230639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:35:07] local.INFO: TCP Data received {"connection_id":232481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:35:07] local.INFO: Processing buffer {"connection_id":232481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:35:07] local.INFO: IMEI packet received {"connection_id":232481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":232481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:35:12] local.INFO: TCP Data received {"connection_id":232481,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:35:12] local.INFO: Processing buffer {"connection_id":232481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:35:12] local.INFO: IMEI packet received {"connection_id":232481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":232481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:35:13] local.INFO: TCP Data received {"connection_id":232481,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:35:13] local.INFO: Processing buffer {"connection_id":232481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:35:13] local.INFO: Packet analysis {"connection_id":232481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:35:13] local.INFO: Extracted packet for processing {"connection_id":232481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:35:13] 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-11-04 10: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-11-04 10:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":232481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:35:13] local.INFO: GPS data processed {"connection_id":232481,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:35:13] local.INFO: Acknowledgment sent {"connection_id":232481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:35:14] local.INFO: TCP Data received {"connection_id":232482,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:35:14] local.INFO: Processing buffer {"connection_id":232482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:35:14] local.INFO: IMEI packet received {"connection_id":232482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":232482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:35:19] local.INFO: TCP Data received {"connection_id":232482,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:35:19] local.INFO: Processing buffer {"connection_id":232482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:35:19] local.INFO: IMEI packet received {"connection_id":232482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":232482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:35:21] local.INFO: TCP Data received {"connection_id":232482,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:35:21] local.INFO: Processing buffer {"connection_id":232482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:35:21] local.INFO: Packet analysis {"connection_id":232482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:35:21] local.INFO: Extracted packet for processing {"connection_id":232482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:35:21] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:35:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":232482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:35:21] local.INFO: GPS data processed {"connection_id":232482,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:35:21] local.INFO: Acknowledgment sent {"connection_id":232482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:35:25] local.INFO: TCP Data received {"connection_id":232482,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:35:25] local.INFO: Processing buffer {"connection_id":232482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:35:25] local.INFO: Packet analysis {"connection_id":232482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:35:25] local.INFO: Extracted packet for processing {"connection_id":232482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:35:25] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:35:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:35:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":232482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:35:25] local.INFO: GPS data processed {"connection_id":232482,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:35:25] local.INFO: Acknowledgment sent {"connection_id":232482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:35:46] local.INFO: TCP Data received {"connection_id":232481,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:35:46] local.INFO: Processing buffer {"connection_id":232481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:35:46] local.INFO: Packet analysis {"connection_id":232481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:35:46] local.INFO: Extracted packet for processing {"connection_id":232481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:35:46] 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-11-04 10:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":232481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:35:46] local.INFO: GPS data processed {"connection_id":232481,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:35:46] local.INFO: Acknowledgment sent {"connection_id":232481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:36:07] local.INFO: TCP Data received {"connection_id":232483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:36:07] local.INFO: Processing buffer {"connection_id":232483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:36:07] local.INFO: IMEI packet received {"connection_id":232483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":232483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:36:09] local.INFO: TCP Data received {"connection_id":232484,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:36:09] local.INFO: Processing buffer {"connection_id":232484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:36:09] local.INFO: IMEI packet received {"connection_id":232484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":232484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:36:12] local.INFO: TCP Data received {"connection_id":232483,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:36:12] local.INFO: Processing buffer {"connection_id":232483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:36:12] local.INFO: IMEI packet received {"connection_id":232483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":232483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:36:13] local.INFO: TCP Data received {"connection_id":232483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:36:13] local.INFO: Processing buffer {"connection_id":232483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:36:13] local.INFO: Packet analysis {"connection_id":232483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:36:13] local.INFO: Extracted packet for processing {"connection_id":232483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:36:13] 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-11-04 10: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-11-04 10:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":232483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:36:13] local.INFO: GPS data processed {"connection_id":232483,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:36:13] local.INFO: Acknowledgment sent {"connection_id":232483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:36:14] local.INFO: TCP Data received {"connection_id":232484,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:36:14] local.INFO: Processing buffer {"connection_id":232484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:36:14] local.INFO: IMEI packet received {"connection_id":232484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":232484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:36:19] local.INFO: TCP Data received {"connection_id":232484,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:36:19] local.INFO: Processing buffer {"connection_id":232484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:36:19] local.INFO: Packet analysis {"connection_id":232484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:36:19] local.INFO: Extracted packet for processing {"connection_id":232484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:36:19] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:36:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":232484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:36:19] local.INFO: GPS data processed {"connection_id":232484,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:36:19] local.INFO: Acknowledgment sent {"connection_id":232484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:36:44] local.INFO: TCP Data received {"connection_id":232483,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:36:44] local.INFO: Processing buffer {"connection_id":232483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:36:44] local.INFO: Packet analysis {"connection_id":232483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:36:44] local.INFO: Extracted packet for processing {"connection_id":232483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:36: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-11-04 10: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-11-04 10:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":232483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:36:44] local.INFO: GPS data processed {"connection_id":232483,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:36:44] local.INFO: Acknowledgment sent {"connection_id":232483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:36:51] local.INFO: TCP Data received {"connection_id":232484,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:36:51] local.INFO: Processing buffer {"connection_id":232484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:36:51] local.INFO: Packet analysis {"connection_id":232484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:36:51] local.INFO: Extracted packet for processing {"connection_id":232484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:36:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:36:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":232484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:36:51] local.INFO: GPS data processed {"connection_id":232484,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:36:51] local.INFO: Acknowledgment sent {"connection_id":232484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:37:07] local.INFO: TCP Data received {"connection_id":229346,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:37:07] local.INFO: Processing buffer {"connection_id":229346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:37:07] local.INFO: IMEI packet received {"connection_id":229346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":229346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:37:09] local.INFO: TCP Data received {"connection_id":228848,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:37:09] local.INFO: Processing buffer {"connection_id":228848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:37:09] local.INFO: IMEI packet received {"connection_id":228848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":228848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:37:12] local.INFO: TCP Data received {"connection_id":229346,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:37:12] local.INFO: Processing buffer {"connection_id":229346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:37:12] local.INFO: IMEI packet received {"connection_id":229346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":229346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:37:13] local.INFO: TCP Data received {"connection_id":229346,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:37:13] local.INFO: Processing buffer {"connection_id":229346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:37:13] local.INFO: Packet analysis {"connection_id":229346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:37:13] local.INFO: Extracted packet for processing {"connection_id":229346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:37:13] 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-11-04 10:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":229346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:37:13] local.INFO: GPS data processed {"connection_id":229346,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:37:13] local.INFO: Acknowledgment sent {"connection_id":229346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:37:14] local.INFO: TCP Data received {"connection_id":228848,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:37:14] local.INFO: Processing buffer {"connection_id":228848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:37:14] local.INFO: IMEI packet received {"connection_id":228848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":228848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:37:15] local.INFO: TCP Data received {"connection_id":228848,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:37:15] local.INFO: Processing buffer {"connection_id":228848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:37:15] local.INFO: Packet analysis {"connection_id":228848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:37:15] local.INFO: Extracted packet for processing {"connection_id":228848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:37:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:37:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":228848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:37:15] local.INFO: GPS data processed {"connection_id":228848,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:37:15] local.INFO: Acknowledgment sent {"connection_id":228848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:37:45] local.INFO: TCP Data received {"connection_id":229346,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:37:45] local.INFO: Processing buffer {"connection_id":229346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:37:45] local.INFO: Packet analysis {"connection_id":229346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:37:45] local.INFO: Extracted packet for processing {"connection_id":229346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:37: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-11-04 10: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-11-04 10:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":229346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:37:45] local.INFO: GPS data processed {"connection_id":229346,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:37:45] local.INFO: Acknowledgment sent {"connection_id":229346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:37:47] local.INFO: TCP Data received {"connection_id":228848,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:37:47] local.INFO: Processing buffer {"connection_id":228848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:37:47] local.INFO: Packet analysis {"connection_id":228848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:37:47] local.INFO: Extracted packet for processing {"connection_id":228848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:37:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228848,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:37:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:37:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:37:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":228848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:37:47] local.INFO: GPS data processed {"connection_id":228848,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:37:47] local.INFO: Acknowledgment sent {"connection_id":228848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:38:07] local.INFO: TCP Data received {"connection_id":230640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:38:07] local.INFO: Processing buffer {"connection_id":230640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:38:07] local.INFO: IMEI packet received {"connection_id":230640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":230640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:38:09] local.INFO: TCP Data received {"connection_id":228849,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:38:09] local.INFO: Processing buffer {"connection_id":228849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:38:09] local.INFO: IMEI packet received {"connection_id":228849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":228849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:38:12] local.INFO: TCP Data received {"connection_id":230640,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:38:12] local.INFO: Processing buffer {"connection_id":230640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:38:12] local.INFO: IMEI packet received {"connection_id":230640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":230640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:38:13] local.INFO: TCP Data received {"connection_id":230640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:38:13] local.INFO: Processing buffer {"connection_id":230640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:38:13] local.INFO: Packet analysis {"connection_id":230640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:38:13] local.INFO: Extracted packet for processing {"connection_id":230640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:38:13] 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-11-04 10:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":230640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:38:13] local.INFO: GPS data processed {"connection_id":230640,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:38:13] local.INFO: Acknowledgment sent {"connection_id":230640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:38:14] local.INFO: TCP Data received {"connection_id":228849,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:38:14] local.INFO: Processing buffer {"connection_id":228849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:38:14] local.INFO: IMEI packet received {"connection_id":228849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":228849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:38:15] local.INFO: TCP Data received {"connection_id":228849,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:38:15] local.INFO: Processing buffer {"connection_id":228849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:38:15] local.INFO: Packet analysis {"connection_id":228849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:38:15] local.INFO: Extracted packet for processing {"connection_id":228849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:38:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:38:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:38:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":228849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:38:16] local.INFO: GPS data processed {"connection_id":228849,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:38:16] local.INFO: Acknowledgment sent {"connection_id":228849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:38:44] local.INFO: TCP Data received {"connection_id":230640,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:38:44] local.INFO: Processing buffer {"connection_id":230640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f09a50012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:38:44] local.INFO: Packet analysis {"connection_id":230640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:38:44] local.INFO: Extracted packet for processing {"connection_id":230640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f0"} 
[2026-11-04 10:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204683008001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793768594000,"timestamp_ms":1793768594000,"timestamp_seconds":1793768594,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f09a50"} 
[2026-11-04 10:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:38: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-11-04 10: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-11-04 10:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204683008001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204683008001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204683008001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":230640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:38:44] local.INFO: GPS data processed {"connection_id":230640,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:38:44] local.INFO: Acknowledgment sent {"connection_id":230640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:38:47] local.INFO: TCP Data received {"connection_id":228849,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:38:47] local.INFO: Processing buffer {"connection_id":228849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:38:47] local.INFO: Packet analysis {"connection_id":228849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:38:47] local.INFO: Extracted packet for processing {"connection_id":228849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:38: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-11-04 10:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:38: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:38:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:38: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-11-04 10:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:38:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:38:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":228849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:38:47] local.INFO: GPS data processed {"connection_id":228849,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:38:47] local.INFO: Acknowledgment sent {"connection_id":228849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:39:12] local.INFO: TCP Data received {"connection_id":230641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:39:12] local.INFO: Processing buffer {"connection_id":230641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:39:12] local.INFO: IMEI packet received {"connection_id":230641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":230641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:39:14] local.INFO: TCP Data received {"connection_id":230642,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:39:14] local.INFO: Processing buffer {"connection_id":230642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:39:14] local.INFO: IMEI packet received {"connection_id":230642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":230642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:39:17] local.INFO: TCP Data received {"connection_id":230641,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:39:17] local.INFO: Processing buffer {"connection_id":230641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:39:17] local.INFO: IMEI packet received {"connection_id":230641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":230641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:39:18] local.INFO: TCP Data received {"connection_id":230641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:39:18] local.INFO: Processing buffer {"connection_id":230641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:39:18] local.INFO: Packet analysis {"connection_id":230641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:39:18] local.INFO: Extracted packet for processing {"connection_id":230641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:39:18] 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-11-04 10: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-11-04 10:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":230641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:39:18] local.INFO: GPS data processed {"connection_id":230641,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:39:18] local.INFO: Acknowledgment sent {"connection_id":230641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:39:19] local.INFO: TCP Data received {"connection_id":230642,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:39:19] local.INFO: Processing buffer {"connection_id":230642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:39:19] local.INFO: IMEI packet received {"connection_id":230642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":230642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:39:20] local.INFO: TCP Data received {"connection_id":230642,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:39:20] local.INFO: Processing buffer {"connection_id":230642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:39:20] local.INFO: Packet analysis {"connection_id":230642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:39:20] local.INFO: Extracted packet for processing {"connection_id":230642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:39:20] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:39:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:39:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":230642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:39:20] local.INFO: GPS data processed {"connection_id":230642,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:39:20] local.INFO: Acknowledgment sent {"connection_id":230642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:39:23] local.INFO: TCP Data received {"connection_id":230641,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:39:23] local.INFO: Processing buffer {"connection_id":230641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:39:23] local.INFO: Packet analysis {"connection_id":230641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:39:23] local.INFO: Extracted packet for processing {"connection_id":230641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:39:23] 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-11-04 10: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-11-04 10:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:39:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":230641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:39:23] local.INFO: GPS data processed {"connection_id":230641,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:39:23] local.INFO: Acknowledgment sent {"connection_id":230641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:39:25] local.INFO: TCP Data received {"connection_id":230642,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:39:25] local.INFO: Processing buffer {"connection_id":230642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f1a008012cfef900070041880008013427..."} 
[2026-11-04 10:39:25] local.INFO: Packet analysis {"connection_id":230642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:39:25] local.INFO: Extracted packet for processing {"connection_id":230642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f1"} 
[2026-11-04 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204700160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793768661000,"timestamp_ms":1793768661000,"timestamp_seconds":1793768661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f1a008"} 
[2026-11-04 10:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":230642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":230642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":230642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204700160001,"66":26539,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204700160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:39:25] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:39:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204700160001,"power":26539,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":230642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:39:25] local.INFO: GPS data processed {"connection_id":230642,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:39:25] local.INFO: Acknowledgment sent {"connection_id":230642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:40:07] local.INFO: TCP Data received {"connection_id":229347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:40:07] local.INFO: Processing buffer {"connection_id":229347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:40:07] local.INFO: IMEI packet received {"connection_id":229347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":229347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:40:09] local.INFO: TCP Data received {"connection_id":229348,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:40:09] local.INFO: Processing buffer {"connection_id":229348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:40:09] local.INFO: IMEI packet received {"connection_id":229348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":229348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:40:12] local.INFO: TCP Data received {"connection_id":229347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:40:12] local.INFO: Processing buffer {"connection_id":229347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:40:12] local.INFO: IMEI packet received {"connection_id":229347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":229347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:40:13] local.INFO: TCP Data received {"connection_id":229347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:40:13] local.INFO: Processing buffer {"connection_id":229347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:40:13] local.INFO: Packet analysis {"connection_id":229347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:40:13] local.INFO: Extracted packet for processing {"connection_id":229347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:40:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:40:13] 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-11-04 10: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-11-04 10:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":229347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:40:13] local.INFO: GPS data processed {"connection_id":229347,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:40:13] local.INFO: Acknowledgment sent {"connection_id":229347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:40:14] local.INFO: TCP Data received {"connection_id":229348,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:40:14] local.INFO: Processing buffer {"connection_id":229348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:40:14] local.INFO: IMEI packet received {"connection_id":229348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":229348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:40:15] local.INFO: TCP Data received {"connection_id":229348,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:40:15] local.INFO: Processing buffer {"connection_id":229348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:40:15] local.INFO: Packet analysis {"connection_id":229348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:40:15] local.INFO: Extracted packet for processing {"connection_id":229348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:40:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 10:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:40:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":229348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:40:15] local.INFO: GPS data processed {"connection_id":229348,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:40:15] local.INFO: Acknowledgment sent {"connection_id":229348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:40:44] local.INFO: TCP Data received {"connection_id":229347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:40:44] local.INFO: Processing buffer {"connection_id":229347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:40:44] local.INFO: Packet analysis {"connection_id":229347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:40:44] local.INFO: Extracted packet for processing {"connection_id":229347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:40: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-11-04 10: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-11-04 10:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:40:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":229347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:40:44] local.INFO: GPS data processed {"connection_id":229347,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:40:44] local.INFO: Acknowledgment sent {"connection_id":229347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:40:47] local.INFO: TCP Data received {"connection_id":229348,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:40:47] local.INFO: Processing buffer {"connection_id":229348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:40:47] local.INFO: Packet analysis {"connection_id":229348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:40:47] local.INFO: Extracted packet for processing {"connection_id":229348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 10:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:40:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:40:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":229348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:40:47] local.INFO: GPS data processed {"connection_id":229348,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:40:47] local.INFO: Acknowledgment sent {"connection_id":229348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:41:07] local.INFO: TCP Data received {"connection_id":232485,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:41:07] local.INFO: Processing buffer {"connection_id":232485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:41:07] local.INFO: IMEI packet received {"connection_id":232485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":232485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:41:09] local.INFO: TCP Data received {"connection_id":232486,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:41:09] local.INFO: Processing buffer {"connection_id":232486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:41:09] local.INFO: IMEI packet received {"connection_id":232486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":232486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:41:12] local.INFO: TCP Data received {"connection_id":232485,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:41:12] local.INFO: Processing buffer {"connection_id":232485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:41:12] local.INFO: IMEI packet received {"connection_id":232485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":232485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:41:14] local.INFO: TCP Data received {"connection_id":232485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:41:14] local.INFO: Processing buffer {"connection_id":232485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:41:14] local.INFO: Packet analysis {"connection_id":232485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:41:14] local.INFO: Extracted packet for processing {"connection_id":232485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:41:14] 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-11-04 10: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-11-04 10:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":232485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:41:14] local.INFO: GPS data processed {"connection_id":232485,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:41:14] local.INFO: Acknowledgment sent {"connection_id":232485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:41:14] local.INFO: TCP Data received {"connection_id":232486,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:41:14] local.INFO: Processing buffer {"connection_id":232486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:41:14] local.INFO: IMEI packet received {"connection_id":232486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":232486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:41:15] local.INFO: TCP Data received {"connection_id":232486,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:41:15] local.INFO: Processing buffer {"connection_id":232486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:41:15] local.INFO: Packet analysis {"connection_id":232486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:41:15] local.INFO: Extracted packet for processing {"connection_id":232486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 10:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:41:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":232486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:41:15] local.INFO: GPS data processed {"connection_id":232486,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:41:15] local.INFO: Acknowledgment sent {"connection_id":232486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:41:46] local.INFO: TCP Data received {"connection_id":232485,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:41:46] local.INFO: Processing buffer {"connection_id":232485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:41:46] local.INFO: Packet analysis {"connection_id":232485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:41:46] local.INFO: Extracted packet for processing {"connection_id":232485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 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-11-04 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:41:46] 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-11-04 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-11-04 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-11-04 10:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":232485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:41:46] local.INFO: GPS data processed {"connection_id":232485,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:41:46] local.INFO: Acknowledgment sent {"connection_id":232485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:41:47] local.INFO: TCP Data received {"connection_id":232486,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:41:47] local.INFO: Processing buffer {"connection_id":232486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:41:47] local.INFO: Packet analysis {"connection_id":232486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:41:47] local.INFO: Extracted packet for processing {"connection_id":232486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 10:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:41:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:41:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":232486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:41:47] local.INFO: GPS data processed {"connection_id":232486,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:41:47] local.INFO: Acknowledgment sent {"connection_id":232486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:42:07] local.INFO: TCP Data received {"connection_id":229349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:42:07] local.INFO: Processing buffer {"connection_id":229349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:42:07] local.INFO: IMEI packet received {"connection_id":229349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":229349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:42:12] local.INFO: TCP Data received {"connection_id":229349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:42:12] local.INFO: Processing buffer {"connection_id":229349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:42:12] local.INFO: IMEI packet received {"connection_id":229349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":229349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:42:13] local.INFO: TCP Data received {"connection_id":229349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:42:13] local.INFO: Processing buffer {"connection_id":229349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:42:13] local.INFO: Packet analysis {"connection_id":229349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:42:13] local.INFO: Extracted packet for processing {"connection_id":229349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:42:13] 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-11-04 10:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":229349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:42:13] local.INFO: GPS data processed {"connection_id":229349,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:42:13] local.INFO: Acknowledgment sent {"connection_id":229349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:42:14] local.INFO: TCP Data received {"connection_id":228850,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:42:14] local.INFO: Processing buffer {"connection_id":228850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:42:14] local.INFO: IMEI packet received {"connection_id":228850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":228850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:42:19] local.INFO: TCP Data received {"connection_id":228850,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:42:19] local.INFO: Processing buffer {"connection_id":228850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:42:19] local.INFO: IMEI packet received {"connection_id":228850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":228850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:42:21] local.INFO: TCP Data received {"connection_id":228850,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:42:21] local.INFO: Processing buffer {"connection_id":228850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:42:21] local.INFO: Packet analysis {"connection_id":228850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:42:21] local.INFO: Extracted packet for processing {"connection_id":228850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:42:21] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 10:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:42: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-11-04 10:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:42:21] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:42:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":228850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:42:21] local.INFO: GPS data processed {"connection_id":228850,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:42:21] local.INFO: Acknowledgment sent {"connection_id":228850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:42:45] local.INFO: TCP Data received {"connection_id":229349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:42:45] local.INFO: Processing buffer {"connection_id":229349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:42:45] local.INFO: Packet analysis {"connection_id":229349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:42:45] local.INFO: Extracted packet for processing {"connection_id":229349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:42:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:42: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-11-04 10: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-11-04 10:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:42:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":229349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:42:45] local.INFO: GPS data processed {"connection_id":229349,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:42:45] local.INFO: Acknowledgment sent {"connection_id":229349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:42:53] local.INFO: TCP Data received {"connection_id":228850,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:42:53] local.INFO: Processing buffer {"connection_id":228850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:42:53] local.INFO: Packet analysis {"connection_id":228850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:42:53] local.INFO: Extracted packet for processing {"connection_id":228850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 10:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":228850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":228850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":228850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:42:53] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:42:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:42:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":228850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:42:54] local.INFO: GPS data processed {"connection_id":228850,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:42:54] local.INFO: Acknowledgment sent {"connection_id":228850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:43:07] local.INFO: TCP Data received {"connection_id":232487,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:43:07] local.INFO: Processing buffer {"connection_id":232487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:43:07] local.INFO: IMEI packet received {"connection_id":232487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":232487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:43:09] local.INFO: TCP Data received {"connection_id":230643,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:43:09] local.INFO: Processing buffer {"connection_id":230643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:43:09] local.INFO: IMEI packet received {"connection_id":230643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":230643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:43:12] local.INFO: TCP Data received {"connection_id":232487,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:43:12] local.INFO: Processing buffer {"connection_id":232487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:43:12] local.INFO: IMEI packet received {"connection_id":232487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":232487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:43:13] local.INFO: TCP Data received {"connection_id":232487,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:43:13] local.INFO: Processing buffer {"connection_id":232487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:43:13] local.INFO: Packet analysis {"connection_id":232487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:43:13] local.INFO: Extracted packet for processing {"connection_id":232487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:43:13] 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-11-04 10: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-11-04 10:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":232487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:43:13] local.INFO: GPS data processed {"connection_id":232487,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:43:13] local.INFO: Acknowledgment sent {"connection_id":232487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:43:14] local.INFO: TCP Data received {"connection_id":230643,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:43:14] local.INFO: Processing buffer {"connection_id":230643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:43:14] local.INFO: IMEI packet received {"connection_id":230643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":230643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:43:15] local.INFO: TCP Data received {"connection_id":230643,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:43:15] local.INFO: Processing buffer {"connection_id":230643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:43:15] local.INFO: Packet analysis {"connection_id":230643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:43:15] local.INFO: Extracted packet for processing {"connection_id":230643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:43:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 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-11-04 10:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 10:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:43:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":230643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:43:16] local.INFO: GPS data processed {"connection_id":230643,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:43:16] local.INFO: Acknowledgment sent {"connection_id":230643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:43:44] local.INFO: TCP Data received {"connection_id":232487,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:43:44] local.INFO: Processing buffer {"connection_id":232487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f53218012d34c30006aa43d0000b00902b..."} 
[2026-11-04 10:43:44] local.INFO: Packet analysis {"connection_id":232487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:43:44] local.INFO: Extracted packet for processing {"connection_id":232487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f5"} 
[2026-11-04 10:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204760064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793768895000,"timestamp_ms":1793768895000,"timestamp_seconds":1793768895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f53218"} 
[2026-11-04 10:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:43: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-11-04 10: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-11-04 10:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204760064001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204760064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204760064001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":232487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:43:44] local.INFO: GPS data processed {"connection_id":232487,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:43:44] local.INFO: Acknowledgment sent {"connection_id":232487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:43:47] local.INFO: TCP Data received {"connection_id":230643,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:43:47] local.INFO: Processing buffer {"connection_id":230643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:43:47] local.INFO: Packet analysis {"connection_id":230643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:43:47] local.INFO: Extracted packet for processing {"connection_id":230643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 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-11-04 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 10:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:43:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:43:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":230643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:43:47] local.INFO: GPS data processed {"connection_id":230643,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:43:47] local.INFO: Acknowledgment sent {"connection_id":230643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:44:09] local.INFO: TCP Data received {"connection_id":229350,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:44:09] local.INFO: Processing buffer {"connection_id":229350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:44:09] local.INFO: IMEI packet received {"connection_id":229350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":229350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:44:12] local.INFO: TCP Data received {"connection_id":232488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:44:12] local.INFO: Processing buffer {"connection_id":232488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:44:12] local.INFO: IMEI packet received {"connection_id":232488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":232488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:44:14] local.INFO: TCP Data received {"connection_id":229350,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229350,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:44:14] local.INFO: Processing buffer {"connection_id":229350,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:44:14] local.INFO: IMEI packet received {"connection_id":229350,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":229350,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:44:16] local.INFO: TCP Data received {"connection_id":229350,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:44:16] local.INFO: Processing buffer {"connection_id":229350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:44:16] local.INFO: Packet analysis {"connection_id":229350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:44:16] local.INFO: Extracted packet for processing {"connection_id":229350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 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-11-04 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 10:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":229350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:44:16] local.INFO: GPS data processed {"connection_id":229350,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:44:16] local.INFO: Acknowledgment sent {"connection_id":229350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:44:17] local.INFO: TCP Data received {"connection_id":232488,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:44:17] local.INFO: Processing buffer {"connection_id":232488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:44:17] local.INFO: IMEI packet received {"connection_id":232488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":232488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:44:18] local.INFO: TCP Data received {"connection_id":232488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:44:18] local.INFO: Processing buffer {"connection_id":232488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:44:18] local.INFO: Packet analysis {"connection_id":232488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:44:18] local.INFO: Extracted packet for processing {"connection_id":232488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:44:18] 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-11-04 10: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-11-04 10:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":232488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:44:18] local.INFO: GPS data processed {"connection_id":232488,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:44:18] local.INFO: Acknowledgment sent {"connection_id":232488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:44:23] local.INFO: TCP Data received {"connection_id":232488,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:44:23] local.INFO: Processing buffer {"connection_id":232488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:44:23] local.INFO: Packet analysis {"connection_id":232488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:44:23] local.INFO: Extracted packet for processing {"connection_id":232488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:44:23] 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-11-04 10:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":232488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:44:23] local.INFO: GPS data processed {"connection_id":232488,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:44:23] local.INFO: Acknowledgment sent {"connection_id":232488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:44:47] local.INFO: TCP Data received {"connection_id":229350,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:44:47] local.INFO: Processing buffer {"connection_id":229350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f637d0012cfef900070041880008013427..."} 
[2026-11-04 10:44:47] local.INFO: Packet analysis {"connection_id":229350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:44:47] local.INFO: Extracted packet for processing {"connection_id":229350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f6"} 
[2026-11-04 10:44:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204777216001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793768962000,"timestamp_ms":1793768962000,"timestamp_seconds":1793768962,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f637d0"} 
[2026-11-04 10:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-11-04 10:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229350,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204777216001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204777216001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:44:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:44:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204777216001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":229350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:44:48] local.INFO: GPS data processed {"connection_id":229350,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:44:48] local.INFO: Acknowledgment sent {"connection_id":229350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:45:08] local.INFO: TCP Data received {"connection_id":228851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:45:08] local.INFO: Processing buffer {"connection_id":228851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:45:08] local.INFO: IMEI packet received {"connection_id":228851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":228851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:45:09] local.INFO: TCP Data received {"connection_id":230644,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:45:09] local.INFO: Processing buffer {"connection_id":230644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:45:09] local.INFO: IMEI packet received {"connection_id":230644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":230644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:45:12] local.INFO: TCP Data received {"connection_id":228851,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:45:12] local.INFO: Processing buffer {"connection_id":228851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:45:12] local.INFO: IMEI packet received {"connection_id":228851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":228851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:45:13] local.INFO: TCP Data received {"connection_id":228851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:45:13] local.INFO: Processing buffer {"connection_id":228851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:45:13] local.INFO: Packet analysis {"connection_id":228851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:45:13] local.INFO: Extracted packet for processing {"connection_id":228851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:45:13] 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-11-04 10: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-11-04 10:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":228851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:45:13] local.INFO: GPS data processed {"connection_id":228851,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:45:13] local.INFO: Acknowledgment sent {"connection_id":228851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:45:14] local.INFO: TCP Data received {"connection_id":230644,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:45:14] local.INFO: Processing buffer {"connection_id":230644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:45:14] local.INFO: IMEI packet received {"connection_id":230644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":230644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:45:15] local.INFO: TCP Data received {"connection_id":230644,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4facf98012cfef900070041880008013427..."} 
[2026-11-04 10:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4facf98012cfef900070041880008013427..."} 
[2026-11-04 10:45:15] local.INFO: Processing buffer {"connection_id":230644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4facf98012cfef900070041880008013427..."} 
[2026-11-04 10:45:15] local.INFO: Packet analysis {"connection_id":230644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fa"} 
[2026-11-04 10:45:15] local.INFO: Extracted packet for processing {"connection_id":230644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fa"} 
[2026-11-04 10:45:15] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204854272001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793769263000,"timestamp_ms":1793769263000,"timestamp_seconds":1793769263,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4facf98"} 
[2026-11-04 10:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204854272001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204854272001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:45:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204854272001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":230644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:45:15] local.INFO: GPS data processed {"connection_id":230644,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:45:15] local.INFO: Acknowledgment sent {"connection_id":230644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:45:45] local.INFO: TCP Data received {"connection_id":228851,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:45:45] local.INFO: Processing buffer {"connection_id":228851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:45:45] local.INFO: Packet analysis {"connection_id":228851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:45:45] local.INFO: Extracted packet for processing {"connection_id":228851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 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-11-04 10:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:45: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-11-04 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-11-04 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-11-04 10:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":228851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:45:45] local.INFO: GPS data processed {"connection_id":228851,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:45:45] local.INFO: Acknowledgment sent {"connection_id":228851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:45:47] local.INFO: TCP Data received {"connection_id":230644,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fb5c38012cfef900070041880008013427..."} 
[2026-11-04 10:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fb5c38012cfef900070041880008013427..."} 
[2026-11-04 10:45:47] local.INFO: Processing buffer {"connection_id":230644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fb5c38012cfef900070041880008013427..."} 
[2026-11-04 10:45:47] local.INFO: Packet analysis {"connection_id":230644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fb"} 
[2026-11-04 10:45:47] local.INFO: Extracted packet for processing {"connection_id":230644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fb"} 
[2026-11-04 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117457288,"longitude_deg":75.4907392,"latitude_deg":11.7457288,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfef900","hex_latitude":"07004188","is_valid_coordinates":true} 
[2026-11-04 10:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204931328001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793769299000,"timestamp_ms":1793769299000,"timestamp_seconds":1793769299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fb5c38"} 
[2026-11-04 10:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230644,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204931328001,"66":26528,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204931328001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:45:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:45:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:45:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204931328001,"power":26528,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":230644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:45:48] local.INFO: GPS data processed {"connection_id":230644,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:45:48] local.INFO: Acknowledgment sent {"connection_id":230644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:46:06] local.INFO: TCP Data received {"connection_id":232489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:46:07] local.INFO: Processing buffer {"connection_id":232489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:46:07] local.INFO: IMEI packet received {"connection_id":232489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":232489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:46:10] local.INFO: TCP Data received {"connection_id":232490,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:46:10] local.INFO: Processing buffer {"connection_id":232490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:46:10] local.INFO: IMEI packet received {"connection_id":232490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":232490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:46:12] local.INFO: TCP Data received {"connection_id":232489,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:46:12] local.INFO: Processing buffer {"connection_id":232489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:46:12] local.INFO: IMEI packet received {"connection_id":232489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":232489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:46:13] local.INFO: TCP Data received {"connection_id":232489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:46:13] local.INFO: Processing buffer {"connection_id":232489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:46:13] local.INFO: Packet analysis {"connection_id":232489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:46:13] local.INFO: Extracted packet for processing {"connection_id":232489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 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-11-04 10:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:46:13] 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-11-04 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-11-04 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-11-04 10:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":232489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:46:13] local.INFO: GPS data processed {"connection_id":232489,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:46:13] local.INFO: Acknowledgment sent {"connection_id":232489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:46:15] local.INFO: TCP Data received {"connection_id":232490,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:46:15] local.INFO: Processing buffer {"connection_id":232490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:46:15] local.INFO: IMEI packet received {"connection_id":232490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":232490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:46:17] local.INFO: TCP Data received {"connection_id":232490,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fbb610012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fbb610012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:17] local.INFO: Processing buffer {"connection_id":232490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fbb610012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:17] local.INFO: Packet analysis {"connection_id":232490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fb"} 
[2026-11-04 10:46:17] local.INFO: Extracted packet for processing {"connection_id":232490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fb"} 
[2026-11-04 10:46:17] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204940544001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793769322000,"timestamp_ms":1793769322000,"timestamp_seconds":1793769322,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fbb610"} 
[2026-11-04 10:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204940544001,"66":28245,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204940544001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:46:17] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:46:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:46:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204940544001,"power":28245,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":232490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:46:17] local.INFO: GPS data processed {"connection_id":232490,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:46:17] local.INFO: Acknowledgment sent {"connection_id":232490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:46:19] local.INFO: TCP Data received {"connection_id":232490,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fbb610012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fbb610012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:19] local.INFO: Processing buffer {"connection_id":232490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fbb610012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:19] local.INFO: Packet analysis {"connection_id":232490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fb"} 
[2026-11-04 10:46:19] local.INFO: Extracted packet for processing {"connection_id":232490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fb"} 
[2026-11-04 10:46:19] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204940544001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74027888805836800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793769322000,"timestamp_ms":1793769322000,"timestamp_seconds":1793769322,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fbb610"} 
[2026-11-04 10:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 10:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204940544001,"66":28245,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-74027888805836800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204940544001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:46:19] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:46:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74027888805836800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204940544001,"power":28245,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74027888805836800}} 
[2026-11-04 10:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":232490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:46:20] local.INFO: GPS data processed {"connection_id":232490,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:46:20] local.INFO: Acknowledgment sent {"connection_id":232490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:46:44] local.INFO: TCP Data received {"connection_id":232489,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:46:44] local.INFO: Processing buffer {"connection_id":232489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:46:44] local.INFO: Packet analysis {"connection_id":232489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:46:44] local.INFO: Extracted packet for processing {"connection_id":232489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:46: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-11-04 10: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-11-04 10:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":232489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:46:44] local.INFO: GPS data processed {"connection_id":232489,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:46:44] local.INFO: Acknowledgment sent {"connection_id":232489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:46:51] local.INFO: TCP Data received {"connection_id":232490,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fc0818012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fc0818012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:51] local.INFO: Processing buffer {"connection_id":232490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fc0818012cfefa40070041a80008013427..."} 
[2026-11-04 10:46:51] local.INFO: Packet analysis {"connection_id":232490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:46:51] local.INFO: Extracted packet for processing {"connection_id":232490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204946432001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793769343000,"timestamp_ms":1793769343000,"timestamp_seconds":1793769343,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fc0818"} 
[2026-11-04 10:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 10:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204946432001,"66":28452,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204946432001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:46:51] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:46:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204946432001,"power":28452,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":232490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:46:51] local.INFO: GPS data processed {"connection_id":232490,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:46:51] local.INFO: Acknowledgment sent {"connection_id":232490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:47:07] local.INFO: TCP Data received {"connection_id":230645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:47:07] local.INFO: Processing buffer {"connection_id":230645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:47:07] local.INFO: IMEI packet received {"connection_id":230645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":230645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:47:09] local.INFO: TCP Data received {"connection_id":230646,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:47:09] local.INFO: Processing buffer {"connection_id":230646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:47:09] local.INFO: IMEI packet received {"connection_id":230646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":230646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:47:12] local.INFO: TCP Data received {"connection_id":230645,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:47:12] local.INFO: Processing buffer {"connection_id":230645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:47:12] local.INFO: IMEI packet received {"connection_id":230645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":230645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:47:13] local.INFO: TCP Data received {"connection_id":230645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:47:13] local.INFO: Processing buffer {"connection_id":230645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:47:13] local.INFO: Packet analysis {"connection_id":230645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:47:13] local.INFO: Extracted packet for processing {"connection_id":230645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:47:13] 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-11-04 10: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-11-04 10:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":230645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:47:13] local.INFO: GPS data processed {"connection_id":230645,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:47:13] local.INFO: Acknowledgment sent {"connection_id":230645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:47:14] local.INFO: TCP Data received {"connection_id":230646,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:47:14] local.INFO: Processing buffer {"connection_id":230646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:47:14] local.INFO: IMEI packet received {"connection_id":230646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":230646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:47:16] local.INFO: TCP Data received {"connection_id":230646,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fc5a20012cfefa40070041a80008013427..."} 
[2026-11-04 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fc5a20012cfefa40070041a80008013427..."} 
[2026-11-04 10:47:16] local.INFO: Processing buffer {"connection_id":230646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fc5a20012cfefa40070041a80008013427..."} 
[2026-11-04 10:47:16] local.INFO: Packet analysis {"connection_id":230646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:47:16] local.INFO: Extracted packet for processing {"connection_id":230646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204951808001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793769364000,"timestamp_ms":1793769364000,"timestamp_seconds":1793769364,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fc5a20"} 
[2026-11-04 10:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 10:47: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-11-04 10: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-11-04 10:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204951808001,"66":28126,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204951808001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:47:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:47:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204951808001,"power":28126,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":230646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:47:16] local.INFO: GPS data processed {"connection_id":230646,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:47:16] local.INFO: Acknowledgment sent {"connection_id":230646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:47:45] local.INFO: TCP Data received {"connection_id":230645,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:47:45] local.INFO: Processing buffer {"connection_id":230645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:47:45] local.INFO: Packet analysis {"connection_id":230645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:47:45] local.INFO: Extracted packet for processing {"connection_id":230645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:47: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-11-04 10:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":230645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:47:45] local.INFO: GPS data processed {"connection_id":230645,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:47:45] local.INFO: Acknowledgment sent {"connection_id":230645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:47:48] local.INFO: TCP Data received {"connection_id":230646,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fcac28012cfefa40070041a80008013427..."} 
[2026-11-04 10:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fcac28012cfefa40070041a80008013427..."} 
[2026-11-04 10:47:48] local.INFO: Processing buffer {"connection_id":230646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fcac28012cfefa40070041a80008013427..."} 
[2026-11-04 10:47:48] local.INFO: Packet analysis {"connection_id":230646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:47:48] local.INFO: Extracted packet for processing {"connection_id":230646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:47:48] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204957184001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793769385000,"timestamp_ms":1793769385000,"timestamp_seconds":1793769385,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fcac28"} 
[2026-11-04 10:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 10:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230646,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204957184001,"66":28430,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204957184001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:47:48] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:47:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:47:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204957184001,"power":28430,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":230646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:47:48] local.INFO: GPS data processed {"connection_id":230646,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:47:48] local.INFO: Acknowledgment sent {"connection_id":230646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:48:07] local.INFO: TCP Data received {"connection_id":229351,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:48:07] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:48:07] local.INFO: IMEI packet received {"connection_id":229351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":229351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:48:09] local.INFO: TCP Data received {"connection_id":229352,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:48:09] local.INFO: Processing buffer {"connection_id":229352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:48:09] local.INFO: IMEI packet received {"connection_id":229352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":229352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:48:12] local.INFO: TCP Data received {"connection_id":229351,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:48:12] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:48:12] local.INFO: IMEI packet received {"connection_id":229351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":229351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:48:13] local.INFO: TCP Data received {"connection_id":229351,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:48:13] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:48:13] local.INFO: Packet analysis {"connection_id":229351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:48:13] local.INFO: Extracted packet for processing {"connection_id":229351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:48:13] 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-11-04 10: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-11-04 10:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":229351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:48:13] local.INFO: GPS data processed {"connection_id":229351,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:48:13] local.INFO: Acknowledgment sent {"connection_id":229351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:48:14] local.INFO: TCP Data received {"connection_id":229352,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:48:14] local.INFO: Processing buffer {"connection_id":229352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:48:14] local.INFO: IMEI packet received {"connection_id":229352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":229352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:48:22] local.INFO: TCP Data received {"connection_id":229352,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fcfe30012cfefa40070041a80008013427..."} 
[2026-11-04 10:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fcfe30012cfefa40070041a80008013427..."} 
[2026-11-04 10:48:22] local.INFO: Processing buffer {"connection_id":229352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fcfe30012cfefa40070041a80008013427..."} 
[2026-11-04 10:48:22] local.INFO: Packet analysis {"connection_id":229352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:48:22] local.INFO: Extracted packet for processing {"connection_id":229352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fc"} 
[2026-11-04 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793769406000,"timestamp_ms":1793769406000,"timestamp_seconds":1793769406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fcfe30"} 
[2026-11-04 10:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:48:22] 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-11-04 10:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204962560001,"66":28452,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:48:22] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:48:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:48:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204962560001,"power":28452,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":229352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:48:22] local.INFO: GPS data processed {"connection_id":229352,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:48:22] local.INFO: Acknowledgment sent {"connection_id":229352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:48:45] local.INFO: TCP Data received {"connection_id":229351,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:48:45] local.INFO: Processing buffer {"connection_id":229351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4f9c9e0012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:48:45] local.INFO: Packet analysis {"connection_id":229351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:48:45] local.INFO: Extracted packet for processing {"connection_id":229351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4f9"} 
[2026-11-04 10:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204837120001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793769196000,"timestamp_ms":1793769196000,"timestamp_seconds":1793769196,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4f9c9e0"} 
[2026-11-04 10:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:48: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-11-04 10:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204837120001,"66":25702,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204837120001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:48:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204837120001,"power":25702,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":229351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:48:45] local.INFO: GPS data processed {"connection_id":229351,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:48:45] local.INFO: Acknowledgment sent {"connection_id":229351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:48:54] local.INFO: TCP Data received {"connection_id":229352,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fd5038012cfefa40070041a80008013427..."} 
[2026-11-04 10:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fd5038012cfefa40070041a80008013427..."} 
[2026-11-04 10:48:54] local.INFO: Processing buffer {"connection_id":229352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fd5038012cfefa40070041a80008013427..."} 
[2026-11-04 10:48:54] local.INFO: Packet analysis {"connection_id":229352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fd"} 
[2026-11-04 10:48:54] local.INFO: Extracted packet for processing {"connection_id":229352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fd"} 
[2026-11-04 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":754907712,"raw_latitude":117457320,"longitude_deg":75.4907712,"latitude_deg":11.745732,"altitude":8,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2cfefa40","hex_latitude":"070041a8","is_valid_coordinates":true} 
[2026-11-04 10:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204967936001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793769427000,"timestamp_ms":1793769427000,"timestamp_seconds":1793769427,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fd5038"} 
[2026-11-04 10:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:48:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 10:48:54] 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-11-04 10:48:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204967936001,"66":28104,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204967936001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:48:54] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:48:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:48:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204967936001,"power":28104,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":229352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:48:54] local.INFO: GPS data processed {"connection_id":229352,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:48:54] local.INFO: Acknowledgment sent {"connection_id":229352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:49:12] local.INFO: TCP Data received {"connection_id":230647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:49:12] local.INFO: Processing buffer {"connection_id":230647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:49:12] local.INFO: IMEI packet received {"connection_id":230647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":230647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:49:14] local.INFO: TCP Data received {"connection_id":230648,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:49:14] local.INFO: Processing buffer {"connection_id":230648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:49:14] local.INFO: IMEI packet received {"connection_id":230648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":230648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:49:17] local.INFO: TCP Data received {"connection_id":230647,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:49:17] local.INFO: Processing buffer {"connection_id":230647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:49:17] local.INFO: IMEI packet received {"connection_id":230647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":230647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:49:19] local.INFO: TCP Data received {"connection_id":230648,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:49:19] local.INFO: Processing buffer {"connection_id":230648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:49:19] local.INFO: IMEI packet received {"connection_id":230648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":230648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:49:19] local.INFO: TCP Data received {"connection_id":230647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:49:19] local.INFO: Processing buffer {"connection_id":230647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:49:19] local.INFO: Packet analysis {"connection_id":230647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:49:19] local.INFO: Extracted packet for processing {"connection_id":230647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:49:19] 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-11-04 10:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":230647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:49:19] local.INFO: GPS data processed {"connection_id":230647,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:49:19] local.INFO: Acknowledgment sent {"connection_id":230647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:49:20] local.INFO: TCP Data received {"connection_id":230648,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fda240012cfee68007006bb0000d012d28..."} 
[2026-11-04 10:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fda240012cfee68007006bb0000d012d28..."} 
[2026-11-04 10:49:20] local.INFO: Processing buffer {"connection_id":230648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fda240012cfee68007006bb0000d012d28..."} 
[2026-11-04 10:49:20] local.INFO: Packet analysis {"connection_id":230648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fd"} 
[2026-11-04 10:49:20] local.INFO: Extracted packet for processing {"connection_id":230648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fd"} 
[2026-11-04 10:49:20] local.INFO: GPS Element Parsed {"raw_longitude":754902656,"raw_latitude":117468080,"longitude_deg":75.4902656,"latitude_deg":11.746808,"altitude":13,"angle":301,"satellites":40,"speed":0,"hex_longitude":"2cfee680","hex_latitude":"07006bb0","is_valid_coordinates":true} 
[2026-11-04 10:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204973312001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73676045084940288,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793769448000,"timestamp_ms":1793769448000,"timestamp_seconds":1793769448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fda240"} 
[2026-11-04 10:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 10:49:20] 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-11-04 10:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204973312001,"66":28376,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-73676045084940288},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204973312001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:49:20] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:49:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73676045084940288,"description":"Unknown IO ID 44"} 
[2026-11-04 10:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204973312001,"power":28376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73676045084940288}} 
[2026-11-04 10:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":230648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:49:20] local.INFO: GPS data processed {"connection_id":230648,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:49:20] local.INFO: Acknowledgment sent {"connection_id":230648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:49:22] local.INFO: TCP Data received {"connection_id":230647,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:49:22] local.INFO: Processing buffer {"connection_id":230647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:49:22] local.INFO: Packet analysis {"connection_id":230647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:49:22] local.INFO: Extracted packet for processing {"connection_id":230647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:49:22] 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-11-04 10: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-11-04 10:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":230647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:49:22] local.INFO: GPS data processed {"connection_id":230647,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:49:22] local.INFO: Acknowledgment sent {"connection_id":230647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:49:26] local.INFO: TCP Data received {"connection_id":230648,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fdf448012cfead8007008bd8000f012225..."} 
[2026-11-04 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fdf448012cfead8007008bd8000f012225..."} 
[2026-11-04 10:49:26] local.INFO: Processing buffer {"connection_id":230648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fdf448012cfead8007008bd8000f012225..."} 
[2026-11-04 10:49:26] local.INFO: Packet analysis {"connection_id":230648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fd"} 
[2026-11-04 10:49:26] local.INFO: Extracted packet for processing {"connection_id":230648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fd"} 
[2026-11-04 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":754888064,"raw_latitude":117476312,"longitude_deg":75.4888064,"latitude_deg":11.7476312,"altitude":15,"angle":290,"satellites":37,"speed":0,"hex_longitude":"2cfead80","hex_latitude":"07008bd8","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204978688001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-79235175872221184,"note":"Value kept but may cause issues"} 
[2026-11-04 10:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793769469000,"timestamp_ms":1793769469000,"timestamp_seconds":1793769469,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fdf448"} 
[2026-11-04 10:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:49:26] 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-11-04 10: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-11-04 10:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204978688001,"66":28430,"33":206,"28":32256,"24":0,"16":20438014194876416,"44":-79235175872221184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-11-04 10:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204978688001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-79235175872221184,"description":"Unknown IO ID 44"} 
[2026-11-04 10:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204978688001,"power":28430,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-79235175872221184}} 
[2026-11-04 10:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":230648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:49:26] local.INFO: GPS data processed {"connection_id":230648,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:49:26] local.INFO: Acknowledgment sent {"connection_id":230648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:50:07] local.INFO: TCP Data received {"connection_id":232491,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:50:07] local.INFO: Processing buffer {"connection_id":232491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:50:07] local.INFO: IMEI packet received {"connection_id":232491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":232491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:50:09] local.INFO: TCP Data received {"connection_id":232492,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:50:09] local.INFO: Processing buffer {"connection_id":232492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:50:09] local.INFO: IMEI packet received {"connection_id":232492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":232492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:50:12] local.INFO: TCP Data received {"connection_id":232491,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:50:12] local.INFO: Processing buffer {"connection_id":232491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:50:12] local.INFO: IMEI packet received {"connection_id":232491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":232491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:50:13] local.INFO: TCP Data received {"connection_id":232491,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:50:13] local.INFO: Processing buffer {"connection_id":232491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:50:13] local.INFO: Packet analysis {"connection_id":232491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:13] local.INFO: Extracted packet for processing {"connection_id":232491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:50:13] 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-11-04 10: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-11-04 10:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":232491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:50:13] local.INFO: GPS data processed {"connection_id":232491,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:50:13] local.INFO: Acknowledgment sent {"connection_id":232491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:50:14] local.INFO: TCP Data received {"connection_id":232492,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:50:14] local.INFO: Processing buffer {"connection_id":232492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:50:14] local.INFO: IMEI packet received {"connection_id":232492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":232492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:50:15] local.INFO: TCP Data received {"connection_id":232492,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe32c8012cfe7a400700a4f0000f013427..."} 
[2026-11-04 10:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe32c8012cfe7a400700a4f0000f013427..."} 
[2026-11-04 10:50:15] local.INFO: Processing buffer {"connection_id":232492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe32c8012cfe7a400700a4f0000f013427..."} 
[2026-11-04 10:50:15] local.INFO: Packet analysis {"connection_id":232492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:15] local.INFO: Extracted packet for processing {"connection_id":232492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:15] local.INFO: GPS Element Parsed {"raw_longitude":754874944,"raw_latitude":117482736,"longitude_deg":75.4874944,"latitude_deg":11.7482736,"altitude":15,"angle":308,"satellites":39,"speed":27,"hex_longitude":"2cfe7a40","hex_latitude":"0700a4f0","is_valid_coordinates":true} 
[2026-11-04 10:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204984064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-95279249542621184,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793769485000,"timestamp_ms":1793769485000,"timestamp_seconds":1793769485,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe32c8"} 
[2026-11-04 10:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:50:15] 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-11-04 10:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204984064001,"66":28430,"31":206,"28":32256,"24":27,"16":20438014194876416,"44":-95279249542621184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,44]} 
[2026-11-04 10:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204984064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:50:15] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-04 10:50:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-95279249542621184,"description":"Unknown IO ID 44"} 
[2026-11-04 10:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204984064001,"power":28430,"unknown_31":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_44":-95279249542621184}} 
[2026-11-04 10:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":232492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:50:16] local.INFO: GPS data processed {"connection_id":232492,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:50:16] local.INFO: Acknowledgment sent {"connection_id":232492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:50:44] local.INFO: TCP Data received {"connection_id":232491,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:50:44] local.INFO: Processing buffer {"connection_id":232491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:50:44] local.INFO: Packet analysis {"connection_id":232491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:44] local.INFO: Extracted packet for processing {"connection_id":232491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:50: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-11-04 10: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-11-04 10:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":232491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:50:44] local.INFO: GPS data processed {"connection_id":232491,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:50:44] local.INFO: Acknowledgment sent {"connection_id":232491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:50:51] local.INFO: TCP Data received {"connection_id":232492,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe84d0012cfe59c00700d8f0000d014b20..."} 
[2026-11-04 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe84d0012cfe59c00700d8f0000d014b20..."} 
[2026-11-04 10:50:51] local.INFO: Processing buffer {"connection_id":232492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe84d0012cfe59c00700d8f0000d014b20..."} 
[2026-11-04 10:50:51] local.INFO: Packet analysis {"connection_id":232492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:51] local.INFO: Extracted packet for processing {"connection_id":232492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":754866624,"raw_latitude":117496048,"longitude_deg":75.4866624,"latitude_deg":11.7496048,"altitude":13,"angle":331,"satellites":32,"speed":27,"hex_longitude":"2cfe59c0","hex_latitude":"0700d8f0","is_valid_coordinates":true} 
[2026-11-04 10:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204988160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-109704842097397760,"note":"Value kept but may cause issues"} 
[2026-11-04 10:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793769506000,"timestamp_ms":1793769506000,"timestamp_seconds":1793769506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe84d0"} 
[2026-11-04 10:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:50:51] 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-11-04 10:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204988160001,"66":28430,"34":206,"28":32256,"24":27,"16":20438014194876416,"44":-109704842097397760},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-11-04 10:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204988160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-11-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-109704842097397760,"description":"Unknown IO ID 44"} 
[2026-11-04 10:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204988160001,"power":28430,"unknown_34":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_44":-109704842097397760}} 
[2026-11-04 10:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":232492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:50:51] local.INFO: GPS data processed {"connection_id":232492,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:50:51] local.INFO: Acknowledgment sent {"connection_id":232492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:51:06] local.INFO: TCP Data received {"connection_id":230649,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:51:07] local.INFO: Processing buffer {"connection_id":230649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:51:07] local.INFO: IMEI packet received {"connection_id":230649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":230649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:51:08] local.INFO: TCP Data received {"connection_id":232493,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:08] local.INFO: Processing buffer {"connection_id":232493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:08] local.INFO: IMEI packet received {"connection_id":232493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":232493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:51:09] local.INFO: TCP Data received {"connection_id":232493,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:09] local.INFO: Processing buffer {"connection_id":232493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:09] local.INFO: IMEI packet received {"connection_id":232493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":232493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:51:10] local.INFO: TCP Data received {"connection_id":232493,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:10] local.INFO: Processing buffer {"connection_id":232493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:10] local.INFO: IMEI packet received {"connection_id":232493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":232493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:51:12] local.INFO: TCP Data received {"connection_id":230649,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:51:12] local.INFO: Processing buffer {"connection_id":230649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:51:12] local.INFO: IMEI packet received {"connection_id":230649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":230649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:51:13] local.INFO: TCP Data received {"connection_id":230649,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:51:13] local.INFO: Processing buffer {"connection_id":230649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:51:13] local.INFO: Packet analysis {"connection_id":230649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:51:13] local.INFO: Extracted packet for processing {"connection_id":230649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 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-11-04 10:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:51:13] 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-11-04 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-11-04 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-11-04 10:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":230649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:51:13] local.INFO: GPS data processed {"connection_id":230649,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:51:13] local.INFO: Acknowledgment sent {"connection_id":230649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:51:14] local.INFO: TCP Data received {"connection_id":232493,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:14] local.INFO: Processing buffer {"connection_id":232493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:51:14] local.INFO: IMEI packet received {"connection_id":232493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":232493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:51:15] local.INFO: TCP Data received {"connection_id":232493,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe84d0012cfe59c00700d8f0000d014b20..."} 
[2026-11-04 10:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe84d0012cfe59c00700d8f0000d014b20..."} 
[2026-11-04 10:51:15] local.INFO: Processing buffer {"connection_id":232493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe84d0012cfe59c00700d8f0000d014b20..."} 
[2026-11-04 10:51:15] local.INFO: Packet analysis {"connection_id":232493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:51:15] local.INFO: Extracted packet for processing {"connection_id":232493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":754866624,"raw_latitude":117496048,"longitude_deg":75.4866624,"latitude_deg":11.7496048,"altitude":13,"angle":331,"satellites":32,"speed":27,"hex_longitude":"2cfe59c0","hex_latitude":"0700d8f0","is_valid_coordinates":true} 
[2026-11-04 10:51: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-11-04 10:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204993536001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-118852778837086208,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793769506000,"timestamp_ms":1793769506000,"timestamp_seconds":1793769506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe84d0"} 
[2026-11-04 10:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:51: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":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:51:15] 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-11-04 10:51: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-11-04 10:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204993536001,"66":28430,"34":206,"28":32256,"24":27,"16":20438014194876416,"44":-118852778837086208},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,44]} 
[2026-11-04 10:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204993536001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:51:15] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-11-04 10:51:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438014194876416,"km_value":20438014194876.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-118852778837086208,"description":"Unknown IO ID 44"} 
[2026-11-04 10:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204993536001,"power":28430,"unknown_34":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_44":-118852778837086208}} 
[2026-11-04 10:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":232493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:51:15] local.INFO: GPS data processed {"connection_id":232493,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:51:15] local.INFO: Acknowledgment sent {"connection_id":232493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:51:45] local.INFO: TCP Data received {"connection_id":230649,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:51:45] local.INFO: Processing buffer {"connection_id":230649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:51:45] local.INFO: Packet analysis {"connection_id":230649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:51:45] local.INFO: Extracted packet for processing {"connection_id":230649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:51: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-11-04 10: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-11-04 10:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":230649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:51:45] local.INFO: GPS data processed {"connection_id":230649,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:51:45] local.INFO: Acknowledgment sent {"connection_id":230649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:51:48] local.INFO: TCP Data received {"connection_id":232493,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ff5ba80100000000000000000000000000..."} 
[2026-11-04 10:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ff5ba80100000000000000000000000000..."} 
[2026-11-04 10:51:48] local.INFO: Processing buffer {"connection_id":232493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ff5ba80100000000000000000000000000..."} 
[2026-11-04 10:51:48] local.INFO: Packet analysis {"connection_id":232493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ff"} 
[2026-11-04 10:51:48] local.INFO: Extracted packet for processing {"connection_id":232493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ff"} 
[2026-11-04 10:51: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-11-04 10: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-11-04 10:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204993536001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-118852778837086208,"note":"Value kept but may cause issues"} 
[2026-11-04 10:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793769561000,"timestamp_ms":1793769561000,"timestamp_seconds":1793769561,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ff5ba8"} 
[2026-11-04 10:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:51:48] 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-11-04 10: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-11-04 10:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":232493,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 10:51:48] local.INFO: GPS data processed {"connection_id":232493,"processed":0,"errors":0,"total":1} 
[2026-11-04 10:51:48] local.INFO: Acknowledgment sent {"connection_id":232493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:52:06] local.INFO: TCP Data received {"connection_id":232494,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:52:06] local.INFO: Processing buffer {"connection_id":232494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:52:06] local.INFO: IMEI packet received {"connection_id":232494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":232494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:52:09] local.INFO: TCP Data received {"connection_id":232495,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:09] local.INFO: Processing buffer {"connection_id":232495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:09] local.INFO: IMEI packet received {"connection_id":232495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":232495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:52:11] local.INFO: TCP Data received {"connection_id":232495,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:11] local.INFO: Processing buffer {"connection_id":232495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:11] local.INFO: IMEI packet received {"connection_id":232495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":232495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:52:12] local.INFO: TCP Data received {"connection_id":232494,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:52:12] local.INFO: Processing buffer {"connection_id":232494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:52:12] local.INFO: IMEI packet received {"connection_id":232494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":232494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:52:13] local.INFO: TCP Data received {"connection_id":232494,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:52:13] local.INFO: Processing buffer {"connection_id":232494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:52:13] local.INFO: Packet analysis {"connection_id":232494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:52:13] local.INFO: Extracted packet for processing {"connection_id":232494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:52:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:52:13] 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-11-04 10: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-11-04 10:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:52:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":232494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:52:13] local.INFO: GPS data processed {"connection_id":232494,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:52:13] local.INFO: Acknowledgment sent {"connection_id":232494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:52:14] local.INFO: TCP Data received {"connection_id":232495,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:14] local.INFO: Processing buffer {"connection_id":232495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:52:14] local.INFO: IMEI packet received {"connection_id":232495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":232495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:52:15] local.INFO: TCP Data received {"connection_id":232495,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4ffadb00100000000000000000000000000..."} 
[2026-11-04 10:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4ffadb00100000000000000000000000000..."} 
[2026-11-04 10:52:15] local.INFO: Processing buffer {"connection_id":232495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4ffadb00100000000000000000000000000..."} 
[2026-11-04 10:52:15] local.INFO: Packet analysis {"connection_id":232495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4ff"} 
[2026-11-04 10:52:15] local.INFO: Extracted packet for processing {"connection_id":232495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4ff"} 
[2026-11-04 10:52: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-11-04 10:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438014194876416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,34,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 10:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793769582000,"timestamp_ms":1793769582000,"timestamp_seconds":1793769582,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4ffadb0"} 
[2026-11-04 10:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:52: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-11-04 10:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":232495,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 10:52:15] local.INFO: GPS data processed {"connection_id":232495,"processed":0,"errors":0,"total":1} 
[2026-11-04 10:52:15] local.INFO: Acknowledgment sent {"connection_id":232495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:52:44] local.INFO: TCP Data received {"connection_id":232494,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:52:44] local.INFO: Processing buffer {"connection_id":232494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:52:44] local.INFO: Packet analysis {"connection_id":232494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:52:44] local.INFO: Extracted packet for processing {"connection_id":232494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:52: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-11-04 10: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-11-04 10:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":232494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:52:44] local.INFO: GPS data processed {"connection_id":232494,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:52:44] local.INFO: Acknowledgment sent {"connection_id":232494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:52:47] local.INFO: TCP Data received {"connection_id":232495,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5018658012cfd5840070250c80006000b1f..."} 
[2026-11-04 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5018658012cfd5840070250c80006000b1f..."} 
[2026-11-04 10:52:47] local.INFO: Processing buffer {"connection_id":232495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5018658012cfd5840070250c80006000b1f..."} 
[2026-11-04 10:52:47] local.INFO: Packet analysis {"connection_id":232495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a501"} 
[2026-11-04 10:52:47] local.INFO: Extracted packet for processing {"connection_id":232495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a501"} 
[2026-11-04 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":754800704,"raw_latitude":117592264,"longitude_deg":75.4800704,"latitude_deg":11.7592264,"altitude":6,"angle":11,"satellites":31,"speed":38,"hex_longitude":"2cfd5840","hex_latitude":"070250c8","is_valid_coordinates":true} 
[2026-11-04 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205041408001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438443691606016,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-193936228852213760,"note":"Value kept but may cause issues"} 
[2026-11-04 10:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793769703000,"timestamp_ms":1793769703000,"timestamp_seconds":1793769703,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5018658"} 
[2026-11-04 10:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 10:52: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-11-04 10:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205041408001,"66":28430,"93":206,"28":32256,"24":38,"16":20438443691606016,"44":-193936228852213760},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-11-04 10:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205041408001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:52:47] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-11-04 10:52:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438443691606016,"km_value":20438443691606.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-193936228852213760,"description":"Unknown IO ID 44"} 
[2026-11-04 10:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205041408001,"power":28430,"unknown_93":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_44":-193936228852213760}} 
[2026-11-04 10:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":232495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:52:47] local.INFO: GPS data processed {"connection_id":232495,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:52:47] local.INFO: Acknowledgment sent {"connection_id":232495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:53:09] local.INFO: TCP Data received {"connection_id":232496,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:09] local.INFO: Processing buffer {"connection_id":232496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:09] local.INFO: IMEI packet received {"connection_id":232496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":232496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:53:09] local.INFO: TCP Data received {"connection_id":232496,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:09] local.INFO: Processing buffer {"connection_id":232496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:09] local.INFO: IMEI packet received {"connection_id":232496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":232496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:53:12] local.INFO: TCP Data received {"connection_id":229353,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:53:12] local.INFO: Processing buffer {"connection_id":229353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:53:12] local.INFO: IMEI packet received {"connection_id":229353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":229353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:53:12] local.INFO: TCP Data received {"connection_id":232496,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:12] local.INFO: Processing buffer {"connection_id":232496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:12] local.INFO: IMEI packet received {"connection_id":232496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":232496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:53:14] local.INFO: TCP Data received {"connection_id":232496,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:14] local.INFO: Processing buffer {"connection_id":232496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:53:14] local.INFO: IMEI packet received {"connection_id":232496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":232496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:53:17] local.INFO: TCP Data received {"connection_id":232496,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a501b538012cfd5f80070275780005000922..."} 
[2026-11-04 10:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a501b538012cfd5f80070275780005000922..."} 
[2026-11-04 10:53:17] local.INFO: Processing buffer {"connection_id":232496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a501b538012cfd5f80070275780005000922..."} 
[2026-11-04 10:53:17] local.INFO: Packet analysis {"connection_id":232496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a501"} 
[2026-11-04 10:53:17] local.INFO: Extracted packet for processing {"connection_id":232496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a501"} 
[2026-11-04 10:53:17] local.INFO: GPS Element Parsed {"raw_longitude":754802560,"raw_latitude":117601656,"longitude_deg":75.480256,"latitude_deg":11.7601656,"altitude":5,"angle":9,"satellites":34,"speed":30,"hex_longitude":"2cfd5f80","hex_latitude":"07027578","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205043968001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20438907548073984,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-191332585315448832,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793769715000,"timestamp_ms":1793769715000,"timestamp_seconds":1793769715,"priority":1,"record_length":96,"hex_timestamp":"000001a1a501b538"} 
[2026-11-04 10:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:53: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-11-04 10: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-11-04 10:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205043968001,"66":28430,"93":206,"28":32256,"24":30,"16":20438907548073984,"44":-191332585315448832},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,28,24,16,44]} 
[2026-11-04 10:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205043968001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:53:17] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-11-04 10:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20438907548073984,"km_value":20438907548073.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-191332585315448832,"description":"Unknown IO ID 44"} 
[2026-11-04 10:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205043968001,"power":28430,"unknown_93":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_44":-191332585315448832}} 
[2026-11-04 10:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":232496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:53:17] local.INFO: GPS data processed {"connection_id":232496,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:53:17] local.INFO: Acknowledgment sent {"connection_id":232496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:53:18] local.INFO: TCP Data received {"connection_id":229353,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:53:18] local.INFO: Processing buffer {"connection_id":229353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:53:18] local.INFO: IMEI packet received {"connection_id":229353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":229353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:53:19] local.INFO: TCP Data received {"connection_id":229353,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:53:19] local.INFO: Processing buffer {"connection_id":229353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:53:19] local.INFO: Packet analysis {"connection_id":229353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:53:19] local.INFO: Extracted packet for processing {"connection_id":229353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:53:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:53:19] 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-11-04 10:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:53:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":229353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:53:19] local.INFO: GPS data processed {"connection_id":229353,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:53:19] local.INFO: Acknowledgment sent {"connection_id":229353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:53:19] local.INFO: TCP Data received {"connection_id":232496,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a501e030012cfd6480070298180004000427..."} 
[2026-11-04 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a501e030012cfd6480070298180004000427..."} 
[2026-11-04 10:53:19] local.INFO: Processing buffer {"connection_id":232496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a501e030012cfd6480070298180004000427..."} 
[2026-11-04 10:53:19] local.INFO: Packet analysis {"connection_id":232496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a501"} 
[2026-11-04 10:53:19] local.INFO: Extracted packet for processing {"connection_id":232496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a501"} 
[2026-11-04 10:53:19] local.INFO: GPS Element Parsed {"raw_longitude":754803840,"raw_latitude":117610520,"longitude_deg":75.480384,"latitude_deg":11.761052,"altitude":4,"angle":4,"satellites":39,"speed":37,"hex_longitude":"2cfd6480","hex_latitude":"07029818","is_valid_coordinates":true} 
[2026-11-04 10:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205047040001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20439341339770880,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-189291891731892224,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793769726000,"timestamp_ms":1793769726000,"timestamp_seconds":1793769726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a501e030"} 
[2026-11-04 10:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:53:19] 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-11-04 10:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205047040001,"66":28398,"92":206,"28":32256,"24":37,"16":20439341339770880,"44":-189291891731892224},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-11-04 10:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205047040001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:53:19] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-04 10:53:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20439341339770880,"km_value":20439341339770.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-189291891731892224,"description":"Unknown IO ID 44"} 
[2026-11-04 10:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205047040001,"power":28398,"unknown_92":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-189291891731892224}} 
[2026-11-04 10:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":232496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:53:19] local.INFO: GPS data processed {"connection_id":232496,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:53:19] local.INFO: Acknowledgment sent {"connection_id":232496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:53:25] local.INFO: TCP Data received {"connection_id":229353,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:53:25] local.INFO: Processing buffer {"connection_id":229353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a4fe61a8012d34c30006aa43d0000b00902c..."} 
[2026-11-04 10:53:25] local.INFO: Packet analysis {"connection_id":229353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:53:25] local.INFO: Extracted packet for processing {"connection_id":229353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a4fe"} 
[2026-11-04 10:53:25] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204914176001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793769497000,"timestamp_ms":1793769497000,"timestamp_seconds":1793769497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a4fe61a8"} 
[2026-11-04 10:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 10:53:25] 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-11-04 10:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204914176001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204914176001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:53:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204914176001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":229353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:53:25] local.INFO: GPS data processed {"connection_id":229353,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:53:25] local.INFO: Acknowledgment sent {"connection_id":229353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:53:50] local.INFO: TCP Data received {"connection_id":232496,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5020358012cfd65400702bcb80004000229..."} 
[2026-11-04 10:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5020358012cfd65400702bcb80004000229..."} 
[2026-11-04 10:53:50] local.INFO: Processing buffer {"connection_id":232496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5020358012cfd65400702bcb80004000229..."} 
[2026-11-04 10:53:50] local.INFO: Packet analysis {"connection_id":232496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:53:50] local.INFO: Extracted packet for processing {"connection_id":232496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":754804032,"raw_latitude":117619896,"longitude_deg":75.4804032,"latitude_deg":11.7619896,"altitude":4,"angle":2,"satellites":41,"speed":40,"hex_longitude":"2cfd6540","hex_latitude":"0702bcb8","is_valid_coordinates":true} 
[2026-11-04 10:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205049856001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20439796606304256,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-187884516846069760,"note":"Value kept but may cause issues"} 
[2026-11-04 10:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793769735000,"timestamp_ms":1793769735000,"timestamp_seconds":1793769735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5020358"} 
[2026-11-04 10:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 10:53:50] 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-11-04 10:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205049856001,"66":28485,"92":206,"28":32256,"24":40,"16":20439796606304256,"44":-187884516846069760},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-11-04 10:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205049856001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:53:50] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-04 10:53:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20439796606304256,"km_value":20439796606304.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-187884516846069760,"description":"Unknown IO ID 44"} 
[2026-11-04 10:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205049856001,"power":28485,"unknown_92":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-187884516846069760}} 
[2026-11-04 10:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":232496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:53:50] local.INFO: GPS data processed {"connection_id":232496,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:53:50] local.INFO: Acknowledgment sent {"connection_id":232496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:54:07] local.INFO: TCP Data received {"connection_id":230650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:54:07] local.INFO: Processing buffer {"connection_id":230650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:54:07] local.INFO: IMEI packet received {"connection_id":230650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":230650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:54:09] local.INFO: TCP Data received {"connection_id":232497,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:09] local.INFO: Processing buffer {"connection_id":232497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:09] local.INFO: IMEI packet received {"connection_id":232497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":232497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:54:12] local.INFO: TCP Data received {"connection_id":232497,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:12] local.INFO: Processing buffer {"connection_id":232497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:12] local.INFO: IMEI packet received {"connection_id":232497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":232497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:54:12] local.INFO: TCP Data received {"connection_id":230650,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:54:12] local.INFO: Processing buffer {"connection_id":230650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:54:12] local.INFO: IMEI packet received {"connection_id":230650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":230650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:54:14] local.INFO: TCP Data received {"connection_id":232497,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:14] local.INFO: Processing buffer {"connection_id":232497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:54:14] local.INFO: IMEI packet received {"connection_id":232497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":232497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:54:14] local.INFO: TCP Data received {"connection_id":230650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:54:14] local.INFO: Processing buffer {"connection_id":230650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:54:14] local.INFO: Packet analysis {"connection_id":230650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:54:14] local.INFO: Extracted packet for processing {"connection_id":230650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:54: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-11-04 10: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-11-04 10:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":230650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:54:14] local.INFO: GPS data processed {"connection_id":230650,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:54:14] local.INFO: Acknowledgment sent {"connection_id":230650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:54:15] local.INFO: TCP Data received {"connection_id":232497,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5022680012cfd67000702e3580004016729..."} 
[2026-11-04 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5022680012cfd67000702e3580004016729..."} 
[2026-11-04 10:54:15] local.INFO: Processing buffer {"connection_id":232497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5022680012cfd67000702e3580004016729..."} 
[2026-11-04 10:54:15] local.INFO: Packet analysis {"connection_id":232497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:54:15] local.INFO: Extracted packet for processing {"connection_id":232497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":754804480,"raw_latitude":117629784,"longitude_deg":75.480448,"latitude_deg":11.7629784,"altitude":4,"angle":359,"satellites":41,"speed":45,"hex_longitude":"2cfd6700","hex_latitude":"0702e358","is_valid_coordinates":true} 
[2026-11-04 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205052160001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20440277642641408,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-187673410611136512,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793769744000,"timestamp_ms":1793769744000,"timestamp_seconds":1793769744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5022680"} 
[2026-11-04 10:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 10:54:15] 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-11-04 10:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205052160001,"66":28430,"92":206,"28":32256,"24":45,"16":20440277642641408,"44":-187673410611136512},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-11-04 10:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205052160001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:54:15] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-11-04 10:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20440277642641408,"km_value":20440277642641.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:54:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-187673410611136512,"description":"Unknown IO ID 44"} 
[2026-11-04 10:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205052160001,"power":28430,"unknown_92":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-187673410611136512}} 
[2026-11-04 10:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":232497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:54:15] local.INFO: GPS data processed {"connection_id":232497,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:54:15] local.INFO: Acknowledgment sent {"connection_id":232497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:54:45] local.INFO: TCP Data received {"connection_id":230650,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:54:45] local.INFO: Processing buffer {"connection_id":230650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:54:45] local.INFO: Packet analysis {"connection_id":230650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:54:45] local.INFO: Extracted packet for processing {"connection_id":230650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:54: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-11-04 10: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-11-04 10:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:54:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":230650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:54:45] local.INFO: GPS data processed {"connection_id":230650,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:54:45] local.INFO: Acknowledgment sent {"connection_id":230650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:54:46] local.INFO: TCP Data received {"connection_id":232497,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5037e40012cfc79000703b278000601292a..."} 
[2026-11-04 10:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5037e40012cfc79000703b278000601292a..."} 
[2026-11-04 10:54:46] local.INFO: Processing buffer {"connection_id":232497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5037e40012cfc79000703b278000601292a..."} 
[2026-11-04 10:54:46] local.INFO: Packet analysis {"connection_id":232497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:54:46] local.INFO: Extracted packet for processing {"connection_id":232497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:54:46] local.INFO: GPS Element Parsed {"raw_longitude":754743552,"raw_latitude":117682808,"longitude_deg":75.4743552,"latitude_deg":11.7682808,"altitude":6,"angle":297,"satellites":42,"speed":48,"hex_longitude":"2cfc7900","hex_latitude":"0703b278","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205074944001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20444413696147456,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-245023937100912640,"note":"Value kept but may cause issues"} 
[2026-11-04 10:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793769832000,"timestamp_ms":1793769832000,"timestamp_seconds":1793769832,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5037e40"} 
[2026-11-04 10:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 10:54: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-11-04 10: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-11-04 10:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205074944001,"66":28452,"95":206,"28":32256,"24":48,"16":20444413696147456,"44":-245023937100912640},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-11-04 10:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205074944001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:54:46] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 10:54:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20444413696147456,"km_value":20444413696147.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:54:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-245023937100912640,"description":"Unknown IO ID 44"} 
[2026-11-04 10:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205074944001,"power":28452,"unknown_95":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_44":-245023937100912640}} 
[2026-11-04 10:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":232497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:54:46] local.INFO: GPS data processed {"connection_id":232497,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:54:46] local.INFO: Acknowledgment sent {"connection_id":232497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:55:07] local.INFO: TCP Data received {"connection_id":229354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:55:07] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:55:07] local.INFO: IMEI packet received {"connection_id":229354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":229354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:55:12] local.INFO: TCP Data received {"connection_id":229354,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:55:12] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:55:12] local.INFO: IMEI packet received {"connection_id":229354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":229354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:55:13] local.INFO: TCP Data received {"connection_id":229354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:55:13] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:55:13] local.INFO: Packet analysis {"connection_id":229354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:55:13] local.INFO: Extracted packet for processing {"connection_id":229354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:55:13] 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-11-04 10: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-11-04 10:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":229354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:55:13] local.INFO: GPS data processed {"connection_id":229354,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:55:13] local.INFO: Acknowledgment sent {"connection_id":229354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:55:14] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:55:14] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:55:14] local.INFO: IMEI packet received {"connection_id":229355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":229355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:55:19] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:55:19] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:55:19] local.INFO: IMEI packet received {"connection_id":229355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":229355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:55:20] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5039998012cfc59400703c228000801252a..."} 
[2026-11-04 10:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5039998012cfc59400703c228000801252a..."} 
[2026-11-04 10:55:20] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5039998012cfc59400703c228000801252a..."} 
[2026-11-04 10:55:20] local.INFO: Packet analysis {"connection_id":229355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:55:20] local.INFO: Extracted packet for processing {"connection_id":229355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":754735424,"raw_latitude":117686824,"longitude_deg":75.4735424,"latitude_deg":11.7686824,"altitude":8,"angle":293,"satellites":42,"speed":53,"hex_longitude":"2cfc5940","hex_latitude":"0703c228","is_valid_coordinates":true} 
[2026-11-04 10:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205076992001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20444847487844352,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-254171873842923520,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793769839000,"timestamp_ms":1793769839000,"timestamp_seconds":1793769839,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5039998"} 
[2026-11-04 10:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 10:55: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-11-04 10:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205076992001,"66":28485,"95":206,"28":32256,"24":53,"16":20444847487844352,"44":-254171873842923520},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-11-04 10:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205076992001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:55:20] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 10:55:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20444847487844352,"km_value":20444847487844.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-254171873842923520,"description":"Unknown IO ID 44"} 
[2026-11-04 10:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205076992001,"power":28485,"unknown_95":206,"unknown_28":32256,"ignition":53,"odometer":null,"unknown_44":-254171873842923520}} 
[2026-11-04 10:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":229355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:55:21] local.INFO: GPS data processed {"connection_id":229355,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:55:21] local.INFO: Acknowledgment sent {"connection_id":229355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:55:46] local.INFO: TCP Data received {"connection_id":229354,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:55:46] local.INFO: Processing buffer {"connection_id":229354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:55:46] local.INFO: Packet analysis {"connection_id":229354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:55:46] local.INFO: Extracted packet for processing {"connection_id":229354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:55: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-11-04 10: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-11-04 10:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":229354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:55:46] local.INFO: GPS data processed {"connection_id":229354,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:55:46] local.INFO: Acknowledgment sent {"connection_id":229354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:56:00] local.INFO: TCP Data received {"connection_id":229355,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a503b4f0012cfc37000703d1400008012929..."} 
[2026-11-04 10:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a503b4f0012cfc37000703d1400008012929..."} 
[2026-11-04 10:56:00] local.INFO: Processing buffer {"connection_id":229355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a503b4f0012cfc37000703d1400008012929..."} 
[2026-11-04 10:56:00] local.INFO: Packet analysis {"connection_id":229355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:56:00] local.INFO: Extracted packet for processing {"connection_id":229355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:56:00] local.INFO: GPS Element Parsed {"raw_longitude":754726656,"raw_latitude":117690688,"longitude_deg":75.4726656,"latitude_deg":11.7690688,"altitude":8,"angle":297,"satellites":41,"speed":52,"hex_longitude":"2cfc3700","hex_latitude":"0703d140","is_valid_coordinates":true} 
[2026-11-04 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-11-04 10:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205078784001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20445302754377728,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-263108704352458752,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793769846000,"timestamp_ms":1793769846000,"timestamp_seconds":1793769846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a503b4f0"} 
[2026-11-04 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-11-04 10:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-11-04 10:56:00] 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-11-04 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-11-04 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-11-04 10:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205078784001,"66":28452,"9":206,"28":32256,"24":52,"16":20445302754377728,"44":-263108704352458752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-11-04 10:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205078784001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:56:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-11-04 10:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20445302754377728,"km_value":20445302754377.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-263108704352458752,"description":"Unknown IO ID 44"} 
[2026-11-04 10:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205078784001,"power":28452,"unknown_9":206,"unknown_28":32256,"ignition":52,"odometer":null,"unknown_44":-263108704352458752}} 
[2026-11-04 10:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":229355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:56:01] local.INFO: GPS data processed {"connection_id":229355,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:56:01] local.INFO: Acknowledgment sent {"connection_id":229355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:56:07] local.INFO: TCP Data received {"connection_id":230652,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:56:07] local.INFO: Processing buffer {"connection_id":230652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:56:07] local.INFO: IMEI packet received {"connection_id":230652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":230652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:56:09] local.INFO: TCP Data received {"connection_id":230651,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:56:09] local.INFO: Processing buffer {"connection_id":230651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:56:09] local.INFO: IMEI packet received {"connection_id":230651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":230651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:56:12] local.INFO: TCP Data received {"connection_id":230652,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:56:12] local.INFO: Processing buffer {"connection_id":230652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:56:12] local.INFO: IMEI packet received {"connection_id":230652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":230652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:56:13] local.INFO: TCP Data received {"connection_id":230652,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:56:13] local.INFO: Processing buffer {"connection_id":230652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:56:13] local.INFO: Packet analysis {"connection_id":230652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:56:13] local.INFO: Extracted packet for processing {"connection_id":230652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:56:13] 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-11-04 10: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-11-04 10:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":230652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:56:13] local.INFO: GPS data processed {"connection_id":230652,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:56:13] local.INFO: Acknowledgment sent {"connection_id":230652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:56:14] local.INFO: TCP Data received {"connection_id":230651,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:56:14] local.INFO: Processing buffer {"connection_id":230651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:56:14] local.INFO: IMEI packet received {"connection_id":230651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":230651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:56:15] local.INFO: TCP Data received {"connection_id":230651,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a503d048012cfc17c00703e2e8000b01272a..."} 
[2026-11-04 10:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a503d048012cfc17c00703e2e8000b01272a..."} 
[2026-11-04 10:56:15] local.INFO: Processing buffer {"connection_id":230651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a503d048012cfc17c00703e2e8000b01272a..."} 
[2026-11-04 10:56:15] local.INFO: Packet analysis {"connection_id":230651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:56:15] local.INFO: Extracted packet for processing {"connection_id":230651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":754718656,"raw_latitude":117695208,"longitude_deg":75.4718656,"latitude_deg":11.7695208,"altitude":11,"angle":295,"satellites":42,"speed":49,"hex_longitude":"2cfc17c0","hex_latitude":"0703e2e8","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205080576001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20445740841041920,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-272749222303809536,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793769853000,"timestamp_ms":1793769853000,"timestamp_seconds":1793769853,"priority":1,"record_length":96,"hex_timestamp":"000001a1a503d048"} 
[2026-11-04 10:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 10:56:15] 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-11-04 10: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-11-04 10:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205080576001,"66":28430,"9":206,"28":32256,"24":49,"16":20445740841041920,"44":-272749222303809536},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-11-04 10:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205080576001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-11-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20445740841041920,"km_value":20445740841041.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:56:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-272749222303809536,"description":"Unknown IO ID 44"} 
[2026-11-04 10:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205080576001,"power":28430,"unknown_9":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_44":-272749222303809536}} 
[2026-11-04 10:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":230651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:56:15] local.INFO: GPS data processed {"connection_id":230651,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:56:15] local.INFO: Acknowledgment sent {"connection_id":230651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:56:45] local.INFO: TCP Data received {"connection_id":230652,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:56:45] local.INFO: Processing buffer {"connection_id":230652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:56:45] local.INFO: Packet analysis {"connection_id":230652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:56:45] local.INFO: Extracted packet for processing {"connection_id":230652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:56: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-11-04 10: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-11-04 10:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":230652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:56:45] local.INFO: GPS data processed {"connection_id":230652,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:56:45] local.INFO: Acknowledgment sent {"connection_id":230652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:56:47] local.INFO: TCP Data received {"connection_id":230651,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a503ef88012cfbf4000703f1d0000901202a..."} 
[2026-11-04 10:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a503ef88012cfbf4000703f1d0000901202a..."} 
[2026-11-04 10:56:47] local.INFO: Processing buffer {"connection_id":230651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a503ef88012cfbf4000703f1d0000901202a..."} 
[2026-11-04 10:56:47] local.INFO: Packet analysis {"connection_id":230651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:56:47] local.INFO: Extracted packet for processing {"connection_id":230651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:56:47] local.INFO: GPS Element Parsed {"raw_longitude":754709504,"raw_latitude":117699024,"longitude_deg":75.4709504,"latitude_deg":11.7699024,"altitude":9,"angle":288,"satellites":42,"speed":47,"hex_longitude":"2cfbf400","hex_latitude":"0703f1d0","is_valid_coordinates":true} 
[2026-11-04 10:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205082368001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20446213287444480,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-281545315324860416,"note":"Value kept but may cause issues"} 
[2026-11-04 10:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793769861000,"timestamp_ms":1793769861000,"timestamp_seconds":1793769861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a503ef88"} 
[2026-11-04 10:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:56: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-11-04 10:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205082368001,"66":28267,"9":206,"28":32256,"24":47,"16":20446213287444480,"44":-281545315324860416},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-11-04 10:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205082368001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:56:47] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-11-04 10:56:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20446213287444480,"km_value":20446213287444.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:56:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-281545315324860416,"description":"Unknown IO ID 44"} 
[2026-11-04 10:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205082368001,"power":28267,"unknown_9":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-281545315324860416}} 
[2026-11-04 10:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":230651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:56:47] local.INFO: GPS data processed {"connection_id":230651,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:56:47] local.INFO: Acknowledgment sent {"connection_id":230651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:57:07] local.INFO: TCP Data received {"connection_id":228852,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:57:07] local.INFO: Processing buffer {"connection_id":228852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:57:07] local.INFO: IMEI packet received {"connection_id":228852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":228852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:57:09] local.INFO: TCP Data received {"connection_id":228853,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:57:09] local.INFO: Processing buffer {"connection_id":228853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:57:09] local.INFO: IMEI packet received {"connection_id":228853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":228853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:57:12] local.INFO: TCP Data received {"connection_id":228852,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:57:12] local.INFO: Processing buffer {"connection_id":228852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:57:12] local.INFO: IMEI packet received {"connection_id":228852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":228852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:57:13] local.INFO: TCP Data received {"connection_id":228852,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:57:13] local.INFO: Processing buffer {"connection_id":228852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:57:13] local.INFO: Packet analysis {"connection_id":228852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:57:13] local.INFO: Extracted packet for processing {"connection_id":228852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:57:13] 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-11-04 10:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":228852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:57:13] local.INFO: GPS data processed {"connection_id":228852,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:57:13] local.INFO: Acknowledgment sent {"connection_id":228852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:57:14] local.INFO: TCP Data received {"connection_id":228853,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:57:14] local.INFO: Processing buffer {"connection_id":228853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:57:14] local.INFO: IMEI packet received {"connection_id":228853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":228853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:57:15] local.INFO: TCP Data received {"connection_id":228853,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a503f758012cfbea400703f3b8000901132a..."} 
[2026-11-04 10:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a503f758012cfbea400703f3b8000901132a..."} 
[2026-11-04 10:57:15] local.INFO: Processing buffer {"connection_id":228853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a503f758012cfbea400703f3b8000901132a..."} 
[2026-11-04 10:57:15] local.INFO: Packet analysis {"connection_id":228853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:57:15] local.INFO: Extracted packet for processing {"connection_id":228853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a503"} 
[2026-11-04 10:57:15] local.INFO: GPS Element Parsed {"raw_longitude":754707008,"raw_latitude":117699512,"longitude_deg":75.4707008,"latitude_deg":11.7699512,"altitude":9,"angle":275,"satellites":42,"speed":47,"hex_longitude":"2cfbea40","hex_latitude":"0703f3b8","is_valid_coordinates":true} 
[2026-11-04 10:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205084416001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20446333546528768,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-291608045741289472,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793769863000,"timestamp_ms":1793769863000,"timestamp_seconds":1793769863,"priority":1,"record_length":96,"hex_timestamp":"000001a1a503f758"} 
[2026-11-04 10:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 10:57:15] 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-11-04 10:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205084416001,"66":28148,"9":206,"28":32256,"24":47,"16":20446333546528768,"44":-291608045741289472},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-11-04 10:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205084416001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-11-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20446333546528768,"km_value":20446333546528.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:57:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-291608045741289472,"description":"Unknown IO ID 44"} 
[2026-11-04 10:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205084416001,"power":28148,"unknown_9":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-291608045741289472}} 
[2026-11-04 10:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":228853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:57:16] local.INFO: GPS data processed {"connection_id":228853,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:57:16] local.INFO: Acknowledgment sent {"connection_id":228853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:57:44] local.INFO: TCP Data received {"connection_id":228852,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:57:44] local.INFO: Processing buffer {"connection_id":228852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:57:44] local.INFO: Packet analysis {"connection_id":228852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:57:44] local.INFO: Extracted packet for processing {"connection_id":228852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:57:44] 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-11-04 10: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-11-04 10:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:57:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":228852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:57:44] local.INFO: GPS data processed {"connection_id":228852,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:57:44] local.INFO: Acknowledgment sent {"connection_id":228852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:57:49] local.INFO: TCP Data received {"connection_id":228853,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5044578012cfbb3c00703fe48000f012f2a..."} 
[2026-11-04 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5044578012cfbb3c00703fe48000f012f2a..."} 
[2026-11-04 10:57:49] local.INFO: Processing buffer {"connection_id":228853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5044578012cfbb3c00703fe48000f012f2a..."} 
[2026-11-04 10:57:49] local.INFO: Packet analysis {"connection_id":228853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a504"} 
[2026-11-04 10:57:49] local.INFO: Extracted packet for processing {"connection_id":228853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a504"} 
[2026-11-04 10:57:49] local.INFO: GPS Element Parsed {"raw_longitude":754693056,"raw_latitude":117702216,"longitude_deg":75.4693056,"latitude_deg":11.7702216,"altitude":15,"angle":303,"satellites":42,"speed":23,"hex_longitude":"2cfbb3c0","hex_latitude":"0703fe48","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205084928001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20446389381103616,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-294352426764093440,"note":"Value kept but may cause issues"} 
[2026-11-04 10:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793769883000,"timestamp_ms":1793769883000,"timestamp_seconds":1793769883,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5044578"} 
[2026-11-04 10:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10: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-11-04 10: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-11-04 10:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205084928001,"66":28267,"9":206,"28":32256,"24":23,"16":20446389381103616,"44":-294352426764093440},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-11-04 10:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205084928001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:57:49] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-11-04 10:57:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20446389381103616,"km_value":20446389381103.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:57:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-294352426764093440,"description":"Unknown IO ID 44"} 
[2026-11-04 10:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205084928001,"power":28267,"unknown_9":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_44":-294352426764093440}} 
[2026-11-04 10:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":228853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:57:49] local.INFO: GPS data processed {"connection_id":228853,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:57:49] local.INFO: Acknowledgment sent {"connection_id":228853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:58:12] local.INFO: TCP Data received {"connection_id":229356,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:58:12] local.INFO: Processing buffer {"connection_id":229356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:58:12] local.INFO: IMEI packet received {"connection_id":229356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":229356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:58:17] local.INFO: TCP Data received {"connection_id":229356,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:58:17] local.INFO: Processing buffer {"connection_id":229356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:58:17] local.INFO: IMEI packet received {"connection_id":229356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":229356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:58:18] local.INFO: TCP Data received {"connection_id":229356,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:58:18] local.INFO: Processing buffer {"connection_id":229356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:58:18] local.INFO: Packet analysis {"connection_id":229356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:58:18] local.INFO: Extracted packet for processing {"connection_id":229356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:58:18] 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-11-04 10:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":229356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:58:18] local.INFO: GPS data processed {"connection_id":229356,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:58:18] local.INFO: Acknowledgment sent {"connection_id":229356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:58:22] local.INFO: TCP Data received {"connection_id":229356,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:58:22] local.INFO: Processing buffer {"connection_id":229356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a502f970012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:58:22] local.INFO: Packet analysis {"connection_id":229356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:58:22] local.INFO: Extracted packet for processing {"connection_id":229356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a502"} 
[2026-11-04 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459204991232001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793769798000,"timestamp_ms":1793769798000,"timestamp_seconds":1793769798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a502f970"} 
[2026-11-04 10:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 10:58: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-11-04 10:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459204991232001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459204991232001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459204991232001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":229356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:58:22] local.INFO: GPS data processed {"connection_id":229356,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:58:22] local.INFO: Acknowledgment sent {"connection_id":229356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:58:43] local.INFO: TCP Data received {"connection_id":232498,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:43] local.INFO: Processing buffer {"connection_id":232498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:43] local.INFO: IMEI packet received {"connection_id":232498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":232498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:58:44] local.INFO: TCP Data received {"connection_id":232498,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:44] local.INFO: Processing buffer {"connection_id":232498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:44] local.INFO: IMEI packet received {"connection_id":232498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":232498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:58:49] local.INFO: TCP Data received {"connection_id":232498,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:49] local.INFO: Processing buffer {"connection_id":232498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:58:49] local.INFO: IMEI packet received {"connection_id":232498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":232498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:58:50] local.INFO: TCP Data received {"connection_id":232498,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5049398012cfb8400070438d8000901412a..."} 
[2026-11-04 10:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5049398012cfb8400070438d8000901412a..."} 
[2026-11-04 10:58:50] local.INFO: Processing buffer {"connection_id":232498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5049398012cfb8400070438d8000901412a..."} 
[2026-11-04 10:58:50] local.INFO: Packet analysis {"connection_id":232498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a504"} 
[2026-11-04 10:58:50] local.INFO: Extracted packet for processing {"connection_id":232498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a504"} 
[2026-11-04 10:58:50] local.INFO: GPS Element Parsed {"raw_longitude":754680832,"raw_latitude":117717208,"longitude_deg":75.4680832,"latitude_deg":11.7717208,"altitude":9,"angle":321,"satellites":42,"speed":47,"hex_longitude":"2cfb8400","hex_latitude":"070438d8","is_valid_coordinates":true} 
[2026-11-04 10:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205090048001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20446389381103616,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-309692812994131968,"note":"Value kept but may cause issues"} 
[2026-11-04 10:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 10:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793769903000,"timestamp_ms":1793769903000,"timestamp_seconds":1793769903,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5049398"} 
[2026-11-04 10:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 10:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205090048001,"66":28452,"9":206,"28":32256,"24":47,"16":20446389381103616,"44":-309692812994131968},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-11-04 10:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205090048001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:58:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-11-04 10:58:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20446389381103616,"km_value":20446389381103.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:58:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-309692812994131968,"description":"Unknown IO ID 44"} 
[2026-11-04 10:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205090048001,"power":28452,"unknown_9":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_44":-309692812994131968}} 
[2026-11-04 10:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":232498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:58:50] local.INFO: GPS data processed {"connection_id":232498,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:58:50] local.INFO: Acknowledgment sent {"connection_id":232498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:59:07] local.INFO: TCP Data received {"connection_id":232499,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:59:07] local.INFO: Processing buffer {"connection_id":232499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:59:07] local.INFO: IMEI packet received {"connection_id":232499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 10:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":232499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:59:12] local.INFO: TCP Data received {"connection_id":232499,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:59:12] local.INFO: Processing buffer {"connection_id":232499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 10:59:12] local.INFO: IMEI packet received {"connection_id":232499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 10:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":232499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:59:13] local.INFO: TCP Data received {"connection_id":232499,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:59:13] local.INFO: Processing buffer {"connection_id":232499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:59:13] local.INFO: Packet analysis {"connection_id":232499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:13] local.INFO: Extracted packet for processing {"connection_id":232499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 10:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 10:59: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-11-04 10: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-11-04 10:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":232499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:59:13] local.INFO: GPS data processed {"connection_id":232499,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:59:13] local.INFO: Acknowledgment sent {"connection_id":232499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:59:14] local.INFO: TCP Data received {"connection_id":230653,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:59:14] local.INFO: Processing buffer {"connection_id":230653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:59:14] local.INFO: IMEI packet received {"connection_id":230653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 10:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":230653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 10:59:19] local.INFO: TCP Data received {"connection_id":230653,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:59:19] local.INFO: Processing buffer {"connection_id":230653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 10:59:19] local.INFO: IMEI packet received {"connection_id":230653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 10:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":230653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 10:59:20] local.INFO: TCP Data received {"connection_id":230653,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5077db0012cf9b30007065ec0000c015a2c..."} 
[2026-11-04 10:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5077db0012cf9b30007065ec0000c015a2c..."} 
[2026-11-04 10:59:20] local.INFO: Processing buffer {"connection_id":230653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5077db0012cf9b30007065ec0000c015a2c..."} 
[2026-11-04 10:59:20] local.INFO: Packet analysis {"connection_id":230653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:20] local.INFO: Extracted packet for processing {"connection_id":230653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:20] local.INFO: GPS Element Parsed {"raw_longitude":754561792,"raw_latitude":117857984,"longitude_deg":75.4561792,"latitude_deg":11.7857984,"altitude":12,"angle":346,"satellites":44,"speed":39,"hex_longitude":"2cf9b300","hex_latitude":"07065ec0","is_valid_coordinates":true} 
[2026-11-04 10:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205141760001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20446732978487296,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-453948738520268800,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:20] 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-11-04 10:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793770094000,"timestamp_ms":1793770094000,"timestamp_seconds":1793770094,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5077db0"} 
[2026-11-04 10:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 10:59: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-11-04 10:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205141760001,"66":28430,"165":206,"28":32256,"24":39,"16":20446732978487296,"44":-453948738520268800},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 10:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205141760001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:59:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 10:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20446732978487296,"km_value":20446732978487.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-453948738520268800,"description":"Unknown IO ID 44"} 
[2026-11-04 10:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205141760001,"power":28430,"unknown_165":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_44":-453948738520268800}} 
[2026-11-04 10:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":230653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:59:20] local.INFO: GPS data processed {"connection_id":230653,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:59:20] local.INFO: Acknowledgment sent {"connection_id":230653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:59:46] local.INFO: TCP Data received {"connection_id":232499,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:59:46] local.INFO: Processing buffer {"connection_id":232499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 10:59:46] local.INFO: Packet analysis {"connection_id":232499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:46] local.INFO: Extracted packet for processing {"connection_id":232499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 10: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-11-04 10:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 10:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 10:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 10:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 10: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 10:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 10: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-11-04 10:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 10:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 10:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 10:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 10:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 10:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 10:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 10:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 10:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 10:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":232499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:59:46] local.INFO: GPS data processed {"connection_id":232499,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:59:46] local.INFO: Acknowledgment sent {"connection_id":232499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 10:59:52] local.INFO: TCP Data received {"connection_id":230653,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a507a0d8012cf9a3c0070682d0000701532b..."} 
[2026-11-04 10:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a507a0d8012cf9a3c0070682d0000701532b..."} 
[2026-11-04 10:59:52] local.INFO: Processing buffer {"connection_id":230653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a507a0d8012cf9a3c0070682d0000701532b..."} 
[2026-11-04 10:59:52] local.INFO: Packet analysis {"connection_id":230653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:52] local.INFO: Extracted packet for processing {"connection_id":230653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 10:59:52] local.INFO: GPS Element Parsed {"raw_longitude":754557888,"raw_latitude":117867216,"longitude_deg":75.4557888,"latitude_deg":11.7867216,"altitude":7,"angle":339,"satellites":43,"speed":46,"hex_longitude":"2cf9a3c0","hex_latitude":"070682d0","is_valid_coordinates":true} 
[2026-11-04 10:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 10:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205144064001,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20447218309791744,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454019107262644224,"note":"Value kept but may cause issues"} 
[2026-11-04 10:59:52] 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-11-04 10:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793770103000,"timestamp_ms":1793770103000,"timestamp_seconds":1793770103,"priority":1,"record_length":96,"hex_timestamp":"000001a1a507a0d8"} 
[2026-11-04 10:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 10:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 10:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 10:59:52] 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-11-04 10:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 10:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 10:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 10:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 10:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 10:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 10:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 10:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 10:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205144064001,"66":28452,"165":206,"28":32256,"24":46,"16":20447218309791744,"44":-454019107262644224},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 10:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 10:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 10:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205144064001,"description":"Unknown IO ID 0"} 
[2026-11-04 10:59:52] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 10:59:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 10:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20447218309791744,"km_value":20447218309791.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 10:59:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454019107262644224,"description":"Unknown IO ID 44"} 
[2026-11-04 10:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205144064001,"power":28452,"unknown_165":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_44":-454019107262644224}} 
[2026-11-04 10:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":230653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 10:59:52] local.INFO: GPS data processed {"connection_id":230653,"processed":1,"errors":0,"total":1} 
[2026-11-04 10:59:52] local.INFO: Acknowledgment sent {"connection_id":230653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:00:07] local.INFO: TCP Data received {"connection_id":230654,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:00:07] local.INFO: Processing buffer {"connection_id":230654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:00:07] local.INFO: IMEI packet received {"connection_id":230654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":230654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:00:09] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:00:09] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:00:09] local.INFO: IMEI packet received {"connection_id":229357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":229357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:00:12] local.INFO: TCP Data received {"connection_id":230654,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:00:12] local.INFO: Processing buffer {"connection_id":230654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:00:12] local.INFO: IMEI packet received {"connection_id":230654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":230654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:00:13] local.INFO: TCP Data received {"connection_id":230654,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:00:13] local.INFO: Processing buffer {"connection_id":230654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:00:13] local.INFO: Packet analysis {"connection_id":230654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:13] local.INFO: Extracted packet for processing {"connection_id":230654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 11:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:00: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-11-04 11: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-11-04 11:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":230654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:00:13] local.INFO: GPS data processed {"connection_id":230654,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:00:13] local.INFO: Acknowledgment sent {"connection_id":230654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:00:14] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:00:14] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:00:14] local.INFO: IMEI packet received {"connection_id":229357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":229357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:00:15] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a507c400012cf997800706a660000201562b..."} 
[2026-11-04 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a507c400012cf997800706a660000201562b..."} 
[2026-11-04 11:00:15] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a507c400012cf997800706a660000201562b..."} 
[2026-11-04 11:00:15] local.INFO: Packet analysis {"connection_id":229357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:15] local.INFO: Extracted packet for processing {"connection_id":229357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:15] local.INFO: GPS Element Parsed {"raw_longitude":754554752,"raw_latitude":117876320,"longitude_deg":75.4554752,"latitude_deg":11.787632,"altitude":2,"angle":342,"satellites":43,"speed":37,"hex_longitude":"2cf99780","hex_latitude":"0706a660","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205146368001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20447682166259712,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458311600655118336,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:15] 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-11-04 11:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793770112000,"timestamp_ms":1793770112000,"timestamp_seconds":1793770112,"priority":1,"record_length":96,"hex_timestamp":"000001a1a507c400"} 
[2026-11-04 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-11-04 11:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:00:15] 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-11-04 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-11-04 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-11-04 11:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205146368001,"66":28354,"165":206,"28":32256,"24":37,"16":20447682166259712,"44":-458311600655118336},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205146368001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:00:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:00:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20447682166259712,"km_value":20447682166259.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458311600655118336,"description":"Unknown IO ID 44"} 
[2026-11-04 11:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205146368001,"power":28354,"unknown_165":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-458311600655118336}} 
[2026-11-04 11:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":229357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:00:15] local.INFO: GPS data processed {"connection_id":229357,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:00:15] local.INFO: Acknowledgment sent {"connection_id":229357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:00:45] local.INFO: TCP Data received {"connection_id":230654,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:00:45] local.INFO: Processing buffer {"connection_id":230654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:00:45] local.INFO: Packet analysis {"connection_id":230654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:45] local.INFO: Extracted packet for processing {"connection_id":230654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 11:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:00: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-11-04 11: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-11-04 11:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":230654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:00:45] local.INFO: GPS data processed {"connection_id":230654,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:00:45] local.INFO: Acknowledgment sent {"connection_id":230654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:00:47] local.INFO: TCP Data received {"connection_id":229357,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a507f6c8012cf98d400706ca100002015a2b..."} 
[2026-11-04 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a507f6c8012cf98d400706ca100002015a2b..."} 
[2026-11-04 11:00:47] local.INFO: Processing buffer {"connection_id":229357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a507f6c8012cf98d400706ca100002015a2b..."} 
[2026-11-04 11:00:47] local.INFO: Packet analysis {"connection_id":229357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:47] local.INFO: Extracted packet for processing {"connection_id":229357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":754552128,"raw_latitude":117885456,"longitude_deg":75.4552128,"latitude_deg":11.7885456,"altitude":2,"angle":346,"satellites":43,"speed":26,"hex_longitude":"2cf98d40","hex_latitude":"0706ca10","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205148672001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20448141727760384,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-461759669117493248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:00:47] 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-11-04 11:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793770125000,"timestamp_ms":1793770125000,"timestamp_seconds":1793770125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a507f6c8"} 
[2026-11-04 11:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 11:00:47] 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-11-04 11: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-11-04 11:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229357,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205148672001,"66":28267,"165":206,"28":32256,"24":26,"16":20448141727760384,"44":-461759669117493248},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205148672001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:00:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20448141727760384,"km_value":20448141727760.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-461759669117493248,"description":"Unknown IO ID 44"} 
[2026-11-04 11:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205148672001,"power":28267,"unknown_165":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_44":-461759669117493248}} 
[2026-11-04 11:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":229357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:00:47] local.INFO: GPS data processed {"connection_id":229357,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:00:47] local.INFO: Acknowledgment sent {"connection_id":229357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:01:06] local.INFO: TCP Data received {"connection_id":232500,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:01:06] local.INFO: Processing buffer {"connection_id":232500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:01:06] local.INFO: IMEI packet received {"connection_id":232500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":232500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:01:12] local.INFO: TCP Data received {"connection_id":232500,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:01:12] local.INFO: Processing buffer {"connection_id":232500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:01:12] local.INFO: IMEI packet received {"connection_id":232500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":232500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:01:13] local.INFO: TCP Data received {"connection_id":232500,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:01:13] local.INFO: Processing buffer {"connection_id":232500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:01:13] local.INFO: Packet analysis {"connection_id":232500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:01:13] local.INFO: Extracted packet for processing {"connection_id":232500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 11:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:01: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-11-04 11: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-11-04 11:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":232500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:01:13] local.INFO: GPS data processed {"connection_id":232500,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:01:13] local.INFO: Acknowledgment sent {"connection_id":232500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:01:14] local.INFO: TCP Data received {"connection_id":228854,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:01:14] local.INFO: Processing buffer {"connection_id":228854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:01:14] local.INFO: IMEI packet received {"connection_id":228854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":228854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:01:19] local.INFO: TCP Data received {"connection_id":228854,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:01:19] local.INFO: Processing buffer {"connection_id":228854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:01:19] local.INFO: IMEI packet received {"connection_id":228854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":228854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:01:20] local.INFO: TCP Data received {"connection_id":228854,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50825a8012cf982800706ed98000301502a..."} 
[2026-11-04 11:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50825a8012cf982800706ed98000301502a..."} 
[2026-11-04 11:01:20] local.INFO: Processing buffer {"connection_id":228854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50825a8012cf982800706ed98000301502a..."} 
[2026-11-04 11:01:20] local.INFO: Packet analysis {"connection_id":228854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:01:20] local.INFO: Extracted packet for processing {"connection_id":228854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":754549376,"raw_latitude":117894552,"longitude_deg":75.4549376,"latitude_deg":11.7894552,"altitude":3,"angle":336,"satellites":42,"speed":35,"hex_longitude":"2cf98280","hex_latitude":"0706ed98","is_valid_coordinates":true} 
[2026-11-04 11:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205152000001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20448601289261056,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464644787626438656,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:20] 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-11-04 11:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793770137000,"timestamp_ms":1793770137000,"timestamp_seconds":1793770137,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50825a8"} 
[2026-11-04 11:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 11:01:20] 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-11-04 11:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205152000001,"66":28300,"165":206,"28":32256,"24":35,"16":20448601289261056,"44":-464644787626438656},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205152000001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:01:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:01:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20448601289261056,"km_value":20448601289261.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464644787626438656,"description":"Unknown IO ID 44"} 
[2026-11-04 11:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205152000001,"power":28300,"unknown_165":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_44":-464644787626438656}} 
[2026-11-04 11:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":228854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:01:20] local.INFO: GPS data processed {"connection_id":228854,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:01:20] local.INFO: Acknowledgment sent {"connection_id":228854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:01:46] local.INFO: TCP Data received {"connection_id":232500,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:01:46] local.INFO: Processing buffer {"connection_id":232500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:01:46] local.INFO: Packet analysis {"connection_id":232500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:01:46] local.INFO: Extracted packet for processing {"connection_id":232500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 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-11-04 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 11:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:01:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":232500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:01:46] local.INFO: GPS data processed {"connection_id":232500,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:01:46] local.INFO: Acknowledgment sent {"connection_id":232500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:01:51] local.INFO: TCP Data received {"connection_id":228854,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5084cb8012cf9728007070fc0000401532a..."} 
[2026-11-04 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5084cb8012cf9728007070fc0000401532a..."} 
[2026-11-04 11:01:51] local.INFO: Processing buffer {"connection_id":228854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5084cb8012cf9728007070fc0000401532a..."} 
[2026-11-04 11:01:51] local.INFO: Packet analysis {"connection_id":228854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:01:51] local.INFO: Extracted packet for processing {"connection_id":228854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:01:51] local.INFO: GPS Element Parsed {"raw_longitude":754545280,"raw_latitude":117903296,"longitude_deg":75.454528,"latitude_deg":11.7903296,"altitude":4,"angle":339,"satellites":42,"speed":40,"hex_longitude":"2cf97280","hex_latitude":"07070fc0","is_valid_coordinates":true} 
[2026-11-04 11:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205155072001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20449069440696320,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-467670643623749632,"note":"Value kept but may cause issues"} 
[2026-11-04 11:01:51] 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-11-04 11:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793770147000,"timestamp_ms":1793770147000,"timestamp_seconds":1793770147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5084cb8"} 
[2026-11-04 11:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 11:01:51] 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-11-04 11:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205155072001,"66":28430,"165":206,"28":32256,"24":40,"16":20449069440696320,"44":-467670643623749632},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205155072001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:01:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:01:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20449069440696320,"km_value":20449069440696.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-467670643623749632,"description":"Unknown IO ID 44"} 
[2026-11-04 11:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205155072001,"power":28430,"unknown_165":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-467670643623749632}} 
[2026-11-04 11:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":228854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:01:52] local.INFO: GPS data processed {"connection_id":228854,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:01:52] local.INFO: Acknowledgment sent {"connection_id":228854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:02:06] local.INFO: TCP Data received {"connection_id":232501,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:06] local.INFO: Processing buffer {"connection_id":232501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:06] local.INFO: IMEI packet received {"connection_id":232501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":232501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:02:10] local.INFO: TCP Data received {"connection_id":232501,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:10] local.INFO: Processing buffer {"connection_id":232501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:10] local.INFO: IMEI packet received {"connection_id":232501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":232501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:02:12] local.INFO: TCP Data received {"connection_id":229358,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:02:12] local.INFO: Processing buffer {"connection_id":229358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:02:12] local.INFO: IMEI packet received {"connection_id":229358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":229358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:02:14] local.INFO: TCP Data received {"connection_id":232501,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:14] local.INFO: Processing buffer {"connection_id":232501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:02:14] local.INFO: IMEI packet received {"connection_id":232501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":232501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:02:15] local.INFO: TCP Data received {"connection_id":232501,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5086fe0012cf96780070731380004015424..."} 
[2026-11-04 11:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5086fe0012cf96780070731380004015424..."} 
[2026-11-04 11:02:15] local.INFO: Processing buffer {"connection_id":232501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5086fe0012cf96780070731380004015424..."} 
[2026-11-04 11:02:15] local.INFO: Packet analysis {"connection_id":232501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:02:15] local.INFO: Extracted packet for processing {"connection_id":232501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":754542464,"raw_latitude":117911864,"longitude_deg":75.4542464,"latitude_deg":11.7911864,"altitude":4,"angle":340,"satellites":36,"speed":39,"hex_longitude":"2cf96780","hex_latitude":"07073138","is_valid_coordinates":true} 
[2026-11-04 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205157632001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20449507527360512,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-472174243248881664,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:15] 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-11-04 11:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793770156000,"timestamp_ms":1793770156000,"timestamp_seconds":1793770156,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5086fe0"} 
[2026-11-04 11:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 11:02:15] 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-11-04 11:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205157632001,"66":28343,"165":206,"28":32256,"24":39,"16":20449507527360512,"44":-472174243248881664},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205157632001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20449507527360512,"km_value":20449507527360.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-472174243248881664,"description":"Unknown IO ID 44"} 
[2026-11-04 11:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205157632001,"power":28343,"unknown_165":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_44":-472174243248881664}} 
[2026-11-04 11:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":232501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:02:15] local.INFO: GPS data processed {"connection_id":232501,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:02:15] local.INFO: Acknowledgment sent {"connection_id":232501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:02:17] local.INFO: TCP Data received {"connection_id":229358,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:02:17] local.INFO: Processing buffer {"connection_id":229358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:02:17] local.INFO: IMEI packet received {"connection_id":229358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":229358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:02:18] local.INFO: TCP Data received {"connection_id":229358,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:02:18] local.INFO: Processing buffer {"connection_id":229358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:02:18] local.INFO: Packet analysis {"connection_id":229358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:02:18] local.INFO: Extracted packet for processing {"connection_id":229358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:02:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 11:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:02:18] 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-11-04 11: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-11-04 11:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:02:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":229358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:02:18] local.INFO: GPS data processed {"connection_id":229358,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:02:18] local.INFO: Acknowledgment sent {"connection_id":229358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:02:22] local.INFO: TCP Data received {"connection_id":229358,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:02:22] local.INFO: Processing buffer {"connection_id":229358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:02:22] local.INFO: Packet analysis {"connection_id":229358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:02:22] local.INFO: Extracted packet for processing {"connection_id":229358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:02:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 11:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:02: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-11-04 11: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-11-04 11:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:02:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":229358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:02:22] local.INFO: GPS data processed {"connection_id":229358,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:02:22] local.INFO: Acknowledgment sent {"connection_id":229358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:02:47] local.INFO: TCP Data received {"connection_id":232501,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50896f0012cf95c4007075548000301572a..."} 
[2026-11-04 11:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50896f0012cf95c4007075548000301572a..."} 
[2026-11-04 11:02:47] local.INFO: Processing buffer {"connection_id":232501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50896f0012cf95c4007075548000301572a..."} 
[2026-11-04 11:02:47] local.INFO: Packet analysis {"connection_id":232501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:02:47] local.INFO: Extracted packet for processing {"connection_id":232501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:02:47] local.INFO: GPS Element Parsed {"raw_longitude":754539584,"raw_latitude":117921096,"longitude_deg":75.4539584,"latitude_deg":11.7921096,"altitude":3,"angle":343,"satellites":42,"speed":37,"hex_longitude":"2cf95c40","hex_latitude":"07075548","is_valid_coordinates":true} 
[2026-11-04 11:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205159936001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20449975678795776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-475270467990505472,"note":"Value kept but may cause issues"} 
[2026-11-04 11:02:47] 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-11-04 11:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793770166000,"timestamp_ms":1793770166000,"timestamp_seconds":1793770166,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50896f0"} 
[2026-11-04 11:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 11:02:47] 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-11-04 11:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205159936001,"66":28354,"165":206,"28":32256,"24":37,"16":20449975678795776,"44":-475270467990505472},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205159936001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:02:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20449975678795776,"km_value":20449975678795.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-475270467990505472,"description":"Unknown IO ID 44"} 
[2026-11-04 11:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205159936001,"power":28354,"unknown_165":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-475270467990505472}} 
[2026-11-04 11:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":232501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:02:47] local.INFO: GPS data processed {"connection_id":232501,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:02:47] local.INFO: Acknowledgment sent {"connection_id":232501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:03:07] local.INFO: TCP Data received {"connection_id":228855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:03:07] local.INFO: Processing buffer {"connection_id":228855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:03:07] local.INFO: IMEI packet received {"connection_id":228855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":228855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:03:09] local.INFO: TCP Data received {"connection_id":230655,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:09] local.INFO: Processing buffer {"connection_id":230655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:09] local.INFO: IMEI packet received {"connection_id":230655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":230655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:03:10] local.INFO: TCP Data received {"connection_id":230655,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:10] local.INFO: Processing buffer {"connection_id":230655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:10] local.INFO: IMEI packet received {"connection_id":230655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":230655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:03:12] local.INFO: TCP Data received {"connection_id":228855,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:03:12] local.INFO: Processing buffer {"connection_id":228855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:03:12] local.INFO: IMEI packet received {"connection_id":228855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":228855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:03:13] local.INFO: TCP Data received {"connection_id":228855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:13] local.INFO: Processing buffer {"connection_id":228855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:13] local.INFO: Packet analysis {"connection_id":228855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:03:13] local.INFO: Extracted packet for processing {"connection_id":228855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 11:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:03: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-11-04 11: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-11-04 11:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":228855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:03:13] local.INFO: GPS data processed {"connection_id":228855,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:03:13] local.INFO: Acknowledgment sent {"connection_id":228855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:03:14] local.INFO: TCP Data received {"connection_id":230655,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:14] local.INFO: Processing buffer {"connection_id":230655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:03:14] local.INFO: IMEI packet received {"connection_id":230655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":230655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:03:17] local.INFO: TCP Data received {"connection_id":230655,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a508c1e8012cf94f40070778b80005014f2c..."} 
[2026-11-04 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a508c1e8012cf94f40070778b80005014f2c..."} 
[2026-11-04 11:03:17] local.INFO: Processing buffer {"connection_id":230655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a508c1e8012cf94f40070778b80005014f2c..."} 
[2026-11-04 11:03:17] local.INFO: Packet analysis {"connection_id":230655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:03:17] local.INFO: Extracted packet for processing {"connection_id":230655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":754536256,"raw_latitude":117930168,"longitude_deg":75.4536256,"latitude_deg":11.7930168,"altitude":5,"angle":335,"satellites":44,"speed":34,"hex_longitude":"2cf94f40","hex_latitude":"070778b8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205162496001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20450443830231040,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-478437061476136960,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03: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-11-04 11:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793770177000,"timestamp_ms":1793770177000,"timestamp_seconds":1793770177,"priority":1,"record_length":96,"hex_timestamp":"000001a1a508c1e8"} 
[2026-11-04 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-11-04 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 11:03: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-11-04 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-11-04 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-11-04 11:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205162496001,"66":28495,"165":206,"28":32256,"24":34,"16":20450443830231040,"44":-478437061476136960},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205162496001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:03:17] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:03:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20450443830231040,"km_value":20450443830231.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:03:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-478437061476136960,"description":"Unknown IO ID 44"} 
[2026-11-04 11:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205162496001,"power":28495,"unknown_165":206,"unknown_28":32256,"ignition":34,"odometer":null,"unknown_44":-478437061476136960}} 
[2026-11-04 11:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":230655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:03:17] local.INFO: GPS data processed {"connection_id":230655,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:03:17] local.INFO: Acknowledgment sent {"connection_id":230655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:03:17] local.INFO: TCP Data received {"connection_id":228855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:17] local.INFO: Processing buffer {"connection_id":228855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:17] local.INFO: Packet analysis {"connection_id":228855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:03:17] local.INFO: Extracted packet for processing {"connection_id":228855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 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-11-04 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:03: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-11-04 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-11-04 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-11-04 11:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":228855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:03:17] local.INFO: GPS data processed {"connection_id":228855,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:03:17] local.INFO: Acknowledgment sent {"connection_id":228855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:03:49] local.INFO: TCP Data received {"connection_id":230655,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a508e510012cf93c4007079510000701432c..."} 
[2026-11-04 11:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a508e510012cf93c4007079510000701432c..."} 
[2026-11-04 11:03:49] local.INFO: Processing buffer {"connection_id":230655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a508e510012cf93c4007079510000701432c..."} 
[2026-11-04 11:03:49] local.INFO: Packet analysis {"connection_id":230655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:03:49] local.INFO: Extracted packet for processing {"connection_id":230655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a508"} 
[2026-11-04 11:03:49] local.INFO: GPS Element Parsed {"raw_longitude":754531392,"raw_latitude":117937424,"longitude_deg":75.4531392,"latitude_deg":11.7937424,"altitude":7,"angle":323,"satellites":44,"speed":40,"hex_longitude":"2cf93c40","hex_latitude":"07079510","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205165312001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20450864737026048,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-482096236171053056,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:49] 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-11-04 11:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793770186000,"timestamp_ms":1793770186000,"timestamp_seconds":1793770186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a508e510"} 
[2026-11-04 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-11-04 11:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":79,"data_length":795,"current_offset":136} 
[2026-11-04 11:03:49] 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-11-04 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-11-04 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-11-04 11:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205165312001,"66":28452,"165":206,"28":32256,"24":40,"16":20450864737026048,"44":-482096236171053056},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205165312001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:03:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20450864737026048,"km_value":20450864737026.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:03:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-482096236171053056,"description":"Unknown IO ID 44"} 
[2026-11-04 11:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205165312001,"power":28452,"unknown_165":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-482096236171053056}} 
[2026-11-04 11:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":230655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:03:49] local.INFO: GPS data processed {"connection_id":230655,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:03:49] local.INFO: Acknowledgment sent {"connection_id":230655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:03:50] local.INFO: TCP Data received {"connection_id":228855,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:50] local.INFO: Processing buffer {"connection_id":228855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5079138012d34c30006aa43d0000b00902d..."} 
[2026-11-04 11:03:50] local.INFO: Packet analysis {"connection_id":228855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:03:50] local.INFO: Extracted packet for processing {"connection_id":228855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a507"} 
[2026-11-04 11:03:50] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205068288001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793770099000,"timestamp_ms":1793770099000,"timestamp_seconds":1793770099,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5079138"} 
[2026-11-04 11:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11: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-11-04 11:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205068288001,"66":25691,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205068288001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:03:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205068288001,"power":25691,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":228855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:03:50] local.INFO: GPS data processed {"connection_id":228855,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:03:50] local.INFO: Acknowledgment sent {"connection_id":228855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:04:07] local.INFO: TCP Data received {"connection_id":230656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:04:07] local.INFO: Processing buffer {"connection_id":230656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:04:07] local.INFO: IMEI packet received {"connection_id":230656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":230656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:04:09] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:04:09] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:04:09] local.INFO: IMEI packet received {"connection_id":229359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":229359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:04:12] local.INFO: TCP Data received {"connection_id":230656,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:04:12] local.INFO: Processing buffer {"connection_id":230656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:04:12] local.INFO: IMEI packet received {"connection_id":230656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":230656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:04:13] local.INFO: TCP Data received {"connection_id":230656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:04:13] local.INFO: Processing buffer {"connection_id":230656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:04:13] local.INFO: Packet analysis {"connection_id":230656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:04:13] local.INFO: Extracted packet for processing {"connection_id":230656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 11:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:04: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-11-04 11: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-11-04 11:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":230656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:04:13] local.INFO: GPS data processed {"connection_id":230656,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:04:13] local.INFO: Acknowledgment sent {"connection_id":230656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:04:21] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:04:21] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:04:21] local.INFO: IMEI packet received {"connection_id":229359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":229359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:04:22] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5090838012cf926400707b380000801452b..."} 
[2026-11-04 11:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5090838012cf926400707b380000801452b..."} 
[2026-11-04 11:04:22] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5090838012cf926400707b380000801452b..."} 
[2026-11-04 11:04:22] local.INFO: Packet analysis {"connection_id":229359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a509"} 
[2026-11-04 11:04:22] local.INFO: Extracted packet for processing {"connection_id":229359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a509"} 
[2026-11-04 11:04:22] local.INFO: GPS Element Parsed {"raw_longitude":754525760,"raw_latitude":117945216,"longitude_deg":75.452576,"latitude_deg":11.7945216,"altitude":8,"angle":325,"satellites":43,"speed":43,"hex_longitude":"2cf92640","hex_latitude":"0707b380","is_valid_coordinates":true} 
[2026-11-04 11:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205167616001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20451328593494016,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-487444260726697984,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:22] 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-11-04 11:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793770195000,"timestamp_ms":1793770195000,"timestamp_seconds":1793770195,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5090838"} 
[2026-11-04 11:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:04:22] 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-11-04 11:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205167616001,"66":28517,"165":206,"28":32256,"24":43,"16":20451328593494016,"44":-487444260726697984},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205167616001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:04:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20451328593494016,"km_value":20451328593494.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-487444260726697984,"description":"Unknown IO ID 44"} 
[2026-11-04 11:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205167616001,"power":28517,"unknown_165":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_44":-487444260726697984}} 
[2026-11-04 11:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":229359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:04:22] local.INFO: GPS data processed {"connection_id":229359,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:04:22] local.INFO: Acknowledgment sent {"connection_id":229359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:04:23] local.INFO: TCP Data received {"connection_id":229359,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5092b60012cf910400707d0e8000a01432c..."} 
[2026-11-04 11:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5092b60012cf910400707d0e8000a01432c..."} 
[2026-11-04 11:04:23] local.INFO: Processing buffer {"connection_id":229359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5092b60012cf910400707d0e8000a01432c..."} 
[2026-11-04 11:04:23] local.INFO: Packet analysis {"connection_id":229359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a509"} 
[2026-11-04 11:04:23] local.INFO: Extracted packet for processing {"connection_id":229359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a509"} 
[2026-11-04 11:04:23] local.INFO: GPS Element Parsed {"raw_longitude":754520128,"raw_latitude":117952744,"longitude_deg":75.4520128,"latitude_deg":11.7952744,"altitude":10,"angle":323,"satellites":44,"speed":35,"hex_longitude":"2cf91040","hex_latitude":"0707d0e8","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205169920001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20451779565060096,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-493636710212337664,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:23] 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-11-04 11:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793770204000,"timestamp_ms":1793770204000,"timestamp_seconds":1793770204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5092b60"} 
[2026-11-04 11:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-11-04 11:04:23] 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-11-04 11: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-11-04 11:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205169920001,"66":28354,"165":206,"28":32256,"24":35,"16":20451779565060096,"44":-493636710212337664},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-11-04 11:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205169920001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:04:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 11:04:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 11:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20451779565060096,"km_value":20451779565060.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:04:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-493636710212337664,"description":"Unknown IO ID 44"} 
[2026-11-04 11:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205169920001,"power":28354,"unknown_165":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_44":-493636710212337664}} 
[2026-11-04 11:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":229359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:04:23] local.INFO: GPS data processed {"connection_id":229359,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:04:23] local.INFO: Acknowledgment sent {"connection_id":229359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:04:45] local.INFO: TCP Data received {"connection_id":230656,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:04:45] local.INFO: Processing buffer {"connection_id":230656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:04:45] local.INFO: Packet analysis {"connection_id":230656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:04:45] local.INFO: Extracted packet for processing {"connection_id":230656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:04:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 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-11-04 11:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:04: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-11-04 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-11-04 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-11-04 11:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":230656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:04:45] local.INFO: GPS data processed {"connection_id":230656,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:04:45] local.INFO: Acknowledgment sent {"connection_id":230656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:05:06] local.INFO: TCP Data received {"connection_id":229360,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:05:06] local.INFO: Processing buffer {"connection_id":229360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:05:06] local.INFO: IMEI packet received {"connection_id":229360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":229360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:05:09] local.INFO: TCP Data received {"connection_id":228856,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:09] local.INFO: Processing buffer {"connection_id":228856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:09] local.INFO: IMEI packet received {"connection_id":228856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":228856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:05:12] local.INFO: TCP Data received {"connection_id":229360,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:05:12] local.INFO: Processing buffer {"connection_id":229360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:05:12] local.INFO: IMEI packet received {"connection_id":229360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":229360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:05:13] local.INFO: TCP Data received {"connection_id":229360,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:05:13] local.INFO: Processing buffer {"connection_id":229360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:05:13] local.INFO: Packet analysis {"connection_id":229360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:13] local.INFO: Extracted packet for processing {"connection_id":229360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 11:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:05: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-11-04 11:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:05:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":229360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:05:13] local.INFO: GPS data processed {"connection_id":229360,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:05:13] local.INFO: Acknowledgment sent {"connection_id":229360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:05:13] local.INFO: TCP Data received {"connection_id":228856,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:13] local.INFO: Processing buffer {"connection_id":228856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:13] local.INFO: IMEI packet received {"connection_id":228856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":228856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:05:14] local.INFO: TCP Data received {"connection_id":228856,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:14] local.INFO: Processing buffer {"connection_id":228856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:05:14] local.INFO: IMEI packet received {"connection_id":228856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":228856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:05:15] local.INFO: TCP Data received {"connection_id":228856,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50cc540012cf8360007092c00000701472d..."} 
[2026-11-04 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50cc540012cf8360007092c00000701472d..."} 
[2026-11-04 11:05:15] local.INFO: Processing buffer {"connection_id":228856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50cc540012cf8360007092c00000701472d..."} 
[2026-11-04 11:05:15] local.INFO: Packet analysis {"connection_id":228856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:15] local.INFO: Extracted packet for processing {"connection_id":228856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":754464256,"raw_latitude":118041600,"longitude_deg":75.4464256,"latitude_deg":11.80416,"altitude":7,"angle":327,"satellites":45,"speed":57,"hex_longitude":"2cf83600","hex_latitude":"07092c00","is_valid_coordinates":true} 
[2026-11-04 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205231360001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20452827537080320,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-557813004879337472,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:15] 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-11-04 11:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793770440000,"timestamp_ms":1793770440000,"timestamp_seconds":1793770440,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50cc540"} 
[2026-11-04 11:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-04 11:05:15] 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-11-04 11:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205231360001,"66":28343,"31":206,"2":54272,"24":57,"16":20452827537080320,"44":-557813004879337472},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-11-04 11:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205231360001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:05:15] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-04 11:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20452827537080320,"km_value":20452827537080.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-557813004879337472,"description":"Unknown IO ID 44"} 
[2026-11-04 11:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205231360001,"power":28343,"unknown_31":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-557813004879337472}} 
[2026-11-04 11:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":228856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58907,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:05:15] local.INFO: GPS data processed {"connection_id":228856,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:05:15] local.INFO: Acknowledgment sent {"connection_id":228856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:05:25] local.INFO: TCP Data received {"connection_id":228856,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50ce098012cf81d0007094a280008013f2d..."} 
[2026-11-04 11:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50ce098012cf81d0007094a280008013f2d..."} 
[2026-11-04 11:05:25] local.INFO: Processing buffer {"connection_id":228856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50ce098012cf81d0007094a280008013f2d..."} 
[2026-11-04 11:05:25] local.INFO: Packet analysis {"connection_id":228856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:25] local.INFO: Extracted packet for processing {"connection_id":228856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":754457856,"raw_latitude":118049320,"longitude_deg":75.4457856,"latitude_deg":11.804932,"altitude":8,"angle":319,"satellites":45,"speed":56,"hex_longitude":"2cf81d00","hex_latitude":"07094a28","is_valid_coordinates":true} 
[2026-11-04 11:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205232640001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20453308573417472,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-561261073342398464,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:25] 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-11-04 11:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793770447000,"timestamp_ms":1793770447000,"timestamp_seconds":1793770447,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50ce098"} 
[2026-11-04 11:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 11:05:25] 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-11-04 11:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205232640001,"66":28430,"31":206,"2":54272,"24":56,"16":20453308573417472,"44":-561261073342398464},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-11-04 11:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205232640001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:05:25] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-04 11:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20453308573417472,"km_value":20453308573417.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-561261073342398464,"description":"Unknown IO ID 44"} 
[2026-11-04 11:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205232640001,"power":28430,"unknown_31":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-561261073342398464}} 
[2026-11-04 11:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":228856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:05:25] local.INFO: GPS data processed {"connection_id":228856,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:05:25] local.INFO: Acknowledgment sent {"connection_id":228856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:05:44] local.INFO: TCP Data received {"connection_id":229360,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:05:45] local.INFO: Processing buffer {"connection_id":229360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:05:45] local.INFO: Packet analysis {"connection_id":229360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:45] local.INFO: Extracted packet for processing {"connection_id":229360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 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-11-04 11:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:05: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-11-04 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-11-04 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-11-04 11:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":229360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:05:45] local.INFO: GPS data processed {"connection_id":229360,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:05:45] local.INFO: Acknowledgment sent {"connection_id":229360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:06:06] local.INFO: TCP Data received {"connection_id":232502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:06:06] local.INFO: Processing buffer {"connection_id":232502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:06:06] local.INFO: IMEI packet received {"connection_id":232502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":232502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:06:09] local.INFO: TCP Data received {"connection_id":230657,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:09] local.INFO: Processing buffer {"connection_id":230657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:09] local.INFO: IMEI packet received {"connection_id":230657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":230657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:06:09] local.INFO: TCP Data received {"connection_id":230657,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:09] local.INFO: Processing buffer {"connection_id":230657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:09] local.INFO: IMEI packet received {"connection_id":230657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":230657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:06:12] local.INFO: TCP Data received {"connection_id":232502,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:06:12] local.INFO: Processing buffer {"connection_id":232502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:06:12] local.INFO: IMEI packet received {"connection_id":232502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":232502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:06:13] local.INFO: TCP Data received {"connection_id":232502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:06:13] local.INFO: Processing buffer {"connection_id":232502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:06:13] local.INFO: Packet analysis {"connection_id":232502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:06:13] local.INFO: Extracted packet for processing {"connection_id":232502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 11:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:06: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-11-04 11: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-11-04 11:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":232502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:06:13] local.INFO: GPS data processed {"connection_id":232502,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:06:13] local.INFO: Acknowledgment sent {"connection_id":232502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:06:14] local.INFO: TCP Data received {"connection_id":230657,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:14] local.INFO: Processing buffer {"connection_id":230657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:06:14] local.INFO: IMEI packet received {"connection_id":230657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":230657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:06:15] local.INFO: TCP Data received {"connection_id":230657,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50cfbf0012cf8044007096718000b01402c..."} 
[2026-11-04 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50cfbf0012cf8044007096718000b01402c..."} 
[2026-11-04 11:06:15] local.INFO: Processing buffer {"connection_id":230657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50cfbf0012cf8044007096718000b01402c..."} 
[2026-11-04 11:06:15] local.INFO: Packet analysis {"connection_id":230657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:06:15] local.INFO: Extracted packet for processing {"connection_id":230657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":754451520,"raw_latitude":118056728,"longitude_deg":75.445152,"latitude_deg":11.8056728,"altitude":11,"angle":320,"satellites":44,"speed":53,"hex_longitude":"2cf80440","hex_latitude":"07096718","is_valid_coordinates":true} 
[2026-11-04 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205234432001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20453776724852736,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-568297947758188544,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:15] 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-11-04 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793770454000,"timestamp_ms":1793770454000,"timestamp_seconds":1793770454,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50cfbf0"} 
[2026-11-04 11:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 11:06:15] 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-11-04 11:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205234432001,"66":28300,"31":206,"2":54272,"24":53,"16":20453776724852736,"44":-568297947758188544},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-11-04 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205234432001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:06:15] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-11-04 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20453776724852736,"km_value":20453776724852.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-568297947758188544,"description":"Unknown IO ID 44"} 
[2026-11-04 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205234432001,"power":28300,"unknown_31":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-568297947758188544}} 
[2026-11-04 11:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":230657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:06:16] local.INFO: GPS data processed {"connection_id":230657,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:06:16] local.INFO: Acknowledgment sent {"connection_id":230657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:06:45] local.INFO: TCP Data received {"connection_id":232502,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:06:45] local.INFO: Processing buffer {"connection_id":232502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:06:45] local.INFO: Packet analysis {"connection_id":232502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:06:45] local.INFO: Extracted packet for processing {"connection_id":232502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 11:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:06: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-11-04 11: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-11-04 11:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":232502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:06:45] local.INFO: GPS data processed {"connection_id":232502,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:06:45] local.INFO: Acknowledgment sent {"connection_id":232502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:06:47] local.INFO: TCP Data received {"connection_id":230657,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50e7ac0012cf6b300070b0bf8000801412e..."} 
[2026-11-04 11:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50e7ac0012cf6b300070b0bf8000801412e..."} 
[2026-11-04 11:06:47] local.INFO: Processing buffer {"connection_id":230657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50e7ac0012cf6b300070b0bf8000801412e..."} 
[2026-11-04 11:06:47] local.INFO: Packet analysis {"connection_id":230657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50e"} 
[2026-11-04 11:06:47] local.INFO: Extracted packet for processing {"connection_id":230657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50e"} 
[2026-11-04 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":754365184,"raw_latitude":118164472,"longitude_deg":75.4365184,"latitude_deg":11.8164472,"altitude":8,"angle":321,"satellites":46,"speed":51,"hex_longitude":"2cf6b300","hex_latitude":"070b0bf8","is_valid_coordinates":true} 
[2026-11-04 11:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205259520001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20460425334226944,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-664632758509797376,"note":"Value kept but may cause issues"} 
[2026-11-04 11:06:47] 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-11-04 11:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793770552000,"timestamp_ms":1793770552000,"timestamp_seconds":1793770552,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50e7ac0"} 
[2026-11-04 11:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 11:06: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-11-04 11:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205259520001,"66":28398,"32":206,"2":54272,"24":51,"16":20460425334226944,"44":-664632758509797376},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-11-04 11:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205259520001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:06:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-11-04 11:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20460425334226944,"km_value":20460425334226.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:06:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-664632758509797376,"description":"Unknown IO ID 44"} 
[2026-11-04 11:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205259520001,"power":28398,"unknown_32":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-664632758509797376}} 
[2026-11-04 11:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":230657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:06:48] local.INFO: GPS data processed {"connection_id":230657,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:06:48] local.INFO: Acknowledgment sent {"connection_id":230657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:07:12] local.INFO: TCP Data received {"connection_id":228857,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:07:12] local.INFO: Processing buffer {"connection_id":228857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:07:12] local.INFO: IMEI packet received {"connection_id":228857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":228857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:07:17] local.INFO: TCP Data received {"connection_id":228857,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:07:17] local.INFO: Processing buffer {"connection_id":228857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:07:17] local.INFO: IMEI packet received {"connection_id":228857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":228857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:07:18] local.INFO: TCP Data received {"connection_id":228857,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:07:18] local.INFO: Processing buffer {"connection_id":228857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:07:18] local.INFO: Packet analysis {"connection_id":228857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:07:18] local.INFO: Extracted packet for processing {"connection_id":228857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 11:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:07:18] 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-11-04 11:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:07:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":228857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:07:18] local.INFO: GPS data processed {"connection_id":228857,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:07:18] local.INFO: Acknowledgment sent {"connection_id":228857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:07:19] local.INFO: TCP Data received {"connection_id":230658,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:19] local.INFO: Processing buffer {"connection_id":230658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:19] local.INFO: IMEI packet received {"connection_id":230658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":230658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:07:20] local.INFO: TCP Data received {"connection_id":230658,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:20] local.INFO: Processing buffer {"connection_id":230658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:20] local.INFO: IMEI packet received {"connection_id":230658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":230658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:07:22] local.INFO: TCP Data received {"connection_id":228857,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:07:22] local.INFO: Processing buffer {"connection_id":228857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:07:22] local.INFO: Packet analysis {"connection_id":228857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:07:22] local.INFO: Extracted packet for processing {"connection_id":228857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:07:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 11:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:07: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-11-04 11:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:07:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":228857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:07:22] local.INFO: GPS data processed {"connection_id":228857,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:07:22] local.INFO: Acknowledgment sent {"connection_id":228857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:07:24] local.INFO: TCP Data received {"connection_id":230658,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:24] local.INFO: Processing buffer {"connection_id":230658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:07:24] local.INFO: IMEI packet received {"connection_id":230658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":230658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:07:26] local.INFO: TCP Data received {"connection_id":230658,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50e9618012cf69c00070b2800000701422e..."} 
[2026-11-04 11:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50e9618012cf69c00070b2800000701422e..."} 
[2026-11-04 11:07:26] local.INFO: Processing buffer {"connection_id":230658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50e9618012cf69c00070b2800000701422e..."} 
[2026-11-04 11:07:26] local.INFO: Packet analysis {"connection_id":230658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50e"} 
[2026-11-04 11:07:26] local.INFO: Extracted packet for processing {"connection_id":230658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50e"} 
[2026-11-04 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":754359296,"raw_latitude":118171648,"longitude_deg":75.4359296,"latitude_deg":11.8171648,"altitude":7,"angle":322,"satellites":46,"speed":51,"hex_longitude":"2cf69c00","hex_latitude":"070b2800","is_valid_coordinates":true} 
[2026-11-04 11:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205261312001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20460872010825728,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-670191889297967104,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:26] 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-11-04 11:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793770559000,"timestamp_ms":1793770559000,"timestamp_seconds":1793770559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50e9618"} 
[2026-11-04 11:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:07:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:07:26] 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-11-04 11:07:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205261312001,"66":28430,"32":206,"2":54272,"24":51,"16":20460872010825728,"44":-670191889297967104},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-11-04 11:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205261312001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:07:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-11-04 11:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20460872010825728,"km_value":20460872010825.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:07:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-670191889297967104,"description":"Unknown IO ID 44"} 
[2026-11-04 11:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205261312001,"power":28430,"unknown_32":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-670191889297967104}} 
[2026-11-04 11:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":230658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:07:27] local.INFO: GPS data processed {"connection_id":230658,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:07:27] local.INFO: Acknowledgment sent {"connection_id":230658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:07:31] local.INFO: TCP Data received {"connection_id":230658,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50ead88012cf68c40070b41080006014f2d..."} 
[2026-11-04 11:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50ead88012cf68c40070b41080006014f2d..."} 
[2026-11-04 11:07:31] local.INFO: Processing buffer {"connection_id":230658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50ead88012cf68c40070b41080006014f2d..."} 
[2026-11-04 11:07:31] local.INFO: Packet analysis {"connection_id":230658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50e"} 
[2026-11-04 11:07:31] local.INFO: Extracted packet for processing {"connection_id":230658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50e"} 
[2026-11-04 11:07:31] local.INFO: GPS Element Parsed {"raw_longitude":754355264,"raw_latitude":118178056,"longitude_deg":75.4355264,"latitude_deg":11.8178056,"altitude":6,"angle":335,"satellites":45,"speed":50,"hex_longitude":"2cf68c40","hex_latitude":"070b4108","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205263104001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20461237083045888,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-676665813760475136,"note":"Value kept but may cause issues"} 
[2026-11-04 11:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793770565000,"timestamp_ms":1793770565000,"timestamp_seconds":1793770565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50ead88"} 
[2026-11-04 11:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 11:07: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-11-04 11: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-11-04 11:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205263104001,"66":28398,"32":206,"2":54272,"24":50,"16":20461237083045888,"44":-676665813760475136},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-11-04 11:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205263104001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:07:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-11-04 11:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20461237083045888,"km_value":20461237083045.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-676665813760475136,"description":"Unknown IO ID 44"} 
[2026-11-04 11:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205263104001,"power":28398,"unknown_32":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-676665813760475136}} 
[2026-11-04 11:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":230658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:07:31] local.INFO: GPS data processed {"connection_id":230658,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:07:31] local.INFO: Acknowledgment sent {"connection_id":230658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:08:07] local.INFO: TCP Data received {"connection_id":232503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:08:07] local.INFO: Processing buffer {"connection_id":232503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:08:07] local.INFO: IMEI packet received {"connection_id":232503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":232503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:08:12] local.INFO: TCP Data received {"connection_id":232503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:08:12] local.INFO: Processing buffer {"connection_id":232503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:08:12] local.INFO: IMEI packet received {"connection_id":232503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":232503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:08:13] local.INFO: TCP Data received {"connection_id":232503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:08:13] local.INFO: Processing buffer {"connection_id":232503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:08:13] local.INFO: Packet analysis {"connection_id":232503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:08:13] local.INFO: Extracted packet for processing {"connection_id":232503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:08:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 11:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:08: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-11-04 11: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-11-04 11:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":232503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:08:13] local.INFO: GPS data processed {"connection_id":232503,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:08:13] local.INFO: Acknowledgment sent {"connection_id":232503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:08:45] local.INFO: TCP Data received {"connection_id":232503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:08:45] local.INFO: Processing buffer {"connection_id":232503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50c2900012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:08:45] local.INFO: Packet analysis {"connection_id":232503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:08:45] local.INFO: Extracted packet for processing {"connection_id":232503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50c"} 
[2026-11-04 11:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205145344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:08:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793770400000,"timestamp_ms":1793770400000,"timestamp_seconds":1793770400,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50c2900"} 
[2026-11-04 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-11-04 11:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 11:08: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-11-04 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-11-04 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-11-04 11:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205145344001,"66":25680,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205145344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:08:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205145344001,"power":25680,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":232503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:08:45] local.INFO: GPS data processed {"connection_id":232503,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:08:45] local.INFO: Acknowledgment sent {"connection_id":232503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:09:07] local.INFO: TCP Data received {"connection_id":229361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:09:07] local.INFO: Processing buffer {"connection_id":229361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:09:07] local.INFO: IMEI packet received {"connection_id":229361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":229361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:09:12] local.INFO: TCP Data received {"connection_id":229361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:09:12] local.INFO: Processing buffer {"connection_id":229361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:09:12] local.INFO: IMEI packet received {"connection_id":229361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":229361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:09:14] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:14] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:14] local.INFO: IMEI packet received {"connection_id":229362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":229362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:09:14] local.INFO: TCP Data received {"connection_id":229361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:09:14] local.INFO: Processing buffer {"connection_id":229361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:09:14] local.INFO: Packet analysis {"connection_id":229361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:09:14] local.INFO: Extracted packet for processing {"connection_id":229361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:09: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-11-04 11:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":229361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:09:14] local.INFO: GPS data processed {"connection_id":229361,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:09:14] local.INFO: Acknowledgment sent {"connection_id":229361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:09:21] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:21] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:21] local.INFO: IMEI packet received {"connection_id":229362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":229362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:09:21] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:21] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:09:21] local.INFO: IMEI packet received {"connection_id":229362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":229362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:09:23] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50fe220012cf61a80070cc070000500002e..."} 
[2026-11-04 11:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50fe220012cf61a80070cc070000500002e..."} 
[2026-11-04 11:09:23] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50fe220012cf61a80070cc070000500002e..."} 
[2026-11-04 11:09:23] local.INFO: Packet analysis {"connection_id":229362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50f"} 
[2026-11-04 11:09:23] local.INFO: Extracted packet for processing {"connection_id":229362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50f"} 
[2026-11-04 11:09:23] local.INFO: GPS Element Parsed {"raw_longitude":754326144,"raw_latitude":118276208,"longitude_deg":75.4326144,"latitude_deg":11.8276208,"altitude":5,"angle":0,"satellites":46,"speed":57,"hex_longitude":"2cf61a80","hex_latitude":"070cc070","is_valid_coordinates":true} 
[2026-11-04 11:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205283072001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20466279374651392,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713257560708689920,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:23] 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-11-04 11:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793770644000,"timestamp_ms":1793770644000,"timestamp_seconds":1793770644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50fe220"} 
[2026-11-04 11:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 11:09:23] 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-11-04 11:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205283072001,"66":28256,"209":206,"2":54272,"24":57,"16":20466279374651392,"44":-713257560708689920},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-11-04 11:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205283072001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:09:23] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 11:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20466279374651392,"km_value":20466279374651.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713257560708689920,"description":"Unknown IO ID 44"} 
[2026-11-04 11:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205283072001,"power":28256,"unknown_209":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-713257560708689920}} 
[2026-11-04 11:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":229362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:09:23] local.INFO: GPS data processed {"connection_id":229362,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:09:23] local.INFO: Acknowledgment sent {"connection_id":229362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:09:25] local.INFO: TCP Data received {"connection_id":229362,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a50ffd78012cf61b00070ce860000600002e..."} 
[2026-11-04 11:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a50ffd78012cf61b00070ce860000600002e..."} 
[2026-11-04 11:09:25] local.INFO: Processing buffer {"connection_id":229362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a50ffd78012cf61b00070ce860000600002e..."} 
[2026-11-04 11:09:25] local.INFO: Packet analysis {"connection_id":229362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a50f"} 
[2026-11-04 11:09:25] local.INFO: Extracted packet for processing {"connection_id":229362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a50f"} 
[2026-11-04 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":754326272,"raw_latitude":118286432,"longitude_deg":75.4326272,"latitude_deg":11.8286432,"altitude":6,"angle":0,"satellites":46,"speed":58,"hex_longitude":"2cf61b00","hex_latitude":"070ce860","is_valid_coordinates":true} 
[2026-11-04 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205284864001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20466773295890432,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713116823217737728,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:25] 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-11-04 11:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793770651000,"timestamp_ms":1793770651000,"timestamp_seconds":1793770651,"priority":1,"record_length":96,"hex_timestamp":"000001a1a50ffd78"} 
[2026-11-04 11:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 11:09:25] 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-11-04 11:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229362,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205284864001,"66":28419,"209":206,"2":54272,"24":58,"16":20466773295890432,"44":-713116823217737728},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-11-04 11:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205284864001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:09:25] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 11:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20466773295890432,"km_value":20466773295890.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713116823217737728,"description":"Unknown IO ID 44"} 
[2026-11-04 11:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205284864001,"power":28419,"unknown_209":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-713116823217737728}} 
[2026-11-04 11:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":229362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:09:25] local.INFO: GPS data processed {"connection_id":229362,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:09:25] local.INFO: Acknowledgment sent {"connection_id":229362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:09:46] local.INFO: TCP Data received {"connection_id":229361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:09:46] local.INFO: Processing buffer {"connection_id":229361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:09:46] local.INFO: Packet analysis {"connection_id":229361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:09:46] local.INFO: Extracted packet for processing {"connection_id":229361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 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-11-04 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:09: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-11-04 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-11-04 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-11-04 11:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:09:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":229361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:09:46] local.INFO: GPS data processed {"connection_id":229361,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:09:46] local.INFO: Acknowledgment sent {"connection_id":229361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:10:07] local.INFO: TCP Data received {"connection_id":228858,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:10:07] local.INFO: Processing buffer {"connection_id":228858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:10:07] local.INFO: IMEI packet received {"connection_id":228858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":228858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:10:09] local.INFO: TCP Data received {"connection_id":228859,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:09] local.INFO: Processing buffer {"connection_id":228859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:09] local.INFO: IMEI packet received {"connection_id":228859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":228859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:10:11] local.INFO: TCP Data received {"connection_id":228859,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:11] local.INFO: Processing buffer {"connection_id":228859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:11] local.INFO: IMEI packet received {"connection_id":228859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":228859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:10:13] local.INFO: TCP Data received {"connection_id":228858,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:10:13] local.INFO: Processing buffer {"connection_id":228858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:10:13] local.INFO: IMEI packet received {"connection_id":228858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":228858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:10:14] local.INFO: TCP Data received {"connection_id":228859,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:14] local.INFO: Processing buffer {"connection_id":228859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:10:14] local.INFO: IMEI packet received {"connection_id":228859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":228859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:10:14] local.INFO: TCP Data received {"connection_id":228858,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:10:14] local.INFO: Processing buffer {"connection_id":228858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:10:14] local.INFO: Packet analysis {"connection_id":228858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:10:14] local.INFO: Extracted packet for processing {"connection_id":228858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:10: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-11-04 11:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":228858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:10:14] local.INFO: GPS data processed {"connection_id":228858,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:10:14] local.INFO: Acknowledgment sent {"connection_id":228858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:10:19] local.INFO: TCP Data received {"connection_id":228859,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5112a40012cf5a240070e5f50000701522d..."} 
[2026-11-04 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5112a40012cf5a240070e5f50000701522d..."} 
[2026-11-04 11:10:19] local.INFO: Processing buffer {"connection_id":228859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5112a40012cf5a240070e5f50000701522d..."} 
[2026-11-04 11:10:19] local.INFO: Packet analysis {"connection_id":228859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a511"} 
[2026-11-04 11:10:19] local.INFO: Extracted packet for processing {"connection_id":228859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a511"} 
[2026-11-04 11:10:19] local.INFO: GPS Element Parsed {"raw_longitude":754295360,"raw_latitude":118382416,"longitude_deg":75.429536,"latitude_deg":11.8382416,"altitude":7,"angle":338,"satellites":45,"speed":19,"hex_longitude":"2cf5a240","hex_latitude":"070e5f50","is_valid_coordinates":true} 
[2026-11-04 11:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205305344001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20471686738477056,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-745979026721890304,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793770728000,"timestamp_ms":1793770728000,"timestamp_seconds":1793770728,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5112a40"} 
[2026-11-04 11:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 11:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":228859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":228859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":228859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205305344001,"66":28071,"146":206,"2":54272,"24":19,"16":20471686738477056,"44":-745979026721890304},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-11-04 11:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205305344001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:10:19] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-11-04 11:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20471686738477056,"km_value":20471686738477.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-745979026721890304,"description":"Unknown IO ID 44"} 
[2026-11-04 11:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205305344001,"power":28071,"unknown_146":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-745979026721890304}} 
[2026-11-04 11:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":228859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:10:20] local.INFO: GPS data processed {"connection_id":228859,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:10:20] local.INFO: Acknowledgment sent {"connection_id":228859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:10:47] local.INFO: TCP Data received {"connection_id":228858,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:10:47] local.INFO: Processing buffer {"connection_id":228858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:10:47] local.INFO: Packet analysis {"connection_id":228858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:10:47] local.INFO: Extracted packet for processing {"connection_id":228858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:10: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-11-04 11:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":228858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:10:47] local.INFO: GPS data processed {"connection_id":228858,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:10:47] local.INFO: Acknowledgment sent {"connection_id":228858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:10:52] local.INFO: TCP Data received {"connection_id":228859,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51160f0012cf595c0070e80f0000701532d..."} 
[2026-11-04 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51160f0012cf595c0070e80f0000701532d..."} 
[2026-11-04 11:10:52] local.INFO: Processing buffer {"connection_id":228859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51160f0012cf595c0070e80f0000701532d..."} 
[2026-11-04 11:10:52] local.INFO: Packet analysis {"connection_id":228859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a511"} 
[2026-11-04 11:10:52] local.INFO: Extracted packet for processing {"connection_id":228859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a511"} 
[2026-11-04 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":754292160,"raw_latitude":118391024,"longitude_deg":75.429216,"latitude_deg":11.8391024,"altitude":7,"angle":339,"satellites":45,"speed":33,"hex_longitude":"2cf595c0","hex_latitude":"070e80f0","is_valid_coordinates":true} 
[2026-11-04 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205306368001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20472129120108544,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-746964189140004864,"note":"Value kept but may cause issues"} 
[2026-11-04 11:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793770742000,"timestamp_ms":1793770742000,"timestamp_seconds":1793770742,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51160f0"} 
[2026-11-04 11:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-11-04 11:10:52] 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-11-04 11:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205306368001,"66":28354,"146":206,"2":54272,"24":33,"16":20472129120108544,"44":-746964189140004864},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-11-04 11:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205306368001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:10:52] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-11-04 11:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20472129120108544,"km_value":20472129120108.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-746964189140004864,"description":"Unknown IO ID 44"} 
[2026-11-04 11:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205306368001,"power":28354,"unknown_146":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-746964189140004864}} 
[2026-11-04 11:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":228859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:10:52] local.INFO: GPS data processed {"connection_id":228859,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:10:52] local.INFO: Acknowledgment sent {"connection_id":228859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:11:06] local.INFO: TCP Data received {"connection_id":230659,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:11:06] local.INFO: Processing buffer {"connection_id":230659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:11:06] local.INFO: IMEI packet received {"connection_id":230659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":230659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:11:12] local.INFO: TCP Data received {"connection_id":230659,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:11:12] local.INFO: Processing buffer {"connection_id":230659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:11:12] local.INFO: IMEI packet received {"connection_id":230659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":230659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:11:13] local.INFO: TCP Data received {"connection_id":230659,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:11:13] local.INFO: Processing buffer {"connection_id":230659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:11:13] local.INFO: Packet analysis {"connection_id":230659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:11:13] local.INFO: Extracted packet for processing {"connection_id":230659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:11:13] 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-11-04 11: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-11-04 11:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:11:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":230659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:11:13] local.INFO: GPS data processed {"connection_id":230659,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:11:13] local.INFO: Acknowledgment sent {"connection_id":230659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:11:14] local.INFO: TCP Data received {"connection_id":230660,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:11:14] local.INFO: Processing buffer {"connection_id":230660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:11:14] local.INFO: IMEI packet received {"connection_id":230660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":230660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:11:15] local.INFO: TCP Data received {"connection_id":230660,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:11:15] local.INFO: Processing buffer {"connection_id":230660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:11:15] local.INFO: IMEI packet received {"connection_id":230660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":230660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:11:18] local.INFO: TCP Data received {"connection_id":230660,"ip":"117.224.124.11","data_length":812,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1a5..."} 
[2026-11-04 11:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230660,"packet_length":812,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1a5..."} 
[2026-11-04 11:11:18] local.INFO: Processing buffer {"connection_id":230660,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1a5..."} 
[2026-11-04 11:11:18] local.INFO: IMEI packet received {"connection_id":230660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":230660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:11:21] local.INFO: TCP Data received {"connection_id":230660,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51289d0012cf57d00070fc7d0000e01552e..."} 
[2026-11-04 11:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51289d0012cf57d00070fc7d0000e01552e..."} 
[2026-11-04 11:11:21] local.INFO: Processing buffer {"connection_id":230660,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a5127648012cf58240070fafe8000c01622f..."} 
[2026-11-04 11:11:21] local.INFO: Packet analysis {"connection_id":230660,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:11:21] local.INFO: Extracted packet for processing {"connection_id":230660,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:11:21] local.INFO: GPS Element Parsed {"raw_longitude":754287168,"raw_latitude":118468584,"longitude_deg":75.4287168,"latitude_deg":11.8468584,"altitude":12,"angle":354,"satellites":47,"speed":51,"hex_longitude":"2cf58240","hex_latitude":"070fafe8","is_valid_coordinates":true} 
[2026-11-04 11:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205327104001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20476016065511424,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755971388374011904,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793770813000,"timestamp_ms":1793770813000,"timestamp_seconds":1793770813,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5127648"} 
[2026-11-04 11:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:11:21] 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-11-04 11:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205327104001,"66":28332,"146":206,"2":54272,"24":51,"16":20476016065511424,"44":-755971388374011904},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205327104001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:11:21] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-11-04 11:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20476016065511424,"km_value":20476016065511.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755971388374011904,"description":"Unknown IO ID 44"} 
[2026-11-04 11:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205327104001,"power":28332,"unknown_146":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-755971388374011904}} 
[2026-11-04 11:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":230660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58929,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:11:21] local.INFO: GPS data processed {"connection_id":230660,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:11:21] local.INFO: Acknowledgment sent {"connection_id":230660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:11:21] local.INFO: Packet analysis {"connection_id":230660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:11:21] local.INFO: Extracted packet for processing {"connection_id":230660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:11:21] local.INFO: GPS Element Parsed {"raw_longitude":754285824,"raw_latitude":118474704,"longitude_deg":75.4285824,"latitude_deg":11.8474704,"altitude":14,"angle":341,"satellites":46,"speed":49,"hex_longitude":"2cf57d00","hex_latitude":"070fc7d0","is_valid_coordinates":true} 
[2026-11-04 11:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205328128001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20476316713222144,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-755971388372686848,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793770818000,"timestamp_ms":1793770818000,"timestamp_seconds":1793770818,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51289d0"} 
[2026-11-04 11:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 11:11:21] 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-11-04 11:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205328128001,"66":28398,"146":206,"2":54272,"24":49,"16":20476316713222144,"44":-755971388372686848},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-11-04 11:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205328128001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:11:21] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-11-04 11:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20476316713222144,"km_value":20476316713222.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-755971388372686848,"description":"Unknown IO ID 44"} 
[2026-11-04 11:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205328128001,"power":28398,"unknown_146":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-755971388372686848}} 
[2026-11-04 11:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":230660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:11:21] local.INFO: GPS data processed {"connection_id":230660,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:11:21] local.INFO: Acknowledgment sent {"connection_id":230660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:11:24] local.INFO: TCP Data received {"connection_id":230660,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5129d58012cf572c0070fdd20000f01492e..."} 
[2026-11-04 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5129d58012cf572c0070fdd20000f01492e..."} 
[2026-11-04 11:11:24] local.INFO: Processing buffer {"connection_id":230660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5129d58012cf572c0070fdd20000f01492e..."} 
[2026-11-04 11:11:24] local.INFO: Packet analysis {"connection_id":230660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:11:24] local.INFO: Extracted packet for processing {"connection_id":230660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:11:24] local.INFO: GPS Element Parsed {"raw_longitude":754283200,"raw_latitude":118480160,"longitude_deg":75.42832,"latitude_deg":11.848016,"altitude":15,"angle":329,"satellites":46,"speed":41,"hex_longitude":"2cf572c0","hex_latitude":"070fdd20","is_valid_coordinates":true} 
[2026-11-04 11:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205329408001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20476608770998272,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-757449131998851072,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793770823000,"timestamp_ms":1793770823000,"timestamp_seconds":1793770823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5129d58"} 
[2026-11-04 11:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:11:24] 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-11-04 11:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230660,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205329408001,"66":28398,"146":206,"2":54272,"24":41,"16":20476608770998272,"44":-757449131998851072},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-11-04 11:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205329408001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:11:24] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-11-04 11:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20476608770998272,"km_value":20476608770998.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-757449131998851072,"description":"Unknown IO ID 44"} 
[2026-11-04 11:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205329408001,"power":28398,"unknown_146":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-757449131998851072}} 
[2026-11-04 11:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":230660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:11:24] local.INFO: GPS data processed {"connection_id":230660,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:11:24] local.INFO: Acknowledgment sent {"connection_id":230660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:11:44] local.INFO: TCP Data received {"connection_id":230659,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:11:44] local.INFO: Processing buffer {"connection_id":230659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:11:44] local.INFO: Packet analysis {"connection_id":230659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:11:44] local.INFO: Extracted packet for processing {"connection_id":230659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:11:44] 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-11-04 11: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-11-04 11:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:11:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":230659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:11:44] local.INFO: GPS data processed {"connection_id":230659,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:11:44] local.INFO: Acknowledgment sent {"connection_id":230659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:12:07] local.INFO: TCP Data received {"connection_id":228860,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:12:07] local.INFO: Processing buffer {"connection_id":228860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:12:07] local.INFO: IMEI packet received {"connection_id":228860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":228860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:12:09] local.INFO: TCP Data received {"connection_id":228861,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:12:09] local.INFO: Processing buffer {"connection_id":228861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:12:09] local.INFO: IMEI packet received {"connection_id":228861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":228861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:12:12] local.INFO: TCP Data received {"connection_id":228860,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:12:12] local.INFO: Processing buffer {"connection_id":228860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:12:12] local.INFO: IMEI packet received {"connection_id":228860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":228860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:12:13] local.INFO: TCP Data received {"connection_id":228860,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:12:13] local.INFO: Processing buffer {"connection_id":228860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:12:13] local.INFO: Packet analysis {"connection_id":228860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:12:13] local.INFO: Extracted packet for processing {"connection_id":228860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:12:13] 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-11-04 11: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-11-04 11:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":228860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:12:13] local.INFO: GPS data processed {"connection_id":228860,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:12:13] local.INFO: Acknowledgment sent {"connection_id":228860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:12:14] local.INFO: TCP Data received {"connection_id":228861,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:12:14] local.INFO: Processing buffer {"connection_id":228861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:12:14] local.INFO: IMEI packet received {"connection_id":228861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":228861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:12:15] local.INFO: TCP Data received {"connection_id":228861,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a512b0e0012cf56c00070fe9a80010015a2f..."} 
[2026-11-04 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a512b0e0012cf56c00070fe9a80010015a2f..."} 
[2026-11-04 11:12:15] local.INFO: Processing buffer {"connection_id":228861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a512b0e0012cf56c00070fe9a80010015a2f..."} 
[2026-11-04 11:12:15] local.INFO: Packet analysis {"connection_id":228861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:12:15] local.INFO: Extracted packet for processing {"connection_id":228861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:12:15] local.INFO: GPS Element Parsed {"raw_longitude":754281472,"raw_latitude":118483368,"longitude_deg":75.4281472,"latitude_deg":11.8483368,"altitude":16,"angle":346,"satellites":47,"speed":21,"hex_longitude":"2cf56c00","hex_latitude":"070fe9a8","is_valid_coordinates":true} 
[2026-11-04 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205330688001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20476789159624704,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-760334250508738560,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793770828000,"timestamp_ms":1793770828000,"timestamp_seconds":1793770828,"priority":1,"record_length":96,"hex_timestamp":"000001a1a512b0e0"} 
[2026-11-04 11:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:12: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-11-04 11:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205330688001,"66":28430,"146":206,"2":54272,"24":21,"16":20476789159624704,"44":-760334250508738560},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-11-04 11:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205330688001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:12:15] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-11-04 11:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20476789159624704,"km_value":20476789159624.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-760334250508738560,"description":"Unknown IO ID 44"} 
[2026-11-04 11:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205330688001,"power":28430,"unknown_146":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-760334250508738560}} 
[2026-11-04 11:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":228861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:12:15] local.INFO: GPS data processed {"connection_id":228861,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:12:15] local.INFO: Acknowledgment sent {"connection_id":228861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:12:44] local.INFO: TCP Data received {"connection_id":228860,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:12:44] local.INFO: Processing buffer {"connection_id":228860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:12:44] local.INFO: Packet analysis {"connection_id":228860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:12:44] local.INFO: Extracted packet for processing {"connection_id":228860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:12:44] 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-11-04 11: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-11-04 11:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":228860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:12:44] local.INFO: GPS data processed {"connection_id":228860,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:12:44] local.INFO: Acknowledgment sent {"connection_id":228860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:12:47] local.INFO: TCP Data received {"connection_id":228861,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a512bc98012cf56a40070fef60001101482f..."} 
[2026-11-04 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a512bc98012cf56a40070fef60001101482f..."} 
[2026-11-04 11:12:47] local.INFO: Processing buffer {"connection_id":228861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a512bc98012cf56a40070fef60001101482f..."} 
[2026-11-04 11:12:47] local.INFO: Packet analysis {"connection_id":228861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:12:47] local.INFO: Extracted packet for processing {"connection_id":228861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a512"} 
[2026-11-04 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":754281024,"raw_latitude":118484832,"longitude_deg":75.4281024,"latitude_deg":11.8484832,"altitude":17,"angle":328,"satellites":47,"speed":20,"hex_longitude":"2cf56a40","hex_latitude":"070fef60","is_valid_coordinates":true} 
[2026-11-04 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205331968001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20476862174068736,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-762234206600714240,"note":"Value kept but may cause issues"} 
[2026-11-04 11:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793770831000,"timestamp_ms":1793770831000,"timestamp_seconds":1793770831,"priority":1,"record_length":96,"hex_timestamp":"000001a1a512bc98"} 
[2026-11-04 11:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 11:12: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-11-04 11:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205331968001,"66":28376,"146":206,"2":54272,"24":20,"16":20476862174068736,"44":-762234206600714240},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,2,24,16,44]} 
[2026-11-04 11:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205331968001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:12:47] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-11-04 11:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20476862174068736,"km_value":20476862174068.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:12:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-762234206600714240,"description":"Unknown IO ID 44"} 
[2026-11-04 11:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205331968001,"power":28376,"unknown_146":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-762234206600714240}} 
[2026-11-04 11:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":228861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:12:47] local.INFO: GPS data processed {"connection_id":228861,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:12:47] local.INFO: Acknowledgment sent {"connection_id":228861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:13:06] local.INFO: TCP Data received {"connection_id":229363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:13:06] local.INFO: Processing buffer {"connection_id":229363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:13:06] local.INFO: IMEI packet received {"connection_id":229363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":229363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:13:12] local.INFO: TCP Data received {"connection_id":229363,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:13:12] local.INFO: Processing buffer {"connection_id":229363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:13:12] local.INFO: IMEI packet received {"connection_id":229363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":229363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:13:13] local.INFO: TCP Data received {"connection_id":229363,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:13:13] local.INFO: Processing buffer {"connection_id":229363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:13:13] local.INFO: Packet analysis {"connection_id":229363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:13:13] local.INFO: Extracted packet for processing {"connection_id":229363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:13:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:13:13] 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-11-04 11: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-11-04 11:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":229363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:13:13] local.INFO: GPS data processed {"connection_id":229363,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:13:13] local.INFO: Acknowledgment sent {"connection_id":229363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:13:44] local.INFO: TCP Data received {"connection_id":232504,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:13:44] local.INFO: Processing buffer {"connection_id":232504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:13:44] local.INFO: IMEI packet received {"connection_id":232504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":232504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:13:45] local.INFO: TCP Data received {"connection_id":229363,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:13:45] local.INFO: Processing buffer {"connection_id":229363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a510c0c8012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:13:45] local.INFO: Packet analysis {"connection_id":229363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:13:45] local.INFO: Extracted packet for processing {"connection_id":229363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a510"} 
[2026-11-04 11:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205222400001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:13:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793770701000,"timestamp_ms":1793770701000,"timestamp_seconds":1793770701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a510c0c8"} 
[2026-11-04 11:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 11:13: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-11-04 11: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-11-04 11:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205222400001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205222400001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205222400001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":229363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:13:45] local.INFO: GPS data processed {"connection_id":229363,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:13:45] local.INFO: Acknowledgment sent {"connection_id":229363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:13:49] local.INFO: TCP Data received {"connection_id":232504,"ip":"117.224.124.11","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 11:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232504,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 11:13:49] local.INFO: Processing buffer {"connection_id":232504,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 11:13:49] local.INFO: IMEI packet received {"connection_id":232504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":232504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:13:50] local.INFO: TCP Data received {"connection_id":232504,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:13:50] local.INFO: Processing buffer {"connection_id":232504,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 11:13:50] local.INFO: IMEI packet received {"connection_id":232504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":232504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:14:12] local.INFO: TCP Data received {"connection_id":232505,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:14:12] local.INFO: Processing buffer {"connection_id":232505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:14:12] local.INFO: IMEI packet received {"connection_id":232505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":232505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:14:17] local.INFO: TCP Data received {"connection_id":232505,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:14:17] local.INFO: Processing buffer {"connection_id":232505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:14:17] local.INFO: IMEI packet received {"connection_id":232505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":232505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:14:18] local.INFO: TCP Data received {"connection_id":232505,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:14:18] local.INFO: Processing buffer {"connection_id":232505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:14:18] local.INFO: Packet analysis {"connection_id":232505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:14:18] local.INFO: Extracted packet for processing {"connection_id":232505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:14:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:14: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-11-04 11:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":232505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:14:18] local.INFO: GPS data processed {"connection_id":232505,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:14:18] local.INFO: Acknowledgment sent {"connection_id":232505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:14:22] local.INFO: TCP Data received {"connection_id":232505,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:14:22] local.INFO: Processing buffer {"connection_id":232505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:14:22] local.INFO: Packet analysis {"connection_id":232505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:14:22] local.INFO: Extracted packet for processing {"connection_id":232505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:14:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:14:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:14: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-11-04 11:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:14:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":232505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:14:22] local.INFO: GPS data processed {"connection_id":232505,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:14:22] local.INFO: Acknowledgment sent {"connection_id":232505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:15:07] local.INFO: TCP Data received {"connection_id":232507,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:15:07] local.INFO: Processing buffer {"connection_id":232507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:15:07] local.INFO: IMEI packet received {"connection_id":232507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":232507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:15:12] local.INFO: TCP Data received {"connection_id":232507,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:15:12] local.INFO: Processing buffer {"connection_id":232507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:15:12] local.INFO: IMEI packet received {"connection_id":232507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":232507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:15:13] local.INFO: TCP Data received {"connection_id":232507,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:15:13] local.INFO: Processing buffer {"connection_id":232507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:15:13] local.INFO: Packet analysis {"connection_id":232507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:15:13] local.INFO: Extracted packet for processing {"connection_id":232507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:15:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:15: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-11-04 11: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-11-04 11:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":232507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:15:13] local.INFO: GPS data processed {"connection_id":232507,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:15:13] local.INFO: Acknowledgment sent {"connection_id":232507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:15:44] local.INFO: TCP Data received {"connection_id":232507,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:15:44] local.INFO: Processing buffer {"connection_id":232507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:15:44] local.INFO: Packet analysis {"connection_id":232507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:15:44] local.INFO: Extracted packet for processing {"connection_id":232507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:15:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:15: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-11-04 11: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-11-04 11:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:15:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":232507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:15:44] local.INFO: GPS data processed {"connection_id":232507,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:15:44] local.INFO: Acknowledgment sent {"connection_id":232507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:16:07] local.INFO: TCP Data received {"connection_id":229364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:16:07] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:16:07] local.INFO: IMEI packet received {"connection_id":229364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":229364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:16:12] local.INFO: TCP Data received {"connection_id":229364,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:16:12] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:16:12] local.INFO: IMEI packet received {"connection_id":229364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":229364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:16:13] local.INFO: TCP Data received {"connection_id":229364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:16:13] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:16:13] local.INFO: Packet analysis {"connection_id":229364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:16:13] local.INFO: Extracted packet for processing {"connection_id":229364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:16:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:16: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-11-04 11: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-11-04 11:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":229364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:16:13] local.INFO: GPS data processed {"connection_id":229364,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:16:13] local.INFO: Acknowledgment sent {"connection_id":229364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:16:44] local.INFO: TCP Data received {"connection_id":229364,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:16:44] local.INFO: Processing buffer {"connection_id":229364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:16:44] local.INFO: Packet analysis {"connection_id":229364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:16:44] local.INFO: Extracted packet for processing {"connection_id":229364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:16:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:16: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-11-04 11: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-11-04 11:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":229364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:16:44] local.INFO: GPS data processed {"connection_id":229364,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:16:44] local.INFO: Acknowledgment sent {"connection_id":229364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:17:07] local.INFO: TCP Data received {"connection_id":232508,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:17:07] local.INFO: Processing buffer {"connection_id":232508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:17:07] local.INFO: IMEI packet received {"connection_id":232508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":232508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:17:12] local.INFO: TCP Data received {"connection_id":232508,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:17:12] local.INFO: Processing buffer {"connection_id":232508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:17:12] local.INFO: IMEI packet received {"connection_id":232508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":232508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:17:13] local.INFO: TCP Data received {"connection_id":232508,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:17:13] local.INFO: Processing buffer {"connection_id":232508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:17:13] local.INFO: Packet analysis {"connection_id":232508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:17:13] local.INFO: Extracted packet for processing {"connection_id":232508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:17:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:17: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-11-04 11:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":232508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:17:13] local.INFO: GPS data processed {"connection_id":232508,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:17:13] local.INFO: Acknowledgment sent {"connection_id":232508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:17:44] local.INFO: TCP Data received {"connection_id":232508,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:17:44] local.INFO: Processing buffer {"connection_id":232508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:17:44] local.INFO: Packet analysis {"connection_id":232508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:17:44] local.INFO: Extracted packet for processing {"connection_id":232508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:17:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:17: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-11-04 11: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-11-04 11:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":232508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:17:44] local.INFO: GPS data processed {"connection_id":232508,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:17:44] local.INFO: Acknowledgment sent {"connection_id":232508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:18:06] local.INFO: TCP Data received {"connection_id":230663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:18:06] local.INFO: Processing buffer {"connection_id":230663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:18:06] local.INFO: IMEI packet received {"connection_id":230663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":230663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:18:12] local.INFO: TCP Data received {"connection_id":230663,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:18:12] local.INFO: Processing buffer {"connection_id":230663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:18:12] local.INFO: IMEI packet received {"connection_id":230663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":230663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:18:13] local.INFO: TCP Data received {"connection_id":230663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:18:13] local.INFO: Processing buffer {"connection_id":230663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:18:13] local.INFO: Packet analysis {"connection_id":230663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:18:13] local.INFO: Extracted packet for processing {"connection_id":230663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:18:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 11:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:18: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-11-04 11: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-11-04 11:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":230663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:18:13] local.INFO: GPS data processed {"connection_id":230663,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:18:13] local.INFO: Acknowledgment sent {"connection_id":230663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:18:45] local.INFO: TCP Data received {"connection_id":230663,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:18:45] local.INFO: Processing buffer {"connection_id":230663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5155890012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:18:45] local.INFO: Packet analysis {"connection_id":230663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:18:45] local.INFO: Extracted packet for processing {"connection_id":230663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a515"} 
[2026-11-04 11:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205299456001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:18:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793771002000,"timestamp_ms":1793771002000,"timestamp_seconds":1793771002,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5155890"} 
[2026-11-04 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-11-04 11:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:18: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-11-04 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-11-04 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-11-04 11:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205299456001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205299456001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205299456001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":230663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:18:45] local.INFO: GPS data processed {"connection_id":230663,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:18:45] local.INFO: Acknowledgment sent {"connection_id":230663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:18:49] local.INFO: TCP Data received {"connection_id":229365,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:18:49] local.INFO: Processing buffer {"connection_id":229365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:18:49] local.INFO: IMEI packet received {"connection_id":229365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":229365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:18:50] local.INFO: TCP Data received {"connection_id":229365,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a518eaa0012cf1bc400712f1800008013828..."} 
[2026-11-04 11:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a518eaa0012cf1bc400712f1800008013828..."} 
[2026-11-04 11:18:50] local.INFO: Processing buffer {"connection_id":229365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a518eaa0012cf1bc400712f1800008013828..."} 
[2026-11-04 11:18:50] local.INFO: Packet analysis {"connection_id":229365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a518"} 
[2026-11-04 11:18:50] local.INFO: Extracted packet for processing {"connection_id":229365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a518"} 
[2026-11-04 11:18:50] local.INFO: GPS Element Parsed {"raw_longitude":754039872,"raw_latitude":118681984,"longitude_deg":75.4039872,"latitude_deg":11.8681984,"altitude":8,"angle":312,"satellites":40,"speed":16,"hex_longitude":"2cf1bc40","hex_latitude":"0712f180","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:18:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,98,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793771236000,"timestamp_ms":1793771236000,"timestamp_seconds":1793771236,"priority":1,"record_length":96,"hex_timestamp":"000001a1a518eaa0"} 
[2026-11-04 11:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 11:18:50] 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-11-04 11: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-11-04 11:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"98":206,"2":54272,"24":16,"16":20481019702411264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16]} 
[2026-11-04 11:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:18:50] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 11:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:18:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_98":206,"power_alt":54272,"ignition":16,"odometer":null}} 
[2026-11-04 11:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":229365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:18:50] local.INFO: GPS data processed {"connection_id":229365,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:18:50] local.INFO: Acknowledgment sent {"connection_id":229365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:19:09] local.INFO: TCP Data received {"connection_id":232510,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:19:09] local.INFO: Processing buffer {"connection_id":232510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:19:09] local.INFO: IMEI packet received {"connection_id":232510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":232510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:19:12] local.INFO: TCP Data received {"connection_id":229366,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:19:12] local.INFO: Processing buffer {"connection_id":229366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:19:12] local.INFO: IMEI packet received {"connection_id":229366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":229366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:19:14] local.INFO: TCP Data received {"connection_id":232510,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:19:14] local.INFO: Processing buffer {"connection_id":232510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:19:14] local.INFO: IMEI packet received {"connection_id":232510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":232510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:19:15] local.INFO: TCP Data received {"connection_id":232510,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519c1780100000000000000000000000000..."} 
[2026-11-04 11:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519c1780100000000000000000000000000..."} 
[2026-11-04 11:19:15] local.INFO: Processing buffer {"connection_id":232510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519c1780100000000000000000000000000..."} 
[2026-11-04 11:19:15] local.INFO: Packet analysis {"connection_id":232510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19:15] local.INFO: Extracted packet for processing {"connection_id":232510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19: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-11-04 11:19: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-11-04 11:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205436416001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1027876215820550144,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:15] 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-11-04 11:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793771291000,"timestamp_ms":1793771291000,"timestamp_seconds":1793771291,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519c178"} 
[2026-11-04 11:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:19: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-11-04 11:19: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-11-04 11:19: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-11-04 11:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":232510,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:19:15] local.INFO: GPS data processed {"connection_id":232510,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:19:15] local.INFO: Acknowledgment sent {"connection_id":232510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:19:17] local.INFO: TCP Data received {"connection_id":229366,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:19:17] local.INFO: Processing buffer {"connection_id":229366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:19:17] local.INFO: IMEI packet received {"connection_id":229366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":229366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:19:18] local.INFO: TCP Data received {"connection_id":229366,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:19:18] local.INFO: Processing buffer {"connection_id":229366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:19:18] local.INFO: Packet analysis {"connection_id":229366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19:18] local.INFO: Extracted packet for processing {"connection_id":229366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:19: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-11-04 11:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":229366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:19:18] local.INFO: GPS data processed {"connection_id":229366,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:19:18] local.INFO: Acknowledgment sent {"connection_id":229366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:19:22] local.INFO: TCP Data received {"connection_id":229366,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:19:22] local.INFO: Processing buffer {"connection_id":229366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:19:22] local.INFO: Packet analysis {"connection_id":229366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19:22] local.INFO: Extracted packet for processing {"connection_id":229366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:19: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-11-04 11: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-11-04 11:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":229366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:19:22] local.INFO: GPS data processed {"connection_id":229366,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:19:22] local.INFO: Acknowledgment sent {"connection_id":229366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:19:47] local.INFO: TCP Data received {"connection_id":232510,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5194c48012cf18f80071319d8000b013927..."} 
[2026-11-04 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5194c48012cf18f80071319d8000b013927..."} 
[2026-11-04 11:19:47] local.INFO: Processing buffer {"connection_id":232510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5194c48012cf18f80071319d8000b013927..."} 
[2026-11-04 11:19:47] local.INFO: Packet analysis {"connection_id":232510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19:47] local.INFO: Extracted packet for processing {"connection_id":232510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":754028416,"raw_latitude":118692312,"longitude_deg":75.4028416,"latitude_deg":11.8692312,"altitude":11,"angle":313,"satellites":39,"speed":27,"hex_longitude":"2cf18f80","hex_latitude":"071319d8","is_valid_coordinates":true} 
[2026-11-04 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:19:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793771261000,"timestamp_ms":1793771261000,"timestamp_seconds":1793771261,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5194c48"} 
[2026-11-04 11:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 11:19:47] 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-11-04 11:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28343,"63":206,"2":54272,"24":27,"16":20481019702411264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16]} 
[2026-11-04 11:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:19:47] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 11:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:19:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28343,"unknown_63":206,"power_alt":54272,"ignition":27,"odometer":null}} 
[2026-11-04 11:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":232510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:19:47] local.INFO: GPS data processed {"connection_id":232510,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:19:47] local.INFO: Acknowledgment sent {"connection_id":232510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:20:07] local.INFO: TCP Data received {"connection_id":230664,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:20:07] local.INFO: Processing buffer {"connection_id":230664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:20:07] local.INFO: IMEI packet received {"connection_id":230664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":230664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:20:10] local.INFO: TCP Data received {"connection_id":230665,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:10] local.INFO: Processing buffer {"connection_id":230665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:10] local.INFO: IMEI packet received {"connection_id":230665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":230665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:20:12] local.INFO: TCP Data received {"connection_id":230664,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:20:12] local.INFO: Processing buffer {"connection_id":230664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:20:12] local.INFO: IMEI packet received {"connection_id":230664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":230664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:20:13] local.INFO: TCP Data received {"connection_id":230664,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:20:13] local.INFO: Processing buffer {"connection_id":230664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:20:13] local.INFO: Packet analysis {"connection_id":230664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:20:13] local.INFO: Extracted packet for processing {"connection_id":230664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:20: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-11-04 11: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-11-04 11:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":230664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:20:13] local.INFO: GPS data processed {"connection_id":230664,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:20:13] local.INFO: Acknowledgment sent {"connection_id":230664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:20:14] local.INFO: TCP Data received {"connection_id":230665,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:14] local.INFO: Processing buffer {"connection_id":230665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:14] local.INFO: IMEI packet received {"connection_id":230665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":230665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:20:19] local.INFO: TCP Data received {"connection_id":230665,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:19] local.INFO: Processing buffer {"connection_id":230665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:20:19] local.INFO: IMEI packet received {"connection_id":230665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":230665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:20:21] local.INFO: TCP Data received {"connection_id":230665,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51a23200100000000000000000000000000..."} 
[2026-11-04 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51a23200100000000000000000000000000..."} 
[2026-11-04 11:20:21] local.INFO: Processing buffer {"connection_id":230665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51a23200100000000000000000000000000..."} 
[2026-11-04 11:20:21] local.INFO: Packet analysis {"connection_id":230665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:20:21] local.INFO: Extracted packet for processing {"connection_id":230665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:20: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-11-04 11:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205442816001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1040472221025708032,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:21] 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-11-04 11:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793771316000,"timestamp_ms":1793771316000,"timestamp_seconds":1793771316,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51a2320"} 
[2026-11-04 11:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 11:20:21] 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-11-04 11:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":230665,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:20:21] local.INFO: GPS data processed {"connection_id":230665,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:20:21] local.INFO: Acknowledgment sent {"connection_id":230665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:20:24] local.INFO: TCP Data received {"connection_id":230665,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519a238012cf16000071343680012013723..."} 
[2026-11-04 11:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519a238012cf16000071343680012013723..."} 
[2026-11-04 11:20:24] local.INFO: Processing buffer {"connection_id":230665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519a238012cf16000071343680012013723..."} 
[2026-11-04 11:20:24] local.INFO: Packet analysis {"connection_id":230665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:20:24] local.INFO: Extracted packet for processing {"connection_id":230665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:20:24] local.INFO: GPS Element Parsed {"raw_longitude":754016256,"raw_latitude":118702952,"longitude_deg":75.4016256,"latitude_deg":11.8702952,"altitude":18,"angle":311,"satellites":35,"speed":31,"hex_longitude":"2cf16000","hex_latitude":"07134368","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793771283000,"timestamp_ms":1793771283000,"timestamp_seconds":1793771283,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519a238"} 
[2026-11-04 11:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 11:20:24] 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-11-04 11: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-11-04 11:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230665,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"63":206,"2":54272,"24":31,"16":20481019702411264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16]} 
[2026-11-04 11:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:20:24] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 11:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:20:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_63":206,"power_alt":54272,"ignition":31,"odometer":null}} 
[2026-11-04 11:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":230665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:20:24] local.INFO: GPS data processed {"connection_id":230665,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:20:24] local.INFO: Acknowledgment sent {"connection_id":230665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:20:44] local.INFO: TCP Data received {"connection_id":230664,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:20:44] local.INFO: Processing buffer {"connection_id":230664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:20:44] local.INFO: Packet analysis {"connection_id":230664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:20:44] local.INFO: Extracted packet for processing {"connection_id":230664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 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-11-04 11:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:20: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-11-04 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-11-04 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-11-04 11:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":230664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:20:44] local.INFO: GPS data processed {"connection_id":230664,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:20:44] local.INFO: Acknowledgment sent {"connection_id":230664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:21:06] local.INFO: TCP Data received {"connection_id":229367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:21:06] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:21:06] local.INFO: IMEI packet received {"connection_id":229367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":229367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:21:09] local.INFO: TCP Data received {"connection_id":229368,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:21:09] local.INFO: Processing buffer {"connection_id":229368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:21:09] local.INFO: IMEI packet received {"connection_id":229368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":229368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:21:12] local.INFO: TCP Data received {"connection_id":229367,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:21:12] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:21:12] local.INFO: IMEI packet received {"connection_id":229367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":229367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:21:14] local.INFO: TCP Data received {"connection_id":229368,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:21:14] local.INFO: Processing buffer {"connection_id":229368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:21:14] local.INFO: IMEI packet received {"connection_id":229368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":229368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:21:14] local.INFO: TCP Data received {"connection_id":229367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:21:14] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:21:14] local.INFO: Packet analysis {"connection_id":229367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:21:14] local.INFO: Extracted packet for processing {"connection_id":229367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:21:14] 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-11-04 11: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-11-04 11:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":229367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:21:14] local.INFO: GPS data processed {"connection_id":229367,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:21:14] local.INFO: Acknowledgment sent {"connection_id":229367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:21:15] local.INFO: TCP Data received {"connection_id":229368,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51a79100100000000000000000000000000..."} 
[2026-11-04 11:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51a79100100000000000000000000000000..."} 
[2026-11-04 11:21:15] local.INFO: Processing buffer {"connection_id":229368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51a79100100000000000000000000000000..."} 
[2026-11-04 11:21:15] local.INFO: Packet analysis {"connection_id":229368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:21:15] local.INFO: Extracted packet for processing {"connection_id":229368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:21: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-11-04 11:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205448448001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1053842282416740352,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:15] 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-11-04 11:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793771338000,"timestamp_ms":1793771338000,"timestamp_seconds":1793771338,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51a7910"} 
[2026-11-04 11:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 11:21:15] 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-11-04 11:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":229368,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:21:15] local.INFO: GPS data processed {"connection_id":229368,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:21:15] local.INFO: Acknowledgment sent {"connection_id":229368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:21:45] local.INFO: TCP Data received {"connection_id":229367,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:21:45] local.INFO: Processing buffer {"connection_id":229367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:21:45] local.INFO: Packet analysis {"connection_id":229367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:21:45] local.INFO: Extracted packet for processing {"connection_id":229367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:21: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-11-04 11:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:21:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":229367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:21:45] local.INFO: GPS data processed {"connection_id":229367,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:21:45] local.INFO: Acknowledgment sent {"connection_id":229367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:21:46] local.INFO: TCP Data received {"connection_id":229368,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f828012cf12ac007136808001d012528..."} 
[2026-11-04 11:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f828012cf12ac007136808001d012528..."} 
[2026-11-04 11:21:46] local.INFO: Processing buffer {"connection_id":229368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f828012cf12ac007136808001d012528..."} 
[2026-11-04 11:21:46] local.INFO: Packet analysis {"connection_id":229368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:21:46] local.INFO: Extracted packet for processing {"connection_id":229368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:21:46] local.INFO: GPS Element Parsed {"raw_longitude":754002624,"raw_latitude":118712328,"longitude_deg":75.4002624,"latitude_deg":11.8712328,"altitude":29,"angle":293,"satellites":40,"speed":35,"hex_longitude":"2cf12ac0","hex_latitude":"07136808","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:21:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793771305000,"timestamp_ms":1793771305000,"timestamp_seconds":1793771305,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f828"} 
[2026-11-04 11:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 11:21: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-11-04 11: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-11-04 11:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"63":206,"2":54272,"24":35,"16":20481019702411264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16]} 
[2026-11-04 11:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:21:46] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 11:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:21:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_63":206,"power_alt":54272,"ignition":35,"odometer":null}} 
[2026-11-04 11:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":229368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:21:47] local.INFO: GPS data processed {"connection_id":229368,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:21:47] local.INFO: Acknowledgment sent {"connection_id":229368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:22:07] local.INFO: TCP Data received {"connection_id":230666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:22:07] local.INFO: Processing buffer {"connection_id":230666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:22:07] local.INFO: IMEI packet received {"connection_id":230666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":230666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:22:09] local.INFO: TCP Data received {"connection_id":228862,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:09] local.INFO: Processing buffer {"connection_id":228862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:09] local.INFO: IMEI packet received {"connection_id":228862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":228862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:22:12] local.INFO: TCP Data received {"connection_id":230666,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:22:12] local.INFO: Processing buffer {"connection_id":230666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:22:12] local.INFO: IMEI packet received {"connection_id":230666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":230666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:22:12] local.INFO: TCP Data received {"connection_id":228862,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:12] local.INFO: Processing buffer {"connection_id":228862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:12] local.INFO: IMEI packet received {"connection_id":228862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":228862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:22:13] local.INFO: TCP Data received {"connection_id":230666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:22:13] local.INFO: Processing buffer {"connection_id":230666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:22:13] local.INFO: Packet analysis {"connection_id":230666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:22:13] local.INFO: Extracted packet for processing {"connection_id":230666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:22: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-11-04 11: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-11-04 11:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":230666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:22:13] local.INFO: GPS data processed {"connection_id":230666,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:22:13] local.INFO: Acknowledgment sent {"connection_id":230666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:22:14] local.INFO: TCP Data received {"connection_id":228862,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:14] local.INFO: Processing buffer {"connection_id":228862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:22:14] local.INFO: IMEI packet received {"connection_id":228862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":228862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:22:16] local.INFO: TCP Data received {"connection_id":228862,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51a4260012cf0f5c007137d300025010926..."} 
[2026-11-04 11:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51a4260012cf0f5c007137d300025010926..."} 
[2026-11-04 11:22:16] local.INFO: Processing buffer {"connection_id":228862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51a4260012cf0f5c007137d300025010926..."} 
[2026-11-04 11:22:16] local.INFO: Packet analysis {"connection_id":228862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:22:16] local.INFO: Extracted packet for processing {"connection_id":228862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:22:16] local.INFO: GPS Element Parsed {"raw_longitude":753989056,"raw_latitude":118717744,"longitude_deg":75.3989056,"latitude_deg":11.8717744,"altitude":37,"angle":265,"satellites":38,"speed":15,"hex_longitude":"2cf0f5c0","hex_latitude":"07137d30","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205454080001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1068830824924182528,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:16] 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-11-04 11:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793771324000,"timestamp_ms":1793771324000,"timestamp_seconds":1793771324,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51a4260"} 
[2026-11-04 11:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 11:22: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-11-04 11: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-11-04 11:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205454080001,"66":28376,"63":206,"2":54272,"24":15,"16":20481019702411264,"44":-1068830824924182528},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-11-04 11:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205454080001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:22:16] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 11:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:22:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1068830824924182528,"description":"Unknown IO ID 44"} 
[2026-11-04 11:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205454080001,"power":28376,"unknown_63":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1068830824924182528}} 
[2026-11-04 11:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":228862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:22:16] local.INFO: GPS data processed {"connection_id":228862,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:22:16] local.INFO: Acknowledgment sent {"connection_id":228862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:22:20] local.INFO: TCP Data received {"connection_id":228862,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51b19380100000000000000000000000000..."} 
[2026-11-04 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51b19380100000000000000000000000000..."} 
[2026-11-04 11:22:20] local.INFO: Processing buffer {"connection_id":228862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51b19380100000000000000000000000000..."} 
[2026-11-04 11:22:20] local.INFO: Packet analysis {"connection_id":228862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51b"} 
[2026-11-04 11:22:20] local.INFO: Extracted packet for processing {"connection_id":228862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51b"} 
[2026-11-04 11:22: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-11-04 11: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-11-04 11:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205458944001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1083748998688460800,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:20] 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-11-04 11:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793771379000,"timestamp_ms":1793771379000,"timestamp_seconds":1793771379,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51b1938"} 
[2026-11-04 11:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 11:22: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-11-04 11: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-11-04 11:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":228862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":228862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":228862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":228862,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:22:20] local.INFO: GPS data processed {"connection_id":228862,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:22:20] local.INFO: Acknowledgment sent {"connection_id":228862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:22:45] local.INFO: TCP Data received {"connection_id":230666,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:22:45] local.INFO: Processing buffer {"connection_id":230666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:22:45] local.INFO: Packet analysis {"connection_id":230666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:22:45] local.INFO: Extracted packet for processing {"connection_id":230666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:22: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-11-04 11: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-11-04 11:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":230666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:22:45] local.INFO: GPS data processed {"connection_id":230666,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:22:45] local.INFO: Acknowledgment sent {"connection_id":230666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:22:52] local.INFO: TCP Data received {"connection_id":228862,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51aabd8012cf0ba40071379300025010426..."} 
[2026-11-04 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51aabd8012cf0ba40071379300025010426..."} 
[2026-11-04 11:22:52] local.INFO: Processing buffer {"connection_id":228862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51aabd8012cf0ba40071379300025010426..."} 
[2026-11-04 11:22:52] local.INFO: Packet analysis {"connection_id":228862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:22:52] local.INFO: Extracted packet for processing {"connection_id":228862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":753973824,"raw_latitude":118716720,"longitude_deg":75.3973824,"latitude_deg":11.871672,"altitude":37,"angle":260,"satellites":38,"speed":21,"hex_longitude":"2cf0ba40","hex_latitude":"07137930","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:22:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,63,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793771351000,"timestamp_ms":1793771351000,"timestamp_seconds":1793771351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51aabd8"} 
[2026-11-04 11:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:22: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-11-04 11: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-11-04 11:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":228862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":228862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":228862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"63":206,"2":54272,"24":21,"16":20481019702411264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16]} 
[2026-11-04 11:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:22:52] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-11-04 11:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:22:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_63":206,"power_alt":54272,"ignition":21,"odometer":null}} 
[2026-11-04 11:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":228862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:22:52] local.INFO: GPS data processed {"connection_id":228862,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:22:52] local.INFO: Acknowledgment sent {"connection_id":228862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:23:06] local.INFO: TCP Data received {"connection_id":229369,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:23:06] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:23:06] local.INFO: IMEI packet received {"connection_id":229369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":229369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:23:09] local.INFO: TCP Data received {"connection_id":232511,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:23:09] local.INFO: Processing buffer {"connection_id":232511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:23:09] local.INFO: IMEI packet received {"connection_id":232511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":232511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:23:12] local.INFO: TCP Data received {"connection_id":229369,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:23:12] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:23:12] local.INFO: IMEI packet received {"connection_id":229369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":229369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:23:13] local.INFO: TCP Data received {"connection_id":229369,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:23:13] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:23:13] local.INFO: Packet analysis {"connection_id":229369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:23:13] local.INFO: Extracted packet for processing {"connection_id":229369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:23: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-11-04 11:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":229369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:23:13] local.INFO: GPS data processed {"connection_id":229369,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:23:13] local.INFO: Acknowledgment sent {"connection_id":229369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:23:14] local.INFO: TCP Data received {"connection_id":232511,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:23:14] local.INFO: Processing buffer {"connection_id":232511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:23:14] local.INFO: IMEI packet received {"connection_id":232511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":232511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:23:15] local.INFO: TCP Data received {"connection_id":232511,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51afde0012cf0ba40071379300025010426..."} 
[2026-11-04 11:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51afde0012cf0ba40071379300025010426..."} 
[2026-11-04 11:23:15] local.INFO: Processing buffer {"connection_id":232511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51afde0012cf0ba40071379300025010426..."} 
[2026-11-04 11:23:15] local.INFO: Packet analysis {"connection_id":232511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:23:15] local.INFO: Extracted packet for processing {"connection_id":232511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51a"} 
[2026-11-04 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":753973824,"raw_latitude":118716720,"longitude_deg":75.3973824,"latitude_deg":11.871672,"altitude":37,"angle":260,"satellites":38,"speed":0,"hex_longitude":"2cf0ba40","hex_latitude":"07137930","is_valid_coordinates":true} 
[2026-11-04 11:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205465856001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1100496759803006976,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:15] 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-11-04 11:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793771372000,"timestamp_ms":1793771372000,"timestamp_seconds":1793771372,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51afde0"} 
[2026-11-04 11:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 11:23: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-11-04 11:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205465856001,"66":28354,"64":206,"2":54272,"24":0,"16":20481019702411264,"44":-1100496759803006976},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-11-04 11:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205465856001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:23:15] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-04 11:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:23:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1100496759803006976,"description":"Unknown IO ID 44"} 
[2026-11-04 11:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205465856001,"power":28354,"unknown_64":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1100496759803006976}} 
[2026-11-04 11:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":232511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:23:16] local.INFO: GPS data processed {"connection_id":232511,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:23:16] local.INFO: Acknowledgment sent {"connection_id":232511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:23:45] local.INFO: TCP Data received {"connection_id":229369,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:23:45] local.INFO: Processing buffer {"connection_id":229369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a519f058012d34c30006aa43d0000b00902c..."} 
[2026-11-04 11:23:45] local.INFO: Packet analysis {"connection_id":229369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:23:45] local.INFO: Extracted packet for processing {"connection_id":229369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a519"} 
[2026-11-04 11:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":44,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205376512001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793771303000,"timestamp_ms":1793771303000,"timestamp_seconds":1793771303,"priority":1,"record_length":96,"hex_timestamp":"000001a1a519f058"} 
[2026-11-04 11:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:23: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-11-04 11: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-11-04 11:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205376512001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205376512001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205376512001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":229369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:23:45] local.INFO: GPS data processed {"connection_id":229369,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:23:45] local.INFO: Acknowledgment sent {"connection_id":229369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:23:48] local.INFO: TCP Data received {"connection_id":232511,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51dd088012ceed4c00713e228002501122b..."} 
[2026-11-04 11:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51dd088012ceed4c00713e228002501122b..."} 
[2026-11-04 11:23:48] local.INFO: Processing buffer {"connection_id":232511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51dd088012ceed4c00713e228002501122b..."} 
[2026-11-04 11:23:48] local.INFO: Packet analysis {"connection_id":232511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51d"} 
[2026-11-04 11:23:48] local.INFO: Extracted packet for processing {"connection_id":232511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51d"} 
[2026-11-04 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":753849536,"raw_latitude":118743592,"longitude_deg":75.3849536,"latitude_deg":11.8743592,"altitude":37,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2ceed4c0","hex_latitude":"0713e228","is_valid_coordinates":true} 
[2026-11-04 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205513216001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1237152860989151232,"note":"Value kept but may cause issues"} 
[2026-11-04 11:23:48] 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-11-04 11:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793771557000,"timestamp_ms":1793771557000,"timestamp_seconds":1793771557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51dd088"} 
[2026-11-04 11:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 11:23: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-11-04 11:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205513216001,"66":28376,"206":206,"2":54272,"24":0,"16":20481019702411264,"44":-1237152860989151232},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-11-04 11:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205513216001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:23:48] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-04 11:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:23:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1237152860989151232,"description":"Unknown IO ID 44"} 
[2026-11-04 11:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205513216001,"power":28376,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1237152860989151232}} 
[2026-11-04 11:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":232511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:23:48] local.INFO: GPS data processed {"connection_id":232511,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:23:48] local.INFO: Acknowledgment sent {"connection_id":232511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:24:09] local.INFO: TCP Data received {"connection_id":232512,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:24:09] local.INFO: Processing buffer {"connection_id":232512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:24:09] local.INFO: IMEI packet received {"connection_id":232512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":232512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:24:12] local.INFO: TCP Data received {"connection_id":230667,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:24:12] local.INFO: Processing buffer {"connection_id":230667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:24:12] local.INFO: IMEI packet received {"connection_id":230667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":230667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:24:14] local.INFO: TCP Data received {"connection_id":232512,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:24:14] local.INFO: Processing buffer {"connection_id":232512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:24:14] local.INFO: IMEI packet received {"connection_id":232512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":232512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:24:16] local.INFO: TCP Data received {"connection_id":232512,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51ea7600100000000000000000000000000..."} 
[2026-11-04 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51ea7600100000000000000000000000000..."} 
[2026-11-04 11:24:16] local.INFO: Processing buffer {"connection_id":232512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51ea7600100000000000000000000000000..."} 
[2026-11-04 11:24:16] local.INFO: Packet analysis {"connection_id":232512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:24:16] local.INFO: Extracted packet for processing {"connection_id":232512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:24: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-11-04 11: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-11-04 11:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205518592001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1237152860989151232,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:16] 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-11-04 11:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793771612000,"timestamp_ms":1793771612000,"timestamp_seconds":1793771612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51ea760"} 
[2026-11-04 11:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 11:24: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-11-04 11: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-11-04 11:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":232512,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:24:16] local.INFO: GPS data processed {"connection_id":232512,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:24:16] local.INFO: Acknowledgment sent {"connection_id":232512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:24:17] local.INFO: TCP Data received {"connection_id":230667,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:24:17] local.INFO: Processing buffer {"connection_id":230667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:24:17] local.INFO: IMEI packet received {"connection_id":230667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":230667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:24:18] local.INFO: TCP Data received {"connection_id":230667,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:24:18] local.INFO: Processing buffer {"connection_id":230667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:24:18] local.INFO: Packet analysis {"connection_id":230667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:24:18] local.INFO: Extracted packet for processing {"connection_id":230667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:24:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:24: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-11-04 11:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:24:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":230667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:24:18] local.INFO: GPS data processed {"connection_id":230667,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:24:18] local.INFO: Acknowledgment sent {"connection_id":230667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:24:22] local.INFO: TCP Data received {"connection_id":230667,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:24:22] local.INFO: Processing buffer {"connection_id":230667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:24:22] local.INFO: Packet analysis {"connection_id":230667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:24:22] local.INFO: Extracted packet for processing {"connection_id":230667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 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-11-04 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:24: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-11-04 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-11-04 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-11-04 11:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:24:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":230667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:24:22] local.INFO: GPS data processed {"connection_id":230667,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:24:22] local.INFO: Acknowledgment sent {"connection_id":230667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:25:07] local.INFO: TCP Data received {"connection_id":232513,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:25:07] local.INFO: Processing buffer {"connection_id":232513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:25:07] local.INFO: IMEI packet received {"connection_id":232513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":232513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:25:12] local.INFO: TCP Data received {"connection_id":232513,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:25:12] local.INFO: Processing buffer {"connection_id":232513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:25:12] local.INFO: IMEI packet received {"connection_id":232513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":232513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:25:13] local.INFO: TCP Data received {"connection_id":232513,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:25:13] local.INFO: Processing buffer {"connection_id":232513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:25:13] local.INFO: Packet analysis {"connection_id":232513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:25:13] local.INFO: Extracted packet for processing {"connection_id":232513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:25:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:25: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-11-04 11: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-11-04 11:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":232513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:25:13] local.INFO: GPS data processed {"connection_id":232513,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:25:13] local.INFO: Acknowledgment sent {"connection_id":232513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:25:28] local.INFO: TCP Data received {"connection_id":232512,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e49a0012cee9e000713e0600027010229..."} 
[2026-11-04 11:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e49a0012cee9e000713e0600027010229..."} 
[2026-11-04 11:25:28] local.INFO: Processing buffer {"connection_id":232512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e49a0012cee9e000713e0600027010229..."} 
[2026-11-04 11:25:28] local.INFO: Packet analysis {"connection_id":232512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:25:28] local.INFO: Extracted packet for processing {"connection_id":232512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:25:28] local.INFO: GPS Element Parsed {"raw_longitude":753835520,"raw_latitude":118743136,"longitude_deg":75.383552,"latitude_deg":11.8743136,"altitude":39,"angle":258,"satellites":41,"speed":26,"hex_longitude":"2cee9e00","hex_latitude":"0713e060","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:25:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,206,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793771588000,"timestamp_ms":1793771588000,"timestamp_seconds":1793771588,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e49a0"} 
[2026-11-04 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-11-04 11:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 11:25:28] 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-11-04 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-11-04 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-11-04 11:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":232512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":232512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":232512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"206":206,"2":54272,"24":26,"16":20481019702411264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16]} 
[2026-11-04 11:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:25:28] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-04 11:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:25:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_206":206,"power_alt":54272,"ignition":26,"odometer":null}} 
[2026-11-04 11:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":232512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:25:28] local.INFO: GPS data processed {"connection_id":232512,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:25:28] local.INFO: Acknowledgment sent {"connection_id":232512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:25:45] local.INFO: TCP Data received {"connection_id":232513,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:25:45] local.INFO: Processing buffer {"connection_id":232513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:25:45] local.INFO: Packet analysis {"connection_id":232513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:25:45] local.INFO: Extracted packet for processing {"connection_id":232513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:25:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:25: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-11-04 11: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-11-04 11:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":232513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:25:45] local.INFO: GPS data processed {"connection_id":232513,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:25:45] local.INFO: Acknowledgment sent {"connection_id":232513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:26:01] local.INFO: TCP Data received {"connection_id":230668,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:01] local.INFO: Processing buffer {"connection_id":230668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:01] local.INFO: IMEI packet received {"connection_id":230668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":230668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:26:03] local.INFO: TCP Data received {"connection_id":230668,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:03] local.INFO: Processing buffer {"connection_id":230668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:03] local.INFO: IMEI packet received {"connection_id":230668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":230668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:26:04] local.INFO: TCP Data received {"connection_id":230668,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:04] local.INFO: Processing buffer {"connection_id":230668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:26:04] local.INFO: IMEI packet received {"connection_id":230668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":230668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:26:06] local.INFO: TCP Data received {"connection_id":230668,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e9ba8012cee63400713dbd00021011624..."} 
[2026-11-04 11:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e9ba8012cee63400713dbd00021011624..."} 
[2026-11-04 11:26:06] local.INFO: Processing buffer {"connection_id":230668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e9ba8012cee63400713dbd00021011624..."} 
[2026-11-04 11:26:06] local.INFO: Packet analysis {"connection_id":230668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:06] local.INFO: Extracted packet for processing {"connection_id":230668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:06] local.INFO: GPS Element Parsed {"raw_longitude":753820480,"raw_latitude":118741968,"longitude_deg":75.382048,"latitude_deg":11.8741968,"altitude":33,"angle":278,"satellites":36,"speed":19,"hex_longitude":"2cee6340","hex_latitude":"0713dbd0","is_valid_coordinates":true} 
[2026-11-04 11:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205526528001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1252563615964176384,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:06] 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-11-04 11:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793771609000,"timestamp_ms":1793771609000,"timestamp_seconds":1793771609,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e9ba8"} 
[2026-11-04 11:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 11:26:06] 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-11-04 11:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":230668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":230668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":230668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205526528001,"66":28452,"206":206,"2":54272,"24":19,"16":20481019702411264,"44":-1252563615964176384},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-11-04 11:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205526528001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:26:06] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-04 11:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:26:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1252563615964176384,"description":"Unknown IO ID 44"} 
[2026-11-04 11:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205526528001,"power":28452,"unknown_206":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-1252563615964176384}} 
[2026-11-04 11:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":230668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:26:06] local.INFO: GPS data processed {"connection_id":230668,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:26:06] local.INFO: Acknowledgment sent {"connection_id":230668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:26:06] local.INFO: TCP Data received {"connection_id":230669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:26:06] local.INFO: Processing buffer {"connection_id":230669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:26:06] local.INFO: IMEI packet received {"connection_id":230669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":230669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:26:11] local.INFO: TCP Data received {"connection_id":230668,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e9ba8012cee63400713dbd00021011624..."} 
[2026-11-04 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e9ba8012cee63400713dbd00021011624..."} 
[2026-11-04 11:26:11] local.INFO: Processing buffer {"connection_id":230668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e9ba8012cee63400713dbd00021011624..."} 
[2026-11-04 11:26:11] local.INFO: Packet analysis {"connection_id":230668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:11] local.INFO: Extracted packet for processing {"connection_id":230668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":753820480,"raw_latitude":118741968,"longitude_deg":75.382048,"latitude_deg":11.8741968,"altitude":33,"angle":278,"satellites":36,"speed":19,"hex_longitude":"2cee6340","hex_latitude":"0713dbd0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205531904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269100270846226432,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:11] 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-11-04 11:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793771609000,"timestamp_ms":1793771609000,"timestamp_seconds":1793771609,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e9ba8"} 
[2026-11-04 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-11-04 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:26: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-11-04 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-11-04 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-11-04 11:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205531904001,"66":28452,"206":206,"2":54272,"24":19,"16":20481019702411264,"44":-1269100270846226432},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-11-04 11:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205531904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:26:11] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-04 11:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:26:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1269100270846226432,"description":"Unknown IO ID 44"} 
[2026-11-04 11:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205531904001,"power":28452,"unknown_206":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-1269100270846226432}} 
[2026-11-04 11:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":230668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:26:11] local.INFO: GPS data processed {"connection_id":230668,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:26:11] local.INFO: Acknowledgment sent {"connection_id":230668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:26:12] local.INFO: TCP Data received {"connection_id":230669,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:26:12] local.INFO: Processing buffer {"connection_id":230669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:26:12] local.INFO: IMEI packet received {"connection_id":230669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":230669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:26:13] local.INFO: TCP Data received {"connection_id":230669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:26:13] local.INFO: Processing buffer {"connection_id":230669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:26:13] local.INFO: Packet analysis {"connection_id":230669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:13] local.INFO: Extracted packet for processing {"connection_id":230669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:26: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-11-04 11: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-11-04 11:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:26:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":230669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:26:13] local.INFO: GPS data processed {"connection_id":230669,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:26:13] local.INFO: Acknowledgment sent {"connection_id":230669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:26:42] local.INFO: TCP Data received {"connection_id":230668,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51f72800100000000000000000000000000..."} 
[2026-11-04 11:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51f72800100000000000000000000000000..."} 
[2026-11-04 11:26:42] local.INFO: Processing buffer {"connection_id":230668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51f72800100000000000000000000000000..."} 
[2026-11-04 11:26:42] local.INFO: Packet analysis {"connection_id":230668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51f"} 
[2026-11-04 11:26:42] local.INFO: Extracted packet for processing {"connection_id":230668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51f"} 
[2026-11-04 11: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-11-04 11: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-11-04 11:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205531904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1269100270846226432,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:42] 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-11-04 11:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793771664000,"timestamp_ms":1793771664000,"timestamp_seconds":1793771664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51f7280"} 
[2026-11-04 11:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:26: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-11-04 11: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-11-04 11:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":230668,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:26:42] local.INFO: GPS data processed {"connection_id":230668,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:26:42] local.INFO: Acknowledgment sent {"connection_id":230668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:26:45] local.INFO: TCP Data received {"connection_id":230669,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:26:45] local.INFO: Processing buffer {"connection_id":230669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:26:45] local.INFO: Packet analysis {"connection_id":230669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:45] local.INFO: Extracted packet for processing {"connection_id":230669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:26: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-11-04 11:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":230669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:26:45] local.INFO: GPS data processed {"connection_id":230669,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:26:45] local.INFO: Acknowledgment sent {"connection_id":230669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:27:06] local.INFO: TCP Data received {"connection_id":229370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:27:06] local.INFO: Processing buffer {"connection_id":229370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:27:06] local.INFO: IMEI packet received {"connection_id":229370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":229370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:27:08] local.INFO: TCP Data received {"connection_id":229371,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:27:08] local.INFO: Processing buffer {"connection_id":229371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:27:08] local.INFO: IMEI packet received {"connection_id":229371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":229371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:27:12] local.INFO: TCP Data received {"connection_id":229370,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:27:12] local.INFO: Processing buffer {"connection_id":229370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:27:12] local.INFO: IMEI packet received {"connection_id":229370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":229370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:27:13] local.INFO: TCP Data received {"connection_id":229370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:27:13] local.INFO: Processing buffer {"connection_id":229370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:27:13] local.INFO: Packet analysis {"connection_id":229370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:27:13] local.INFO: Extracted packet for processing {"connection_id":229370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:27: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-11-04 11: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-11-04 11:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":229370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:27:13] local.INFO: GPS data processed {"connection_id":229370,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:27:13] local.INFO: Acknowledgment sent {"connection_id":229370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:27:14] local.INFO: TCP Data received {"connection_id":229371,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:27:14] local.INFO: Processing buffer {"connection_id":229371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:27:14] local.INFO: IMEI packet received {"connection_id":229371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":229371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:27:15] local.INFO: TCP Data received {"connection_id":229371,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51ef198012cee2cc00713e3f8001e011529..."} 
[2026-11-04 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51ef198012cee2cc00713e3f8001e011529..."} 
[2026-11-04 11:27:15] local.INFO: Processing buffer {"connection_id":229371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51ef198012cee2cc00713e3f8001e011529..."} 
[2026-11-04 11:27:15] local.INFO: Packet analysis {"connection_id":229371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:27:15] local.INFO: Extracted packet for processing {"connection_id":229371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:27:15] local.INFO: GPS Element Parsed {"raw_longitude":753806528,"raw_latitude":118744056,"longitude_deg":75.3806528,"latitude_deg":11.8744056,"altitude":30,"angle":277,"satellites":41,"speed":20,"hex_longitude":"2cee2cc0","hex_latitude":"0713e3f8","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,206,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793771631000,"timestamp_ms":1793771631000,"timestamp_seconds":1793771631,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51ef198"} 
[2026-11-04 11:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 11:27: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-11-04 11: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-11-04 11:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"206":206,"2":54272,"24":20,"16":20481019702411264},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16]} 
[2026-11-04 11:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:27:15] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-11-04 11:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481019702411264,"km_value":20481019702411.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:27:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_206":206,"power_alt":54272,"ignition":20,"odometer":null}} 
[2026-11-04 11:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":229371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:27:16] local.INFO: GPS data processed {"connection_id":229371,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:27:16] local.INFO: Acknowledgment sent {"connection_id":229371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:27:45] local.INFO: TCP Data received {"connection_id":229370,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:27:45] local.INFO: Processing buffer {"connection_id":229370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:27:45] local.INFO: Packet analysis {"connection_id":229370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:27:45] local.INFO: Extracted packet for processing {"connection_id":229370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:27: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-11-04 11: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-11-04 11:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":229370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:27:45] local.INFO: GPS data processed {"connection_id":229370,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:27:45] local.INFO: Acknowledgment sent {"connection_id":229370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:27:47] local.INFO: TCP Data received {"connection_id":229371,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51fc8700100000000000000000000000000..."} 
[2026-11-04 11:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51fc8700100000000000000000000000000..."} 
[2026-11-04 11:27:47] local.INFO: Processing buffer {"connection_id":229371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51fc8700100000000000000000000000000..."} 
[2026-11-04 11:27:47] local.INFO: Packet analysis {"connection_id":229371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51f"} 
[2026-11-04 11:27:47] local.INFO: Extracted packet for processing {"connection_id":229371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51f"} 
[2026-11-04 11:27: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-11-04 11: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-11-04 11:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205537536001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481019702411264,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1284440657076422656,"note":"Value kept but may cause issues"} 
[2026-11-04 11:27:47] 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-11-04 11:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793771686000,"timestamp_ms":1793771686000,"timestamp_seconds":1793771686,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51fc870"} 
[2026-11-04 11:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 11:27:47] 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-11-04 11: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-11-04 11:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":229371,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:27:47] local.INFO: GPS data processed {"connection_id":229371,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:27:47] local.INFO: Acknowledgment sent {"connection_id":229371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:28:06] local.INFO: TCP Data received {"connection_id":229372,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:28:06] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:28:06] local.INFO: IMEI packet received {"connection_id":229372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":229372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:28:09] local.INFO: TCP Data received {"connection_id":229373,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:09] local.INFO: Processing buffer {"connection_id":229373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:09] local.INFO: IMEI packet received {"connection_id":229373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":229373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:28:12] local.INFO: TCP Data received {"connection_id":229372,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:28:12] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:28:12] local.INFO: IMEI packet received {"connection_id":229372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":229372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:28:13] local.INFO: TCP Data received {"connection_id":229373,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:13] local.INFO: Processing buffer {"connection_id":229373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:13] local.INFO: IMEI packet received {"connection_id":229373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":229373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:28:14] local.INFO: TCP Data received {"connection_id":229372,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:28:14] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:28:14] local.INFO: Packet analysis {"connection_id":229372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:28:14] local.INFO: Extracted packet for processing {"connection_id":229372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:28:14] 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-11-04 11:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":229372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:28:14] local.INFO: GPS data processed {"connection_id":229372,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:28:14] local.INFO: Acknowledgment sent {"connection_id":229372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:28:14] local.INFO: TCP Data received {"connection_id":229373,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:14] local.INFO: Processing buffer {"connection_id":229373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:14] local.INFO: IMEI packet received {"connection_id":229373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":229373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:28:19] local.INFO: TCP Data received {"connection_id":229373,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:19] local.INFO: Processing buffer {"connection_id":229373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:28:19] local.INFO: IMEI packet received {"connection_id":229373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":229373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:28:20] local.INFO: TCP Data received {"connection_id":229373,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5221260012ced1e8007141520001a01542c..."} 
[2026-11-04 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5221260012ced1e8007141520001a01542c..."} 
[2026-11-04 11:28:20] local.INFO: Processing buffer {"connection_id":229373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5221260012ced1e8007141520001a01542c..."} 
[2026-11-04 11:28:20] local.INFO: Packet analysis {"connection_id":229373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:28:20] local.INFO: Extracted packet for processing {"connection_id":229373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":753737344,"raw_latitude":118756640,"longitude_deg":75.3737344,"latitude_deg":11.875664,"altitude":26,"angle":340,"satellites":44,"speed":14,"hex_longitude":"2ced1e80","hex_latitude":"07141520","is_valid_coordinates":true} 
[2026-11-04 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205586944001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481178616201216,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1359172263390666752,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793771836000,"timestamp_ms":1793771836000,"timestamp_seconds":1793771836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5221260"} 
[2026-11-04 11:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 11:28: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-11-04 11:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205586944001,"66":28267,"143":206,"2":54272,"24":14,"16":20481178616201216,"44":-1359172263390666752},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-11-04 11:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205586944001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:28:20] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 11:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481178616201216,"km_value":20481178616201.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1359172263390666752,"description":"Unknown IO ID 44"} 
[2026-11-04 11:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205586944001,"power":28267,"unknown_143":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1359172263390666752}} 
[2026-11-04 11:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":229373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:28:20] local.INFO: GPS data processed {"connection_id":229373,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:28:20] local.INFO: Acknowledgment sent {"connection_id":229373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:28:27] local.INFO: TCP Data received {"connection_id":229373,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52229d0012ced1b0007141e28001901402c..."} 
[2026-11-04 11:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52229d0012ced1b0007141e28001901402c..."} 
[2026-11-04 11:28:27] local.INFO: Processing buffer {"connection_id":229373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52229d0012ced1b0007141e28001901402c..."} 
[2026-11-04 11:28:27] local.INFO: Packet analysis {"connection_id":229373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:28:27] local.INFO: Extracted packet for processing {"connection_id":229373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:28:27] local.INFO: GPS Element Parsed {"raw_longitude":753736448,"raw_latitude":118758952,"longitude_deg":75.3736448,"latitude_deg":11.8758952,"altitude":25,"angle":320,"satellites":44,"speed":12,"hex_longitude":"2ced1b00","hex_latitude":"07141e28","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205590016001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481298875285504,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1360509269529255936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793771842000,"timestamp_ms":1793771842000,"timestamp_seconds":1793771842,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52229d0"} 
[2026-11-04 11:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 11:28:27] 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-11-04 11: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-11-04 11:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229373,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205590016001,"66":28398,"143":206,"2":54272,"24":12,"16":20481298875285504,"44":-1360509269529255936},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-11-04 11:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205590016001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:28:27] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 11:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481298875285504,"km_value":20481298875285.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:28:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1360509269529255936,"description":"Unknown IO ID 44"} 
[2026-11-04 11:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205590016001,"power":28398,"unknown_143":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1360509269529255936}} 
[2026-11-04 11:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":229373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:28:27] local.INFO: GPS data processed {"connection_id":229373,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:28:27] local.INFO: Acknowledgment sent {"connection_id":229373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:28:46] local.INFO: TCP Data received {"connection_id":229372,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:28:46] local.INFO: Processing buffer {"connection_id":229372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a51e8820012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:28:46] local.INFO: Packet analysis {"connection_id":229372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:28:46] local.INFO: Extracted packet for processing {"connection_id":229372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a51e"} 
[2026-11-04 11:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205453568001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793771604000,"timestamp_ms":1793771604000,"timestamp_seconds":1793771604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a51e8820"} 
[2026-11-04 11:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205453568001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205453568001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:28:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205453568001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":229372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:28:46] local.INFO: GPS data processed {"connection_id":229372,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:28:46] local.INFO: Acknowledgment sent {"connection_id":229372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:29:08] local.INFO: TCP Data received {"connection_id":232514,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:08] local.INFO: Processing buffer {"connection_id":232514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:08] local.INFO: IMEI packet received {"connection_id":232514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":232514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:29:09] local.INFO: TCP Data received {"connection_id":232514,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:09] local.INFO: Processing buffer {"connection_id":232514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:09] local.INFO: IMEI packet received {"connection_id":232514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":232514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:29:13] local.INFO: TCP Data received {"connection_id":232515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:29:13] local.INFO: Processing buffer {"connection_id":232515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:29:13] local.INFO: IMEI packet received {"connection_id":232515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":232515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:29:14] local.INFO: TCP Data received {"connection_id":232514,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:14] local.INFO: Processing buffer {"connection_id":232514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:29:14] local.INFO: IMEI packet received {"connection_id":232514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":232514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:29:16] local.INFO: TCP Data received {"connection_id":232514,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5222db8012ced1a0007141f18001901302b..."} 
[2026-11-04 11:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5222db8012ced1a0007141f18001901302b..."} 
[2026-11-04 11:29:16] local.INFO: Processing buffer {"connection_id":232514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5222db8012ced1a0007141f18001901302b..."} 
[2026-11-04 11:29:16] local.INFO: Packet analysis {"connection_id":232514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:29:16] local.INFO: Extracted packet for processing {"connection_id":232514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:29:16] local.INFO: GPS Element Parsed {"raw_longitude":753736192,"raw_latitude":118759192,"longitude_deg":75.3736192,"latitude_deg":11.8759192,"altitude":25,"angle":304,"satellites":43,"speed":14,"hex_longitude":"2ced1a00","hex_latitude":"07141f18","is_valid_coordinates":true} 
[2026-11-04 11:29: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-11-04 11:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205591552001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481316055154688,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361494431947151360,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793771843000,"timestamp_ms":1793771843000,"timestamp_seconds":1793771843,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5222db8"} 
[2026-11-04 11:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:29: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-11-04 11:29: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-11-04 11:29: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-11-04 11:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205591552001,"66":28398,"143":206,"2":54272,"24":14,"16":20481316055154688,"44":-1361494431947151360},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-11-04 11:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205591552001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:29:16] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 11:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481316055154688,"km_value":20481316055154.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:29:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361494431947151360,"description":"Unknown IO ID 44"} 
[2026-11-04 11:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205591552001,"power":28398,"unknown_143":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1361494431947151360}} 
[2026-11-04 11:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":232514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:29:16] local.INFO: GPS data processed {"connection_id":232514,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:29:16] local.INFO: Acknowledgment sent {"connection_id":232514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:29:17] local.INFO: TCP Data received {"connection_id":232515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:29:17] local.INFO: Processing buffer {"connection_id":232515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:29:17] local.INFO: IMEI packet received {"connection_id":232515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":232515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:29:18] local.INFO: TCP Data received {"connection_id":232515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:29:18] local.INFO: Processing buffer {"connection_id":232515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:29:18] local.INFO: Packet analysis {"connection_id":232515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:29:18] local.INFO: Extracted packet for processing {"connection_id":232515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:29: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-11-04 11:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":232515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:29:18] local.INFO: GPS data processed {"connection_id":232515,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:29:18] local.INFO: Acknowledgment sent {"connection_id":232515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:29:22] local.INFO: TCP Data received {"connection_id":232515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:29:22] local.INFO: Processing buffer {"connection_id":232515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:29:22] local.INFO: Packet analysis {"connection_id":232515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:29:22] local.INFO: Extracted packet for processing {"connection_id":232515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:29: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-11-04 11:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:29:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":232515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:29:22] local.INFO: GPS data processed {"connection_id":232515,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:29:22] local.INFO: Acknowledgment sent {"connection_id":232515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:29:54] local.INFO: TCP Data received {"connection_id":232514,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5224cf8012ced104007142578001601402b..."} 
[2026-11-04 11:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5224cf8012ced104007142578001601402b..."} 
[2026-11-04 11:29:54] local.INFO: Processing buffer {"connection_id":232514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5224cf8012ced104007142578001601402b..."} 
[2026-11-04 11:29:54] local.INFO: Packet analysis {"connection_id":232514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:29:54] local.INFO: Extracted packet for processing {"connection_id":232514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":753733696,"raw_latitude":118760824,"longitude_deg":75.3733696,"latitude_deg":11.8760824,"altitude":22,"angle":320,"satellites":43,"speed":18,"hex_longitude":"2ced1040","hex_latitude":"07142578","is_valid_coordinates":true} 
[2026-11-04 11:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205591808001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481457789075456,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1361775906923800576,"note":"Value kept but may cause issues"} 
[2026-11-04 11:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793771851000,"timestamp_ms":1793771851000,"timestamp_seconds":1793771851,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5224cf8"} 
[2026-11-04 11:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:29:54] 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-11-04 11:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205591808001,"66":28332,"143":206,"2":54272,"24":18,"16":20481457789075456,"44":-1361775906923800576},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-11-04 11:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205591808001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:29:54] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 11:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481457789075456,"km_value":20481457789075.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:29:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1361775906923800576,"description":"Unknown IO ID 44"} 
[2026-11-04 11:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205591808001,"power":28332,"unknown_143":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1361775906923800576}} 
[2026-11-04 11:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":232514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:29:54] local.INFO: GPS data processed {"connection_id":232514,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:29:54] local.INFO: Acknowledgment sent {"connection_id":232514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:30:07] local.INFO: TCP Data received {"connection_id":229374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:30:07] local.INFO: Processing buffer {"connection_id":229374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:30:07] local.INFO: IMEI packet received {"connection_id":229374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":229374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:30:08] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:08] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:08] local.INFO: IMEI packet received {"connection_id":229375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":229375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:30:11] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:11] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:11] local.INFO: IMEI packet received {"connection_id":229375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":229375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:30:12] local.INFO: TCP Data received {"connection_id":229374,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:30:12] local.INFO: Processing buffer {"connection_id":229374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:30:12] local.INFO: IMEI packet received {"connection_id":229374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":229374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:30:13] local.INFO: TCP Data received {"connection_id":229374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:30:13] local.INFO: Processing buffer {"connection_id":229374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:30:13] local.INFO: Packet analysis {"connection_id":229374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:30:13] local.INFO: Extracted packet for processing {"connection_id":229374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:30: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-11-04 11: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-11-04 11:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":229374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:30:13] local.INFO: GPS data processed {"connection_id":229374,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:30:13] local.INFO: Acknowledgment sent {"connection_id":229374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:30:15] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:15] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:30:15] local.INFO: IMEI packet received {"connection_id":229375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":229375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:30:17] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5225c98012ced0a4007142b78001601352b..."} 
[2026-11-04 11:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5225c98012ced0a4007142b78001601352b..."} 
[2026-11-04 11:30:17] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5225c98012ced0a4007142b78001601352b..."} 
[2026-11-04 11:30:17] local.INFO: Packet analysis {"connection_id":229375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:30:17] local.INFO: Extracted packet for processing {"connection_id":229375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:30:17] local.INFO: GPS Element Parsed {"raw_longitude":753732160,"raw_latitude":118762360,"longitude_deg":75.373216,"latitude_deg":11.876236,"altitude":22,"angle":309,"satellites":43,"speed":24,"hex_longitude":"2ced0a40","hex_latitude":"07142b78","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205593856001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20481565163257856,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1364520287946311680,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793771855000,"timestamp_ms":1793771855000,"timestamp_seconds":1793771855,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5225c98"} 
[2026-11-04 11:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 11:30:17] 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-11-04 11: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-11-04 11:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205593856001,"66":28376,"143":206,"2":54272,"24":24,"16":20481565163257856,"44":-1364520287946311680},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-11-04 11:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205593856001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:30:17] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 11:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20481565163257856,"km_value":20481565163257.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:30:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1364520287946311680,"description":"Unknown IO ID 44"} 
[2026-11-04 11:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205593856001,"power":28376,"unknown_143":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1364520287946311680}} 
[2026-11-04 11:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":229375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:30:17] local.INFO: GPS data processed {"connection_id":229375,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:30:17] local.INFO: Acknowledgment sent {"connection_id":229375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:30:19] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5229b18012cececc007144260001501322c..."} 
[2026-11-04 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5229b18012cececc007144260001501322c..."} 
[2026-11-04 11:30:19] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5229b18012cececc007144260001501322c..."} 
[2026-11-04 11:30:19] local.INFO: Packet analysis {"connection_id":229375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:30:19] local.INFO: Extracted packet for processing {"connection_id":229375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":753724608,"raw_latitude":118768224,"longitude_deg":75.3724608,"latitude_deg":11.8768224,"altitude":21,"angle":306,"satellites":44,"speed":24,"hex_longitude":"2cececc0","hex_latitude":"07144260","is_valid_coordinates":true} 
[2026-11-04 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205594880001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20482020429791232,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1366209137806182400,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793771871000,"timestamp_ms":1793771871000,"timestamp_seconds":1793771871,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5229b18"} 
[2026-11-04 11:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 11:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205594880001,"66":28332,"143":206,"2":54272,"24":24,"16":20482020429791232,"44":-1366209137806182400},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-11-04 11:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205594880001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:30:19] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 11:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20482020429791232,"km_value":20482020429791.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1366209137806182400,"description":"Unknown IO ID 44"} 
[2026-11-04 11:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205594880001,"power":28332,"unknown_143":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1366209137806182400}} 
[2026-11-04 11:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":229375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:30:19] local.INFO: GPS data processed {"connection_id":229375,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:30:19] local.INFO: Acknowledgment sent {"connection_id":229375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:30:44] local.INFO: TCP Data received {"connection_id":229374,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:30:44] local.INFO: Processing buffer {"connection_id":229374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:30:44] local.INFO: Packet analysis {"connection_id":229374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:30:44] local.INFO: Extracted packet for processing {"connection_id":229374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:30: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-11-04 11: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-11-04 11:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":229374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:30:44] local.INFO: GPS data processed {"connection_id":229374,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:30:44] local.INFO: Acknowledgment sent {"connection_id":229374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:30:51] local.INFO: TCP Data received {"connection_id":229375,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a522be40012cecdc0007144e90001601252a..."} 
[2026-11-04 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a522be40012cecdc0007144e90001601252a..."} 
[2026-11-04 11:30:52] local.INFO: Processing buffer {"connection_id":229375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a522be40012cecdc0007144e90001601252a..."} 
[2026-11-04 11:30:52] local.INFO: Packet analysis {"connection_id":229375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:30:52] local.INFO: Extracted packet for processing {"connection_id":229375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:30:52] local.INFO: GPS Element Parsed {"raw_longitude":753720320,"raw_latitude":118771344,"longitude_deg":75.372032,"latitude_deg":11.8771344,"altitude":22,"angle":293,"satellites":42,"speed":20,"hex_longitude":"2cecdc00","hex_latitude":"07144e90","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205598976001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20482273832861696,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1374512649617645568,"note":"Value kept but may cause issues"} 
[2026-11-04 11:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793771880000,"timestamp_ms":1793771880000,"timestamp_seconds":1793771880,"priority":1,"record_length":96,"hex_timestamp":"000001a1a522be40"} 
[2026-11-04 11:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 11:30:52] 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-11-04 11: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-11-04 11:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205598976001,"66":28398,"143":206,"2":54272,"24":20,"16":20482273832861696,"44":-1374512649617645568},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,2,24,16,44]} 
[2026-11-04 11:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205598976001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:30:52] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-11-04 11:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20482273832861696,"km_value":20482273832861.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1374512649617645568,"description":"Unknown IO ID 44"} 
[2026-11-04 11:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205598976001,"power":28398,"unknown_143":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1374512649617645568}} 
[2026-11-04 11:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":229375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:30:52] local.INFO: GPS data processed {"connection_id":229375,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:30:52] local.INFO: Acknowledgment sent {"connection_id":229375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:31:06] local.INFO: TCP Data received {"connection_id":228863,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:31:06] local.INFO: Processing buffer {"connection_id":228863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:31:06] local.INFO: IMEI packet received {"connection_id":228863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":228863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:31:12] local.INFO: TCP Data received {"connection_id":228863,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:31:12] local.INFO: Processing buffer {"connection_id":228863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:31:12] local.INFO: IMEI packet received {"connection_id":228863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":228863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:31:13] local.INFO: TCP Data received {"connection_id":228863,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:31:13] local.INFO: Processing buffer {"connection_id":228863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:31:13] local.INFO: Packet analysis {"connection_id":228863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:31:13] local.INFO: Extracted packet for processing {"connection_id":228863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:31: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-11-04 11: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-11-04 11:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":228863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:31:13] local.INFO: GPS data processed {"connection_id":228863,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:31:13] local.INFO: Acknowledgment sent {"connection_id":228863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:31:29] local.INFO: TCP Data received {"connection_id":232516,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:31:29] local.INFO: Processing buffer {"connection_id":232516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:31:29] local.INFO: IMEI packet received {"connection_id":232516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":232516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:31:33] local.INFO: TCP Data received {"connection_id":232516,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:31:33] local.INFO: Processing buffer {"connection_id":232516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:31:33] local.INFO: IMEI packet received {"connection_id":232516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":232516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:31:35] local.INFO: TCP Data received {"connection_id":232516,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a522c610012cecd88007144f980016011729..."} 
[2026-11-04 11:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a522c610012cecd88007144f980016011729..."} 
[2026-11-04 11:31:35] local.INFO: Processing buffer {"connection_id":232516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a522c610012cecd88007144f980016011729..."} 
[2026-11-04 11:31:35] local.INFO: Packet analysis {"connection_id":232516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:31:35] local.INFO: Extracted packet for processing {"connection_id":232516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a522"} 
[2026-11-04 11:31:35] local.INFO: GPS Element Parsed {"raw_longitude":753719424,"raw_latitude":118771608,"longitude_deg":75.3719424,"latitude_deg":11.8771608,"altitude":22,"angle":279,"satellites":41,"speed":18,"hex_longitude":"2cecd880","hex_latitude":"07144f98","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205601280001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20482321077501952,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1379227355476750336,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793771882000,"timestamp_ms":1793771882000,"timestamp_seconds":1793771882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a522c610"} 
[2026-11-04 11:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:31:35] 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-11-04 11: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-11-04 11:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":232516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":232516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":232516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205601280001,"66":28452,"218":206,"2":54272,"24":18,"16":20482321077501952,"44":-1379227355476750336},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16,44]} 
[2026-11-04 11:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205601280001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:31:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-11-04 11:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20482321077501952,"km_value":20482321077501.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1379227355476750336,"description":"Unknown IO ID 44"} 
[2026-11-04 11:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205601280001,"power":28452,"unknown_218":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1379227355476750336}} 
[2026-11-04 11:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":232516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:31:35] local.INFO: GPS data processed {"connection_id":232516,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:31:35] local.INFO: Acknowledgment sent {"connection_id":232516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:31:44] local.INFO: TCP Data received {"connection_id":228863,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:31:44] local.INFO: Processing buffer {"connection_id":228863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:31:44] local.INFO: Packet analysis {"connection_id":228863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:31:44] local.INFO: Extracted packet for processing {"connection_id":228863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:31: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-11-04 11: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-11-04 11:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":228863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:31:44] local.INFO: GPS data processed {"connection_id":228863,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:31:44] local.INFO: Acknowledgment sent {"connection_id":228863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:32:06] local.INFO: TCP Data received {"connection_id":229376,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:32:06] local.INFO: Processing buffer {"connection_id":229376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:32:06] local.INFO: IMEI packet received {"connection_id":229376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":229376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:32:08] local.INFO: TCP Data received {"connection_id":230670,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:32:08] local.INFO: Processing buffer {"connection_id":230670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:32:08] local.INFO: IMEI packet received {"connection_id":230670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":230670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:32:12] local.INFO: TCP Data received {"connection_id":229376,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:32:12] local.INFO: Processing buffer {"connection_id":229376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:32:12] local.INFO: IMEI packet received {"connection_id":229376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":229376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:32:13] local.INFO: TCP Data received {"connection_id":229376,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:32:13] local.INFO: Processing buffer {"connection_id":229376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:32:13] local.INFO: Packet analysis {"connection_id":229376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:32:13] local.INFO: Extracted packet for processing {"connection_id":229376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:32: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-11-04 11: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-11-04 11:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":229376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:32:13] local.INFO: GPS data processed {"connection_id":229376,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:32:13] local.INFO: Acknowledgment sent {"connection_id":229376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:32:14] local.INFO: TCP Data received {"connection_id":230670,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:32:14] local.INFO: Processing buffer {"connection_id":230670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:32:14] local.INFO: IMEI packet received {"connection_id":230670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":230670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:32:15] local.INFO: TCP Data received {"connection_id":230670,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5239ce80100000000000000000000000000..."} 
[2026-11-04 11:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5239ce80100000000000000000000000000..."} 
[2026-11-04 11:32:15] local.INFO: Processing buffer {"connection_id":230670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5239ce80100000000000000000000000000..."} 
[2026-11-04 11:32:15] local.INFO: Packet analysis {"connection_id":230670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:32:15] local.INFO: Extracted packet for processing {"connection_id":230670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:32:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 11:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205601792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20482385502011392,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1380212517895170048,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793771937000,"timestamp_ms":1793771937000,"timestamp_seconds":1793771937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5239ce8"} 
[2026-11-04 11:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:32:15] 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-11-04 11:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":230670,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:32:15] local.INFO: GPS data processed {"connection_id":230670,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:32:15] local.INFO: Acknowledgment sent {"connection_id":230670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:32:44] local.INFO: TCP Data received {"connection_id":229376,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:32:44] local.INFO: Processing buffer {"connection_id":229376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:32:44] local.INFO: Packet analysis {"connection_id":229376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:32:44] local.INFO: Extracted packet for processing {"connection_id":229376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:32: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-11-04 11: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-11-04 11:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":229376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:32:44] local.INFO: GPS data processed {"connection_id":229376,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:32:44] local.INFO: Acknowledgment sent {"connection_id":229376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:32:47] local.INFO: TCP Data received {"connection_id":230670,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5262d28012ceb7940071384a0001200fc28..."} 
[2026-11-04 11:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5262d28012ceb7940071384a0001200fc28..."} 
[2026-11-04 11:32:47] local.INFO: Processing buffer {"connection_id":230670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5262d28012ceb7940071384a0001200fc28..."} 
[2026-11-04 11:32:47] local.INFO: Packet analysis {"connection_id":230670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a526"} 
[2026-11-04 11:32:47] local.INFO: Extracted packet for processing {"connection_id":230670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a526"} 
[2026-11-04 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118719648,"longitude_deg":75.3629504,"latitude_deg":11.8719648,"altitude":18,"angle":252,"satellites":40,"speed":25,"hex_longitude":"2ceb7940","hex_latitude":"071384a0","is_valid_coordinates":true} 
[2026-11-04 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20482385502011392,"note":"Value kept but may cause issues"} 
[2026-11-04 11:32:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,230,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793772105000,"timestamp_ms":1793772105000,"timestamp_seconds":1793772105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5262d28"} 
[2026-11-04 11:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 11:32:47] 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-11-04 11:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28343,"230":206,"2":54272,"24":25,"16":20482385502011392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16]} 
[2026-11-04 11:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:32:47] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-11-04 11:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20482385502011392,"km_value":20482385502011.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:32:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28343,"unknown_230":206,"power_alt":54272,"ignition":25,"odometer":null}} 
[2026-11-04 11:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":230670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:32:47] local.INFO: GPS data processed {"connection_id":230670,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:32:47] local.INFO: Acknowledgment sent {"connection_id":230670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:33:06] local.INFO: TCP Data received {"connection_id":232517,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:33:06] local.INFO: Processing buffer {"connection_id":232517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:33:06] local.INFO: IMEI packet received {"connection_id":232517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":232517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:33:08] local.INFO: TCP Data received {"connection_id":230671,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:33:08] local.INFO: Processing buffer {"connection_id":230671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:33:08] local.INFO: IMEI packet received {"connection_id":230671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":230671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:33:12] local.INFO: TCP Data received {"connection_id":232517,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:33:12] local.INFO: Processing buffer {"connection_id":232517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:33:12] local.INFO: IMEI packet received {"connection_id":232517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":232517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:33:13] local.INFO: TCP Data received {"connection_id":232517,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:33:13] local.INFO: Processing buffer {"connection_id":232517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:33:13] local.INFO: Packet analysis {"connection_id":232517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:33:13] local.INFO: Extracted packet for processing {"connection_id":232517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:33: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-11-04 11:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":232517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:33:13] local.INFO: GPS data processed {"connection_id":232517,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:33:13] local.INFO: Acknowledgment sent {"connection_id":232517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:33:14] local.INFO: TCP Data received {"connection_id":230671,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:33:14] local.INFO: Processing buffer {"connection_id":230671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:33:14] local.INFO: IMEI packet received {"connection_id":230671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":230671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:33:15] local.INFO: TCP Data received {"connection_id":230671,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52704000100000000000000000000000000..."} 
[2026-11-04 11:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52704000100000000000000000000000000..."} 
[2026-11-04 11:33:15] local.INFO: Processing buffer {"connection_id":230671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52704000100000000000000000000000000..."} 
[2026-11-04 11:33:15] local.INFO: Packet analysis {"connection_id":230671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:33:15] local.INFO: Extracted packet for processing {"connection_id":230671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:33: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-11-04 11: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-11-04 11:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205658880001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20482385502011392,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603478089728,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 11:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772160000,"timestamp_ms":1793772160000,"timestamp_seconds":1793772160,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5270400"} 
[2026-11-04 11:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 11:33:15] 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-11-04 11: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-11-04 11:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":230671,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 11:33:15] local.INFO: GPS data processed {"connection_id":230671,"processed":0,"errors":0,"total":1} 
[2026-11-04 11:33:15] local.INFO: Acknowledgment sent {"connection_id":230671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:33:44] local.INFO: TCP Data received {"connection_id":232517,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:33:44] local.INFO: Processing buffer {"connection_id":232517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5231fe8012d34c30006aa43d0000b00902a..."} 
[2026-11-04 11:33:44] local.INFO: Packet analysis {"connection_id":232517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:33:44] local.INFO: Extracted packet for processing {"connection_id":232517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a523"} 
[2026-11-04 11:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":42,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205530624001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793771905000,"timestamp_ms":1793771905000,"timestamp_seconds":1793771905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5231fe8"} 
[2026-11-04 11:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:33: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-11-04 11: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-11-04 11:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205530624001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205530624001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205530624001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":232517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":58999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:33:44] local.INFO: GPS data processed {"connection_id":232517,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:33:44] local.INFO: Acknowledgment sent {"connection_id":232517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:33:47] local.INFO: TCP Data received {"connection_id":230671,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5268318012ceb3f8007137380001700fa27..."} 
[2026-11-04 11:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5268318012ceb3f8007137380001700fa27..."} 
[2026-11-04 11:33:47] local.INFO: Processing buffer {"connection_id":230671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5268318012ceb3f8007137380001700fa27..."} 
[2026-11-04 11:33:47] local.INFO: Packet analysis {"connection_id":230671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a526"} 
[2026-11-04 11:33:47] local.INFO: Extracted packet for processing {"connection_id":230671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a526"} 
[2026-11-04 11:33:47] local.INFO: GPS Element Parsed {"raw_longitude":753614720,"raw_latitude":118715264,"longitude_deg":75.361472,"latitude_deg":11.8715264,"altitude":23,"angle":250,"satellites":39,"speed":27,"hex_longitude":"2ceb3f80","hex_latitude":"07137380","is_valid_coordinates":true} 
[2026-11-04 11:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20482385502011392,"note":"Value kept but may cause issues"} 
[2026-11-04 11:33:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,232,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 11:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793772127000,"timestamp_ms":1793772127000,"timestamp_seconds":1793772127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5268318"} 
[2026-11-04 11:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 11:33:47] 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-11-04 11:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28343,"232":206,"2":54272,"24":27,"16":20482385502011392},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,2,24,16]} 
[2026-11-04 11:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 11:33:47] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-11-04 11:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20482385502011392,"km_value":20482385502011.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:33:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28343,"unknown_232":206,"power_alt":54272,"ignition":27,"odometer":null}} 
[2026-11-04 11:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":230671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:33:47] local.INFO: GPS data processed {"connection_id":230671,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:33:47] local.INFO: Acknowledgment sent {"connection_id":230671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:34:08] local.INFO: TCP Data received {"connection_id":232518,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:09] local.INFO: Processing buffer {"connection_id":232518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:09] local.INFO: IMEI packet received {"connection_id":232518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":232518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:34:09] local.INFO: TCP Data received {"connection_id":232518,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:09] local.INFO: Processing buffer {"connection_id":232518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:09] local.INFO: IMEI packet received {"connection_id":232518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":232518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:34:10] local.INFO: TCP Data received {"connection_id":232518,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:10] local.INFO: Processing buffer {"connection_id":232518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:10] local.INFO: IMEI packet received {"connection_id":232518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":232518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:34:11] local.INFO: TCP Data received {"connection_id":232518,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:11] local.INFO: Processing buffer {"connection_id":232518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:34:11] local.INFO: IMEI packet received {"connection_id":232518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":232518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:34:12] local.INFO: TCP Data received {"connection_id":229377,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:34:12] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:34:12] local.INFO: IMEI packet received {"connection_id":229377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":229377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:34:17] local.INFO: TCP Data received {"connection_id":229377,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:34:17] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:34:17] local.INFO: IMEI packet received {"connection_id":229377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":229377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:34:18] local.INFO: TCP Data received {"connection_id":229377,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:34:18] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:34:18] local.INFO: Packet analysis {"connection_id":229377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:34:18] local.INFO: Extracted packet for processing {"connection_id":229377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:34:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:34:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:34: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-11-04 11: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-11-04 11:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:34:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":229377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:34:18] local.INFO: GPS data processed {"connection_id":229377,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:34:18] local.INFO: Acknowledgment sent {"connection_id":229377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:34:22] local.INFO: TCP Data received {"connection_id":229377,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:34:22] local.INFO: Processing buffer {"connection_id":229377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:34:22] local.INFO: Packet analysis {"connection_id":229377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:34:22] local.INFO: Extracted packet for processing {"connection_id":229377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:34:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:34: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-11-04 11: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-11-04 11:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":229377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:34:22] local.INFO: GPS data processed {"connection_id":229377,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:34:22] local.INFO: Acknowledgment sent {"connection_id":229377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:35:06] local.INFO: TCP Data received {"connection_id":228864,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:35:06] local.INFO: Processing buffer {"connection_id":228864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:35:06] local.INFO: IMEI packet received {"connection_id":228864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":228864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:35:12] local.INFO: TCP Data received {"connection_id":228864,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:35:12] local.INFO: Processing buffer {"connection_id":228864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:35:12] local.INFO: IMEI packet received {"connection_id":228864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":228864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:35:13] local.INFO: TCP Data received {"connection_id":228864,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:35:13] local.INFO: Processing buffer {"connection_id":228864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:35:13] local.INFO: Packet analysis {"connection_id":228864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:35:13] local.INFO: Extracted packet for processing {"connection_id":228864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:35:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:35: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-11-04 11: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-11-04 11:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":228864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:35:13] local.INFO: GPS data processed {"connection_id":228864,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:35:13] local.INFO: Acknowledgment sent {"connection_id":228864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:35:44] local.INFO: TCP Data received {"connection_id":228864,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:35:44] local.INFO: Processing buffer {"connection_id":228864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:35:44] local.INFO: Packet analysis {"connection_id":228864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:35:44] local.INFO: Extracted packet for processing {"connection_id":228864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:35:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:35: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-11-04 11: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-11-04 11:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":228864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:35:44] local.INFO: GPS data processed {"connection_id":228864,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:35:44] local.INFO: Acknowledgment sent {"connection_id":228864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:36:12] local.INFO: TCP Data received {"connection_id":232520,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:36:12] local.INFO: Processing buffer {"connection_id":232520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:36:12] local.INFO: IMEI packet received {"connection_id":232520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":232520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:36:17] local.INFO: TCP Data received {"connection_id":232520,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:36:17] local.INFO: Processing buffer {"connection_id":232520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:36:17] local.INFO: IMEI packet received {"connection_id":232520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":232520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:36:18] local.INFO: TCP Data received {"connection_id":232520,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:36:18] local.INFO: Processing buffer {"connection_id":232520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:36:18] local.INFO: Packet analysis {"connection_id":232520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:36:18] local.INFO: Extracted packet for processing {"connection_id":232520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:36: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-11-04 11:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:36:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":232520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:36:18] local.INFO: GPS data processed {"connection_id":232520,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:36:18] local.INFO: Acknowledgment sent {"connection_id":232520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:36:22] local.INFO: TCP Data received {"connection_id":232520,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:36:22] local.INFO: Processing buffer {"connection_id":232520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:36:22] local.INFO: Packet analysis {"connection_id":232520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:36:22] local.INFO: Extracted packet for processing {"connection_id":232520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:36:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:36: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-11-04 11:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:36:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":232520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:36:22] local.INFO: GPS data processed {"connection_id":232520,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:36:22] local.INFO: Acknowledgment sent {"connection_id":232520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:37:07] local.INFO: TCP Data received {"connection_id":230672,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:37:07] local.INFO: Processing buffer {"connection_id":230672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:37:07] local.INFO: IMEI packet received {"connection_id":230672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":230672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:37:12] local.INFO: TCP Data received {"connection_id":230672,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:37:12] local.INFO: Processing buffer {"connection_id":230672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:37:12] local.INFO: IMEI packet received {"connection_id":230672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":230672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:37:13] local.INFO: TCP Data received {"connection_id":230672,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:37:13] local.INFO: Processing buffer {"connection_id":230672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:37:13] local.INFO: Packet analysis {"connection_id":230672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:37:13] local.INFO: Extracted packet for processing {"connection_id":230672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:37:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:37: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-11-04 11:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":230672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:37:13] local.INFO: GPS data processed {"connection_id":230672,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:37:13] local.INFO: Acknowledgment sent {"connection_id":230672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:37:44] local.INFO: TCP Data received {"connection_id":230672,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:37:44] local.INFO: Processing buffer {"connection_id":230672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:37:44] local.INFO: Packet analysis {"connection_id":230672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:37:44] local.INFO: Extracted packet for processing {"connection_id":230672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:37:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:37: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-11-04 11: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-11-04 11:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:37:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":230672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:37:44] local.INFO: GPS data processed {"connection_id":230672,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:37:44] local.INFO: Acknowledgment sent {"connection_id":230672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:38:06] local.INFO: TCP Data received {"connection_id":232521,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:38:07] local.INFO: Processing buffer {"connection_id":232521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:38:07] local.INFO: IMEI packet received {"connection_id":232521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":232521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:38:12] local.INFO: TCP Data received {"connection_id":232521,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:38:12] local.INFO: Processing buffer {"connection_id":232521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:38:12] local.INFO: IMEI packet received {"connection_id":232521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":232521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:38:13] local.INFO: TCP Data received {"connection_id":232521,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:38:13] local.INFO: Processing buffer {"connection_id":232521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:38:13] local.INFO: Packet analysis {"connection_id":232521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:38:13] local.INFO: Extracted packet for processing {"connection_id":232521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:38:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:38: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-11-04 11:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":232521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:38:13] local.INFO: GPS data processed {"connection_id":232521,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:38:13] local.INFO: Acknowledgment sent {"connection_id":232521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:38:44] local.INFO: TCP Data received {"connection_id":232521,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:38:44] local.INFO: Processing buffer {"connection_id":232521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a527b7b0012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:38:44] local.INFO: Packet analysis {"connection_id":232521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:38:44] local.INFO: Extracted packet for processing {"connection_id":232521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a527"} 
[2026-11-04 11:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205607680001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:38:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793772206000,"timestamp_ms":1793772206000,"timestamp_seconds":1793772206,"priority":1,"record_length":96,"hex_timestamp":"000001a1a527b7b0"} 
[2026-11-04 11:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:38: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-11-04 11: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-11-04 11:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205607680001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205607680001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205607680001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":232521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:38:44] local.INFO: GPS data processed {"connection_id":232521,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:38:44] local.INFO: Acknowledgment sent {"connection_id":232521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:39:06] local.INFO: TCP Data received {"connection_id":228866,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:39:06] local.INFO: Processing buffer {"connection_id":228866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:39:06] local.INFO: IMEI packet received {"connection_id":228866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":228866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:39:12] local.INFO: TCP Data received {"connection_id":228866,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:39:12] local.INFO: Processing buffer {"connection_id":228866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:39:12] local.INFO: IMEI packet received {"connection_id":228866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":228866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:39:13] local.INFO: TCP Data received {"connection_id":228866,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:39:13] local.INFO: Processing buffer {"connection_id":228866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:39:13] local.INFO: Packet analysis {"connection_id":228866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:39:13] local.INFO: Extracted packet for processing {"connection_id":228866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:39: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-11-04 11: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-11-04 11:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":228866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:39:13] local.INFO: GPS data processed {"connection_id":228866,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:39:13] local.INFO: Acknowledgment sent {"connection_id":228866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:39:14] local.INFO: TCP Data received {"connection_id":228867,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:39:14] local.INFO: Processing buffer {"connection_id":228867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:39:14] local.INFO: IMEI packet received {"connection_id":228867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":228867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:39:15] local.INFO: TCP Data received {"connection_id":228867,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a529ee18012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a529ee18012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:39:15] local.INFO: Processing buffer {"connection_id":228867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a529ee18012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:39:15] local.INFO: Packet analysis {"connection_id":228867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a529"} 
[2026-11-04 11:39:15] local.INFO: Extracted packet for processing {"connection_id":228867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a529"} 
[2026-11-04 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738376,"longitude_deg":75.361728,"latitude_deg":11.8738376,"altitude":11,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2ceb4980","hex_latitude":"0713cdc8","is_valid_coordinates":true} 
[2026-11-04 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205716480001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:15] 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-11-04 11:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772351000,"timestamp_ms":1793772351000,"timestamp_seconds":1793772351,"priority":1,"record_length":96,"hex_timestamp":"000001a1a529ee18"} 
[2026-11-04 11:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 11:39: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-11-04 11:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205716480001,"66":28278,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205716480001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:39:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205716480001,"power":28278,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":228867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:39:15] local.INFO: GPS data processed {"connection_id":228867,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:39:15] local.INFO: Acknowledgment sent {"connection_id":228867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:39:44] local.INFO: TCP Data received {"connection_id":228866,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:39:44] local.INFO: Processing buffer {"connection_id":228866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:39:44] local.INFO: Packet analysis {"connection_id":228866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:39:44] local.INFO: Extracted packet for processing {"connection_id":228866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:39: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-11-04 11: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-11-04 11:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":228866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:39:44] local.INFO: GPS data processed {"connection_id":228866,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:39:44] local.INFO: Acknowledgment sent {"connection_id":228866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:39:47] local.INFO: TCP Data received {"connection_id":228867,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52a4020012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52a4020012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:39:47] local.INFO: Processing buffer {"connection_id":228867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52a4020012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:39:47] local.INFO: Packet analysis {"connection_id":228867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52a"} 
[2026-11-04 11:39:47] local.INFO: Extracted packet for processing {"connection_id":228867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52a"} 
[2026-11-04 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738376,"longitude_deg":75.361728,"latitude_deg":11.8738376,"altitude":11,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2ceb4980","hex_latitude":"0713cdc8","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205721856001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:39:47] 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-11-04 11:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793772372000,"timestamp_ms":1793772372000,"timestamp_seconds":1793772372,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52a4020"} 
[2026-11-04 11:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 11:39:47] 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-11-04 11: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-11-04 11:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205721856001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205721856001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:39:47] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:39:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205721856001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":228867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:39:48] local.INFO: GPS data processed {"connection_id":228867,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:39:48] local.INFO: Acknowledgment sent {"connection_id":228867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:40:09] local.INFO: TCP Data received {"connection_id":230673,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:40:09] local.INFO: Processing buffer {"connection_id":230673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:40:09] local.INFO: IMEI packet received {"connection_id":230673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":230673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:40:12] local.INFO: TCP Data received {"connection_id":228868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:40:12] local.INFO: Processing buffer {"connection_id":228868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:40:12] local.INFO: IMEI packet received {"connection_id":228868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":228868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:40:14] local.INFO: TCP Data received {"connection_id":230673,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:40:14] local.INFO: Processing buffer {"connection_id":230673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:40:14] local.INFO: IMEI packet received {"connection_id":230673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":230673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:40:17] local.INFO: TCP Data received {"connection_id":228868,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:40:17] local.INFO: Processing buffer {"connection_id":228868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:40:17] local.INFO: IMEI packet received {"connection_id":228868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":228868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:40:17] local.INFO: TCP Data received {"connection_id":230673,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52a9228012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52a9228012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:40:17] local.INFO: Processing buffer {"connection_id":230673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52a9228012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:40:17] local.INFO: Packet analysis {"connection_id":230673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52a"} 
[2026-11-04 11:40:17] local.INFO: Extracted packet for processing {"connection_id":230673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52a"} 
[2026-11-04 11:40:17] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738376,"longitude_deg":75.361728,"latitude_deg":11.8738376,"altitude":11,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2ceb4980","hex_latitude":"0713cdc8","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205727232001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:17] 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-11-04 11:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793772393000,"timestamp_ms":1793772393000,"timestamp_seconds":1793772393,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52a9228"} 
[2026-11-04 11:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:40: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-11-04 11: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-11-04 11:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205727232001,"66":28452,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205727232001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:40:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:40:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205727232001,"power":28452,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":230673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:40:17] local.INFO: GPS data processed {"connection_id":230673,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:40:17] local.INFO: Acknowledgment sent {"connection_id":230673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:40:19] local.INFO: TCP Data received {"connection_id":228868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:40:19] local.INFO: Processing buffer {"connection_id":228868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:40:19] local.INFO: Packet analysis {"connection_id":228868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:40:19] local.INFO: Extracted packet for processing {"connection_id":228868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":228868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":228868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":228868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":228868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:40:19] local.INFO: GPS data processed {"connection_id":228868,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:40:19] local.INFO: Acknowledgment sent {"connection_id":228868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:40:24] local.INFO: TCP Data received {"connection_id":228868,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:40:24] local.INFO: Processing buffer {"connection_id":228868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:40:24] local.INFO: Packet analysis {"connection_id":228868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:40:24] local.INFO: Extracted packet for processing {"connection_id":228868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:40:24] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11: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-11-04 11:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":228868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":228868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":228868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:40:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":228868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:40:24] local.INFO: GPS data processed {"connection_id":228868,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:40:24] local.INFO: Acknowledgment sent {"connection_id":228868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:40:50] local.INFO: TCP Data received {"connection_id":230673,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52ae430012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52ae430012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:40:50] local.INFO: Processing buffer {"connection_id":230673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52ae430012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:40:50] local.INFO: Packet analysis {"connection_id":230673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52a"} 
[2026-11-04 11:40:50] local.INFO: Extracted packet for processing {"connection_id":230673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52a"} 
[2026-11-04 11:40:50] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738376,"longitude_deg":75.361728,"latitude_deg":11.8738376,"altitude":11,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2ceb4980","hex_latitude":"0713cdc8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205732608001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:40:50] 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-11-04 11:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793772414000,"timestamp_ms":1793772414000,"timestamp_seconds":1793772414,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52ae430"} 
[2026-11-04 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-11-04 11:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:40: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-11-04 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-11-04 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-11-04 11:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205732608001,"66":28452,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205732608001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:40:50] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205732608001,"power":28452,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":230673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:40:50] local.INFO: GPS data processed {"connection_id":230673,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:40:50] local.INFO: Acknowledgment sent {"connection_id":230673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:41:07] local.INFO: TCP Data received {"connection_id":228869,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:41:07] local.INFO: Processing buffer {"connection_id":228869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:41:07] local.INFO: IMEI packet received {"connection_id":228869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":228869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:41:12] local.INFO: TCP Data received {"connection_id":228869,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:41:12] local.INFO: Processing buffer {"connection_id":228869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:41:12] local.INFO: IMEI packet received {"connection_id":228869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":228869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:41:13] local.INFO: TCP Data received {"connection_id":228869,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:41:13] local.INFO: Processing buffer {"connection_id":228869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:41:13] local.INFO: Packet analysis {"connection_id":228869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:41:13] local.INFO: Extracted packet for processing {"connection_id":228869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 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-11-04 11:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:41: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-11-04 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-11-04 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-11-04 11:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":228869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:41:13] local.INFO: GPS data processed {"connection_id":228869,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:41:13] local.INFO: Acknowledgment sent {"connection_id":228869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:41:13] local.INFO: TCP Data received {"connection_id":229379,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:41:13] local.INFO: Processing buffer {"connection_id":229379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:41:13] local.INFO: IMEI packet received {"connection_id":229379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":229379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:41:20] local.INFO: TCP Data received {"connection_id":229379,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:41:20] local.INFO: Processing buffer {"connection_id":229379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:41:20] local.INFO: IMEI packet received {"connection_id":229379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":229379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:41:23] local.INFO: TCP Data received {"connection_id":229379,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52b3638012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52b3638012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:41:23] local.INFO: Processing buffer {"connection_id":229379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52b3638012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:41:23] local.INFO: Packet analysis {"connection_id":229379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52b"} 
[2026-11-04 11:41:23] local.INFO: Extracted packet for processing {"connection_id":229379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52b"} 
[2026-11-04 11:41:23] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738376,"longitude_deg":75.361728,"latitude_deg":11.8738376,"altitude":11,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2ceb4980","hex_latitude":"0713cdc8","is_valid_coordinates":true} 
[2026-11-04 11:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205737984001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:23] 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-11-04 11:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793772435000,"timestamp_ms":1793772435000,"timestamp_seconds":1793772435,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52b3638"} 
[2026-11-04 11:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:41:23] 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-11-04 11:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205737984001,"66":28430,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205737984001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:41:23] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:41:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205737984001,"power":28430,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":229379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:41:23] local.INFO: GPS data processed {"connection_id":229379,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:41:23] local.INFO: Acknowledgment sent {"connection_id":229379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:41:25] local.INFO: TCP Data received {"connection_id":229379,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52b8840012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52b8840012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:41:25] local.INFO: Processing buffer {"connection_id":229379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52b8840012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:41:25] local.INFO: Packet analysis {"connection_id":229379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52b"} 
[2026-11-04 11:41:25] local.INFO: Extracted packet for processing {"connection_id":229379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52b"} 
[2026-11-04 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738376,"longitude_deg":75.361728,"latitude_deg":11.8738376,"altitude":11,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2ceb4980","hex_latitude":"0713cdc8","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205743360001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:25] 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-11-04 11:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793772456000,"timestamp_ms":1793772456000,"timestamp_seconds":1793772456,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52b8840"} 
[2026-11-04 11:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 11:41:25] 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-11-04 11: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-11-04 11:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229379,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205743360001,"66":28430,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205743360001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:41:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205743360001,"power":28430,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":229379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:41:25] local.INFO: GPS data processed {"connection_id":229379,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:41:25] local.INFO: Acknowledgment sent {"connection_id":229379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:41:44] local.INFO: TCP Data received {"connection_id":228869,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:41:44] local.INFO: Processing buffer {"connection_id":228869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:41:44] local.INFO: Packet analysis {"connection_id":228869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:41:44] local.INFO: Extracted packet for processing {"connection_id":228869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:41: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-11-04 11: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-11-04 11:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":228869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:41:44] local.INFO: GPS data processed {"connection_id":228869,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:41:44] local.INFO: Acknowledgment sent {"connection_id":228869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:42:07] local.INFO: TCP Data received {"connection_id":230674,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:42:07] local.INFO: Processing buffer {"connection_id":230674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:42:07] local.INFO: IMEI packet received {"connection_id":230674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":230674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:42:08] local.INFO: TCP Data received {"connection_id":232523,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:42:08] local.INFO: Processing buffer {"connection_id":232523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:42:08] local.INFO: IMEI packet received {"connection_id":232523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":232523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:42:12] local.INFO: TCP Data received {"connection_id":230674,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:42:12] local.INFO: Processing buffer {"connection_id":230674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:42:12] local.INFO: IMEI packet received {"connection_id":230674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":230674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:42:13] local.INFO: TCP Data received {"connection_id":232523,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:42:13] local.INFO: Processing buffer {"connection_id":232523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:42:13] local.INFO: IMEI packet received {"connection_id":232523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":232523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:42:15] local.INFO: TCP Data received {"connection_id":232523,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52ba398012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52ba398012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:42:15] local.INFO: Processing buffer {"connection_id":232523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52ba398012ceb49800713cdc8000b007625..."} 
[2026-11-04 11:42:15] local.INFO: Packet analysis {"connection_id":232523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52b"} 
[2026-11-04 11:42:15] local.INFO: Extracted packet for processing {"connection_id":232523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52b"} 
[2026-11-04 11:42:15] local.INFO: GPS Element Parsed {"raw_longitude":753617280,"raw_latitude":118738376,"longitude_deg":75.361728,"latitude_deg":11.8738376,"altitude":11,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2ceb4980","hex_latitude":"0713cdc8","is_valid_coordinates":true} 
[2026-11-04 11:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205748736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:15] 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-11-04 11:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772463000,"timestamp_ms":1793772463000,"timestamp_seconds":1793772463,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52ba398"} 
[2026-11-04 11:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 11:42:15] 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-11-04 11:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205748736001,"66":28452,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205748736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:42:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205748736001,"power":28452,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":232523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:42:15] local.INFO: GPS data processed {"connection_id":232523,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:42:15] local.INFO: Acknowledgment sent {"connection_id":232523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:42:19] local.INFO: TCP Data received {"connection_id":230674,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:42:19] local.INFO: Processing buffer {"connection_id":230674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:42:19] local.INFO: Packet analysis {"connection_id":230674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:42:19] local.INFO: Extracted packet for processing {"connection_id":230674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:42:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:42:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:42:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:42:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":230674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:42:19] local.INFO: GPS data processed {"connection_id":230674,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:42:19] local.INFO: Acknowledgment sent {"connection_id":230674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:42:48] local.INFO: TCP Data received {"connection_id":232523,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52cb8f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52cb8f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:42:48] local.INFO: Processing buffer {"connection_id":232523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52cb8f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:42:48] local.INFO: Packet analysis {"connection_id":232523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:42:48] local.INFO: Extracted packet for processing {"connection_id":232523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:42:48] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205750528001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1492521033611229184,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:48] 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-11-04 11:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793772534000,"timestamp_ms":1793772534000,"timestamp_seconds":1793772534,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52cb8f0"} 
[2026-11-04 11:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 11:42:48] 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-11-04 11:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205750528001,"66":26908,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1492521033611229184},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205750528001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:42:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1492521033611229184,"description":"Unknown IO ID 44"} 
[2026-11-04 11:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205750528001,"power":26908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1492521033611229184}} 
[2026-11-04 11:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":232523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:42:48] local.INFO: GPS data processed {"connection_id":232523,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:42:48] local.INFO: Acknowledgment sent {"connection_id":232523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:42:51] local.INFO: TCP Data received {"connection_id":230674,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:42:51] local.INFO: Processing buffer {"connection_id":230674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:42:51] local.INFO: Packet analysis {"connection_id":230674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:42:51] local.INFO: Extracted packet for processing {"connection_id":230674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:42:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":230674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:42:51] local.INFO: GPS data processed {"connection_id":230674,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:42:51] local.INFO: Acknowledgment sent {"connection_id":230674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:43:07] local.INFO: TCP Data received {"connection_id":232524,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:43:07] local.INFO: Processing buffer {"connection_id":232524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:43:07] local.INFO: IMEI packet received {"connection_id":232524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":232524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:43:08] local.INFO: TCP Data received {"connection_id":232525,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:08] local.INFO: Processing buffer {"connection_id":232525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:08] local.INFO: IMEI packet received {"connection_id":232525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":232525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:43:09] local.INFO: TCP Data received {"connection_id":232525,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:09] local.INFO: Processing buffer {"connection_id":232525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:09] local.INFO: IMEI packet received {"connection_id":232525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":232525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:43:12] local.INFO: TCP Data received {"connection_id":232524,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:43:12] local.INFO: Processing buffer {"connection_id":232524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:43:12] local.INFO: IMEI packet received {"connection_id":232524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":232524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:43:13] local.INFO: TCP Data received {"connection_id":232524,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:43:13] local.INFO: Processing buffer {"connection_id":232524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:43:13] local.INFO: Packet analysis {"connection_id":232524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:43:13] local.INFO: Extracted packet for processing {"connection_id":232524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:43: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-11-04 11: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-11-04 11:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":232524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:43:13] local.INFO: GPS data processed {"connection_id":232524,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:43:13] local.INFO: Acknowledgment sent {"connection_id":232524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:43:13] local.INFO: TCP Data received {"connection_id":232525,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:13] local.INFO: Processing buffer {"connection_id":232525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:43:13] local.INFO: IMEI packet received {"connection_id":232525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":232525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:43:15] local.INFO: TCP Data received {"connection_id":232525,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52d1e80012ceb65000713bcc8001d006728..."} 
[2026-11-04 11:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52d1e80012ceb65000713bcc8001d006728..."} 
[2026-11-04 11:43:15] local.INFO: Processing buffer {"connection_id":232525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52d1e80012ceb65000713bcc8001d006728..."} 
[2026-11-04 11:43:15] local.INFO: Packet analysis {"connection_id":232525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52d"} 
[2026-11-04 11:43:15] local.INFO: Extracted packet for processing {"connection_id":232525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52d"} 
[2026-11-04 11:43:15] local.INFO: GPS Element Parsed {"raw_longitude":753624320,"raw_latitude":118734024,"longitude_deg":75.362432,"latitude_deg":11.8734024,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6500","hex_latitude":"0713bcc8","is_valid_coordinates":true} 
[2026-11-04 11:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:15] 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-11-04 11:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772560000,"timestamp_ms":1793772560000,"timestamp_seconds":1793772560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52d1e80"} 
[2026-11-04 11:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 11:43:15] 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-11-04 11: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-11-04 11:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205768704001,"66":26984,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:43:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205768704001,"power":26984,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":232525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:43:15] local.INFO: GPS data processed {"connection_id":232525,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:43:15] local.INFO: Acknowledgment sent {"connection_id":232525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:43:45] local.INFO: TCP Data received {"connection_id":232524,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:43:45] local.INFO: Processing buffer {"connection_id":232524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52c4f78012d34c30006aa43d0000b009029..."} 
[2026-11-04 11:43:45] local.INFO: Packet analysis {"connection_id":232524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:43:45] local.INFO: Extracted packet for processing {"connection_id":232524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52c"} 
[2026-11-04 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":41,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205684736001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793772507000,"timestamp_ms":1793772507000,"timestamp_seconds":1793772507,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52c4f78"} 
[2026-11-04 11:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:43: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-11-04 11: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-11-04 11:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205684736001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205684736001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205684736001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":232524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:43:45] local.INFO: GPS data processed {"connection_id":232524,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:43:45] local.INFO: Acknowledgment sent {"connection_id":232524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:43:47] local.INFO: TCP Data received {"connection_id":232525,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52d7470012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52d7470012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:43:47] local.INFO: Processing buffer {"connection_id":232525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52d7470012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:43:47] local.INFO: Packet analysis {"connection_id":232525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52d"} 
[2026-11-04 11:43:47] local.INFO: Extracted packet for processing {"connection_id":232525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52d"} 
[2026-11-04 11:43:47] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205775360001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484780471752800256,"note":"Value kept but may cause issues"} 
[2026-11-04 11:43:47] 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-11-04 11:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793772582000,"timestamp_ms":1793772582000,"timestamp_seconds":1793772582,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52d7470"} 
[2026-11-04 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-11-04 11:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 11:43:47] 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-11-04 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-11-04 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-11-04 11:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205775360001,"66":26517,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484780471752800256},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205775360001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:43:47] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:43:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484780471752800256,"description":"Unknown IO ID 44"} 
[2026-11-04 11:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205775360001,"power":26517,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484780471752800256}} 
[2026-11-04 11:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":232525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:43:47] local.INFO: GPS data processed {"connection_id":232525,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:43:47] local.INFO: Acknowledgment sent {"connection_id":232525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:44:05] local.INFO: TCP Data received {"connection_id":230675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:05] local.INFO: Processing buffer {"connection_id":230675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:05] local.INFO: IMEI packet received {"connection_id":230675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":230675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:44:06] local.INFO: TCP Data received {"connection_id":230675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:06] local.INFO: Processing buffer {"connection_id":230675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:06] local.INFO: IMEI packet received {"connection_id":230675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":230675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:44:09] local.INFO: TCP Data received {"connection_id":228870,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:09] local.INFO: Processing buffer {"connection_id":228870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:09] local.INFO: IMEI packet received {"connection_id":228870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":228870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:44:11] local.INFO: TCP Data received {"connection_id":228870,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:11] local.INFO: Processing buffer {"connection_id":228870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:11] local.INFO: IMEI packet received {"connection_id":228870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":228870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:44:12] local.INFO: TCP Data received {"connection_id":230675,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:12] local.INFO: Processing buffer {"connection_id":230675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:44:12] local.INFO: IMEI packet received {"connection_id":230675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":230675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:44:13] local.INFO: TCP Data received {"connection_id":230675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:44:13] local.INFO: Processing buffer {"connection_id":230675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:44:13] local.INFO: Packet analysis {"connection_id":230675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:44:13] local.INFO: Extracted packet for processing {"connection_id":230675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:44: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-11-04 11: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-11-04 11:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":230675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:44:13] local.INFO: GPS data processed {"connection_id":230675,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:44:13] local.INFO: Acknowledgment sent {"connection_id":230675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:44:14] local.INFO: TCP Data received {"connection_id":228870,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:14] local.INFO: Processing buffer {"connection_id":228870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:44:14] local.INFO: IMEI packet received {"connection_id":228870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":228870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:44:15] local.INFO: TCP Data received {"connection_id":228870,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52dc678012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52dc678012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:44:15] local.INFO: Processing buffer {"connection_id":228870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52dc678012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:44:15] local.INFO: Packet analysis {"connection_id":228870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52d"} 
[2026-11-04 11:44:15] local.INFO: Extracted packet for processing {"connection_id":228870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52d"} 
[2026-11-04 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205780992001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:15] 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-11-04 11:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772603000,"timestamp_ms":1793772603000,"timestamp_seconds":1793772603,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52dc678"} 
[2026-11-04 11:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-11-04 11:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205780992001,"66":26658,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205780992001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:44:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:44:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205780992001,"power":26658,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":228870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:44:15] local.INFO: GPS data processed {"connection_id":228870,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:44:15] local.INFO: Acknowledgment sent {"connection_id":228870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:44:46] local.INFO: TCP Data received {"connection_id":230675,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:44:46] local.INFO: Processing buffer {"connection_id":230675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:44:46] local.INFO: Packet analysis {"connection_id":230675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:44:46] local.INFO: Extracted packet for processing {"connection_id":230675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11: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-11-04 11:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:44:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":230675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:44:46] local.INFO: GPS data processed {"connection_id":230675,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:44:46] local.INFO: Acknowledgment sent {"connection_id":230675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:44:48] local.INFO: TCP Data received {"connection_id":228870,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52e1880012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52e1880012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:44:48] local.INFO: Processing buffer {"connection_id":228870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52e1880012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:44:48] local.INFO: Packet analysis {"connection_id":228870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52e"} 
[2026-11-04 11:44:48] local.INFO: Extracted packet for processing {"connection_id":228870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52e"} 
[2026-11-04 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205786368001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:44:48] 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-11-04 11:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793772624000,"timestamp_ms":1793772624000,"timestamp_seconds":1793772624,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52e1880"} 
[2026-11-04 11:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-11-04 11:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1024,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205786368001,"66":26528,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205786368001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:44:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:44:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205786368001,"power":26528,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":228870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:44:48] local.INFO: GPS data processed {"connection_id":228870,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:44:48] local.INFO: Acknowledgment sent {"connection_id":228870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:45:09] local.INFO: TCP Data received {"connection_id":232527,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:45:09] local.INFO: Processing buffer {"connection_id":232527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:45:09] local.INFO: IMEI packet received {"connection_id":232527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":232527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:45:12] local.INFO: TCP Data received {"connection_id":232526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:45:12] local.INFO: Processing buffer {"connection_id":232526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:45:12] local.INFO: IMEI packet received {"connection_id":232526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":232526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:45:14] local.INFO: TCP Data received {"connection_id":232527,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:45:14] local.INFO: Processing buffer {"connection_id":232527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:45:14] local.INFO: IMEI packet received {"connection_id":232527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":232527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:45:15] local.INFO: TCP Data received {"connection_id":232527,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52e6a88012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52e6a88012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:45:15] local.INFO: Processing buffer {"connection_id":232527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52e6a88012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:45:15] local.INFO: Packet analysis {"connection_id":232527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52e"} 
[2026-11-04 11:45:15] local.INFO: Extracted packet for processing {"connection_id":232527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52e"} 
[2026-11-04 11:45:15] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205791744001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:15] 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-11-04 11:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772645000,"timestamp_ms":1793772645000,"timestamp_seconds":1793772645,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52e6a88"} 
[2026-11-04 11:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 11:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205791744001,"66":26560,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205791744001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:45:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205791744001,"power":26560,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":232527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:45:15] local.INFO: GPS data processed {"connection_id":232527,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:45:15] local.INFO: Acknowledgment sent {"connection_id":232527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:45:17] local.INFO: TCP Data received {"connection_id":232526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:45:17] local.INFO: Processing buffer {"connection_id":232526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:45:17] local.INFO: IMEI packet received {"connection_id":232526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":232526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:45:18] local.INFO: TCP Data received {"connection_id":232526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:45:18] local.INFO: Processing buffer {"connection_id":232526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:45:18] local.INFO: Packet analysis {"connection_id":232526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:45:18] local.INFO: Extracted packet for processing {"connection_id":232526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:45: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-11-04 11:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":232526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:45:18] local.INFO: GPS data processed {"connection_id":232526,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:45:18] local.INFO: Acknowledgment sent {"connection_id":232526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:45:22] local.INFO: TCP Data received {"connection_id":232526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:45:22] local.INFO: Processing buffer {"connection_id":232526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:45:22] local.INFO: Packet analysis {"connection_id":232526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:45:22] local.INFO: Extracted packet for processing {"connection_id":232526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:45:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:45: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-11-04 11:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:45:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":232526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:45:22] local.INFO: GPS data processed {"connection_id":232526,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:45:22] local.INFO: Acknowledgment sent {"connection_id":232526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:45:48] local.INFO: TCP Data received {"connection_id":232527,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a52ebc90012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a52ebc90012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:45:48] local.INFO: Processing buffer {"connection_id":232527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a52ebc90012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:45:48] local.INFO: Packet analysis {"connection_id":232527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a52e"} 
[2026-11-04 11:45:48] local.INFO: Extracted packet for processing {"connection_id":232527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a52e"} 
[2026-11-04 11:45:48] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205797120001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:45:48] 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-11-04 11:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793772666000,"timestamp_ms":1793772666000,"timestamp_seconds":1793772666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a52ebc90"} 
[2026-11-04 11:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-11-04 11:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11: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-11-04 11:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205797120001,"66":26452,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205797120001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:45:48] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:45:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205797120001,"power":26452,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":232527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:45:48] local.INFO: GPS data processed {"connection_id":232527,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:45:48] local.INFO: Acknowledgment sent {"connection_id":232527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:46:07] local.INFO: TCP Data received {"connection_id":230676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:46:07] local.INFO: Processing buffer {"connection_id":230676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:46:07] local.INFO: IMEI packet received {"connection_id":230676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":230676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:46:12] local.INFO: TCP Data received {"connection_id":230676,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:46:12] local.INFO: Processing buffer {"connection_id":230676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:46:12] local.INFO: IMEI packet received {"connection_id":230676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":230676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:46:14] local.INFO: TCP Data received {"connection_id":229380,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:46:14] local.INFO: Processing buffer {"connection_id":229380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:46:14] local.INFO: IMEI packet received {"connection_id":229380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":229380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:46:15] local.INFO: TCP Data received {"connection_id":230676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:46:15] local.INFO: Processing buffer {"connection_id":230676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:46:15] local.INFO: Packet analysis {"connection_id":230676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:46:15] local.INFO: Extracted packet for processing {"connection_id":230676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:46:15] 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-11-04 11:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":230676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:46:15] local.INFO: GPS data processed {"connection_id":230676,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:46:15] local.INFO: Acknowledgment sent {"connection_id":230676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:46:17] local.INFO: TCP Data received {"connection_id":229380,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:46:17] local.INFO: Processing buffer {"connection_id":229380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:46:17] local.INFO: IMEI packet received {"connection_id":229380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":229380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:46:18] local.INFO: TCP Data received {"connection_id":229380,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53242e8012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53242e8012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:18] local.INFO: Processing buffer {"connection_id":229380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53242e8012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:18] local.INFO: Packet analysis {"connection_id":229380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a532"} 
[2026-11-04 11:46:18] local.INFO: Extracted packet for processing {"connection_id":229380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a532"} 
[2026-11-04 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205856256001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:18] 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-11-04 11:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793772897000,"timestamp_ms":1793772897000,"timestamp_seconds":1793772897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53242e8"} 
[2026-11-04 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-11-04 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":107,"data_length":795,"current_offset":136} 
[2026-11-04 11:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 11:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205856256001,"66":28104,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205856256001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:46:18] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:46:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205856256001,"power":28104,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":229380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:46:18] local.INFO: GPS data processed {"connection_id":229380,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:46:18] local.INFO: Acknowledgment sent {"connection_id":229380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:46:19] local.INFO: TCP Data received {"connection_id":229380,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53294f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53294f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:19] local.INFO: Processing buffer {"connection_id":229380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53294f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:19] local.INFO: Packet analysis {"connection_id":229380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a532"} 
[2026-11-04 11:46:19] local.INFO: Extracted packet for processing {"connection_id":229380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a532"} 
[2026-11-04 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205861632001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:19] 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-11-04 11:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793772918000,"timestamp_ms":1793772918000,"timestamp_seconds":1793772918,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53294f0"} 
[2026-11-04 11:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 11:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205861632001,"66":28354,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205861632001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:46:19] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205861632001,"power":28354,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":229380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:46:20] local.INFO: GPS data processed {"connection_id":229380,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:46:20] local.INFO: Acknowledgment sent {"connection_id":229380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:46:49] local.INFO: TCP Data received {"connection_id":230676,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:46:49] local.INFO: Processing buffer {"connection_id":230676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:46:49] local.INFO: Packet analysis {"connection_id":230676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:46:49] local.INFO: Extracted packet for processing {"connection_id":230676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:46:49] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:46:49] 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-11-04 11:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:46:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":230676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:46:49] local.INFO: GPS data processed {"connection_id":230676,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:46:49] local.INFO: Acknowledgment sent {"connection_id":230676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:46:52] local.INFO: TCP Data received {"connection_id":229380,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a532e6f8012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a532e6f8012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:52] local.INFO: Processing buffer {"connection_id":229380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a532e6f8012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:46:52] local.INFO: Packet analysis {"connection_id":229380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a532"} 
[2026-11-04 11:46:52] local.INFO: Extracted packet for processing {"connection_id":229380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a532"} 
[2026-11-04 11:46:52] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205867008001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:46:52] 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-11-04 11:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793772939000,"timestamp_ms":1793772939000,"timestamp_seconds":1793772939,"priority":1,"record_length":96,"hex_timestamp":"000001a1a532e6f8"} 
[2026-11-04 11:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 11:46: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-11-04 11:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205867008001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205867008001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:46:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205867008001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":229380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:46:52] local.INFO: GPS data processed {"connection_id":229380,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:46:52] local.INFO: Acknowledgment sent {"connection_id":229380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:47:06] local.INFO: TCP Data received {"connection_id":230678,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:47:06] local.INFO: Processing buffer {"connection_id":230678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:47:06] local.INFO: IMEI packet received {"connection_id":230678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":230678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:47:09] local.INFO: TCP Data received {"connection_id":230677,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:47:09] local.INFO: Processing buffer {"connection_id":230677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:47:09] local.INFO: IMEI packet received {"connection_id":230677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":230677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:47:12] local.INFO: TCP Data received {"connection_id":230678,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:47:12] local.INFO: Processing buffer {"connection_id":230678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:47:12] local.INFO: IMEI packet received {"connection_id":230678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":230678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:47:13] local.INFO: TCP Data received {"connection_id":230678,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:47:13] local.INFO: Processing buffer {"connection_id":230678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:47:13] local.INFO: Packet analysis {"connection_id":230678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:47:13] local.INFO: Extracted packet for processing {"connection_id":230678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11: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-11-04 11: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-11-04 11:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":230678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:47:13] local.INFO: GPS data processed {"connection_id":230678,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:47:13] local.INFO: Acknowledgment sent {"connection_id":230678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:47:13] local.INFO: TCP Data received {"connection_id":230677,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:47:13] local.INFO: Processing buffer {"connection_id":230677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:47:13] local.INFO: IMEI packet received {"connection_id":230677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":230677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:47:15] local.INFO: TCP Data received {"connection_id":230677,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:15] local.INFO: Processing buffer {"connection_id":230677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:15] local.INFO: Packet analysis {"connection_id":230677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:47:15] local.INFO: Extracted packet for processing {"connection_id":230677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:47:15] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:15] 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-11-04 11:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:47:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:47: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-11-04 11:47:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:47:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:47:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":230677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59045,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:47:15] local.INFO: GPS data processed {"connection_id":230677,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:47:15] local.INFO: Acknowledgment sent {"connection_id":230677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:47:20] local.INFO: TCP Data received {"connection_id":230677,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:20] local.INFO: Processing buffer {"connection_id":230677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:20] local.INFO: Packet analysis {"connection_id":230677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:47:20] local.INFO: Extracted packet for processing {"connection_id":230677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:47: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-11-04 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:20] 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-11-04 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:47:20] 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-11-04 11: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-11-04 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:47:20] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":230677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:47:20] local.INFO: GPS data processed {"connection_id":230677,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:47:20] local.INFO: Acknowledgment sent {"connection_id":230677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:47:45] local.INFO: TCP Data received {"connection_id":230678,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:47:45] local.INFO: Processing buffer {"connection_id":230678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:47:45] local.INFO: Packet analysis {"connection_id":230678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:47:45] local.INFO: Extracted packet for processing {"connection_id":230678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11: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-11-04 11: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-11-04 11:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":230678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:47:45] local.INFO: GPS data processed {"connection_id":230678,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:47:45] local.INFO: Acknowledgment sent {"connection_id":230678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:47:52] local.INFO: TCP Data received {"connection_id":230677,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:52] local.INFO: Processing buffer {"connection_id":230677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:47:52] local.INFO: Packet analysis {"connection_id":230677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:47:52] local.INFO: Extracted packet for processing {"connection_id":230677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:47:52] 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-11-04 11:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:47: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-11-04 11:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:47:52] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":230677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:47:52] local.INFO: GPS data processed {"connection_id":230677,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:47:52] local.INFO: Acknowledgment sent {"connection_id":230677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:48:06] local.INFO: TCP Data received {"connection_id":230679,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:48:06] local.INFO: Processing buffer {"connection_id":230679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:48:06] local.INFO: IMEI packet received {"connection_id":230679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":230679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:48:08] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:48:08] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:48:08] local.INFO: IMEI packet received {"connection_id":229381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":229381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:48:12] local.INFO: TCP Data received {"connection_id":230679,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:48:12] local.INFO: Processing buffer {"connection_id":230679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:48:12] local.INFO: IMEI packet received {"connection_id":230679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":230679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:48:13] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:48:13] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:48:13] local.INFO: IMEI packet received {"connection_id":229381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":229381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:48:14] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:48:14] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:48:14] local.INFO: Packet analysis {"connection_id":229381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:48:14] local.INFO: Extracted packet for processing {"connection_id":229381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:48:14] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:14] 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-11-04 11:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:48:14] 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-11-04 11: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-11-04 11:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:48:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:48:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":229381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:48:14] local.INFO: GPS data processed {"connection_id":229381,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:48:14] local.INFO: Acknowledgment sent {"connection_id":229381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:48:16] local.INFO: TCP Data received {"connection_id":230679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:48:16] local.INFO: Processing buffer {"connection_id":230679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:48:16] local.INFO: Packet analysis {"connection_id":230679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:48:16] local.INFO: Extracted packet for processing {"connection_id":230679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:48:16] 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-11-04 11: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-11-04 11:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":230679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:48:16] local.INFO: GPS data processed {"connection_id":230679,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:48:16] local.INFO: Acknowledgment sent {"connection_id":230679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:48:46] local.INFO: TCP Data received {"connection_id":229381,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:48:46] local.INFO: Processing buffer {"connection_id":229381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:48:46] local.INFO: Packet analysis {"connection_id":229381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:48:46] local.INFO: Extracted packet for processing {"connection_id":229381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:46] 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-11-04 11:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:48:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:48:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":229381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:48:46] local.INFO: GPS data processed {"connection_id":229381,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:48:46] local.INFO: Acknowledgment sent {"connection_id":229381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:48:48] local.INFO: TCP Data received {"connection_id":230679,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:48:48] local.INFO: Processing buffer {"connection_id":230679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a530e740012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:48:48] local.INFO: Packet analysis {"connection_id":230679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:48:48] local.INFO: Extracted packet for processing {"connection_id":230679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a530"} 
[2026-11-04 11:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205761792001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793772808000,"timestamp_ms":1793772808000,"timestamp_seconds":1793772808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a530e740"} 
[2026-11-04 11:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:48:48] 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-11-04 11:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205761792001,"66":25647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205761792001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:48:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205761792001,"power":25647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":230679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:48:48] local.INFO: GPS data processed {"connection_id":230679,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:48:48] local.INFO: Acknowledgment sent {"connection_id":230679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:49:06] local.INFO: TCP Data received {"connection_id":232528,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:06] local.INFO: Processing buffer {"connection_id":232528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:06] local.INFO: IMEI packet received {"connection_id":232528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":232528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:49:07] local.INFO: TCP Data received {"connection_id":232528,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:07] local.INFO: Processing buffer {"connection_id":232528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:07] local.INFO: IMEI packet received {"connection_id":232528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":232528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:49:09] local.INFO: TCP Data received {"connection_id":232529,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:49:09] local.INFO: Processing buffer {"connection_id":232529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:49:09] local.INFO: IMEI packet received {"connection_id":232529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":232529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:49:12] local.INFO: TCP Data received {"connection_id":232528,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:12] local.INFO: Processing buffer {"connection_id":232528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:49:12] local.INFO: IMEI packet received {"connection_id":232528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":232528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:49:13] local.INFO: TCP Data received {"connection_id":232528,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:49:13] local.INFO: Processing buffer {"connection_id":232528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:49:13] local.INFO: Packet analysis {"connection_id":232528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:49:13] local.INFO: Extracted packet for processing {"connection_id":232528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 11:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 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-11-04 11:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:49: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-11-04 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-11-04 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-11-04 11:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":232528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:49:13] local.INFO: GPS data processed {"connection_id":232528,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:49:13] local.INFO: Acknowledgment sent {"connection_id":232528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:49:13] local.INFO: TCP Data received {"connection_id":232529,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:49:13] local.INFO: Processing buffer {"connection_id":232529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:49:13] local.INFO: IMEI packet received {"connection_id":232529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":232529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:49:15] local.INFO: TCP Data received {"connection_id":232529,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:49:15] local.INFO: Processing buffer {"connection_id":232529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:49:15] local.INFO: Packet analysis {"connection_id":232529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:49:15] local.INFO: Extracted packet for processing {"connection_id":232529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:49:15] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:15] 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-11-04 11:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:49: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-11-04 11:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:49:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:49:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":232529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:49:15] local.INFO: GPS data processed {"connection_id":232529,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:49:15] local.INFO: Acknowledgment sent {"connection_id":232529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:49:45] local.INFO: TCP Data received {"connection_id":232528,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:49:45] local.INFO: Processing buffer {"connection_id":232528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:49:45] local.INFO: Packet analysis {"connection_id":232528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:49:45] local.INFO: Extracted packet for processing {"connection_id":232528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:49:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:49: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-11-04 11: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-11-04 11:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:49:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":232528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:49:45] local.INFO: GPS data processed {"connection_id":232528,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:49:45] local.INFO: Acknowledgment sent {"connection_id":232528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:49:47] local.INFO: TCP Data received {"connection_id":232529,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:49:47] local.INFO: Processing buffer {"connection_id":232529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:49:47] local.INFO: Packet analysis {"connection_id":232529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:49:47] local.INFO: Extracted packet for processing {"connection_id":232529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:49:47] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:49:47] 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-11-04 11:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:49: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-11-04 11:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:49:47] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:49:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":232529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:49:47] local.INFO: GPS data processed {"connection_id":232529,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:49:47] local.INFO: Acknowledgment sent {"connection_id":232529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:50:07] local.INFO: TCP Data received {"connection_id":228871,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:50:07] local.INFO: Processing buffer {"connection_id":228871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:50:07] local.INFO: IMEI packet received {"connection_id":228871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":228871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:50:08] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:50:08] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:50:08] local.INFO: IMEI packet received {"connection_id":229382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":229382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:50:12] local.INFO: TCP Data received {"connection_id":228871,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:50:12] local.INFO: Processing buffer {"connection_id":228871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:50:12] local.INFO: IMEI packet received {"connection_id":228871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":228871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:50:13] local.INFO: TCP Data received {"connection_id":228871,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:50:13] local.INFO: Processing buffer {"connection_id":228871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:50:13] local.INFO: Packet analysis {"connection_id":228871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:50:13] local.INFO: Extracted packet for processing {"connection_id":228871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:50: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-11-04 11: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-11-04 11:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":228871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:50:13] local.INFO: GPS data processed {"connection_id":228871,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:50:13] local.INFO: Acknowledgment sent {"connection_id":228871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:50:14] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:50:14] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:50:14] local.INFO: IMEI packet received {"connection_id":229382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":229382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:50:15] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:50:15] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:50:15] local.INFO: Packet analysis {"connection_id":229382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:50:15] local.INFO: Extracted packet for processing {"connection_id":229382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:15] 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-11-04 11:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:50: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-11-04 11:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:50:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:50:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":229382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:50:15] local.INFO: GPS data processed {"connection_id":229382,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:50:15] local.INFO: Acknowledgment sent {"connection_id":229382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:50:45] local.INFO: TCP Data received {"connection_id":228871,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:50:45] local.INFO: Processing buffer {"connection_id":228871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:50:45] local.INFO: Packet analysis {"connection_id":228871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:50:45] local.INFO: Extracted packet for processing {"connection_id":228871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:50: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-11-04 11: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-11-04 11:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":228871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:50:45] local.INFO: GPS data processed {"connection_id":228871,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:50:45] local.INFO: Acknowledgment sent {"connection_id":228871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:50:47] local.INFO: TCP Data received {"connection_id":229382,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:50:47] local.INFO: Processing buffer {"connection_id":229382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:50:47] local.INFO: Packet analysis {"connection_id":229382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:50:47] local.INFO: Extracted packet for processing {"connection_id":229382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:50:47] 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-11-04 11:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:50: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-11-04 11:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229382,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:50:47] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:50:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":229382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:50:47] local.INFO: GPS data processed {"connection_id":229382,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:50:47] local.INFO: Acknowledgment sent {"connection_id":229382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:51:08] local.INFO: TCP Data received {"connection_id":228872,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:51:08] local.INFO: Processing buffer {"connection_id":228872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:51:08] local.INFO: IMEI packet received {"connection_id":228872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 11:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":228872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:51:12] local.INFO: TCP Data received {"connection_id":230680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:51:12] local.INFO: Processing buffer {"connection_id":230680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:51:12] local.INFO: IMEI packet received {"connection_id":230680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":230680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:51:14] local.INFO: TCP Data received {"connection_id":228872,"ip":"117.224.124.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:51:14] local.INFO: Processing buffer {"connection_id":228872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 11:51:14] local.INFO: IMEI packet received {"connection_id":228872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":228872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:51:15] local.INFO: TCP Data received {"connection_id":228872,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:51:15] local.INFO: Processing buffer {"connection_id":228872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53311f0012ceb66000713bcd0001d006728..."} 
[2026-11-04 11:51:15] local.INFO: Packet analysis {"connection_id":228872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:51:15] local.INFO: Extracted packet for processing {"connection_id":228872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a533"} 
[2026-11-04 11:51:15] local.INFO: GPS Element Parsed {"raw_longitude":753624576,"raw_latitude":118734032,"longitude_deg":75.3624576,"latitude_deg":11.8734032,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6600","hex_latitude":"0713bcd0","is_valid_coordinates":true} 
[2026-11-04 11:51:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205872384001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:15] 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-11-04 11:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793772950000,"timestamp_ms":1793772950000,"timestamp_seconds":1793772950,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53311f0"} 
[2026-11-04 11:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 11:51: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-11-04 11:51: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-11-04 11:51: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-11-04 11:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205872384001,"66":28398,"10":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 11:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205872384001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:51:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 11:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:51:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205872384001,"power":28398,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":228872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:51:15] local.INFO: GPS data processed {"connection_id":228872,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:51:15] local.INFO: Acknowledgment sent {"connection_id":228872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:51:17] local.INFO: TCP Data received {"connection_id":230680,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:51:17] local.INFO: Processing buffer {"connection_id":230680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:51:17] local.INFO: IMEI packet received {"connection_id":230680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":230680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:51:18] local.INFO: TCP Data received {"connection_id":230680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:51:18] local.INFO: Processing buffer {"connection_id":230680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:51:18] local.INFO: Packet analysis {"connection_id":230680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:51:18] local.INFO: Extracted packet for processing {"connection_id":230680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:51:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:51: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-11-04 11: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-11-04 11:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:51:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":230680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:51:18] local.INFO: GPS data processed {"connection_id":230680,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:51:18] local.INFO: Acknowledgment sent {"connection_id":230680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:51:47] local.INFO: TCP Data received {"connection_id":228872,"ip":"117.224.124.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a537ada0012ceb66800713bd10001d006728..."} 
[2026-11-04 11:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a537ada0012ceb66800713bd10001d006728..."} 
[2026-11-04 11:51:47] local.INFO: Processing buffer {"connection_id":228872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a537ada0012ceb66800713bd10001d006728..."} 
[2026-11-04 11:51:47] local.INFO: Packet analysis {"connection_id":228872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a537"} 
[2026-11-04 11:51:47] local.INFO: Extracted packet for processing {"connection_id":228872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a537"} 
[2026-11-04 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":753624704,"raw_latitude":118734096,"longitude_deg":75.3624704,"latitude_deg":11.8734096,"altitude":29,"angle":103,"satellites":40,"speed":0,"hex_longitude":"2ceb6680","hex_latitude":"0713bd10","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205875200001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484335417163776,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996776087552,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51: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-11-04 11:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793773252000,"timestamp_ms":1793773252000,"timestamp_seconds":1793773252,"priority":1,"record_length":96,"hex_timestamp":"000001a1a537ada0"} 
[2026-11-04 11:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 11:51: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-11-04 11: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-11-04 11:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 11:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.124.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 11:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 11:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205875200001,"66":26767,"12":206,"2":54272,"24":0,"16":20484335417163776,"44":-1484498996776087552},"client_ip":"117.224.124.11","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-11-04 11:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 11:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 11:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205875200001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:51:47] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 11:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484335417163776,"km_value":20484335417163.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:51:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996776087552,"description":"Unknown IO ID 44"} 
[2026-11-04 11:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205875200001,"power":26767,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1484498996776087552}} 
[2026-11-04 11:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":228872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:51:47] local.INFO: GPS data processed {"connection_id":228872,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:51:47] local.INFO: Acknowledgment sent {"connection_id":228872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:51:51] local.INFO: TCP Data received {"connection_id":230680,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:51:51] local.INFO: Processing buffer {"connection_id":230680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:51:51] local.INFO: Packet analysis {"connection_id":230680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:51:51] local.INFO: Extracted packet for processing {"connection_id":230680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:51:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":230680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:51:51] local.INFO: GPS data processed {"connection_id":230680,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:51:51] local.INFO: Acknowledgment sent {"connection_id":230680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:52:06] local.INFO: TCP Data received {"connection_id":228873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:52:06] local.INFO: Processing buffer {"connection_id":228873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:52:06] local.INFO: IMEI packet received {"connection_id":228873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":228873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:52:12] local.INFO: TCP Data received {"connection_id":228873,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:52:12] local.INFO: Processing buffer {"connection_id":228873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:52:12] local.INFO: IMEI packet received {"connection_id":228873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":228873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:52:13] local.INFO: TCP Data received {"connection_id":228873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:52:13] local.INFO: Processing buffer {"connection_id":228873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:52:13] local.INFO: Packet analysis {"connection_id":228873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:52:13] local.INFO: Extracted packet for processing {"connection_id":228873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:52:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:52:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:52: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-11-04 11: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-11-04 11:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:52:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":228873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:52:13] local.INFO: GPS data processed {"connection_id":228873,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:52:13] local.INFO: Acknowledgment sent {"connection_id":228873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:52:48] local.INFO: TCP Data received {"connection_id":228873,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:52:48] local.INFO: Processing buffer {"connection_id":228873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:52:48] local.INFO: Packet analysis {"connection_id":228873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:52:48] local.INFO: Extracted packet for processing {"connection_id":228873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:52:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:52:48] 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-11-04 11:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":228873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:52:48] local.INFO: GPS data processed {"connection_id":228873,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:52:48] local.INFO: Acknowledgment sent {"connection_id":228873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:53:06] local.INFO: TCP Data received {"connection_id":232530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:53:06] local.INFO: Processing buffer {"connection_id":232530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:53:06] local.INFO: IMEI packet received {"connection_id":232530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":232530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:53:12] local.INFO: TCP Data received {"connection_id":232530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:53:12] local.INFO: Processing buffer {"connection_id":232530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:53:12] local.INFO: IMEI packet received {"connection_id":232530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":232530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:53:13] local.INFO: TCP Data received {"connection_id":232530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:53:13] local.INFO: Processing buffer {"connection_id":232530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:53:13] local.INFO: Packet analysis {"connection_id":232530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:53:13] local.INFO: Extracted packet for processing {"connection_id":232530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:53:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:53: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-11-04 11: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-11-04 11:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":232530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:53:13] local.INFO: GPS data processed {"connection_id":232530,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:53:13] local.INFO: Acknowledgment sent {"connection_id":232530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:53:45] local.INFO: TCP Data received {"connection_id":232530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:53:45] local.INFO: Processing buffer {"connection_id":232530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5357f08012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:53:45] local.INFO: Packet analysis {"connection_id":232530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:53:45] local.INFO: Extracted packet for processing {"connection_id":232530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a535"} 
[2026-11-04 11:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205838848001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:53:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793773109000,"timestamp_ms":1793773109000,"timestamp_seconds":1793773109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5357f08"} 
[2026-11-04 11:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 11:53: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-11-04 11: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-11-04 11:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205838848001,"66":25625,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205838848001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205838848001,"power":25625,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":232530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:53:45] local.INFO: GPS data processed {"connection_id":232530,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:53:45] local.INFO: Acknowledgment sent {"connection_id":232530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:54:07] local.INFO: TCP Data received {"connection_id":230681,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:07] local.INFO: Processing buffer {"connection_id":230681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:07] local.INFO: IMEI packet received {"connection_id":230681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":230681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:54:12] local.INFO: TCP Data received {"connection_id":230681,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:12] local.INFO: Processing buffer {"connection_id":230681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:12] local.INFO: IMEI packet received {"connection_id":230681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":230681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:54:17] local.INFO: TCP Data received {"connection_id":230681,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:17] local.INFO: Processing buffer {"connection_id":230681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:54:17] local.INFO: IMEI packet received {"connection_id":230681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":230681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:54:19] local.INFO: TCP Data received {"connection_id":230681,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:54:19] local.INFO: Processing buffer {"connection_id":230681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:54:19] local.INFO: Packet analysis {"connection_id":230681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:54:19] local.INFO: Extracted packet for processing {"connection_id":230681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:54:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11: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-11-04 11:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":230681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:54:19] local.INFO: GPS data processed {"connection_id":230681,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:54:19] local.INFO: Acknowledgment sent {"connection_id":230681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:54:22] local.INFO: TCP Data received {"connection_id":230681,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:54:22] local.INFO: Processing buffer {"connection_id":230681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:54:22] local.INFO: Packet analysis {"connection_id":230681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:54:22] local.INFO: Extracted packet for processing {"connection_id":230681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:54:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:54: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-11-04 11:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":230681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:54:22] local.INFO: GPS data processed {"connection_id":230681,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:54:22] local.INFO: Acknowledgment sent {"connection_id":230681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:55:06] local.INFO: TCP Data received {"connection_id":229383,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:55:06] local.INFO: Processing buffer {"connection_id":229383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:55:06] local.INFO: IMEI packet received {"connection_id":229383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":229383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:55:12] local.INFO: TCP Data received {"connection_id":229383,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:55:12] local.INFO: Processing buffer {"connection_id":229383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:55:12] local.INFO: IMEI packet received {"connection_id":229383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":229383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:55:15] local.INFO: TCP Data received {"connection_id":229383,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:55:15] local.INFO: Processing buffer {"connection_id":229383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:55:15] local.INFO: Packet analysis {"connection_id":229383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:55:15] local.INFO: Extracted packet for processing {"connection_id":229383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:55:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:55:15] 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-11-04 11:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:55:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":229383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:55:15] local.INFO: GPS data processed {"connection_id":229383,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:55:15] local.INFO: Acknowledgment sent {"connection_id":229383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:55:48] local.INFO: TCP Data received {"connection_id":229383,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:55:48] local.INFO: Processing buffer {"connection_id":229383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:55:48] local.INFO: Packet analysis {"connection_id":229383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:55:48] local.INFO: Extracted packet for processing {"connection_id":229383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:55:48] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:55:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:55:48] 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-11-04 11: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-11-04 11:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:55:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":229383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:55:48] local.INFO: GPS data processed {"connection_id":229383,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:55:48] local.INFO: Acknowledgment sent {"connection_id":229383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:56:07] local.INFO: TCP Data received {"connection_id":229384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:56:07] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:56:07] local.INFO: IMEI packet received {"connection_id":229384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":229384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:56:12] local.INFO: TCP Data received {"connection_id":229384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:56:12] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:56:12] local.INFO: IMEI packet received {"connection_id":229384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":229384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:56:14] local.INFO: TCP Data received {"connection_id":229384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:56:14] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:56:14] local.INFO: Packet analysis {"connection_id":229384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:56:14] local.INFO: Extracted packet for processing {"connection_id":229384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:56:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:56: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-11-04 11: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-11-04 11:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:56:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":229384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:56:14] local.INFO: GPS data processed {"connection_id":229384,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:56:14] local.INFO: Acknowledgment sent {"connection_id":229384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:56:47] local.INFO: TCP Data received {"connection_id":229384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:56:47] local.INFO: Processing buffer {"connection_id":229384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:56:47] local.INFO: Packet analysis {"connection_id":229384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:56:47] local.INFO: Extracted packet for processing {"connection_id":229384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:56:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:56: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-11-04 11:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":229384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:56:47] local.INFO: GPS data processed {"connection_id":229384,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:56:47] local.INFO: Acknowledgment sent {"connection_id":229384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:57:06] local.INFO: TCP Data received {"connection_id":228874,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:57:06] local.INFO: Processing buffer {"connection_id":228874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:57:06] local.INFO: IMEI packet received {"connection_id":228874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":228874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:57:13] local.INFO: TCP Data received {"connection_id":228874,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:57:13] local.INFO: Processing buffer {"connection_id":228874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:57:13] local.INFO: IMEI packet received {"connection_id":228874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":228874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:57:18] local.INFO: TCP Data received {"connection_id":228874,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:57:18] local.INFO: Processing buffer {"connection_id":228874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:57:18] local.INFO: Packet analysis {"connection_id":228874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:57:18] local.INFO: Extracted packet for processing {"connection_id":228874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:57: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-11-04 11: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-11-04 11:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":228874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:57:18] local.INFO: GPS data processed {"connection_id":228874,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:57:18] local.INFO: Acknowledgment sent {"connection_id":228874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:57:51] local.INFO: TCP Data received {"connection_id":228874,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:57:51] local.INFO: Processing buffer {"connection_id":228874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:57:51] local.INFO: Packet analysis {"connection_id":228874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:57:51] local.INFO: Extracted packet for processing {"connection_id":228874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:57:51] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:57:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 11:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:57:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":228874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:57:51] local.INFO: GPS data processed {"connection_id":228874,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:57:51] local.INFO: Acknowledgment sent {"connection_id":228874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:58:12] local.INFO: TCP Data received {"connection_id":229385,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:58:12] local.INFO: Processing buffer {"connection_id":229385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:58:12] local.INFO: IMEI packet received {"connection_id":229385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":229385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:58:17] local.INFO: TCP Data received {"connection_id":229385,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:58:17] local.INFO: Processing buffer {"connection_id":229385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:58:17] local.INFO: IMEI packet received {"connection_id":229385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":229385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:58:18] local.INFO: TCP Data received {"connection_id":229385,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:58:18] local.INFO: Processing buffer {"connection_id":229385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:58:18] local.INFO: Packet analysis {"connection_id":229385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:58:18] local.INFO: Extracted packet for processing {"connection_id":229385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:58:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:58: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-11-04 11:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:58:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":229385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:58:18] local.INFO: GPS data processed {"connection_id":229385,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:58:18] local.INFO: Acknowledgment sent {"connection_id":229385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:58:22] local.INFO: TCP Data received {"connection_id":229385,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:58:22] local.INFO: Processing buffer {"connection_id":229385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53a16d0012d34c30006aa43d0000b00902b..."} 
[2026-11-04 11:58:22] local.INFO: Packet analysis {"connection_id":229385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:58:22] local.INFO: Extracted packet for processing {"connection_id":229385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53a"} 
[2026-11-04 11:58:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":43,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205915904001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:58:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793773410000,"timestamp_ms":1793773410000,"timestamp_seconds":1793773410,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53a16d0"} 
[2026-11-04 11:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 11:58: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-11-04 11:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205915904001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205915904001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:58:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205915904001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":229385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:58:22] local.INFO: GPS data processed {"connection_id":229385,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:58:22] local.INFO: Acknowledgment sent {"connection_id":229385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:59:07] local.INFO: TCP Data received {"connection_id":229386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:59:07] local.INFO: Processing buffer {"connection_id":229386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:59:07] local.INFO: IMEI packet received {"connection_id":229386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 11:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":229386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 11:59:08] local.INFO: TCP Data received {"connection_id":229386,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:59:08] local.INFO: Processing buffer {"connection_id":229386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 11:59:08] local.INFO: IMEI packet received {"connection_id":229386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 11:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":229386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 11:59:09] local.INFO: TCP Data received {"connection_id":229386,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:59:09] local.INFO: Processing buffer {"connection_id":229386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:59:09] local.INFO: Packet analysis {"connection_id":229386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 11:59:09] local.INFO: Extracted packet for processing {"connection_id":229386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 11:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 11:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:59:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 11:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 11:59:09] 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-11-04 11:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 11:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":229386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:59:09] local.INFO: GPS data processed {"connection_id":229386,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:59:09] local.INFO: Acknowledgment sent {"connection_id":229386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 11:59:46] local.INFO: TCP Data received {"connection_id":229386,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:59:46] local.INFO: Processing buffer {"connection_id":229386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 11:59:46] local.INFO: Packet analysis {"connection_id":229386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 11:59:46] local.INFO: Extracted packet for processing {"connection_id":229386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 11: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-11-04 11:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 11:59:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 11:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 11:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 11:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 11:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 11:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 11:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 11: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 11:59: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-11-04 11: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-11-04 11:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 11:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 11:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 11:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 11:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 11:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 11:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 11:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 11:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 11:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 11:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 11:59:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 11:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 11:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 11:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 11:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":229386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 11:59:46] local.INFO: GPS data processed {"connection_id":229386,"processed":1,"errors":0,"total":1} 
[2026-11-04 11:59:46] local.INFO: Acknowledgment sent {"connection_id":229386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:00:12] local.INFO: TCP Data received {"connection_id":228875,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:00:12] local.INFO: Processing buffer {"connection_id":228875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:00:12] local.INFO: IMEI packet received {"connection_id":228875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":228875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:00:18] local.INFO: TCP Data received {"connection_id":228875,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:00:18] local.INFO: Processing buffer {"connection_id":228875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:00:18] local.INFO: IMEI packet received {"connection_id":228875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":228875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:00:19] local.INFO: TCP Data received {"connection_id":228875,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:00:19] local.INFO: Processing buffer {"connection_id":228875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:00:19] local.INFO: Packet analysis {"connection_id":228875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:00:19] local.INFO: Extracted packet for processing {"connection_id":228875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:00:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 12:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":228875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":228875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":228875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:00:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":228875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:00:19] local.INFO: GPS data processed {"connection_id":228875,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:00:19] local.INFO: Acknowledgment sent {"connection_id":228875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:00:24] local.INFO: TCP Data received {"connection_id":228875,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:00:24] local.INFO: Processing buffer {"connection_id":228875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:00:24] local.INFO: Packet analysis {"connection_id":228875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:00:24] local.INFO: Extracted packet for processing {"connection_id":228875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:00:24] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:00:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 12:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":228875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":228875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":228875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:00:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":228875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:00:24] local.INFO: GPS data processed {"connection_id":228875,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:00:24] local.INFO: Acknowledgment sent {"connection_id":228875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:01:22] local.INFO: TCP Data received {"connection_id":232531,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:01:22] local.INFO: Processing buffer {"connection_id":232531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:01:22] local.INFO: IMEI packet received {"connection_id":232531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":232531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:01:27] local.INFO: TCP Data received {"connection_id":232531,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:01:27] local.INFO: Processing buffer {"connection_id":232531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:01:27] local.INFO: IMEI packet received {"connection_id":232531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":232531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:01:28] local.INFO: TCP Data received {"connection_id":232531,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:01:28] local.INFO: Processing buffer {"connection_id":232531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:01:28] local.INFO: Packet analysis {"connection_id":232531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:01:28] local.INFO: Extracted packet for processing {"connection_id":232531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:01:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 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-11-04 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 12:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":232531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":232531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":232531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:01:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":232531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:01:28] local.INFO: GPS data processed {"connection_id":232531,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:01:28] local.INFO: Acknowledgment sent {"connection_id":232531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:02:06] local.INFO: TCP Data received {"connection_id":229387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:02:07] local.INFO: Processing buffer {"connection_id":229387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:02:07] local.INFO: IMEI packet received {"connection_id":229387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":229387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:02:12] local.INFO: TCP Data received {"connection_id":229387,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:02:12] local.INFO: Processing buffer {"connection_id":229387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:02:12] local.INFO: IMEI packet received {"connection_id":229387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":229387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:02:13] local.INFO: TCP Data received {"connection_id":229387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:02:13] local.INFO: Processing buffer {"connection_id":229387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:02:13] local.INFO: Packet analysis {"connection_id":229387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:02:13] local.INFO: Extracted packet for processing {"connection_id":229387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:02:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 12:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:02: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-11-04 12: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-11-04 12:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":229387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:02:13] local.INFO: GPS data processed {"connection_id":229387,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:02:13] local.INFO: Acknowledgment sent {"connection_id":229387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:02:45] local.INFO: TCP Data received {"connection_id":229387,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:02:45] local.INFO: Processing buffer {"connection_id":229387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:02:45] local.INFO: Packet analysis {"connection_id":229387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:02:45] local.INFO: Extracted packet for processing {"connection_id":229387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:02:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 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-11-04 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:02: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-11-04 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-11-04 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-11-04 12:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":229387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:02:45] local.INFO: GPS data processed {"connection_id":229387,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:02:45] local.INFO: Acknowledgment sent {"connection_id":229387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:03:07] local.INFO: TCP Data received {"connection_id":229388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:03:07] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:03:07] local.INFO: IMEI packet received {"connection_id":229388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":229388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:03:12] local.INFO: TCP Data received {"connection_id":229388,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:03:12] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:03:12] local.INFO: IMEI packet received {"connection_id":229388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":229388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:03:13] local.INFO: TCP Data received {"connection_id":229388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:03:13] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:03:13] local.INFO: Packet analysis {"connection_id":229388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:03:13] local.INFO: Extracted packet for processing {"connection_id":229388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 12:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:03: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-11-04 12: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-11-04 12:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":229388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:03:13] local.INFO: GPS data processed {"connection_id":229388,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:03:13] local.INFO: Acknowledgment sent {"connection_id":229388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:03:25] local.INFO: TCP Data received {"connection_id":232532,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:03:25] local.INFO: Processing buffer {"connection_id":232532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:03:25] local.INFO: IMEI packet received {"connection_id":232532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":232532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:03:29] local.INFO: TCP Data received {"connection_id":232532,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:03:29] local.INFO: Processing buffer {"connection_id":232532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:03:29] local.INFO: IMEI packet received {"connection_id":232532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":232532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:03:30] local.INFO: TCP Data received {"connection_id":232532,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5408740012ce9f50007153c50000c014b27..."} 
[2026-11-04 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5408740012ce9f50007153c50000c014b27..."} 
[2026-11-04 12:03:30] local.INFO: Processing buffer {"connection_id":232532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5408740012ce9f50007153c50000c014b27..."} 
[2026-11-04 12:03:30] local.INFO: Packet analysis {"connection_id":232532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a540"} 
[2026-11-04 12:03:30] local.INFO: Extracted packet for processing {"connection_id":232532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a540"} 
[2026-11-04 12:03:30] local.INFO: GPS Element Parsed {"raw_longitude":753530112,"raw_latitude":118832208,"longitude_deg":75.3530112,"latitude_deg":11.8832208,"altitude":12,"angle":331,"satellites":39,"speed":22,"hex_longitude":"2ce9f500","hex_latitude":"07153c50","is_valid_coordinates":true} 
[2026-11-04 12:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20484769208860672,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,148,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793773832000,"timestamp_ms":1793773832000,"timestamp_seconds":1793773832,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5408740"} 
[2026-11-04 12:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 12:03:30] 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-11-04 12:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"148":206,"2":54272,"24":22,"16":20484769208860672},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,2,24,16]} 
[2026-11-04 12:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 12:03:30] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-11-04 12:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20484769208860672,"km_value":20484769208860.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:03:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_148":206,"power_alt":54272,"ignition":22,"odometer":null}} 
[2026-11-04 12:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":232532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:03:30] local.INFO: GPS data processed {"connection_id":232532,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:03:30] local.INFO: Acknowledgment sent {"connection_id":232532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:03:31] local.INFO: TCP Data received {"connection_id":232532,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a540bdf0012ce9ebc007155440000a015627..."} 
[2026-11-04 12:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a540bdf0012ce9ebc007155440000a015627..."} 
[2026-11-04 12:03:31] local.INFO: Processing buffer {"connection_id":232532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a540bdf0012ce9ebc007155440000a015627..."} 
[2026-11-04 12:03:31] local.INFO: Packet analysis {"connection_id":232532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a540"} 
[2026-11-04 12:03:31] local.INFO: Extracted packet for processing {"connection_id":232532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a540"} 
[2026-11-04 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":753527744,"raw_latitude":118838336,"longitude_deg":75.3527744,"latitude_deg":11.8838336,"altitude":10,"angle":342,"satellites":39,"speed":24,"hex_longitude":"2ce9ebc0","hex_latitude":"07155440","is_valid_coordinates":true} 
[2026-11-04 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206100992001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20485087036440576,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588363263157186560,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793773846000,"timestamp_ms":1793773846000,"timestamp_seconds":1793773846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a540bdf0"} 
[2026-11-04 12:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:03:31] 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-11-04 12:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206100992001,"66":28354,"148":206,"2":54272,"24":24,"16":20485087036440576,"44":-1588363263157186560},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,2,24,16,44]} 
[2026-11-04 12:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206100992001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:03:31] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-11-04 12:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20485087036440576,"km_value":20485087036440.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588363263157186560,"description":"Unknown IO ID 44"} 
[2026-11-04 12:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206100992001,"power":28354,"unknown_148":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1588363263157186560}} 
[2026-11-04 12:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":232532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:03:31] local.INFO: GPS data processed {"connection_id":232532,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:03:31] local.INFO: Acknowledgment sent {"connection_id":232532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:03:45] local.INFO: TCP Data received {"connection_id":229388,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:03:45] local.INFO: Processing buffer {"connection_id":229388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a53eae98012d34c30006aa43d0000b009028..."} 
[2026-11-04 12:03:45] local.INFO: Packet analysis {"connection_id":229388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:03:45] local.INFO: Extracted packet for processing {"connection_id":229388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a53e"} 
[2026-11-04 12:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459205992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:03:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793773711000,"timestamp_ms":1793773711000,"timestamp_seconds":1793773711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a53eae98"} 
[2026-11-04 12:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:03: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-11-04 12: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-11-04 12:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459205992960001,"66":25582,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459205992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459205992960001,"power":25582,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":229388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:03:45] local.INFO: GPS data processed {"connection_id":229388,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:03:45] local.INFO: Acknowledgment sent {"connection_id":229388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:04:06] local.INFO: TCP Data received {"connection_id":230683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:06] local.INFO: Processing buffer {"connection_id":230683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:06] local.INFO: IMEI packet received {"connection_id":230683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":230683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:04:10] local.INFO: TCP Data received {"connection_id":230683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:10] local.INFO: Processing buffer {"connection_id":230683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:10] local.INFO: IMEI packet received {"connection_id":230683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":230683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:04:11] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:11] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:11] local.INFO: IMEI packet received {"connection_id":228876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":228876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:04:11] local.INFO: TCP Data received {"connection_id":230683,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:11] local.INFO: Processing buffer {"connection_id":230683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:04:11] local.INFO: IMEI packet received {"connection_id":230683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":230683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:04:12] local.INFO: TCP Data received {"connection_id":230683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:04:12] local.INFO: Processing buffer {"connection_id":230683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:04:12] local.INFO: Packet analysis {"connection_id":230683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:12] local.INFO: Extracted packet for processing {"connection_id":230683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:04:12] 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-11-04 12: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-11-04 12:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:04:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":230683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:04:12] local.INFO: GPS data processed {"connection_id":230683,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:04:12] local.INFO: Acknowledgment sent {"connection_id":230683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:04:13] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:13] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:13] local.INFO: IMEI packet received {"connection_id":228876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":228876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:04:14] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:14] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:14] local.INFO: IMEI packet received {"connection_id":228876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":228876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:04:16] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:16] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:04:16] local.INFO: IMEI packet received {"connection_id":228876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":228876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:04:18] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a542f070012ce99e800716cca80003016528..."} 
[2026-11-04 12:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a542f070012ce99e800716cca80003016528..."} 
[2026-11-04 12:04:18] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a542f070012ce99e800716cca80003016528..."} 
[2026-11-04 12:04:18] local.INFO: Packet analysis {"connection_id":228876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a542"} 
[2026-11-04 12:04:18] local.INFO: Extracted packet for processing {"connection_id":228876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a542"} 
[2026-11-04 12:04:18] local.INFO: GPS Element Parsed {"raw_longitude":753507968,"raw_latitude":118934696,"longitude_deg":75.3507968,"latitude_deg":11.8934696,"altitude":3,"angle":357,"satellites":40,"speed":40,"hex_longitude":"2ce99e80","hex_latitude":"0716cca8","is_valid_coordinates":true} 
[2026-11-04 12:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206139136001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20489875924975616,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612429373642237952,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793773990000,"timestamp_ms":1793773990000,"timestamp_seconds":1793773990,"priority":1,"record_length":96,"hex_timestamp":"000001a1a542f070"} 
[2026-11-04 12:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:04:18] 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-11-04 12:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206139136001,"66":28256,"223":206,"2":54272,"24":40,"16":20489875924975616,"44":-1612429373642237952},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-11-04 12:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206139136001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:04:18] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-11-04 12:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20489875924975616,"km_value":20489875924975.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:04:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612429373642237952,"description":"Unknown IO ID 44"} 
[2026-11-04 12:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206139136001,"power":28256,"unknown_223":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1612429373642237952}} 
[2026-11-04 12:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":228876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:04:18] local.INFO: GPS data processed {"connection_id":228876,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:04:18] local.INFO: Acknowledgment sent {"connection_id":228876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:04:21] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":1360,"data_hex":"000000000000030f8e0a000001a1a5431b68012ce99a800716efb80004015829..."} 
[2026-11-04 12:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1a5431b68012ce99a800716efb80004015829..."} 
[2026-11-04 12:04:21] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1a5431b68012ce99a800716efb80004015829..."} 
[2026-11-04 12:04:21] local.INFO: Packet analysis {"connection_id":228876,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:21] local.INFO: Extracted packet for processing {"connection_id":228876,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":753506944,"raw_latitude":118943672,"longitude_deg":75.3506944,"latitude_deg":11.8943672,"altitude":4,"angle":344,"satellites":41,"speed":29,"hex_longitude":"2ce99a80","hex_latitude":"0716efb8","is_valid_coordinates":true} 
[2026-11-04 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206141440001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20490314011639808,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1612710848616421376,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793774001000,"timestamp_ms":1793774001000,"timestamp_seconds":1793774001,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5431b68"} 
[2026-11-04 12:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 12:04:21] 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-11-04 12:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206141440001,"66":27876,"223":206,"2":54272,"24":29,"16":20490314011639808,"44":-1612710848616421376},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-11-04 12:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206141440001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:04:21] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-11-04 12:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20490314011639808,"km_value":20490314011639.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1612710848616421376,"description":"Unknown IO ID 44"} 
[2026-11-04 12:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206141440001,"power":27876,"unknown_223":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1612710848616421376}} 
[2026-11-04 12:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":228876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:04:21] local.INFO: GPS data processed {"connection_id":228876,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:04:21] local.INFO: Acknowledgment sent {"connection_id":228876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:04:21] local.INFO: Packet analysis {"connection_id":228876,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:21] local.INFO: Incomplete packet, waiting for more data {"connection_id":228876,"needed":795,"available":565} 
[2026-11-04 12:04:22] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":230,"data_hex":"2ce9b9c0071619980004015a2a001e0000000a000400ef0100715b00f0010045..."} 
[2026-11-04 12:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":230,"packet_hex":"2ce9b9c0071619980004015a2a001e0000000a000400ef0100715b00f0010045..."} 
[2026-11-04 12:04:22] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5431b68012ce99a800716efb80004015829..."} 
[2026-11-04 12:04:22] local.INFO: Packet analysis {"connection_id":228876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:22] local.INFO: Extracted packet for processing {"connection_id":228876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":753506944,"raw_latitude":118943672,"longitude_deg":75.3506944,"latitude_deg":11.8943672,"altitude":4,"angle":344,"satellites":41,"speed":29,"hex_longitude":"2ce99a80","hex_latitude":"0716efb8","is_valid_coordinates":true} 
[2026-11-04 12:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206144256001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20490314011639808,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613836748520966144,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793774001000,"timestamp_ms":1793774001000,"timestamp_seconds":1793774001,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5431b68"} 
[2026-11-04 12:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206144256001,"66":27876,"223":206,"2":54272,"24":29,"16":20490314011639808,"44":-1613836748520966144},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-11-04 12:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206144256001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:04:22] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-11-04 12:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20490314011639808,"km_value":20490314011639.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613836748520966144,"description":"Unknown IO ID 44"} 
[2026-11-04 12:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206144256001,"power":27876,"unknown_223":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1613836748520966144}} 
[2026-11-04 12:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":228876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:04:22] local.INFO: GPS data processed {"connection_id":228876,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:04:22] local.INFO: Acknowledgment sent {"connection_id":228876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:04:44] local.INFO: TCP Data received {"connection_id":230683,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:04:44] local.INFO: Processing buffer {"connection_id":230683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:04:44] local.INFO: Packet analysis {"connection_id":230683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:44] local.INFO: Extracted packet for processing {"connection_id":230683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:04:44] 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-11-04 12: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-11-04 12:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:04:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":230683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:04:44] local.INFO: GPS data processed {"connection_id":230683,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:04:44] local.INFO: Acknowledgment sent {"connection_id":230683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:04:55] local.INFO: TCP Data received {"connection_id":228876,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434a48012ce99200071713f8000501502a..."} 
[2026-11-04 12:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434a48012ce99200071713f8000501502a..."} 
[2026-11-04 12:04:55] local.INFO: Processing buffer {"connection_id":228876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434a48012ce99200071713f8000501502a..."} 
[2026-11-04 12:04:55] local.INFO: Packet analysis {"connection_id":228876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:55] local.INFO: Extracted packet for processing {"connection_id":228876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:04:55] local.INFO: GPS Element Parsed {"raw_longitude":753504768,"raw_latitude":118952952,"longitude_deg":75.3504768,"latitude_deg":11.8952952,"altitude":5,"angle":336,"satellites":42,"speed":31,"hex_longitude":"2ce99200","hex_latitude":"071713f8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206144256001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20490777868107776,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613836748520966144,"note":"Value kept but may cause issues"} 
[2026-11-04 12:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793774013000,"timestamp_ms":1793774013000,"timestamp_seconds":1793774013,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434a48"} 
[2026-11-04 12:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":228876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":228876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206144256001,"66":28245,"223":206,"2":54272,"24":31,"16":20490777868107776,"44":-1613836748520966144},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-11-04 12:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206144256001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:04:55] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-11-04 12:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20490777868107776,"km_value":20490777868107.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:04:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613836748520966144,"description":"Unknown IO ID 44"} 
[2026-11-04 12:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206144256001,"power":28245,"unknown_223":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1613836748520966144}} 
[2026-11-04 12:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":228876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:04:55] local.INFO: GPS data processed {"connection_id":228876,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:04:55] local.INFO: Acknowledgment sent {"connection_id":228876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:05:06] local.INFO: TCP Data received {"connection_id":228877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:05:06] local.INFO: Processing buffer {"connection_id":228877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:05:06] local.INFO: IMEI packet received {"connection_id":228877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":228877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:05:09] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:05:09] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:05:09] local.INFO: IMEI packet received {"connection_id":229389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":229389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:05:12] local.INFO: TCP Data received {"connection_id":228877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:05:12] local.INFO: Processing buffer {"connection_id":228877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:05:12] local.INFO: IMEI packet received {"connection_id":228877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":228877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:05:13] local.INFO: TCP Data received {"connection_id":228877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:05:13] local.INFO: Processing buffer {"connection_id":228877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:05:13] local.INFO: Packet analysis {"connection_id":228877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:05:13] local.INFO: Extracted packet for processing {"connection_id":228877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:05:13] 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-11-04 12:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:05:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":228877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:05:13] local.INFO: GPS data processed {"connection_id":228877,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:05:13] local.INFO: Acknowledgment sent {"connection_id":228877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:05:14] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:05:14] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:05:14] local.INFO: IMEI packet received {"connection_id":229389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":229389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:05:15] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5435600012ce98d4007171c700006014226..."} 
[2026-11-04 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5435600012ce98d4007171c700006014226..."} 
[2026-11-04 12:05:15] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5435600012ce98d4007171c700006014226..."} 
[2026-11-04 12:05:15] local.INFO: Packet analysis {"connection_id":229389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:05:15] local.INFO: Extracted packet for processing {"connection_id":229389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":753503552,"raw_latitude":118955120,"longitude_deg":75.3503552,"latitude_deg":11.895512,"altitude":6,"angle":322,"satellites":38,"speed":33,"hex_longitude":"2ce98d40","hex_latitude":"07171c70","is_valid_coordinates":true} 
[2026-11-04 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206147328001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20490898127192064,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616229285820631040,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793774016000,"timestamp_ms":1793774016000,"timestamp_seconds":1793774016,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5435600"} 
[2026-11-04 12:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 12:05:15] 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-11-04 12:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206147328001,"66":28224,"223":206,"2":54272,"24":33,"16":20490898127192064,"44":-1616229285820631040},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-11-04 12:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206147328001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:05:15] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-11-04 12:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20490898127192064,"km_value":20490898127192.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616229285820631040,"description":"Unknown IO ID 44"} 
[2026-11-04 12:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206147328001,"power":28224,"unknown_223":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1616229285820631040}} 
[2026-11-04 12:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":229389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:05:15] local.INFO: GPS data processed {"connection_id":229389,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:05:15] local.INFO: Acknowledgment sent {"connection_id":229389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:05:44] local.INFO: TCP Data received {"connection_id":228877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:05:44] local.INFO: Processing buffer {"connection_id":228877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:05:44] local.INFO: Packet analysis {"connection_id":228877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:05:44] local.INFO: Extracted packet for processing {"connection_id":228877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:05:44] 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-11-04 12:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:05:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":228877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:05:44] local.INFO: GPS data processed {"connection_id":228877,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:05:44] local.INFO: Acknowledgment sent {"connection_id":228877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:05:52] local.INFO: TCP Data received {"connection_id":229389,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5446b58012ce9918007179c78001600012a..."} 
[2026-11-04 12:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5446b58012ce9918007179c78001600012a..."} 
[2026-11-04 12:05:52] local.INFO: Processing buffer {"connection_id":229389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5446b58012ce9918007179c78001600012a..."} 
[2026-11-04 12:05:52] local.INFO: Packet analysis {"connection_id":229389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:05:52] local.INFO: Extracted packet for processing {"connection_id":229389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:05:52] local.INFO: GPS Element Parsed {"raw_longitude":753504640,"raw_latitude":118987896,"longitude_deg":75.350464,"latitude_deg":11.8987896,"altitude":22,"angle":1,"satellites":42,"speed":27,"hex_longitude":"2ce99180","hex_latitude":"07179c78","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206165504001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20492860927246336,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616510760788914176,"note":"Value kept but may cause issues"} 
[2026-11-04 12:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793774087000,"timestamp_ms":1793774087000,"timestamp_seconds":1793774087,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5446b58"} 
[2026-11-04 12:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 12:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206165504001,"66":27745,"222":206,"2":54272,"24":27,"16":20492860927246336,"44":-1616510760788914176},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,2,24,16,44]} 
[2026-11-04 12:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206165504001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:05:52] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-11-04 12:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20492860927246336,"km_value":20492860927246.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616510760788914176,"description":"Unknown IO ID 44"} 
[2026-11-04 12:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206165504001,"power":27745,"unknown_222":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1616510760788914176}} 
[2026-11-04 12:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":229389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:05:52] local.INFO: GPS data processed {"connection_id":229389,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:05:52] local.INFO: Acknowledgment sent {"connection_id":229389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:06:06] local.INFO: TCP Data received {"connection_id":228878,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:06:06] local.INFO: Processing buffer {"connection_id":228878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:06:06] local.INFO: IMEI packet received {"connection_id":228878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":228878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:06:12] local.INFO: TCP Data received {"connection_id":228878,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:06:12] local.INFO: Processing buffer {"connection_id":228878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:06:12] local.INFO: IMEI packet received {"connection_id":228878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":228878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:06:14] local.INFO: TCP Data received {"connection_id":228878,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:06:14] local.INFO: Processing buffer {"connection_id":228878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:06:14] local.INFO: Packet analysis {"connection_id":228878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:06:14] local.INFO: Extracted packet for processing {"connection_id":228878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:06:14] 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-11-04 12:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":228878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:06:14] local.INFO: GPS data processed {"connection_id":228878,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:06:14] local.INFO: Acknowledgment sent {"connection_id":228878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:06:14] local.INFO: TCP Data received {"connection_id":232533,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:14] local.INFO: Processing buffer {"connection_id":232533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:14] local.INFO: IMEI packet received {"connection_id":232533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":232533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:06:15] local.INFO: TCP Data received {"connection_id":232533,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:15] local.INFO: Processing buffer {"connection_id":232533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:15] local.INFO: IMEI packet received {"connection_id":232533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":232533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:06:18] local.INFO: TCP Data received {"connection_id":232533,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:18] local.INFO: Processing buffer {"connection_id":232533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:06:18] local.INFO: IMEI packet received {"connection_id":232533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":232533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:06:20] local.INFO: TCP Data received {"connection_id":232533,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5449650012ce993000717c0980015000328..."} 
[2026-11-04 12:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5449650012ce993000717c0980015000328..."} 
[2026-11-04 12:06:20] local.INFO: Processing buffer {"connection_id":232533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5449650012ce993000717c0980015000328..."} 
[2026-11-04 12:06:20] local.INFO: Packet analysis {"connection_id":232533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:06:20] local.INFO: Extracted packet for processing {"connection_id":232533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:06:20] local.INFO: GPS Element Parsed {"raw_longitude":753505024,"raw_latitude":118997144,"longitude_deg":75.3505024,"latitude_deg":11.8997144,"altitude":21,"angle":3,"satellites":40,"speed":39,"hex_longitude":"2ce99300","hex_latitude":"0717c098","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206166272001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20493311898812416,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616370023300040704,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793774098000,"timestamp_ms":1793774098000,"timestamp_seconds":1793774098,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5449650"} 
[2026-11-04 12:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 12:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206166272001,"66":28234,"222":206,"2":54272,"24":39,"16":20493311898812416,"44":-1616370023300040704},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,2,24,16,44]} 
[2026-11-04 12:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206166272001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:06:20] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-11-04 12:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20493311898812416,"km_value":20493311898812.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616370023300040704,"description":"Unknown IO ID 44"} 
[2026-11-04 12:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206166272001,"power":28234,"unknown_222":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1616370023300040704}} 
[2026-11-04 12:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":232533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:06:20] local.INFO: GPS data processed {"connection_id":232533,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:06:20] local.INFO: Acknowledgment sent {"connection_id":232533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:06:24] local.INFO: TCP Data received {"connection_id":232533,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a544b590012ce994800717e3680013000021..."} 
[2026-11-04 12:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a544b590012ce994800717e3680013000021..."} 
[2026-11-04 12:06:24] local.INFO: Processing buffer {"connection_id":232533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a544b590012ce994800717e3680013000021..."} 
[2026-11-04 12:06:24] local.INFO: Packet analysis {"connection_id":232533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:06:24] local.INFO: Extracted packet for processing {"connection_id":232533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:06:24] local.INFO: GPS Element Parsed {"raw_longitude":753505408,"raw_latitude":119006056,"longitude_deg":75.3505408,"latitude_deg":11.9006056,"altitude":19,"angle":0,"satellites":33,"speed":46,"hex_longitude":"2ce99480","hex_latitude":"0717e368","is_valid_coordinates":true} 
[2026-11-04 12:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206169088001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20493745690509312,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615947810832607232,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793774106000,"timestamp_ms":1793774106000,"timestamp_seconds":1793774106,"priority":1,"record_length":96,"hex_timestamp":"000001a1a544b590"} 
[2026-11-04 12:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 12:06:24] 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-11-04 12:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206169088001,"66":28398,"222":206,"2":54272,"24":46,"16":20493745690509312,"44":-1615947810832607232},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,2,24,16,44]} 
[2026-11-04 12:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206169088001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:06:24] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-11-04 12:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20493745690509312,"km_value":20493745690509.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:06:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615947810832607232,"description":"Unknown IO ID 44"} 
[2026-11-04 12:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206169088001,"power":28398,"unknown_222":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-1615947810832607232}} 
[2026-11-04 12:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":232533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:06:24] local.INFO: GPS data processed {"connection_id":232533,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:06:24] local.INFO: Acknowledgment sent {"connection_id":232533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:06:45] local.INFO: TCP Data received {"connection_id":228878,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:06:45] local.INFO: Processing buffer {"connection_id":228878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:06:45] local.INFO: Packet analysis {"connection_id":228878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:06:45] local.INFO: Extracted packet for processing {"connection_id":228878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:06:45] 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-11-04 12: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-11-04 12:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":228878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:06:45] local.INFO: GPS data processed {"connection_id":228878,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:06:45] local.INFO: Acknowledgment sent {"connection_id":228878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:07:06] local.INFO: TCP Data received {"connection_id":229390,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:07:06] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:07:06] local.INFO: IMEI packet received {"connection_id":229390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":229390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:07:08] local.INFO: TCP Data received {"connection_id":232534,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:07:08] local.INFO: Processing buffer {"connection_id":232534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:07:08] local.INFO: IMEI packet received {"connection_id":232534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":232534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:07:12] local.INFO: TCP Data received {"connection_id":229390,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:07:12] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:07:12] local.INFO: IMEI packet received {"connection_id":229390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":229390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:07:13] local.INFO: TCP Data received {"connection_id":229390,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:07:13] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:07:13] local.INFO: Packet analysis {"connection_id":229390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:07:13] local.INFO: Extracted packet for processing {"connection_id":229390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:07:13] 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-11-04 12: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-11-04 12:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":229390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:07:13] local.INFO: GPS data processed {"connection_id":229390,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:07:13] local.INFO: Acknowledgment sent {"connection_id":229390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:07:14] local.INFO: TCP Data received {"connection_id":232534,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:07:14] local.INFO: Processing buffer {"connection_id":232534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:07:14] local.INFO: IMEI packet received {"connection_id":232534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":232534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:07:15] local.INFO: TCP Data received {"connection_id":232534,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a544d4d0012ce9960007180ab00012000124..."} 
[2026-11-04 12:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a544d4d0012ce9960007180ab00012000124..."} 
[2026-11-04 12:07:15] local.INFO: Processing buffer {"connection_id":232534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a544d4d0012ce9960007180ab00012000124..."} 
[2026-11-04 12:07:15] local.INFO: Packet analysis {"connection_id":232534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:07:15] local.INFO: Extracted packet for processing {"connection_id":232534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:07:15] local.INFO: GPS Element Parsed {"raw_longitude":753505792,"raw_latitude":119016112,"longitude_deg":75.3505792,"latitude_deg":11.9016112,"altitude":18,"angle":1,"satellites":36,"speed":50,"hex_longitude":"2ce99600","hex_latitude":"07180ab0","is_valid_coordinates":true} 
[2026-11-04 12:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206171136001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20494231021813760,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615525598365259776,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793774114000,"timestamp_ms":1793774114000,"timestamp_seconds":1793774114,"priority":1,"record_length":96,"hex_timestamp":"000001a1a544d4d0"} 
[2026-11-04 12:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:07: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-11-04 12:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206171136001,"66":28202,"217":206,"2":54272,"24":50,"16":20494231021813760,"44":-1615525598365259776},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,44]} 
[2026-11-04 12:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206171136001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:07:15] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 12:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20494231021813760,"km_value":20494231021813.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615525598365259776,"description":"Unknown IO ID 44"} 
[2026-11-04 12:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206171136001,"power":28202,"unknown_217":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1615525598365259776}} 
[2026-11-04 12:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":232534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:07:15] local.INFO: GPS data processed {"connection_id":232534,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:07:15] local.INFO: Acknowledgment sent {"connection_id":232534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:07:45] local.INFO: TCP Data received {"connection_id":229390,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:07:45] local.INFO: Processing buffer {"connection_id":229390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:07:45] local.INFO: Packet analysis {"connection_id":229390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:07:45] local.INFO: Extracted packet for processing {"connection_id":229390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 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-11-04 12:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:07:45] 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-11-04 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-11-04 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-11-04 12:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:07:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":229390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:07:45] local.INFO: GPS data processed {"connection_id":229390,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:07:45] local.INFO: Acknowledgment sent {"connection_id":229390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:07:47] local.INFO: TCP Data received {"connection_id":232534,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a544f028012ce9978007182df00013000127..."} 
[2026-11-04 12:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a544f028012ce9978007182df00013000127..."} 
[2026-11-04 12:07:47] local.INFO: Processing buffer {"connection_id":232534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a544f028012ce9978007182df00013000127..."} 
[2026-11-04 12:07:47] local.INFO: Packet analysis {"connection_id":232534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:07:47] local.INFO: Extracted packet for processing {"connection_id":232534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a544"} 
[2026-11-04 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":753506176,"raw_latitude":119025136,"longitude_deg":75.3506176,"latitude_deg":11.9025136,"altitude":19,"angle":1,"satellites":39,"speed":50,"hex_longitude":"2ce99780","hex_latitude":"07182df0","is_valid_coordinates":true} 
[2026-11-04 12:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206173184001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20494669108477952,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615103385897619456,"note":"Value kept but may cause issues"} 
[2026-11-04 12:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793774121000,"timestamp_ms":1793774121000,"timestamp_seconds":1793774121,"priority":1,"record_length":96,"hex_timestamp":"000001a1a544f028"} 
[2026-11-04 12:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 12:07:47] 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-11-04 12:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206173184001,"66":28354,"217":206,"2":54272,"24":50,"16":20494669108477952,"44":-1615103385897619456},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,44]} 
[2026-11-04 12:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206173184001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:07:47] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-11-04 12:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20494669108477952,"km_value":20494669108477.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:07:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615103385897619456,"description":"Unknown IO ID 44"} 
[2026-11-04 12:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206173184001,"power":28354,"unknown_217":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1615103385897619456}} 
[2026-11-04 12:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":232534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:07:47] local.INFO: GPS data processed {"connection_id":232534,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:07:47] local.INFO: Acknowledgment sent {"connection_id":232534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:08:12] local.INFO: TCP Data received {"connection_id":230684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:08:12] local.INFO: Processing buffer {"connection_id":230684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:08:12] local.INFO: IMEI packet received {"connection_id":230684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":230684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:08:14] local.INFO: TCP Data received {"connection_id":232535,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:14] local.INFO: Processing buffer {"connection_id":232535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:14] local.INFO: IMEI packet received {"connection_id":232535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":232535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:08:16] local.INFO: TCP Data received {"connection_id":232535,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:16] local.INFO: Processing buffer {"connection_id":232535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:16] local.INFO: IMEI packet received {"connection_id":232535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":232535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:08:17] local.INFO: TCP Data received {"connection_id":230684,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:08:17] local.INFO: Processing buffer {"connection_id":230684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:08:17] local.INFO: IMEI packet received {"connection_id":230684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":230684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:08:18] local.INFO: TCP Data received {"connection_id":232535,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:18] local.INFO: Processing buffer {"connection_id":232535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:08:18] local.INFO: IMEI packet received {"connection_id":232535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":232535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:08:18] local.INFO: TCP Data received {"connection_id":230684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:18] local.INFO: Processing buffer {"connection_id":230684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:18] local.INFO: Packet analysis {"connection_id":230684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:08:18] local.INFO: Extracted packet for processing {"connection_id":230684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:08:18] 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-11-04 12:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":230684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:08:18] local.INFO: GPS data processed {"connection_id":230684,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:08:18] local.INFO: Acknowledgment sent {"connection_id":230684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:08:20] local.INFO: TCP Data received {"connection_id":232535,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5467e98012ce984c00719c6280017016327..."} 
[2026-11-04 12:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5467e98012ce984c00719c6280017016327..."} 
[2026-11-04 12:08:20] local.INFO: Processing buffer {"connection_id":232535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5467e98012ce984c00719c6280017016327..."} 
[2026-11-04 12:08:20] local.INFO: Packet analysis {"connection_id":232535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a546"} 
[2026-11-04 12:08:20] local.INFO: Extracted packet for processing {"connection_id":232535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a546"} 
[2026-11-04 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":753501376,"raw_latitude":119129640,"longitude_deg":75.3501376,"latitude_deg":11.912964,"altitude":23,"angle":355,"satellites":39,"speed":47,"hex_longitude":"2ce984c0","hex_latitude":"0719c628","is_valid_coordinates":true} 
[2026-11-04 12:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206199040001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20499754349756416,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1619466248009859072,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793774223000,"timestamp_ms":1793774223000,"timestamp_seconds":1793774223,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5467e98"} 
[2026-11-04 12:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 12:08:20] 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-11-04 12:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206199040001,"66":28354,"216":206,"2":54272,"24":47,"16":20499754349756416,"44":-1619466248009859072},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,44]} 
[2026-11-04 12:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206199040001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:08:20] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-11-04 12:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20499754349756416,"km_value":20499754349756.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1619466248009859072,"description":"Unknown IO ID 44"} 
[2026-11-04 12:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206199040001,"power":28354,"unknown_216":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1619466248009859072}} 
[2026-11-04 12:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":232535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:08:20] local.INFO: GPS data processed {"connection_id":232535,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:08:20] local.INFO: Acknowledgment sent {"connection_id":232535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:08:22] local.INFO: TCP Data received {"connection_id":230684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:22] local.INFO: Processing buffer {"connection_id":230684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:22] local.INFO: Packet analysis {"connection_id":230684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:08:22] local.INFO: Extracted packet for processing {"connection_id":230684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:22] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:08:22] 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-11-04 12: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-11-04 12:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":230684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:08:22] local.INFO: GPS data processed {"connection_id":230684,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:08:22] local.INFO: Acknowledgment sent {"connection_id":230684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:08:28] local.INFO: TCP Data received {"connection_id":230684,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:28] local.INFO: Processing buffer {"connection_id":230684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5434660012d34c30006aa43d0000b009027..."} 
[2026-11-04 12:08:28] local.INFO: Packet analysis {"connection_id":230684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:08:28] local.INFO: Extracted packet for processing {"connection_id":230684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a543"} 
[2026-11-04 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206070016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793774012000,"timestamp_ms":1793774012000,"timestamp_seconds":1793774012,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5434660"} 
[2026-11-04 12:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:08: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-11-04 12: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-11-04 12:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":230684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":230684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":230684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206070016001,"66":25604,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206070016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:08:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206070016001,"power":25604,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":230684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:08:28] local.INFO: GPS data processed {"connection_id":230684,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:08:28] local.INFO: Acknowledgment sent {"connection_id":230684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:09:07] local.INFO: TCP Data received {"connection_id":230685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:09:07] local.INFO: Processing buffer {"connection_id":230685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:09:07] local.INFO: IMEI packet received {"connection_id":230685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":230685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:09:11] local.INFO: TCP Data received {"connection_id":230685,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:09:11] local.INFO: Processing buffer {"connection_id":230685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:09:11] local.INFO: IMEI packet received {"connection_id":230685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":230685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:09:12] local.INFO: TCP Data received {"connection_id":230685,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a547de28012d34c30006aa43d0000b009026..."} 
[2026-11-04 12:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a547de28012d34c30006aa43d0000b009026..."} 
[2026-11-04 12:09:12] local.INFO: Processing buffer {"connection_id":230685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a547de28012d34c30006aa43d0000b009026..."} 
[2026-11-04 12:09:12] local.INFO: Packet analysis {"connection_id":230685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a547"} 
[2026-11-04 12:09:12] local.INFO: Extracted packet for processing {"connection_id":230685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a547"} 
[2026-11-04 12:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206147072001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:09:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793774313000,"timestamp_ms":1793774313000,"timestamp_seconds":1793774313,"priority":1,"record_length":96,"hex_timestamp":"000001a1a547de28"} 
[2026-11-04 12:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 12:09: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-11-04 12: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-11-04 12:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206147072001,"66":25615,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206147072001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206147072001,"power":25615,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":230685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:09:12] local.INFO: GPS data processed {"connection_id":230685,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:09:12] local.INFO: Acknowledgment sent {"connection_id":230685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:09:44] local.INFO: TCP Data received {"connection_id":230685,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5480150012d34c30006aa43d0000b009026..."} 
[2026-11-04 12:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5480150012d34c30006aa43d0000b009026..."} 
[2026-11-04 12:09:44] local.INFO: Processing buffer {"connection_id":230685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5480150012d34c30006aa43d0000b009026..."} 
[2026-11-04 12:09:44] local.INFO: Packet analysis {"connection_id":230685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a548"} 
[2026-11-04 12:09:44] local.INFO: Extracted packet for processing {"connection_id":230685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a548"} 
[2026-11-04 12:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111821776,"longitude_deg":75.8432512,"latitude_deg":11.1821776,"altitude":11,"angle":144,"satellites":38,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa43d0","is_valid_coordinates":true} 
[2026-11-04 12:09: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-11-04 12:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206224128001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:09:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774322000,"timestamp_ms":1793774322000,"timestamp_seconds":1793774322,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5480150"} 
[2026-11-04 12:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 12:09:44] 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-11-04 12: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-11-04 12:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206224128001,"66":25549,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206224128001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206224128001,"power":25549,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":230685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:09:44] local.INFO: GPS data processed {"connection_id":230685,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:09:44] local.INFO: Acknowledgment sent {"connection_id":230685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:10:05] local.INFO: TCP Data received {"connection_id":232536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:05] local.INFO: Processing buffer {"connection_id":232536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:05] local.INFO: IMEI packet received {"connection_id":232536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":232536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:10:06] local.INFO: TCP Data received {"connection_id":232536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:06] local.INFO: Processing buffer {"connection_id":232536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:06] local.INFO: IMEI packet received {"connection_id":232536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":232536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:10:12] local.INFO: TCP Data received {"connection_id":232536,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:12] local.INFO: Processing buffer {"connection_id":232536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:10:12] local.INFO: IMEI packet received {"connection_id":232536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":232536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:10:13] local.INFO: TCP Data received {"connection_id":232536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5480d08012d34bf0006aa41b0000b010c26..."} 
[2026-11-04 12:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5480d08012d34bf0006aa41b0000b010c26..."} 
[2026-11-04 12:10:13] local.INFO: Processing buffer {"connection_id":232536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5480d08012d34bf0006aa41b0000b010c26..."} 
[2026-11-04 12:10:13] local.INFO: Packet analysis {"connection_id":232536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a548"} 
[2026-11-04 12:10:13] local.INFO: Extracted packet for processing {"connection_id":232536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a548"} 
[2026-11-04 12:10:13] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111821232,"longitude_deg":75.8431488,"latitude_deg":11.1821232,"altitude":11,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa41b0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206226432001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-11-04 12:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827432068775936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057205248,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-11-04 12:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774325000,"timestamp_ms":1793774325000,"timestamp_seconds":1793774325,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5480d08"} 
[2026-11-04 12:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 12:10: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-11-04 12: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-11-04 12:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206226432001,"66":23647,"200":0,"81":23296,"24":0,"16":38827432068775936,"45":3801882539057205248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-11-04 12:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206226432001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827432068775936,"km_value":38827432068775.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057205248,"description":"Unknown IO ID 45"} 
[2026-11-04 12:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206226432001,"power":23647,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801882539057205248}} 
[2026-11-04 12:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":232536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:10:13] local.INFO: GPS data processed {"connection_id":232536,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:10:13] local.INFO: Acknowledgment sent {"connection_id":232536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:10:19] local.INFO: TCP Data received {"connection_id":232537,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:10:19] local.INFO: Processing buffer {"connection_id":232537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:10:19] local.INFO: IMEI packet received {"connection_id":232537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":232537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:10:27] local.INFO: TCP Data received {"connection_id":232537,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:10:27] local.INFO: Processing buffer {"connection_id":232537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:10:27] local.INFO: IMEI packet received {"connection_id":232537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":232537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:10:30] local.INFO: TCP Data received {"connection_id":232537,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a548c888012ce9df40071b48d80013002726..."} 
[2026-11-04 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a548c888012ce9df40071b48d80013002726..."} 
[2026-11-04 12:10:30] local.INFO: Processing buffer {"connection_id":232537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a548c888012ce9df40071b48d80013002726..."} 
[2026-11-04 12:10:30] local.INFO: Packet analysis {"connection_id":232537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a548"} 
[2026-11-04 12:10:30] local.INFO: Extracted packet for processing {"connection_id":232537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a548"} 
[2026-11-04 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":753524544,"raw_latitude":119228632,"longitude_deg":75.3524544,"latitude_deg":11.9228632,"altitude":19,"angle":39,"satellites":38,"speed":19,"hex_longitude":"2ce9df40","hex_latitude":"071b48d8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206239232001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20505428001554432,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594907556264306688,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793774373000,"timestamp_ms":1793774373000,"timestamp_seconds":1793774373,"priority":1,"record_length":96,"hex_timestamp":"000001a1a548c888"} 
[2026-11-04 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-11-04 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:10:30] 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-11-04 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-11-04 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-11-04 12:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206239232001,"66":28300,"10":206,"2":54272,"24":19,"16":20505428001554432,"44":-1594907556264306688},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-11-04 12:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206239232001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:10:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 12:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20505428001554432,"km_value":20505428001554.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594907556264306688,"description":"Unknown IO ID 44"} 
[2026-11-04 12:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206239232001,"power":28300,"unknown_10":206,"power_alt":54272,"ignition":19,"odometer":null,"unknown_44":-1594907556264306688}} 
[2026-11-04 12:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":232537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:10:31] local.INFO: GPS data processed {"connection_id":232537,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:10:31] local.INFO: Acknowledgment sent {"connection_id":232537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:10:44] local.INFO: TCP Data received {"connection_id":232536,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5493db8012d34c44006aa3ea00006009227..."} 
[2026-11-04 12:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5493db8012d34c44006aa3ea00006009227..."} 
[2026-11-04 12:10:44] local.INFO: Processing buffer {"connection_id":232536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5493db8012d34c44006aa3ea00006009227..."} 
[2026-11-04 12:10:44] local.INFO: Packet analysis {"connection_id":232536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:10:44] local.INFO: Extracted packet for processing {"connection_id":232536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820448,"longitude_deg":75.8432832,"latitude_deg":11.1820448,"altitude":6,"angle":146,"satellites":39,"speed":2,"hex_longitude":"2d34c440","hex_latitude":"06aa3ea0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206245376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827543737925632,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645289519104,"note":"Value kept but may cause issues"} 
[2026-11-04 12:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774403000,"timestamp_ms":1793774403000,"timestamp_seconds":1793774403,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5493db8"} 
[2026-11-04 12:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12: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-11-04 12: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-11-04 12:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206245376001,"66":28050,"97":206,"81":23296,"24":2,"16":38827543737925632,"45":3802093645289519104},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206245376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:10:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827543737925632,"km_value":38827543737925.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645289519104,"description":"Unknown IO ID 45"} 
[2026-11-04 12:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206245376001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":2,"odometer":null,"unknown_45":3802093645289519104}} 
[2026-11-04 12:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":232536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:10:44] local.INFO: GPS data processed {"connection_id":232536,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:10:44] local.INFO: Acknowledgment sent {"connection_id":232536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:11:07] local.INFO: TCP Data received {"connection_id":229391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:11:07] local.INFO: Processing buffer {"connection_id":229391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:11:07] local.INFO: IMEI packet received {"connection_id":229391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":229391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:11:10] local.INFO: TCP Data received {"connection_id":230686,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:10] local.INFO: Processing buffer {"connection_id":230686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:10] local.INFO: IMEI packet received {"connection_id":230686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":230686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:11:10] local.INFO: TCP Data received {"connection_id":230686,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:10] local.INFO: Processing buffer {"connection_id":230686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:10] local.INFO: IMEI packet received {"connection_id":230686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":230686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:11:12] local.INFO: TCP Data received {"connection_id":229391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:11:12] local.INFO: Processing buffer {"connection_id":229391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:11:12] local.INFO: IMEI packet received {"connection_id":229391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":229391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:11:13] local.INFO: TCP Data received {"connection_id":229391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54941a0012d34c48006aa3e780006007d26..."} 
[2026-11-04 12:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54941a0012d34c48006aa3e780006007d26..."} 
[2026-11-04 12:11:13] local.INFO: Processing buffer {"connection_id":229391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54941a0012d34c48006aa3e780006007d26..."} 
[2026-11-04 12:11:13] local.INFO: Packet analysis {"connection_id":229391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:13] local.INFO: Extracted packet for processing {"connection_id":229391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820408,"longitude_deg":75.8432896,"latitude_deg":11.1820408,"altitude":6,"angle":125,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e78","is_valid_coordinates":true} 
[2026-11-04 12:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206247168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827548032892928,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777753600,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774404000,"timestamp_ms":1793774404000,"timestamp_seconds":1793774404,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54941a0"} 
[2026-11-04 12:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 12:11: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-11-04 12:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206247168001,"66":27919,"97":206,"81":23296,"24":0,"16":38827548032892928,"45":3802234382777753600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206247168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:11:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:11:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827548032892928,"km_value":38827548032892.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777753600,"description":"Unknown IO ID 45"} 
[2026-11-04 12:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206247168001,"power":27919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777753600}} 
[2026-11-04 12:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":229391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:11:13] local.INFO: GPS data processed {"connection_id":229391,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:11:13] local.INFO: Acknowledgment sent {"connection_id":229391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:11:15] local.INFO: TCP Data received {"connection_id":230686,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:15] local.INFO: Processing buffer {"connection_id":230686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:11:15] local.INFO: IMEI packet received {"connection_id":230686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":230686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:11:18] local.INFO: TCP Data received {"connection_id":230686,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5497c38012ce9f480071ba4300012002f25..."} 
[2026-11-04 12:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5497c38012ce9f480071ba4300012002f25..."} 
[2026-11-04 12:11:18] local.INFO: Processing buffer {"connection_id":230686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5497c38012ce9f480071ba4300012002f25..."} 
[2026-11-04 12:11:18] local.INFO: Packet analysis {"connection_id":230686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:18] local.INFO: Extracted packet for processing {"connection_id":230686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:18] local.INFO: GPS Element Parsed {"raw_longitude":753529984,"raw_latitude":119252016,"longitude_deg":75.3529984,"latitude_deg":11.9252016,"altitude":18,"angle":47,"satellites":37,"speed":14,"hex_longitude":"2ce9f480","hex_latitude":"071ba430","is_valid_coordinates":true} 
[2026-11-04 12:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206251008001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20506806686056448,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588855844259008512,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:18] 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-11-04 12:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793774419000,"timestamp_ms":1793774419000,"timestamp_seconds":1793774419,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5497c38"} 
[2026-11-04 12:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:11:18] 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-11-04 12:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206251008001,"66":28300,"162":206,"2":54272,"24":14,"16":20506806686056448,"44":-1588855844259008512},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-11-04 12:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206251008001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:11:18] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-04 12:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20506806686056448,"km_value":20506806686056.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:11:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588855844259008512,"description":"Unknown IO ID 44"} 
[2026-11-04 12:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206251008001,"power":28300,"unknown_162":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1588855844259008512}} 
[2026-11-04 12:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":230686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:11:18] local.INFO: GPS data processed {"connection_id":230686,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:11:18] local.INFO: Acknowledgment sent {"connection_id":230686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:11:19] local.INFO: TCP Data received {"connection_id":230686,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5498020012ce9f540071ba5580012001c25..."} 
[2026-11-04 12:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5498020012ce9f540071ba5580012001c25..."} 
[2026-11-04 12:11:19] local.INFO: Processing buffer {"connection_id":230686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5498020012ce9f540071ba5580012001c25..."} 
[2026-11-04 12:11:19] local.INFO: Packet analysis {"connection_id":230686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:19] local.INFO: Extracted packet for processing {"connection_id":230686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:19] local.INFO: GPS Element Parsed {"raw_longitude":753530176,"raw_latitude":119252312,"longitude_deg":75.3530176,"latitude_deg":11.9252312,"altitude":18,"angle":28,"satellites":37,"speed":15,"hex_longitude":"2ce9f540","hex_latitude":"071ba558","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206251264001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20506823865925632,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588504000538071040,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:19] 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-11-04 12:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793774420000,"timestamp_ms":1793774420000,"timestamp_seconds":1793774420,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5498020"} 
[2026-11-04 12:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:11:19] 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-11-04 12: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-11-04 12:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206251264001,"66":27952,"162":206,"2":54272,"24":15,"16":20506823865925632,"44":-1588504000538071040},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-11-04 12:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206251264001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:11:19] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-04 12:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20506823865925632,"km_value":20506823865925.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588504000538071040,"description":"Unknown IO ID 44"} 
[2026-11-04 12:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206251264001,"power":27952,"unknown_162":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1588504000538071040}} 
[2026-11-04 12:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":230686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:11:19] local.INFO: GPS data processed {"connection_id":230686,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:11:19] local.INFO: Acknowledgment sent {"connection_id":230686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:11:46] local.INFO: TCP Data received {"connection_id":229391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5494970012d34c48006aa3e600007006827..."} 
[2026-11-04 12:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5494970012d34c48006aa3e600007006827..."} 
[2026-11-04 12:11:46] local.INFO: Processing buffer {"connection_id":229391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5494970012d34c48006aa3e600007006827..."} 
[2026-11-04 12:11:46] local.INFO: Packet analysis {"connection_id":229391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:46] local.INFO: Extracted packet for processing {"connection_id":229391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820384,"longitude_deg":75.8432896,"latitude_deg":11.1820384,"altitude":7,"angle":104,"satellites":39,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa3e60","is_valid_coordinates":true} 
[2026-11-04 12:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206247424001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827548032892928,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521921024,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793774406000,"timestamp_ms":1793774406000,"timestamp_seconds":1793774406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5494970"} 
[2026-11-04 12:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 12:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206247424001,"66":27865,"97":206,"81":23296,"24":0,"16":38827548032892928,"45":3802304751521921024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206247424001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827548032892928,"km_value":38827548032892.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521921024,"description":"Unknown IO ID 45"} 
[2026-11-04 12:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206247424001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521921024}} 
[2026-11-04 12:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":229391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:11:46] local.INFO: GPS data processed {"connection_id":229391,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:11:46] local.INFO: Acknowledgment sent {"connection_id":229391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:11:50] local.INFO: TCP Data received {"connection_id":230686,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549af00012cea0300071bc538000d001523..."} 
[2026-11-04 12:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549af00012cea0300071bc538000d001523..."} 
[2026-11-04 12:11:50] local.INFO: Processing buffer {"connection_id":230686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549af00012cea0300071bc538000d001523..."} 
[2026-11-04 12:11:50] local.INFO: Packet analysis {"connection_id":230686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:50] local.INFO: Extracted packet for processing {"connection_id":230686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:11:50] local.INFO: GPS Element Parsed {"raw_longitude":753533696,"raw_latitude":119260472,"longitude_deg":75.3533696,"latitude_deg":11.9260472,"altitude":13,"angle":21,"satellites":35,"speed":35,"hex_longitude":"2cea0300","hex_latitude":"071bc538","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206251520001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20507253362655232,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588292894305462272,"note":"Value kept but may cause issues"} 
[2026-11-04 12:11:50] 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-11-04 12:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793774432000,"timestamp_ms":1793774432000,"timestamp_seconds":1793774432,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549af00"} 
[2026-11-04 12:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 12:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206251520001,"66":28267,"162":206,"2":54272,"24":35,"16":20507253362655232,"44":-1588292894305462272},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-11-04 12:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206251520001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:11:50] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-04 12:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20507253362655232,"km_value":20507253362655.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588292894305462272,"description":"Unknown IO ID 44"} 
[2026-11-04 12:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206251520001,"power":28267,"unknown_162":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1588292894305462272}} 
[2026-11-04 12:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":230686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:11:51] local.INFO: GPS data processed {"connection_id":230686,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:11:51] local.INFO: Acknowledgment sent {"connection_id":230686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:12:06] local.INFO: TCP Data received {"connection_id":228879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:12:06] local.INFO: Processing buffer {"connection_id":228879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:12:06] local.INFO: IMEI packet received {"connection_id":228879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":228879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:12:07] local.INFO: TCP Data received {"connection_id":229392,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:07] local.INFO: Processing buffer {"connection_id":229392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:07] local.INFO: IMEI packet received {"connection_id":229392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":229392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:12:09] local.INFO: TCP Data received {"connection_id":229392,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:09] local.INFO: Processing buffer {"connection_id":229392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:09] local.INFO: IMEI packet received {"connection_id":229392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":229392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:12:12] local.INFO: TCP Data received {"connection_id":228879,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:12:12] local.INFO: Processing buffer {"connection_id":228879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:12:12] local.INFO: IMEI packet received {"connection_id":228879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":228879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:12:13] local.INFO: TCP Data received {"connection_id":228879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5495140012d34c54006aa3e400007005a27..."} 
[2026-11-04 12:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5495140012d34c54006aa3e400007005a27..."} 
[2026-11-04 12:12:13] local.INFO: Processing buffer {"connection_id":228879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5495140012d34c54006aa3e400007005a27..."} 
[2026-11-04 12:12:13] local.INFO: Packet analysis {"connection_id":228879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:12:13] local.INFO: Extracted packet for processing {"connection_id":228879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:12:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111820352,"longitude_deg":75.8433088,"latitude_deg":11.1820352,"altitude":7,"angle":90,"satellites":39,"speed":1,"hex_longitude":"2d34c540","hex_latitude":"06aa3e40","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206247936001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827556622827520,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521914880,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774408000,"timestamp_ms":1793774408000,"timestamp_seconds":1793774408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5495140"} 
[2026-11-04 12:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 12:12:13] 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-11-04 12: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-11-04 12:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206247936001,"66":28050,"97":206,"81":23296,"24":1,"16":38827556622827520,"45":3802304751521914880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206247936001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:12:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827556622827520,"km_value":38827556622827.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521914880,"description":"Unknown IO ID 45"} 
[2026-11-04 12:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206247936001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802304751521914880}} 
[2026-11-04 12:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":228879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:12:13] local.INFO: GPS data processed {"connection_id":228879,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:12:13] local.INFO: Acknowledgment sent {"connection_id":228879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:12:14] local.INFO: TCP Data received {"connection_id":229392,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:14] local.INFO: Processing buffer {"connection_id":229392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:12:14] local.INFO: IMEI packet received {"connection_id":229392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":229392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:12:16] local.INFO: TCP Data received {"connection_id":229392,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54a0108012cea0900071bd6d8000c000d27..."} 
[2026-11-04 12:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54a0108012cea0900071bd6d8000c000d27..."} 
[2026-11-04 12:12:16] local.INFO: Processing buffer {"connection_id":229392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54a0108012cea0900071bd6d8000c000d27..."} 
[2026-11-04 12:12:16] local.INFO: Packet analysis {"connection_id":229392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:12:16] local.INFO: Extracted packet for processing {"connection_id":229392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:12:16] local.INFO: GPS Element Parsed {"raw_longitude":753535232,"raw_latitude":119264984,"longitude_deg":75.3535232,"latitude_deg":11.9264984,"altitude":12,"angle":13,"satellites":39,"speed":0,"hex_longitude":"2cea0900","hex_latitude":"071bd6d8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206254592001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20507485290889216,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584422613373601792,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:16] 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-11-04 12:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793774453000,"timestamp_ms":1793774453000,"timestamp_seconds":1793774453,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54a0108"} 
[2026-11-04 12:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 12:12: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-11-04 12: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-11-04 12:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206254592001,"66":27887,"162":206,"2":54272,"24":0,"16":20507485290889216,"44":-1584422613373601792},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-11-04 12:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206254592001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:12:16] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-04 12:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20507485290889216,"km_value":20507485290889.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:12:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584422613373601792,"description":"Unknown IO ID 44"} 
[2026-11-04 12:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206254592001,"power":27887,"unknown_162":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1584422613373601792}} 
[2026-11-04 12:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":229392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:12:16] local.INFO: GPS data processed {"connection_id":229392,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:12:16] local.INFO: Acknowledgment sent {"connection_id":229392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:12:45] local.INFO: TCP Data received {"connection_id":228879,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5497850012d34c48006aa3df8000700ec26..."} 
[2026-11-04 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5497850012d34c48006aa3df8000700ec26..."} 
[2026-11-04 12:12:45] local.INFO: Processing buffer {"connection_id":228879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5497850012d34c48006aa3df8000700ec26..."} 
[2026-11-04 12:12:45] local.INFO: Packet analysis {"connection_id":228879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:12:45] local.INFO: Extracted packet for processing {"connection_id":228879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111820280,"longitude_deg":75.8432896,"latitude_deg":11.182028,"altitude":7,"angle":236,"satellites":38,"speed":1,"hex_longitude":"2d34c480","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 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":795,"current_offset":40} 
[2026-11-04 12:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206248448001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827565212762112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857754439680,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793774418000,"timestamp_ms":1793774418000,"timestamp_seconds":1793774418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5497850"} 
[2026-11-04 12:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 12:12: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-11-04 12: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-11-04 12:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206248448001,"66":27865,"97":206,"81":23296,"24":1,"16":38827565212762112,"45":3802515857754439680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206248448001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:12:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:12:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827565212762112,"km_value":38827565212762.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857754439680,"description":"Unknown IO ID 45"} 
[2026-11-04 12:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206248448001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":1,"odometer":null,"unknown_45":3802515857754439680}} 
[2026-11-04 12:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":228879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:12:45] local.INFO: GPS data processed {"connection_id":228879,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:12:45] local.INFO: Acknowledgment sent {"connection_id":228879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:12:48] local.INFO: TCP Data received {"connection_id":229392,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54a10a8012cea0740071bdef8000a015625..."} 
[2026-11-04 12:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54a10a8012cea0740071bdef8000a015625..."} 
[2026-11-04 12:12:48] local.INFO: Processing buffer {"connection_id":229392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54a10a8012cea0740071bdef8000a015625..."} 
[2026-11-04 12:12:48] local.INFO: Packet analysis {"connection_id":229392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:12:48] local.INFO: Extracted packet for processing {"connection_id":229392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:12:48] local.INFO: GPS Element Parsed {"raw_longitude":753534784,"raw_latitude":119267064,"longitude_deg":75.3534784,"latitude_deg":11.9267064,"altitude":10,"angle":342,"satellites":37,"speed":14,"hex_longitude":"2cea0740","hex_latitude":"071bdef8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206259968001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20507588370104320,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582733763512182784,"note":"Value kept but may cause issues"} 
[2026-11-04 12:12:48] 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-11-04 12:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793774457000,"timestamp_ms":1793774457000,"timestamp_seconds":1793774457,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54a10a8"} 
[2026-11-04 12:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":239,"data_length":795,"current_offset":136} 
[2026-11-04 12:12: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-11-04 12: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-11-04 12:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206259968001,"66":28267,"162":206,"2":54272,"24":14,"16":20507588370104320,"44":-1582733763512182784},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-11-04 12:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206259968001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:12:48] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-04 12:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20507588370104320,"km_value":20507588370104.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:12:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582733763512182784,"description":"Unknown IO ID 44"} 
[2026-11-04 12:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206259968001,"power":28267,"unknown_162":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1582733763512182784}} 
[2026-11-04 12:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":229392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:12:48] local.INFO: GPS data processed {"connection_id":229392,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:12:48] local.INFO: Acknowledgment sent {"connection_id":229392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:13:06] local.INFO: TCP Data received {"connection_id":232538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:13:06] local.INFO: Processing buffer {"connection_id":232538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:13:06] local.INFO: IMEI packet received {"connection_id":232538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":232538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:13:09] local.INFO: TCP Data received {"connection_id":228880,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:13:09] local.INFO: Processing buffer {"connection_id":228880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:13:09] local.INFO: IMEI packet received {"connection_id":228880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":228880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:13:12] local.INFO: TCP Data received {"connection_id":232538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:13:12] local.INFO: Processing buffer {"connection_id":232538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:13:12] local.INFO: IMEI packet received {"connection_id":232538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":232538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:13:12] local.INFO: TCP Data received {"connection_id":232538,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549c670012d34c44006aa3da8000700f026..."} 
[2026-11-04 12:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549c670012d34c44006aa3da8000700f026..."} 
[2026-11-04 12:13:12] local.INFO: Processing buffer {"connection_id":232538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549c670012d34c44006aa3da8000700f026..."} 
[2026-11-04 12:13:12] local.INFO: Packet analysis {"connection_id":232538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:13:12] local.INFO: Extracted packet for processing {"connection_id":232538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820200,"longitude_deg":75.8432832,"latitude_deg":11.18202,"altitude":7,"angle":240,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-11-04 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206251008001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751521888256,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793774438000,"timestamp_ms":1793774438000,"timestamp_seconds":1793774438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549c670"} 
[2026-11-04 12:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 12:13:12] 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-11-04 12:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206251008001,"66":27876,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802304751521888256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206251008001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:13:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:13:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751521888256,"description":"Unknown IO ID 45"} 
[2026-11-04 12:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206251008001,"power":27876,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802304751521888256}} 
[2026-11-04 12:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":232538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:13:13] local.INFO: GPS data processed {"connection_id":232538,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:13:13] local.INFO: Acknowledgment sent {"connection_id":232538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:13:14] local.INFO: TCP Data received {"connection_id":228880,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:13:14] local.INFO: Processing buffer {"connection_id":228880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:13:14] local.INFO: IMEI packet received {"connection_id":228880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":228880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:13:17] local.INFO: TCP Data received {"connection_id":228880,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54a4b40012ce9fc80071c02280009015420..."} 
[2026-11-04 12:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54a4b40012ce9fc80071c02280009015420..."} 
[2026-11-04 12:13:17] local.INFO: Processing buffer {"connection_id":228880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54a4b40012ce9fc80071c02280009015420..."} 
[2026-11-04 12:13:17] local.INFO: Packet analysis {"connection_id":228880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:13:17] local.INFO: Extracted packet for processing {"connection_id":228880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:13:17] local.INFO: GPS Element Parsed {"raw_longitude":753532032,"raw_latitude":119276072,"longitude_deg":75.3532032,"latitude_deg":11.9276072,"altitude":9,"angle":340,"satellites":32,"speed":33,"hex_longitude":"2ce9fc80","hex_latitude":"071c0228","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206260992001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20508043636637696,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1583226344720893952,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:17] 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-11-04 12:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793774472000,"timestamp_ms":1793774472000,"timestamp_seconds":1793774472,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54a4b40"} 
[2026-11-04 12:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 12:13:17] 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-11-04 12: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-11-04 12:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206260992001,"66":28354,"162":206,"2":54272,"24":33,"16":20508043636637696,"44":-1583226344720893952},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-11-04 12:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206260992001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:13:17] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-04 12:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20508043636637696,"km_value":20508043636637.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:13:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1583226344720893952,"description":"Unknown IO ID 44"} 
[2026-11-04 12:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206260992001,"power":28354,"unknown_162":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1583226344720893952}} 
[2026-11-04 12:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":228880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:13:17] local.INFO: GPS data processed {"connection_id":228880,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:13:17] local.INFO: Acknowledgment sent {"connection_id":228880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:13:44] local.INFO: TCP Data received {"connection_id":232538,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:13:44] local.INFO: Processing buffer {"connection_id":232538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:13:44] local.INFO: Packet analysis {"connection_id":232538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:13:44] local.INFO: Extracted packet for processing {"connection_id":232538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820200,"longitude_deg":75.8432832,"latitude_deg":11.18202,"altitude":7,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-11-04 12:13: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-11-04 12:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206256128001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774449000,"timestamp_ms":1793774449000,"timestamp_seconds":1793774449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549f168"} 
[2026-11-04 12:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:13: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-11-04 12: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-11-04 12:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206256128001,"66":28050,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206256128001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:13:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206256128001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":232538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:13:44] local.INFO: GPS data processed {"connection_id":232538,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:13:44] local.INFO: Acknowledgment sent {"connection_id":232538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:13:53] local.INFO: TCP Data received {"connection_id":228880,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54a7250012ce9f440071c25880008015f20..."} 
[2026-11-04 12:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54a7250012ce9f440071c25880008015f20..."} 
[2026-11-04 12:13:53] local.INFO: Processing buffer {"connection_id":228880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54a7250012ce9f440071c25880008015f20..."} 
[2026-11-04 12:13:53] local.INFO: Packet analysis {"connection_id":228880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:13:53] local.INFO: Extracted packet for processing {"connection_id":228880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54a"} 
[2026-11-04 12:13:53] local.INFO: GPS Element Parsed {"raw_longitude":753529920,"raw_latitude":119285128,"longitude_deg":75.352992,"latitude_deg":11.9285128,"altitude":8,"angle":351,"satellites":32,"speed":39,"hex_longitude":"2ce9f440","hex_latitude":"071c2588","is_valid_coordinates":true} 
[2026-11-04 12:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206264832001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20508494608203776,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586252200718227456,"note":"Value kept but may cause issues"} 
[2026-11-04 12:13:53] 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-11-04 12:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793774482000,"timestamp_ms":1793774482000,"timestamp_seconds":1793774482,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54a7250"} 
[2026-11-04 12:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:13:53] 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-11-04 12:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":228880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":228880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":228880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206264832001,"66":28430,"162":206,"2":54272,"24":39,"16":20508494608203776,"44":-1586252200718227456},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-11-04 12:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206264832001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:13:53] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-11-04 12:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20508494608203776,"km_value":20508494608203.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:13:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586252200718227456,"description":"Unknown IO ID 44"} 
[2026-11-04 12:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206264832001,"power":28430,"unknown_162":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1586252200718227456}} 
[2026-11-04 12:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":228880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:13:53] local.INFO: GPS data processed {"connection_id":228880,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:13:53] local.INFO: Acknowledgment sent {"connection_id":228880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:14:06] local.INFO: TCP Data received {"connection_id":229393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:14:06] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:14:06] local.INFO: IMEI packet received {"connection_id":229393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":229393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:14:12] local.INFO: TCP Data received {"connection_id":229393,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:14:12] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:14:12] local.INFO: IMEI packet received {"connection_id":229393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":229393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:14:12] local.INFO: TCP Data received {"connection_id":229393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:14:12] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:14:12] local.INFO: Packet analysis {"connection_id":229393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:14:12] local.INFO: Extracted packet for processing {"connection_id":229393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:14:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820200,"longitude_deg":75.8432832,"latitude_deg":11.18202,"altitude":7,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-11-04 12:14: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-11-04 12:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206256128001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774449000,"timestamp_ms":1793774449000,"timestamp_seconds":1793774449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549f168"} 
[2026-11-04 12:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206256128001,"66":28050,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206256128001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:14:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206256128001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":229393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:14:13] local.INFO: GPS data processed {"connection_id":229393,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:14:13] local.INFO: Acknowledgment sent {"connection_id":229393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:14:13] local.INFO: TCP Data received {"connection_id":229394,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:14:13] local.INFO: Processing buffer {"connection_id":229394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:14:13] local.INFO: IMEI packet received {"connection_id":229394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":229394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:14:15] local.INFO: TCP Data received {"connection_id":229394,"ip":"117.224.230.154","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 12:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229394,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 12:14:15] local.INFO: Processing buffer {"connection_id":229394,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 12:14:15] local.INFO: IMEI packet received {"connection_id":229394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":229394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:14:16] local.INFO: TCP Data received {"connection_id":229394,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:14:16] local.INFO: Processing buffer {"connection_id":229394,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 12:14:16] local.INFO: IMEI packet received {"connection_id":229394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":229394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:14:44] local.INFO: TCP Data received {"connection_id":229393,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:14:44] local.INFO: Processing buffer {"connection_id":229393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:14:44] local.INFO: Packet analysis {"connection_id":229393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:14:44] local.INFO: Extracted packet for processing {"connection_id":229393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820200,"longitude_deg":75.8432832,"latitude_deg":11.18202,"altitude":7,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-11-04 12:14: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-11-04 12:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206256128001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774449000,"timestamp_ms":1793774449000,"timestamp_seconds":1793774449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549f168"} 
[2026-11-04 12:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:14: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-11-04 12: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-11-04 12:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206256128001,"66":28050,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206256128001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:14:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206256128001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":229393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:14:44] local.INFO: GPS data processed {"connection_id":229393,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:14:44] local.INFO: Acknowledgment sent {"connection_id":229393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:15:12] local.INFO: TCP Data received {"connection_id":230687,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:15:12] local.INFO: Processing buffer {"connection_id":230687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:15:12] local.INFO: IMEI packet received {"connection_id":230687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":230687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:15:17] local.INFO: TCP Data received {"connection_id":230687,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:15:17] local.INFO: Processing buffer {"connection_id":230687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:15:17] local.INFO: IMEI packet received {"connection_id":230687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":230687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:15:18] local.INFO: TCP Data received {"connection_id":230687,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:15:18] local.INFO: Processing buffer {"connection_id":230687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:15:18] local.INFO: Packet analysis {"connection_id":230687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:15:18] local.INFO: Extracted packet for processing {"connection_id":230687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820200,"longitude_deg":75.8432832,"latitude_deg":11.18202,"altitude":7,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-11-04 12:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206256128001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793774449000,"timestamp_ms":1793774449000,"timestamp_seconds":1793774449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549f168"} 
[2026-11-04 12:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:15: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-11-04 12:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206256128001,"66":28050,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206256128001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206256128001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":230687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:15:18] local.INFO: GPS data processed {"connection_id":230687,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:15:18] local.INFO: Acknowledgment sent {"connection_id":230687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:15:22] local.INFO: TCP Data received {"connection_id":230687,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:15:22] local.INFO: Processing buffer {"connection_id":230687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:15:22] local.INFO: Packet analysis {"connection_id":230687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:15:22] local.INFO: Extracted packet for processing {"connection_id":230687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820200,"longitude_deg":75.8432832,"latitude_deg":11.18202,"altitude":7,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-11-04 12:15: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-11-04 12:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206256128001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793774449000,"timestamp_ms":1793774449000,"timestamp_seconds":1793774449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549f168"} 
[2026-11-04 12:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:15: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-11-04 12: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-11-04 12:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206256128001,"66":28050,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206256128001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:15:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:15:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206256128001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":230687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:15:23] local.INFO: GPS data processed {"connection_id":230687,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:15:23] local.INFO: Acknowledgment sent {"connection_id":230687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:16:07] local.INFO: TCP Data received {"connection_id":232540,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:16:07] local.INFO: Processing buffer {"connection_id":232540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:16:07] local.INFO: IMEI packet received {"connection_id":232540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":232540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:16:12] local.INFO: TCP Data received {"connection_id":232540,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:16:12] local.INFO: Processing buffer {"connection_id":232540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:16:12] local.INFO: IMEI packet received {"connection_id":232540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":232540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:16:13] local.INFO: TCP Data received {"connection_id":232540,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:16:13] local.INFO: Processing buffer {"connection_id":232540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a549f168012d34c44006aa3da8000700f025..."} 
[2026-11-04 12:16:13] local.INFO: Packet analysis {"connection_id":232540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:16:13] local.INFO: Extracted packet for processing {"connection_id":232540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a549"} 
[2026-11-04 12:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820200,"longitude_deg":75.8432832,"latitude_deg":11.18202,"altitude":7,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3da8","is_valid_coordinates":true} 
[2026-11-04 12:16: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-11-04 12:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206256128001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774449000,"timestamp_ms":1793774449000,"timestamp_seconds":1793774449,"priority":1,"record_length":96,"hex_timestamp":"000001a1a549f168"} 
[2026-11-04 12:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 12:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206256128001,"66":28050,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206256128001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:16:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206256128001,"power":28050,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":232540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:16:13] local.INFO: GPS data processed {"connection_id":232540,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:16:13] local.INFO: Acknowledgment sent {"connection_id":232540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:16:44] local.INFO: TCP Data received {"connection_id":232540,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:16:44] local.INFO: Processing buffer {"connection_id":232540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:16:44] local.INFO: Packet analysis {"connection_id":232540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:16:44] local.INFO: Extracted packet for processing {"connection_id":232540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820096,"longitude_deg":75.8432832,"latitude_deg":11.1820096,"altitude":10,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3d40","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206258944001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774754000,"timestamp_ms":1793774754000,"timestamp_seconds":1793774754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54e98d0"} 
[2026-11-04 12:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 12:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206258944001,"66":26115,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206258944001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:16:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206258944001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":232540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:16:44] local.INFO: GPS data processed {"connection_id":232540,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:16:44] local.INFO: Acknowledgment sent {"connection_id":232540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:17:06] local.INFO: TCP Data received {"connection_id":228882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:17:06] local.INFO: Processing buffer {"connection_id":228882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:17:06] local.INFO: IMEI packet received {"connection_id":228882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":228882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:17:12] local.INFO: TCP Data received {"connection_id":228882,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:17:12] local.INFO: Processing buffer {"connection_id":228882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:17:12] local.INFO: IMEI packet received {"connection_id":228882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":228882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:17:12] local.INFO: TCP Data received {"connection_id":228882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:17:12] local.INFO: Processing buffer {"connection_id":228882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:17:12] local.INFO: Packet analysis {"connection_id":228882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:17:12] local.INFO: Extracted packet for processing {"connection_id":228882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820096,"longitude_deg":75.8432832,"latitude_deg":11.1820096,"altitude":10,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3d40","is_valid_coordinates":true} 
[2026-11-04 12:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206258944001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793774754000,"timestamp_ms":1793774754000,"timestamp_seconds":1793774754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54e98d0"} 
[2026-11-04 12:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 12:17: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-11-04 12:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206258944001,"66":26115,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206258944001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:17:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:17:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206258944001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":228882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:17:13] local.INFO: GPS data processed {"connection_id":228882,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:17:13] local.INFO: Acknowledgment sent {"connection_id":228882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:17:44] local.INFO: TCP Data received {"connection_id":228882,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:17:44] local.INFO: Processing buffer {"connection_id":228882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:17:44] local.INFO: Packet analysis {"connection_id":228882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:17:44] local.INFO: Extracted packet for processing {"connection_id":228882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820096,"longitude_deg":75.8432832,"latitude_deg":11.1820096,"altitude":10,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3d40","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206258944001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774754000,"timestamp_ms":1793774754000,"timestamp_seconds":1793774754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54e98d0"} 
[2026-11-04 12:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":146,"data_length":795,"current_offset":136} 
[2026-11-04 12:17: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-11-04 12: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-11-04 12:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206258944001,"66":26115,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206258944001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:17:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206258944001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":228882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:17:44] local.INFO: GPS data processed {"connection_id":228882,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:17:44] local.INFO: Acknowledgment sent {"connection_id":228882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:18:06] local.INFO: TCP Data received {"connection_id":229395,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:18:06] local.INFO: Processing buffer {"connection_id":229395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:18:06] local.INFO: IMEI packet received {"connection_id":229395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":229395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:18:12] local.INFO: TCP Data received {"connection_id":229395,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:18:12] local.INFO: Processing buffer {"connection_id":229395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:18:12] local.INFO: IMEI packet received {"connection_id":229395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":229395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:18:12] local.INFO: TCP Data received {"connection_id":229395,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:18:12] local.INFO: Processing buffer {"connection_id":229395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54e98d0012d34c44006aa3d40000a00f025..."} 
[2026-11-04 12:18:12] local.INFO: Packet analysis {"connection_id":229395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:18:12] local.INFO: Extracted packet for processing {"connection_id":229395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54e"} 
[2026-11-04 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820096,"longitude_deg":75.8432832,"latitude_deg":11.1820096,"altitude":10,"angle":240,"satellites":37,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3d40","is_valid_coordinates":true} 
[2026-11-04 12:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206258944001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777690112,"note":"Value kept but may cause issues"} 
[2026-11-04 12:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793774754000,"timestamp_ms":1793774754000,"timestamp_seconds":1793774754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54e98d0"} 
[2026-11-04 12:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 12:18: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-11-04 12:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206258944001,"66":26115,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777690112},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206258944001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:18:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:18:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777690112,"description":"Unknown IO ID 45"} 
[2026-11-04 12:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206258944001,"power":26115,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777690112}} 
[2026-11-04 12:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":229395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:18:12] local.INFO: GPS data processed {"connection_id":229395,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:18:12] local.INFO: Acknowledgment sent {"connection_id":229395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:18:43] local.INFO: TCP Data received {"connection_id":229395,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55090b8012d34c44006aa3d40000a00f026..."} 
[2026-11-04 12:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55090b8012d34c44006aa3d40000a00f026..."} 
[2026-11-04 12:18:43] local.INFO: Processing buffer {"connection_id":229395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55090b8012d34c44006aa3d40000a00f026..."} 
[2026-11-04 12:18:43] local.INFO: Packet analysis {"connection_id":229395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:18:43] local.INFO: Extracted packet for processing {"connection_id":229395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820096,"longitude_deg":75.8432832,"latitude_deg":11.1820096,"altitude":10,"angle":240,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa3d40","is_valid_coordinates":true} 
[2026-11-04 12:18: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-11-04 12:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206337024001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777663488,"note":"Value kept but may cause issues"} 
[2026-11-04 12:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793774883000,"timestamp_ms":1793774883000,"timestamp_seconds":1793774883,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55090b8"} 
[2026-11-04 12:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 12:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206337024001,"66":25919,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777663488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206337024001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777663488,"description":"Unknown IO ID 45"} 
[2026-11-04 12:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206337024001,"power":25919,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777663488}} 
[2026-11-04 12:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":229395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:18:43] local.INFO: GPS data processed {"connection_id":229395,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:18:43] local.INFO: Acknowledgment sent {"connection_id":229395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:19:12] local.INFO: TCP Data received {"connection_id":230688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:19:12] local.INFO: Processing buffer {"connection_id":230688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:19:12] local.INFO: IMEI packet received {"connection_id":230688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":230688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:19:17] local.INFO: TCP Data received {"connection_id":230688,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:19:17] local.INFO: Processing buffer {"connection_id":230688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:19:17] local.INFO: IMEI packet received {"connection_id":230688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":230688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:19:18] local.INFO: TCP Data received {"connection_id":230688,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5509888012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5509888012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:19:18] local.INFO: Processing buffer {"connection_id":230688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5509888012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:19:18] local.INFO: Packet analysis {"connection_id":230688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:19:18] local.INFO: Extracted packet for processing {"connection_id":230688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370048001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777663488,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793774885000,"timestamp_ms":1793774885000,"timestamp_seconds":1793774885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5509888"} 
[2026-11-04 12:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-11-04 12:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1270,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370048001,"66":25875,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802234382777663488},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370048001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777663488,"description":"Unknown IO ID 45"} 
[2026-11-04 12:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370048001,"power":25875,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802234382777663488}} 
[2026-11-04 12:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":230688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:19:18] local.INFO: GPS data processed {"connection_id":230688,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:19:18] local.INFO: Acknowledgment sent {"connection_id":230688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:19:18] local.INFO: TCP Data received {"connection_id":232542,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:19:18] local.INFO: Processing buffer {"connection_id":232542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:19:18] local.INFO: IMEI packet received {"connection_id":232542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":232542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:19:24] local.INFO: TCP Data received {"connection_id":232542,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:19:24] local.INFO: Processing buffer {"connection_id":232542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:19:24] local.INFO: IMEI packet received {"connection_id":232542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":232542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:19:24] local.INFO: TCP Data received {"connection_id":232542,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a54fe8c0012cea4c00071fd1c0000400042b..."} 
[2026-11-04 12:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a54fe8c0012cea4c00071fd1c0000400042b..."} 
[2026-11-04 12:19:24] local.INFO: Processing buffer {"connection_id":232542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a54fe8c0012cea4c00071fd1c0000400042b..."} 
[2026-11-04 12:19:24] local.INFO: Packet analysis {"connection_id":232542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a54f"} 
[2026-11-04 12:19:24] local.INFO: Extracted packet for processing {"connection_id":232542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a54f"} 
[2026-11-04 12:19:24] local.INFO: GPS Element Parsed {"raw_longitude":753552384,"raw_latitude":119525824,"longitude_deg":75.3552384,"latitude_deg":11.9525824,"altitude":4,"angle":4,"satellites":43,"speed":35,"hex_longitude":"2cea4c00","hex_latitude":"071fd1c0","is_valid_coordinates":true} 
[2026-11-04 12:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206356224001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20521078862381056,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564015677496635392,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:24] 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-11-04 12:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793774840000,"timestamp_ms":1793774840000,"timestamp_seconds":1793774840,"priority":1,"record_length":96,"hex_timestamp":"000001a1a54fe8c0"} 
[2026-11-04 12:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 12:19:24] 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-11-04 12:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206356224001,"66":27843,"6":206,"2":54272,"24":35,"16":20521078862381056,"44":-1564015677496635392},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-11-04 12:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206356224001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:19:24] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 12:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20521078862381056,"km_value":20521078862381.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564015677496635392,"description":"Unknown IO ID 44"} 
[2026-11-04 12:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206356224001,"power":27843,"unknown_6":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1564015677496635392}} 
[2026-11-04 12:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":232542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:19:25] local.INFO: GPS data processed {"connection_id":232542,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:19:25] local.INFO: Acknowledgment sent {"connection_id":232542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:19:49] local.INFO: TCP Data received {"connection_id":230688,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:19:49] local.INFO: Processing buffer {"connection_id":230688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:19:49] local.INFO: Packet analysis {"connection_id":230688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:19:49] local.INFO: Extracted packet for processing {"connection_id":230688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:19: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-11-04 12:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:19:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:19:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":230688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:19:49] local.INFO: GPS data processed {"connection_id":230688,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:19:49] local.INFO: Acknowledgment sent {"connection_id":230688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:20:07] local.INFO: TCP Data received {"connection_id":228884,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:20:07] local.INFO: Processing buffer {"connection_id":228884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:20:07] local.INFO: IMEI packet received {"connection_id":228884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":228884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:20:09] local.INFO: TCP Data received {"connection_id":228885,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:20:09] local.INFO: Processing buffer {"connection_id":228885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:20:09] local.INFO: IMEI packet received {"connection_id":228885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":228885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:20:12] local.INFO: TCP Data received {"connection_id":228884,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:20:12] local.INFO: Processing buffer {"connection_id":228884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:20:12] local.INFO: IMEI packet received {"connection_id":228884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":228884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:20:13] local.INFO: TCP Data received {"connection_id":228884,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:20:13] local.INFO: Processing buffer {"connection_id":228884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:20:13] local.INFO: Packet analysis {"connection_id":228884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:20:13] local.INFO: Extracted packet for processing {"connection_id":228884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:20: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-11-04 12:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:20:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":228884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:20:13] local.INFO: GPS data processed {"connection_id":228884,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:20:13] local.INFO: Acknowledgment sent {"connection_id":228884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:20:14] local.INFO: TCP Data received {"connection_id":228885,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:20:14] local.INFO: Processing buffer {"connection_id":228885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:20:14] local.INFO: IMEI packet received {"connection_id":228885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":228885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:20:17] local.INFO: TCP Data received {"connection_id":228885,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a551a228012cea8b0007215c880004000d21..."} 
[2026-11-04 12:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a551a228012cea8b0007215c880004000d21..."} 
[2026-11-04 12:20:17] local.INFO: Processing buffer {"connection_id":228885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a551a228012cea8b0007215c880004000d21..."} 
[2026-11-04 12:20:17] local.INFO: Packet analysis {"connection_id":228885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a551"} 
[2026-11-04 12:20:17] local.INFO: Extracted packet for processing {"connection_id":228885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a551"} 
[2026-11-04 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":753568512,"raw_latitude":119626888,"longitude_deg":75.3568512,"latitude_deg":11.9626888,"altitude":4,"angle":13,"satellites":33,"speed":46,"hex_longitude":"2cea8b00","hex_latitude":"07215c88","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206385664001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20526048139542528,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1549097503705081856,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793774953000,"timestamp_ms":1793774953000,"timestamp_seconds":1793774953,"priority":1,"record_length":96,"hex_timestamp":"000001a1a551a228"} 
[2026-11-04 12:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:20: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-11-04 12: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-11-04 12:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206385664001,"66":28354,"26":206,"2":54272,"24":46,"16":20526048139542528,"44":-1549097503705081856},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,2,24,16,44]} 
[2026-11-04 12:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206385664001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:20:17] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-11-04 12:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20526048139542528,"km_value":20526048139542.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:20:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1549097503705081856,"description":"Unknown IO ID 44"} 
[2026-11-04 12:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206385664001,"power":28354,"unknown_26":206,"power_alt":54272,"ignition":46,"odometer":null,"unknown_44":-1549097503705081856}} 
[2026-11-04 12:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":228885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:20:17] local.INFO: GPS data processed {"connection_id":228885,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:20:17] local.INFO: Acknowledgment sent {"connection_id":228885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:20:44] local.INFO: TCP Data received {"connection_id":228884,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:20:44] local.INFO: Processing buffer {"connection_id":228884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:20:44] local.INFO: Packet analysis {"connection_id":228884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:20:44] local.INFO: Extracted packet for processing {"connection_id":228884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:20: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-11-04 12:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:20:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":228884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:20:44] local.INFO: GPS data processed {"connection_id":228884,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:20:44] local.INFO: Acknowledgment sent {"connection_id":228884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:21:07] local.INFO: TCP Data received {"connection_id":230689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:21:07] local.INFO: Processing buffer {"connection_id":230689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:21:07] local.INFO: IMEI packet received {"connection_id":230689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":230689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:21:12] local.INFO: TCP Data received {"connection_id":228885,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a551c168012cea9640072181200004001422..."} 
[2026-11-04 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a551c168012cea9640072181200004001422..."} 
[2026-11-04 12:21:12] local.INFO: Processing buffer {"connection_id":228885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a551c168012cea9640072181200004001422..."} 
[2026-11-04 12:21:12] local.INFO: Packet analysis {"connection_id":228885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a551"} 
[2026-11-04 12:21:12] local.INFO: Extracted packet for processing {"connection_id":228885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a551"} 
[2026-11-04 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":753571392,"raw_latitude":119636256,"longitude_deg":75.3571392,"latitude_deg":11.9636256,"altitude":4,"angle":20,"satellites":34,"speed":50,"hex_longitude":"2cea9640","hex_latitude":"07218120","is_valid_coordinates":true} 
[2026-11-04 12:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206387968001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20526520585945088,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1546142016447150080,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793774961000,"timestamp_ms":1793774961000,"timestamp_seconds":1793774961,"priority":1,"record_length":96,"hex_timestamp":"000001a1a551c168"} 
[2026-11-04 12:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:21: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-11-04 12:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206387968001,"66":28300,"26":206,"2":54272,"24":50,"16":20526520585945088,"44":-1546142016447150080},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,2,24,16,44]} 
[2026-11-04 12:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206387968001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:21:12] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-11-04 12:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20526520585945088,"km_value":20526520585945.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1546142016447150080,"description":"Unknown IO ID 44"} 
[2026-11-04 12:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206387968001,"power":28300,"unknown_26":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1546142016447150080}} 
[2026-11-04 12:21:12] local.INFO: TCP Data received {"connection_id":230689,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:21:12] local.INFO: Processing buffer {"connection_id":230689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:21:12] local.INFO: IMEI packet received {"connection_id":230689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":230689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":228885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:21:12] local.INFO: GPS data processed {"connection_id":228885,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:21:12] local.INFO: Acknowledgment sent {"connection_id":228885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:21:13] local.INFO: TCP Data received {"connection_id":230689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:21:13] local.INFO: Processing buffer {"connection_id":230689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:21:13] local.INFO: Packet analysis {"connection_id":230689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:21:13] local.INFO: Extracted packet for processing {"connection_id":230689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:21: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-11-04 12:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:21:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":230689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:21:13] local.INFO: GPS data processed {"connection_id":230689,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:21:13] local.INFO: Acknowledgment sent {"connection_id":230689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:21:28] local.INFO: TCP Data received {"connection_id":230690,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:28] local.INFO: Processing buffer {"connection_id":230690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:28] local.INFO: IMEI packet received {"connection_id":230690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":230690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:21:28] local.INFO: TCP Data received {"connection_id":230690,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:28] local.INFO: Processing buffer {"connection_id":230690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:28] local.INFO: IMEI packet received {"connection_id":230690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":230690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:21:29] local.INFO: TCP Data received {"connection_id":230690,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:29] local.INFO: Processing buffer {"connection_id":230690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:29] local.INFO: IMEI packet received {"connection_id":230690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":230690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:21:35] local.INFO: TCP Data received {"connection_id":230690,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:35] local.INFO: Processing buffer {"connection_id":230690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:21:35] local.INFO: IMEI packet received {"connection_id":230690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":230690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:21:36] local.INFO: TCP Data received {"connection_id":230690,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a551dcc0012ceaa5800721a0680004001d2a..."} 
[2026-11-04 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a551dcc0012ceaa5800721a0680004001d2a..."} 
[2026-11-04 12:21:36] local.INFO: Processing buffer {"connection_id":230690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a551dcc0012ceaa5800721a0680004001d2a..."} 
[2026-11-04 12:21:36] local.INFO: Packet analysis {"connection_id":230690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a551"} 
[2026-11-04 12:21:36] local.INFO: Extracted packet for processing {"connection_id":230690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a551"} 
[2026-11-04 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":753575296,"raw_latitude":119644264,"longitude_deg":75.3575296,"latitude_deg":11.9644264,"altitude":4,"angle":29,"satellites":42,"speed":51,"hex_longitude":"2ceaa580","hex_latitude":"0721a068","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206390016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20526950082674688,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1542975422956756992,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793774968000,"timestamp_ms":1793774968000,"timestamp_seconds":1793774968,"priority":1,"record_length":96,"hex_timestamp":"000001a1a551dcc0"} 
[2026-11-04 12:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:21:36] 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-11-04 12: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-11-04 12:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":230690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":230690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":230690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206390016001,"66":28376,"26":206,"2":54272,"24":51,"16":20526950082674688,"44":-1542975422956756992},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,2,24,16,44]} 
[2026-11-04 12:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206390016001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:21:36] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-11-04 12:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20526950082674688,"km_value":20526950082674.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1542975422956756992,"description":"Unknown IO ID 44"} 
[2026-11-04 12:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206390016001,"power":28376,"unknown_26":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-1542975422956756992}} 
[2026-11-04 12:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":230690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:21:37] local.INFO: GPS data processed {"connection_id":230690,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:21:37] local.INFO: Acknowledgment sent {"connection_id":230690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:21:44] local.INFO: TCP Data received {"connection_id":230689,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:21:44] local.INFO: Processing buffer {"connection_id":230689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:21:44] local.INFO: Packet analysis {"connection_id":230689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:21:44] local.INFO: Extracted packet for processing {"connection_id":230689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:21: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-11-04 12:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:21:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":230689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:21:44] local.INFO: GPS data processed {"connection_id":230689,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:21:44] local.INFO: Acknowledgment sent {"connection_id":230689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:22:06] local.INFO: TCP Data received {"connection_id":229396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:22:06] local.INFO: Processing buffer {"connection_id":229396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:22:06] local.INFO: IMEI packet received {"connection_id":229396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":229396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:22:08] local.INFO: TCP Data received {"connection_id":228886,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:08] local.INFO: Processing buffer {"connection_id":228886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:08] local.INFO: IMEI packet received {"connection_id":228886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":228886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:22:09] local.INFO: TCP Data received {"connection_id":228886,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:09] local.INFO: Processing buffer {"connection_id":228886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:09] local.INFO: IMEI packet received {"connection_id":228886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":228886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:22:12] local.INFO: TCP Data received {"connection_id":229396,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:22:12] local.INFO: Processing buffer {"connection_id":229396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:22:12] local.INFO: IMEI packet received {"connection_id":229396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":229396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:22:13] local.INFO: TCP Data received {"connection_id":229396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:22:13] local.INFO: Processing buffer {"connection_id":229396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:22:13] local.INFO: Packet analysis {"connection_id":229396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:22:13] local.INFO: Extracted packet for processing {"connection_id":229396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:22: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-11-04 12:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":229396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:22:13] local.INFO: GPS data processed {"connection_id":229396,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:22:13] local.INFO: Acknowledgment sent {"connection_id":229396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:22:14] local.INFO: TCP Data received {"connection_id":228886,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:14] local.INFO: Processing buffer {"connection_id":228886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:22:14] local.INFO: IMEI packet received {"connection_id":228886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":228886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:22:15] local.INFO: TCP Data received {"connection_id":228886,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55320f8012ceb74800722b880001000452b..."} 
[2026-11-04 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55320f8012ceb74800722b880001000452b..."} 
[2026-11-04 12:22:15] local.INFO: Processing buffer {"connection_id":228886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55320f8012ceb74800722b880001000452b..."} 
[2026-11-04 12:22:15] local.INFO: Packet analysis {"connection_id":228886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a553"} 
[2026-11-04 12:22:15] local.INFO: Extracted packet for processing {"connection_id":228886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a553"} 
[2026-11-04 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":753628288,"raw_latitude":119715968,"longitude_deg":75.3628288,"latitude_deg":11.9715968,"altitude":16,"angle":69,"satellites":43,"speed":13,"hex_longitude":"2ceb7480","hex_latitude":"0722b880","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206410752001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20531287999643648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484639734013677568,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:15] 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-11-04 12:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793775051000,"timestamp_ms":1793775051000,"timestamp_seconds":1793775051,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55320f8"} 
[2026-11-04 12:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:22: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-11-04 12: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-11-04 12:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":228886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":228886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":228886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206410752001,"66":28376,"110":206,"2":54272,"24":13,"16":20531287999643648,"44":-1484639734013677568},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-11-04 12:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206410752001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:22:15] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-11-04 12:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20531287999643648,"km_value":20531287999643.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484639734013677568,"description":"Unknown IO ID 44"} 
[2026-11-04 12:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206410752001,"power":28376,"unknown_110":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1484639734013677568}} 
[2026-11-04 12:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":228886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:22:15] local.INFO: GPS data processed {"connection_id":228886,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:22:15] local.INFO: Acknowledgment sent {"connection_id":228886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:22:45] local.INFO: TCP Data received {"connection_id":229396,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:22:45] local.INFO: Processing buffer {"connection_id":229396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:22:45] local.INFO: Packet analysis {"connection_id":229396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:22:45] local.INFO: Extracted packet for processing {"connection_id":229396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":229396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:22:45] local.INFO: GPS data processed {"connection_id":229396,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:22:45] local.INFO: Acknowledgment sent {"connection_id":229396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:22:47] local.INFO: TCP Data received {"connection_id":228886,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5534bf0012ceb8b400722c230001000392b..."} 
[2026-11-04 12:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5534bf0012ceb8b400722c230001000392b..."} 
[2026-11-04 12:22:47] local.INFO: Processing buffer {"connection_id":228886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5534bf0012ceb8b400722c230001000392b..."} 
[2026-11-04 12:22:47] local.INFO: Packet analysis {"connection_id":228886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a553"} 
[2026-11-04 12:22:47] local.INFO: Extracted packet for processing {"connection_id":228886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a553"} 
[2026-11-04 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":753634112,"raw_latitude":119718448,"longitude_deg":75.3634112,"latitude_deg":11.9718448,"altitude":16,"angle":57,"satellites":43,"speed":27,"hex_longitude":"2ceb8b40","hex_latitude":"0722c230","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206413056001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20531592942321664,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480417609362407424,"note":"Value kept but may cause issues"} 
[2026-11-04 12:22:47] 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-11-04 12:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793775062000,"timestamp_ms":1793775062000,"timestamp_seconds":1793775062,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5534bf0"} 
[2026-11-04 12:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 12:22: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-11-04 12: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-11-04 12:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206413056001,"66":28376,"235":206,"2":54272,"24":27,"16":20531592942321664,"44":-1480417609362407424},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-11-04 12:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206413056001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:22:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-11-04 12:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20531592942321664,"km_value":20531592942321.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:22:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480417609362407424,"description":"Unknown IO ID 44"} 
[2026-11-04 12:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206413056001,"power":28376,"unknown_235":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1480417609362407424}} 
[2026-11-04 12:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":228886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:22:47] local.INFO: GPS data processed {"connection_id":228886,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:22:47] local.INFO: Acknowledgment sent {"connection_id":228886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:23:06] local.INFO: TCP Data received {"connection_id":230691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:23:06] local.INFO: Processing buffer {"connection_id":230691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:23:06] local.INFO: IMEI packet received {"connection_id":230691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":230691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:23:11] local.INFO: TCP Data received {"connection_id":228887,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:11] local.INFO: Processing buffer {"connection_id":228887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:11] local.INFO: IMEI packet received {"connection_id":228887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":228887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:23:12] local.INFO: TCP Data received {"connection_id":230691,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:23:12] local.INFO: Processing buffer {"connection_id":230691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:23:12] local.INFO: IMEI packet received {"connection_id":230691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":230691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:23:13] local.INFO: TCP Data received {"connection_id":230691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:23:13] local.INFO: Processing buffer {"connection_id":230691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:23:13] local.INFO: Packet analysis {"connection_id":230691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:23:13] local.INFO: Extracted packet for processing {"connection_id":230691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:23: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-11-04 12:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":230691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:23:13] local.INFO: GPS data processed {"connection_id":230691,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:23:13] local.INFO: Acknowledgment sent {"connection_id":230691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:23:14] local.INFO: TCP Data received {"connection_id":228887,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:14] local.INFO: Processing buffer {"connection_id":228887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:14] local.INFO: IMEI packet received {"connection_id":228887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":228887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:23:15] local.INFO: TCP Data received {"connection_id":228887,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:15] local.INFO: Processing buffer {"connection_id":228887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:23:15] local.INFO: IMEI packet received {"connection_id":228887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":228887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:23:16] local.INFO: TCP Data received {"connection_id":228887,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5546530012ceca90007235160001d00462d..."} 
[2026-11-04 12:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5546530012ceca90007235160001d00462d..."} 
[2026-11-04 12:23:16] local.INFO: Processing buffer {"connection_id":228887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5546530012ceca90007235160001d00462d..."} 
[2026-11-04 12:23:16] local.INFO: Packet analysis {"connection_id":228887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:23:16] local.INFO: Extracted packet for processing {"connection_id":228887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:23:16] local.INFO: GPS Element Parsed {"raw_longitude":753707264,"raw_latitude":119755104,"longitude_deg":75.3707264,"latitude_deg":11.9755104,"altitude":29,"angle":70,"satellites":45,"speed":53,"hex_longitude":"2ceca900","hex_latitude":"07235160","is_valid_coordinates":true} 
[2026-11-04 12:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206434304001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20535565787070464,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1393582579037151232,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793775134000,"timestamp_ms":1793775134000,"timestamp_seconds":1793775134,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5546530"} 
[2026-11-04 12:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:23: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-11-04 12:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":228887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":228887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":228887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206434304001,"66":28354,"226":206,"2":54272,"24":53,"16":20535565787070464,"44":-1393582579037151232},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,2,24,16,44]} 
[2026-11-04 12:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206434304001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:23:16] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-04 12:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20535565787070464,"km_value":20535565787070.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1393582579037151232,"description":"Unknown IO ID 44"} 
[2026-11-04 12:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206434304001,"power":28354,"unknown_226":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1393582579037151232}} 
[2026-11-04 12:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":228887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:23:16] local.INFO: GPS data processed {"connection_id":228887,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:23:16] local.INFO: Acknowledgment sent {"connection_id":228887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:23:44] local.INFO: TCP Data received {"connection_id":230691,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:23:44] local.INFO: Processing buffer {"connection_id":230691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a550c380012d34c80006aa3e38000a005026..."} 
[2026-11-04 12:23:44] local.INFO: Packet analysis {"connection_id":230691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:23:44] local.INFO: Extracted packet for processing {"connection_id":230691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a550"} 
[2026-11-04 12:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820344,"longitude_deg":75.8433792,"latitude_deg":11.1820344,"altitude":10,"angle":80,"satellites":38,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e38","is_valid_coordinates":true} 
[2026-11-04 12:23: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-11-04 12:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206370560001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793774896000,"timestamp_ms":1793774896000,"timestamp_seconds":1793774896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a550c380"} 
[2026-11-04 12:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":19,"data_length":795,"current_offset":136} 
[2026-11-04 12:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206370560001,"66":25734,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206370560001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:23:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:23:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206370560001,"power":25734,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":230691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:23:44] local.INFO: GPS data processed {"connection_id":230691,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:23:44] local.INFO: Acknowledgment sent {"connection_id":230691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:23:47] local.INFO: TCP Data received {"connection_id":228887,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5547ca0012cecc68007235f20001d003a2c..."} 
[2026-11-04 12:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5547ca0012cecc68007235f20001d003a2c..."} 
[2026-11-04 12:23:47] local.INFO: Processing buffer {"connection_id":228887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5547ca0012cecc68007235f20001d003a2c..."} 
[2026-11-04 12:23:47] local.INFO: Packet analysis {"connection_id":228887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:23:47] local.INFO: Extracted packet for processing {"connection_id":228887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":753714816,"raw_latitude":119758624,"longitude_deg":75.3714816,"latitude_deg":11.9758624,"altitude":29,"angle":58,"satellites":44,"speed":54,"hex_longitude":"2cecc680","hex_latitude":"07235f20","is_valid_coordinates":true} 
[2026-11-04 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206434304001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20535965219028992,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1393582579037151232,"note":"Value kept but may cause issues"} 
[2026-11-04 12:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793775140000,"timestamp_ms":1793775140000,"timestamp_seconds":1793775140,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5547ca0"} 
[2026-11-04 12:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:23:47] 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-11-04 12:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":228887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":228887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":228887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206434304001,"66":28398,"226":206,"2":54272,"24":54,"16":20535965219028992,"44":-1393582579037151232},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,2,24,16,44]} 
[2026-11-04 12:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206434304001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:23:47] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-04 12:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20535965219028992,"km_value":20535965219028.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1393582579037151232,"description":"Unknown IO ID 44"} 
[2026-11-04 12:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206434304001,"power":28398,"unknown_226":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-1393582579037151232}} 
[2026-11-04 12:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":228887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:23:47] local.INFO: GPS data processed {"connection_id":228887,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:23:47] local.INFO: Acknowledgment sent {"connection_id":228887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:24:06] local.INFO: TCP Data received {"connection_id":232543,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:24:06] local.INFO: Processing buffer {"connection_id":232543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:24:06] local.INFO: IMEI packet received {"connection_id":232543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":232543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:24:12] local.INFO: TCP Data received {"connection_id":232543,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:24:12] local.INFO: Processing buffer {"connection_id":232543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:24:12] local.INFO: IMEI packet received {"connection_id":232543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":232543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:24:12] local.INFO: TCP Data received {"connection_id":232543,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:24:12] local.INFO: Processing buffer {"connection_id":232543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:24:12] local.INFO: Packet analysis {"connection_id":232543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:24:12] local.INFO: Extracted packet for processing {"connection_id":232543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:24:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":232543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:24:13] local.INFO: GPS data processed {"connection_id":232543,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:24:13] local.INFO: Acknowledgment sent {"connection_id":232543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:24:13] local.INFO: TCP Data received {"connection_id":232544,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:14] local.INFO: Processing buffer {"connection_id":232544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:14] local.INFO: IMEI packet received {"connection_id":232544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":232544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:24:14] local.INFO: TCP Data received {"connection_id":232544,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:14] local.INFO: Processing buffer {"connection_id":232544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:14] local.INFO: IMEI packet received {"connection_id":232544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":232544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:24:19] local.INFO: TCP Data received {"connection_id":232544,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:19] local.INFO: Processing buffer {"connection_id":232544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:24:19] local.INFO: IMEI packet received {"connection_id":232544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":232544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:24:23] local.INFO: TCP Data received {"connection_id":232544,"ip":"117.224.230.154","data_length":1360,"data_hex":"000000000000030f8e0a000001a1a55497f8012cece68007237400001c00372c..."} 
[2026-11-04 12:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232544,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1a55497f8012cece68007237400001c00372c..."} 
[2026-11-04 12:24:23] local.INFO: Processing buffer {"connection_id":232544,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1a55497f8012cece68007237400001c00372c..."} 
[2026-11-04 12:24:23] local.INFO: Packet analysis {"connection_id":232544,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:24:23] local.INFO: Extracted packet for processing {"connection_id":232544,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":753723008,"raw_latitude":119763968,"longitude_deg":75.3723008,"latitude_deg":11.9763968,"altitude":28,"angle":55,"satellites":44,"speed":56,"hex_longitude":"2cece680","hex_latitude":"07237400","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206435840001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20536429075496960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1385279067223285760,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:23] 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-11-04 12:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793775147000,"timestamp_ms":1793775147000,"timestamp_seconds":1793775147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55497f8"} 
[2026-11-04 12:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:24:23] 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-11-04 12: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-11-04 12:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206435840001,"66":28300,"233":206,"2":54272,"24":56,"16":20536429075496960,"44":-1385279067223285760},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,2,24,16,44]} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206435840001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:24:23] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-04 12:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20536429075496960,"km_value":20536429075496.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:24:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1385279067223285760,"description":"Unknown IO ID 44"} 
[2026-11-04 12:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206435840001,"power":28300,"unknown_233":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-1385279067223285760}} 
[2026-11-04 12:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":232544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:24:23] local.INFO: GPS data processed {"connection_id":232544,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:24:23] local.INFO: Acknowledgment sent {"connection_id":232544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:24:23] local.INFO: Packet analysis {"connection_id":232544,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:24:23] local.INFO: Incomplete packet, waiting for more data {"connection_id":232544,"needed":795,"available":565} 
[2026-11-04 12:24:23] local.INFO: TCP Data received {"connection_id":232544,"ip":"117.224.230.154","data_length":230,"data_hex":"2cec470007233e18001a00442b00300000000a000400ef0100715900f0010045..."} 
[2026-11-04 12:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232544,"packet_length":230,"packet_hex":"2cec470007233e18001a00442b00300000000a000400ef0100715900f0010045..."} 
[2026-11-04 12:24:23] local.INFO: Processing buffer {"connection_id":232544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a554af68012ced0040072389d0001a00292a..."} 
[2026-11-04 12:24:23] local.INFO: Packet analysis {"connection_id":232544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:24:23] local.INFO: Extracted packet for processing {"connection_id":232544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":753729600,"raw_latitude":119769552,"longitude_deg":75.37296,"latitude_deg":11.9769552,"altitude":26,"angle":41,"satellites":42,"speed":57,"hex_longitude":"2ced0040","hex_latitude":"072389d0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206437632001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20536845687324672,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1376271867967176704,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:23] 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-11-04 12:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793775153000,"timestamp_ms":1793775153000,"timestamp_seconds":1793775153,"priority":1,"record_length":96,"hex_timestamp":"000001a1a554af68"} 
[2026-11-04 12:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:24:23] 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-11-04 12: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-11-04 12:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206437632001,"66":28354,"233":206,"2":54272,"24":57,"16":20536845687324672,"44":-1376271867967176704},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,2,24,16,44]} 
[2026-11-04 12:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206437632001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:24:23] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-04 12:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20536845687324672,"km_value":20536845687324.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:24:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1376271867967176704,"description":"Unknown IO ID 44"} 
[2026-11-04 12:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206437632001,"power":28354,"unknown_233":206,"power_alt":54272,"ignition":57,"odometer":null,"unknown_44":-1376271867967176704}} 
[2026-11-04 12:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":232544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:24:24] local.INFO: GPS data processed {"connection_id":232544,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:24:24] local.INFO: Acknowledgment sent {"connection_id":232544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:24:24] local.INFO: TCP Data received {"connection_id":232544,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a554bf08012ced0d8007239cd80019001b2b..."} 
[2026-11-04 12:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a554bf08012ced0d8007239cd80019001b2b..."} 
[2026-11-04 12:24:24] local.INFO: Processing buffer {"connection_id":232544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a554bf08012ced0d8007239cd80019001b2b..."} 
[2026-11-04 12:24:24] local.INFO: Packet analysis {"connection_id":232544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:24:24] local.INFO: Extracted packet for processing {"connection_id":232544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a554"} 
[2026-11-04 12:24:24] local.INFO: GPS Element Parsed {"raw_longitude":753732992,"raw_latitude":119774424,"longitude_deg":75.3732992,"latitude_deg":11.9774424,"altitude":25,"angle":27,"satellites":43,"speed":58,"hex_longitude":"2ced0d80","hex_latitude":"07239cd8","is_valid_coordinates":true} 
[2026-11-04 12:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206439168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20537133450133504,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1369023887315447808,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:24] 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-11-04 12:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793775157000,"timestamp_ms":1793775157000,"timestamp_seconds":1793775157,"priority":1,"record_length":96,"hex_timestamp":"000001a1a554bf08"} 
[2026-11-04 12:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:24:24] 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-11-04 12:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206439168001,"66":28332,"233":206,"2":54272,"24":58,"16":20537133450133504,"44":-1369023887315447808},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,2,24,16,44]} 
[2026-11-04 12:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206439168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:24:24] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-11-04 12:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20537133450133504,"km_value":20537133450133.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:24:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1369023887315447808,"description":"Unknown IO ID 44"} 
[2026-11-04 12:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206439168001,"power":28332,"unknown_233":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-1369023887315447808}} 
[2026-11-04 12:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":232544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:24:24] local.INFO: GPS data processed {"connection_id":232544,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:24:24] local.INFO: Acknowledgment sent {"connection_id":232544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:24:44] local.INFO: TCP Data received {"connection_id":232543,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:24:44] local.INFO: Processing buffer {"connection_id":232543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:24:44] local.INFO: Packet analysis {"connection_id":232543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:24:44] local.INFO: Extracted packet for processing {"connection_id":232543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 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-11-04 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 12:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:24:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":232543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:24:44] local.INFO: GPS data processed {"connection_id":232543,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:24:44] local.INFO: Acknowledgment sent {"connection_id":232543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:25:06] local.INFO: TCP Data received {"connection_id":229397,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:06] local.INFO: Processing buffer {"connection_id":229397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:06] local.INFO: IMEI packet received {"connection_id":229397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":229397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:25:07] local.INFO: TCP Data received {"connection_id":230692,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:25:07] local.INFO: Processing buffer {"connection_id":230692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:25:07] local.INFO: IMEI packet received {"connection_id":230692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":230692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:25:07] local.INFO: TCP Data received {"connection_id":229397,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:07] local.INFO: Processing buffer {"connection_id":229397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:07] local.INFO: IMEI packet received {"connection_id":229397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":229397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:25:08] local.INFO: TCP Data received {"connection_id":229397,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:08] local.INFO: Processing buffer {"connection_id":229397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:08] local.INFO: IMEI packet received {"connection_id":229397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":229397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:25:12] local.INFO: TCP Data received {"connection_id":230692,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:25:12] local.INFO: Processing buffer {"connection_id":230692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:25:12] local.INFO: IMEI packet received {"connection_id":230692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":230692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:25:13] local.INFO: TCP Data received {"connection_id":230692,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:25:13] local.INFO: Processing buffer {"connection_id":230692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:25:13] local.INFO: Packet analysis {"connection_id":230692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:25:13] local.INFO: Extracted packet for processing {"connection_id":230692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:25:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":230692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:25:13] local.INFO: GPS data processed {"connection_id":230692,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:25:13] local.INFO: Acknowledgment sent {"connection_id":230692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:25:13] local.INFO: TCP Data received {"connection_id":229397,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:13] local.INFO: Processing buffer {"connection_id":229397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:25:13] local.INFO: IMEI packet received {"connection_id":229397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":229397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:25:14] local.INFO: TCP Data received {"connection_id":229397,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a555e400012ced7a800724f710002901582b..."} 
[2026-11-04 12:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a555e400012ced7a800724f710002901582b..."} 
[2026-11-04 12:25:14] local.INFO: Processing buffer {"connection_id":229397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a555e400012ced7a800724f710002901582b..."} 
[2026-11-04 12:25:14] local.INFO: Packet analysis {"connection_id":229397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:25:14] local.INFO: Extracted packet for processing {"connection_id":229397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:25:14] local.INFO: GPS Element Parsed {"raw_longitude":753760896,"raw_latitude":119863056,"longitude_deg":75.3760896,"latitude_deg":11.9863056,"altitude":41,"angle":344,"satellites":43,"speed":30,"hex_longitude":"2ced7a80","hex_latitude":"0724f710","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206456832001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20541759129911296,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1332995090274584576,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25: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-11-04 12:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793775232000,"timestamp_ms":1793775232000,"timestamp_seconds":1793775232,"priority":1,"record_length":96,"hex_timestamp":"000001a1a555e400"} 
[2026-11-04 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-11-04 12:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:25: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-11-04 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-11-04 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-11-04 12:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206456832001,"66":28376,"234":206,"2":54272,"24":30,"16":20541759129911296,"44":-1332995090274584576},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-11-04 12:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206456832001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:25:14] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-04 12:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20541759129911296,"km_value":20541759129911.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:25:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1332995090274584576,"description":"Unknown IO ID 44"} 
[2026-11-04 12:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206456832001,"power":28376,"unknown_234":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1332995090274584576}} 
[2026-11-04 12:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":229397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:25:14] local.INFO: GPS data processed {"connection_id":229397,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:25:14] local.INFO: Acknowledgment sent {"connection_id":229397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:25:44] local.INFO: TCP Data received {"connection_id":230692,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:25:44] local.INFO: Processing buffer {"connection_id":230692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:25:44] local.INFO: Packet analysis {"connection_id":230692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:25:44] local.INFO: Extracted packet for processing {"connection_id":230692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":230692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:25:44] local.INFO: GPS data processed {"connection_id":230692,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:25:44] local.INFO: Acknowledgment sent {"connection_id":230692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:25:45] local.INFO: TCP Data received {"connection_id":229397,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5560ef8012ced6ec0072517b80028015127..."} 
[2026-11-04 12:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5560ef8012ced6ec0072517b80028015127..."} 
[2026-11-04 12:25:45] local.INFO: Processing buffer {"connection_id":229397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5560ef8012ced6ec0072517b80028015127..."} 
[2026-11-04 12:25:45] local.INFO: Packet analysis {"connection_id":229397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a556"} 
[2026-11-04 12:25:45] local.INFO: Extracted packet for processing {"connection_id":229397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a556"} 
[2026-11-04 12:25:45] local.INFO: GPS Element Parsed {"raw_longitude":753757888,"raw_latitude":119871416,"longitude_deg":75.3757888,"latitude_deg":11.9871416,"altitude":40,"angle":337,"satellites":39,"speed":30,"hex_longitude":"2ced6ec0","hex_latitude":"072517b8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206459392001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20542188626640896,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1334613571388633088,"note":"Value kept but may cause issues"} 
[2026-11-04 12:25:45] 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-11-04 12:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793775243000,"timestamp_ms":1793775243000,"timestamp_seconds":1793775243,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5560ef8"} 
[2026-11-04 12:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 12:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206459392001,"66":28332,"234":206,"2":54272,"24":30,"16":20542188626640896,"44":-1334613571388633088},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-11-04 12:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206459392001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:25:45] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-11-04 12:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20542188626640896,"km_value":20542188626640.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:25:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1334613571388633088,"description":"Unknown IO ID 44"} 
[2026-11-04 12:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206459392001,"power":28332,"unknown_234":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1334613571388633088}} 
[2026-11-04 12:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":229397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:25:46] local.INFO: GPS data processed {"connection_id":229397,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:25:46] local.INFO: Acknowledgment sent {"connection_id":229397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:26:06] local.INFO: TCP Data received {"connection_id":228888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:26:06] local.INFO: Processing buffer {"connection_id":228888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:26:06] local.INFO: IMEI packet received {"connection_id":228888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":228888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:26:08] local.INFO: TCP Data received {"connection_id":232545,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:08] local.INFO: Processing buffer {"connection_id":232545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:08] local.INFO: IMEI packet received {"connection_id":232545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":232545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:26:09] local.INFO: TCP Data received {"connection_id":232545,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:09] local.INFO: Processing buffer {"connection_id":232545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:09] local.INFO: IMEI packet received {"connection_id":232545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":232545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:26:12] local.INFO: TCP Data received {"connection_id":228888,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:26:12] local.INFO: Processing buffer {"connection_id":228888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:26:12] local.INFO: IMEI packet received {"connection_id":228888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":228888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:26:13] local.INFO: TCP Data received {"connection_id":228888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:26:13] local.INFO: Processing buffer {"connection_id":228888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:26:13] local.INFO: Packet analysis {"connection_id":228888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:26:13] local.INFO: Extracted packet for processing {"connection_id":228888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:26:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:26:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":228888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:26:13] local.INFO: GPS data processed {"connection_id":228888,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:26:13] local.INFO: Acknowledgment sent {"connection_id":228888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:26:14] local.INFO: TCP Data received {"connection_id":232545,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:14] local.INFO: Processing buffer {"connection_id":232545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:26:14] local.INFO: IMEI packet received {"connection_id":232545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":232545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:26:16] local.INFO: TCP Data received {"connection_id":232545,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55714b0012ceca080072632080023014c2a..."} 
[2026-11-04 12:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55714b0012ceca080072632080023014c2a..."} 
[2026-11-04 12:26:16] local.INFO: Processing buffer {"connection_id":232545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55714b0012ceca080072632080023014c2a..."} 
[2026-11-04 12:26:16] local.INFO: Packet analysis {"connection_id":232545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a557"} 
[2026-11-04 12:26:16] local.INFO: Extracted packet for processing {"connection_id":232545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a557"} 
[2026-11-04 12:26:16] local.INFO: GPS Element Parsed {"raw_longitude":753705088,"raw_latitude":119943688,"longitude_deg":75.3705088,"latitude_deg":11.9943688,"altitude":35,"angle":332,"satellites":42,"speed":52,"hex_longitude":"2ceca080","hex_latitude":"07263208","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206479360001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20546530838577152,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395975116290914304,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:16] 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-11-04 12:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793775310000,"timestamp_ms":1793775310000,"timestamp_seconds":1793775310,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55714b0"} 
[2026-11-04 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-11-04 12:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 12:26: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-11-04 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-11-04 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-11-04 12:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206479360001,"66":27843,"33":206,"2":54272,"24":52,"16":20546530838577152,"44":-1395975116290914304},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-11-04 12:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206479360001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:26:16] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 12:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20546530838577152,"km_value":20546530838577.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:26:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395975116290914304,"description":"Unknown IO ID 44"} 
[2026-11-04 12:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206479360001,"power":27843,"unknown_33":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-1395975116290914304}} 
[2026-11-04 12:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":232545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:26:16] local.INFO: GPS data processed {"connection_id":232545,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:26:16] local.INFO: Acknowledgment sent {"connection_id":232545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:26:44] local.INFO: TCP Data received {"connection_id":228888,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:26:44] local.INFO: Processing buffer {"connection_id":228888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:26:44] local.INFO: Packet analysis {"connection_id":228888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:26:44] local.INFO: Extracted packet for processing {"connection_id":228888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:26:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:26:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":228888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:26:44] local.INFO: GPS data processed {"connection_id":228888,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:26:44] local.INFO: Acknowledgment sent {"connection_id":228888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:26:47] local.INFO: TCP Data received {"connection_id":232545,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5572838012cec9740072649a0002501582d..."} 
[2026-11-04 12:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5572838012cec9740072649a0002501582d..."} 
[2026-11-04 12:26:47] local.INFO: Processing buffer {"connection_id":232545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5572838012cec9740072649a0002501582d..."} 
[2026-11-04 12:26:47] local.INFO: Packet analysis {"connection_id":232545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a557"} 
[2026-11-04 12:26:47] local.INFO: Extracted packet for processing {"connection_id":232545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a557"} 
[2026-11-04 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":753702720,"raw_latitude":119949728,"longitude_deg":75.370272,"latitude_deg":11.9949728,"altitude":37,"angle":344,"satellites":45,"speed":51,"hex_longitude":"2cec9740","hex_latitude":"072649a0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206479360001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20546844371189760,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1395975116290914304,"note":"Value kept but may cause issues"} 
[2026-11-04 12:26:47] 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-11-04 12:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793775315000,"timestamp_ms":1793775315000,"timestamp_seconds":1793775315,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5572838"} 
[2026-11-04 12:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 12:26:47] 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-11-04 12: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-11-04 12:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206479360001,"66":28354,"33":206,"2":54272,"24":51,"16":20546844371189760,"44":-1395975116290914304},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-11-04 12:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206479360001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:26:47] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-11-04 12:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20546844371189760,"km_value":20546844371189.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1395975116290914304,"description":"Unknown IO ID 44"} 
[2026-11-04 12:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206479360001,"power":28354,"unknown_33":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-1395975116290914304}} 
[2026-11-04 12:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":232545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:26:47] local.INFO: GPS data processed {"connection_id":232545,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:26:47] local.INFO: Acknowledgment sent {"connection_id":232545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:27:07] local.INFO: TCP Data received {"connection_id":228889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:27:07] local.INFO: Processing buffer {"connection_id":228889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:27:07] local.INFO: IMEI packet received {"connection_id":228889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":228889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:27:09] local.INFO: TCP Data received {"connection_id":228890,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:27:09] local.INFO: Processing buffer {"connection_id":228890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:27:09] local.INFO: IMEI packet received {"connection_id":228890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":228890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:27:12] local.INFO: TCP Data received {"connection_id":228889,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:27:12] local.INFO: Processing buffer {"connection_id":228889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:27:12] local.INFO: IMEI packet received {"connection_id":228889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":228889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:27:13] local.INFO: TCP Data received {"connection_id":228889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:27:13] local.INFO: Processing buffer {"connection_id":228889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:27:13] local.INFO: Packet analysis {"connection_id":228889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:27:13] local.INFO: Extracted packet for processing {"connection_id":228889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":228889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:27:13] local.INFO: GPS data processed {"connection_id":228889,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:27:13] local.INFO: Acknowledgment sent {"connection_id":228889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:27:29] local.INFO: TCP Data received {"connection_id":228890,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:27:29] local.INFO: Processing buffer {"connection_id":228890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:27:29] local.INFO: IMEI packet received {"connection_id":228890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":228890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:27:33] local.INFO: TCP Data received {"connection_id":228890,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5580eb0012cec774007279150000f00042a..."} 
[2026-11-04 12:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5580eb0012cec774007279150000f00042a..."} 
[2026-11-04 12:27:33] local.INFO: Processing buffer {"connection_id":228890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5580eb0012cec774007279150000f00042a..."} 
[2026-11-04 12:27:33] local.INFO: Packet analysis {"connection_id":228890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a558"} 
[2026-11-04 12:27:33] local.INFO: Extracted packet for processing {"connection_id":228890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a558"} 
[2026-11-04 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":753694528,"raw_latitude":120033616,"longitude_deg":75.3694528,"latitude_deg":12.0033616,"altitude":15,"angle":4,"satellites":42,"speed":66,"hex_longitude":"2cec7740","hex_latitude":"07279150","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206494208001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20551031964303360,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408078540268974080,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793775374000,"timestamp_ms":1793775374000,"timestamp_seconds":1793775374,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5580eb0"} 
[2026-11-04 12:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 12:27:33] 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-11-04 12: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-11-04 12:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":228890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":228890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":228890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206494208001,"66":28300,"249":206,"2":56832,"24":66,"16":20551031964303360,"44":-1408078540268974080},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,44]} 
[2026-11-04 12:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206494208001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:27:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 12:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20551031964303360,"km_value":20551031964303.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:27:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408078540268974080,"description":"Unknown IO ID 44"} 
[2026-11-04 12:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206494208001,"power":28300,"unknown_249":206,"power_alt":56832,"ignition":66,"odometer":null,"unknown_44":-1408078540268974080}} 
[2026-11-04 12:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":228890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:27:33] local.INFO: GPS data processed {"connection_id":228890,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:27:33] local.INFO: Acknowledgment sent {"connection_id":228890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:27:45] local.INFO: TCP Data received {"connection_id":228889,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:27:45] local.INFO: Processing buffer {"connection_id":228889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:27:45] local.INFO: Packet analysis {"connection_id":228889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:27:45] local.INFO: Extracted packet for processing {"connection_id":228889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:27:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:27:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":228889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:27:45] local.INFO: GPS data processed {"connection_id":228889,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:27:45] local.INFO: Acknowledgment sent {"connection_id":228889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:28:06] local.INFO: TCP Data received {"connection_id":230693,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:28:06] local.INFO: Processing buffer {"connection_id":230693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:28:06] local.INFO: IMEI packet received {"connection_id":230693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":230693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:28:08] local.INFO: TCP Data received {"connection_id":230694,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:08] local.INFO: Processing buffer {"connection_id":230694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:08] local.INFO: IMEI packet received {"connection_id":230694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":230694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:28:10] local.INFO: TCP Data received {"connection_id":230694,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:10] local.INFO: Processing buffer {"connection_id":230694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:10] local.INFO: IMEI packet received {"connection_id":230694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":230694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:28:12] local.INFO: TCP Data received {"connection_id":230693,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:28:12] local.INFO: Processing buffer {"connection_id":230693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:28:12] local.INFO: IMEI packet received {"connection_id":230693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":230693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:28:12] local.INFO: TCP Data received {"connection_id":230693,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:28:12] local.INFO: Processing buffer {"connection_id":230693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:28:12] local.INFO: Packet analysis {"connection_id":230693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:28:12] local.INFO: Extracted packet for processing {"connection_id":230693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":230693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:28:13] local.INFO: GPS data processed {"connection_id":230693,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:28:13] local.INFO: Acknowledgment sent {"connection_id":230693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:28:14] local.INFO: TCP Data received {"connection_id":230694,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:14] local.INFO: Processing buffer {"connection_id":230694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:28:14] local.INFO: IMEI packet received {"connection_id":230694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":230694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:28:16] local.INFO: TCP Data received {"connection_id":230694,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5582620012cec78800727b888000b01652c..."} 
[2026-11-04 12:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5582620012cec78800727b888000b01652c..."} 
[2026-11-04 12:28:16] local.INFO: Processing buffer {"connection_id":230694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5582620012cec78800727b888000b01652c..."} 
[2026-11-04 12:28:16] local.INFO: Packet analysis {"connection_id":230694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a558"} 
[2026-11-04 12:28:16] local.INFO: Extracted packet for processing {"connection_id":230694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a558"} 
[2026-11-04 12:28:16] local.INFO: GPS Element Parsed {"raw_longitude":753694848,"raw_latitude":120043656,"longitude_deg":75.3694848,"latitude_deg":12.0043656,"altitude":11,"angle":357,"satellites":44,"speed":64,"hex_longitude":"2cec7880","hex_latitude":"0727b888","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206495744001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20551521590575104,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407585959057207296,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793775380000,"timestamp_ms":1793775380000,"timestamp_seconds":1793775380,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5582620"} 
[2026-11-04 12:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:28: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-11-04 12: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-11-04 12:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206495744001,"66":28376,"249":206,"2":56832,"24":64,"16":20551521590575104,"44":-1407585959057207296},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,44]} 
[2026-11-04 12:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206495744001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:28:16] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 12:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20551521590575104,"km_value":20551521590575.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:28:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407585959057207296,"description":"Unknown IO ID 44"} 
[2026-11-04 12:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206495744001,"power":28376,"unknown_249":206,"power_alt":56832,"ignition":64,"odometer":null,"unknown_44":-1407585959057207296}} 
[2026-11-04 12:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":230694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:28:17] local.INFO: GPS data processed {"connection_id":230694,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:28:17] local.INFO: Acknowledgment sent {"connection_id":230694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:28:44] local.INFO: TCP Data received {"connection_id":230693,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:28:44] local.INFO: Processing buffer {"connection_id":230693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5556700012d34c58006aa3e00000a005027..."} 
[2026-11-04 12:28:44] local.INFO: Packet analysis {"connection_id":230693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:28:44] local.INFO: Extracted packet for processing {"connection_id":230693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a555"} 
[2026-11-04 12:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":10,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206373376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940391936,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775200000,"timestamp_ms":1793775200000,"timestamp_seconds":1793775200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5556700"} 
[2026-11-04 12:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-11-04 12:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206373376001,"66":25756,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940391936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206373376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:28:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940391936,"description":"Unknown IO ID 45"} 
[2026-11-04 12:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206373376001,"power":25756,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940391936}} 
[2026-11-04 12:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":230693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:28:44] local.INFO: GPS data processed {"connection_id":230693,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:28:44] local.INFO: Acknowledgment sent {"connection_id":230693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:28:55] local.INFO: TCP Data received {"connection_id":230694,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55981c8012cec550007291048001101672b..."} 
[2026-11-04 12:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55981c8012cec550007291048001101672b..."} 
[2026-11-04 12:28:55] local.INFO: Processing buffer {"connection_id":230694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55981c8012cec550007291048001101672b..."} 
[2026-11-04 12:28:55] local.INFO: Packet analysis {"connection_id":230694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:28:55] local.INFO: Extracted packet for processing {"connection_id":230694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:28:55] local.INFO: GPS Element Parsed {"raw_longitude":753685760,"raw_latitude":120131656,"longitude_deg":75.368576,"latitude_deg":12.0131656,"altitude":17,"angle":359,"satellites":43,"speed":38,"hex_longitude":"2cec5500","hex_latitude":"07291048","is_valid_coordinates":true} 
[2026-11-04 12:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206517760001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20555829442772992,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416874633265958912,"note":"Value kept but may cause issues"} 
[2026-11-04 12:28:55] 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-11-04 12:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793775469000,"timestamp_ms":1793775469000,"timestamp_seconds":1793775469,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55981c8"} 
[2026-11-04 12:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 12:28:55] 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-11-04 12:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206517760001,"66":28267,"32":206,"2":54272,"24":38,"16":20555829442772992,"44":-1416874633265958912},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-11-04 12:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206517760001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:28:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-11-04 12:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20555829442772992,"km_value":20555829442772.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:28:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416874633265958912,"description":"Unknown IO ID 44"} 
[2026-11-04 12:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206517760001,"power":28267,"unknown_32":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1416874633265958912}} 
[2026-11-04 12:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":230694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:28:55] local.INFO: GPS data processed {"connection_id":230694,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:28:55] local.INFO: Acknowledgment sent {"connection_id":230694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:29:06] local.INFO: TCP Data received {"connection_id":230695,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:29:06] local.INFO: Processing buffer {"connection_id":230695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:29:06] local.INFO: IMEI packet received {"connection_id":230695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":230695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:29:08] local.INFO: TCP Data received {"connection_id":232546,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:08] local.INFO: Processing buffer {"connection_id":232546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:08] local.INFO: IMEI packet received {"connection_id":232546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":232546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:29:12] local.INFO: TCP Data received {"connection_id":230695,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:29:12] local.INFO: Processing buffer {"connection_id":230695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:29:12] local.INFO: IMEI packet received {"connection_id":230695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":230695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:29:12] local.INFO: TCP Data received {"connection_id":230695,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:29:12] local.INFO: Processing buffer {"connection_id":230695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:29:12] local.INFO: Packet analysis {"connection_id":230695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:12] local.INFO: Extracted packet for processing {"connection_id":230695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 12:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:29: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-11-04 12: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-11-04 12:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:29:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:29:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":230695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:29:12] local.INFO: GPS data processed {"connection_id":230695,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:29:12] local.INFO: Acknowledgment sent {"connection_id":230695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:29:13] local.INFO: TCP Data received {"connection_id":232546,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:13] local.INFO: Processing buffer {"connection_id":232546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:13] local.INFO: IMEI packet received {"connection_id":232546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":232546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:29:15] local.INFO: TCP Data received {"connection_id":232546,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232546,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:15] local.INFO: Processing buffer {"connection_id":232546,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:29:15] local.INFO: IMEI packet received {"connection_id":232546,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":232546,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:29:17] local.INFO: TCP Data received {"connection_id":232546,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559a8d8012cec584007293550001600072a..."} 
[2026-11-04 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559a8d8012cec584007293550001600072a..."} 
[2026-11-04 12:29:17] local.INFO: Processing buffer {"connection_id":232546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559a8d8012cec584007293550001600072a..."} 
[2026-11-04 12:29:17] local.INFO: Packet analysis {"connection_id":232546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:17] local.INFO: Extracted packet for processing {"connection_id":232546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":753686592,"raw_latitude":120141136,"longitude_deg":75.3686592,"latitude_deg":12.0141136,"altitude":22,"angle":7,"satellites":42,"speed":37,"hex_longitude":"2cec5840","hex_latitude":"07293550","is_valid_coordinates":true} 
[2026-11-04 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206520064001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20556293299240960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1417226476984449024,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29: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-11-04 12:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793775479000,"timestamp_ms":1793775479000,"timestamp_seconds":1793775479,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559a8d8"} 
[2026-11-04 12:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 12:29:17] 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-11-04 12:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206520064001,"66":28234,"32":206,"2":54272,"24":37,"16":20556293299240960,"44":-1417226476984449024},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-11-04 12:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206520064001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:29:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-11-04 12:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20556293299240960,"km_value":20556293299240.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:29:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1417226476984449024,"description":"Unknown IO ID 44"} 
[2026-11-04 12:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206520064001,"power":28234,"unknown_32":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1417226476984449024}} 
[2026-11-04 12:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":232546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:29:17] local.INFO: GPS data processed {"connection_id":232546,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:29:17] local.INFO: Acknowledgment sent {"connection_id":232546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:29:18] local.INFO: TCP Data received {"connection_id":232546,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559cfe8012cec5ec0072958480019000c27..."} 
[2026-11-04 12:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559cfe8012cec5ec0072958480019000c27..."} 
[2026-11-04 12:29:18] local.INFO: Processing buffer {"connection_id":232546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559cfe8012cec5ec0072958480019000c27..."} 
[2026-11-04 12:29:18] local.INFO: Packet analysis {"connection_id":232546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:18] local.INFO: Extracted packet for processing {"connection_id":232546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:18] local.INFO: GPS Element Parsed {"raw_longitude":753688256,"raw_latitude":120150088,"longitude_deg":75.3688256,"latitude_deg":12.0150088,"altitude":25,"angle":12,"satellites":39,"speed":37,"hex_longitude":"2cec5ec0","hex_latitude":"07295848","is_valid_coordinates":true} 
[2026-11-04 12:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206522624001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20556735680872448,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416311683307712512,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793775489000,"timestamp_ms":1793775489000,"timestamp_seconds":1793775489,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559cfe8"} 
[2026-11-04 12:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 12:29:18] 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-11-04 12:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206522624001,"66":28430,"249":206,"2":56832,"24":37,"16":20556735680872448,"44":-1416311683307712512},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,44]} 
[2026-11-04 12:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206522624001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:29:18] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 12:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20556735680872448,"km_value":20556735680872.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:29:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416311683307712512,"description":"Unknown IO ID 44"} 
[2026-11-04 12:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206522624001,"power":28430,"unknown_249":206,"power_alt":56832,"ignition":37,"odometer":null,"unknown_44":-1416311683307712512}} 
[2026-11-04 12:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":232546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:29:18] local.INFO: GPS data processed {"connection_id":232546,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:29:18] local.INFO: Acknowledgment sent {"connection_id":232546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:29:44] local.INFO: TCP Data received {"connection_id":230695,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:29:44] local.INFO: Processing buffer {"connection_id":230695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:29:44] local.INFO: Packet analysis {"connection_id":230695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:44] local.INFO: Extracted packet for processing {"connection_id":230695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 12:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:29:44] 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-11-04 12: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-11-04 12:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":230695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:29:44] local.INFO: GPS data processed {"connection_id":230695,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:29:44] local.INFO: Acknowledgment sent {"connection_id":230695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:29:51] local.INFO: TCP Data received {"connection_id":232546,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559f6f8012cec694007297c10001d000f2c..."} 
[2026-11-04 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559f6f8012cec694007297c10001d000f2c..."} 
[2026-11-04 12:29:51] local.INFO: Processing buffer {"connection_id":232546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559f6f8012cec694007297c10001d000f2c..."} 
[2026-11-04 12:29:51] local.INFO: Packet analysis {"connection_id":232546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:51] local.INFO: Extracted packet for processing {"connection_id":232546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":753690944,"raw_latitude":120159248,"longitude_deg":75.3690944,"latitude_deg":12.0159248,"altitude":29,"angle":15,"satellites":44,"speed":33,"hex_longitude":"2cec6940","hex_latitude":"07297c10","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206525184001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20557195242373120,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414482095956801536,"note":"Value kept but may cause issues"} 
[2026-11-04 12:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793775499000,"timestamp_ms":1793775499000,"timestamp_seconds":1793775499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559f6f8"} 
[2026-11-04 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 12:29:51] 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-11-04 12: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-11-04 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232546,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206525184001,"66":28300,"249":206,"2":56832,"24":33,"16":20557195242373120,"44":-1414482095956801536},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,44]} 
[2026-11-04 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206525184001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:29:51] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20557195242373120,"km_value":20557195242373.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1414482095956801536,"description":"Unknown IO ID 44"} 
[2026-11-04 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206525184001,"power":28300,"unknown_249":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-1414482095956801536}} 
[2026-11-04 12:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":232546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:29:51] local.INFO: GPS data processed {"connection_id":232546,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:29:51] local.INFO: Acknowledgment sent {"connection_id":232546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:30:07] local.INFO: TCP Data received {"connection_id":228891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:30:07] local.INFO: Processing buffer {"connection_id":228891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:30:07] local.INFO: IMEI packet received {"connection_id":228891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":228891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:30:11] local.INFO: TCP Data received {"connection_id":229398,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:11] local.INFO: Processing buffer {"connection_id":229398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:11] local.INFO: IMEI packet received {"connection_id":229398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":229398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:30:12] local.INFO: TCP Data received {"connection_id":228891,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:30:12] local.INFO: Processing buffer {"connection_id":228891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:30:12] local.INFO: IMEI packet received {"connection_id":228891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":228891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:30:13] local.INFO: TCP Data received {"connection_id":228891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:30:13] local.INFO: Processing buffer {"connection_id":228891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:30:13] local.INFO: Packet analysis {"connection_id":228891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:30:13] local.INFO: Extracted packet for processing {"connection_id":228891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 12:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:30:13] 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-11-04 12: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-11-04 12:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:30:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":228891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:30:13] local.INFO: GPS data processed {"connection_id":228891,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:30:13] local.INFO: Acknowledgment sent {"connection_id":228891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:30:14] local.INFO: TCP Data received {"connection_id":229398,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:14] local.INFO: Processing buffer {"connection_id":229398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:14] local.INFO: IMEI packet received {"connection_id":229398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":229398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:30:19] local.INFO: TCP Data received {"connection_id":229398,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:19] local.INFO: Processing buffer {"connection_id":229398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:30:19] local.INFO: IMEI packet received {"connection_id":229398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":229398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:30:20] local.INFO: TCP Data received {"connection_id":229398,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55a1e08012cec73800729a020001e00102b..."} 
[2026-11-04 12:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55a1e08012cec73800729a020001e00102b..."} 
[2026-11-04 12:30:20] local.INFO: Processing buffer {"connection_id":229398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55a1e08012cec73800729a020001e00102b..."} 
[2026-11-04 12:30:20] local.INFO: Packet analysis {"connection_id":229398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55a"} 
[2026-11-04 12:30:20] local.INFO: Extracted packet for processing {"connection_id":229398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55a"} 
[2026-11-04 12:30:20] local.INFO: GPS Element Parsed {"raw_longitude":753693568,"raw_latitude":120168480,"longitude_deg":75.3693568,"latitude_deg":12.016848,"altitude":30,"angle":16,"satellites":43,"speed":42,"hex_longitude":"2cec7380","hex_latitude":"0729a020","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206527744001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20557659098841088,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1411526608698994688,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793775509000,"timestamp_ms":1793775509000,"timestamp_seconds":1793775509,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55a1e08"} 
[2026-11-04 12:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:30: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-11-04 12: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-11-04 12:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206527744001,"66":28398,"249":206,"2":56832,"24":42,"16":20557659098841088,"44":-1411526608698994688},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,44]} 
[2026-11-04 12:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206527744001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:30:20] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 12:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20557659098841088,"km_value":20557659098841.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1411526608698994688,"description":"Unknown IO ID 44"} 
[2026-11-04 12:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206527744001,"power":28398,"unknown_249":206,"power_alt":56832,"ignition":42,"odometer":null,"unknown_44":-1411526608698994688}} 
[2026-11-04 12:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":229398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:30:20] local.INFO: GPS data processed {"connection_id":229398,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:30:20] local.INFO: Acknowledgment sent {"connection_id":229398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:30:24] local.INFO: TCP Data received {"connection_id":229398,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55a3578012cec78c00729b990001e00022b..."} 
[2026-11-04 12:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55a3578012cec78c00729b990001e00022b..."} 
[2026-11-04 12:30:24] local.INFO: Processing buffer {"connection_id":229398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55a3578012cec78c00729b990001e00022b..."} 
[2026-11-04 12:30:24] local.INFO: Packet analysis {"connection_id":229398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55a"} 
[2026-11-04 12:30:24] local.INFO: Extracted packet for processing {"connection_id":229398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55a"} 
[2026-11-04 12:30:24] local.INFO: GPS Element Parsed {"raw_longitude":753694912,"raw_latitude":120174992,"longitude_deg":75.3694912,"latitude_deg":12.0174992,"altitude":30,"angle":2,"satellites":43,"speed":44,"hex_longitude":"2cec78c0","hex_latitude":"0729b990","is_valid_coordinates":true} 
[2026-11-04 12:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206530304001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20557981221388288,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408641490185347072,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793775515000,"timestamp_ms":1793775515000,"timestamp_seconds":1793775515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55a3578"} 
[2026-11-04 12:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:30:24] 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-11-04 12:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206530304001,"66":28376,"249":206,"2":56832,"24":44,"16":20557981221388288,"44":-1408641490185347072},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,44]} 
[2026-11-04 12:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206530304001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:30:24] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-11-04 12:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20557981221388288,"km_value":20557981221388.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:30:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408641490185347072,"description":"Unknown IO ID 44"} 
[2026-11-04 12:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206530304001,"power":28376,"unknown_249":206,"power_alt":56832,"ignition":44,"odometer":null,"unknown_44":-1408641490185347072}} 
[2026-11-04 12:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":229398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:30:25] local.INFO: GPS data processed {"connection_id":229398,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:30:25] local.INFO: Acknowledgment sent {"connection_id":229398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:30:44] local.INFO: TCP Data received {"connection_id":228891,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:30:44] local.INFO: Processing buffer {"connection_id":228891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:30:44] local.INFO: Packet analysis {"connection_id":228891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:30:44] local.INFO: Extracted packet for processing {"connection_id":228891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 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-11-04 12:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:30:44] 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-11-04 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-11-04 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-11-04 12:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:30:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:30:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":228891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:30:44] local.INFO: GPS data processed {"connection_id":228891,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:30:44] local.INFO: Acknowledgment sent {"connection_id":228891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:31:06] local.INFO: TCP Data received {"connection_id":232547,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:31:06] local.INFO: Processing buffer {"connection_id":232547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:31:06] local.INFO: IMEI packet received {"connection_id":232547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":232547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:31:09] local.INFO: TCP Data received {"connection_id":232548,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:09] local.INFO: Processing buffer {"connection_id":232548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:09] local.INFO: IMEI packet received {"connection_id":232548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":232548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:31:09] local.INFO: TCP Data received {"connection_id":232548,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:09] local.INFO: Processing buffer {"connection_id":232548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:09] local.INFO: IMEI packet received {"connection_id":232548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":232548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:31:12] local.INFO: TCP Data received {"connection_id":232547,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:31:12] local.INFO: Processing buffer {"connection_id":232547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:31:12] local.INFO: IMEI packet received {"connection_id":232547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":232547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:31:13] local.INFO: TCP Data received {"connection_id":232547,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:31:13] local.INFO: Processing buffer {"connection_id":232547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:31:13] local.INFO: Packet analysis {"connection_id":232547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:31:13] local.INFO: Extracted packet for processing {"connection_id":232547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 12:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:31:13] 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-11-04 12: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-11-04 12:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:31:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":232547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:31:13] local.INFO: GPS data processed {"connection_id":232547,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:31:13] local.INFO: Acknowledgment sent {"connection_id":232547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:31:14] local.INFO: TCP Data received {"connection_id":232548,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:14] local.INFO: Processing buffer {"connection_id":232548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:31:14] local.INFO: IMEI packet received {"connection_id":232548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":232548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:31:15] local.INFO: TCP Data received {"connection_id":232548,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55bc3e8012cec19c0072ae9280028015f2a..."} 
[2026-11-04 12:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55bc3e8012cec19c0072ae9280028015f2a..."} 
[2026-11-04 12:31:15] local.INFO: Processing buffer {"connection_id":232548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55bc3e8012cec19c0072ae9280028015f2a..."} 
[2026-11-04 12:31:15] local.INFO: Packet analysis {"connection_id":232548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55b"} 
[2026-11-04 12:31:15] local.INFO: Extracted packet for processing {"connection_id":232548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55b"} 
[2026-11-04 12:31:15] local.INFO: GPS Element Parsed {"raw_longitude":753670592,"raw_latitude":120252712,"longitude_deg":75.3670592,"latitude_deg":12.0252712,"altitude":40,"angle":351,"satellites":42,"speed":31,"hex_longitude":"2cec19c0","hex_latitude":"072ae928","is_valid_coordinates":true} 
[2026-11-04 12:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206554880001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20561984130908160,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1432989075651610624,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793775617000,"timestamp_ms":1793775617000,"timestamp_seconds":1793775617,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55bc3e8"} 
[2026-11-04 12:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:31: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-11-04 12:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206554880001,"66":28376,"23":206,"2":56832,"24":31,"16":20561984130908160,"44":-1432989075651610624},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,2,24,16,44]} 
[2026-11-04 12:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206554880001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:31:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-11-04 12:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20561984130908160,"km_value":20561984130908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:31:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1432989075651610624,"description":"Unknown IO ID 44"} 
[2026-11-04 12:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206554880001,"power":28376,"unknown_23":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-1432989075651610624}} 
[2026-11-04 12:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":232548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:31:15] local.INFO: GPS data processed {"connection_id":232548,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:31:15] local.INFO: Acknowledgment sent {"connection_id":232548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:31:16] local.INFO: TCP Data received {"connection_id":232548,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55beaf8012cec1540072b0b800028015724..."} 
[2026-11-04 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55beaf8012cec1540072b0b800028015724..."} 
[2026-11-04 12:31:16] local.INFO: Processing buffer {"connection_id":232548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55beaf8012cec1540072b0b800028015724..."} 
[2026-11-04 12:31:16] local.INFO: Packet analysis {"connection_id":232548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55b"} 
[2026-11-04 12:31:16] local.INFO: Extracted packet for processing {"connection_id":232548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55b"} 
[2026-11-04 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":753669440,"raw_latitude":120261504,"longitude_deg":75.366944,"latitude_deg":12.0261504,"altitude":40,"angle":343,"satellites":36,"speed":40,"hex_longitude":"2cec1540","hex_latitude":"072b0b80","is_valid_coordinates":true} 
[2026-11-04 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206557952001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20562413627637760,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1433903869323565056,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793775627000,"timestamp_ms":1793775627000,"timestamp_seconds":1793775627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55beaf8"} 
[2026-11-04 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 12:31: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-11-04 12:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206557952001,"66":28430,"24":40,"2":56832,"16":20562413627637760,"44":-1433903869323565056},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-11-04 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206557952001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20562413627637760,"km_value":20562413627637.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:31:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1433903869323565056,"description":"Unknown IO ID 44"} 
[2026-11-04 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459206557952001,"power":28430,"ignition":40,"power_alt":56832,"odometer":null,"unknown_44":-1433903869323565056}} 
[2026-11-04 12:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":232548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59189,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:31:17] local.INFO: GPS data processed {"connection_id":232548,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:31:17] local.INFO: Acknowledgment sent {"connection_id":232548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:31:44] local.INFO: TCP Data received {"connection_id":232547,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:31:44] local.INFO: Processing buffer {"connection_id":232547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:31:44] local.INFO: Packet analysis {"connection_id":232547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:31:44] local.INFO: Extracted packet for processing {"connection_id":232547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 12:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:31:44] 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-11-04 12: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-11-04 12:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":232547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:31:44] local.INFO: GPS data processed {"connection_id":232547,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:31:44] local.INFO: Acknowledgment sent {"connection_id":232547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:31:48] local.INFO: TCP Data received {"connection_id":232548,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55bfa98012cec0f00072b1a400028014c25..."} 
[2026-11-04 12:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55bfa98012cec0f00072b1a400028014c25..."} 
[2026-11-04 12:31:48] local.INFO: Processing buffer {"connection_id":232548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55bfa98012cec0f00072b1a400028014c25..."} 
[2026-11-04 12:31:48] local.INFO: Packet analysis {"connection_id":232548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55b"} 
[2026-11-04 12:31:48] local.INFO: Extracted packet for processing {"connection_id":232548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55b"} 
[2026-11-04 12:31:48] local.INFO: GPS Element Parsed {"raw_longitude":753667840,"raw_latitude":120265280,"longitude_deg":75.366784,"latitude_deg":12.026528,"altitude":40,"angle":332,"satellites":37,"speed":40,"hex_longitude":"2cec0f00","hex_latitude":"072b1a40","is_valid_coordinates":true} 
[2026-11-04 12:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206560512001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20562611196133376,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1435170506716512256,"note":"Value kept but may cause issues"} 
[2026-11-04 12:31:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793775631000,"timestamp_ms":1793775631000,"timestamp_seconds":1793775631,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55bfa98"} 
[2026-11-04 12:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 12:31:48] 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-11-04 12:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206560512001,"66":28332,"24":40,"2":56832,"16":20562611196133376,"44":-1435170506716512256},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-11-04 12:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206560512001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20562611196133376,"km_value":20562611196133.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1435170506716512256,"description":"Unknown IO ID 44"} 
[2026-11-04 12:31:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459206560512001,"power":28332,"ignition":40,"power_alt":56832,"odometer":null,"unknown_44":-1435170506716512256}} 
[2026-11-04 12:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":232548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:31:48] local.INFO: GPS data processed {"connection_id":232548,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:31:48] local.INFO: Acknowledgment sent {"connection_id":232548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:32:06] local.INFO: TCP Data received {"connection_id":230696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:32:06] local.INFO: Processing buffer {"connection_id":230696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:32:06] local.INFO: IMEI packet received {"connection_id":230696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":230696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:32:07] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:07] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:07] local.INFO: IMEI packet received {"connection_id":229399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":229399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:32:08] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:08] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:08] local.INFO: IMEI packet received {"connection_id":229399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":229399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:32:12] local.INFO: TCP Data received {"connection_id":230696,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:32:12] local.INFO: Processing buffer {"connection_id":230696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:32:12] local.INFO: IMEI packet received {"connection_id":230696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":230696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:32:13] local.INFO: TCP Data received {"connection_id":230696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:32:13] local.INFO: Processing buffer {"connection_id":230696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:32:13] local.INFO: Packet analysis {"connection_id":230696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:32:13] local.INFO: Extracted packet for processing {"connection_id":230696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 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-11-04 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:32:13] 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-11-04 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-11-04 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-11-04 12:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:32:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":230696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:32:13] local.INFO: GPS data processed {"connection_id":230696,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:32:13] local.INFO: Acknowledgment sent {"connection_id":230696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:32:14] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:14] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:32:14] local.INFO: IMEI packet received {"connection_id":229399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":229399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:32:17] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55c1208012cec00c0072b2e480027014023..."} 
[2026-11-04 12:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55c1208012cec00c0072b2e480027014023..."} 
[2026-11-04 12:32:17] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55c1208012cec00c0072b2e480027014023..."} 
[2026-11-04 12:32:17] local.INFO: Packet analysis {"connection_id":229399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55c"} 
[2026-11-04 12:32:17] local.INFO: Extracted packet for processing {"connection_id":229399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55c"} 
[2026-11-04 12:32:17] local.INFO: GPS Element Parsed {"raw_longitude":753664192,"raw_latitude":120270408,"longitude_deg":75.3664192,"latitude_deg":12.0270408,"altitude":39,"angle":320,"satellites":35,"speed":43,"hex_longitude":"2cec00c0","hex_latitude":"072b2e48","is_valid_coordinates":true} 
[2026-11-04 12:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206561536001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20562916138811392,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1436929725319987200,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793775637000,"timestamp_ms":1793775637000,"timestamp_seconds":1793775637,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55c1208"} 
[2026-11-04 12:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 12:32:17] 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-11-04 12:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206561536001,"66":28354,"24":43,"2":56832,"16":20562916138811392,"44":-1436929725319987200},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-11-04 12:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206561536001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20562916138811392,"km_value":20562916138811.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:32:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1436929725319987200,"description":"Unknown IO ID 44"} 
[2026-11-04 12:32:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459206561536001,"power":28354,"ignition":43,"power_alt":56832,"odometer":null,"unknown_44":-1436929725319987200}} 
[2026-11-04 12:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":229399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:32:17] local.INFO: GPS data processed {"connection_id":229399,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:32:17] local.INFO: Acknowledgment sent {"connection_id":229399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:32:44] local.INFO: TCP Data received {"connection_id":230696,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:32:44] local.INFO: Processing buffer {"connection_id":230696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:32:44] local.INFO: Packet analysis {"connection_id":230696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:32:44] local.INFO: Extracted packet for processing {"connection_id":230696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 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-11-04 12:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:32:44] 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-11-04 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-11-04 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-11-04 12:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:32:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:32:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":230696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:32:44] local.INFO: GPS data processed {"connection_id":230696,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:32:44] local.INFO: Acknowledgment sent {"connection_id":230696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:32:48] local.INFO: TCP Data received {"connection_id":229399,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55c3530012cebe7c0072b4a180026013824..."} 
[2026-11-04 12:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55c3530012cebe7c0072b4a180026013824..."} 
[2026-11-04 12:32:48] local.INFO: Processing buffer {"connection_id":229399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55c3530012cebe7c0072b4a180026013824..."} 
[2026-11-04 12:32:48] local.INFO: Packet analysis {"connection_id":229399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55c"} 
[2026-11-04 12:32:48] local.INFO: Extracted packet for processing {"connection_id":229399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55c"} 
[2026-11-04 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":753657792,"raw_latitude":120277528,"longitude_deg":75.3657792,"latitude_deg":12.0277528,"altitude":38,"angle":312,"satellites":36,"speed":44,"hex_longitude":"2cebe7c0","hex_latitude":"072b4a18","is_valid_coordinates":true} 
[2026-11-04 12:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206563072001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20563375700312064,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1440940743736801280,"note":"Value kept but may cause issues"} 
[2026-11-04 12:32:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793775646000,"timestamp_ms":1793775646000,"timestamp_seconds":1793775646,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55c3530"} 
[2026-11-04 12:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:32: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-11-04 12:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206563072001,"66":28376,"24":44,"2":56832,"16":20563375700312064,"44":-1440940743736801280},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-11-04 12:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206563072001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20563375700312064,"km_value":20563375700312.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:32:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1440940743736801280,"description":"Unknown IO ID 44"} 
[2026-11-04 12:32:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459206563072001,"power":28376,"ignition":44,"power_alt":56832,"odometer":null,"unknown_44":-1440940743736801280}} 
[2026-11-04 12:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":229399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:32:49] local.INFO: GPS data processed {"connection_id":229399,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:32:49] local.INFO: Acknowledgment sent {"connection_id":229399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:33:06] local.INFO: TCP Data received {"connection_id":230697,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:33:06] local.INFO: Processing buffer {"connection_id":230697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:33:06] local.INFO: IMEI packet received {"connection_id":230697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":230697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:33:08] local.INFO: TCP Data received {"connection_id":228892,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:33:08] local.INFO: Processing buffer {"connection_id":228892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:33:08] local.INFO: IMEI packet received {"connection_id":228892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":228892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:33:12] local.INFO: TCP Data received {"connection_id":230697,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:33:12] local.INFO: Processing buffer {"connection_id":230697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:33:12] local.INFO: IMEI packet received {"connection_id":230697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":230697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:33:13] local.INFO: TCP Data received {"connection_id":230697,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:33:13] local.INFO: Processing buffer {"connection_id":230697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:33:13] local.INFO: Packet analysis {"connection_id":230697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:33:13] local.INFO: Extracted packet for processing {"connection_id":230697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 12:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:33:13] 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-11-04 12:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:33:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:33:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":230697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:33:13] local.INFO: GPS data processed {"connection_id":230697,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:33:13] local.INFO: Acknowledgment sent {"connection_id":230697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:33:14] local.INFO: TCP Data received {"connection_id":228892,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:33:14] local.INFO: Processing buffer {"connection_id":228892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:33:14] local.INFO: IMEI packet received {"connection_id":228892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":228892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:33:30] local.INFO: TCP Data received {"connection_id":228892,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55c5858012cebcd00072b63e00024013e27..."} 
[2026-11-04 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55c5858012cebcd00072b63e00024013e27..."} 
[2026-11-04 12:33:30] local.INFO: Processing buffer {"connection_id":228892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55c5858012cebcd00072b63e00024013e27..."} 
[2026-11-04 12:33:30] local.INFO: Packet analysis {"connection_id":228892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55c"} 
[2026-11-04 12:33:30] local.INFO: Extracted packet for processing {"connection_id":228892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55c"} 
[2026-11-04 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":753650944,"raw_latitude":120284128,"longitude_deg":75.3650944,"latitude_deg":12.0284128,"altitude":36,"angle":318,"satellites":39,"speed":37,"hex_longitude":"2cebcd00","hex_latitude":"072b63e0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206565376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20563830966845440,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1447977618152744960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,2,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793775655000,"timestamp_ms":1793775655000,"timestamp_seconds":1793775655,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55c5858"} 
[2026-11-04 12:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 12:33:30] 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-11-04 12: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-11-04 12:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":228892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":228892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":228892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206565376001,"66":28354,"24":37,"2":56832,"16":20563830966845440,"44":-1447977618152744960},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,2,16,44]} 
[2026-11-04 12:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206565376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20563830966845440,"km_value":20563830966845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1447977618152744960,"description":"Unknown IO ID 44"} 
[2026-11-04 12:33:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459206565376001,"power":28354,"ignition":37,"power_alt":56832,"odometer":null,"unknown_44":-1447977618152744960}} 
[2026-11-04 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":228892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:33:31] local.INFO: GPS data processed {"connection_id":228892,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:33:31] local.INFO: Acknowledgment sent {"connection_id":228892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:33:45] local.INFO: TCP Data received {"connection_id":230697,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:33:45] local.INFO: Processing buffer {"connection_id":230697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a559fae0012d34c58006aa3e00000f005027..."} 
[2026-11-04 12:33:45] local.INFO: Packet analysis {"connection_id":230697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:33:45] local.INFO: Extracted packet for processing {"connection_id":230697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a559"} 
[2026-11-04 12:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":15,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206451200001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793775500000,"timestamp_ms":1793775500000,"timestamp_seconds":1793775500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a559fae0"} 
[2026-11-04 12:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 12:33: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-11-04 12:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206451200001,"66":25702,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206451200001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206451200001,"power":25702,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":230697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:33:45] local.INFO: GPS data processed {"connection_id":230697,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:33:45] local.INFO: Acknowledgment sent {"connection_id":230697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:34:06] local.INFO: TCP Data received {"connection_id":232549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:34:06] local.INFO: Processing buffer {"connection_id":232549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:34:06] local.INFO: IMEI packet received {"connection_id":232549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":232549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:34:09] local.INFO: TCP Data received {"connection_id":232550,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:34:09] local.INFO: Processing buffer {"connection_id":232550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:34:09] local.INFO: IMEI packet received {"connection_id":232550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":232550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:34:12] local.INFO: TCP Data received {"connection_id":232549,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:34:12] local.INFO: Processing buffer {"connection_id":232549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:34:12] local.INFO: IMEI packet received {"connection_id":232549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":232549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:34:13] local.INFO: TCP Data received {"connection_id":232549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:34:13] local.INFO: Processing buffer {"connection_id":232549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:34:13] local.INFO: Packet analysis {"connection_id":232549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:34:13] local.INFO: Extracted packet for processing {"connection_id":232549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:34:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:34:13] 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-11-04 12: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-11-04 12:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:34:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:34:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":232549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:34:13] local.INFO: GPS data processed {"connection_id":232549,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:34:13] local.INFO: Acknowledgment sent {"connection_id":232549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:34:14] local.INFO: TCP Data received {"connection_id":232550,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:34:14] local.INFO: Processing buffer {"connection_id":232550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:34:14] local.INFO: IMEI packet received {"connection_id":232550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":232550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:34:20] local.INFO: TCP Data received {"connection_id":232550,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55dee98012ceb3340072c6168002e014727..."} 
[2026-11-04 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55dee98012ceb3340072c6168002e014727..."} 
[2026-11-04 12:34:20] local.INFO: Processing buffer {"connection_id":232550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55dee98012ceb3340072c6168002e014727..."} 
[2026-11-04 12:34:20] local.INFO: Packet analysis {"connection_id":232550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55d"} 
[2026-11-04 12:34:20] local.INFO: Extracted packet for processing {"connection_id":232550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55d"} 
[2026-11-04 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":753611584,"raw_latitude":120349032,"longitude_deg":75.3611584,"latitude_deg":12.0349032,"altitude":46,"angle":327,"satellites":39,"speed":25,"hex_longitude":"2ceb3340","hex_latitude":"072c6168","is_valid_coordinates":true} 
[2026-11-04 12:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206590720001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20567593358196736,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1493083983154221056,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793775759000,"timestamp_ms":1793775759000,"timestamp_seconds":1793775759,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55dee98"} 
[2026-11-04 12:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 12:34: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-11-04 12:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206590720001,"66":28332,"246":206,"2":56832,"24":25,"16":20567593358196736,"44":-1493083983154221056},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-11-04 12:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206590720001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20567593358196736,"km_value":20567593358196.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1493083983154221056,"description":"Unknown IO ID 44"} 
[2026-11-04 12:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206590720001,"power":28332,"main_input_voltage":206,"power_alt":56832,"ignition":25,"odometer":null,"unknown_44":-1493083983154221056}} 
[2026-11-04 12:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":232550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:34:20] local.INFO: GPS data processed {"connection_id":232550,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:34:20] local.INFO: Acknowledgment sent {"connection_id":232550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:34:44] local.INFO: TCP Data received {"connection_id":232549,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:34:44] local.INFO: Processing buffer {"connection_id":232549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:34:44] local.INFO: Packet analysis {"connection_id":232549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:34:44] local.INFO: Extracted packet for processing {"connection_id":232549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:34: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-11-04 12:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:34:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:34:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":232549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:34:44] local.INFO: GPS data processed {"connection_id":232549,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:34:44] local.INFO: Acknowledgment sent {"connection_id":232549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:34:52] local.INFO: TCP Data received {"connection_id":232550,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e2160012ceb1b00072c7e40002e013f26..."} 
[2026-11-04 12:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e2160012ceb1b00072c7e40002e013f26..."} 
[2026-11-04 12:34:52] local.INFO: Processing buffer {"connection_id":232550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e2160012ceb1b00072c7e40002e013f26..."} 
[2026-11-04 12:34:52] local.INFO: Packet analysis {"connection_id":232550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:34:52] local.INFO: Extracted packet for processing {"connection_id":232550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:34:52] local.INFO: GPS Element Parsed {"raw_longitude":753605376,"raw_latitude":120356416,"longitude_deg":75.3605376,"latitude_deg":12.0356416,"altitude":46,"angle":319,"satellites":38,"speed":33,"hex_longitude":"2ceb1b00","hex_latitude":"072c7e40","is_valid_coordinates":true} 
[2026-11-04 12:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206594304001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20568057214664704,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1498783851430713344,"note":"Value kept but may cause issues"} 
[2026-11-04 12:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793775772000,"timestamp_ms":1793775772000,"timestamp_seconds":1793775772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e2160"} 
[2026-11-04 12:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 12:34:52] 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-11-04 12:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206594304001,"66":28354,"246":206,"2":56832,"24":33,"16":20568057214664704,"44":-1498783851430713344},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-11-04 12:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206594304001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20568057214664704,"km_value":20568057214664.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1498783851430713344,"description":"Unknown IO ID 44"} 
[2026-11-04 12:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206594304001,"power":28354,"main_input_voltage":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-1498783851430713344}} 
[2026-11-04 12:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":232550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:34:52] local.INFO: GPS data processed {"connection_id":232550,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:34:52] local.INFO: Acknowledgment sent {"connection_id":232550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:35:06] local.INFO: TCP Data received {"connection_id":230698,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:35:06] local.INFO: Processing buffer {"connection_id":230698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:35:06] local.INFO: IMEI packet received {"connection_id":230698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":230698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:35:08] local.INFO: TCP Data received {"connection_id":232551,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:08] local.INFO: Processing buffer {"connection_id":232551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:08] local.INFO: IMEI packet received {"connection_id":232551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":232551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:35:11] local.INFO: TCP Data received {"connection_id":232551,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:11] local.INFO: Processing buffer {"connection_id":232551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:11] local.INFO: IMEI packet received {"connection_id":232551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":232551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:35:12] local.INFO: TCP Data received {"connection_id":230698,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:35:12] local.INFO: Processing buffer {"connection_id":230698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:35:12] local.INFO: IMEI packet received {"connection_id":230698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":230698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:35:12] local.INFO: TCP Data received {"connection_id":230698,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:35:12] local.INFO: Processing buffer {"connection_id":230698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:35:12] local.INFO: Packet analysis {"connection_id":230698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:35:12] local.INFO: Extracted packet for processing {"connection_id":230698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:35: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-11-04 12:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:35:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:35:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":230698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:35:13] local.INFO: GPS data processed {"connection_id":230698,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:35:13] local.INFO: Acknowledgment sent {"connection_id":230698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:35:21] local.INFO: TCP Data received {"connection_id":232551,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:21] local.INFO: Processing buffer {"connection_id":232551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:35:21] local.INFO: IMEI packet received {"connection_id":232551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":232551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:35:23] local.INFO: TCP Data received {"connection_id":232551,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e5bf8012ceb0340072c9a48002c014027..."} 
[2026-11-04 12:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e5bf8012ceb0340072c9a48002c014027..."} 
[2026-11-04 12:35:23] local.INFO: Processing buffer {"connection_id":232551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e5bf8012ceb0340072c9a48002c014027..."} 
[2026-11-04 12:35:23] local.INFO: Packet analysis {"connection_id":232551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:35:23] local.INFO: Extracted packet for processing {"connection_id":232551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:35:23] local.INFO: GPS Element Parsed {"raw_longitude":753599296,"raw_latitude":120363592,"longitude_deg":75.3599296,"latitude_deg":12.0363592,"altitude":44,"angle":320,"satellites":39,"speed":21,"hex_longitude":"2ceb0340","hex_latitude":"072c9a48","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206597632001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20568508186230784,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1505609619614056448,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793775787000,"timestamp_ms":1793775787000,"timestamp_seconds":1793775787,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e5bf8"} 
[2026-11-04 12:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:35: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-11-04 12: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-11-04 12:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206597632001,"66":28376,"246":206,"2":56832,"24":21,"16":20568508186230784,"44":-1505609619614056448},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,2,24,16,44]} 
[2026-11-04 12:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206597632001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20568508186230784,"km_value":20568508186230.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:35:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1505609619614056448,"description":"Unknown IO ID 44"} 
[2026-11-04 12:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206597632001,"power":28376,"main_input_voltage":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-1505609619614056448}} 
[2026-11-04 12:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":232551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:35:23] local.INFO: GPS data processed {"connection_id":232551,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:35:23] local.INFO: Acknowledgment sent {"connection_id":232551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:35:44] local.INFO: TCP Data received {"connection_id":230698,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:35:44] local.INFO: Processing buffer {"connection_id":230698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:35:44] local.INFO: Packet analysis {"connection_id":230698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:35:44] local.INFO: Extracted packet for processing {"connection_id":230698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:35: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-11-04 12: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-11-04 12:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:35:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:35:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":230698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:35:44] local.INFO: GPS data processed {"connection_id":230698,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:35:44] local.INFO: Acknowledgment sent {"connection_id":230698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:36:07] local.INFO: TCP Data received {"connection_id":229400,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:36:07] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:36:07] local.INFO: IMEI packet received {"connection_id":229400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":229400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:36:12] local.INFO: TCP Data received {"connection_id":229400,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:36:12] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:36:12] local.INFO: IMEI packet received {"connection_id":229400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":229400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:36:13] local.INFO: TCP Data received {"connection_id":229400,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:36:13] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:36:13] local.INFO: Packet analysis {"connection_id":229400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:36:13] local.INFO: Extracted packet for processing {"connection_id":229400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:36:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:36:13] 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-11-04 12:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:36:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":229400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:36:13] local.INFO: GPS data processed {"connection_id":229400,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:36:13] local.INFO: Acknowledgment sent {"connection_id":229400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:36:14] local.INFO: TCP Data received {"connection_id":229401,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:36:14] local.INFO: Processing buffer {"connection_id":229401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:36:14] local.INFO: IMEI packet received {"connection_id":229401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":229401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:36:18] local.INFO: TCP Data received {"connection_id":229401,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:36:19] local.INFO: Processing buffer {"connection_id":229401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:36:19] local.INFO: IMEI packet received {"connection_id":229401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":229401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:36:20] local.INFO: TCP Data received {"connection_id":229401,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56001d8012cea6380072dac700028002d29..."} 
[2026-11-04 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56001d8012cea6380072dac700028002d29..."} 
[2026-11-04 12:36:20] local.INFO: Processing buffer {"connection_id":229401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56001d8012cea6380072dac700028002d29..."} 
[2026-11-04 12:36:20] local.INFO: Packet analysis {"connection_id":229401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:36:20] local.INFO: Extracted packet for processing {"connection_id":229401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":753558400,"raw_latitude":120433776,"longitude_deg":75.35584,"latitude_deg":12.0433776,"altitude":40,"angle":45,"satellites":41,"speed":15,"hex_longitude":"2cea6380","hex_latitude":"072dac70","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206628864001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572592700129280,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557541752797437952,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:20] 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-11-04 12:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793775895000,"timestamp_ms":1793775895000,"timestamp_seconds":1793775895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56001d8"} 
[2026-11-04 12:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:36:20] 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-11-04 12: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-11-04 12:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206628864001,"66":28398,"12":206,"2":56832,"24":15,"16":20572592700129280,"44":-1557541752797437952},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-11-04 12:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206628864001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:36:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 12:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572592700129280,"km_value":20572592700129.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557541752797437952,"description":"Unknown IO ID 44"} 
[2026-11-04 12:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206628864001,"power":28398,"unknown_12":206,"power_alt":56832,"ignition":15,"odometer":null,"unknown_44":-1557541752797437952}} 
[2026-11-04 12:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":229401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:36:20] local.INFO: GPS data processed {"connection_id":229401,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:36:20] local.INFO: Acknowledgment sent {"connection_id":229401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:36:44] local.INFO: TCP Data received {"connection_id":229400,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:36:44] local.INFO: Processing buffer {"connection_id":229400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:36:44] local.INFO: Packet analysis {"connection_id":229400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:36:44] local.INFO: Extracted packet for processing {"connection_id":229400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:36: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-11-04 12: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-11-04 12:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:36:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":229400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:36:44] local.INFO: GPS data processed {"connection_id":229400,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:36:44] local.INFO: Acknowledgment sent {"connection_id":229400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:36:57] local.INFO: TCP Data received {"connection_id":229401,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56005c0012cea64c0072dad48002700402a..."} 
[2026-11-04 12:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56005c0012cea64c0072dad48002700402a..."} 
[2026-11-04 12:36:57] local.INFO: Processing buffer {"connection_id":229401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56005c0012cea64c0072dad48002700402a..."} 
[2026-11-04 12:36:57] local.INFO: Packet analysis {"connection_id":229401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:36:57] local.INFO: Extracted packet for processing {"connection_id":229401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:36:57] local.INFO: GPS Element Parsed {"raw_longitude":753558720,"raw_latitude":120433992,"longitude_deg":75.355872,"latitude_deg":12.0433992,"altitude":39,"angle":64,"satellites":42,"speed":16,"hex_longitude":"2cea64c0","hex_latitude":"072dad48","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206629120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572609879998464,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557260277820657664,"note":"Value kept but may cause issues"} 
[2026-11-04 12:36:57] 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-11-04 12:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793775896000,"timestamp_ms":1793775896000,"timestamp_seconds":1793775896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56005c0"} 
[2026-11-04 12:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:36:57] 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-11-04 12: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-11-04 12:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206629120001,"66":28148,"12":206,"2":56832,"24":16,"16":20572609879998464,"44":-1557260277820657664},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-11-04 12:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206629120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:36:57] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 12:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572609879998464,"km_value":20572609879998.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:36:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557260277820657664,"description":"Unknown IO ID 44"} 
[2026-11-04 12:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206629120001,"power":28148,"unknown_12":206,"power_alt":56832,"ignition":16,"odometer":null,"unknown_44":-1557260277820657664}} 
[2026-11-04 12:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":229401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:36:57] local.INFO: GPS data processed {"connection_id":229401,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:36:57] local.INFO: Acknowledgment sent {"connection_id":229401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:37:06] local.INFO: TCP Data received {"connection_id":230699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:37:06] local.INFO: Processing buffer {"connection_id":230699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:37:06] local.INFO: IMEI packet received {"connection_id":230699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:37:12] local.INFO: TCP Data received {"connection_id":230699,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:37:12] local.INFO: Processing buffer {"connection_id":230699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:37:12] local.INFO: IMEI packet received {"connection_id":230699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":230699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:37:13] local.INFO: TCP Data received {"connection_id":230699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:37:13] local.INFO: Processing buffer {"connection_id":230699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:37:13] local.INFO: Packet analysis {"connection_id":230699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:37:13] local.INFO: Extracted packet for processing {"connection_id":230699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:37:13] 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-11-04 12:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:37:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":230699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:37:13] local.INFO: GPS data processed {"connection_id":230699,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:37:13] local.INFO: Acknowledgment sent {"connection_id":230699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:37:19] local.INFO: TCP Data received {"connection_id":230700,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:37:19] local.INFO: Processing buffer {"connection_id":230700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:37:19] local.INFO: IMEI packet received {"connection_id":230700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":230700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:37:23] local.INFO: TCP Data received {"connection_id":230700,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:37:23] local.INFO: Processing buffer {"connection_id":230700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:37:23] local.INFO: IMEI packet received {"connection_id":230700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":230700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:37:44] local.INFO: TCP Data received {"connection_id":230699,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:37:45] local.INFO: Processing buffer {"connection_id":230699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:37:45] local.INFO: Packet analysis {"connection_id":230699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:37:45] local.INFO: Extracted packet for processing {"connection_id":230699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:37: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-11-04 12: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-11-04 12:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":230699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:37:45] local.INFO: GPS data processed {"connection_id":230699,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:37:45] local.INFO: Acknowledgment sent {"connection_id":230699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:37:55] local.INFO: TCP Data received {"connection_id":230700,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56009a8012cea6680072dadc00027004f2a..."} 
[2026-11-04 12:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56009a8012cea6680072dadc00027004f2a..."} 
[2026-11-04 12:37:55] local.INFO: Processing buffer {"connection_id":230700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56009a8012cea6680072dadc00027004f2a..."} 
[2026-11-04 12:37:55] local.INFO: Packet analysis {"connection_id":230700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:37:55] local.INFO: Extracted packet for processing {"connection_id":230700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:37:55] local.INFO: GPS Element Parsed {"raw_longitude":753559168,"raw_latitude":120434112,"longitude_deg":75.3559168,"latitude_deg":12.0434112,"altitude":39,"angle":79,"satellites":42,"speed":17,"hex_longitude":"2cea6680","hex_latitude":"072dadc0","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206629376001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556908434099714048,"note":"Value kept but may cause issues"} 
[2026-11-04 12:37:55] 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-11-04 12:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793775897000,"timestamp_ms":1793775897000,"timestamp_seconds":1793775897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56009a8"} 
[2026-11-04 12:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 12:37:55] 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-11-04 12: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-11-04 12:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230700,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206629376001,"66":28148,"12":206,"2":56832,"24":17,"16":20572631354834944,"44":-1556908434099714048},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-11-04 12:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206629376001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:37:55] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 12:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1556908434099714048,"description":"Unknown IO ID 44"} 
[2026-11-04 12:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206629376001,"power":28148,"unknown_12":206,"power_alt":56832,"ignition":17,"odometer":null,"unknown_44":-1556908434099714048}} 
[2026-11-04 12:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":230700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:37:55] local.INFO: GPS data processed {"connection_id":230700,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:37:55] local.INFO: Acknowledgment sent {"connection_id":230700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:38:06] local.INFO: TCP Data received {"connection_id":229402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:38:06] local.INFO: Processing buffer {"connection_id":229402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:38:06] local.INFO: IMEI packet received {"connection_id":229402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":229402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:38:12] local.INFO: TCP Data received {"connection_id":229402,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:38:12] local.INFO: Processing buffer {"connection_id":229402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:38:12] local.INFO: IMEI packet received {"connection_id":229402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":229402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:38:12] local.INFO: TCP Data received {"connection_id":229402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:38:12] local.INFO: Processing buffer {"connection_id":229402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:38:12] local.INFO: Packet analysis {"connection_id":229402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:38:12] local.INFO: Extracted packet for processing {"connection_id":229402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:38: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-11-04 12:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:38:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:38:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":229402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:38:12] local.INFO: GPS data processed {"connection_id":229402,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:38:12] local.INFO: Acknowledgment sent {"connection_id":229402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:38:44] local.INFO: TCP Data received {"connection_id":228893,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:44] local.INFO: Processing buffer {"connection_id":228893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:44] local.INFO: IMEI packet received {"connection_id":228893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":228893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:38:44] local.INFO: TCP Data received {"connection_id":229402,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:38:44] local.INFO: Processing buffer {"connection_id":229402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a55e92a8012d34c58006aa3e000003005024..."} 
[2026-11-04 12:38:44] local.INFO: Packet analysis {"connection_id":229402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:38:44] local.INFO: Extracted packet for processing {"connection_id":229402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a55e"} 
[2026-11-04 12:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":36,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206528000001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793775801000,"timestamp_ms":1793775801000,"timestamp_seconds":1793775801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a55e92a8"} 
[2026-11-04 12:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:38: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-11-04 12: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-11-04 12:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206528000001,"66":25680,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206528000001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:38:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:38:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206528000001,"power":25680,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":229402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:38:44] local.INFO: GPS data processed {"connection_id":229402,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:38:44] local.INFO: Acknowledgment sent {"connection_id":229402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:38:45] local.INFO: TCP Data received {"connection_id":228893,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:45] local.INFO: Processing buffer {"connection_id":228893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:45] local.INFO: IMEI packet received {"connection_id":228893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":228893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:38:49] local.INFO: TCP Data received {"connection_id":228893,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:49] local.INFO: Processing buffer {"connection_id":228893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:38:49] local.INFO: IMEI packet received {"connection_id":228893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":228893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:38:50] local.INFO: TCP Data received {"connection_id":228893,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a560e0800100000000000000000000000000..."} 
[2026-11-04 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a560e0800100000000000000000000000000..."} 
[2026-11-04 12:38:50] local.INFO: Processing buffer {"connection_id":228893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a560e0800100000000000000000000000000..."} 
[2026-11-04 12:38:50] local.INFO: Packet analysis {"connection_id":228893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:38:50] local.INFO: Extracted packet for processing {"connection_id":228893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a560"} 
[2026-11-04 12:38: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-11-04 12: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-11-04 12:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206629632001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1556415852890439680,"note":"Value kept but may cause issues"} 
[2026-11-04 12:38:50] 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-11-04 12:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793775952000,"timestamp_ms":1793775952000,"timestamp_seconds":1793775952,"priority":1,"record_length":96,"hex_timestamp":"000001a1a560e080"} 
[2026-11-04 12:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 12:38:50] 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-11-04 12: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-11-04 12:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":228893,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 12:38:50] local.INFO: GPS data processed {"connection_id":228893,"processed":0,"errors":0,"total":1} 
[2026-11-04 12:38:50] local.INFO: Acknowledgment sent {"connection_id":228893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:39:06] local.INFO: TCP Data received {"connection_id":228894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:39:06] local.INFO: Processing buffer {"connection_id":228894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:39:06] local.INFO: IMEI packet received {"connection_id":228894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":228894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:39:12] local.INFO: TCP Data received {"connection_id":228894,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:39:12] local.INFO: Processing buffer {"connection_id":228894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:39:12] local.INFO: IMEI packet received {"connection_id":228894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":228894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:39:13] local.INFO: TCP Data received {"connection_id":228894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:39:13] local.INFO: Processing buffer {"connection_id":228894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:39:13] local.INFO: Packet analysis {"connection_id":228894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:39:13] local.INFO: Extracted packet for processing {"connection_id":228894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206605056001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776102000,"timestamp_ms":1793776102000,"timestamp_seconds":1793776102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5632a70"} 
[2026-11-04 12:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 12:39:13] 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-11-04 12: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-11-04 12:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206605056001,"66":25647,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206605056001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206605056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":228894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:39:13] local.INFO: GPS data processed {"connection_id":228894,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:39:13] local.INFO: Acknowledgment sent {"connection_id":228894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:39:13] local.INFO: TCP Data received {"connection_id":230701,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:13] local.INFO: Processing buffer {"connection_id":230701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:13] local.INFO: IMEI packet received {"connection_id":230701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":230701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:39:15] local.INFO: TCP Data received {"connection_id":230701,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:15] local.INFO: Processing buffer {"connection_id":230701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:15] local.INFO: IMEI packet received {"connection_id":230701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":230701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:39:19] local.INFO: TCP Data received {"connection_id":230701,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:19] local.INFO: Processing buffer {"connection_id":230701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:39:19] local.INFO: IMEI packet received {"connection_id":230701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":230701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:39:20] local.INFO: TCP Data received {"connection_id":230701,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a562ebf0012cec34c0072d6b280033005224..."} 
[2026-11-04 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a562ebf0012cec34c0072d6b280033005224..."} 
[2026-11-04 12:39:20] local.INFO: Processing buffer {"connection_id":230701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a562ebf0012cec34c0072d6b280033005224..."} 
[2026-11-04 12:39:20] local.INFO: Packet analysis {"connection_id":230701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a562"} 
[2026-11-04 12:39:20] local.INFO: Extracted packet for processing {"connection_id":230701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a562"} 
[2026-11-04 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":753677504,"raw_latitude":120417064,"longitude_deg":75.3677504,"latitude_deg":12.0417064,"altitude":51,"angle":82,"satellites":36,"speed":0,"hex_longitude":"2cec34c0","hex_latitude":"072d6b28","is_valid_coordinates":true} 
[2026-11-04 12:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206672896001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426304044910303232,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793776086000,"timestamp_ms":1793776086000,"timestamp_seconds":1793776086,"priority":1,"record_length":96,"hex_timestamp":"000001a1a562ebf0"} 
[2026-11-04 12:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 12:39: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-11-04 12:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206672896001,"66":28300,"18":206,"2":56832,"24":0,"16":20572631354834944,"44":-1426304044910303232},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,2,24,16,44]} 
[2026-11-04 12:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206672896001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:39:20] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 12:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426304044910303232,"description":"Unknown IO ID 44"} 
[2026-11-04 12:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206672896001,"power":28300,"unknown_18":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1426304044910303232}} 
[2026-11-04 12:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":230701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:39:20] local.INFO: GPS data processed {"connection_id":230701,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:39:20] local.INFO: Acknowledgment sent {"connection_id":230701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:39:44] local.INFO: TCP Data received {"connection_id":228894,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:39:44] local.INFO: Processing buffer {"connection_id":228894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:39:44] local.INFO: Packet analysis {"connection_id":228894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:39:44] local.INFO: Extracted packet for processing {"connection_id":228894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206605056001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793776102000,"timestamp_ms":1793776102000,"timestamp_seconds":1793776102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5632a70"} 
[2026-11-04 12:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 12:39:44] 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-11-04 12: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-11-04 12:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206605056001,"66":25647,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206605056001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:39:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:39:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206605056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":228894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:39:44] local.INFO: GPS data processed {"connection_id":228894,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:39:44] local.INFO: Acknowledgment sent {"connection_id":228894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:39:52] local.INFO: TCP Data received {"connection_id":230701,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a563c6b00100000000000000000000000000..."} 
[2026-11-04 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a563c6b00100000000000000000000000000..."} 
[2026-11-04 12:39:52] local.INFO: Processing buffer {"connection_id":230701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a563c6b00100000000000000000000000000..."} 
[2026-11-04 12:39:52] local.INFO: Packet analysis {"connection_id":230701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:39:52] local.INFO: Extracted packet for processing {"connection_id":230701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206678016001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426304044910303232,"note":"Value kept but may cause issues"} 
[2026-11-04 12:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793776142000,"timestamp_ms":1793776142000,"timestamp_seconds":1793776142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a563c6b0"} 
[2026-11-04 12:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":230701,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 12:39:52] local.INFO: GPS data processed {"connection_id":230701,"processed":0,"errors":0,"total":1} 
[2026-11-04 12:39:52] local.INFO: Acknowledgment sent {"connection_id":230701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:40:07] local.INFO: TCP Data received {"connection_id":228895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:40:07] local.INFO: Processing buffer {"connection_id":228895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:40:07] local.INFO: IMEI packet received {"connection_id":228895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":228895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:40:09] local.INFO: TCP Data received {"connection_id":229403,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:40:09] local.INFO: Processing buffer {"connection_id":229403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:40:09] local.INFO: IMEI packet received {"connection_id":229403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":229403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:40:12] local.INFO: TCP Data received {"connection_id":228895,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:40:12] local.INFO: Processing buffer {"connection_id":228895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:40:12] local.INFO: IMEI packet received {"connection_id":228895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":228895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:40:13] local.INFO: TCP Data received {"connection_id":228895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:40:13] local.INFO: TCP Data received {"connection_id":229403,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:40:13] local.INFO: Processing buffer {"connection_id":228895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:40:13] local.INFO: Packet analysis {"connection_id":228895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:40:13] local.INFO: Extracted packet for processing {"connection_id":228895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:40:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206605056001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776102000,"timestamp_ms":1793776102000,"timestamp_seconds":1793776102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5632a70"} 
[2026-11-04 12:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 12:40:13] 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-11-04 12: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-11-04 12:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206605056001,"66":25647,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206605056001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:40:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206605056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:40:13] local.INFO: Processing buffer {"connection_id":229403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:40:13] local.INFO: IMEI packet received {"connection_id":229403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":229403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":228895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:40:13] local.INFO: GPS data processed {"connection_id":228895,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:40:13] local.INFO: Acknowledgment sent {"connection_id":228895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:40:15] local.INFO: TCP Data received {"connection_id":229403,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5636508012cec6e40072d7268003c00532a..."} 
[2026-11-04 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5636508012cec6e40072d7268003c00532a..."} 
[2026-11-04 12:40:15] local.INFO: Processing buffer {"connection_id":229403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5636508012cec6e40072d7268003c00532a..."} 
[2026-11-04 12:40:15] local.INFO: Packet analysis {"connection_id":229403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:40:15] local.INFO: Extracted packet for processing {"connection_id":229403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:40:15] local.INFO: GPS Element Parsed {"raw_longitude":753692224,"raw_latitude":120418920,"longitude_deg":75.3692224,"latitude_deg":12.041892,"altitude":60,"angle":83,"satellites":42,"speed":28,"hex_longitude":"2cec6e40","hex_latitude":"072d7268","is_valid_coordinates":true} 
[2026-11-04 12:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793776117000,"timestamp_ms":1793776117000,"timestamp_seconds":1793776117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5636508"} 
[2026-11-04 12:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 12:40:15] 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-11-04 12:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"17":206,"2":56832,"24":28,"16":20572631354834944},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16]} 
[2026-11-04 12:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 12:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:40:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"axis_x":206,"power_alt":56832,"ignition":28,"odometer":null}} 
[2026-11-04 12:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":229403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:40:15] local.INFO: GPS data processed {"connection_id":229403,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:40:15] local.INFO: Acknowledgment sent {"connection_id":229403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:40:45] local.INFO: TCP Data received {"connection_id":228895,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:40:45] local.INFO: Processing buffer {"connection_id":228895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:40:45] local.INFO: Packet analysis {"connection_id":228895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:40:45] local.INFO: Extracted packet for processing {"connection_id":228895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206605056001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793776102000,"timestamp_ms":1793776102000,"timestamp_seconds":1793776102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5632a70"} 
[2026-11-04 12:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 12:40: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-11-04 12:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206605056001,"66":25647,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206605056001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:40:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:40:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206605056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":228895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:40:45] local.INFO: GPS data processed {"connection_id":228895,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:40:45] local.INFO: Acknowledgment sent {"connection_id":228895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:40:46] local.INFO: TCP Data received {"connection_id":229403,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5643be00100000000000000000000000000..."} 
[2026-11-04 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5643be00100000000000000000000000000..."} 
[2026-11-04 12:40:46] local.INFO: Processing buffer {"connection_id":229403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5643be00100000000000000000000000000..."} 
[2026-11-04 12:40:46] local.INFO: Packet analysis {"connection_id":229403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:40:46] local.INFO: Extracted packet for processing {"connection_id":229403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:40: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-11-04 12: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-11-04 12:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206685952001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410119233748965376,"note":"Value kept but may cause issues"} 
[2026-11-04 12:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793776172000,"timestamp_ms":1793776172000,"timestamp_seconds":1793776172,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5643be0"} 
[2026-11-04 12:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:40:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:40: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-11-04 12: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-11-04 12:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":229403,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 12:40:46] local.INFO: GPS data processed {"connection_id":229403,"processed":0,"errors":0,"total":1} 
[2026-11-04 12:40:46] local.INFO: Acknowledgment sent {"connection_id":229403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:41:06] local.INFO: TCP Data received {"connection_id":232552,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:41:06] local.INFO: Processing buffer {"connection_id":232552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:41:06] local.INFO: IMEI packet received {"connection_id":232552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":232552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:41:12] local.INFO: TCP Data received {"connection_id":232552,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:41:12] local.INFO: Processing buffer {"connection_id":232552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:41:12] local.INFO: IMEI packet received {"connection_id":232552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":232552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:41:13] local.INFO: TCP Data received {"connection_id":232552,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:41:13] local.INFO: Processing buffer {"connection_id":232552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5632a70012d34c58006aa3e000003005023..."} 
[2026-11-04 12:41:13] local.INFO: Packet analysis {"connection_id":232552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:41:13] local.INFO: Extracted packet for processing {"connection_id":232552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":35,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206605056001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776102000,"timestamp_ms":1793776102000,"timestamp_seconds":1793776102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5632a70"} 
[2026-11-04 12:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 12:41:13] 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-11-04 12: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-11-04 12:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206605056001,"66":25647,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206605056001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:41:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206605056001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":232552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:41:13] local.INFO: GPS data processed {"connection_id":232552,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:41:13] local.INFO: Acknowledgment sent {"connection_id":232552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:41:18] local.INFO: TCP Data received {"connection_id":232553,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:41:18] local.INFO: Processing buffer {"connection_id":232553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:41:18] local.INFO: IMEI packet received {"connection_id":232553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":232553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:41:19] local.INFO: TCP Data received {"connection_id":232553,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:41:19] local.INFO: Processing buffer {"connection_id":232553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:41:19] local.INFO: IMEI packet received {"connection_id":232553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":232553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:41:20] local.INFO: TCP Data received {"connection_id":232553,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a563baf8012cecaf40072d7f98003d00452c..."} 
[2026-11-04 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a563baf8012cecaf40072d7f98003d00452c..."} 
[2026-11-04 12:41:20] local.INFO: Processing buffer {"connection_id":232553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a563baf8012cecaf40072d7f98003d00452c..."} 
[2026-11-04 12:41:20] local.INFO: Packet analysis {"connection_id":232553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:41:20] local.INFO: Extracted packet for processing {"connection_id":232553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a563"} 
[2026-11-04 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":753708864,"raw_latitude":120422296,"longitude_deg":75.3708864,"latitude_deg":12.0422296,"altitude":61,"angle":69,"satellites":44,"speed":35,"hex_longitude":"2cecaf40","hex_latitude":"072d7f98","is_valid_coordinates":true} 
[2026-11-04 12:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,18,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 12:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793776139000,"timestamp_ms":1793776139000,"timestamp_seconds":1793776139,"priority":1,"record_length":96,"hex_timestamp":"000001a1a563baf8"} 
[2026-11-04 12:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 12:41:20] 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-11-04 12:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"18":206,"2":56832,"24":35,"16":20572631354834944},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,2,24,16]} 
[2026-11-04 12:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 12:41:20] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 12:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:41:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_18":206,"power_alt":56832,"ignition":35,"odometer":null}} 
[2026-11-04 12:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":232553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:41:21] local.INFO: GPS data processed {"connection_id":232553,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:41:21] local.INFO: Acknowledgment sent {"connection_id":232553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:41:22] local.INFO: TCP Data received {"connection_id":232553,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5640d00012ceced80072d94280042004728..."} 
[2026-11-04 12:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5640d00012ceced80072d94280042004728..."} 
[2026-11-04 12:41:22] local.INFO: Processing buffer {"connection_id":232553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5640d00012ceced80072d94280042004728..."} 
[2026-11-04 12:41:22] local.INFO: Packet analysis {"connection_id":232553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:41:22] local.INFO: Extracted packet for processing {"connection_id":232553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:41:22] local.INFO: GPS Element Parsed {"raw_longitude":753724800,"raw_latitude":120427560,"longitude_deg":75.37248,"latitude_deg":12.042756,"altitude":66,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2ceced80","hex_latitude":"072d9428","is_valid_coordinates":true} 
[2026-11-04 12:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206691584001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1391823360261908480,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793776160000,"timestamp_ms":1793776160000,"timestamp_seconds":1793776160,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5640d00"} 
[2026-11-04 12:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 12:41:22] 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-11-04 12:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206691584001,"66":28343,"18":206,"2":56832,"24":0,"16":20572631354834944,"44":-1391823360261908480},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,2,24,16,44]} 
[2026-11-04 12:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206691584001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:41:22] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 12:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1391823360261908480,"description":"Unknown IO ID 44"} 
[2026-11-04 12:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206691584001,"power":28343,"unknown_18":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1391823360261908480}} 
[2026-11-04 12:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":232553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:41:22] local.INFO: GPS data processed {"connection_id":232553,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:41:22] local.INFO: Acknowledgment sent {"connection_id":232553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:41:44] local.INFO: TCP Data received {"connection_id":232552,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5655cf0012d34c58006aa3e000003005025..."} 
[2026-11-04 12:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5655cf0012d34c58006aa3e000003005025..."} 
[2026-11-04 12:41:44] local.INFO: Processing buffer {"connection_id":232552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5655cf0012d34c58006aa3e000003005025..."} 
[2026-11-04 12:41:44] local.INFO: Packet analysis {"connection_id":232552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:41:44] local.INFO: Extracted packet for processing {"connection_id":232552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820288,"longitude_deg":75.8433152,"latitude_deg":11.1820288,"altitude":3,"angle":80,"satellites":37,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 12:41: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-11-04 12:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206682112001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793776246000,"timestamp_ms":1793776246000,"timestamp_seconds":1793776246,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5655cf0"} 
[2026-11-04 12:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 12:41: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-11-04 12: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-11-04 12:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206682112001,"66":25647,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206682112001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:41:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206682112001,"power":25647,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":232552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:41:44] local.INFO: GPS data processed {"connection_id":232552,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:41:44] local.INFO: Acknowledgment sent {"connection_id":232552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:41:59] local.INFO: TCP Data received {"connection_id":232553,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5645f08012ceced80072d94280042004728..."} 
[2026-11-04 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5645f08012ceced80072d94280042004728..."} 
[2026-11-04 12:41:59] local.INFO: Processing buffer {"connection_id":232553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5645f08012ceced80072d94280042004728..."} 
[2026-11-04 12:41:59] local.INFO: Packet analysis {"connection_id":232553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:41:59] local.INFO: Extracted packet for processing {"connection_id":232553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:41:59] local.INFO: GPS Element Parsed {"raw_longitude":753724800,"raw_latitude":120427560,"longitude_deg":75.37248,"latitude_deg":12.042756,"altitude":66,"angle":71,"satellites":40,"speed":0,"hex_longitude":"2ceced80","hex_latitude":"072d9428","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206696960001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1374301542960322560,"note":"Value kept but may cause issues"} 
[2026-11-04 12:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793776181000,"timestamp_ms":1793776181000,"timestamp_seconds":1793776181,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5645f08"} 
[2026-11-04 12:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 12:41:59] 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-11-04 12: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-11-04 12:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":232553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":232553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":232553,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206696960001,"66":28300,"18":206,"2":56832,"24":0,"16":20572631354834944,"44":-1374301542960322560},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,2,24,16,44]} 
[2026-11-04 12:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206696960001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:41:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 12:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:41:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1374301542960322560,"description":"Unknown IO ID 44"} 
[2026-11-04 12:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206696960001,"power":28300,"unknown_18":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1374301542960322560}} 
[2026-11-04 12:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":232553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:41:59] local.INFO: GPS data processed {"connection_id":232553,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:41:59] local.INFO: Acknowledgment sent {"connection_id":232553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:42:06] local.INFO: TCP Data received {"connection_id":229405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:42:06] local.INFO: Processing buffer {"connection_id":229405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:42:06] local.INFO: IMEI packet received {"connection_id":229405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":229405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:42:09] local.INFO: TCP Data received {"connection_id":229404,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:42:09] local.INFO: Processing buffer {"connection_id":229404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:42:09] local.INFO: IMEI packet received {"connection_id":229404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":229404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:42:12] local.INFO: TCP Data received {"connection_id":229405,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:42:12] local.INFO: Processing buffer {"connection_id":229405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:42:12] local.INFO: IMEI packet received {"connection_id":229405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":229405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:42:13] local.INFO: TCP Data received {"connection_id":229405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56568a8012d34c80006aa3e080003012024..."} 
[2026-11-04 12:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56568a8012d34c80006aa3e080003012024..."} 
[2026-11-04 12:42:13] local.INFO: Processing buffer {"connection_id":229405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56568a8012d34c80006aa3e080003012024..."} 
[2026-11-04 12:42:13] local.INFO: Packet analysis {"connection_id":229405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:13] local.INFO: Extracted packet for processing {"connection_id":229405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":36,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206718976001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498600960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776249000,"timestamp_ms":1793776249000,"timestamp_seconds":1793776249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56568a8"} 
[2026-11-04 12:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 12:42: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-11-04 12: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-11-04 12:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206718976001,"66":25495,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498600960},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206718976001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:42:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:42:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498600960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206718976001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498600960}} 
[2026-11-04 12:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":229405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:42:13] local.INFO: GPS data processed {"connection_id":229405,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:42:13] local.INFO: Acknowledgment sent {"connection_id":229405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:42:14] local.INFO: TCP Data received {"connection_id":229404,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:42:14] local.INFO: Processing buffer {"connection_id":229404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:42:14] local.INFO: IMEI packet received {"connection_id":229404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":229404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:42:15] local.INFO: TCP Data received {"connection_id":229404,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a564b110012ced2640072da7d8004e00412b..."} 
[2026-11-04 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a564b110012ced2640072da7d8004e00412b..."} 
[2026-11-04 12:42:15] local.INFO: Processing buffer {"connection_id":229404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a564b110012ced2640072da7d8004e00412b..."} 
[2026-11-04 12:42:15] local.INFO: Packet analysis {"connection_id":229404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:42:15] local.INFO: Extracted packet for processing {"connection_id":229404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a564"} 
[2026-11-04 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":753739328,"raw_latitude":120432600,"longitude_deg":75.3739328,"latitude_deg":12.04326,"altitude":78,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2ced2640","hex_latitude":"072da7d8","is_valid_coordinates":true} 
[2026-11-04 12:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206702336001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1374301542960322560,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793776202000,"timestamp_ms":1793776202000,"timestamp_seconds":1793776202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a564b110"} 
[2026-11-04 12:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 12:42: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-11-04 12:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206702336001,"66":28398,"18":206,"2":56832,"24":0,"16":20572631354834944,"44":-1374301542960322560},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,2,24,16,44]} 
[2026-11-04 12:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206702336001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:42:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 12:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:42:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1374301542960322560,"description":"Unknown IO ID 44"} 
[2026-11-04 12:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206702336001,"power":28398,"unknown_18":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1374301542960322560}} 
[2026-11-04 12:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":229404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:42:15] local.INFO: GPS data processed {"connection_id":229404,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:42:15] local.INFO: Acknowledgment sent {"connection_id":229404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:42:17] local.INFO: TCP Data received {"connection_id":229404,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5650318012ced6440072dcd80004a003a29..."} 
[2026-11-04 12:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5650318012ced6440072dcd80004a003a29..."} 
[2026-11-04 12:42:17] local.INFO: Processing buffer {"connection_id":229404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5650318012ced6440072dcd80004a003a29..."} 
[2026-11-04 12:42:17] local.INFO: Packet analysis {"connection_id":229404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:17] local.INFO: Extracted packet for processing {"connection_id":229404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:17] local.INFO: GPS Element Parsed {"raw_longitude":753755200,"raw_latitude":120442240,"longitude_deg":75.37552,"latitude_deg":12.044224,"altitude":74,"angle":58,"satellites":41,"speed":0,"hex_longitude":"2ced6440","hex_latitude":"072dcd80","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206707712001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358327838030702592,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793776223000,"timestamp_ms":1793776223000,"timestamp_seconds":1793776223,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5650318"} 
[2026-11-04 12:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:42: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-11-04 12: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-11-04 12:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206707712001,"66":28398,"240":206,"2":56832,"24":0,"16":20572631354834944,"44":-1358327838030702592},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,44]} 
[2026-11-04 12:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206707712001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:42:17] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-11-04 12:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:42:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358327838030702592,"description":"Unknown IO ID 44"} 
[2026-11-04 12:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206707712001,"power":28398,"unknown_240":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1358327838030702592}} 
[2026-11-04 12:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":229404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:42:18] local.INFO: GPS data processed {"connection_id":229404,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:42:18] local.INFO: Acknowledgment sent {"connection_id":229404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:42:44] local.INFO: TCP Data received {"connection_id":229405,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565bab0012d34c80006aa3e080003012023..."} 
[2026-11-04 12:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565bab0012d34c80006aa3e080003012023..."} 
[2026-11-04 12:42:44] local.INFO: Processing buffer {"connection_id":229405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565bab0012d34c80006aa3e080003012023..."} 
[2026-11-04 12:42:44] local.INFO: Packet analysis {"connection_id":229405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:44] local.INFO: Extracted packet for processing {"connection_id":229405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":35,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206719744001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793776270000,"timestamp_ms":1793776270000,"timestamp_seconds":1793776270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565bab0"} 
[2026-11-04 12:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-11-04 12:42: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-11-04 12: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-11-04 12:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206719744001,"66":25397,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206719744001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:42:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206719744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":229405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:42:44] local.INFO: GPS data processed {"connection_id":229405,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:42:44] local.INFO: Acknowledgment sent {"connection_id":229405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:42:49] local.INFO: TCP Data received {"connection_id":229404,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5655520012ceda200072df3b8004b004026..."} 
[2026-11-04 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5655520012ceda200072df3b8004b004026..."} 
[2026-11-04 12:42:49] local.INFO: Processing buffer {"connection_id":229404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5655520012ceda200072df3b8004b004026..."} 
[2026-11-04 12:42:49] local.INFO: Packet analysis {"connection_id":229404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:49] local.INFO: Extracted packet for processing {"connection_id":229404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":753771008,"raw_latitude":120452024,"longitude_deg":75.3771008,"latitude_deg":12.0452024,"altitude":75,"angle":64,"satellites":38,"speed":0,"hex_longitude":"2ceda200","hex_latitude":"072df3b8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206713088001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1340876389472174080,"note":"Value kept but may cause issues"} 
[2026-11-04 12:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793776244000,"timestamp_ms":1793776244000,"timestamp_seconds":1793776244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5655520"} 
[2026-11-04 12:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 12:42: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-11-04 12: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-11-04 12:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206713088001,"66":28354,"239":206,"2":56832,"24":0,"16":20572631354834944,"44":-1340876389472174080},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-11-04 12:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206713088001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:42:49] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-11-04 12:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:42:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1340876389472174080,"description":"Unknown IO ID 44"} 
[2026-11-04 12:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206713088001,"power":28354,"unknown_239":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1340876389472174080}} 
[2026-11-04 12:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":229404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:42:49] local.INFO: GPS data processed {"connection_id":229404,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:42:49] local.INFO: Acknowledgment sent {"connection_id":229404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:43:06] local.INFO: TCP Data received {"connection_id":229406,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:43:06] local.INFO: Processing buffer {"connection_id":229406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:43:06] local.INFO: IMEI packet received {"connection_id":229406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":229406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:43:09] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:43:09] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:43:09] local.INFO: IMEI packet received {"connection_id":229407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":229407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:43:12] local.INFO: TCP Data received {"connection_id":229406,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:43:12] local.INFO: Processing buffer {"connection_id":229406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:43:12] local.INFO: IMEI packet received {"connection_id":229406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":229406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:43:13] local.INFO: TCP Data received {"connection_id":229406,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:43:13] local.INFO: Processing buffer {"connection_id":229406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:43:13] local.INFO: Packet analysis {"connection_id":229406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:43:13] local.INFO: Extracted packet for processing {"connection_id":229406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:43: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-11-04 12:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 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-11-04 12:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:43: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-11-04 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-11-04 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-11-04 12:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:43:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":229406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:43:13] local.INFO: GPS data processed {"connection_id":229406,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:43:13] local.INFO: Acknowledgment sent {"connection_id":229406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:43:14] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:43:14] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:43:14] local.INFO: IMEI packet received {"connection_id":229407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":229407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:43:15] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565a728012cede2c0072e0b680043004b28..."} 
[2026-11-04 12:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565a728012cede2c0072e0b680043004b28..."} 
[2026-11-04 12:43:15] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565a728012cede2c0072e0b680043004b28..."} 
[2026-11-04 12:43:15] local.INFO: Packet analysis {"connection_id":229407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:43:15] local.INFO: Extracted packet for processing {"connection_id":229407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:43:15] local.INFO: GPS Element Parsed {"raw_longitude":753787584,"raw_latitude":120458088,"longitude_deg":75.3787584,"latitude_deg":12.0458088,"altitude":67,"angle":75,"satellites":40,"speed":41,"hex_longitude":"2cede2c0","hex_latitude":"072e0b68","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206718464001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1323495309657786368,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793776265000,"timestamp_ms":1793776265000,"timestamp_seconds":1793776265,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565a728"} 
[2026-11-04 12:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:43: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-11-04 12: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-11-04 12:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206718464001,"66":28452,"239":206,"2":56832,"24":41,"16":20572631354834944,"44":-1323495309657786368},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-11-04 12:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206718464001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:43:15] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-11-04 12:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:43:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1323495309657786368,"description":"Unknown IO ID 44"} 
[2026-11-04 12:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206718464001,"power":28452,"unknown_239":206,"power_alt":56832,"ignition":41,"odometer":null,"unknown_44":-1323495309657786368}} 
[2026-11-04 12:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":229407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:43:15] local.INFO: GPS data processed {"connection_id":229407,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:43:15] local.INFO: Acknowledgment sent {"connection_id":229407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:43:45] local.INFO: TCP Data received {"connection_id":229406,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:43:45] local.INFO: Processing buffer {"connection_id":229406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:43:45] local.INFO: Packet analysis {"connection_id":229406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:43:45] local.INFO: Extracted packet for processing {"connection_id":229406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:43: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-11-04 12:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 12:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:43: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-11-04 12: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-11-04 12:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":229406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:43:45] local.INFO: GPS data processed {"connection_id":229406,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:43:45] local.INFO: Acknowledgment sent {"connection_id":229406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:44:04] local.INFO: TCP Data received {"connection_id":229407,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565f930012cee3480072e28a8003a004f2a..."} 
[2026-11-04 12:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565f930012cee3480072e28a8003a004f2a..."} 
[2026-11-04 12:44:04] local.INFO: Processing buffer {"connection_id":229407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565f930012cee3480072e28a8003a004f2a..."} 
[2026-11-04 12:44:04] local.INFO: Packet analysis {"connection_id":229407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:44:04] local.INFO: Extracted packet for processing {"connection_id":229407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:44:04] local.INFO: GPS Element Parsed {"raw_longitude":753808512,"raw_latitude":120465576,"longitude_deg":75.3808512,"latitude_deg":12.0465576,"altitude":58,"angle":79,"satellites":42,"speed":0,"hex_longitude":"2cee3480","hex_latitude":"072e28a8","is_valid_coordinates":true} 
[2026-11-04 12:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206723840001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305269804914219008,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793776286000,"timestamp_ms":1793776286000,"timestamp_seconds":1793776286,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565f930"} 
[2026-11-04 12:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 12:44:04] 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-11-04 12:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206723840001,"66":28354,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1305269804914219008},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206723840001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:44:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305269804914219008,"description":"Unknown IO ID 44"} 
[2026-11-04 12:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206723840001,"power":28354,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1305269804914219008}} 
[2026-11-04 12:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":229407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:44:04] local.INFO: GPS data processed {"connection_id":229407,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:44:04] local.INFO: Acknowledgment sent {"connection_id":229407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:44:12] local.INFO: TCP Data received {"connection_id":230702,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:44:12] local.INFO: Processing buffer {"connection_id":230702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:44:12] local.INFO: IMEI packet received {"connection_id":230702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":230702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:44:13] local.INFO: TCP Data received {"connection_id":228896,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:44:13] local.INFO: Processing buffer {"connection_id":228896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:44:13] local.INFO: IMEI packet received {"connection_id":228896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":228896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:44:17] local.INFO: TCP Data received {"connection_id":230702,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:44:17] local.INFO: Processing buffer {"connection_id":230702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:44:17] local.INFO: IMEI packet received {"connection_id":230702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":230702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:44:18] local.INFO: TCP Data received {"connection_id":230702,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:44:18] local.INFO: Processing buffer {"connection_id":230702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:44:18] local.INFO: Packet analysis {"connection_id":230702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:44:18] local.INFO: Extracted packet for processing {"connection_id":230702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 12:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:44: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-11-04 12:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:44:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:44:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":230702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:44:18] local.INFO: GPS data processed {"connection_id":230702,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:44:18] local.INFO: Acknowledgment sent {"connection_id":230702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:44:21] local.INFO: TCP Data received {"connection_id":228896,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:44:21] local.INFO: Processing buffer {"connection_id":228896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:44:21] local.INFO: IMEI packet received {"connection_id":228896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":228896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:44:23] local.INFO: TCP Data received {"connection_id":230702,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:44:23] local.INFO: Processing buffer {"connection_id":230702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:44:23] local.INFO: Packet analysis {"connection_id":230702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:44:23] local.INFO: Extracted packet for processing {"connection_id":230702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:44:23] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 12:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:44: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-11-04 12:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:44:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:44:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":230702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:44:23] local.INFO: GPS data processed {"connection_id":230702,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:44:23] local.INFO: Acknowledgment sent {"connection_id":230702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:44:34] local.INFO: TCP Data received {"connection_id":228896,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5662bf8012cee6ec0072e31280032007629..."} 
[2026-11-04 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5662bf8012cee6ec0072e31280032007629..."} 
[2026-11-04 12:44:34] local.INFO: Processing buffer {"connection_id":228896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5662bf8012cee6ec0072e31280032007629..."} 
[2026-11-04 12:44:34] local.INFO: Packet analysis {"connection_id":228896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a566"} 
[2026-11-04 12:44:34] local.INFO: Extracted packet for processing {"connection_id":228896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a566"} 
[2026-11-04 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120467752,"longitude_deg":75.3823424,"latitude_deg":12.0467752,"altitude":50,"angle":118,"satellites":41,"speed":11,"hex_longitude":"2cee6ec0","hex_latitude":"072e3128","is_valid_coordinates":true} 
[2026-11-04 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206729216001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1282259225566205952,"note":"Value kept but may cause issues"} 
[2026-11-04 12:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793776299000,"timestamp_ms":1793776299000,"timestamp_seconds":1793776299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5662bf8"} 
[2026-11-04 12:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 12:44:34] 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-11-04 12:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":228896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":228896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":228896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206729216001,"66":28376,"42":206,"28":26368,"24":11,"16":20572631354834944,"44":-1282259225566205952},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206729216001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:44:34] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1282259225566205952,"description":"Unknown IO ID 44"} 
[2026-11-04 12:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206729216001,"power":28376,"unknown_42":206,"unknown_28":26368,"ignition":11,"odometer":null,"unknown_44":-1282259225566205952}} 
[2026-11-04 12:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":228896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:44:34] local.INFO: GPS data processed {"connection_id":228896,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:44:34] local.INFO: Acknowledgment sent {"connection_id":228896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:45:07] local.INFO: TCP Data received {"connection_id":229408,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:45:07] local.INFO: Processing buffer {"connection_id":229408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:45:07] local.INFO: IMEI packet received {"connection_id":229408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":229408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:45:08] local.INFO: TCP Data received {"connection_id":228897,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:45:08] local.INFO: Processing buffer {"connection_id":228897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:45:08] local.INFO: IMEI packet received {"connection_id":228897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":228897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:45:11] local.INFO: TCP Data received {"connection_id":229408,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:45:11] local.INFO: Processing buffer {"connection_id":229408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:45:11] local.INFO: IMEI packet received {"connection_id":229408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":229408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:45:12] local.INFO: TCP Data received {"connection_id":229408,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:45:12] local.INFO: Processing buffer {"connection_id":229408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:45:12] local.INFO: Packet analysis {"connection_id":229408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:45:12] local.INFO: Extracted packet for processing {"connection_id":229408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:45: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-11-04 12:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 12:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:45: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-11-04 12: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-11-04 12:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:45:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":229408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:45:12] local.INFO: GPS data processed {"connection_id":229408,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:45:12] local.INFO: Acknowledgment sent {"connection_id":229408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:45:14] local.INFO: TCP Data received {"connection_id":228897,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:45:14] local.INFO: Processing buffer {"connection_id":228897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:45:14] local.INFO: IMEI packet received {"connection_id":228897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":228897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:45:17] local.INFO: TCP Data received {"connection_id":228897,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5667e00012cee6ec0072e31280032007629..."} 
[2026-11-04 12:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5667e00012cee6ec0072e31280032007629..."} 
[2026-11-04 12:45:17] local.INFO: Processing buffer {"connection_id":228897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5667e00012cee6ec0072e31280032007629..."} 
[2026-11-04 12:45:17] local.INFO: Packet analysis {"connection_id":228897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a566"} 
[2026-11-04 12:45:17] local.INFO: Extracted packet for processing {"connection_id":228897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a566"} 
[2026-11-04 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120467752,"longitude_deg":75.3823424,"latitude_deg":12.0467752,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e3128","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206732544001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793776320000,"timestamp_ms":1793776320000,"timestamp_seconds":1793776320,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5667e00"} 
[2026-11-04 12:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 12:45: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-11-04 12: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-11-04 12:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206732544001,"66":28452,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206732544001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:45:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206732544001,"power":28452,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":228897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:45:17] local.INFO: GPS data processed {"connection_id":228897,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:45:17] local.INFO: Acknowledgment sent {"connection_id":228897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:45:44] local.INFO: TCP Data received {"connection_id":229408,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:45:44] local.INFO: Processing buffer {"connection_id":229408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:45:44] local.INFO: Packet analysis {"connection_id":229408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:45:44] local.INFO: Extracted packet for processing {"connection_id":229408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:45: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-11-04 12:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 12:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":229408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:45:44] local.INFO: GPS data processed {"connection_id":229408,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:45:44] local.INFO: Acknowledgment sent {"connection_id":229408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:46:07] local.INFO: TCP Data received {"connection_id":229409,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:46:07] local.INFO: Processing buffer {"connection_id":229409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:46:07] local.INFO: IMEI packet received {"connection_id":229409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":229409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:46:11] local.INFO: TCP Data received {"connection_id":229409,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:46:11] local.INFO: Processing buffer {"connection_id":229409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:46:11] local.INFO: IMEI packet received {"connection_id":229409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":229409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:46:13] local.INFO: TCP Data received {"connection_id":229409,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:46:13] local.INFO: Processing buffer {"connection_id":229409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:46:13] local.INFO: Packet analysis {"connection_id":229409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:46:13] local.INFO: Extracted packet for processing {"connection_id":229409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:46: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-11-04 12:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 12:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:46: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-11-04 12: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-11-04 12:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:46:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":229409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:46:13] local.INFO: GPS data processed {"connection_id":229409,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:46:13] local.INFO: Acknowledgment sent {"connection_id":229409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:46:29] local.INFO: TCP Data received {"connection_id":228897,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a566d008012cee6ec0072e31280032007629..."} 
[2026-11-04 12:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a566d008012cee6ec0072e31280032007629..."} 
[2026-11-04 12:46:29] local.INFO: Processing buffer {"connection_id":228897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a566d008012cee6ec0072e31280032007629..."} 
[2026-11-04 12:46:29] local.INFO: Packet analysis {"connection_id":228897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a566"} 
[2026-11-04 12:46:29] local.INFO: Extracted packet for processing {"connection_id":228897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a566"} 
[2026-11-04 12:46:29] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120467752,"longitude_deg":75.3823424,"latitude_deg":12.0467752,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e3128","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206737920001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793776341000,"timestamp_ms":1793776341000,"timestamp_seconds":1793776341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a566d008"} 
[2026-11-04 12:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 12:46:29] 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-11-04 12: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-11-04 12:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":228897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":228897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":228897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206737920001,"66":28495,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206737920001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:46:29] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:46:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206737920001,"power":28495,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":228897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:46:30] local.INFO: GPS data processed {"connection_id":228897,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:46:30] local.INFO: Acknowledgment sent {"connection_id":228897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:46:44] local.INFO: TCP Data received {"connection_id":230703,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:46:44] local.INFO: Processing buffer {"connection_id":230703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:46:44] local.INFO: IMEI packet received {"connection_id":230703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":230703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:46:47] local.INFO: TCP Data received {"connection_id":229409,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:46:47] local.INFO: Processing buffer {"connection_id":229409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a565d9f0012d34c80006aa3e080003012025..."} 
[2026-11-04 12:46:47] local.INFO: Packet analysis {"connection_id":229409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:46:47] local.INFO: Extracted packet for processing {"connection_id":229409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a565"} 
[2026-11-04 12:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":37,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206725120001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793776278000,"timestamp_ms":1793776278000,"timestamp_seconds":1793776278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a565d9f0"} 
[2026-11-04 12:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 12:46: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-11-04 12: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-11-04 12:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206725120001,"66":25430,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206725120001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206725120001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":229409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:46:47] local.INFO: GPS data processed {"connection_id":229409,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:46:47] local.INFO: Acknowledgment sent {"connection_id":229409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:46:49] local.INFO: TCP Data received {"connection_id":230703,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:46:49] local.INFO: Processing buffer {"connection_id":230703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:46:49] local.INFO: IMEI packet received {"connection_id":230703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":230703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:47:06] local.INFO: TCP Data received {"connection_id":232554,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:47:06] local.INFO: Processing buffer {"connection_id":232554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:47:06] local.INFO: IMEI packet received {"connection_id":232554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":232554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:47:09] local.INFO: TCP Data received {"connection_id":230703,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:09] local.INFO: Processing buffer {"connection_id":230703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:09] local.INFO: Packet analysis {"connection_id":230703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a567"} 
[2026-11-04 12:47:09] local.INFO: Extracted packet for processing {"connection_id":230703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a567"} 
[2026-11-04 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120467752,"longitude_deg":75.3823424,"latitude_deg":12.0467752,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e3128","is_valid_coordinates":true} 
[2026-11-04 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206743296001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793776354000,"timestamp_ms":1793776354000,"timestamp_seconds":1793776354,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56702d0"} 
[2026-11-04 12:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:47:09] 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-11-04 12:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":230703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":230703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":230703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206743296001,"66":28495,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206743296001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:47:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:47:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206743296001,"power":28495,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":230703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:47:09] local.INFO: GPS data processed {"connection_id":230703,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:47:09] local.INFO: Acknowledgment sent {"connection_id":230703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:47:12] local.INFO: TCP Data received {"connection_id":232554,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:47:12] local.INFO: Processing buffer {"connection_id":232554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:47:12] local.INFO: IMEI packet received {"connection_id":232554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":232554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:47:13] local.INFO: TCP Data received {"connection_id":232554,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:47:13] local.INFO: Processing buffer {"connection_id":232554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:47:13] local.INFO: Packet analysis {"connection_id":232554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:47:13] local.INFO: Extracted packet for processing {"connection_id":232554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:47: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-11-04 12: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-11-04 12:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":232554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:47:13] local.INFO: GPS data processed {"connection_id":232554,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:47:13] local.INFO: Acknowledgment sent {"connection_id":232554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:47:26] local.INFO: TCP Data received {"connection_id":232555,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:26] local.INFO: Processing buffer {"connection_id":232555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:26] local.INFO: IMEI packet received {"connection_id":232555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":232555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:47:28] local.INFO: TCP Data received {"connection_id":232555,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:28] local.INFO: Processing buffer {"connection_id":232555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:28] local.INFO: IMEI packet received {"connection_id":232555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":232555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:47:28] local.INFO: TCP Data received {"connection_id":232555,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:28] local.INFO: Processing buffer {"connection_id":232555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:47:28] local.INFO: IMEI packet received {"connection_id":232555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":232555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:47:31] local.INFO: TCP Data received {"connection_id":232555,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:31] local.INFO: Processing buffer {"connection_id":232555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:31] local.INFO: Packet analysis {"connection_id":232555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a567"} 
[2026-11-04 12:47:31] local.INFO: Extracted packet for processing {"connection_id":232555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a567"} 
[2026-11-04 12:47:31] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120467752,"longitude_deg":75.3823424,"latitude_deg":12.0467752,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e3128","is_valid_coordinates":true} 
[2026-11-04 12:47: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-11-04 12:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206743296001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793776354000,"timestamp_ms":1793776354000,"timestamp_seconds":1793776354,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56702d0"} 
[2026-11-04 12:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:47:31] 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-11-04 12: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-11-04 12:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206743296001,"66":28495,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206743296001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:47:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206743296001,"power":28495,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":232555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:47:31] local.INFO: GPS data processed {"connection_id":232555,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:47:31] local.INFO: Acknowledgment sent {"connection_id":232555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:47:36] local.INFO: TCP Data received {"connection_id":232555,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:36] local.INFO: Processing buffer {"connection_id":232555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56702d0012cee6ec0072e31280032007629..."} 
[2026-11-04 12:47:36] local.INFO: Packet analysis {"connection_id":232555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a567"} 
[2026-11-04 12:47:36] local.INFO: Extracted packet for processing {"connection_id":232555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a567"} 
[2026-11-04 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":753823424,"raw_latitude":120467752,"longitude_deg":75.3823424,"latitude_deg":12.0467752,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6ec0","hex_latitude":"072e3128","is_valid_coordinates":true} 
[2026-11-04 12:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206743296001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793776354000,"timestamp_ms":1793776354000,"timestamp_seconds":1793776354,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56702d0"} 
[2026-11-04 12:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:47:36] 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-11-04 12:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":232555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":232555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":232555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206743296001,"66":28495,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206743296001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:47:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:47:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206743296001,"power":28495,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":232555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:47:36] local.INFO: GPS data processed {"connection_id":232555,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:47:36] local.INFO: Acknowledgment sent {"connection_id":232555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:47:45] local.INFO: TCP Data received {"connection_id":232554,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:47:45] local.INFO: Processing buffer {"connection_id":232554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:47:45] local.INFO: Packet analysis {"connection_id":232554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:47:45] local.INFO: Extracted packet for processing {"connection_id":232554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:47: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-11-04 12: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-11-04 12:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":232554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:47:45] local.INFO: GPS data processed {"connection_id":232554,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:47:45] local.INFO: Acknowledgment sent {"connection_id":232554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:48:06] local.INFO: TCP Data received {"connection_id":232556,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:48:06] local.INFO: Processing buffer {"connection_id":232556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:48:06] local.INFO: IMEI packet received {"connection_id":232556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":232556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:48:08] local.INFO: TCP Data received {"connection_id":229410,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:48:08] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:48:08] local.INFO: IMEI packet received {"connection_id":229410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":229410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:48:11] local.INFO: TCP Data received {"connection_id":232556,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:48:11] local.INFO: Processing buffer {"connection_id":232556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:48:11] local.INFO: IMEI packet received {"connection_id":232556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":232556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:48:12] local.INFO: TCP Data received {"connection_id":232556,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:48:12] local.INFO: Processing buffer {"connection_id":232556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:48:12] local.INFO: Packet analysis {"connection_id":232556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:48:12] local.INFO: Extracted packet for processing {"connection_id":232556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 12: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-11-04 12:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:48:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:48:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":232556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:48:12] local.INFO: GPS data processed {"connection_id":232556,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:48:12] local.INFO: Acknowledgment sent {"connection_id":232556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:48:19] local.INFO: TCP Data received {"connection_id":229410,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:48:19] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:48:19] local.INFO: IMEI packet received {"connection_id":229410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":229410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:48:23] local.INFO: TCP Data received {"connection_id":229410,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:48:23] local.INFO: Processing buffer {"connection_id":229410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:48:23] local.INFO: Packet analysis {"connection_id":229410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:48:23] local.INFO: Extracted packet for processing {"connection_id":229410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:48:23] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206746624001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793776657000,"timestamp_ms":1793776657000,"timestamp_seconds":1793776657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56ba268"} 
[2026-11-04 12:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:48:23] 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-11-04 12: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-11-04 12:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206746624001,"66":27050,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206746624001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:48:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:48:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:48:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206746624001,"power":27050,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":229410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:48:23] local.INFO: GPS data processed {"connection_id":229410,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:48:23] local.INFO: Acknowledgment sent {"connection_id":229410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:48:44] local.INFO: TCP Data received {"connection_id":232556,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:48:44] local.INFO: Processing buffer {"connection_id":232556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:48:44] local.INFO: Packet analysis {"connection_id":232556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:48:44] local.INFO: Extracted packet for processing {"connection_id":232556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:48: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-11-04 12: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-11-04 12:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:48:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":232556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:48:44] local.INFO: GPS data processed {"connection_id":232556,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:48:44] local.INFO: Acknowledgment sent {"connection_id":232556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:49:06] local.INFO: TCP Data received {"connection_id":228898,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:49:06] local.INFO: Processing buffer {"connection_id":228898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:49:06] local.INFO: IMEI packet received {"connection_id":228898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":228898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:49:11] local.INFO: TCP Data received {"connection_id":228898,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:49:11] local.INFO: Processing buffer {"connection_id":228898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:49:11] local.INFO: IMEI packet received {"connection_id":228898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":228898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:49:12] local.INFO: TCP Data received {"connection_id":228898,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:49:12] local.INFO: Processing buffer {"connection_id":228898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:49:12] local.INFO: Packet analysis {"connection_id":228898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:49:12] local.INFO: Extracted packet for processing {"connection_id":228898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:49: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-11-04 12:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:49:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:49:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":228898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:49:12] local.INFO: GPS data processed {"connection_id":228898,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:49:12] local.INFO: Acknowledgment sent {"connection_id":228898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:49:39] local.INFO: TCP Data received {"connection_id":229411,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:49:39] local.INFO: Processing buffer {"connection_id":229411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:49:39] local.INFO: IMEI packet received {"connection_id":229411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":229411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:49:44] local.INFO: TCP Data received {"connection_id":228898,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:49:44] local.INFO: Processing buffer {"connection_id":228898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:49:44] local.INFO: Packet analysis {"connection_id":228898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:49:44] local.INFO: Extracted packet for processing {"connection_id":228898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:49: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-11-04 12: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-11-04 12:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:49:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:49:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":228898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:49:44] local.INFO: GPS data processed {"connection_id":228898,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:49:44] local.INFO: Acknowledgment sent {"connection_id":228898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:50:11] local.INFO: TCP Data received {"connection_id":229411,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:11] local.INFO: Processing buffer {"connection_id":229411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:11] local.INFO: IMEI packet received {"connection_id":229411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":229411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:50:11] local.INFO: TCP Data received {"connection_id":228899,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:50:11] local.INFO: Processing buffer {"connection_id":228899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:50:11] local.INFO: IMEI packet received {"connection_id":228899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":228899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:50:17] local.INFO: TCP Data received {"connection_id":228899,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:50:17] local.INFO: Processing buffer {"connection_id":228899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:50:17] local.INFO: IMEI packet received {"connection_id":228899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":228899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:50:18] local.INFO: TCP Data received {"connection_id":228899,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:50:18] local.INFO: Processing buffer {"connection_id":228899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:50:18] local.INFO: Packet analysis {"connection_id":228899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:50:18] local.INFO: Extracted packet for processing {"connection_id":228899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:50:18] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:50: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-11-04 12: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-11-04 12:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:50:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:50:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":228899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:50:18] local.INFO: GPS data processed {"connection_id":228899,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:50:18] local.INFO: Acknowledgment sent {"connection_id":228899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:50:20] local.INFO: TCP Data received {"connection_id":232557,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:20] local.INFO: Processing buffer {"connection_id":232557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:20] local.INFO: IMEI packet received {"connection_id":232557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":232557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:50:22] local.INFO: TCP Data received {"connection_id":228899,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:50:22] local.INFO: Processing buffer {"connection_id":228899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:50:22] local.INFO: Packet analysis {"connection_id":228899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:50:22] local.INFO: Extracted packet for processing {"connection_id":228899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:50:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:50:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":228899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:50:22] local.INFO: GPS data processed {"connection_id":228899,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:50:22] local.INFO: Acknowledgment sent {"connection_id":228899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:50:24] local.INFO: TCP Data received {"connection_id":232557,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:24] local.INFO: Processing buffer {"connection_id":232557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:50:24] local.INFO: IMEI packet received {"connection_id":232557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":232557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:50:25] local.INFO: TCP Data received {"connection_id":232557,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:50:25] local.INFO: Processing buffer {"connection_id":232557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:50:25] local.INFO: Packet analysis {"connection_id":232557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:50:25] local.INFO: Extracted packet for processing {"connection_id":232557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:50:25] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206746624001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793776657000,"timestamp_ms":1793776657000,"timestamp_seconds":1793776657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56ba268"} 
[2026-11-04 12:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:50:25] 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-11-04 12: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-11-04 12:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":232557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":232557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":232557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206746624001,"66":27050,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206746624001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:50:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:50:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206746624001,"power":27050,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":232557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:50:25] local.INFO: GPS data processed {"connection_id":232557,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:50:25] local.INFO: Acknowledgment sent {"connection_id":232557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:51:07] local.INFO: TCP Data received {"connection_id":228900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:51:07] local.INFO: Processing buffer {"connection_id":228900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:51:07] local.INFO: IMEI packet received {"connection_id":228900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":228900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:51:12] local.INFO: TCP Data received {"connection_id":228900,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:51:12] local.INFO: Processing buffer {"connection_id":228900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:51:12] local.INFO: IMEI packet received {"connection_id":228900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":228900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:51:13] local.INFO: TCP Data received {"connection_id":228900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:13] local.INFO: Processing buffer {"connection_id":228900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:13] local.INFO: Packet analysis {"connection_id":228900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:51:13] local.INFO: Extracted packet for processing {"connection_id":228900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:51: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-11-04 12:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:51:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":228900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:51:13] local.INFO: GPS data processed {"connection_id":228900,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:51:13] local.INFO: Acknowledgment sent {"connection_id":228900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:51:14] local.INFO: TCP Data received {"connection_id":229412,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:51:14] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:51:14] local.INFO: IMEI packet received {"connection_id":229412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":229412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:51:17] local.INFO: TCP Data received {"connection_id":228900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:17] local.INFO: Processing buffer {"connection_id":228900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:17] local.INFO: Packet analysis {"connection_id":228900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:51:17] local.INFO: Extracted packet for processing {"connection_id":228900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:51:17] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:51: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-11-04 12:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:51:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:51:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":228900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:51:17] local.INFO: GPS data processed {"connection_id":228900,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:51:17] local.INFO: Acknowledgment sent {"connection_id":228900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:51:18] local.INFO: TCP Data received {"connection_id":229412,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:51:18] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:51:18] local.INFO: IMEI packet received {"connection_id":229412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":229412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:51:20] local.INFO: TCP Data received {"connection_id":229412,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:51:20] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:51:20] local.INFO: Packet analysis {"connection_id":229412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:51:20] local.INFO: Extracted packet for processing {"connection_id":229412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 12:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206746624001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793776657000,"timestamp_ms":1793776657000,"timestamp_seconds":1793776657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56ba268"} 
[2026-11-04 12:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:51:20] 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-11-04 12:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206746624001,"66":27050,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206746624001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:51:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:51:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206746624001,"power":27050,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":229412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:51:21] local.INFO: GPS data processed {"connection_id":229412,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:51:21] local.INFO: Acknowledgment sent {"connection_id":229412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:51:48] local.INFO: TCP Data received {"connection_id":228900,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:48] local.INFO: Processing buffer {"connection_id":228900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56a75a0012d34c58006aa3df8000301201f..."} 
[2026-11-04 12:51:48] local.INFO: Packet analysis {"connection_id":228900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:51:48] local.INFO: Extracted packet for processing {"connection_id":228900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56a"} 
[2026-11-04 12:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206727168001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793776580000,"timestamp_ms":1793776580000,"timestamp_seconds":1793776580,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56a75a0"} 
[2026-11-04 12:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 12:51: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-11-04 12:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206727168001,"66":25604,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206727168001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:51:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:51:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206727168001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":228900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:51:48] local.INFO: GPS data processed {"connection_id":228900,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:51:48] local.INFO: Acknowledgment sent {"connection_id":228900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:51:54] local.INFO: TCP Data received {"connection_id":229412,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:51:54] local.INFO: Processing buffer {"connection_id":229412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:51:54] local.INFO: Packet analysis {"connection_id":229412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:51:54] local.INFO: Extracted packet for processing {"connection_id":229412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:51:54] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206746624001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:51:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793776657000,"timestamp_ms":1793776657000,"timestamp_seconds":1793776657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56ba268"} 
[2026-11-04 12:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:51:54] 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-11-04 12:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206746624001,"66":27050,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206746624001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:51:54] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:51:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:51:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206746624001,"power":27050,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":229412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:51:54] local.INFO: GPS data processed {"connection_id":229412,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:51:54] local.INFO: Acknowledgment sent {"connection_id":229412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:52:07] local.INFO: TCP Data received {"connection_id":228901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:52:07] local.INFO: Processing buffer {"connection_id":228901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:52:07] local.INFO: IMEI packet received {"connection_id":228901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":228901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:52:11] local.INFO: TCP Data received {"connection_id":228901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:52:11] local.INFO: Processing buffer {"connection_id":228901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:52:11] local.INFO: IMEI packet received {"connection_id":228901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":228901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:52:12] local.INFO: TCP Data received {"connection_id":228901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:52:12] local.INFO: Processing buffer {"connection_id":228901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:52:12] local.INFO: Packet analysis {"connection_id":228901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56f"} 
[2026-11-04 12:52:12] local.INFO: Extracted packet for processing {"connection_id":228901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56f"} 
[2026-11-04 12:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206804480001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498598912,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793776880000,"timestamp_ms":1793776880000,"timestamp_seconds":1793776880,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56f0980"} 
[2026-11-04 12:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 12:52: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-11-04 12: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-11-04 12:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206804480001,"66":25625,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498598912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206804480001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:52:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:52:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498598912,"description":"Unknown IO ID 45"} 
[2026-11-04 12:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206804480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498598912}} 
[2026-11-04 12:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":228901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:52:12] local.INFO: GPS data processed {"connection_id":228901,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:52:12] local.INFO: Acknowledgment sent {"connection_id":228901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:52:14] local.INFO: TCP Data received {"connection_id":230704,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:52:14] local.INFO: Processing buffer {"connection_id":230704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:52:14] local.INFO: IMEI packet received {"connection_id":230704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":230704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:52:23] local.INFO: TCP Data received {"connection_id":230704,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:52:23] local.INFO: Processing buffer {"connection_id":230704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:52:23] local.INFO: IMEI packet received {"connection_id":230704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":230704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:52:24] local.INFO: TCP Data received {"connection_id":230704,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:52:24] local.INFO: Processing buffer {"connection_id":230704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:52:24] local.INFO: Packet analysis {"connection_id":230704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:52:24] local.INFO: Extracted packet for processing {"connection_id":230704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206746624001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793776657000,"timestamp_ms":1793776657000,"timestamp_seconds":1793776657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56ba268"} 
[2026-11-04 12:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:52:24] 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-11-04 12: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-11-04 12:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206746624001,"66":27050,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206746624001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:52:24] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:52:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:52:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206746624001,"power":27050,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":230704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:52:24] local.INFO: GPS data processed {"connection_id":230704,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:52:24] local.INFO: Acknowledgment sent {"connection_id":230704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:52:26] local.INFO: TCP Data received {"connection_id":230704,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:52:26] local.INFO: Processing buffer {"connection_id":230704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56ba268012cee6e40072e30f80032007629..."} 
[2026-11-04 12:52:26] local.INFO: Packet analysis {"connection_id":230704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:52:26] local.INFO: Extracted packet for processing {"connection_id":230704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56b"} 
[2026-11-04 12:52:26] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206746624001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265863308172253184,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793776657000,"timestamp_ms":1793776657000,"timestamp_seconds":1793776657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56ba268"} 
[2026-11-04 12:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-11-04 12:52:26] 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-11-04 12: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-11-04 12:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206746624001,"66":27050,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1265863308172253184},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206746624001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:52:26] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:52:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:52:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265863308172253184,"description":"Unknown IO ID 44"} 
[2026-11-04 12:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206746624001,"power":27050,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265863308172253184}} 
[2026-11-04 12:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":230704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:52:26] local.INFO: GPS data processed {"connection_id":230704,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:52:26] local.INFO: Acknowledgment sent {"connection_id":230704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:52:44] local.INFO: TCP Data received {"connection_id":228901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:52:44] local.INFO: Processing buffer {"connection_id":228901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:52:44] local.INFO: Packet analysis {"connection_id":228901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56f"} 
[2026-11-04 12:52:44] local.INFO: Extracted packet for processing {"connection_id":228901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56f"} 
[2026-11-04 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206804480001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498598912,"note":"Value kept but may cause issues"} 
[2026-11-04 12:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793776880000,"timestamp_ms":1793776880000,"timestamp_seconds":1793776880,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56f0980"} 
[2026-11-04 12:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 12:52: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-11-04 12: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-11-04 12:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206804480001,"66":25625,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498598912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206804480001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:52:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498598912,"description":"Unknown IO ID 45"} 
[2026-11-04 12:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206804480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498598912}} 
[2026-11-04 12:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":228901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:52:44] local.INFO: GPS data processed {"connection_id":228901,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:52:44] local.INFO: Acknowledgment sent {"connection_id":228901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:53:06] local.INFO: TCP Data received {"connection_id":229413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:53:06] local.INFO: Processing buffer {"connection_id":229413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:53:06] local.INFO: IMEI packet received {"connection_id":229413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":229413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:53:12] local.INFO: TCP Data received {"connection_id":229413,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:53:12] local.INFO: Processing buffer {"connection_id":229413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:53:12] local.INFO: IMEI packet received {"connection_id":229413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":229413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:53:14] local.INFO: TCP Data received {"connection_id":229413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:53:14] local.INFO: Processing buffer {"connection_id":229413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a56f0980012d34c58006aa3df80003012020..."} 
[2026-11-04 12:53:14] local.INFO: Packet analysis {"connection_id":229413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a56f"} 
[2026-11-04 12:53:14] local.INFO: Extracted packet for processing {"connection_id":229413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a56f"} 
[2026-11-04 12:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":32,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206804480001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498598912,"note":"Value kept but may cause issues"} 
[2026-11-04 12:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793776880000,"timestamp_ms":1793776880000,"timestamp_seconds":1793776880,"priority":1,"record_length":96,"hex_timestamp":"000001a1a56f0980"} 
[2026-11-04 12:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 12:53:14] 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-11-04 12:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206804480001,"66":25625,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498598912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206804480001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498598912,"description":"Unknown IO ID 45"} 
[2026-11-04 12:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206804480001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498598912}} 
[2026-11-04 12:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":229413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:53:14] local.INFO: GPS data processed {"connection_id":229413,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:53:14] local.INFO: Acknowledgment sent {"connection_id":229413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:53:38] local.INFO: TCP Data received {"connection_id":230705,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:53:38] local.INFO: Processing buffer {"connection_id":230705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:53:38] local.INFO: IMEI packet received {"connection_id":230705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":230705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:53:45] local.INFO: TCP Data received {"connection_id":229413,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5709bd8012d34c58006aa3df80003012022..."} 
[2026-11-04 12:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5709bd8012d34c58006aa3df80003012022..."} 
[2026-11-04 12:53:45] local.INFO: Processing buffer {"connection_id":229413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5709bd8012d34c58006aa3df80003012022..."} 
[2026-11-04 12:53:45] local.INFO: Packet analysis {"connection_id":229413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a570"} 
[2026-11-04 12:53:45] local.INFO: Extracted packet for processing {"connection_id":229413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a570"} 
[2026-11-04 12:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111820280,"longitude_deg":75.8433152,"latitude_deg":11.182028,"altitude":3,"angle":288,"satellites":34,"speed":0,"hex_longitude":"2d34c580","hex_latitude":"06aa3df8","is_valid_coordinates":true} 
[2026-11-04 12:53: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-11-04 12:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206881280001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498598912,"note":"Value kept but may cause issues"} 
[2026-11-04 12:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793776983000,"timestamp_ms":1793776983000,"timestamp_seconds":1793776983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5709bd8"} 
[2026-11-04 12:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 12:53: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-11-04 12: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-11-04 12:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206881280001,"66":25615,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498598912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206881280001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:53:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:53:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498598912,"description":"Unknown IO ID 45"} 
[2026-11-04 12:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206881280001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498598912}} 
[2026-11-04 12:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":229413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:53:45] local.INFO: GPS data processed {"connection_id":229413,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:53:45] local.INFO: Acknowledgment sent {"connection_id":229413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:53:55] local.INFO: TCP Data received {"connection_id":230705,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:53:55] local.INFO: Processing buffer {"connection_id":230705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:53:55] local.INFO: IMEI packet received {"connection_id":230705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 12:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":230705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:54:07] local.INFO: TCP Data received {"connection_id":230706,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:07] local.INFO: Processing buffer {"connection_id":230706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:07] local.INFO: IMEI packet received {"connection_id":230706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":230706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:54:12] local.INFO: TCP Data received {"connection_id":230706,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:12] local.INFO: Processing buffer {"connection_id":230706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:12] local.INFO: IMEI packet received {"connection_id":230706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":230706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:54:13] local.INFO: TCP Data received {"connection_id":228902,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:54:13] local.INFO: Processing buffer {"connection_id":228902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:54:13] local.INFO: IMEI packet received {"connection_id":228902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":228902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:54:17] local.INFO: TCP Data received {"connection_id":230706,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:17] local.INFO: Processing buffer {"connection_id":230706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:54:17] local.INFO: IMEI packet received {"connection_id":230706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":230706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:54:17] local.INFO: TCP Data received {"connection_id":230706,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5710168012d34c80006aa3e080003012023..."} 
[2026-11-04 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5710168012d34c80006aa3e080003012023..."} 
[2026-11-04 12:54:17] local.INFO: Processing buffer {"connection_id":230706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5710168012d34c80006aa3e080003012023..."} 
[2026-11-04 12:54:17] local.INFO: Packet analysis {"connection_id":230706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:54:17] local.INFO: Extracted packet for processing {"connection_id":230706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":35,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206907648001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498598912,"note":"Value kept but may cause issues"} 
[2026-11-04 12:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793777009000,"timestamp_ms":1793777009000,"timestamp_seconds":1793777009,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5710168"} 
[2026-11-04 12:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 12:54:17] 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-11-04 12: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-11-04 12:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206907648001,"66":28006,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498598912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206907648001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498598912,"description":"Unknown IO ID 45"} 
[2026-11-04 12:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206907648001,"power":28006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498598912}} 
[2026-11-04 12:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":230706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:54:17] local.INFO: GPS data processed {"connection_id":230706,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:54:17] local.INFO: Acknowledgment sent {"connection_id":230706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:54:22] local.INFO: TCP Data received {"connection_id":230706,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5710168012d34c80006aa3e080003012023..."} 
[2026-11-04 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5710168012d34c80006aa3e080003012023..."} 
[2026-11-04 12:54:22] local.INFO: Processing buffer {"connection_id":230706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5710168012d34c80006aa3e080003012023..."} 
[2026-11-04 12:54:22] local.INFO: Packet analysis {"connection_id":230706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:54:22] local.INFO: Extracted packet for processing {"connection_id":230706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":35,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206907648001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498598912,"note":"Value kept but may cause issues"} 
[2026-11-04 12:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793777009000,"timestamp_ms":1793777009000,"timestamp_seconds":1793777009,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5710168"} 
[2026-11-04 12:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 12:54:22] 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-11-04 12:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206907648001,"66":28006,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3802586226498598912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206907648001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:54:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:54:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498598912,"description":"Unknown IO ID 45"} 
[2026-11-04 12:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206907648001,"power":28006,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3802586226498598912}} 
[2026-11-04 12:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":230706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:54:22] local.INFO: GPS data processed {"connection_id":230706,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:54:22] local.INFO: Acknowledgment sent {"connection_id":230706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:55:07] local.INFO: TCP Data received {"connection_id":230707,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:55:07] local.INFO: Processing buffer {"connection_id":230707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:55:07] local.INFO: IMEI packet received {"connection_id":230707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":230707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:55:12] local.INFO: TCP Data received {"connection_id":230707,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:55:12] local.INFO: Processing buffer {"connection_id":230707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:55:12] local.INFO: IMEI packet received {"connection_id":230707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":230707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:55:13] local.INFO: TCP Data received {"connection_id":230707,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5715370012d34c80006aa3e08000301201f..."} 
[2026-11-04 12:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5715370012d34c80006aa3e08000301201f..."} 
[2026-11-04 12:55:13] local.INFO: Processing buffer {"connection_id":230707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5715370012d34c80006aa3e08000301201f..."} 
[2026-11-04 12:55:13] local.INFO: Packet analysis {"connection_id":230707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:55:13] local.INFO: Extracted packet for processing {"connection_id":230707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:55:13] local.INFO: GPS Element Parsed {"raw_longitude":758433792,"raw_latitude":111820296,"longitude_deg":75.8433792,"latitude_deg":11.1820296,"altitude":3,"angle":288,"satellites":31,"speed":0,"hex_longitude":"2d34c800","hex_latitude":"06aa3e08","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206914304001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827569507729408,"note":"Value kept but may cause issues"} 
[2026-11-04 12:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793777030000,"timestamp_ms":1793777030000,"timestamp_seconds":1793777030,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5715370"} 
[2026-11-04 12:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 12:55: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-11-04 12: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-11-04 12:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206914304001,"66":28093,"97":206,"81":23296,"24":0,"16":38827569507729408,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206914304001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:55:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:55:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827569507729408,"km_value":38827569507729.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206914304001,"power":28093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":230707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:55:13] local.INFO: GPS data processed {"connection_id":230707,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:55:13] local.INFO: Acknowledgment sent {"connection_id":230707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:55:44] local.INFO: TCP Data received {"connection_id":230707,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5716ae0012d34c50006aa3d900005013626..."} 
[2026-11-04 12:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5716ae0012d34c50006aa3d900005013626..."} 
[2026-11-04 12:55:44] local.INFO: Processing buffer {"connection_id":230707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5716ae0012d34c50006aa3d900005013626..."} 
[2026-11-04 12:55:44] local.INFO: Packet analysis {"connection_id":230707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:55:44] local.INFO: Extracted packet for processing {"connection_id":230707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758433024,"raw_latitude":111820176,"longitude_deg":75.8433024,"latitude_deg":11.1820176,"altitude":5,"angle":310,"satellites":38,"speed":6,"hex_longitude":"2d34c500","hex_latitude":"06aa3d90","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206919680001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827612457402368,"note":"Value kept but may cause issues"} 
[2026-11-04 12:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803289913940379648,"note":"Value kept but may cause issues"} 
[2026-11-04 12:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793777036000,"timestamp_ms":1793777036000,"timestamp_seconds":1793777036,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5716ae0"} 
[2026-11-04 12:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 12:55:44] 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-11-04 12: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-11-04 12:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206919680001,"66":27865,"97":206,"81":23296,"24":6,"16":38827612457402368,"45":3803289913940379648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206919680001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:55:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:55:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827612457402368,"km_value":38827612457402.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803289913940379648,"description":"Unknown IO ID 45"} 
[2026-11-04 12:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206919680001,"power":27865,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3803289913940379648}} 
[2026-11-04 12:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":230707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:55:44] local.INFO: GPS data processed {"connection_id":230707,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:55:44] local.INFO: Acknowledgment sent {"connection_id":230707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:56:03] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:03] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:03] local.INFO: IMEI packet received {"connection_id":229414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":229414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:56:07] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:07] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:07] local.INFO: IMEI packet received {"connection_id":229414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":229414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:56:12] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:12] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:56:12] local.INFO: IMEI packet received {"connection_id":229414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":229414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:56:13] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5716ec8012d34c44006aa3e000005014426..."} 
[2026-11-04 12:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5716ec8012d34c44006aa3e000005014426..."} 
[2026-11-04 12:56:13] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5716ec8012d34c44006aa3e000005014426..."} 
[2026-11-04 12:56:13] local.INFO: Packet analysis {"connection_id":229414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:56:13] local.INFO: Extracted packet for processing {"connection_id":229414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111820288,"longitude_deg":75.8432832,"latitude_deg":11.1820288,"altitude":5,"angle":324,"satellites":38,"speed":5,"hex_longitude":"2d34c440","hex_latitude":"06aa3e00","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206921216001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827621047336960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489010216960,"note":"Value kept but may cause issues"} 
[2026-11-04 12:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793777037000,"timestamp_ms":1793777037000,"timestamp_seconds":1793777037,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5716ec8"} 
[2026-11-04 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-11-04 12:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 12:56:13] 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-11-04 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-11-04 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-11-04 12:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206921216001,"66":27887,"97":206,"81":23296,"24":5,"16":38827621047336960,"45":3802445489010216960},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206921216001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:56:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827621047336960,"km_value":38827621047336.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489010216960,"description":"Unknown IO ID 45"} 
[2026-11-04 12:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206921216001,"power":27887,"unknown_97":206,"unknown_81":23296,"ignition":5,"odometer":null,"unknown_45":3802445489010216960}} 
[2026-11-04 12:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":229414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:56:13] local.INFO: GPS data processed {"connection_id":229414,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:56:13] local.INFO: Acknowledgment sent {"connection_id":229414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:56:44] local.INFO: TCP Data received {"connection_id":229414,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5717698012d34c3c006aa3f500005015a26..."} 
[2026-11-04 12:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5717698012d34c3c006aa3f500005015a26..."} 
[2026-11-04 12:56:44] local.INFO: Processing buffer {"connection_id":229414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5717698012d34c3c006aa3f500005015a26..."} 
[2026-11-04 12:56:44] local.INFO: Packet analysis {"connection_id":229414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:56:44] local.INFO: Extracted packet for processing {"connection_id":229414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a571"} 
[2026-11-04 12:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111820624,"longitude_deg":75.8432704,"latitude_deg":11.1820624,"altitude":5,"angle":346,"satellites":38,"speed":7,"hex_longitude":"2d34c3c0","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206921472001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827642522173440,"note":"Value kept but may cause issues"} 
[2026-11-04 12:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382777712640,"note":"Value kept but may cause issues"} 
[2026-11-04 12:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793777039000,"timestamp_ms":1793777039000,"timestamp_seconds":1793777039,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5717698"} 
[2026-11-04 12:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 12:56: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-11-04 12: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-11-04 12:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206921472001,"66":27908,"97":206,"81":23296,"24":7,"16":38827642522173440,"45":3802234382777712640},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206921472001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:56:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:56:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827642522173440,"km_value":38827642522173.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382777712640,"description":"Unknown IO ID 45"} 
[2026-11-04 12:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206921472001,"power":27908,"unknown_97":206,"unknown_81":23296,"ignition":7,"odometer":null,"unknown_45":3802234382777712640}} 
[2026-11-04 12:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":229414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:56:44] local.INFO: GPS data processed {"connection_id":229414,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:56:44] local.INFO: Acknowledgment sent {"connection_id":229414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:57:07] local.INFO: TCP Data received {"connection_id":232559,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:57:07] local.INFO: Processing buffer {"connection_id":232559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:57:07] local.INFO: IMEI packet received {"connection_id":232559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":232559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:57:12] local.INFO: TCP Data received {"connection_id":232559,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:57:12] local.INFO: Processing buffer {"connection_id":232559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:57:12] local.INFO: IMEI packet received {"connection_id":232559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":232559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:57:13] local.INFO: TCP Data received {"connection_id":232559,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5733bb8012d34c88006aa56900009004a27..."} 
[2026-11-04 12:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5733bb8012d34c88006aa56900009004a27..."} 
[2026-11-04 12:57:13] local.INFO: Processing buffer {"connection_id":232559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5733bb8012d34c88006aa56900009004a27..."} 
[2026-11-04 12:57:13] local.INFO: Packet analysis {"connection_id":232559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a573"} 
[2026-11-04 12:57:13] local.INFO: Extracted packet for processing {"connection_id":232559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a573"} 
[2026-11-04 12:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111826576,"longitude_deg":75.843392,"latitude_deg":11.1826576,"altitude":9,"angle":74,"satellites":39,"speed":14,"hex_longitude":"2d34c880","hex_latitude":"06aa5690","is_valid_coordinates":true} 
[2026-11-04 12:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206951424001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38827960349753344,"note":"Value kept but may cause issues"} 
[2026-11-04 12:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807709421568,"note":"Value kept but may cause issues"} 
[2026-11-04 12:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793777155000,"timestamp_ms":1793777155000,"timestamp_seconds":1793777155,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5733bb8"} 
[2026-11-04 12:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 12:57: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-11-04 12:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206951424001,"66":28104,"97":206,"81":23296,"24":14,"16":38827960349753344,"45":3803078807709421568},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206951424001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38827960349753344,"km_value":38827960349753.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807709421568,"description":"Unknown IO ID 45"} 
[2026-11-04 12:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206951424001,"power":28104,"unknown_97":206,"unknown_81":23296,"ignition":14,"odometer":null,"unknown_45":3803078807709421568}} 
[2026-11-04 12:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":232559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:57:13] local.INFO: GPS data processed {"connection_id":232559,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:57:13] local.INFO: Acknowledgment sent {"connection_id":232559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:57:45] local.INFO: TCP Data received {"connection_id":232559,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5738208012d34ec4006aa5d280009004e26..."} 
[2026-11-04 12:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5738208012d34ec4006aa5d280009004e26..."} 
[2026-11-04 12:57:45] local.INFO: Processing buffer {"connection_id":232559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5738208012d34ec4006aa5d280009004e26..."} 
[2026-11-04 12:57:45] local.INFO: Packet analysis {"connection_id":232559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a573"} 
[2026-11-04 12:57:45] local.INFO: Extracted packet for processing {"connection_id":232559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a573"} 
[2026-11-04 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758443072,"raw_latitude":111828264,"longitude_deg":75.8443072,"latitude_deg":11.1828264,"altitude":9,"angle":78,"satellites":38,"speed":23,"hex_longitude":"2d34ec40","hex_latitude":"06aa5d28","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206951680001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38828402731384832,"note":"Value kept but may cause issues"} 
[2026-11-04 12:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651430342656,"note":"Value kept but may cause issues"} 
[2026-11-04 12:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793777173000,"timestamp_ms":1793777173000,"timestamp_seconds":1793777173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5738208"} 
[2026-11-04 12:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 12:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 12: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-11-04 12:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206951680001,"66":27930,"97":206,"81":23296,"24":23,"16":38828402731384832,"45":3803430651430342656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206951680001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38828402731384832,"km_value":38828402731384.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651430342656,"description":"Unknown IO ID 45"} 
[2026-11-04 12:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206951680001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":23,"odometer":null,"unknown_45":3803430651430342656}} 
[2026-11-04 12:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":232559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:57:45] local.INFO: GPS data processed {"connection_id":232559,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:57:45] local.INFO: Acknowledgment sent {"connection_id":232559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:58:06] local.INFO: TCP Data received {"connection_id":230710,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:58:06] local.INFO: Processing buffer {"connection_id":230710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:58:06] local.INFO: IMEI packet received {"connection_id":230710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":230710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:58:12] local.INFO: TCP Data received {"connection_id":230710,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:58:12] local.INFO: Processing buffer {"connection_id":230710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:58:12] local.INFO: IMEI packet received {"connection_id":230710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":230710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:58:13] local.INFO: TCP Data received {"connection_id":230710,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a573cc40012d350e8006aa6408000b004028..."} 
[2026-11-04 12:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a573cc40012d350e8006aa6408000b004028..."} 
[2026-11-04 12:58:13] local.INFO: Processing buffer {"connection_id":230710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a573cc40012d350e8006aa6408000b004028..."} 
[2026-11-04 12:58:13] local.INFO: Packet analysis {"connection_id":230710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a573"} 
[2026-11-04 12:58:13] local.INFO: Extracted packet for processing {"connection_id":230710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a573"} 
[2026-11-04 12:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758451840,"raw_latitude":111830024,"longitude_deg":75.845184,"latitude_deg":11.1830024,"altitude":11,"angle":64,"satellites":40,"speed":6,"hex_longitude":"2d350e80","hex_latitude":"06aa6408","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206956288001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38828832228114432,"note":"Value kept but may cause issues"} 
[2026-11-04 12:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3813493381848180736,"note":"Value kept but may cause issues"} 
[2026-11-04 12:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793777192000,"timestamp_ms":1793777192000,"timestamp_seconds":1793777192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a573cc40"} 
[2026-11-04 12:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 12:58: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-11-04 12: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-11-04 12:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206956288001,"66":27930,"97":206,"81":23296,"24":6,"16":38828832228114432,"45":3813493381848180736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-11-04 12:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206956288001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:58:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-11-04 12:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38828832228114432,"km_value":38828832228114.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3813493381848180736,"description":"Unknown IO ID 45"} 
[2026-11-04 12:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206956288001,"power":27930,"unknown_97":206,"unknown_81":23296,"ignition":6,"odometer":null,"unknown_45":3813493381848180736}} 
[2026-11-04 12:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":230710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:58:13] local.INFO: GPS data processed {"connection_id":230710,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:58:13] local.INFO: Acknowledgment sent {"connection_id":230710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:58:45] local.INFO: TCP Data received {"connection_id":230710,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5740ac0012d35130006aa6618000f005327..."} 
[2026-11-04 12:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5740ac0012d35130006aa6618000f005327..."} 
[2026-11-04 12:58:45] local.INFO: Processing buffer {"connection_id":230710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5740ac0012d35130006aa6618000f005327..."} 
[2026-11-04 12:58:45] local.INFO: Packet analysis {"connection_id":230710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 12:58:45] local.INFO: Extracted packet for processing {"connection_id":230710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758452992,"raw_latitude":111830552,"longitude_deg":75.8452992,"latitude_deg":11.1830552,"altitude":15,"angle":83,"satellites":39,"speed":10,"hex_longitude":"2d351300","hex_latitude":"06aa6618","is_valid_coordinates":true} 
[2026-11-04 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206961152001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38828896652623872,"note":"Value kept but may cause issues"} 
[2026-11-04 12:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3823133899800971264,"note":"Value kept but may cause issues"} 
[2026-11-04 12:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793777208000,"timestamp_ms":1793777208000,"timestamp_seconds":1793777208,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5740ac0"} 
[2026-11-04 12:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 12:58: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-11-04 12:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206961152001,"66":27908,"96":206,"81":23296,"24":10,"16":38828896652623872,"45":3823133899800971264},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-11-04 12:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206961152001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:58:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-04 12:58:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38828896652623872,"km_value":38828896652623.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3823133899800971264,"description":"Unknown IO ID 45"} 
[2026-11-04 12:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206961152001,"power":27908,"unknown_96":206,"unknown_81":23296,"ignition":10,"odometer":null,"unknown_45":3823133899800971264}} 
[2026-11-04 12:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":230710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:58:45] local.INFO: GPS data processed {"connection_id":230710,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:58:45] local.INFO: Acknowledgment sent {"connection_id":230710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:59:05] local.INFO: TCP Data received {"connection_id":230712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:05] local.INFO: Processing buffer {"connection_id":230712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:05] local.INFO: IMEI packet received {"connection_id":230712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 12:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":230712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:59:06] local.INFO: TCP Data received {"connection_id":230712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:06] local.INFO: Processing buffer {"connection_id":230712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:06] local.INFO: IMEI packet received {"connection_id":230712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":230712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:59:12] local.INFO: TCP Data received {"connection_id":230712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:12] local.INFO: Processing buffer {"connection_id":230712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 12:59:12] local.INFO: IMEI packet received {"connection_id":230712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 12:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":230712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 12:59:13] local.INFO: TCP Data received {"connection_id":230712,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5741290012d3515c006aa65e8000e006726..."} 
[2026-11-04 12:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5741290012d3515c006aa65e8000e006726..."} 
[2026-11-04 12:59:13] local.INFO: Processing buffer {"connection_id":230712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5741290012d3515c006aa65e8000e006726..."} 
[2026-11-04 12:59:13] local.INFO: Packet analysis {"connection_id":230712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 12:59:13] local.INFO: Extracted packet for processing {"connection_id":230712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 12:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758453696,"raw_latitude":111830504,"longitude_deg":75.8453696,"latitude_deg":11.1830504,"altitude":14,"angle":103,"satellites":38,"speed":15,"hex_longitude":"2d3515c0","hex_latitude":"06aa65e8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206965248001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38828926717394944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3824400537196304384,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793777210000,"timestamp_ms":1793777210000,"timestamp_seconds":1793777210,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5741290"} 
[2026-11-04 12:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 12:59:13] 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-11-04 12: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-11-04 12:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206965248001,"66":27919,"96":206,"81":23296,"24":15,"16":38828926717394944,"45":3824400537196304384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,81,24,16,45]} 
[2026-11-04 12:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206965248001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:59:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-11-04 12:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38828926717394944,"km_value":38828926717394.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3824400537196304384,"description":"Unknown IO ID 45"} 
[2026-11-04 12:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206965248001,"power":27919,"unknown_96":206,"unknown_81":23296,"ignition":15,"odometer":null,"unknown_45":3824400537196304384}} 
[2026-11-04 12:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":230712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:59:13] local.INFO: GPS data processed {"connection_id":230712,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:59:13] local.INFO: Acknowledgment sent {"connection_id":230712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:59:19] local.INFO: TCP Data received {"connection_id":229415,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:59:19] local.INFO: Processing buffer {"connection_id":229415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 12:59:19] local.INFO: IMEI packet received {"connection_id":229415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 12:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":229415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 12:59:21] local.INFO: TCP Data received {"connection_id":229415,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5703648012cee6e40072e30f80032007629..."} 
[2026-11-04 12:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5703648012cee6e40072e30f80032007629..."} 
[2026-11-04 12:59:21] local.INFO: Processing buffer {"connection_id":229415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5703648012cee6e40072e30f80032007629..."} 
[2026-11-04 12:59:21] local.INFO: Packet analysis {"connection_id":229415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a570"} 
[2026-11-04 12:59:21] local.INFO: Extracted packet for processing {"connection_id":229415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a570"} 
[2026-11-04 12:59:21] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 12:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206824192001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793776957000,"timestamp_ms":1793776957000,"timestamp_seconds":1793776957,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5703648"} 
[2026-11-04 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-11-04 12:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-04 12:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 12:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206824192001,"66":26832,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206824192001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:59:21] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:59:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 12:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206824192001,"power":26832,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 12:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":229415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:59:21] local.INFO: GPS data processed {"connection_id":229415,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:59:21] local.INFO: Acknowledgment sent {"connection_id":229415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:59:45] local.INFO: TCP Data received {"connection_id":230712,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a575df80012d36c04006a9b190000c007b26..."} 
[2026-11-04 12:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a575df80012d36c04006a9b190000c007b26..."} 
[2026-11-04 12:59:45] local.INFO: Processing buffer {"connection_id":230712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a575df80012d36c04006a9b190000c007b26..."} 
[2026-11-04 12:59:45] local.INFO: Packet analysis {"connection_id":230712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a575"} 
[2026-11-04 12:59:45] local.INFO: Extracted packet for processing {"connection_id":230712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a575"} 
[2026-11-04 12:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758562880,"raw_latitude":111784336,"longitude_deg":75.856288,"latitude_deg":11.1784336,"altitude":12,"angle":123,"satellites":38,"speed":41,"hex_longitude":"2d36c040","hex_latitude":"06a9b190","is_valid_coordinates":true} 
[2026-11-04 12:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 12:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206993920001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38834621844029440,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3938327534009563136,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793777328000,"timestamp_ms":1793777328000,"timestamp_seconds":1793777328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a575df80"} 
[2026-11-04 12:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 12:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 12:59:45] 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-11-04 12:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 12:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 12:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 12:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 12:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206993920001,"66":27908,"77":206,"81":23296,"24":41,"16":38834621844029440,"45":3938327534009563136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-11-04 12:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 12:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 12:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206993920001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:59:45] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 12:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 12:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38834621844029440,"km_value":38834621844029.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3938327534009563136,"description":"Unknown IO ID 45"} 
[2026-11-04 12:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206993920001,"power":27908,"unknown_77":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3938327534009563136}} 
[2026-11-04 12:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":230712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:59:45] local.INFO: GPS data processed {"connection_id":230712,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:59:45] local.INFO: Acknowledgment sent {"connection_id":230712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 12:59:57] local.INFO: TCP Data received {"connection_id":229415,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 12:59:57] local.INFO: Processing buffer {"connection_id":229415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 12:59:57] local.INFO: Packet analysis {"connection_id":229415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 12:59:57] local.INFO: Extracted packet for processing {"connection_id":229415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 12: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-11-04 12:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 12:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 12:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 12:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 12:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 12: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 12:59:57] 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-11-04 12: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-11-04 12:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 12:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 12:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":229415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 12:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":229415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":229415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 12:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 12:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 12:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 12:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 12:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 12:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 12:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 12:59:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 12:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 12:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":229415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 12:59:57] local.INFO: GPS data processed {"connection_id":229415,"processed":1,"errors":0,"total":1} 
[2026-11-04 12:59:57] local.INFO: Acknowledgment sent {"connection_id":229415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:00:12] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:00:12] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:00:12] local.INFO: IMEI packet received {"connection_id":229416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":229416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:00:14] local.INFO: TCP Data received {"connection_id":232560,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:00:14] local.INFO: Processing buffer {"connection_id":232560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:00:14] local.INFO: IMEI packet received {"connection_id":232560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":232560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:00:14] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:00:14] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:00:14] local.INFO: IMEI packet received {"connection_id":229416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":229416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:00:15] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a575fec0012d36de8006a9a258000d006c28..."} 
[2026-11-04 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a575fec0012d36de8006a9a258000d006c28..."} 
[2026-11-04 13:00:15] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a575fec0012d36de8006a9a258000d006c28..."} 
[2026-11-04 13:00:15] local.INFO: Packet analysis {"connection_id":229416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a575"} 
[2026-11-04 13:00:15] local.INFO: Extracted packet for processing {"connection_id":229416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a575"} 
[2026-11-04 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758570624,"raw_latitude":111780440,"longitude_deg":75.8570624,"latitude_deg":11.178044,"altitude":13,"angle":108,"satellites":40,"speed":44,"hex_longitude":"2d36de80","hex_latitude":"06a9a258","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206995968001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38835038455857152,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3945223670937522176,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793777336000,"timestamp_ms":1793777336000,"timestamp_seconds":1793777336,"priority":1,"record_length":96,"hex_timestamp":"000001a1a575fec0"} 
[2026-11-04 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-11-04 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:00: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-11-04 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-11-04 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-11-04 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206995968001,"66":27908,"77":206,"81":23296,"24":44,"16":38835038455857152,"45":3945223670937522176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-11-04 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206995968001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38835038455857152,"km_value":38835038455857.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3945223670937522176,"description":"Unknown IO ID 45"} 
[2026-11-04 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206995968001,"power":27908,"unknown_77":206,"unknown_81":23296,"ignition":44,"odometer":null,"unknown_45":3945223670937522176}} 
[2026-11-04 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":229416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:00:15] local.INFO: GPS data processed {"connection_id":229416,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:00:15] local.INFO: Acknowledgment sent {"connection_id":229416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:00:17] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5761e00012d37038006a99a50000b006428..."} 
[2026-11-04 13:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5761e00012d37038006a99a50000b006428..."} 
[2026-11-04 13:00:17] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5761e00012d37038006a99a50000b006428..."} 
[2026-11-04 13:00:17] local.INFO: Packet analysis {"connection_id":229416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:00:17] local.INFO: Extracted packet for processing {"connection_id":229416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758580096,"raw_latitude":111778384,"longitude_deg":75.8580096,"latitude_deg":11.1778384,"altitude":11,"angle":100,"satellites":40,"speed":48,"hex_longitude":"2d370380","hex_latitude":"06a99a50","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206998016001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38835498017357824,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3953738288982022144,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793777344000,"timestamp_ms":1793777344000,"timestamp_seconds":1793777344,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5761e00"} 
[2026-11-04 13:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:00: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-11-04 13: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-11-04 13:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206998016001,"66":27930,"77":206,"81":23296,"24":48,"16":38835498017357824,"45":3953738288982022144},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-11-04 13:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206998016001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:00:17] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 13:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38835498017357824,"km_value":38835498017357.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3953738288982022144,"description":"Unknown IO ID 45"} 
[2026-11-04 13:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206998016001,"power":27930,"unknown_77":206,"unknown_81":23296,"ignition":48,"odometer":null,"unknown_45":3953738288982022144}} 
[2026-11-04 13:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":229416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:00:17] local.INFO: GPS data processed {"connection_id":229416,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:00:17] local.INFO: Acknowledgment sent {"connection_id":229416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:00:21] local.INFO: TCP Data received {"connection_id":232560,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:00:21] local.INFO: Processing buffer {"connection_id":232560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:00:21] local.INFO: IMEI packet received {"connection_id":232560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":232560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:00:22] local.INFO: TCP Data received {"connection_id":232560,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:00:22] local.INFO: Processing buffer {"connection_id":232560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:00:22] local.INFO: Packet analysis {"connection_id":232560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:00:22] local.INFO: Extracted packet for processing {"connection_id":232560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 13:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 13:00:22] 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-11-04 13:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:00:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:00:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":232560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:00:23] local.INFO: GPS data processed {"connection_id":232560,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:00:23] local.INFO: Acknowledgment sent {"connection_id":232560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:00:48] local.INFO: TCP Data received {"connection_id":229416,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5764128012d37274006a993f0000d006526..."} 
[2026-11-04 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5764128012d37274006a993f0000d006526..."} 
[2026-11-04 13:00:48] local.INFO: Processing buffer {"connection_id":229416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5764128012d37274006a993f0000d006526..."} 
[2026-11-04 13:00:48] local.INFO: Packet analysis {"connection_id":229416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:00:48] local.INFO: Extracted packet for processing {"connection_id":229416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758589248,"raw_latitude":111776752,"longitude_deg":75.8589248,"latitude_deg":11.1776752,"altitude":13,"angle":101,"satellites":38,"speed":21,"hex_longitude":"2d372740","hex_latitude":"06a993f0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207000064001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38835940398989312,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3964152863119790080,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793777353000,"timestamp_ms":1793777353000,"timestamp_seconds":1793777353,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5764128"} 
[2026-11-04 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-11-04 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 13:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207000064001,"66":27843,"77":206,"81":23296,"24":21,"16":38835940398989312,"45":3964152863119790080},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-11-04 13:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207000064001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:00:48] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 13:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38835940398989312,"km_value":38835940398989.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3964152863119790080,"description":"Unknown IO ID 45"} 
[2026-11-04 13:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207000064001,"power":27843,"unknown_77":206,"unknown_81":23296,"ignition":21,"odometer":null,"unknown_45":3964152863119790080}} 
[2026-11-04 13:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":229416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:00:48] local.INFO: GPS data processed {"connection_id":229416,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:00:48] local.INFO: Acknowledgment sent {"connection_id":229416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:00:54] local.INFO: TCP Data received {"connection_id":232560,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:00:54] local.INFO: Processing buffer {"connection_id":232560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:00:54] local.INFO: Packet analysis {"connection_id":232560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:00:54] local.INFO: Extracted packet for processing {"connection_id":232560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:00:54] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 13:00:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:00:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:00:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 13:00:54] 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-11-04 13:00:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:00:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:00:54] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:00:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:00:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":232560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:00:54] local.INFO: GPS data processed {"connection_id":232560,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:00:54] local.INFO: Acknowledgment sent {"connection_id":232560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:01:08] local.INFO: TCP Data received {"connection_id":228903,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:01:08] local.INFO: Processing buffer {"connection_id":228903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:01:08] local.INFO: IMEI packet received {"connection_id":228903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":228903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:01:11] local.INFO: TCP Data received {"connection_id":228904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:11] local.INFO: Processing buffer {"connection_id":228904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:11] local.INFO: IMEI packet received {"connection_id":228904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":228904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:01:12] local.INFO: TCP Data received {"connection_id":228904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:12] local.INFO: Processing buffer {"connection_id":228904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:12] local.INFO: IMEI packet received {"connection_id":228904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":228904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:01:15] local.INFO: TCP Data received {"connection_id":228903,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:01:15] local.INFO: Processing buffer {"connection_id":228903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:01:15] local.INFO: IMEI packet received {"connection_id":228903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":228903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:01:17] local.INFO: TCP Data received {"connection_id":228904,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:17] local.INFO: Processing buffer {"connection_id":228904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:01:17] local.INFO: IMEI packet received {"connection_id":228904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":228904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:01:17] local.INFO: TCP Data received {"connection_id":228903,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:01:17] local.INFO: Processing buffer {"connection_id":228903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:01:17] local.INFO: Packet analysis {"connection_id":228903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:01:17] local.INFO: Extracted packet for processing {"connection_id":228903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 13:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 13:01:17] 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-11-04 13: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-11-04 13:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:01:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:01:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":228903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:01:17] local.INFO: GPS data processed {"connection_id":228903,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:01:17] local.INFO: Acknowledgment sent {"connection_id":228903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:01:18] local.INFO: TCP Data received {"connection_id":228904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57673f0012d374b4006a98ce8000d006326..."} 
[2026-11-04 13:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57673f0012d374b4006a98ce8000d006326..."} 
[2026-11-04 13:01:18] local.INFO: Processing buffer {"connection_id":228904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57673f0012d374b4006a98ce8000d006326..."} 
[2026-11-04 13:01:18] local.INFO: Packet analysis {"connection_id":228904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:01:18] local.INFO: Extracted packet for processing {"connection_id":228904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758598464,"raw_latitude":111774952,"longitude_deg":75.8598464,"latitude_deg":11.1774952,"altitude":13,"angle":99,"satellites":38,"speed":35,"hex_longitude":"2d374b40","hex_latitude":"06a98ce8","is_valid_coordinates":true} 
[2026-11-04 13:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207002368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38836387075588096,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3974215593536778240,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793777366000,"timestamp_ms":1793777366000,"timestamp_seconds":1793777366,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57673f0"} 
[2026-11-04 13:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 13:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207002368001,"66":27843,"77":206,"81":23296,"24":35,"16":38836387075588096,"45":3974215593536778240},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,81,24,16,45]} 
[2026-11-04 13:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207002368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:01:18] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-11-04 13:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38836387075588096,"km_value":38836387075588.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3974215593536778240,"description":"Unknown IO ID 45"} 
[2026-11-04 13:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207002368001,"power":27843,"unknown_77":206,"unknown_81":23296,"ignition":35,"odometer":null,"unknown_45":3974215593536778240}} 
[2026-11-04 13:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":228904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:01:18] local.INFO: GPS data processed {"connection_id":228904,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:01:18] local.INFO: Acknowledgment sent {"connection_id":228904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:01:50] local.INFO: TCP Data received {"connection_id":228904,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5769718012d376d8006a98970000d005626..."} 
[2026-11-04 13:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5769718012d376d8006a98970000d005626..."} 
[2026-11-04 13:01:50] local.INFO: Processing buffer {"connection_id":228904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5769718012d376d8006a98970000d005626..."} 
[2026-11-04 13:01:50] local.INFO: Packet analysis {"connection_id":228904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:01:50] local.INFO: Extracted packet for processing {"connection_id":228904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:01:50] local.INFO: GPS Element Parsed {"raw_longitude":758607232,"raw_latitude":111774064,"longitude_deg":75.8607232,"latitude_deg":11.1774064,"altitude":13,"angle":86,"satellites":38,"speed":41,"hex_longitude":"2d376d80","hex_latitude":"06a98970","is_valid_coordinates":true} 
[2026-11-04 13:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207005696001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38836807982383104,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3984348692697901056,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,48,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793777375000,"timestamp_ms":1793777375000,"timestamp_seconds":1793777375,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5769718"} 
[2026-11-04 13:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 13:01: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-11-04 13:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207005696001,"66":27974,"48":206,"81":23296,"24":41,"16":38836807982383104,"45":3984348692697901056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,81,24,16,45]} 
[2026-11-04 13:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207005696001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:01:50] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-11-04 13:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38836807982383104,"km_value":38836807982383.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3984348692697901056,"description":"Unknown IO ID 45"} 
[2026-11-04 13:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207005696001,"power":27974,"unknown_48":206,"unknown_81":23296,"ignition":41,"odometer":null,"unknown_45":3984348692697901056}} 
[2026-11-04 13:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":228904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:01:50] local.INFO: GPS data processed {"connection_id":228904,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:01:50] local.INFO: Acknowledgment sent {"connection_id":228904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:01:53] local.INFO: TCP Data received {"connection_id":228903,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:01:53] local.INFO: Processing buffer {"connection_id":228903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:01:53] local.INFO: Packet analysis {"connection_id":228903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:01:53] local.INFO: Extracted packet for processing {"connection_id":228903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:01:53] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 13:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 13:01:53] 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-11-04 13:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":228903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":228903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":228903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:01:53] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:01:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":228903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:01:53] local.INFO: GPS data processed {"connection_id":228903,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:01:53] local.INFO: Acknowledgment sent {"connection_id":228903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:02:06] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:06] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:06] local.INFO: IMEI packet received {"connection_id":229417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":229417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:02:09] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:09] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:09] local.INFO: IMEI packet received {"connection_id":229417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":229417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:02:11] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:11] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:02:11] local.INFO: IMEI packet received {"connection_id":229417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":229417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:02:12] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a576be28012d37934006a98dc8000c005624..."} 
[2026-11-04 13:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a576be28012d37934006a98dc8000c005624..."} 
[2026-11-04 13:02:12] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a576be28012d37934006a98dc8000c005624..."} 
[2026-11-04 13:02:12] local.INFO: Packet analysis {"connection_id":229417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:02:12] local.INFO: Extracted packet for processing {"connection_id":229417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:02:12] local.INFO: GPS Element Parsed {"raw_longitude":758616896,"raw_latitude":111775176,"longitude_deg":75.8616896,"latitude_deg":11.1775176,"altitude":12,"angle":86,"satellites":36,"speed":32,"hex_longitude":"2d379340","hex_latitude":"06a98dc8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207008000001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38837267543883776,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3993989210650013696,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793777385000,"timestamp_ms":1793777385000,"timestamp_seconds":1793777385,"priority":1,"record_length":96,"hex_timestamp":"000001a1a576be28"} 
[2026-11-04 13:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":70,"data_length":795,"current_offset":136} 
[2026-11-04 13:02: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-11-04 13: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-11-04 13:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207008000001,"66":28006,"50":206,"81":23296,"24":32,"16":38837267543883776,"45":3993989210650013696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-11-04 13:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207008000001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:02:12] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-11-04 13:02:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38837267543883776,"km_value":38837267543883.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3993989210650013696,"description":"Unknown IO ID 45"} 
[2026-11-04 13:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207008000001,"power":28006,"unknown_50":206,"unknown_81":23296,"ignition":32,"odometer":null,"unknown_45":3993989210650013696}} 
[2026-11-04 13:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":229417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:02:12] local.INFO: GPS data processed {"connection_id":229417,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:02:12] local.INFO: Acknowledgment sent {"connection_id":229417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:02:28] local.INFO: TCP Data received {"connection_id":229418,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:02:28] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:02:28] local.INFO: IMEI packet received {"connection_id":229418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":229418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:02:36] local.INFO: TCP Data received {"connection_id":229418,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:02:36] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:02:36] local.INFO: IMEI packet received {"connection_id":229418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":229418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:02:37] local.INFO: TCP Data received {"connection_id":229418,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:02:37] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:02:37] local.INFO: Packet analysis {"connection_id":229418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:02:37] local.INFO: Extracted packet for processing {"connection_id":229418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 13:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 13:02:37] 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-11-04 13:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:02:37] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":229418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:02:37] local.INFO: GPS data processed {"connection_id":229418,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:02:37] local.INFO: Acknowledgment sent {"connection_id":229418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:02:39] local.INFO: TCP Data received {"connection_id":229418,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:02:39] local.INFO: Processing buffer {"connection_id":229418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:02:39] local.INFO: Packet analysis {"connection_id":229418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:02:39] local.INFO: Extracted packet for processing {"connection_id":229418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 13:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 13:02:39] 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-11-04 13:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:02:39] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:02:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":229418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:02:39] local.INFO: GPS data processed {"connection_id":229418,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:02:39] local.INFO: Acknowledgment sent {"connection_id":229418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:02:44] local.INFO: TCP Data received {"connection_id":229417,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a576e920012d37b68006a99148000b005426..."} 
[2026-11-04 13:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a576e920012d37b68006a99148000b005426..."} 
[2026-11-04 13:02:44] local.INFO: Processing buffer {"connection_id":229417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a576e920012d37b68006a99148000b005426..."} 
[2026-11-04 13:02:44] local.INFO: Packet analysis {"connection_id":229417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:02:44] local.INFO: Extracted packet for processing {"connection_id":229417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a576"} 
[2026-11-04 13:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758625920,"raw_latitude":111776072,"longitude_deg":75.862592,"latitude_deg":11.1776072,"altitude":11,"angle":84,"satellites":38,"speed":31,"hex_longitude":"2d37b680","hex_latitude":"06a99148","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207010560001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38837701335580672,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4004614891021125632,"note":"Value kept but may cause issues"} 
[2026-11-04 13:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793777396000,"timestamp_ms":1793777396000,"timestamp_seconds":1793777396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a576e920"} 
[2026-11-04 13:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 13:02: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-11-04 13: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-11-04 13:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207010560001,"66":28093,"50":206,"81":23296,"24":31,"16":38837701335580672,"45":4004614891021125632},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-11-04 13:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207010560001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:02:44] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-11-04 13:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38837701335580672,"km_value":38837701335580.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4004614891021125632,"description":"Unknown IO ID 45"} 
[2026-11-04 13:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207010560001,"power":28093,"unknown_50":206,"unknown_81":23296,"ignition":31,"odometer":null,"unknown_45":4004614891021125632}} 
[2026-11-04 13:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":229417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:02:44] local.INFO: GPS data processed {"connection_id":229417,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:02:44] local.INFO: Acknowledgment sent {"connection_id":229417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:03:07] local.INFO: TCP Data received {"connection_id":228905,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:07] local.INFO: Processing buffer {"connection_id":228905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:07] local.INFO: IMEI packet received {"connection_id":228905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":228905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:03:08] local.INFO: TCP Data received {"connection_id":228905,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:08] local.INFO: Processing buffer {"connection_id":228905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:08] local.INFO: IMEI packet received {"connection_id":228905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":228905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:03:08] local.INFO: TCP Data received {"connection_id":230713,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:03:08] local.INFO: Processing buffer {"connection_id":230713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:03:08] local.INFO: IMEI packet received {"connection_id":230713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":230713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:03:14] local.INFO: TCP Data received {"connection_id":230713,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:03:14] local.INFO: Processing buffer {"connection_id":230713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:03:14] local.INFO: IMEI packet received {"connection_id":230713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":230713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:03:15] local.INFO: TCP Data received {"connection_id":228905,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:15] local.INFO: Processing buffer {"connection_id":228905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:03:15] local.INFO: IMEI packet received {"connection_id":228905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":228905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:03:15] local.INFO: TCP Data received {"connection_id":230713,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:03:15] local.INFO: Processing buffer {"connection_id":230713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a574ce10012cee6e40072e30f80032007629..."} 
[2026-11-04 13:03:15] local.INFO: Packet analysis {"connection_id":230713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:03:15] local.INFO: Extracted packet for processing {"connection_id":230713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a574"} 
[2026-11-04 13:03:15] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206900992001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793777258000,"timestamp_ms":1793777258000,"timestamp_seconds":1793777258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a574ce10"} 
[2026-11-04 13:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-11-04 13:03:15] 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-11-04 13:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206900992001,"66":26691,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206900992001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:03:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206900992001,"power":26691,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":230713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:03:15] local.INFO: GPS data processed {"connection_id":230713,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:03:15] local.INFO: Acknowledgment sent {"connection_id":230713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:03:25] local.INFO: TCP Data received {"connection_id":228905,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5771418012d37da0006a99470000d005526..."} 
[2026-11-04 13:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5771418012d37da0006a99470000d005526..."} 
[2026-11-04 13:03:25] local.INFO: Processing buffer {"connection_id":228905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5771418012d37da0006a99470000d005526..."} 
[2026-11-04 13:03:25] local.INFO: Packet analysis {"connection_id":228905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a577"} 
[2026-11-04 13:03:25] local.INFO: Extracted packet for processing {"connection_id":228905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a577"} 
[2026-11-04 13:03:25] local.INFO: GPS Element Parsed {"raw_longitude":758635008,"raw_latitude":111776880,"longitude_deg":75.8635008,"latitude_deg":11.177688,"altitude":13,"angle":85,"satellites":38,"speed":34,"hex_longitude":"2d37da00","hex_latitude":"06a99470","is_valid_coordinates":true} 
[2026-11-04 13:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207013376001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38838135127277568,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4014536883950405632,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793777407000,"timestamp_ms":1793777407000,"timestamp_seconds":1793777407,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5771418"} 
[2026-11-04 13:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 13:03:25] 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-11-04 13:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":228905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":228905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":228905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207013376001,"66":28006,"50":206,"81":23296,"24":34,"16":38838135127277568,"45":4014536883950405632},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,81,24,16,45]} 
[2026-11-04 13:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207013376001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:03:25] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-11-04 13:03:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38838135127277568,"km_value":38838135127277.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":4014536883950405632,"description":"Unknown IO ID 45"} 
[2026-11-04 13:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207013376001,"power":28006,"unknown_50":206,"unknown_81":23296,"ignition":34,"odometer":null,"unknown_45":4014536883950405632}} 
[2026-11-04 13:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":228905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:03:25] local.INFO: GPS data processed {"connection_id":228905,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:03:25] local.INFO: Acknowledgment sent {"connection_id":228905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:03:50] local.INFO: TCP Data received {"connection_id":230713,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:03:50] local.INFO: Processing buffer {"connection_id":230713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:03:50] local.INFO: Packet analysis {"connection_id":230713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:03:50] local.INFO: Extracted packet for processing {"connection_id":230713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:03:50] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230713,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:03:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":230713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:03:50] local.INFO: GPS data processed {"connection_id":230713,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:03:50] local.INFO: Acknowledgment sent {"connection_id":230713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:04:08] local.INFO: TCP Data received {"connection_id":230714,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:04:08] local.INFO: Processing buffer {"connection_id":230714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:04:08] local.INFO: IMEI packet received {"connection_id":230714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":230714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:04:14] local.INFO: TCP Data received {"connection_id":230714,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:04:14] local.INFO: Processing buffer {"connection_id":230714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:04:14] local.INFO: IMEI packet received {"connection_id":230714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":230714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:04:16] local.INFO: TCP Data received {"connection_id":230714,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:04:16] local.INFO: Processing buffer {"connection_id":230714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:04:16] local.INFO: Packet analysis {"connection_id":230714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:16] local.INFO: Extracted packet for processing {"connection_id":230714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:16] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:04:16] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:04:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:04:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":230714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:04:16] local.INFO: GPS data processed {"connection_id":230714,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:04:16] local.INFO: Acknowledgment sent {"connection_id":230714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:04:22] local.INFO: TCP Data received {"connection_id":229419,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:04:22] local.INFO: Processing buffer {"connection_id":229419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:04:22] local.INFO: IMEI packet received {"connection_id":229419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":229419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:04:23] local.INFO: TCP Data received {"connection_id":229419,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229419,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:04:23] local.INFO: Processing buffer {"connection_id":229419,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:04:23] local.INFO: IMEI packet received {"connection_id":229419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":229419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:04:24] local.INFO: TCP Data received {"connection_id":229419,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5797960012d39180006a96658000f005e26..."} 
[2026-11-04 13:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5797960012d39180006a96658000f005e26..."} 
[2026-11-04 13:04:24] local.INFO: Processing buffer {"connection_id":229419,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 13:04:24] local.INFO: IMEI packet received {"connection_id":229419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":229419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:04:27] local.INFO: TCP Data received {"connection_id":229419,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a579a458012d3935c006a95f70000d006a24..."} 
[2026-11-04 13:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a579a458012d3935c006a95f70000d006a24..."} 
[2026-11-04 13:04:27] local.INFO: Processing buffer {"connection_id":229419,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a5797960012d39180006a96658000f005e26..."} 
[2026-11-04 13:04:27] local.INFO: Packet analysis {"connection_id":229419,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:27] local.INFO: Extracted packet for processing {"connection_id":229419,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758716416,"raw_latitude":111765080,"longitude_deg":75.8716416,"latitude_deg":11.176508,"altitude":15,"angle":94,"satellites":38,"speed":13,"hex_longitude":"2d391800","hex_latitude":"06a96658","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207052288001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38842086497189888,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4104186664030320640,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793777564000,"timestamp_ms":1793777564000,"timestamp_seconds":1793777564,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5797960"} 
[2026-11-04 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-11-04 13:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 13:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 13:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207052288001,"66":27876,"46":206,"81":23296,"24":13,"16":38842086497189888,"45":4104186664030320640},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,81,24,16,45]} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207052288001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:04:27] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-11-04 13:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38842086497189888,"km_value":38842086497189.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4104186664030320640,"description":"Unknown IO ID 45"} 
[2026-11-04 13:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207052288001,"power":27876,"unknown_46":206,"unknown_81":23296,"ignition":13,"odometer":null,"unknown_45":4104186664030320640}} 
[2026-11-04 13:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":229419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:04:27] local.INFO: GPS data processed {"connection_id":229419,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:04:27] local.INFO: Acknowledgment sent {"connection_id":229419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:04:27] local.INFO: Packet analysis {"connection_id":229419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:27] local.INFO: Extracted packet for processing {"connection_id":229419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:27] local.INFO: GPS Element Parsed {"raw_longitude":758724032,"raw_latitude":111763312,"longitude_deg":75.8724032,"latitude_deg":11.1763312,"altitude":13,"angle":106,"satellites":36,"speed":36,"hex_longitude":"2d3935c0","hex_latitude":"06a95f70","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207056384001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4114038288214808576,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38842455864377344,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 13:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793777575000,"timestamp_ms":1793777575000,"timestamp_seconds":1793777575,"priority":1,"record_length":96,"hex_timestamp":"000001a1a579a458"} 
[2026-11-04 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-11-04 13:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 13:04: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-11-04 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-11-04 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-11-04 13:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207056384001,"66":27865,"45":4114038288214808576,"81":23296,"24":36,"16":38842455864377344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 13:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207056384001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4114038288214808576,"description":"Unknown IO ID 45"} 
[2026-11-04 13:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38842455864377344,"km_value":38842455864377.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:04:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459207056384001,"power":27865,"unknown_45":4114038288214808576,"unknown_81":23296,"ignition":36,"odometer":null}} 
[2026-11-04 13:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":229419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:04:27] local.INFO: GPS data processed {"connection_id":229419,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:04:27] local.INFO: Acknowledgment sent {"connection_id":229419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:04:31] local.INFO: TCP Data received {"connection_id":229419,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a579d338012d3954c006a95620000c005e25..."} 
[2026-11-04 13:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a579d338012d3954c006a95620000c005e25..."} 
[2026-11-04 13:04:31] local.INFO: Processing buffer {"connection_id":229419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a579d338012d3954c006a95620000c005e25..."} 
[2026-11-04 13:04:31] local.INFO: Packet analysis {"connection_id":229419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:31] local.INFO: Extracted packet for processing {"connection_id":229419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758731968,"raw_latitude":111760928,"longitude_deg":75.8731968,"latitude_deg":11.1760928,"altitude":12,"angle":94,"satellites":37,"speed":16,"hex_longitude":"2d3954c0","hex_latitude":"06a95620","is_valid_coordinates":true} 
[2026-11-04 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207059200001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122412168771497984,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38842855296335872,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 13:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793777587000,"timestamp_ms":1793777587000,"timestamp_seconds":1793777587,"priority":1,"record_length":96,"hex_timestamp":"000001a1a579d338"} 
[2026-11-04 13:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 13:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":229419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":229419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":229419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207059200001,"66":27974,"45":4122412168771497984,"81":23296,"24":16,"16":38842855296335872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 13:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207059200001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122412168771497984,"description":"Unknown IO ID 45"} 
[2026-11-04 13:04:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38842855296335872,"km_value":38842855296335.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:04:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459207059200001,"power":27974,"unknown_45":4122412168771497984,"unknown_81":23296,"ignition":16,"odometer":null}} 
[2026-11-04 13:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":229419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:04:31] local.INFO: GPS data processed {"connection_id":229419,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:04:31] local.INFO: Acknowledgment sent {"connection_id":229419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:04:49] local.INFO: TCP Data received {"connection_id":230714,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:04:49] local.INFO: Processing buffer {"connection_id":230714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:04:49] local.INFO: Packet analysis {"connection_id":230714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:49] local.INFO: Extracted packet for processing {"connection_id":230714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:04:49] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:04:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:04:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":230714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:04:49] local.INFO: GPS data processed {"connection_id":230714,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:04:49] local.INFO: Acknowledgment sent {"connection_id":230714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:05:06] local.INFO: TCP Data received {"connection_id":232561,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:05:06] local.INFO: Processing buffer {"connection_id":232561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:05:06] local.INFO: IMEI packet received {"connection_id":232561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":232561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:05:08] local.INFO: TCP Data received {"connection_id":228906,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:05:08] local.INFO: Processing buffer {"connection_id":228906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:05:08] local.INFO: IMEI packet received {"connection_id":228906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":228906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:05:12] local.INFO: TCP Data received {"connection_id":232561,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:05:12] local.INFO: Processing buffer {"connection_id":232561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:05:12] local.INFO: IMEI packet received {"connection_id":232561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":232561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:05:14] local.INFO: TCP Data received {"connection_id":228906,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:05:14] local.INFO: Processing buffer {"connection_id":228906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:05:14] local.INFO: IMEI packet received {"connection_id":228906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":228906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:05:19] local.INFO: TCP Data received {"connection_id":228906,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:05:19] local.INFO: Processing buffer {"connection_id":228906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:05:19] local.INFO: Packet analysis {"connection_id":228906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:05:19] local.INFO: Extracted packet for processing {"connection_id":228906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":228906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":228906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":228906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:05:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:05:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":228906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:05:19] local.INFO: GPS data processed {"connection_id":228906,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:05:19] local.INFO: Acknowledgment sent {"connection_id":228906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:05:23] local.INFO: TCP Data received {"connection_id":232561,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a579f660012d39644006a954e8000e007e26..."} 
[2026-11-04 13:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a579f660012d39644006a954e8000e007e26..."} 
[2026-11-04 13:05:23] local.INFO: Processing buffer {"connection_id":232561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a579f660012d39644006a954e8000e007e26..."} 
[2026-11-04 13:05:23] local.INFO: Packet analysis {"connection_id":232561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:05:23] local.INFO: Extracted packet for processing {"connection_id":232561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758735936,"raw_latitude":111760616,"longitude_deg":75.8735936,"latitude_deg":11.1760616,"altitude":14,"angle":126,"satellites":38,"speed":19,"hex_longitude":"2d396440","hex_latitude":"06a954e8","is_valid_coordinates":true} 
[2026-11-04 13:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207062272001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4131137893048918016,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38843044274896896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 13:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793777596000,"timestamp_ms":1793777596000,"timestamp_seconds":1793777596,"priority":1,"record_length":96,"hex_timestamp":"000001a1a579f660"} 
[2026-11-04 13:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 13:05:23] 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-11-04 13:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207062272001,"66":27908,"45":4131137893048918016,"81":23296,"24":19,"16":38843044274896896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 13:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207062272001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4131137893048918016,"description":"Unknown IO ID 45"} 
[2026-11-04 13:05:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-11-04 13:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38843044274896896,"km_value":38843044274896.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:05:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459207062272001,"power":27908,"unknown_45":4131137893048918016,"unknown_81":23296,"ignition":19,"odometer":null}} 
[2026-11-04 13:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":232561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:05:23] local.INFO: GPS data processed {"connection_id":232561,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:05:23] local.INFO: Acknowledgment sent {"connection_id":232561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:05:51] local.INFO: TCP Data received {"connection_id":228906,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:05:51] local.INFO: Processing buffer {"connection_id":228906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:05:51] local.INFO: Packet analysis {"connection_id":228906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:05:51] local.INFO: Extracted packet for processing {"connection_id":228906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":228906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":228906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":228906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:05:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:05:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":228906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:05:52] local.INFO: GPS data processed {"connection_id":228906,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:05:52] local.INFO: Acknowledgment sent {"connection_id":228906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:06:09] local.INFO: TCP Data received {"connection_id":230715,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:06:09] local.INFO: Processing buffer {"connection_id":230715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:06:09] local.INFO: IMEI packet received {"connection_id":230715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":230715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:06:11] local.INFO: TCP Data received {"connection_id":228907,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:06:11] local.INFO: Processing buffer {"connection_id":228907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:06:11] local.INFO: IMEI packet received {"connection_id":228907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":228907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:06:16] local.INFO: TCP Data received {"connection_id":230715,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:06:16] local.INFO: Processing buffer {"connection_id":230715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:06:16] local.INFO: IMEI packet received {"connection_id":230715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":230715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:06:16] local.INFO: TCP Data received {"connection_id":228907,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:06:16] local.INFO: Processing buffer {"connection_id":228907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:06:16] local.INFO: IMEI packet received {"connection_id":228907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":228907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:06:17] local.INFO: TCP Data received {"connection_id":228907,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57b80e8012d39af8006a83c08001000a425..."} 
[2026-11-04 13:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57b80e8012d39af8006a83c08001000a425..."} 
[2026-11-04 13:06:17] local.INFO: Processing buffer {"connection_id":228907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57b80e8012d39af8006a83c08001000a425..."} 
[2026-11-04 13:06:17] local.INFO: Packet analysis {"connection_id":228907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57b"} 
[2026-11-04 13:06:17] local.INFO: Extracted packet for processing {"connection_id":228907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57b"} 
[2026-11-04 13:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758755200,"raw_latitude":111688712,"longitude_deg":75.87552,"latitude_deg":11.1688712,"altitude":16,"angle":164,"satellites":37,"speed":10,"hex_longitude":"2d39af80","hex_latitude":"06a83c08","is_valid_coordinates":true} 
[2026-11-04 13:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207086848001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38846656342392832,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4154148472378777600,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793777697000,"timestamp_ms":1793777697000,"timestamp_seconds":1793777697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57b80e8"} 
[2026-11-04 13:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:06: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-11-04 13:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207086848001,"66":27908,"239":206,"81":49664,"24":10,"16":38846656342392832,"45":4154148472378777600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,81,24,16,45]} 
[2026-11-04 13:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207086848001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:06:17] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-11-04 13:06:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38846656342392832,"km_value":38846656342392.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4154148472378777600,"description":"Unknown IO ID 45"} 
[2026-11-04 13:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207086848001,"power":27908,"unknown_239":206,"unknown_81":49664,"ignition":10,"odometer":null,"unknown_45":4154148472378777600}} 
[2026-11-04 13:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":228907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:06:17] local.INFO: GPS data processed {"connection_id":228907,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:06:17] local.INFO: Acknowledgment sent {"connection_id":228907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:06:18] local.INFO: TCP Data received {"connection_id":230715,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:06:18] local.INFO: Processing buffer {"connection_id":230715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:06:18] local.INFO: Packet analysis {"connection_id":230715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:06:18] local.INFO: Extracted packet for processing {"connection_id":230715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:06:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:06:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":230715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:06:18] local.INFO: GPS data processed {"connection_id":230715,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:06:18] local.INFO: Acknowledgment sent {"connection_id":230715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:06:48] local.INFO: TCP Data received {"connection_id":228907,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57babe0012d39b28006a82fc0001100b028..."} 
[2026-11-04 13:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57babe0012d39b28006a82fc0001100b028..."} 
[2026-11-04 13:06:48] local.INFO: Processing buffer {"connection_id":228907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57babe0012d39b28006a82fc0001100b028..."} 
[2026-11-04 13:06:48] local.INFO: Packet analysis {"connection_id":228907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57b"} 
[2026-11-04 13:06:48] local.INFO: Extracted packet for processing {"connection_id":228907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57b"} 
[2026-11-04 13:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758755968,"raw_latitude":111685568,"longitude_deg":75.8755968,"latitude_deg":11.1685568,"altitude":17,"angle":176,"satellites":40,"speed":17,"hex_longitude":"2d39b280","hex_latitude":"06a82fc0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207090432001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38846815256182784,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4156681747166922752,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793777708000,"timestamp_ms":1793777708000,"timestamp_seconds":1793777708,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57babe0"} 
[2026-11-04 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-11-04 13:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:06: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-11-04 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-11-04 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-11-04 13:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207090432001,"66":27876,"238":206,"81":49664,"24":17,"16":38846815256182784,"45":4156681747166922752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-11-04 13:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207090432001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:06:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-11-04 13:06:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38846815256182784,"km_value":38846815256182.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4156681747166922752,"description":"Unknown IO ID 45"} 
[2026-11-04 13:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207090432001,"power":27876,"unknown_238":206,"unknown_81":49664,"ignition":17,"odometer":null,"unknown_45":4156681747166922752}} 
[2026-11-04 13:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":228907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:06:49] local.INFO: GPS data processed {"connection_id":228907,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:06:49] local.INFO: Acknowledgment sent {"connection_id":228907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:06:51] local.INFO: TCP Data received {"connection_id":230715,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:06:51] local.INFO: Processing buffer {"connection_id":230715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:06:51] local.INFO: Packet analysis {"connection_id":230715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:06:51] local.INFO: Extracted packet for processing {"connection_id":230715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:06:51] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":230715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:06:51] local.INFO: GPS data processed {"connection_id":230715,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:06:51] local.INFO: Acknowledgment sent {"connection_id":230715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:07:07] local.INFO: TCP Data received {"connection_id":230716,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:07] local.INFO: Processing buffer {"connection_id":230716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:07] local.INFO: IMEI packet received {"connection_id":230716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":230716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:07:12] local.INFO: TCP Data received {"connection_id":230716,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:12] local.INFO: Processing buffer {"connection_id":230716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:12] local.INFO: IMEI packet received {"connection_id":230716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":230716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:07:14] local.INFO: TCP Data received {"connection_id":228908,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:07:14] local.INFO: Processing buffer {"connection_id":228908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:07:14] local.INFO: IMEI packet received {"connection_id":228908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":228908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:07:15] local.INFO: TCP Data received {"connection_id":230716,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:15] local.INFO: Processing buffer {"connection_id":230716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:07:15] local.INFO: IMEI packet received {"connection_id":230716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":230716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:07:15] local.INFO: TCP Data received {"connection_id":230716,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57bdac0012d39b7c006a813c0001400a528..."} 
[2026-11-04 13:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57bdac0012d39b7c006a813c0001400a528..."} 
[2026-11-04 13:07:15] local.INFO: Processing buffer {"connection_id":230716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57bdac0012d39b7c006a813c0001400a528..."} 
[2026-11-04 13:07:15] local.INFO: Packet analysis {"connection_id":230716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57b"} 
[2026-11-04 13:07:15] local.INFO: Extracted packet for processing {"connection_id":230716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57b"} 
[2026-11-04 13:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758757312,"raw_latitude":111678400,"longitude_deg":75.8757312,"latitude_deg":11.16784,"altitude":20,"angle":165,"satellites":40,"speed":29,"hex_longitude":"2d39b7c0","hex_latitude":"06a813c0","is_valid_coordinates":true} 
[2026-11-04 13:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207093248001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38847171738468352,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157526172096249856,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793777720000,"timestamp_ms":1793777720000,"timestamp_seconds":1793777720,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57bdac0"} 
[2026-11-04 13:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 13:07: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-11-04 13:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207093248001,"66":27995,"238":206,"81":49664,"24":29,"16":38847171738468352,"45":4157526172096249856},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-11-04 13:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207093248001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:07:15] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-11-04 13:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38847171738468352,"km_value":38847171738468.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157526172096249856,"description":"Unknown IO ID 45"} 
[2026-11-04 13:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207093248001,"power":27995,"unknown_238":206,"unknown_81":49664,"ignition":29,"odometer":null,"unknown_45":4157526172096249856}} 
[2026-11-04 13:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":230716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:07:15] local.INFO: GPS data processed {"connection_id":230716,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:07:15] local.INFO: Acknowledgment sent {"connection_id":230716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:07:17] local.INFO: TCP Data received {"connection_id":230716,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57c05b8012d39c3c006a7ef90001500a029..."} 
[2026-11-04 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57c05b8012d39c3c006a7ef90001500a029..."} 
[2026-11-04 13:07:17] local.INFO: Processing buffer {"connection_id":230716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57c05b8012d39c3c006a7ef90001500a029..."} 
[2026-11-04 13:07:17] local.INFO: Packet analysis {"connection_id":230716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57c"} 
[2026-11-04 13:07:17] local.INFO: Extracted packet for processing {"connection_id":230716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57c"} 
[2026-11-04 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":758760384,"raw_latitude":111669136,"longitude_deg":75.8760384,"latitude_deg":11.1669136,"altitude":21,"angle":160,"satellites":41,"speed":39,"hex_longitude":"2d39c3c0","hex_latitude":"06a7ef90","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207096320001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38847639889903616,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4159003915722145792,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793777731000,"timestamp_ms":1793777731000,"timestamp_seconds":1793777731,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57c05b8"} 
[2026-11-04 13:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 13:07:17] 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-11-04 13: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-11-04 13:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207096320001,"66":27908,"238":206,"81":49664,"24":39,"16":38847639889903616,"45":4159003915722145792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,81,24,16,45]} 
[2026-11-04 13:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207096320001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:07:17] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-11-04 13:07:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38847639889903616,"km_value":38847639889903.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4159003915722145792,"description":"Unknown IO ID 45"} 
[2026-11-04 13:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207096320001,"power":27908,"unknown_238":206,"unknown_81":49664,"ignition":39,"odometer":null,"unknown_45":4159003915722145792}} 
[2026-11-04 13:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":230716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:07:17] local.INFO: GPS data processed {"connection_id":230716,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:07:17] local.INFO: Acknowledgment sent {"connection_id":230716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:07:19] local.INFO: TCP Data received {"connection_id":228908,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:07:19] local.INFO: Processing buffer {"connection_id":228908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:07:19] local.INFO: IMEI packet received {"connection_id":228908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":228908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:07:21] local.INFO: TCP Data received {"connection_id":228908,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:07:21] local.INFO: Processing buffer {"connection_id":228908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:07:21] local.INFO: Packet analysis {"connection_id":228908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:07:21] local.INFO: Extracted packet for processing {"connection_id":228908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:07:21] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:07:21] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":228908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:07:21] local.INFO: GPS data processed {"connection_id":228908,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:07:21] local.INFO: Acknowledgment sent {"connection_id":228908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:07:52] local.INFO: TCP Data received {"connection_id":230716,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57d4220012d3ae58006a738d8002c00652b..."} 
[2026-11-04 13:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57d4220012d3ae58006a738d8002c00652b..."} 
[2026-11-04 13:07:52] local.INFO: Processing buffer {"connection_id":230716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57d4220012d3ae58006a738d8002c00652b..."} 
[2026-11-04 13:07:52] local.INFO: Packet analysis {"connection_id":230716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:07:52] local.INFO: Extracted packet for processing {"connection_id":230716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":758834560,"raw_latitude":111622360,"longitude_deg":75.883456,"latitude_deg":11.162236,"altitude":44,"angle":101,"satellites":43,"speed":47,"hex_longitude":"2d3ae580","hex_latitude":"06a738d8","is_valid_coordinates":true} 
[2026-11-04 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207117824001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38852329994190848,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4233313309559883776,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793777812000,"timestamp_ms":1793777812000,"timestamp_seconds":1793777812,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57d4220"} 
[2026-11-04 13:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 13:07:52] 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-11-04 13:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207117824001,"66":27908,"101":206,"81":49664,"24":47,"16":38852329994190848,"45":4233313309559883776},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-11-04 13:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207117824001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:07:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-11-04 13:07:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38852329994190848,"km_value":38852329994190.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4233313309559883776,"description":"Unknown IO ID 45"} 
[2026-11-04 13:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207117824001,"power":27908,"unknown_101":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4233313309559883776}} 
[2026-11-04 13:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":230716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:07:52] local.INFO: GPS data processed {"connection_id":230716,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:07:52] local.INFO: Acknowledgment sent {"connection_id":230716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:07:55] local.INFO: TCP Data received {"connection_id":228908,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:07:55] local.INFO: Processing buffer {"connection_id":228908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:07:55] local.INFO: Packet analysis {"connection_id":228908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:07:55] local.INFO: Extracted packet for processing {"connection_id":228908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:07:55] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":228908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":228908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":228908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":228908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:07:55] local.INFO: GPS data processed {"connection_id":228908,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:07:55] local.INFO: Acknowledgment sent {"connection_id":228908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:08:07] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:07] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:07] local.INFO: IMEI packet received {"connection_id":229420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":229420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:08:07] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:07] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:07] local.INFO: IMEI packet received {"connection_id":229420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":229420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:08:08] local.INFO: TCP Data received {"connection_id":232562,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:08:08] local.INFO: Processing buffer {"connection_id":232562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:08:08] local.INFO: IMEI packet received {"connection_id":232562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":232562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:08:11] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:11] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:08:11] local.INFO: IMEI packet received {"connection_id":229420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":229420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:08:12] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57d6160012d3b09c006a73210002e00632b..."} 
[2026-11-04 13:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57d6160012d3b09c006a73210002e00632b..."} 
[2026-11-04 13:08:12] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57d6160012d3b09c006a73210002e00632b..."} 
[2026-11-04 13:08:12] local.INFO: Packet analysis {"connection_id":229420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:12] local.INFO: Extracted packet for processing {"connection_id":229420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758843840,"raw_latitude":111620624,"longitude_deg":75.884384,"latitude_deg":11.1620624,"altitude":46,"angle":99,"satellites":43,"speed":44,"hex_longitude":"2d3b09c0","hex_latitude":"06a73210","is_valid_coordinates":true} 
[2026-11-04 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207119872001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38852780965756928,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4243938989930240000,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793777820000,"timestamp_ms":1793777820000,"timestamp_seconds":1793777820,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57d6160"} 
[2026-11-04 13:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:08: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-11-04 13:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207119872001,"66":27865,"101":206,"81":49664,"24":44,"16":38852780965756928,"45":4243938989930240000},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-11-04 13:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207119872001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:08:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-11-04 13:08:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38852780965756928,"km_value":38852780965756.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4243938989930240000,"description":"Unknown IO ID 45"} 
[2026-11-04 13:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207119872001,"power":27865,"unknown_101":206,"unknown_81":49664,"ignition":44,"odometer":null,"unknown_45":4243938989930240000}} 
[2026-11-04 13:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":229420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:08:13] local.INFO: GPS data processed {"connection_id":229420,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:08:13] local.INFO: Acknowledgment sent {"connection_id":229420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:08:14] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57d80a0012d3b2d4006a72b680031006429..."} 
[2026-11-04 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57d80a0012d3b2d4006a72b680031006429..."} 
[2026-11-04 13:08:14] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57d80a0012d3b2d4006a72b680031006429..."} 
[2026-11-04 13:08:14] local.INFO: Packet analysis {"connection_id":229420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:14] local.INFO: Extracted packet for processing {"connection_id":229420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:14] local.INFO: GPS Element Parsed {"raw_longitude":758852928,"raw_latitude":111618920,"longitude_deg":75.8852928,"latitude_deg":11.161892,"altitude":49,"angle":100,"satellites":41,"speed":45,"hex_longitude":"2d3b2d40","hex_latitude":"06a72b68","is_valid_coordinates":true} 
[2026-11-04 13:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207121920001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38853219052421120,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4254142457835556864,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793777828000,"timestamp_ms":1793777828000,"timestamp_seconds":1793777828,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57d80a0"} 
[2026-11-04 13:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:08:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 13:08:14] 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-11-04 13:08:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207121920001,"66":27832,"101":206,"81":49664,"24":45,"16":38853219052421120,"45":4254142457835556864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-11-04 13:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207121920001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:08:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-11-04 13:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38853219052421120,"km_value":38853219052421.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4254142457835556864,"description":"Unknown IO ID 45"} 
[2026-11-04 13:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207121920001,"power":27832,"unknown_101":206,"unknown_81":49664,"ignition":45,"odometer":null,"unknown_45":4254142457835556864}} 
[2026-11-04 13:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":229420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:08:14] local.INFO: GPS data processed {"connection_id":229420,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:08:14] local.INFO: Acknowledgment sent {"connection_id":229420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:08:15] local.INFO: TCP Data received {"connection_id":232562,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:08:15] local.INFO: Processing buffer {"connection_id":232562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:08:15] local.INFO: IMEI packet received {"connection_id":232562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":232562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:08:16] local.INFO: TCP Data received {"connection_id":232562,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:08:16] local.INFO: Processing buffer {"connection_id":232562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57965d8012cee6e40072e30f80032007629..."} 
[2026-11-04 13:08:16] local.INFO: Packet analysis {"connection_id":232562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:08:16] local.INFO: Extracted packet for processing {"connection_id":232562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a579"} 
[2026-11-04 13:08:16] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459206978048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793777559000,"timestamp_ms":1793777559000,"timestamp_seconds":1793777559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57965d8"} 
[2026-11-04 13:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 13:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459206978048001,"66":26582,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459206978048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:08:16] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:08:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:08:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459206978048001,"power":26582,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":232562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:08:17] local.INFO: GPS data processed {"connection_id":232562,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:08:17] local.INFO: Acknowledgment sent {"connection_id":232562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:08:48] local.INFO: TCP Data received {"connection_id":229420,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57d9fe0012d3b514006a724c00033006528..."} 
[2026-11-04 13:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57d9fe0012d3b514006a724c00033006528..."} 
[2026-11-04 13:08:48] local.INFO: Processing buffer {"connection_id":229420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57d9fe0012d3b514006a724c00033006528..."} 
[2026-11-04 13:08:48] local.INFO: Packet analysis {"connection_id":229420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:48] local.INFO: Extracted packet for processing {"connection_id":229420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758862144,"raw_latitude":111617216,"longitude_deg":75.8862144,"latitude_deg":11.1617216,"altitude":51,"angle":101,"satellites":40,"speed":47,"hex_longitude":"2d3b5140","hex_latitude":"06a724c0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207123968001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38853665729019904,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4264134819508348928,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793777836000,"timestamp_ms":1793777836000,"timestamp_seconds":1793777836,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57d9fe0"} 
[2026-11-04 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-11-04 13:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 13:08:48] 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-11-04 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-11-04 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-11-04 13:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207123968001,"66":27919,"101":206,"81":49664,"24":47,"16":38853665729019904,"45":4264134819508348928},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,81,24,16,45]} 
[2026-11-04 13:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207123968001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:08:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-11-04 13:08:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38853665729019904,"km_value":38853665729019.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4264134819508348928,"description":"Unknown IO ID 45"} 
[2026-11-04 13:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207123968001,"power":27919,"unknown_101":206,"unknown_81":49664,"ignition":47,"odometer":null,"unknown_45":4264134819508348928}} 
[2026-11-04 13:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":229420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:08:48] local.INFO: GPS data processed {"connection_id":229420,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:08:48] local.INFO: Acknowledgment sent {"connection_id":229420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:08:49] local.INFO: TCP Data received {"connection_id":232562,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:08:49] local.INFO: Processing buffer {"connection_id":232562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:08:49] local.INFO: Packet analysis {"connection_id":232562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:49] local.INFO: Extracted packet for processing {"connection_id":232562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:08:49] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 13:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:08:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:08:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:08:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":232562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:08:49] local.INFO: GPS data processed {"connection_id":232562,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:08:49] local.INFO: Acknowledgment sent {"connection_id":232562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:09:09] local.INFO: TCP Data received {"connection_id":230717,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:09:09] local.INFO: Processing buffer {"connection_id":230717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:09:09] local.INFO: IMEI packet received {"connection_id":230717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":230717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:09:14] local.INFO: TCP Data received {"connection_id":228909,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:09:14] local.INFO: Processing buffer {"connection_id":228909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:09:14] local.INFO: IMEI packet received {"connection_id":228909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":228909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:09:17] local.INFO: TCP Data received {"connection_id":230717,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:09:17] local.INFO: Processing buffer {"connection_id":230717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:09:17] local.INFO: IMEI packet received {"connection_id":230717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":230717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:09:18] local.INFO: TCP Data received {"connection_id":228909,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:09:18] local.INFO: Processing buffer {"connection_id":228909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:09:18] local.INFO: IMEI packet received {"connection_id":228909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":228909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:09:23] local.INFO: TCP Data received {"connection_id":228909,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:09:23] local.INFO: Processing buffer {"connection_id":228909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:09:23] local.INFO: Packet analysis {"connection_id":228909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:09:23] local.INFO: Extracted packet for processing {"connection_id":228909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:09:23] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 13:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":228909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":228909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":228909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:09:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:09:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":228909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:09:23] local.INFO: GPS data processed {"connection_id":228909,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:09:23] local.INFO: Acknowledgment sent {"connection_id":228909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:09:29] local.INFO: TCP Data received {"connection_id":230717,"ip":"42.109.136.9","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 13:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230717,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 13:09:29] local.INFO: Processing buffer {"connection_id":230717,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 13:09:29] local.INFO: IMEI packet received {"connection_id":230717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":230717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:09:37] local.INFO: TCP Data received {"connection_id":230717,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57efb88012d3c5ec006a5d8f8004f008c28..."} 
[2026-11-04 13:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57efb88012d3c5ec006a5d8f8004f008c28..."} 
[2026-11-04 13:09:37] local.INFO: Processing buffer {"connection_id":230717,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a57dbf20012d3b764006a71c380036006c27..."} 
[2026-11-04 13:09:37] local.INFO: Packet analysis {"connection_id":230717,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:09:37] local.INFO: Extracted packet for processing {"connection_id":230717,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758871616,"raw_latitude":111615032,"longitude_deg":75.8871616,"latitude_deg":11.1615032,"altitude":54,"angle":108,"satellites":39,"speed":48,"hex_longitude":"2d3b7640","hex_latitude":"06a71c38","is_valid_coordinates":true} 
[2026-11-04 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207126016001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38854129585487872,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4274267918669496320,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793777844000,"timestamp_ms":1793777844000,"timestamp_seconds":1793777844,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dbf20"} 
[2026-11-04 13:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 13:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207126016001,"66":27876,"41":206,"81":49664,"24":48,"16":38854129585487872,"45":4274267918669496320},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,81,24,16,45]} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207126016001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38854129585487872,"km_value":38854129585487.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4274267918669496320,"description":"Unknown IO ID 45"} 
[2026-11-04 13:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207126016001,"power":27876,"unknown_41":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4274267918669496320}} 
[2026-11-04 13:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":230717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:09:37] local.INFO: GPS data processed {"connection_id":230717,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:09:37] local.INFO: Acknowledgment sent {"connection_id":230717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:09:37] local.INFO: Packet analysis {"connection_id":230717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57e"} 
[2026-11-04 13:09:37] local.INFO: Extracted packet for processing {"connection_id":230717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57e"} 
[2026-11-04 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758931136,"raw_latitude":111532280,"longitude_deg":75.8931136,"latitude_deg":11.153228,"altitude":79,"angle":140,"satellites":40,"speed":60,"hex_longitude":"2d3c5ec0","hex_latitude":"06a5d8f8","is_valid_coordinates":true} 
[2026-11-04 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207147264001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38859111747551232,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4343651500408758272,"note":"Value kept but may cause issues"} 
[2026-11-04 13:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793777925000,"timestamp_ms":1793777925000,"timestamp_seconds":1793777925,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57efb88"} 
[2026-11-04 13:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 13:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207147264001,"66":28006,"40":206,"81":49664,"24":60,"16":38859111747551232,"45":4343651500408758272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,81,24,16,45]} 
[2026-11-04 13:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207147264001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38859111747551232,"km_value":38859111747551.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4343651500408758272,"description":"Unknown IO ID 45"} 
[2026-11-04 13:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207147264001,"power":28006,"unknown_40":206,"unknown_81":49664,"ignition":60,"odometer":null,"unknown_45":4343651500408758272}} 
[2026-11-04 13:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":230717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:09:37] local.INFO: GPS data processed {"connection_id":230717,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:09:37] local.INFO: Acknowledgment sent {"connection_id":230717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:10:12] local.INFO: TCP Data received {"connection_id":230718,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:12] local.INFO: Processing buffer {"connection_id":230718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:12] local.INFO: IMEI packet received {"connection_id":230718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":230718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:10:12] local.INFO: TCP Data received {"connection_id":230718,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:12] local.INFO: Processing buffer {"connection_id":230718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:12] local.INFO: IMEI packet received {"connection_id":230718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":230718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:10:16] local.INFO: TCP Data received {"connection_id":230718,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:16] local.INFO: Processing buffer {"connection_id":230718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:10:16] local.INFO: IMEI packet received {"connection_id":230718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":230718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:10:17] local.INFO: TCP Data received {"connection_id":230718,"ip":"42.109.136.9","data_length":1348,"data_hex":"000000000000030f8e0a000001a1a57f12f8012d3c750006a5bcf8004d009023..."} 
[2026-11-04 13:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230718,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a1a57f12f8012d3c750006a5bcf8004d009023..."} 
[2026-11-04 13:10:17] local.INFO: Processing buffer {"connection_id":230718,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a1a57f12f8012d3c750006a5bcf8004d009023..."} 
[2026-11-04 13:10:17] local.INFO: Packet analysis {"connection_id":230718,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a1a57f"} 
[2026-11-04 13:10:17] local.INFO: Extracted packet for processing {"connection_id":230718,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a57f"} 
[2026-11-04 13:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758936832,"raw_latitude":111525112,"longitude_deg":75.8936832,"latitude_deg":11.1525112,"altitude":77,"angle":144,"satellites":35,"speed":61,"hex_longitude":"2d3c7500","hex_latitude":"06a5bcf8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207148800001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350125424871274496,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38859554129182720,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 13:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793777931000,"timestamp_ms":1793777931000,"timestamp_seconds":1793777931,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57f12f8"} 
[2026-11-04 13:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 13:10: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-11-04 13: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-11-04 13:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207148800001,"66":28028,"45":4350125424871274496,"81":49664,"24":61,"16":38859554129182720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207148800001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350125424871274496,"description":"Unknown IO ID 45"} 
[2026-11-04 13:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38859554129182720,"km_value":38859554129182.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:10:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459207148800001,"power":28028,"unknown_45":4350125424871274496,"unknown_81":49664,"ignition":61,"odometer":null}} 
[2026-11-04 13:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":230718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:10:17] local.INFO: GPS data processed {"connection_id":230718,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:10:17] local.INFO: Acknowledgment sent {"connection_id":230718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:10:17] local.INFO: Packet analysis {"connection_id":230718,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a1a57f"} 
[2026-11-04 13:10:17] local.INFO: Incomplete packet, waiting for more data {"connection_id":230718,"needed":795,"available":553} 
[2026-11-04 13:10:17] local.INFO: TCP Data received {"connection_id":230718,"ip":"42.109.136.9","data_length":242,"data_hex":"000000000001a1a57e6ee8012d3bed8006a670d8004800962b002f0000000a00..."} 
[2026-11-04 13:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230718,"packet_length":242,"packet_hex":"000000000001a1a57e6ee8012d3bed8006a670d8004800962b002f0000000a00..."} 
[2026-11-04 13:10:17] local.INFO: Processing buffer {"connection_id":230718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57f2a68012d3c8a4006a59f48004b009228..."} 
[2026-11-04 13:10:17] local.INFO: Packet analysis {"connection_id":230718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57f"} 
[2026-11-04 13:10:17] local.INFO: Extracted packet for processing {"connection_id":230718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57f"} 
[2026-11-04 13:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758942272,"raw_latitude":111517512,"longitude_deg":75.8942272,"latitude_deg":11.1517512,"altitude":75,"angle":146,"satellites":40,"speed":63,"hex_longitude":"2d3c8a40","hex_latitude":"06a59f48","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207150336001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4356388243101251584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38860000805781504,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 13:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793777937000,"timestamp_ms":1793777937000,"timestamp_seconds":1793777937,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57f2a68"} 
[2026-11-04 13:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:10: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-11-04 13: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-11-04 13:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207150336001,"66":28050,"45":4356388243101251584,"81":49664,"24":63,"16":38860000805781504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 13:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207150336001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4356388243101251584,"description":"Unknown IO ID 45"} 
[2026-11-04 13:10:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38860000805781504,"km_value":38860000805781.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:10:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459207150336001,"power":28050,"unknown_45":4356388243101251584,"unknown_81":49664,"ignition":63,"odometer":null}} 
[2026-11-04 13:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":230718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:10:18] local.INFO: GPS data processed {"connection_id":230718,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:10:18] local.INFO: Acknowledgment sent {"connection_id":230718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:10:18] local.INFO: TCP Data received {"connection_id":230719,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:10:18] local.INFO: Processing buffer {"connection_id":230719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:10:18] local.INFO: IMEI packet received {"connection_id":230719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":230719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:10:19] local.INFO: TCP Data received {"connection_id":230719,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:10:19] local.INFO: Processing buffer {"connection_id":230719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:10:19] local.INFO: IMEI packet received {"connection_id":230719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":230719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:10:20] local.INFO: TCP Data received {"connection_id":230719,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:10:20] local.INFO: Processing buffer {"connection_id":230719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:10:20] local.INFO: Packet analysis {"connection_id":230719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:10:20] local.INFO: Extracted packet for processing {"connection_id":230719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:10:20] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 13:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:10:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:10:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":230719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:10:20] local.INFO: GPS data processed {"connection_id":230719,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:10:20] local.INFO: Acknowledgment sent {"connection_id":230719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:10:21] local.INFO: TCP Data received {"connection_id":230718,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57f41d8012d3c9e8006a57ee80049009529..."} 
[2026-11-04 13:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57f41d8012d3c9e8006a57ee80049009529..."} 
[2026-11-04 13:10:21] local.INFO: Processing buffer {"connection_id":230718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57f41d8012d3c9e8006a57ee80049009529..."} 
[2026-11-04 13:10:21] local.INFO: Packet analysis {"connection_id":230718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57f"} 
[2026-11-04 13:10:21] local.INFO: Extracted packet for processing {"connection_id":230718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57f"} 
[2026-11-04 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758947456,"raw_latitude":111509224,"longitude_deg":75.8947456,"latitude_deg":11.1509224,"altitude":73,"angle":149,"satellites":41,"speed":65,"hex_longitude":"2d3c9e80","hex_latitude":"06a57ee8","is_valid_coordinates":true} 
[2026-11-04 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207151872001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38860473252184064,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4362369586354407424,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793777943000,"timestamp_ms":1793777943000,"timestamp_seconds":1793777943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57f41d8"} 
[2026-11-04 13:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:10:21] 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-11-04 13:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207151872001,"66":28104,"131":206,"81":49664,"24":65,"16":38860473252184064,"45":4362369586354407424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,81,24,16,45]} 
[2026-11-04 13:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207151872001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:10:21] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-11-04 13:10:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38860473252184064,"km_value":38860473252184.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4362369586354407424,"description":"Unknown IO ID 45"} 
[2026-11-04 13:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207151872001,"power":28104,"unknown_131":206,"unknown_81":49664,"ignition":65,"odometer":null,"unknown_45":4362369586354407424}} 
[2026-11-04 13:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":230718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:10:21] local.INFO: GPS data processed {"connection_id":230718,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:10:21] local.INFO: Acknowledgment sent {"connection_id":230718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:10:24] local.INFO: TCP Data received {"connection_id":230719,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:10:24] local.INFO: Processing buffer {"connection_id":230719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:10:24] local.INFO: Packet analysis {"connection_id":230719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:10:24] local.INFO: Extracted packet for processing {"connection_id":230719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 13:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:10:24] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:10:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":230719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:10:25] local.INFO: GPS data processed {"connection_id":230719,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:10:25] local.INFO: Acknowledgment sent {"connection_id":230719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:11:07] local.INFO: TCP Data received {"connection_id":230720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:11:07] local.INFO: Processing buffer {"connection_id":230720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:11:07] local.INFO: IMEI packet received {"connection_id":230720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":230720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:11:10] local.INFO: TCP Data received {"connection_id":230721,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:11:10] local.INFO: Processing buffer {"connection_id":230721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:11:10] local.INFO: IMEI packet received {"connection_id":230721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":230721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:11:13] local.INFO: TCP Data received {"connection_id":230720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:11:13] local.INFO: Processing buffer {"connection_id":230720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:11:13] local.INFO: IMEI packet received {"connection_id":230720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":230720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:11:15] local.INFO: TCP Data received {"connection_id":230721,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:11:15] local.INFO: Processing buffer {"connection_id":230721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:11:15] local.INFO: IMEI packet received {"connection_id":230721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":230721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:11:16] local.INFO: TCP Data received {"connection_id":230721,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:16] local.INFO: Processing buffer {"connection_id":230721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:16] local.INFO: Packet analysis {"connection_id":230721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:11:16] local.INFO: Extracted packet for processing {"connection_id":230721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:11:16] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 13:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:11:16] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:11:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":230721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:11:16] local.INFO: GPS data processed {"connection_id":230721,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:11:16] local.INFO: Acknowledgment sent {"connection_id":230721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:11:18] local.INFO: TCP Data received {"connection_id":230720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5800910012d3ca38006a444d0003c00c32b..."} 
[2026-11-04 13:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5800910012d3ca38006a444d0003c00c32b..."} 
[2026-11-04 13:11:18] local.INFO: Processing buffer {"connection_id":230720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5800910012d3ca38006a444d0003c00c32b..."} 
[2026-11-04 13:11:18] local.INFO: Packet analysis {"connection_id":230720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a580"} 
[2026-11-04 13:11:18] local.INFO: Extracted packet for processing {"connection_id":230720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a580"} 
[2026-11-04 13:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758948736,"raw_latitude":111428816,"longitude_deg":75.8948736,"latitude_deg":11.1428816,"altitude":60,"angle":195,"satellites":43,"speed":48,"hex_longitude":"2d3ca380","hex_latitude":"06a444d0","is_valid_coordinates":true} 
[2026-11-04 13:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207166464001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38864596420788224,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369476829493645312,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793777994000,"timestamp_ms":1793777994000,"timestamp_seconds":1793777994,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5800910"} 
[2026-11-04 13:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 13:11: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-11-04 13:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207166464001,"66":27995,"133":206,"81":49664,"24":48,"16":38864596420788224,"45":4369476829493645312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,81,24,16,45]} 
[2026-11-04 13:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207166464001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:11:18] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-11-04 13:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38864596420788224,"km_value":38864596420788.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369476829493645312,"description":"Unknown IO ID 45"} 
[2026-11-04 13:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207166464001,"power":27995,"unknown_133":206,"unknown_81":49664,"ignition":48,"odometer":null,"unknown_45":4369476829493645312}} 
[2026-11-04 13:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":230720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:11:18] local.INFO: GPS data processed {"connection_id":230720,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:11:18] local.INFO: Acknowledgment sent {"connection_id":230720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:11:19] local.INFO: TCP Data received {"connection_id":230721,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:19] local.INFO: Processing buffer {"connection_id":230721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:19] local.INFO: Packet analysis {"connection_id":230721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:11:19] local.INFO: Extracted packet for processing {"connection_id":230721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 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-11-04 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 13:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:11:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":230721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:11:20] local.INFO: GPS data processed {"connection_id":230721,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:11:20] local.INFO: Acknowledgment sent {"connection_id":230721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:11:51] local.INFO: TCP Data received {"connection_id":230720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5801c98012d3c9f4006a42df0003e00b82b..."} 
[2026-11-04 13:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5801c98012d3c9f4006a42df0003e00b82b..."} 
[2026-11-04 13:11:51] local.INFO: Processing buffer {"connection_id":230720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5801c98012d3c9f4006a42df0003e00b82b..."} 
[2026-11-04 13:11:51] local.INFO: Packet analysis {"connection_id":230720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a580"} 
[2026-11-04 13:11:51] local.INFO: Extracted packet for processing {"connection_id":230720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a580"} 
[2026-11-04 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":758947648,"raw_latitude":111422960,"longitude_deg":75.8947648,"latitude_deg":11.142296,"altitude":62,"angle":184,"satellites":43,"speed":47,"hex_longitude":"2d3c9f40","hex_latitude":"06a42df0","is_valid_coordinates":true} 
[2026-11-04 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207166464001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369476829493645312,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38864884183597056,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 13:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793777999000,"timestamp_ms":1793777999000,"timestamp_seconds":1793777999,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5801c98"} 
[2026-11-04 13:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 13:11:51] 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-11-04 13:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207166464001,"66":28006,"45":4369476829493645312,"81":49664,"24":47,"16":38864884183597056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 13:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207166464001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369476829493645312,"description":"Unknown IO ID 45"} 
[2026-11-04 13:11:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38864884183597056,"km_value":38864884183597.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:11:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459207166464001,"power":28006,"unknown_45":4369476829493645312,"unknown_81":49664,"ignition":47,"odometer":null}} 
[2026-11-04 13:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":230720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:11:51] local.INFO: GPS data processed {"connection_id":230720,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:11:51] local.INFO: Acknowledgment sent {"connection_id":230720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:11:52] local.INFO: TCP Data received {"connection_id":230721,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:52] local.INFO: Processing buffer {"connection_id":230721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:11:52] local.INFO: Packet analysis {"connection_id":230721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:11:52] local.INFO: Extracted packet for processing {"connection_id":230721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 13:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:11:52] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:11:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":230721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:11:53] local.INFO: GPS data processed {"connection_id":230721,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:11:53] local.INFO: Acknowledgment sent {"connection_id":230721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:12:07] local.INFO: TCP Data received {"connection_id":232563,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:07] local.INFO: Processing buffer {"connection_id":232563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:07] local.INFO: IMEI packet received {"connection_id":232563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":232563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:12:07] local.INFO: TCP Data received {"connection_id":232563,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:07] local.INFO: Processing buffer {"connection_id":232563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:07] local.INFO: IMEI packet received {"connection_id":232563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":232563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:12:12] local.INFO: TCP Data received {"connection_id":232563,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:12] local.INFO: Processing buffer {"connection_id":232563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:12:12] local.INFO: IMEI packet received {"connection_id":232563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":232563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:12:12] local.INFO: TCP Data received {"connection_id":232563,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5803bd8012d3c9f0006a40a10004100b32b..."} 
[2026-11-04 13:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5803bd8012d3c9f0006a40a10004100b32b..."} 
[2026-11-04 13:12:12] local.INFO: Processing buffer {"connection_id":232563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5803bd8012d3c9f0006a40a10004100b32b..."} 
[2026-11-04 13:12:12] local.INFO: Packet analysis {"connection_id":232563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a580"} 
[2026-11-04 13:12:12] local.INFO: Extracted packet for processing {"connection_id":232563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a580"} 
[2026-11-04 13:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758947584,"raw_latitude":111413776,"longitude_deg":75.8947584,"latitude_deg":11.1413776,"altitude":65,"angle":179,"satellites":43,"speed":45,"hex_longitude":"2d3c9f00","hex_latitude":"06a40a10","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207167744001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368280560841125888,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38865330860195840,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,81,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 13:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793778007000,"timestamp_ms":1793778007000,"timestamp_seconds":1793778007,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5803bd8"} 
[2026-11-04 13:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 13:12: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-11-04 13: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-11-04 13:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207167744001,"66":27995,"45":4368280560841125888,"81":49664,"24":45,"16":38865330860195840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,81,24,16]} 
[2026-11-04 13:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207167744001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368280560841125888,"description":"Unknown IO ID 45"} 
[2026-11-04 13:12:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":49664,"description":"Unknown IO ID 81"} 
[2026-11-04 13:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38865330860195840,"km_value":38865330860195.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:12:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459207167744001,"power":27995,"unknown_45":4368280560841125888,"unknown_81":49664,"ignition":45,"odometer":null}} 
[2026-11-04 13:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":232563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:12:13] local.INFO: GPS data processed {"connection_id":232563,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:12:13] local.INFO: Acknowledgment sent {"connection_id":232563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:12:13] local.INFO: TCP Data received {"connection_id":232564,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:12:13] local.INFO: Processing buffer {"connection_id":232564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:12:13] local.INFO: IMEI packet received {"connection_id":232564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":232564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:12:22] local.INFO: TCP Data received {"connection_id":232564,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:12:22] local.INFO: Processing buffer {"connection_id":232564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:12:22] local.INFO: IMEI packet received {"connection_id":232564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":232564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:12:23] local.INFO: TCP Data received {"connection_id":232564,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:12:23] local.INFO: Processing buffer {"connection_id":232564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a57dfda0012cee6e40072e30f80032007629..."} 
[2026-11-04 13:12:23] local.INFO: Packet analysis {"connection_id":232564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:12:23] local.INFO: Extracted packet for processing {"connection_id":232564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a57d"} 
[2026-11-04 13:12:23] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207055104001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793777860000,"timestamp_ms":1793777860000,"timestamp_seconds":1793777860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a57dfda0"} 
[2026-11-04 13:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 13:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207055104001,"66":26473,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207055104001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:12:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:12:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:12:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207055104001,"power":26473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":232564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:12:23] local.INFO: GPS data processed {"connection_id":232564,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:12:23] local.INFO: Acknowledgment sent {"connection_id":232564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:12:44] local.INFO: TCP Data received {"connection_id":232563,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a581b6c0012d3c9b8006a24fa8004e00a42b..."} 
[2026-11-04 13:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a581b6c0012d3c9b8006a24fa8004e00a42b..."} 
[2026-11-04 13:12:44] local.INFO: Processing buffer {"connection_id":232563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a581b6c0012d3c9b8006a24fa8004e00a42b..."} 
[2026-11-04 13:12:44] local.INFO: Packet analysis {"connection_id":232563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a581"} 
[2026-11-04 13:12:44] local.INFO: Extracted packet for processing {"connection_id":232563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a581"} 
[2026-11-04 13:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758946688,"raw_latitude":111300520,"longitude_deg":75.8946688,"latitude_deg":11.130052,"altitude":78,"angle":164,"satellites":43,"speed":53,"hex_longitude":"2d3c9b80","hex_latitude":"06a24fa8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207192832001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38870892842844160,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364339911138111488,"note":"Value kept but may cause issues"} 
[2026-11-04 13:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793778104000,"timestamp_ms":1793778104000,"timestamp_seconds":1793778104,"priority":1,"record_length":96,"hex_timestamp":"000001a1a581b6c0"} 
[2026-11-04 13:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13: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-11-04 13: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-11-04 13:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207192832001,"66":28093,"221":206,"81":47616,"24":53,"16":38870892842844160,"45":4364339911138111488},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-11-04 13:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207192832001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:12:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 13:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38870892842844160,"km_value":38870892842844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364339911138111488,"description":"Unknown IO ID 45"} 
[2026-11-04 13:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207192832001,"power":28093,"unknown_221":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4364339911138111488}} 
[2026-11-04 13:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":232563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:12:44] local.INFO: GPS data processed {"connection_id":232563,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:12:44] local.INFO: Acknowledgment sent {"connection_id":232563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:13:06] local.INFO: TCP Data received {"connection_id":230722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:07] local.INFO: Processing buffer {"connection_id":230722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:07] local.INFO: IMEI packet received {"connection_id":230722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":230722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:13:07] local.INFO: TCP Data received {"connection_id":230722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:07] local.INFO: Processing buffer {"connection_id":230722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:07] local.INFO: IMEI packet received {"connection_id":230722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":230722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:13:08] local.INFO: TCP Data received {"connection_id":230722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:08] local.INFO: Processing buffer {"connection_id":230722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:08] local.INFO: IMEI packet received {"connection_id":230722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":230722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:13:12] local.INFO: TCP Data received {"connection_id":230722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:12] local.INFO: Processing buffer {"connection_id":230722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:13:12] local.INFO: IMEI packet received {"connection_id":230722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":230722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:13:13] local.INFO: TCP Data received {"connection_id":230722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a581d218012d3ca2c006a22ba8004d00ac2c..."} 
[2026-11-04 13:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a581d218012d3ca2c006a22ba8004d00ac2c..."} 
[2026-11-04 13:13:13] local.INFO: Processing buffer {"connection_id":230722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a581d218012d3ca2c006a22ba8004d00ac2c..."} 
[2026-11-04 13:13:13] local.INFO: Packet analysis {"connection_id":230722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a581"} 
[2026-11-04 13:13:13] local.INFO: Extracted packet for processing {"connection_id":230722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a581"} 
[2026-11-04 13:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758948544,"raw_latitude":111291304,"longitude_deg":75.8948544,"latitude_deg":11.1291304,"altitude":77,"angle":172,"satellites":44,"speed":54,"hex_longitude":"2d3ca2c0","hex_latitude":"06a22ba8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207194624001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38871348109377536,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367225029647116288,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793778111000,"timestamp_ms":1793778111000,"timestamp_seconds":1793778111,"priority":1,"record_length":96,"hex_timestamp":"000001a1a581d218"} 
[2026-11-04 13:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 13:13: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-11-04 13: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-11-04 13:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207194624001,"66":28093,"221":206,"81":47616,"24":54,"16":38871348109377536,"45":4367225029647116288},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,81,24,16,45]} 
[2026-11-04 13:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207194624001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:13:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 13:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38871348109377536,"km_value":38871348109377.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367225029647116288,"description":"Unknown IO ID 45"} 
[2026-11-04 13:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207194624001,"power":28093,"unknown_221":206,"unknown_81":47616,"ignition":54,"odometer":null,"unknown_45":4367225029647116288}} 
[2026-11-04 13:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":230722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:13:14] local.INFO: GPS data processed {"connection_id":230722,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:13:14] local.INFO: Acknowledgment sent {"connection_id":230722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:13:14] local.INFO: TCP Data received {"connection_id":232565,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:13:14] local.INFO: Processing buffer {"connection_id":232565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:13:14] local.INFO: IMEI packet received {"connection_id":232565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":232565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:13:19] local.INFO: TCP Data received {"connection_id":232565,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:13:19] local.INFO: Processing buffer {"connection_id":232565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:13:19] local.INFO: IMEI packet received {"connection_id":232565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":232565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:13:20] local.INFO: TCP Data received {"connection_id":232565,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:13:20] local.INFO: Processing buffer {"connection_id":232565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:13:20] local.INFO: Packet analysis {"connection_id":232565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:13:20] local.INFO: Extracted packet for processing {"connection_id":232565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:13:20] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207132160001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793778161000,"timestamp_ms":1793778161000,"timestamp_seconds":1793778161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5829568"} 
[2026-11-04 13:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 13:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207132160001,"66":26539,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207132160001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:13:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:13:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207132160001,"power":26539,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":232565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:13:20] local.INFO: GPS data processed {"connection_id":232565,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:13:20] local.INFO: Acknowledgment sent {"connection_id":232565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:13:45] local.INFO: TCP Data received {"connection_id":230722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a582c448012d3c71c006a0b478002c00c52b..."} 
[2026-11-04 13:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a582c448012d3c71c006a0b478002c00c52b..."} 
[2026-11-04 13:13:45] local.INFO: Processing buffer {"connection_id":230722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a582c448012d3c71c006a0b478002c00c52b..."} 
[2026-11-04 13:13:45] local.INFO: Packet analysis {"connection_id":230722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:13:45] local.INFO: Extracted packet for processing {"connection_id":230722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758936000,"raw_latitude":111195256,"longitude_deg":75.8936,"latitude_deg":11.1195256,"altitude":44,"angle":197,"satellites":43,"speed":65,"hex_longitude":"2d3c71c0","hex_latitude":"06a0b478","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207210752001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38876106933141504,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4358991886553829376,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793778173000,"timestamp_ms":1793778173000,"timestamp_seconds":1793778173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a582c448"} 
[2026-11-04 13:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:13: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-11-04 13: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-11-04 13:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207210752001,"66":27930,"107":206,"81":47616,"24":65,"16":38876106933141504,"45":4358991886553829376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-11-04 13:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207210752001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:13:45] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 13:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38876106933141504,"km_value":38876106933141.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4358991886553829376,"description":"Unknown IO ID 45"} 
[2026-11-04 13:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207210752001,"power":27930,"unknown_107":206,"unknown_81":47616,"ignition":65,"odometer":null,"unknown_45":4358991886553829376}} 
[2026-11-04 13:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":230722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:13:45] local.INFO: GPS data processed {"connection_id":230722,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:13:45] local.INFO: Acknowledgment sent {"connection_id":230722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:13:57] local.INFO: TCP Data received {"connection_id":232565,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:13:57] local.INFO: Processing buffer {"connection_id":232565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:13:57] local.INFO: Packet analysis {"connection_id":232565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:13:57] local.INFO: Extracted packet for processing {"connection_id":232565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:13:57] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207132160001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793778161000,"timestamp_ms":1793778161000,"timestamp_seconds":1793778161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5829568"} 
[2026-11-04 13:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 13:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":232565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":232565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":232565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207132160001,"66":26539,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207132160001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:13:57] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:13:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:13:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207132160001,"power":26539,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":232565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:13:57] local.INFO: GPS data processed {"connection_id":232565,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:13:57] local.INFO: Acknowledgment sent {"connection_id":232565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:14:08] local.INFO: TCP Data received {"connection_id":230723,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:14:08] local.INFO: Processing buffer {"connection_id":230723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:14:08] local.INFO: IMEI packet received {"connection_id":230723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":230723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:14:13] local.INFO: TCP Data received {"connection_id":230724,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:14:13] local.INFO: Processing buffer {"connection_id":230724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:14:13] local.INFO: IMEI packet received {"connection_id":230724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":230724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:14:14] local.INFO: TCP Data received {"connection_id":230723,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:14:14] local.INFO: Processing buffer {"connection_id":230723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:14:14] local.INFO: IMEI packet received {"connection_id":230723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":230723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:14:15] local.INFO: TCP Data received {"connection_id":230723,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:14:15] local.INFO: Processing buffer {"connection_id":230723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:14:15] local.INFO: Packet analysis {"connection_id":230723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:15] local.INFO: Extracted packet for processing {"connection_id":230723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207132160001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793778161000,"timestamp_ms":1793778161000,"timestamp_seconds":1793778161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5829568"} 
[2026-11-04 13:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 13:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207132160001,"66":26539,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207132160001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207132160001,"power":26539,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":230723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:14:16] local.INFO: GPS data processed {"connection_id":230723,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:14:16] local.INFO: Acknowledgment sent {"connection_id":230723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:14:30] local.INFO: TCP Data received {"connection_id":230724,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230724,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:14:30] local.INFO: Processing buffer {"connection_id":230724,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:14:30] local.INFO: IMEI packet received {"connection_id":230724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":230724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:14:32] local.INFO: TCP Data received {"connection_id":230724,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a582dbb8012d3c664006a09098002c00c52c..."} 
[2026-11-04 13:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a582dbb8012d3c664006a09098002c00c52c..."} 
[2026-11-04 13:14:32] local.INFO: Processing buffer {"connection_id":230724,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 13:14:32] local.INFO: IMEI packet received {"connection_id":230724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":230724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:14:33] local.INFO: TCP Data received {"connection_id":230724,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a582f710012d3c590006a06c88002f00cb2c..."} 
[2026-11-04 13:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a582f710012d3c590006a06c88002f00cb2c..."} 
[2026-11-04 13:14:33] local.INFO: Processing buffer {"connection_id":230724,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a582dbb8012d3c664006a09098002c00c52c..."} 
[2026-11-04 13:14:33] local.INFO: Packet analysis {"connection_id":230724,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:33] local.INFO: Extracted packet for processing {"connection_id":230724,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":758933056,"raw_latitude":111186072,"longitude_deg":75.8933056,"latitude_deg":11.1186072,"altitude":44,"angle":197,"satellites":44,"speed":60,"hex_longitude":"2d3c6640","hex_latitude":"06a09098","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207212288001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38876575084576768,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4355473449342498816,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793778179000,"timestamp_ms":1793778179000,"timestamp_seconds":1793778179,"priority":1,"record_length":96,"hex_timestamp":"000001a1a582dbb8"} 
[2026-11-04 13:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:14: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-11-04 13: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-11-04 13:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":230724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":230724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":230724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207212288001,"66":27919,"107":206,"81":47616,"24":60,"16":38876575084576768,"45":4355473449342498816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207212288001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38876575084576768,"km_value":38876575084576.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4355473449342498816,"description":"Unknown IO ID 45"} 
[2026-11-04 13:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207212288001,"power":27919,"unknown_107":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4355473449342498816}} 
[2026-11-04 13:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":230724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:14:33] local.INFO: GPS data processed {"connection_id":230724,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:14:33] local.INFO: Acknowledgment sent {"connection_id":230724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:14:33] local.INFO: Packet analysis {"connection_id":230724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:33] local.INFO: Extracted packet for processing {"connection_id":230724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":758929664,"raw_latitude":111176840,"longitude_deg":75.8929664,"latitude_deg":11.117684,"altitude":47,"angle":203,"satellites":44,"speed":49,"hex_longitude":"2d3c5900","hex_latitude":"06a06c88","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207213824001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38877051825946624,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4352236487107975168,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793778186000,"timestamp_ms":1793778186000,"timestamp_seconds":1793778186,"priority":1,"record_length":96,"hex_timestamp":"000001a1a582f710"} 
[2026-11-04 13:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 13:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":230724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":230724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":230724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207213824001,"66":27843,"107":206,"81":47616,"24":49,"16":38877051825946624,"45":4352236487107975168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-11-04 13:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207213824001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38877051825946624,"km_value":38877051825946.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4352236487107975168,"description":"Unknown IO ID 45"} 
[2026-11-04 13:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207213824001,"power":27843,"unknown_107":206,"unknown_81":47616,"ignition":49,"odometer":null,"unknown_45":4352236487107975168}} 
[2026-11-04 13:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":230724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:14:33] local.INFO: GPS data processed {"connection_id":230724,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:14:33] local.INFO: Acknowledgment sent {"connection_id":230724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:14:34] local.INFO: TCP Data received {"connection_id":230724,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5830a98012d3c4d0006a05878003100d72d..."} 
[2026-11-04 13:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5830a98012d3c4d0006a05878003100d72d..."} 
[2026-11-04 13:14:34] local.INFO: Processing buffer {"connection_id":230724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5830a98012d3c4d0006a05878003100d72d..."} 
[2026-11-04 13:14:34] local.INFO: Packet analysis {"connection_id":230724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a583"} 
[2026-11-04 13:14:34] local.INFO: Extracted packet for processing {"connection_id":230724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a583"} 
[2026-11-04 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758926592,"raw_latitude":111171704,"longitude_deg":75.8926592,"latitude_deg":11.1171704,"altitude":49,"angle":215,"satellites":45,"speed":44,"hex_longitude":"2d3c4d00","hex_latitude":"06a05878","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207215616001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38877339588755456,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4348506943664195584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793778191000,"timestamp_ms":1793778191000,"timestamp_seconds":1793778191,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5830a98"} 
[2026-11-04 13:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 13:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207215616001,"66":27908,"107":206,"81":47616,"24":44,"16":38877339588755456,"45":4348506943664195584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-11-04 13:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207215616001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:14:34] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 13:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38877339588755456,"km_value":38877339588755.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4348506943664195584,"description":"Unknown IO ID 45"} 
[2026-11-04 13:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207215616001,"power":27908,"unknown_107":206,"unknown_81":47616,"ignition":44,"odometer":null,"unknown_45":4348506943664195584}} 
[2026-11-04 13:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":230724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:14:34] local.INFO: GPS data processed {"connection_id":230724,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:14:34] local.INFO: Acknowledgment sent {"connection_id":230724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:14:52] local.INFO: TCP Data received {"connection_id":230723,"ip":"117.224.230.154","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:14:52] local.INFO: Processing buffer {"connection_id":230723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5829568012cee6e40072e30f80032007629..."} 
[2026-11-04 13:14:52] local.INFO: Packet analysis {"connection_id":230723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:52] local.INFO: Extracted packet for processing {"connection_id":230723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a582"} 
[2026-11-04 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 13:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207132160001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793778161000,"timestamp_ms":1793778161000,"timestamp_seconds":1793778161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5829568"} 
[2026-11-04 13:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-11-04 13:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1658,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 13:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.230.154","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 13:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 13:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207132160001,"66":26539,"42":206,"28":26368,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"117.224.230.154","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-11-04 13:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 13:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 13:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207132160001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:14:52] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-11-04 13:14:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-11-04 13:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 13:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207132160001,"power":26539,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 13:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":230723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:14:53] local.INFO: GPS data processed {"connection_id":230723,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:14:53] local.INFO: Acknowledgment sent {"connection_id":230723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:15:05] local.INFO: TCP Data received {"connection_id":229421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:05] local.INFO: Processing buffer {"connection_id":229421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:05] local.INFO: IMEI packet received {"connection_id":229421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":229421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:15:06] local.INFO: TCP Data received {"connection_id":229421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:06] local.INFO: Processing buffer {"connection_id":229421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:06] local.INFO: IMEI packet received {"connection_id":229421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":229421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:15:12] local.INFO: TCP Data received {"connection_id":229421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:12] local.INFO: Processing buffer {"connection_id":229421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:15:12] local.INFO: IMEI packet received {"connection_id":229421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":229421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:15:14] local.INFO: TCP Data received {"connection_id":229421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5832dc0012d3c384006a03c58003300d92c..."} 
[2026-11-04 13:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5832dc0012d3c384006a03c58003300d92c..."} 
[2026-11-04 13:15:14] local.INFO: Processing buffer {"connection_id":229421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5832dc0012d3c384006a03c58003300d92c..."} 
[2026-11-04 13:15:14] local.INFO: Packet analysis {"connection_id":229421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a583"} 
[2026-11-04 13:15:14] local.INFO: Extracted packet for processing {"connection_id":229421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a583"} 
[2026-11-04 13:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758921280,"raw_latitude":111164504,"longitude_deg":75.892128,"latitude_deg":11.1164504,"altitude":51,"angle":217,"satellites":44,"speed":36,"hex_longitude":"2d3c3840","hex_latitude":"06a03c58","is_valid_coordinates":true} 
[2026-11-04 13:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207216896001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38877773380452352,"note":"Value kept but may cause issues"} 
[2026-11-04 13:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4345129243942352896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793778200000,"timestamp_ms":1793778200000,"timestamp_seconds":1793778200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5832dc0"} 
[2026-11-04 13:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:15: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-11-04 13:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207216896001,"66":27930,"107":206,"81":47616,"24":36,"16":38877773380452352,"45":4345129243942352896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,81,24,16,45]} 
[2026-11-04 13:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207216896001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:15:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 13:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38877773380452352,"km_value":38877773380452.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4345129243942352896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207216896001,"power":27930,"unknown_107":206,"unknown_81":47616,"ignition":36,"odometer":null,"unknown_45":4345129243942352896}} 
[2026-11-04 13:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":229421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:15:14] local.INFO: GPS data processed {"connection_id":229421,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:15:14] local.INFO: Acknowledgment sent {"connection_id":229421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:15:47] local.INFO: TCP Data received {"connection_id":229421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5849cf0012d3bff40069ed0200041009c2b..."} 
[2026-11-04 13:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5849cf0012d3bff40069ed0200041009c2b..."} 
[2026-11-04 13:15:48] local.INFO: Processing buffer {"connection_id":229421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5849cf0012d3bff40069ed0200041009c2b..."} 
[2026-11-04 13:15:48] local.INFO: Packet analysis {"connection_id":229421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a584"} 
[2026-11-04 13:15:48] local.INFO: Extracted packet for processing {"connection_id":229421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a584"} 
[2026-11-04 13:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758906688,"raw_latitude":111071264,"longitude_deg":75.8906688,"latitude_deg":11.1071264,"altitude":65,"angle":156,"satellites":43,"speed":59,"hex_longitude":"2d3bff40","hex_latitude":"069ed020","is_valid_coordinates":true} 
[2026-11-04 13:15: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-11-04 13:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207241728001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38882532204216320,"note":"Value kept but may cause issues"} 
[2026-11-04 13:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320007602247354368,"note":"Value kept but may cause issues"} 
[2026-11-04 13:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793778294000,"timestamp_ms":1793778294000,"timestamp_seconds":1793778294,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5849cf0"} 
[2026-11-04 13:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:15: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-11-04 13:15: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-11-04 13:15: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-11-04 13:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207241728001,"66":27974,"35":206,"81":47616,"24":59,"16":38882532204216320,"45":4320007602247354368},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-11-04 13:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207241728001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:15:48] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 13:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38882532204216320,"km_value":38882532204216.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320007602247354368,"description":"Unknown IO ID 45"} 
[2026-11-04 13:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207241728001,"power":27974,"unknown_35":206,"unknown_81":47616,"ignition":59,"odometer":null,"unknown_45":4320007602247354368}} 
[2026-11-04 13:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":229421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:15:48] local.INFO: GPS data processed {"connection_id":229421,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:15:48] local.INFO: Acknowledgment sent {"connection_id":229421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:16:06] local.INFO: TCP Data received {"connection_id":232567,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:16:06] local.INFO: Processing buffer {"connection_id":232567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:16:06] local.INFO: IMEI packet received {"connection_id":232567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":232567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:16:07] local.INFO: TCP Data received {"connection_id":232566,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:16:07] local.INFO: Processing buffer {"connection_id":232566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:16:07] local.INFO: IMEI packet received {"connection_id":232566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":232566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:16:10] local.INFO: TCP Data received {"connection_id":232566,"ip":"117.224.230.154","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 13:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232566,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 13:16:10] local.INFO: Processing buffer {"connection_id":232566,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 13:16:10] local.INFO: IMEI packet received {"connection_id":232566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 13:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":232566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:16:11] local.INFO: TCP Data received {"connection_id":232567,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:16:11] local.INFO: Processing buffer {"connection_id":232567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:16:11] local.INFO: IMEI packet received {"connection_id":232567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":232567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:16:12] local.INFO: TCP Data received {"connection_id":232567,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a584b460012d3c0f00069eb000004000982b..."} 
[2026-11-04 13:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a584b460012d3c0f00069eb000004000982b..."} 
[2026-11-04 13:16:12] local.INFO: Processing buffer {"connection_id":232567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a584b460012d3c0f00069eb000004000982b..."} 
[2026-11-04 13:16:12] local.INFO: Packet analysis {"connection_id":232567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a584"} 
[2026-11-04 13:16:12] local.INFO: Extracted packet for processing {"connection_id":232567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a584"} 
[2026-11-04 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758910720,"raw_latitude":111063040,"longitude_deg":75.891072,"latitude_deg":11.106304,"altitude":64,"angle":152,"satellites":43,"speed":61,"hex_longitude":"2d3c0f00","hex_latitude":"069eb000","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207243264001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38882974585847808,"note":"Value kept but may cause issues"} 
[2026-11-04 13:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4323244564477386752,"note":"Value kept but may cause issues"} 
[2026-11-04 13:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793778300000,"timestamp_ms":1793778300000,"timestamp_seconds":1793778300,"priority":1,"record_length":96,"hex_timestamp":"000001a1a584b460"} 
[2026-11-04 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-11-04 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 13:16: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-11-04 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-11-04 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-11-04 13:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207243264001,"66":27919,"35":206,"81":47616,"24":61,"16":38882974585847808,"45":4323244564477386752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-11-04 13:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207243264001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:16:12] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 13:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38882974585847808,"km_value":38882974585847.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4323244564477386752,"description":"Unknown IO ID 45"} 
[2026-11-04 13:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207243264001,"power":27919,"unknown_35":206,"unknown_81":47616,"ignition":61,"odometer":null,"unknown_45":4323244564477386752}} 
[2026-11-04 13:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":232567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:16:12] local.INFO: GPS data processed {"connection_id":232567,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:16:12] local.INFO: Acknowledgment sent {"connection_id":232567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:16:15] local.INFO: TCP Data received {"connection_id":228910,"ip":"117.224.230.154","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:16:15] local.INFO: Processing buffer {"connection_id":228910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:16:15] local.INFO: IMEI packet received {"connection_id":228910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":228910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:16:44] local.INFO: TCP Data received {"connection_id":232567,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a584cbd0012d3c1fc0069e9028003e00982c..."} 
[2026-11-04 13:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a584cbd0012d3c1fc0069e9028003e00982c..."} 
[2026-11-04 13:16:44] local.INFO: Processing buffer {"connection_id":232567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a584cbd0012d3c1fc0069e9028003e00982c..."} 
[2026-11-04 13:16:44] local.INFO: Packet analysis {"connection_id":232567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a584"} 
[2026-11-04 13:16:44] local.INFO: Extracted packet for processing {"connection_id":232567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a584"} 
[2026-11-04 13:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758915008,"raw_latitude":111054888,"longitude_deg":75.8915008,"latitude_deg":11.1054888,"altitude":62,"angle":152,"satellites":44,"speed":60,"hex_longitude":"2d3c1fc0","hex_latitude":"069e9028","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207244800001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38883421262446592,"note":"Value kept but may cause issues"} 
[2026-11-04 13:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4327677795358474240,"note":"Value kept but may cause issues"} 
[2026-11-04 13:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793778306000,"timestamp_ms":1793778306000,"timestamp_seconds":1793778306,"priority":1,"record_length":96,"hex_timestamp":"000001a1a584cbd0"} 
[2026-11-04 13:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 13:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207244800001,"66":27908,"35":206,"81":47616,"24":60,"16":38883421262446592,"45":4327677795358474240},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,81,24,16,45]} 
[2026-11-04 13:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207244800001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:16:44] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-11-04 13:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38883421262446592,"km_value":38883421262446.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4327677795358474240,"description":"Unknown IO ID 45"} 
[2026-11-04 13:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207244800001,"power":27908,"unknown_35":206,"unknown_81":47616,"ignition":60,"odometer":null,"unknown_45":4327677795358474240}} 
[2026-11-04 13:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":232567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:16:44] local.INFO: GPS data processed {"connection_id":232567,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:16:44] local.INFO: Acknowledgment sent {"connection_id":232567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:17:06] local.INFO: TCP Data received {"connection_id":230725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:17:06] local.INFO: Processing buffer {"connection_id":230725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:17:06] local.INFO: IMEI packet received {"connection_id":230725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":230725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:17:17] local.INFO: TCP Data received {"connection_id":230725,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230725,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:17:17] local.INFO: Processing buffer {"connection_id":230725,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:17:17] local.INFO: IMEI packet received {"connection_id":230725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":230725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:17:18] local.INFO: TCP Data received {"connection_id":230725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:17:18] local.INFO: Processing buffer {"connection_id":230725,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 13:17:18] local.INFO: IMEI packet received {"connection_id":230725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":230725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:22:21] local.INFO: TCP Data received {"connection_id":228915,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:22:21] local.INFO: Processing buffer {"connection_id":228915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:22:21] local.INFO: IMEI packet received {"connection_id":228915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":228915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:22:24] local.INFO: TCP Data received {"connection_id":228915,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58a32a0012d3ff9c006995b480017006330..."} 
[2026-11-04 13:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58a32a0012d3ff9c006995b480017006330..."} 
[2026-11-04 13:22:24] local.INFO: Processing buffer {"connection_id":228915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58a32a0012d3ff9c006995b480017006330..."} 
[2026-11-04 13:22:24] local.INFO: Packet analysis {"connection_id":228915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58a"} 
[2026-11-04 13:22:24] local.INFO: Extracted packet for processing {"connection_id":228915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58a"} 
[2026-11-04 13:22:24] local.INFO: GPS Element Parsed {"raw_longitude":759167424,"raw_latitude":110713672,"longitude_deg":75.9167424,"latitude_deg":11.0713672,"altitude":23,"angle":99,"satellites":48,"speed":58,"hex_longitude":"2d3ff9c0","hex_latitude":"06995b48","is_valid_coordinates":true} 
[2026-11-04 13:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207335424001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38907739367276544,"note":"Value kept but may cause issues"} 
[2026-11-04 13:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4600145572725055488,"note":"Value kept but may cause issues"} 
[2026-11-04 13:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793778660000,"timestamp_ms":1793778660000,"timestamp_seconds":1793778660,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58a32a0"} 
[2026-11-04 13:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":228915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":228915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":228915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207335424001,"66":27919,"73":206,"81":47616,"24":58,"16":38907739367276544,"45":4600145572725055488},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,81,24,16,45]} 
[2026-11-04 13:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207335424001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:22:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-11-04 13:22:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38907739367276544,"km_value":38907739367276.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4600145572725055488,"description":"Unknown IO ID 45"} 
[2026-11-04 13:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207335424001,"power":27919,"unknown_73":206,"unknown_81":47616,"ignition":58,"odometer":null,"unknown_45":4600145572725055488}} 
[2026-11-04 13:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":228915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:22:24] local.INFO: GPS data processed {"connection_id":228915,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:22:24] local.INFO: Acknowledgment sent {"connection_id":228915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:23:10] local.INFO: TCP Data received {"connection_id":228916,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:10] local.INFO: Processing buffer {"connection_id":228916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:10] local.INFO: IMEI packet received {"connection_id":228916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":228916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:23:11] local.INFO: TCP Data received {"connection_id":228916,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:11] local.INFO: Processing buffer {"connection_id":228916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:11] local.INFO: IMEI packet received {"connection_id":228916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":228916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:23:15] local.INFO: TCP Data received {"connection_id":228916,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:15] local.INFO: Processing buffer {"connection_id":228916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:23:15] local.INFO: IMEI packet received {"connection_id":228916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":228916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:23:17] local.INFO: TCP Data received {"connection_id":228916,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58b53b0012d411f000698a3600027007b2f..."} 
[2026-11-04 13:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58b53b0012d411f000698a3600027007b2f..."} 
[2026-11-04 13:23:17] local.INFO: Processing buffer {"connection_id":228916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58b53b0012d411f000698a3600027007b2f..."} 
[2026-11-04 13:23:17] local.INFO: Packet analysis {"connection_id":228916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:23:17] local.INFO: Extracted packet for processing {"connection_id":228916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:23:17] local.INFO: GPS Element Parsed {"raw_longitude":759242496,"raw_latitude":110666592,"longitude_deg":75.9242496,"latitude_deg":11.0666592,"altitude":39,"angle":123,"satellites":47,"speed":45,"hex_longitude":"2d411f00","hex_latitude":"0698a360","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207353600001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38912012859736064,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4683039953355587584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793778734000,"timestamp_ms":1793778734000,"timestamp_seconds":1793778734,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58b53b0"} 
[2026-11-04 13:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 13:23: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-11-04 13: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-11-04 13:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207353600001,"66":27887,"71":206,"81":47616,"24":45,"16":38912012859736064,"45":4683039953355587584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-11-04 13:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207353600001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:23:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 13:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38912012859736064,"km_value":38912012859736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4683039953355587584,"description":"Unknown IO ID 45"} 
[2026-11-04 13:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207353600001,"power":27887,"unknown_71":206,"unknown_81":47616,"ignition":45,"odometer":null,"unknown_45":4683039953355587584}} 
[2026-11-04 13:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":228916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:23:17] local.INFO: GPS data processed {"connection_id":228916,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:23:17] local.INFO: Acknowledgment sent {"connection_id":228916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:23:18] local.INFO: TCP Data received {"connection_id":228916,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58b72f0012d413e4006988eb00026007b30..."} 
[2026-11-04 13:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58b72f0012d413e4006988eb00026007b30..."} 
[2026-11-04 13:23:18] local.INFO: Processing buffer {"connection_id":228916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58b72f0012d413e4006988eb00026007b30..."} 
[2026-11-04 13:23:18] local.INFO: Packet analysis {"connection_id":228916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:23:18] local.INFO: Extracted packet for processing {"connection_id":228916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:23:18] local.INFO: GPS Element Parsed {"raw_longitude":759250496,"raw_latitude":110661296,"longitude_deg":75.9250496,"latitude_deg":11.0661296,"altitude":38,"angle":123,"satellites":48,"speed":48,"hex_longitude":"2d413e40","hex_latitude":"06988eb0","is_valid_coordinates":true} 
[2026-11-04 13:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207355904001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38912472421236736,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4692469365073993728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793778742000,"timestamp_ms":1793778742000,"timestamp_seconds":1793778742,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58b72f0"} 
[2026-11-04 13:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 13:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207355904001,"66":27789,"71":206,"81":47616,"24":48,"16":38912472421236736,"45":4692469365073993728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-11-04 13:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207355904001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:23:18] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 13:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38912472421236736,"km_value":38912472421236.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4692469365073993728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207355904001,"power":27789,"unknown_71":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4692469365073993728}} 
[2026-11-04 13:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":228916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:23:19] local.INFO: GPS data processed {"connection_id":228916,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:23:19] local.INFO: Acknowledgment sent {"connection_id":228916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:23:50] local.INFO: TCP Data received {"connection_id":228916,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58b9230012d415f00069878b00023007c30..."} 
[2026-11-04 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58b9230012d415f00069878b00023007c30..."} 
[2026-11-04 13:23:50] local.INFO: Processing buffer {"connection_id":228916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58b9230012d415f00069878b00023007c30..."} 
[2026-11-04 13:23:50] local.INFO: Packet analysis {"connection_id":228916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:23:50] local.INFO: Extracted packet for processing {"connection_id":228916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":759258880,"raw_latitude":110655664,"longitude_deg":75.925888,"latitude_deg":11.0655664,"altitude":35,"angle":124,"satellites":48,"speed":51,"hex_longitude":"2d415f00","hex_latitude":"069878b0","is_valid_coordinates":true} 
[2026-11-04 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207357952001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38912957752541184,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4701265458094845952,"note":"Value kept but may cause issues"} 
[2026-11-04 13:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793778750000,"timestamp_ms":1793778750000,"timestamp_seconds":1793778750,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58b9230"} 
[2026-11-04 13:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 13:23:50] 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-11-04 13:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":228916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":228916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":228916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207357952001,"66":27974,"71":206,"81":47616,"24":51,"16":38912957752541184,"45":4701265458094845952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-11-04 13:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207357952001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:23:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 13:23:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38912957752541184,"km_value":38912957752541.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4701265458094845952,"description":"Unknown IO ID 45"} 
[2026-11-04 13:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207357952001,"power":27974,"unknown_71":206,"unknown_81":47616,"ignition":51,"odometer":null,"unknown_45":4701265458094845952}} 
[2026-11-04 13:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":228916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:23:50] local.INFO: GPS data processed {"connection_id":228916,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:23:50] local.INFO: Acknowledgment sent {"connection_id":228916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:24:07] local.INFO: TCP Data received {"connection_id":228917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:24:07] local.INFO: Processing buffer {"connection_id":228917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:24:07] local.INFO: IMEI packet received {"connection_id":228917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":228917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:24:10] local.INFO: TCP Data received {"connection_id":228917,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:24:10] local.INFO: Processing buffer {"connection_id":228917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:24:10] local.INFO: IMEI packet received {"connection_id":228917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":228917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:24:11] local.INFO: TCP Data received {"connection_id":228917,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58bad88012d417d00069864d80020007c30..."} 
[2026-11-04 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58bad88012d417d00069864d80020007c30..."} 
[2026-11-04 13:24:11] local.INFO: Processing buffer {"connection_id":228917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58bad88012d417d00069864d80020007c30..."} 
[2026-11-04 13:24:11] local.INFO: Packet analysis {"connection_id":228917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:24:11] local.INFO: Extracted packet for processing {"connection_id":228917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:24:11] local.INFO: GPS Element Parsed {"raw_longitude":759266560,"raw_latitude":110650584,"longitude_deg":75.926656,"latitude_deg":11.0650584,"altitude":32,"angle":124,"satellites":48,"speed":53,"hex_longitude":"2d417d00","hex_latitude":"069864d8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207360000001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38913400134172672,"note":"Value kept but may cause issues"} 
[2026-11-04 13:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4710483763580678144,"note":"Value kept but may cause issues"} 
[2026-11-04 13:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793778757000,"timestamp_ms":1793778757000,"timestamp_seconds":1793778757,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58bad88"} 
[2026-11-04 13:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 13:24:11] 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-11-04 13: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-11-04 13:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207360000001,"66":27908,"71":206,"81":47616,"24":53,"16":38913400134172672,"45":4710483763580678144},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-11-04 13:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207360000001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:24:11] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 13:24:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38913400134172672,"km_value":38913400134172.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4710483763580678144,"description":"Unknown IO ID 45"} 
[2026-11-04 13:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207360000001,"power":27908,"unknown_71":206,"unknown_81":47616,"ignition":53,"odometer":null,"unknown_45":4710483763580678144}} 
[2026-11-04 13:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":228917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:24:11] local.INFO: GPS data processed {"connection_id":228917,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:24:11] local.INFO: Acknowledgment sent {"connection_id":228917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:24:45] local.INFO: TCP Data received {"connection_id":228917,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58bc8e0012d419a4006985160001f007b30..."} 
[2026-11-04 13:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58bc8e0012d419a4006985160001f007b30..."} 
[2026-11-04 13:24:45] local.INFO: Processing buffer {"connection_id":228917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58bc8e0012d419a4006985160001f007b30..."} 
[2026-11-04 13:24:45] local.INFO: Packet analysis {"connection_id":228917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:24:45] local.INFO: Extracted packet for processing {"connection_id":228917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:24:45] local.INFO: GPS Element Parsed {"raw_longitude":759274048,"raw_latitude":110645600,"longitude_deg":75.9274048,"latitude_deg":11.06456,"altitude":31,"angle":123,"satellites":48,"speed":48,"hex_longitude":"2d419a40","hex_latitude":"06985160","is_valid_coordinates":true} 
[2026-11-04 13:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207361792001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38913829630902272,"note":"Value kept but may cause issues"} 
[2026-11-04 13:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4718928012880697344,"note":"Value kept but may cause issues"} 
[2026-11-04 13:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793778764000,"timestamp_ms":1793778764000,"timestamp_seconds":1793778764,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58bc8e0"} 
[2026-11-04 13:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:24:45] 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-11-04 13:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207361792001,"66":27908,"71":206,"81":47616,"24":48,"16":38913829630902272,"45":4718928012880697344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,81,24,16,45]} 
[2026-11-04 13:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207361792001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:24:45] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-11-04 13:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38913829630902272,"km_value":38913829630902.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4718928012880697344,"description":"Unknown IO ID 45"} 
[2026-11-04 13:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207361792001,"power":27908,"unknown_71":206,"unknown_81":47616,"ignition":48,"odometer":null,"unknown_45":4718928012880697344}} 
[2026-11-04 13:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":228917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:24:45] local.INFO: GPS data processed {"connection_id":228917,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:24:45] local.INFO: Acknowledgment sent {"connection_id":228917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:25:06] local.INFO: TCP Data received {"connection_id":232568,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:25:06] local.INFO: Processing buffer {"connection_id":232568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:25:06] local.INFO: IMEI packet received {"connection_id":232568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":232568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:25:11] local.INFO: TCP Data received {"connection_id":232568,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:25:11] local.INFO: Processing buffer {"connection_id":232568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:25:11] local.INFO: IMEI packet received {"connection_id":232568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":232568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:25:12] local.INFO: TCP Data received {"connection_id":232568,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58be820012d41b90006983d700021007a30..."} 
[2026-11-04 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58be820012d41b90006983d700021007a30..."} 
[2026-11-04 13:25:12] local.INFO: Processing buffer {"connection_id":232568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58be820012d41b90006983d700021007a30..."} 
[2026-11-04 13:25:12] local.INFO: Packet analysis {"connection_id":232568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:25:12] local.INFO: Extracted packet for processing {"connection_id":232568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58b"} 
[2026-11-04 13:25:12] local.INFO: GPS Element Parsed {"raw_longitude":759281920,"raw_latitude":110640496,"longitude_deg":75.928192,"latitude_deg":11.0640496,"altitude":33,"angle":122,"satellites":48,"speed":43,"hex_longitude":"2d41b900","hex_latitude":"06983d70","is_valid_coordinates":true} 
[2026-11-04 13:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207363584001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38914276307501056,"note":"Value kept but may cause issues"} 
[2026-11-04 13:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4727161155948208128,"note":"Value kept but may cause issues"} 
[2026-11-04 13:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793778772000,"timestamp_ms":1793778772000,"timestamp_seconds":1793778772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58be820"} 
[2026-11-04 13:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:25: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-11-04 13:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207363584001,"66":27930,"29":206,"81":47616,"24":43,"16":38914276307501056,"45":4727161155948208128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-11-04 13:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207363584001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:25:12] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-04 13:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38914276307501056,"km_value":38914276307501.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4727161155948208128,"description":"Unknown IO ID 45"} 
[2026-11-04 13:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207363584001,"power":27930,"unknown_29":206,"unknown_81":47616,"ignition":43,"odometer":null,"unknown_45":4727161155948208128}} 
[2026-11-04 13:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":232568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:25:12] local.INFO: GPS data processed {"connection_id":232568,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:25:12] local.INFO: Acknowledgment sent {"connection_id":232568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:25:43] local.INFO: TCP Data received {"connection_id":232568,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58c0f30012d41da8006982a98002300732f..."} 
[2026-11-04 13:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58c0f30012d41da8006982a98002300732f..."} 
[2026-11-04 13:25:43] local.INFO: Processing buffer {"connection_id":232568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58c0f30012d41da8006982a98002300732f..."} 
[2026-11-04 13:25:43] local.INFO: Packet analysis {"connection_id":232568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58c"} 
[2026-11-04 13:25:43] local.INFO: Extracted packet for processing {"connection_id":232568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58c"} 
[2026-11-04 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":759290496,"raw_latitude":110635672,"longitude_deg":75.9290496,"latitude_deg":11.0635672,"altitude":35,"angle":115,"satellites":47,"speed":34,"hex_longitude":"2d41da80","hex_latitude":"06982a98","is_valid_coordinates":true} 
[2026-11-04 13:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207365632001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38914744458936320,"note":"Value kept but may cause issues"} 
[2026-11-04 13:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4735816511480754176,"note":"Value kept but may cause issues"} 
[2026-11-04 13:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793778782000,"timestamp_ms":1793778782000,"timestamp_seconds":1793778782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58c0f30"} 
[2026-11-04 13:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:25: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-11-04 13:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207365632001,"66":27995,"29":206,"81":47616,"24":34,"16":38914744458936320,"45":4735816511480754176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,81,24,16,45]} 
[2026-11-04 13:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207365632001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:25:43] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-04 13:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38914744458936320,"km_value":38914744458936.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4735816511480754176,"description":"Unknown IO ID 45"} 
[2026-11-04 13:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207365632001,"power":27995,"unknown_29":206,"unknown_81":47616,"ignition":34,"odometer":null,"unknown_45":4735816511480754176}} 
[2026-11-04 13:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":232568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:25:43] local.INFO: GPS data processed {"connection_id":232568,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:25:43] local.INFO: Acknowledgment sent {"connection_id":232568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:26:06] local.INFO: TCP Data received {"connection_id":232569,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:26:06] local.INFO: Processing buffer {"connection_id":232569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:26:06] local.INFO: IMEI packet received {"connection_id":232569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":232569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:26:11] local.INFO: TCP Data received {"connection_id":232569,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:26:11] local.INFO: Processing buffer {"connection_id":232569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:26:11] local.INFO: IMEI packet received {"connection_id":232569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":232569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:26:19] local.INFO: TCP Data received {"connection_id":232569,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58debc0012d42d60006979888003600ab30..."} 
[2026-11-04 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58debc0012d42d60006979888003600ab30..."} 
[2026-11-04 13:26:19] local.INFO: Processing buffer {"connection_id":232569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58debc0012d42d60006979888003600ab30..."} 
[2026-11-04 13:26:19] local.INFO: Packet analysis {"connection_id":232569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58d"} 
[2026-11-04 13:26:19] local.INFO: Extracted packet for processing {"connection_id":232569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58d"} 
[2026-11-04 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":759354880,"raw_latitude":110598280,"longitude_deg":75.935488,"latitude_deg":11.059828,"altitude":54,"angle":171,"satellites":48,"speed":27,"hex_longitude":"2d42d600","hex_latitude":"06979888","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207396608001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38918489670418432,"note":"Value kept but may cause issues"} 
[2026-11-04 13:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4814277661229541376,"note":"Value kept but may cause issues"} 
[2026-11-04 13:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793778904000,"timestamp_ms":1793778904000,"timestamp_seconds":1793778904,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58debc0"} 
[2026-11-04 13:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":200,"data_length":795,"current_offset":136} 
[2026-11-04 13:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207396608001,"66":28115,"28":206,"81":47616,"24":27,"16":38918489670418432,"45":4814277661229541376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-11-04 13:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207396608001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 13:26:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38918489670418432,"km_value":38918489670418.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4814277661229541376,"description":"Unknown IO ID 45"} 
[2026-11-04 13:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207396608001,"power":28115,"unknown_28":206,"unknown_81":47616,"ignition":27,"odometer":null,"unknown_45":4814277661229541376}} 
[2026-11-04 13:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":232569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:26:19] local.INFO: GPS data processed {"connection_id":232569,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:26:19] local.INFO: Acknowledgment sent {"connection_id":232569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:26:50] local.INFO: TCP Data received {"connection_id":232569,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58e16b8012d42d90006977548003400b030..."} 
[2026-11-04 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58e16b8012d42d90006977548003400b030..."} 
[2026-11-04 13:26:50] local.INFO: Processing buffer {"connection_id":232569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58e16b8012d42d90006977548003400b030..."} 
[2026-11-04 13:26:50] local.INFO: Packet analysis {"connection_id":232569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58e"} 
[2026-11-04 13:26:50] local.INFO: Extracted packet for processing {"connection_id":232569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58e"} 
[2026-11-04 13:26:50] local.INFO: GPS Element Parsed {"raw_longitude":759355648,"raw_latitude":110589256,"longitude_deg":75.9355648,"latitude_deg":11.0589256,"altitude":52,"angle":176,"satellites":48,"speed":36,"hex_longitude":"2d42d900","hex_latitude":"06977548","is_valid_coordinates":true} 
[2026-11-04 13:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207399424001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38918927757082624,"note":"Value kept but may cause issues"} 
[2026-11-04 13:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816036879832483840,"note":"Value kept but may cause issues"} 
[2026-11-04 13:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793778915000,"timestamp_ms":1793778915000,"timestamp_seconds":1793778915,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58e16b8"} 
[2026-11-04 13:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 13:26:50] 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-11-04 13:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207399424001,"66":28104,"28":206,"81":47616,"24":36,"16":38918927757082624,"45":4816036879832483840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-11-04 13:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207399424001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:26:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 13:26:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38918927757082624,"km_value":38918927757082.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816036879832483840,"description":"Unknown IO ID 45"} 
[2026-11-04 13:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207399424001,"power":28104,"unknown_28":206,"unknown_81":47616,"ignition":36,"odometer":null,"unknown_45":4816036879832483840}} 
[2026-11-04 13:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":232569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:26:50] local.INFO: GPS data processed {"connection_id":232569,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:26:50] local.INFO: Acknowledgment sent {"connection_id":232569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:27:06] local.INFO: TCP Data received {"connection_id":230727,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:27:06] local.INFO: Processing buffer {"connection_id":230727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:27:06] local.INFO: IMEI packet received {"connection_id":230727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":230727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:27:11] local.INFO: TCP Data received {"connection_id":230727,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:27:11] local.INFO: Processing buffer {"connection_id":230727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:27:11] local.INFO: IMEI packet received {"connection_id":230727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":230727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:27:13] local.INFO: TCP Data received {"connection_id":230727,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58e3dc8012d42dac006975098003000b02f..."} 
[2026-11-04 13:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58e3dc8012d42dac006975098003000b02f..."} 
[2026-11-04 13:27:13] local.INFO: Processing buffer {"connection_id":230727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58e3dc8012d42dac006975098003000b02f..."} 
[2026-11-04 13:27:13] local.INFO: Packet analysis {"connection_id":230727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58e"} 
[2026-11-04 13:27:13] local.INFO: Extracted packet for processing {"connection_id":230727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58e"} 
[2026-11-04 13:27:13] local.INFO: GPS Element Parsed {"raw_longitude":759356096,"raw_latitude":110579864,"longitude_deg":75.9356096,"latitude_deg":11.0579864,"altitude":48,"angle":176,"satellites":47,"speed":40,"hex_longitude":"2d42dac0","hex_latitude":"06975098","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207402240001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38919383023616000,"note":"Value kept but may cause issues"} 
[2026-11-04 13:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816881304760305664,"note":"Value kept but may cause issues"} 
[2026-11-04 13:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793778925000,"timestamp_ms":1793778925000,"timestamp_seconds":1793778925,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58e3dc8"} 
[2026-11-04 13:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 13:27:13] 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-11-04 13: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-11-04 13:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207402240001,"66":28104,"28":206,"81":47616,"24":40,"16":38919383023616000,"45":4816881304760305664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-11-04 13:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207402240001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:27:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 13:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38919383023616000,"km_value":38919383023616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816881304760305664,"description":"Unknown IO ID 45"} 
[2026-11-04 13:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207402240001,"power":28104,"unknown_28":206,"unknown_81":47616,"ignition":40,"odometer":null,"unknown_45":4816881304760305664}} 
[2026-11-04 13:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":230727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:27:13] local.INFO: GPS data processed {"connection_id":230727,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:27:13] local.INFO: Acknowledgment sent {"connection_id":230727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:27:46] local.INFO: TCP Data received {"connection_id":230727,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a58f7648012d4350000695f9b8000c009029..."} 
[2026-11-04 13:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a58f7648012d4350000695f9b8000c009029..."} 
[2026-11-04 13:27:46] local.INFO: Processing buffer {"connection_id":230727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a58f7648012d4350000695f9b8000c009029..."} 
[2026-11-04 13:27:46] local.INFO: Packet analysis {"connection_id":230727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a58f"} 
[2026-11-04 13:27:46] local.INFO: Extracted packet for processing {"connection_id":230727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a58f"} 
[2026-11-04 13:27:46] local.INFO: GPS Element Parsed {"raw_longitude":759386112,"raw_latitude":110492088,"longitude_deg":75.9386112,"latitude_deg":11.0492088,"altitude":12,"angle":144,"satellites":41,"speed":36,"hex_longitude":"2d435000","hex_latitude":"0695f9b8","is_valid_coordinates":true} 
[2026-11-04 13:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207422720001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38923982933590016,"note":"Value kept but may cause issues"} 
[2026-11-04 13:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4843762165013282816,"note":"Value kept but may cause issues"} 
[2026-11-04 13:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793779005000,"timestamp_ms":1793779005000,"timestamp_seconds":1793779005,"priority":1,"record_length":96,"hex_timestamp":"000001a1a58f7648"} 
[2026-11-04 13:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 13:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207422720001,"66":27974,"28":206,"81":47616,"24":36,"16":38923982933590016,"45":4843762165013282816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,81,24,16,45]} 
[2026-11-04 13:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207422720001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:27:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-11-04 13:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":47616,"description":"Unknown IO ID 81"} 
[2026-11-04 13:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38923982933590016,"km_value":38923982933590.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4843762165013282816,"description":"Unknown IO ID 45"} 
[2026-11-04 13:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207422720001,"power":27974,"unknown_28":206,"unknown_81":47616,"ignition":36,"odometer":null,"unknown_45":4843762165013282816}} 
[2026-11-04 13:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":230727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:27:46] local.INFO: GPS data processed {"connection_id":230727,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:27:46] local.INFO: Acknowledgment sent {"connection_id":230727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:28:56] local.INFO: TCP Data received {"connection_id":232570,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:28:56] local.INFO: Processing buffer {"connection_id":232570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:28:56] local.INFO: IMEI packet received {"connection_id":232570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":232570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:29:01] local.INFO: TCP Data received {"connection_id":232570,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:29:01] local.INFO: Processing buffer {"connection_id":232570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:29:01] local.INFO: IMEI packet received {"connection_id":232570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":232570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:29:01] local.INFO: TCP Data received {"connection_id":232570,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a590a6f8012d43da0006959f680010003e2f..."} 
[2026-11-04 13:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a590a6f8012d43da0006959f680010003e2f..."} 
[2026-11-04 13:29:01] local.INFO: Processing buffer {"connection_id":232570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a590a6f8012d43da0006959f680010003e2f..."} 
[2026-11-04 13:29:01] local.INFO: Packet analysis {"connection_id":232570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a590"} 
[2026-11-04 13:29:01] local.INFO: Extracted packet for processing {"connection_id":232570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a590"} 
[2026-11-04 13:29:01] local.INFO: GPS Element Parsed {"raw_longitude":759421440,"raw_latitude":110468968,"longitude_deg":75.942144,"latitude_deg":11.0468968,"altitude":16,"angle":62,"satellites":47,"speed":26,"hex_longitude":"2d43da00","hex_latitude":"06959f68","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207443712001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38926392410243072,"note":"Value kept but may cause issues"} 
[2026-11-04 13:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4884998249093242880,"note":"Value kept but may cause issues"} 
[2026-11-04 13:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793779083000,"timestamp_ms":1793779083000,"timestamp_seconds":1793779083,"priority":1,"record_length":96,"hex_timestamp":"000001a1a590a6f8"} 
[2026-11-04 13:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 13:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":232570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":232570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":232570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207443712001,"66":27908,"195":206,"86":48640,"24":26,"16":38926392410243072,"45":4884998249093242880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-11-04 13:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207443712001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:29:01] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 13:29:01] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38926392410243072,"km_value":38926392410243.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4884998249093242880,"description":"Unknown IO ID 45"} 
[2026-11-04 13:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207443712001,"power":27908,"unknown_195":206,"unknown_86":48640,"ignition":26,"odometer":null,"unknown_45":4884998249093242880}} 
[2026-11-04 13:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":232570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:29:01] local.INFO: GPS data processed {"connection_id":232570,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:29:01] local.INFO: Acknowledgment sent {"connection_id":232570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:29:33] local.INFO: TCP Data received {"connection_id":232570,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a590b698012d43e4000695a5d0001000332d..."} 
[2026-11-04 13:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a590b698012d43e4000695a5d0001000332d..."} 
[2026-11-04 13:29:33] local.INFO: Processing buffer {"connection_id":232570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a590b698012d43e4000695a5d0001000332d..."} 
[2026-11-04 13:29:33] local.INFO: Packet analysis {"connection_id":232570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a590"} 
[2026-11-04 13:29:33] local.INFO: Extracted packet for processing {"connection_id":232570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a590"} 
[2026-11-04 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":759424000,"raw_latitude":110470608,"longitude_deg":75.9424,"latitude_deg":11.0470608,"altitude":16,"angle":51,"satellites":45,"speed":29,"hex_longitude":"2d43e400","hex_latitude":"0695a5d0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207445248001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38926534144163840,"note":"Value kept but may cause issues"} 
[2026-11-04 13:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4889220373744150528,"note":"Value kept but may cause issues"} 
[2026-11-04 13:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793779087000,"timestamp_ms":1793779087000,"timestamp_seconds":1793779087,"priority":1,"record_length":96,"hex_timestamp":"000001a1a590b698"} 
[2026-11-04 13:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":232570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":232570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":232570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207445248001,"66":27908,"195":206,"86":48640,"24":29,"16":38926534144163840,"45":4889220373744150528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,86,24,16,45]} 
[2026-11-04 13:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207445248001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:29:33] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 13:29:33] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38926534144163840,"km_value":38926534144163.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4889220373744150528,"description":"Unknown IO ID 45"} 
[2026-11-04 13:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207445248001,"power":27908,"unknown_195":206,"unknown_86":48640,"ignition":29,"odometer":null,"unknown_45":4889220373744150528}} 
[2026-11-04 13:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":232570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:29:33] local.INFO: GPS data processed {"connection_id":232570,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:29:33] local.INFO: Acknowledgment sent {"connection_id":232570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:30:07] local.INFO: TCP Data received {"connection_id":232571,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:07] local.INFO: Processing buffer {"connection_id":232571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:07] local.INFO: IMEI packet received {"connection_id":232571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":232571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:30:07] local.INFO: TCP Data received {"connection_id":232571,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:07] local.INFO: Processing buffer {"connection_id":232571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:07] local.INFO: IMEI packet received {"connection_id":232571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":232571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:30:08] local.INFO: TCP Data received {"connection_id":232571,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:08] local.INFO: Processing buffer {"connection_id":232571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:30:08] local.INFO: IMEI packet received {"connection_id":232571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":232571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:30:09] local.INFO: TCP Data received {"connection_id":232571,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5918d70012d449a400695d670000e003b2e..."} 
[2026-11-04 13:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5918d70012d449a400695d670000e003b2e..."} 
[2026-11-04 13:30:09] local.INFO: Processing buffer {"connection_id":232571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5918d70012d449a400695d670000e003b2e..."} 
[2026-11-04 13:30:09] local.INFO: Packet analysis {"connection_id":232571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:30:09] local.INFO: Extracted packet for processing {"connection_id":232571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:30:09] local.INFO: GPS Element Parsed {"raw_longitude":759470656,"raw_latitude":110483056,"longitude_deg":75.9470656,"latitude_deg":11.0483056,"altitude":14,"angle":59,"satellites":46,"speed":35,"hex_longitude":"2d449a40","hex_latitude":"0695d670","is_valid_coordinates":true} 
[2026-11-04 13:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207459840001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38928977980555264,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4941785825648181248,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793779142000,"timestamp_ms":1793779142000,"timestamp_seconds":1793779142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5918d70"} 
[2026-11-04 13:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 13:30:09] 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-11-04 13:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":232571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":232571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":232571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207459840001,"66":27930,"136":206,"86":48640,"24":35,"16":38928977980555264,"45":4941785825648181248},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-11-04 13:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207459840001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:30:09] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 13:30:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38928977980555264,"km_value":38928977980555.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4941785825648181248,"description":"Unknown IO ID 45"} 
[2026-11-04 13:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207459840001,"power":27930,"unknown_136":206,"unknown_86":48640,"ignition":35,"odometer":null,"unknown_45":4941785825648181248}} 
[2026-11-04 13:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":232571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:30:09] local.INFO: GPS data processed {"connection_id":232571,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:30:09] local.INFO: Acknowledgment sent {"connection_id":232571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:30:12] local.INFO: TCP Data received {"connection_id":232571,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5919540012d44a0800695d960000f00482e..."} 
[2026-11-04 13:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5919540012d44a0800695d960000f00482e..."} 
[2026-11-04 13:30:12] local.INFO: Processing buffer {"connection_id":232571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5919540012d44a0800695d960000f00482e..."} 
[2026-11-04 13:30:12] local.INFO: Packet analysis {"connection_id":232571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:30:12] local.INFO: Extracted packet for processing {"connection_id":232571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:30:12] local.INFO: GPS Element Parsed {"raw_longitude":759472256,"raw_latitude":110483808,"longitude_deg":75.9472256,"latitude_deg":11.0483808,"altitude":15,"angle":72,"satellites":46,"speed":32,"hex_longitude":"2d44a080","hex_latitude":"0695d960","is_valid_coordinates":true} 
[2026-11-04 13:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207460352001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38929063879901184,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4943333938020380672,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779144000,"timestamp_ms":1793779144000,"timestamp_seconds":1793779144,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5919540"} 
[2026-11-04 13:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207460352001,"66":27843,"136":206,"86":48640,"24":32,"16":38929063879901184,"45":4943333938020380672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-11-04 13:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207460352001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:30:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 13:30:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38929063879901184,"km_value":38929063879901.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4943333938020380672,"description":"Unknown IO ID 45"} 
[2026-11-04 13:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207460352001,"power":27843,"unknown_136":206,"unknown_86":48640,"ignition":32,"odometer":null,"unknown_45":4943333938020380672}} 
[2026-11-04 13:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":232571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:30:12] local.INFO: GPS data processed {"connection_id":232571,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:30:12] local.INFO: Acknowledgment sent {"connection_id":232571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:30:44] local.INFO: TCP Data received {"connection_id":232571,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5919d10012d44a6c00695da68000f00572d..."} 
[2026-11-04 13:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5919d10012d44a6c00695da68000f00572d..."} 
[2026-11-04 13:30:44] local.INFO: Processing buffer {"connection_id":232571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5919d10012d44a6c00695da68000f00572d..."} 
[2026-11-04 13:30:44] local.INFO: Packet analysis {"connection_id":232571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:30:44] local.INFO: Extracted packet for processing {"connection_id":232571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:30:44] local.INFO: GPS Element Parsed {"raw_longitude":759473856,"raw_latitude":110484072,"longitude_deg":75.9473856,"latitude_deg":11.0484072,"altitude":15,"angle":87,"satellites":45,"speed":31,"hex_longitude":"2d44a6c0","hex_latitude":"0695da68","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207460864001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38929141189312512,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4945093156625014784,"note":"Value kept but may cause issues"} 
[2026-11-04 13:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779146000,"timestamp_ms":1793779146000,"timestamp_seconds":1793779146,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5919d10"} 
[2026-11-04 13:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 13:30: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-11-04 13: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-11-04 13:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207460864001,"66":27713,"136":206,"86":48640,"24":31,"16":38929141189312512,"45":4945093156625014784},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-11-04 13:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207460864001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:30:44] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 13:30:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38929141189312512,"km_value":38929141189312.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4945093156625014784,"description":"Unknown IO ID 45"} 
[2026-11-04 13:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207460864001,"power":27713,"unknown_136":206,"unknown_86":48640,"ignition":31,"odometer":null,"unknown_45":4945093156625014784}} 
[2026-11-04 13:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":232571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:30:44] local.INFO: GPS data processed {"connection_id":232571,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:30:44] local.INFO: Acknowledgment sent {"connection_id":232571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:31:06] local.INFO: TCP Data received {"connection_id":230728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:31:06] local.INFO: Processing buffer {"connection_id":230728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:31:06] local.INFO: IMEI packet received {"connection_id":230728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":230728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:31:13] local.INFO: TCP Data received {"connection_id":230728,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:31:13] local.INFO: Processing buffer {"connection_id":230728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:31:13] local.INFO: IMEI packet received {"connection_id":230728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":230728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:31:14] local.INFO: TCP Data received {"connection_id":230728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a591cbf0012d44c7000695d9400016004a2b..."} 
[2026-11-04 13:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a591cbf0012d44c7000695d9400016004a2b..."} 
[2026-11-04 13:31:14] local.INFO: Processing buffer {"connection_id":230728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a591cbf0012d44c7000695d9400016004a2b..."} 
[2026-11-04 13:31:14] local.INFO: Packet analysis {"connection_id":230728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:31:14] local.INFO: Extracted packet for processing {"connection_id":230728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a591"} 
[2026-11-04 13:31:14] local.INFO: GPS Element Parsed {"raw_longitude":759482112,"raw_latitude":110483776,"longitude_deg":75.9482112,"latitude_deg":11.0483776,"altitude":22,"angle":74,"satellites":43,"speed":22,"hex_longitude":"2d44c700","hex_latitude":"0695d940","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207461376001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38929536326303744,"note":"Value kept but may cause issues"} 
[2026-11-04 13:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4946852375229523968,"note":"Value kept but may cause issues"} 
[2026-11-04 13:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793779158000,"timestamp_ms":1793779158000,"timestamp_seconds":1793779158,"priority":1,"record_length":96,"hex_timestamp":"000001a1a591cbf0"} 
[2026-11-04 13:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 13:31:14] 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-11-04 13: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-11-04 13:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207461376001,"66":28050,"136":206,"86":48640,"24":22,"16":38929536326303744,"45":4946852375229523968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,86,24,16,45]} 
[2026-11-04 13:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207461376001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:31:14] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 13:31:14] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38929536326303744,"km_value":38929536326303.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4946852375229523968,"description":"Unknown IO ID 45"} 
[2026-11-04 13:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207461376001,"power":28050,"unknown_136":206,"unknown_86":48640,"ignition":22,"odometer":null,"unknown_45":4946852375229523968}} 
[2026-11-04 13:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":230728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:31:14] local.INFO: GPS data processed {"connection_id":230728,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:31:14] local.INFO: Acknowledgment sent {"connection_id":230728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:31:46] local.INFO: TCP Data received {"connection_id":230728,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5931fc8012d457f00069629f8002a00642f..."} 
[2026-11-04 13:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5931fc8012d457f00069629f8002a00642f..."} 
[2026-11-04 13:31:46] local.INFO: Processing buffer {"connection_id":230728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5931fc8012d457f00069629f8002a00642f..."} 
[2026-11-04 13:31:46] local.INFO: Packet analysis {"connection_id":230728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:31:46] local.INFO: Extracted packet for processing {"connection_id":230728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":759529216,"raw_latitude":110504440,"longitude_deg":75.9529216,"latitude_deg":11.050444,"altitude":42,"angle":100,"satellites":47,"speed":22,"hex_longitude":"2d457f00","hex_latitude":"069629f8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207485952001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38932109011714048,"note":"Value kept but may cause issues"} 
[2026-11-04 13:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5005328801646366720,"note":"Value kept but may cause issues"} 
[2026-11-04 13:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793779245000,"timestamp_ms":1793779245000,"timestamp_seconds":1793779245,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5931fc8"} 
[2026-11-04 13:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207485952001,"66":27876,"135":206,"86":48640,"24":22,"16":38932109011714048,"45":5005328801646366720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,86,24,16,45]} 
[2026-11-04 13:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207485952001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:31:46] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-11-04 13:31:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38932109011714048,"km_value":38932109011714.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5005328801646366720,"description":"Unknown IO ID 45"} 
[2026-11-04 13:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207485952001,"power":27876,"unknown_135":206,"unknown_86":48640,"ignition":22,"odometer":null,"unknown_45":5005328801646366720}} 
[2026-11-04 13:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":230728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:31:46] local.INFO: GPS data processed {"connection_id":230728,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:31:46] local.INFO: Acknowledgment sent {"connection_id":230728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:32:06] local.INFO: TCP Data received {"connection_id":228918,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:32:06] local.INFO: Processing buffer {"connection_id":228918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:32:06] local.INFO: IMEI packet received {"connection_id":228918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":228918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:32:10] local.INFO: TCP Data received {"connection_id":228918,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:32:10] local.INFO: Processing buffer {"connection_id":228918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:32:10] local.INFO: IMEI packet received {"connection_id":228918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":228918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:32:11] local.INFO: TCP Data received {"connection_id":228918,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5932f68012d458300069628b8002b00742e..."} 
[2026-11-04 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5932f68012d458300069628b8002b00742e..."} 
[2026-11-04 13:32:11] local.INFO: Processing buffer {"connection_id":228918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5932f68012d458300069628b8002b00742e..."} 
[2026-11-04 13:32:11] local.INFO: Packet analysis {"connection_id":228918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:32:11] local.INFO: Extracted packet for processing {"connection_id":228918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":759530240,"raw_latitude":110504120,"longitude_deg":75.953024,"latitude_deg":11.050412,"altitude":43,"angle":116,"satellites":46,"speed":6,"hex_longitude":"2d458300","hex_latitude":"069628b8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207486720001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38932164846288896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5007721338948417536,"note":"Value kept but may cause issues"} 
[2026-11-04 13:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793779249000,"timestamp_ms":1793779249000,"timestamp_seconds":1793779249,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5932f68"} 
[2026-11-04 13:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 13:32: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-11-04 13: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-11-04 13:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207486720001,"66":27843,"135":206,"86":48640,"24":6,"16":38932164846288896,"45":5007721338948417536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,86,24,16,45]} 
[2026-11-04 13:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207486720001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:32:11] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-11-04 13:32:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38932164846288896,"km_value":38932164846288.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5007721338948417536,"description":"Unknown IO ID 45"} 
[2026-11-04 13:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207486720001,"power":27843,"unknown_135":206,"unknown_86":48640,"ignition":6,"odometer":null,"unknown_45":5007721338948417536}} 
[2026-11-04 13:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":228918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:32:11] local.INFO: GPS data processed {"connection_id":228918,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:32:11] local.INFO: Acknowledgment sent {"connection_id":228918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:32:43] local.INFO: TCP Data received {"connection_id":228918,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59371d0012d45a480069619b0002d006d2e..."} 
[2026-11-04 13:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59371d0012d45a480069619b0002d006d2e..."} 
[2026-11-04 13:32:43] local.INFO: Processing buffer {"connection_id":228918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59371d0012d45a480069619b0002d006d2e..."} 
[2026-11-04 13:32:43] local.INFO: Packet analysis {"connection_id":228918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:32:43] local.INFO: Extracted packet for processing {"connection_id":228918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:32:43] local.INFO: GPS Element Parsed {"raw_longitude":759538816,"raw_latitude":110500272,"longitude_deg":75.9538816,"latitude_deg":11.0500272,"altitude":45,"angle":109,"satellites":46,"speed":34,"hex_longitude":"2d45a480","hex_latitude":"069619b0","is_valid_coordinates":true} 
[2026-11-04 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207487744001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38932611522887680,"note":"Value kept but may cause issues"} 
[2026-11-04 13:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5008847238855178240,"note":"Value kept but may cause issues"} 
[2026-11-04 13:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793779266000,"timestamp_ms":1793779266000,"timestamp_seconds":1793779266,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59371d0"} 
[2026-11-04 13:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 13:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207487744001,"66":27908,"135":206,"86":48640,"24":34,"16":38932611522887680,"45":5008847238855178240},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,86,24,16,45]} 
[2026-11-04 13:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207487744001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:32:43] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-11-04 13:32:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48640,"description":"Unknown IO ID 86"} 
[2026-11-04 13:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38932611522887680,"km_value":38932611522887.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5008847238855178240,"description":"Unknown IO ID 45"} 
[2026-11-04 13:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207487744001,"power":27908,"unknown_135":206,"unknown_86":48640,"ignition":34,"odometer":null,"unknown_45":5008847238855178240}} 
[2026-11-04 13:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":228918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:32:43] local.INFO: GPS data processed {"connection_id":228918,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:32:43] local.INFO: Acknowledgment sent {"connection_id":228918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:33:07] local.INFO: TCP Data received {"connection_id":232572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:33:07] local.INFO: Processing buffer {"connection_id":232572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:33:07] local.INFO: IMEI packet received {"connection_id":232572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":232572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:33:11] local.INFO: TCP Data received {"connection_id":232572,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:33:11] local.INFO: Processing buffer {"connection_id":232572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:33:11] local.INFO: IMEI packet received {"connection_id":232572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":232572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:33:13] local.INFO: TCP Data received {"connection_id":232572,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59394f8012d45c5c006960d28002800772e..."} 
[2026-11-04 13:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59394f8012d45c5c006960d28002800772e..."} 
[2026-11-04 13:33:13] local.INFO: Processing buffer {"connection_id":232572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59394f8012d45c5c006960d28002800772e..."} 
[2026-11-04 13:33:13] local.INFO: Packet analysis {"connection_id":232572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:33:13] local.INFO: Extracted packet for processing {"connection_id":232572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:33:13] local.INFO: GPS Element Parsed {"raw_longitude":759547328,"raw_latitude":110497064,"longitude_deg":75.9547328,"latitude_deg":11.0497064,"altitude":40,"angle":119,"satellites":46,"speed":39,"hex_longitude":"2d45c5c0","hex_latitude":"06960d28","is_valid_coordinates":true} 
[2026-11-04 13:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207492096001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38933049609551872,"note":"Value kept but may cause issues"} 
[2026-11-04 13:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5018276650574000128,"note":"Value kept but may cause issues"} 
[2026-11-04 13:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793779275000,"timestamp_ms":1793779275000,"timestamp_seconds":1793779275,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59394f8"} 
[2026-11-04 13:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 13:33:13] 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-11-04 13:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207492096001,"66":27930,"6":206,"86":48896,"24":39,"16":38933049609551872,"45":5018276650574000128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,86,24,16,45]} 
[2026-11-04 13:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207492096001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:33:13] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 13:33:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38933049609551872,"km_value":38933049609551.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5018276650574000128,"description":"Unknown IO ID 45"} 
[2026-11-04 13:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207492096001,"power":27930,"unknown_6":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5018276650574000128}} 
[2026-11-04 13:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":232572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:33:13] local.INFO: GPS data processed {"connection_id":232572,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:33:13] local.INFO: Acknowledgment sent {"connection_id":232572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:33:45] local.INFO: TCP Data received {"connection_id":232572,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a593b820012d45e4800695fb58002600722e..."} 
[2026-11-04 13:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a593b820012d45e4800695fb58002600722e..."} 
[2026-11-04 13:33:45] local.INFO: Processing buffer {"connection_id":232572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a593b820012d45e4800695fb58002600722e..."} 
[2026-11-04 13:33:45] local.INFO: Packet analysis {"connection_id":232572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:33:45] local.INFO: Extracted packet for processing {"connection_id":232572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a593"} 
[2026-11-04 13:33:45] local.INFO: GPS Element Parsed {"raw_longitude":759555200,"raw_latitude":110492504,"longitude_deg":75.95552,"latitude_deg":11.0492504,"altitude":38,"angle":114,"satellites":46,"speed":38,"hex_longitude":"2d45e480","hex_latitude":"0695fb58","is_valid_coordinates":true} 
[2026-11-04 13:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207494400001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38933483401248768,"note":"Value kept but may cause issues"} 
[2026-11-04 13:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5027635693548808192,"note":"Value kept but may cause issues"} 
[2026-11-04 13:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793779284000,"timestamp_ms":1793779284000,"timestamp_seconds":1793779284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a593b820"} 
[2026-11-04 13:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:33: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-11-04 13:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207494400001,"66":27995,"6":206,"86":48896,"24":38,"16":38933483401248768,"45":5027635693548808192},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,86,24,16,45]} 
[2026-11-04 13:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207494400001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:33:45] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 13:33:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38933483401248768,"km_value":38933483401248.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5027635693548808192,"description":"Unknown IO ID 45"} 
[2026-11-04 13:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207494400001,"power":27995,"unknown_6":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5027635693548808192}} 
[2026-11-04 13:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":232572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:33:45] local.INFO: GPS data processed {"connection_id":232572,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:33:45] local.INFO: Acknowledgment sent {"connection_id":232572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:34:11] local.INFO: TCP Data received {"connection_id":229422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:11] local.INFO: Processing buffer {"connection_id":229422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:11] local.INFO: IMEI packet received {"connection_id":229422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":229422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:34:12] local.INFO: TCP Data received {"connection_id":229422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:12] local.INFO: Processing buffer {"connection_id":229422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:12] local.INFO: IMEI packet received {"connection_id":229422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":229422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:34:16] local.INFO: TCP Data received {"connection_id":229422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:16] local.INFO: Processing buffer {"connection_id":229422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:34:16] local.INFO: IMEI packet received {"connection_id":229422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":229422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:34:21] local.INFO: TCP Data received {"connection_id":229422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5953ad8012d4727400695fbd80038004930..."} 
[2026-11-04 13:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5953ad8012d4727400695fbd80038004930..."} 
[2026-11-04 13:34:21] local.INFO: Processing buffer {"connection_id":229422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5953ad8012d4727400695fbd80038004930..."} 
[2026-11-04 13:34:21] local.INFO: Packet analysis {"connection_id":229422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:34:21] local.INFO: Extracted packet for processing {"connection_id":229422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:34:21] local.INFO: GPS Element Parsed {"raw_longitude":759637824,"raw_latitude":110492632,"longitude_deg":75.9637824,"latitude_deg":11.0492632,"altitude":56,"angle":73,"satellites":48,"speed":13,"hex_longitude":"2d472740","hex_latitude":"0695fbd8","is_valid_coordinates":true} 
[2026-11-04 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207517184001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38937473425866752,"note":"Value kept but may cause issues"} 
[2026-11-04 13:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5117215104885293056,"note":"Value kept but may cause issues"} 
[2026-11-04 13:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793779383000,"timestamp_ms":1793779383000,"timestamp_seconds":1793779383,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5953ad8"} 
[2026-11-04 13:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 13:34:21] 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-11-04 13:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207517184001,"66":27930,"5":206,"86":48896,"24":13,"16":38937473425866752,"45":5117215104885293056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,86,24,16,45]} 
[2026-11-04 13:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207517184001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:34:21] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-04 13:34:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38937473425866752,"km_value":38937473425866.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5117215104885293056,"description":"Unknown IO ID 45"} 
[2026-11-04 13:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207517184001,"power":27930,"unknown_5":206,"unknown_86":48896,"ignition":13,"odometer":null,"unknown_45":5117215104885293056}} 
[2026-11-04 13:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":229422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:34:21] local.INFO: GPS data processed {"connection_id":229422,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:34:21] local.INFO: Acknowledgment sent {"connection_id":229422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:34:23] local.INFO: TCP Data received {"connection_id":229422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5957958012d474a80069604c0003c005030..."} 
[2026-11-04 13:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5957958012d474a80069604c0003c005030..."} 
[2026-11-04 13:34:23] local.INFO: Processing buffer {"connection_id":229422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5957958012d474a80069604c0003c005030..."} 
[2026-11-04 13:34:23] local.INFO: Packet analysis {"connection_id":229422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:34:23] local.INFO: Extracted packet for processing {"connection_id":229422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:34:23] local.INFO: GPS Element Parsed {"raw_longitude":759646848,"raw_latitude":110494912,"longitude_deg":75.9646848,"latitude_deg":11.0494912,"altitude":60,"angle":80,"satellites":48,"speed":28,"hex_longitude":"2d474a80","hex_latitude":"069604c0","is_valid_coordinates":true} 
[2026-11-04 13:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207522048001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38937915807498240,"note":"Value kept but may cause issues"} 
[2026-11-04 13:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5127137097814890496,"note":"Value kept but may cause issues"} 
[2026-11-04 13:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793779399000,"timestamp_ms":1793779399000,"timestamp_seconds":1793779399,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5957958"} 
[2026-11-04 13:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:34:23] 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-11-04 13:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207522048001,"66":27995,"5":206,"86":48896,"24":28,"16":38937915807498240,"45":5127137097814890496},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,86,24,16,45]} 
[2026-11-04 13:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207522048001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:34:23] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-04 13:34:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38937915807498240,"km_value":38937915807498.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5127137097814890496,"description":"Unknown IO ID 45"} 
[2026-11-04 13:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207522048001,"power":27995,"unknown_5":206,"unknown_86":48896,"ignition":28,"odometer":null,"unknown_45":5127137097814890496}} 
[2026-11-04 13:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":229422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:34:23] local.INFO: GPS data processed {"connection_id":229422,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:34:23] local.INFO: Acknowledgment sent {"connection_id":229422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:34:48] local.INFO: TCP Data received {"connection_id":228919,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:34:48] local.INFO: Processing buffer {"connection_id":228919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:34:48] local.INFO: IMEI packet received {"connection_id":228919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":228919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:35:06] local.INFO: TCP Data received {"connection_id":232573,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:35:06] local.INFO: Processing buffer {"connection_id":232573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:35:06] local.INFO: IMEI packet received {"connection_id":232573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":232573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:35:11] local.INFO: TCP Data received {"connection_id":232573,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:35:11] local.INFO: Processing buffer {"connection_id":232573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:35:11] local.INFO: IMEI packet received {"connection_id":232573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":232573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:35:13] local.INFO: TCP Data received {"connection_id":232573,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a595b3f0012d476d8006960bd8003b004e31..."} 
[2026-11-04 13:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a595b3f0012d476d8006960bd8003b004e31..."} 
[2026-11-04 13:35:13] local.INFO: Processing buffer {"connection_id":232573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a595b3f0012d476d8006960bd8003b004e31..."} 
[2026-11-04 13:35:13] local.INFO: Packet analysis {"connection_id":232573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:35:13] local.INFO: Extracted packet for processing {"connection_id":232573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:35:13] local.INFO: GPS Element Parsed {"raw_longitude":759655808,"raw_latitude":110496728,"longitude_deg":75.9655808,"latitude_deg":11.0496728,"altitude":59,"angle":78,"satellites":49,"speed":16,"hex_longitude":"2d476d80","hex_latitude":"06960bd8","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207526144001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38938353894162432,"note":"Value kept but may cause issues"} 
[2026-11-04 13:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5137059090744524800,"note":"Value kept but may cause issues"} 
[2026-11-04 13:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793779414000,"timestamp_ms":1793779414000,"timestamp_seconds":1793779414,"priority":1,"record_length":96,"hex_timestamp":"000001a1a595b3f0"} 
[2026-11-04 13:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13: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-11-04 13: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-11-04 13:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207526144001,"66":28006,"188":206,"86":48896,"24":16,"16":38938353894162432,"45":5137059090744524800},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,86,24,16,45]} 
[2026-11-04 13:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207526144001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:35:13] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-11-04 13:35:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38938353894162432,"km_value":38938353894162.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5137059090744524800,"description":"Unknown IO ID 45"} 
[2026-11-04 13:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207526144001,"power":28006,"unknown_188":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5137059090744524800}} 
[2026-11-04 13:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":232573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:35:13] local.INFO: GPS data processed {"connection_id":232573,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:35:13] local.INFO: Acknowledgment sent {"connection_id":232573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:35:44] local.INFO: TCP Data received {"connection_id":232573,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a595ee88012d47910006961210003c00502f..."} 
[2026-11-04 13:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a595ee88012d47910006961210003c00502f..."} 
[2026-11-04 13:35:44] local.INFO: Processing buffer {"connection_id":232573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a595ee88012d47910006961210003c00502f..."} 
[2026-11-04 13:35:44] local.INFO: Packet analysis {"connection_id":232573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:35:44] local.INFO: Extracted packet for processing {"connection_id":232573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a595"} 
[2026-11-04 13:35:44] local.INFO: GPS Element Parsed {"raw_longitude":759664896,"raw_latitude":110498320,"longitude_deg":75.9664896,"latitude_deg":11.049832,"altitude":60,"angle":80,"satellites":47,"speed":33,"hex_longitude":"2d479100","hex_latitude":"06961210","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207529984001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38938791980826624,"note":"Value kept but may cause issues"} 
[2026-11-04 13:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5146910714929862656,"note":"Value kept but may cause issues"} 
[2026-11-04 13:35:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779429000,"timestamp_ms":1793779429000,"timestamp_seconds":1793779429,"priority":1,"record_length":96,"hex_timestamp":"000001a1a595ee88"} 
[2026-11-04 13:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 13:35: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-11-04 13: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-11-04 13:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207529984001,"66":27930,"215":206,"86":48896,"24":33,"16":38938791980826624,"45":5146910714929862656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207529984001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:35:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:35:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38938791980826624,"km_value":38938791980826.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5146910714929862656,"description":"Unknown IO ID 45"} 
[2026-11-04 13:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207529984001,"power":27930,"unknown_215":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5146910714929862656}} 
[2026-11-04 13:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":232573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:35:44] local.INFO: GPS data processed {"connection_id":232573,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:35:44] local.INFO: Acknowledgment sent {"connection_id":232573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:36:06] local.INFO: TCP Data received {"connection_id":229423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:36:06] local.INFO: Processing buffer {"connection_id":229423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:36:06] local.INFO: IMEI packet received {"connection_id":229423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":229423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:36:11] local.INFO: TCP Data received {"connection_id":229423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:36:11] local.INFO: Processing buffer {"connection_id":229423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:36:11] local.INFO: IMEI packet received {"connection_id":229423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:36:12] local.INFO: TCP Data received {"connection_id":229423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5961d68012d47b6c006961420003a00572d..."} 
[2026-11-04 13:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5961d68012d47b6c006961420003a00572d..."} 
[2026-11-04 13:36:12] local.INFO: Processing buffer {"connection_id":229423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5961d68012d47b6c006961420003a00572d..."} 
[2026-11-04 13:36:12] local.INFO: Packet analysis {"connection_id":229423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:36:12] local.INFO: Extracted packet for processing {"connection_id":229423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:36:12] local.INFO: GPS Element Parsed {"raw_longitude":759674560,"raw_latitude":110498848,"longitude_deg":75.967456,"latitude_deg":11.0498848,"altitude":58,"angle":87,"satellites":45,"speed":27,"hex_longitude":"2d47b6c0","hex_latitude":"06961420","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207533824001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38939251542327296,"note":"Value kept but may cause issues"} 
[2026-11-04 13:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5156903076603498496,"note":"Value kept but may cause issues"} 
[2026-11-04 13:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779441000,"timestamp_ms":1793779441000,"timestamp_seconds":1793779441,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5961d68"} 
[2026-11-04 13:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13: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-11-04 13: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-11-04 13:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207533824001,"66":27843,"215":206,"86":48896,"24":27,"16":38939251542327296,"45":5156903076603498496},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207533824001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:36:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:36:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38939251542327296,"km_value":38939251542327.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5156903076603498496,"description":"Unknown IO ID 45"} 
[2026-11-04 13:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207533824001,"power":27843,"unknown_215":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5156903076603498496}} 
[2026-11-04 13:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":229423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:36:12] local.INFO: GPS data processed {"connection_id":229423,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:36:12] local.INFO: Acknowledgment sent {"connection_id":229423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:36:38] local.INFO: TCP Data received {"connection_id":228920,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:36:38] local.INFO: Processing buffer {"connection_id":228920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:36:38] local.INFO: IMEI packet received {"connection_id":228920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":228920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:36:44] local.INFO: TCP Data received {"connection_id":229423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59634d8012d47c58006961608003a004c2f..."} 
[2026-11-04 13:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59634d8012d47c58006961608003a004c2f..."} 
[2026-11-04 13:36:44] local.INFO: Processing buffer {"connection_id":229423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59634d8012d47c58006961608003a004c2f..."} 
[2026-11-04 13:36:44] local.INFO: Packet analysis {"connection_id":229423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:36:44] local.INFO: Extracted packet for processing {"connection_id":229423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":759678336,"raw_latitude":110499336,"longitude_deg":75.9678336,"latitude_deg":11.0499336,"altitude":58,"angle":76,"satellites":47,"speed":21,"hex_longitude":"2d47c580","hex_latitude":"06961608","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207536896001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38939436225921024,"note":"Value kept but may cause issues"} 
[2026-11-04 13:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5167528756974460928,"note":"Value kept but may cause issues"} 
[2026-11-04 13:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779447000,"timestamp_ms":1793779447000,"timestamp_seconds":1793779447,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59634d8"} 
[2026-11-04 13:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":195,"data_length":795,"current_offset":136} 
[2026-11-04 13:36: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-11-04 13: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-11-04 13:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207536896001,"66":27919,"215":206,"86":48896,"24":21,"16":38939436225921024,"45":5167528756974460928},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207536896001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:36:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:36:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38939436225921024,"km_value":38939436225921.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5167528756974460928,"description":"Unknown IO ID 45"} 
[2026-11-04 13:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207536896001,"power":27919,"unknown_215":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5167528756974460928}} 
[2026-11-04 13:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":229423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:36:44] local.INFO: GPS data processed {"connection_id":229423,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:36:44] local.INFO: Acknowledgment sent {"connection_id":229423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:37:06] local.INFO: TCP Data received {"connection_id":230729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:37:06] local.INFO: Processing buffer {"connection_id":230729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:37:06] local.INFO: IMEI packet received {"connection_id":230729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:37:11] local.INFO: TCP Data received {"connection_id":230729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:37:11] local.INFO: Processing buffer {"connection_id":230729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:37:11] local.INFO: IMEI packet received {"connection_id":230729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":230729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:37:12] local.INFO: TCP Data received {"connection_id":230729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5967358012d47ea4006961ed8003a005331..."} 
[2026-11-04 13:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5967358012d47ea4006961ed8003a005331..."} 
[2026-11-04 13:37:12] local.INFO: Processing buffer {"connection_id":230729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5967358012d47ea4006961ed8003a005331..."} 
[2026-11-04 13:37:12] local.INFO: Packet analysis {"connection_id":230729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:37:12] local.INFO: Extracted packet for processing {"connection_id":230729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:37:12] local.INFO: GPS Element Parsed {"raw_longitude":759687744,"raw_latitude":110501592,"longitude_deg":75.9687744,"latitude_deg":11.0501592,"altitude":58,"angle":83,"satellites":49,"speed":30,"hex_longitude":"2d47ea40","hex_latitude":"06961ed8","is_valid_coordinates":true} 
[2026-11-04 13:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207538432001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38939895787421696,"note":"Value kept but may cause issues"} 
[2026-11-04 13:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5171680512881068032,"note":"Value kept but may cause issues"} 
[2026-11-04 13:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779463000,"timestamp_ms":1793779463000,"timestamp_seconds":1793779463,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5967358"} 
[2026-11-04 13:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 13:37: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-11-04 13: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-11-04 13:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207538432001,"66":27995,"215":206,"86":48896,"24":30,"16":38939895787421696,"45":5171680512881068032},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207538432001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:37:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:37:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38939895787421696,"km_value":38939895787421.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5171680512881068032,"description":"Unknown IO ID 45"} 
[2026-11-04 13:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207538432001,"power":27995,"unknown_215":206,"unknown_86":48896,"ignition":30,"odometer":null,"unknown_45":5171680512881068032}} 
[2026-11-04 13:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":230729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:37:13] local.INFO: GPS data processed {"connection_id":230729,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:37:13] local.INFO: Acknowledgment sent {"connection_id":230729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:37:14] local.INFO: TCP Data received {"connection_id":232574,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:37:14] local.INFO: Processing buffer {"connection_id":232574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:37:14] local.INFO: IMEI packet received {"connection_id":232574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":232574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:37:44] local.INFO: TCP Data received {"connection_id":230729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5969e50012d480f80069624a0003e00562e..."} 
[2026-11-04 13:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5969e50012d480f80069624a0003e00562e..."} 
[2026-11-04 13:37:44] local.INFO: Processing buffer {"connection_id":230729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5969e50012d480f80069624a0003e00562e..."} 
[2026-11-04 13:37:44] local.INFO: Packet analysis {"connection_id":230729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:37:44] local.INFO: Extracted packet for processing {"connection_id":230729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:37:44] local.INFO: GPS Element Parsed {"raw_longitude":759697280,"raw_latitude":110503072,"longitude_deg":75.969728,"latitude_deg":11.0503072,"altitude":62,"angle":86,"satellites":46,"speed":33,"hex_longitude":"2d480f80","hex_latitude":"069624a0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207542528001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38940355348922368,"note":"Value kept but may cause issues"} 
[2026-11-04 13:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5182024718275762176,"note":"Value kept but may cause issues"} 
[2026-11-04 13:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779474000,"timestamp_ms":1793779474000,"timestamp_seconds":1793779474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5969e50"} 
[2026-11-04 13:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 13:37: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-11-04 13: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-11-04 13:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207542528001,"66":27767,"215":206,"86":48896,"24":33,"16":38940355348922368,"45":5182024718275762176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207542528001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:37:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:37:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38940355348922368,"km_value":38940355348922.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5182024718275762176,"description":"Unknown IO ID 45"} 
[2026-11-04 13:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207542528001,"power":27767,"unknown_215":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5182024718275762176}} 
[2026-11-04 13:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":230729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:37:44] local.INFO: GPS data processed {"connection_id":230729,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:37:44] local.INFO: Acknowledgment sent {"connection_id":230729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:38:06] local.INFO: TCP Data received {"connection_id":228921,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:38:06] local.INFO: Processing buffer {"connection_id":228921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:38:06] local.INFO: IMEI packet received {"connection_id":228921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":228921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:38:11] local.INFO: TCP Data received {"connection_id":228921,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:38:11] local.INFO: Processing buffer {"connection_id":228921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:38:11] local.INFO: IMEI packet received {"connection_id":228921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":228921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:38:12] local.INFO: TCP Data received {"connection_id":228921,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a596cd30012d483340069625c0003f00562e..."} 
[2026-11-04 13:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a596cd30012d483340069625c0003f00562e..."} 
[2026-11-04 13:38:12] local.INFO: Processing buffer {"connection_id":228921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a596cd30012d483340069625c0003f00562e..."} 
[2026-11-04 13:38:12] local.INFO: Packet analysis {"connection_id":228921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:38:12] local.INFO: Extracted packet for processing {"connection_id":228921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a596"} 
[2026-11-04 13:38:12] local.INFO: GPS Element Parsed {"raw_longitude":759706432,"raw_latitude":110503360,"longitude_deg":75.9706432,"latitude_deg":11.050336,"altitude":63,"angle":86,"satellites":46,"speed":27,"hex_longitude":"2d483340","hex_latitude":"069625c0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207545344001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38940789140619264,"note":"Value kept but may cause issues"} 
[2026-11-04 13:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5192509661158612992,"note":"Value kept but may cause issues"} 
[2026-11-04 13:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779486000,"timestamp_ms":1793779486000,"timestamp_seconds":1793779486,"priority":1,"record_length":96,"hex_timestamp":"000001a1a596cd30"} 
[2026-11-04 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-11-04 13:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 13:38: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-11-04 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-11-04 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-11-04 13:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207545344001,"66":27821,"215":206,"86":48896,"24":27,"16":38940789140619264,"45":5192509661158612992},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207545344001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:38:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:38:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38940789140619264,"km_value":38940789140619.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5192509661158612992,"description":"Unknown IO ID 45"} 
[2026-11-04 13:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207545344001,"power":27821,"unknown_215":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5192509661158612992}} 
[2026-11-04 13:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":228921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:38:12] local.INFO: GPS data processed {"connection_id":228921,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:38:12] local.INFO: Acknowledgment sent {"connection_id":228921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:38:44] local.INFO: TCP Data received {"connection_id":228921,"ip":"42.109.136.12","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59707c8012d48584006962aa00041004d2f..."} 
[2026-11-04 13:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59707c8012d48584006962aa00041004d2f..."} 
[2026-11-04 13:38:44] local.INFO: Processing buffer {"connection_id":228921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59707c8012d48584006962aa00041004d2f..."} 
[2026-11-04 13:38:44] local.INFO: Packet analysis {"connection_id":228921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:38:44] local.INFO: Extracted packet for processing {"connection_id":228921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:38:44] local.INFO: GPS Element Parsed {"raw_longitude":759715904,"raw_latitude":110504608,"longitude_deg":75.9715904,"latitude_deg":11.0504608,"altitude":65,"angle":77,"satellites":47,"speed":25,"hex_longitude":"2d485840","hex_latitude":"06962aa0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207548416001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941244407152640,"note":"Value kept but may cause issues"} 
[2026-11-04 13:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5202572391576092672,"note":"Value kept but may cause issues"} 
[2026-11-04 13:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779501000,"timestamp_ms":1793779501000,"timestamp_seconds":1793779501,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59707c8"} 
[2026-11-04 13:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 13:38: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-11-04 13: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-11-04 13:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.12","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207548416001,"66":28104,"215":206,"86":48896,"24":25,"16":38941244407152640,"45":5202572391576092672},"client_ip":"42.109.136.12","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207548416001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:38:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:38:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941244407152640,"km_value":38941244407152.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5202572391576092672,"description":"Unknown IO ID 45"} 
[2026-11-04 13:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207548416001,"power":28104,"unknown_215":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5202572391576092672}} 
[2026-11-04 13:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":228921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:38:44] local.INFO: GPS data processed {"connection_id":228921,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:38:44] local.INFO: Acknowledgment sent {"connection_id":228921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:39:11] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:11] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:11] local.INFO: IMEI packet received {"connection_id":229424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":229424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:39:12] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:12] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:12] local.INFO: IMEI packet received {"connection_id":229424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":229424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:39:16] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:16] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:39:16] local.INFO: IMEI packet received {"connection_id":229424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":229424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:39:17] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5973e78012d48798006962f88004400592d..."} 
[2026-11-04 13:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5973e78012d48798006962f88004400592d..."} 
[2026-11-04 13:39:17] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5973e78012d48798006962f88004400592d..."} 
[2026-11-04 13:39:17] local.INFO: Packet analysis {"connection_id":229424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:39:17] local.INFO: Extracted packet for processing {"connection_id":229424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":759724416,"raw_latitude":110505864,"longitude_deg":75.9724416,"latitude_deg":11.0505864,"altitude":68,"angle":89,"satellites":45,"speed":19,"hex_longitude":"2d487980","hex_latitude":"06962f88","is_valid_coordinates":true} 
[2026-11-04 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207552256001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941656724013056,"note":"Value kept but may cause issues"} 
[2026-11-04 13:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5212986965714706432,"note":"Value kept but may cause issues"} 
[2026-11-04 13:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793779515000,"timestamp_ms":1793779515000,"timestamp_seconds":1793779515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5973e78"} 
[2026-11-04 13:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 13:39:17] 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-11-04 13:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207552256001,"66":27974,"215":206,"86":48896,"24":19,"16":38941656724013056,"45":5212986965714706432},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207552256001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:39:17] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:39:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941656724013056,"km_value":38941656724013.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5212986965714706432,"description":"Unknown IO ID 45"} 
[2026-11-04 13:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207552256001,"power":27974,"unknown_215":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5212986965714706432}} 
[2026-11-04 13:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":229424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:39:17] local.INFO: GPS data processed {"connection_id":229424,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:39:17] local.INFO: Acknowledgment sent {"connection_id":229424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:39:21] local.INFO: TCP Data received {"connection_id":229424,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5979080012d48864006962f10004400632e..."} 
[2026-11-04 13:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5979080012d48864006962f10004400632e..."} 
[2026-11-04 13:39:21] local.INFO: Processing buffer {"connection_id":229424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5979080012d48864006962f10004400632e..."} 
[2026-11-04 13:39:21] local.INFO: Packet analysis {"connection_id":229424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:39:21] local.INFO: Extracted packet for processing {"connection_id":229424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:39:21] local.INFO: GPS Element Parsed {"raw_longitude":759727680,"raw_latitude":110505744,"longitude_deg":75.972768,"latitude_deg":11.0505744,"altitude":68,"angle":99,"satellites":46,"speed":2,"hex_longitude":"2d488640","hex_latitude":"06962f10","is_valid_coordinates":true} 
[2026-11-04 13:39: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-11-04 13:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207555840001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941815637803008,"note":"Value kept but may cause issues"} 
[2026-11-04 13:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5222346008690657280,"note":"Value kept but may cause issues"} 
[2026-11-04 13:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793779536000,"timestamp_ms":1793779536000,"timestamp_seconds":1793779536,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5979080"} 
[2026-11-04 13:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:39: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":70,"data_length":795,"current_offset":136} 
[2026-11-04 13:39:21] 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-11-04 13:39: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-11-04 13:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207555840001,"66":28006,"215":206,"86":48896,"24":2,"16":38941815637803008,"45":5222346008690657280},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207555840001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:39:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:39:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941815637803008,"km_value":38941815637803.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5222346008690657280,"description":"Unknown IO ID 45"} 
[2026-11-04 13:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207555840001,"power":28006,"unknown_215":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5222346008690657280}} 
[2026-11-04 13:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":229424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:39:21] local.INFO: GPS data processed {"connection_id":229424,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:39:21] local.INFO: Acknowledgment sent {"connection_id":229424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:40:06] local.INFO: TCP Data received {"connection_id":230731,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:40:06] local.INFO: Processing buffer {"connection_id":230731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:40:06] local.INFO: IMEI packet received {"connection_id":230731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":230731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:40:11] local.INFO: TCP Data received {"connection_id":230731,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:40:11] local.INFO: Processing buffer {"connection_id":230731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:40:11] local.INFO: IMEI packet received {"connection_id":230731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":230731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:40:12] local.INFO: TCP Data received {"connection_id":230731,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a597e288012d488a8006962fb80045006330..."} 
[2026-11-04 13:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a597e288012d488a8006962fb80045006330..."} 
[2026-11-04 13:40:12] local.INFO: Processing buffer {"connection_id":230731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a597e288012d488a8006962fb80045006330..."} 
[2026-11-04 13:40:12] local.INFO: Packet analysis {"connection_id":230731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:40:12] local.INFO: Extracted packet for processing {"connection_id":230731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a597"} 
[2026-11-04 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":759728768,"raw_latitude":110505912,"longitude_deg":75.9728768,"latitude_deg":11.0505912,"altitude":69,"angle":99,"satellites":48,"speed":0,"hex_longitude":"2d488a80","hex_latitude":"06962fb8","is_valid_coordinates":true} 
[2026-11-04 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207561216001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941867177410560,"note":"Value kept but may cause issues"} 
[2026-11-04 13:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225934814643687424,"note":"Value kept but may cause issues"} 
[2026-11-04 13:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779557000,"timestamp_ms":1793779557000,"timestamp_seconds":1793779557,"priority":1,"record_length":96,"hex_timestamp":"000001a1a597e288"} 
[2026-11-04 13:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 13:40: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-11-04 13:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207561216001,"66":28104,"215":206,"86":48896,"24":0,"16":38941867177410560,"45":5225934814643687424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207561216001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:40:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:40:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941867177410560,"km_value":38941867177410.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225934814643687424,"description":"Unknown IO ID 45"} 
[2026-11-04 13:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207561216001,"power":28104,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225934814643687424}} 
[2026-11-04 13:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":230731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:40:12] local.INFO: GPS data processed {"connection_id":230731,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:40:12] local.INFO: Acknowledgment sent {"connection_id":230731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:40:43] local.INFO: TCP Data received {"connection_id":230731,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5981938012d48870006963080004700632d..."} 
[2026-11-04 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5981938012d48870006963080004700632d..."} 
[2026-11-04 13:40:43] local.INFO: Processing buffer {"connection_id":230731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5981938012d48870006963080004700632d..."} 
[2026-11-04 13:40:43] local.INFO: Packet analysis {"connection_id":230731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a598"} 
[2026-11-04 13:40:43] local.INFO: Extracted packet for processing {"connection_id":230731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a598"} 
[2026-11-04 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":759727872,"raw_latitude":110506112,"longitude_deg":75.9727872,"latitude_deg":11.0506112,"altitude":71,"angle":99,"satellites":45,"speed":2,"hex_longitude":"2d488700","hex_latitude":"06963080","is_valid_coordinates":true} 
[2026-11-04 13:40: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-11-04 13:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207566592001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941918717018112,"note":"Value kept but may cause issues"} 
[2026-11-04 13:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5227131083294750720,"note":"Value kept but may cause issues"} 
[2026-11-04 13:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793779571000,"timestamp_ms":1793779571000,"timestamp_seconds":1793779571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5981938"} 
[2026-11-04 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-11-04 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 13:40: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-11-04 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-11-04 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-11-04 13:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207566592001,"66":28028,"215":206,"86":48896,"24":2,"16":38941918717018112,"45":5227131083294750720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207566592001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:40:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:40:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941918717018112,"km_value":38941918717018.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5227131083294750720,"description":"Unknown IO ID 45"} 
[2026-11-04 13:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207566592001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":2,"odometer":null,"unknown_45":5227131083294750720}} 
[2026-11-04 13:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":230731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:40:43] local.INFO: GPS data processed {"connection_id":230731,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:40:43] local.INFO: Acknowledgment sent {"connection_id":230731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:41:06] local.INFO: TCP Data received {"connection_id":232576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:06] local.INFO: Processing buffer {"connection_id":232576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:06] local.INFO: IMEI packet received {"connection_id":232576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":232576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:41:07] local.INFO: TCP Data received {"connection_id":232576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:07] local.INFO: Processing buffer {"connection_id":232576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:07] local.INFO: IMEI packet received {"connection_id":232576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":232576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:41:11] local.INFO: TCP Data received {"connection_id":232576,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:11] local.INFO: Processing buffer {"connection_id":232576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:41:11] local.INFO: IMEI packet received {"connection_id":232576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":232576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:41:12] local.INFO: TCP Data received {"connection_id":232576,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a599f1e0012d48840006963030004a006330..."} 
[2026-11-04 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a599f1e0012d48840006963030004a006330..."} 
[2026-11-04 13:41:12] local.INFO: Processing buffer {"connection_id":232576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a599f1e0012d48840006963030004a006330..."} 
[2026-11-04 13:41:12] local.INFO: Packet analysis {"connection_id":232576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a599"} 
[2026-11-04 13:41:12] local.INFO: Extracted packet for processing {"connection_id":232576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a599"} 
[2026-11-04 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":759727104,"raw_latitude":110506032,"longitude_deg":75.9727104,"latitude_deg":11.0506032,"altitude":74,"angle":99,"satellites":48,"speed":0,"hex_longitude":"2d488400","hex_latitude":"06963030","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207570176001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941918717018112,"note":"Value kept but may cause issues"} 
[2026-11-04 13:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5226145920876314624,"note":"Value kept but may cause issues"} 
[2026-11-04 13:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779692000,"timestamp_ms":1793779692000,"timestamp_seconds":1793779692,"priority":1,"record_length":96,"hex_timestamp":"000001a1a599f1e0"} 
[2026-11-04 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-11-04 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:41: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-11-04 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-11-04 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-11-04 13:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207570176001,"66":26408,"215":206,"86":48896,"24":0,"16":38941918717018112,"45":5226145920876314624},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207570176001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:41:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:41:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941918717018112,"km_value":38941918717018.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5226145920876314624,"description":"Unknown IO ID 45"} 
[2026-11-04 13:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207570176001,"power":26408,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5226145920876314624}} 
[2026-11-04 13:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":232576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:41:12] local.INFO: GPS data processed {"connection_id":232576,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:41:12] local.INFO: Acknowledgment sent {"connection_id":232576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:41:44] local.INFO: TCP Data received {"connection_id":232576,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59a47d0012d4883c0069632c0004a00632c..."} 
[2026-11-04 13:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59a47d0012d4883c0069632c0004a00632c..."} 
[2026-11-04 13:41:44] local.INFO: Processing buffer {"connection_id":232576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59a47d0012d4883c0069632c0004a00632c..."} 
[2026-11-04 13:41:44] local.INFO: Packet analysis {"connection_id":232576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59a"} 
[2026-11-04 13:41:44] local.INFO: Extracted packet for processing {"connection_id":232576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59a"} 
[2026-11-04 13:41:44] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110506688,"longitude_deg":75.972704,"latitude_deg":11.0506688,"altitude":74,"angle":99,"satellites":44,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"069632c0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207601152001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941918717018112,"note":"Value kept but may cause issues"} 
[2026-11-04 13:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225301495946162176,"note":"Value kept but may cause issues"} 
[2026-11-04 13:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779714000,"timestamp_ms":1793779714000,"timestamp_seconds":1793779714,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59a47d0"} 
[2026-11-04 13:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-11-04 13:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207601152001,"66":28082,"215":206,"86":48896,"24":0,"16":38941918717018112,"45":5225301495946162176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207601152001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:41:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:41:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941918717018112,"km_value":38941918717018.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225301495946162176,"description":"Unknown IO ID 45"} 
[2026-11-04 13:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207601152001,"power":28082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225301495946162176}} 
[2026-11-04 13:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":232576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:41:44] local.INFO: GPS data processed {"connection_id":232576,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:41:44] local.INFO: Acknowledgment sent {"connection_id":232576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:42:06] local.INFO: TCP Data received {"connection_id":232577,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:42:06] local.INFO: Processing buffer {"connection_id":232577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:42:06] local.INFO: IMEI packet received {"connection_id":232577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":232577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:42:11] local.INFO: TCP Data received {"connection_id":232577,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:42:11] local.INFO: Processing buffer {"connection_id":232577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:42:11] local.INFO: IMEI packet received {"connection_id":232577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":232577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:42:13] local.INFO: TCP Data received {"connection_id":232577,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59a99d8012d4883c0069632c0004a006330..."} 
[2026-11-04 13:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59a99d8012d4883c0069632c0004a006330..."} 
[2026-11-04 13:42:13] local.INFO: Processing buffer {"connection_id":232577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59a99d8012d4883c0069632c0004a006330..."} 
[2026-11-04 13:42:13] local.INFO: Packet analysis {"connection_id":232577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59a"} 
[2026-11-04 13:42:13] local.INFO: Extracted packet for processing {"connection_id":232577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59a"} 
[2026-11-04 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":759727040,"raw_latitude":110506688,"longitude_deg":75.972704,"latitude_deg":11.0506688,"altitude":74,"angle":99,"satellites":48,"speed":0,"hex_longitude":"2d4883c0","hex_latitude":"069632c0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207606784001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941918717018112,"note":"Value kept but may cause issues"} 
[2026-11-04 13:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127202152448,"note":"Value kept but may cause issues"} 
[2026-11-04 13:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793779735000,"timestamp_ms":1793779735000,"timestamp_seconds":1793779735,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59a99d8"} 
[2026-11-04 13:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 13:42: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-11-04 13: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-11-04 13:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207606784001,"66":28082,"215":206,"86":48896,"24":0,"16":38941918717018112,"45":5225231127202152448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207606784001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:42:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:42:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941918717018112,"km_value":38941918717018.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127202152448,"description":"Unknown IO ID 45"} 
[2026-11-04 13:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207606784001,"power":28082,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127202152448}} 
[2026-11-04 13:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":232577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:42:13] local.INFO: GPS data processed {"connection_id":232577,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:42:13] local.INFO: Acknowledgment sent {"connection_id":232577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:42:23] local.INFO: TCP Data received {"connection_id":230733,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:42:23] local.INFO: Processing buffer {"connection_id":230733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:42:23] local.INFO: IMEI packet received {"connection_id":230733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":230733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:42:44] local.INFO: TCP Data received {"connection_id":232577,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59aebe0012d48864006963428004c00632e..."} 
[2026-11-04 13:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59aebe0012d48864006963428004c00632e..."} 
[2026-11-04 13:42:44] local.INFO: Processing buffer {"connection_id":232577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59aebe0012d48864006963428004c00632e..."} 
[2026-11-04 13:42:44] local.INFO: Packet analysis {"connection_id":232577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59a"} 
[2026-11-04 13:42:44] local.INFO: Extracted packet for processing {"connection_id":232577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59a"} 
[2026-11-04 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":759727680,"raw_latitude":110507048,"longitude_deg":75.972768,"latitude_deg":11.0507048,"altitude":76,"angle":99,"satellites":46,"speed":0,"hex_longitude":"2d488640","hex_latitude":"06963428","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207612160001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38941957371723776,"note":"Value kept but may cause issues"} 
[2026-11-04 13:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225231127202152448,"note":"Value kept but may cause issues"} 
[2026-11-04 13:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779756000,"timestamp_ms":1793779756000,"timestamp_seconds":1793779756,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59aebe0"} 
[2026-11-04 13:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 13:42: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-11-04 13: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-11-04 13:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207612160001,"66":27919,"215":206,"86":48896,"24":0,"16":38941957371723776,"45":5225231127202152448},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207612160001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:42:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:42:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38941957371723776,"km_value":38941957371723.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225231127202152448,"description":"Unknown IO ID 45"} 
[2026-11-04 13:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207612160001,"power":27919,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225231127202152448}} 
[2026-11-04 13:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":232577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:42:44] local.INFO: GPS data processed {"connection_id":232577,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:42:44] local.INFO: Acknowledgment sent {"connection_id":232577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:43:11] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:43:11] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:43:11] local.INFO: IMEI packet received {"connection_id":229425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":229425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:43:13] local.INFO: TCP Data received {"connection_id":230734,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:43:13] local.INFO: Processing buffer {"connection_id":230734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:43:13] local.INFO: IMEI packet received {"connection_id":230734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":230734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:43:16] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:43:16] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:43:16] local.INFO: IMEI packet received {"connection_id":229425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":229425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:43:18] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59d31e8012d488540069631c0004a00e32b..."} 
[2026-11-04 13:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59d31e8012d488540069631c0004a00e32b..."} 
[2026-11-04 13:43:18] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59d31e8012d488540069631c0004a00e32b..."} 
[2026-11-04 13:43:18] local.INFO: Packet analysis {"connection_id":229425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59d"} 
[2026-11-04 13:43:18] local.INFO: Extracted packet for processing {"connection_id":229425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59d"} 
[2026-11-04 13:43:18] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110506432,"longitude_deg":75.9727424,"latitude_deg":11.0506432,"altitude":74,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488540","hex_latitude":"069631c0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207650304001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942008911331328,"note":"Value kept but may cause issues"} 
[2026-11-04 13:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793779905000,"timestamp_ms":1793779905000,"timestamp_seconds":1793779905,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59d31e8"} 
[2026-11-04 13:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 13:43:18] 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-11-04 13: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-11-04 13:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207650304001,"66":28050,"215":206,"86":48896,"24":0,"16":38942008911331328,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207650304001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:43:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:43:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942008911331328,"km_value":38942008911331.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207650304001,"power":28050,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":229425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:43:18] local.INFO: GPS data processed {"connection_id":229425,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:43:18] local.INFO: Acknowledgment sent {"connection_id":229425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:43:22] local.INFO: TCP Data received {"connection_id":229425,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59d83f0012d488540069631c0004a00e32a..."} 
[2026-11-04 13:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59d83f0012d488540069631c0004a00e32a..."} 
[2026-11-04 13:43:22] local.INFO: Processing buffer {"connection_id":229425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59d83f0012d488540069631c0004a00e32a..."} 
[2026-11-04 13:43:22] local.INFO: Packet analysis {"connection_id":229425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59d"} 
[2026-11-04 13:43:22] local.INFO: Extracted packet for processing {"connection_id":229425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59d"} 
[2026-11-04 13:43:22] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110506432,"longitude_deg":75.9727424,"latitude_deg":11.0506432,"altitude":74,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488540","hex_latitude":"069631c0","is_valid_coordinates":true} 
[2026-11-04 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207655680001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942008911331328,"note":"Value kept but may cause issues"} 
[2026-11-04 13:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793779926000,"timestamp_ms":1793779926000,"timestamp_seconds":1793779926,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59d83f0"} 
[2026-11-04 13:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:43:22] 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-11-04 13:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207655680001,"66":28050,"215":206,"86":48896,"24":0,"16":38942008911331328,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207655680001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:43:22] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:43:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942008911331328,"km_value":38942008911331.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207655680001,"power":28050,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":229425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:43:22] local.INFO: GPS data processed {"connection_id":229425,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:43:22] local.INFO: Acknowledgment sent {"connection_id":229425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:44:06] local.INFO: TCP Data received {"connection_id":232578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:44:06] local.INFO: Processing buffer {"connection_id":232578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:44:06] local.INFO: IMEI packet received {"connection_id":232578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":232578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:44:11] local.INFO: TCP Data received {"connection_id":232578,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:44:11] local.INFO: Processing buffer {"connection_id":232578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:44:11] local.INFO: IMEI packet received {"connection_id":232578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":232578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:44:12] local.INFO: TCP Data received {"connection_id":232578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59dd5f8012d488540069631c0004a00e32b..."} 
[2026-11-04 13:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59dd5f8012d488540069631c0004a00e32b..."} 
[2026-11-04 13:44:12] local.INFO: Processing buffer {"connection_id":232578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59dd5f8012d488540069631c0004a00e32b..."} 
[2026-11-04 13:44:12] local.INFO: Packet analysis {"connection_id":232578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59d"} 
[2026-11-04 13:44:12] local.INFO: Extracted packet for processing {"connection_id":232578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59d"} 
[2026-11-04 13:44:12] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110506432,"longitude_deg":75.9727424,"latitude_deg":11.0506432,"altitude":74,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488540","hex_latitude":"069631c0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207661056001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942008911331328,"note":"Value kept but may cause issues"} 
[2026-11-04 13:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779947000,"timestamp_ms":1793779947000,"timestamp_seconds":1793779947,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59dd5f8"} 
[2026-11-04 13:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:44: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-11-04 13: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-11-04 13:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207661056001,"66":27930,"215":206,"86":48896,"24":0,"16":38942008911331328,"45":5225653339667152896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207661056001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:44:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:44:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942008911331328,"km_value":38942008911331.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207661056001,"power":27930,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":232578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:44:12] local.INFO: GPS data processed {"connection_id":232578,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:44:12] local.INFO: Acknowledgment sent {"connection_id":232578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:44:43] local.INFO: TCP Data received {"connection_id":232578,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e2800012d488540069631c0004a00e32b..."} 
[2026-11-04 13:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e2800012d488540069631c0004a00e32b..."} 
[2026-11-04 13:44:43] local.INFO: Processing buffer {"connection_id":232578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e2800012d488540069631c0004a00e32b..."} 
[2026-11-04 13:44:43] local.INFO: Packet analysis {"connection_id":232578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:44:43] local.INFO: Extracted packet for processing {"connection_id":232578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:44:43] local.INFO: GPS Element Parsed {"raw_longitude":759727424,"raw_latitude":110506432,"longitude_deg":75.9727424,"latitude_deg":11.0506432,"altitude":74,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488540","hex_latitude":"069631c0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207666432001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942008911331328,"note":"Value kept but may cause issues"} 
[2026-11-04 13:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793779968000,"timestamp_ms":1793779968000,"timestamp_seconds":1793779968,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e2800"} 
[2026-11-04 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-11-04 13:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 13:44: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-11-04 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-11-04 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-11-04 13:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207666432001,"66":28050,"215":206,"86":48896,"24":0,"16":38942008911331328,"45":5225653339667152896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207666432001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:44:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:44:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942008911331328,"km_value":38942008911331.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207666432001,"power":28050,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":232578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:44:43] local.INFO: GPS data processed {"connection_id":232578,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:44:43] local.INFO: Acknowledgment sent {"connection_id":232578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:45:06] local.INFO: TCP Data received {"connection_id":229426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:45:06] local.INFO: Processing buffer {"connection_id":229426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:45:06] local.INFO: IMEI packet received {"connection_id":229426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":229426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:45:11] local.INFO: TCP Data received {"connection_id":229426,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:45:11] local.INFO: Processing buffer {"connection_id":229426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:45:11] local.INFO: IMEI packet received {"connection_id":229426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":229426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:45:12] local.INFO: TCP Data received {"connection_id":229426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:45:12] local.INFO: Processing buffer {"connection_id":229426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:45:12] local.INFO: Packet analysis {"connection_id":229426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:45:12] local.INFO: Extracted packet for processing {"connection_id":229426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:45:12] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110507344,"longitude_deg":75.9727296,"latitude_deg":11.0507344,"altitude":70,"angle":227,"satellites":45,"speed":0,"hex_longitude":"2d4884c0","hex_latitude":"06963550","is_valid_coordinates":true} 
[2026-11-04 13:45: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-11-04 13:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207671808001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779978000,"timestamp_ms":1793779978000,"timestamp_seconds":1793779978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e4f10"} 
[2026-11-04 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-11-04 13:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:45: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-11-04 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-11-04 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-11-04 13:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207671808001,"66":28028,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207671808001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:45:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:45:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207671808001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":229426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:45:12] local.INFO: GPS data processed {"connection_id":229426,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:45:12] local.INFO: Acknowledgment sent {"connection_id":229426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:45:43] local.INFO: TCP Data received {"connection_id":229426,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:45:43] local.INFO: Processing buffer {"connection_id":229426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:45:43] local.INFO: Packet analysis {"connection_id":229426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:45:43] local.INFO: Extracted packet for processing {"connection_id":229426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110507344,"longitude_deg":75.9727296,"latitude_deg":11.0507344,"altitude":70,"angle":227,"satellites":45,"speed":0,"hex_longitude":"2d4884c0","hex_latitude":"06963550","is_valid_coordinates":true} 
[2026-11-04 13:45: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-11-04 13:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207671808001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793779978000,"timestamp_ms":1793779978000,"timestamp_seconds":1793779978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e4f10"} 
[2026-11-04 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-11-04 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:45: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-11-04 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-11-04 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-11-04 13:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207671808001,"66":28028,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207671808001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:45:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:45:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207671808001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":229426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:45:43] local.INFO: GPS data processed {"connection_id":229426,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:45:43] local.INFO: Acknowledgment sent {"connection_id":229426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:46:06] local.INFO: TCP Data received {"connection_id":232579,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:46:06] local.INFO: Processing buffer {"connection_id":232579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:46:06] local.INFO: IMEI packet received {"connection_id":232579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":232579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:46:11] local.INFO: TCP Data received {"connection_id":232579,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:46:11] local.INFO: Processing buffer {"connection_id":232579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:46:11] local.INFO: IMEI packet received {"connection_id":232579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":232579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:46:12] local.INFO: TCP Data received {"connection_id":232579,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:46:12] local.INFO: Processing buffer {"connection_id":232579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:46:12] local.INFO: Packet analysis {"connection_id":232579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:46:12] local.INFO: Extracted packet for processing {"connection_id":232579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:46:12] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110507344,"longitude_deg":75.9727296,"latitude_deg":11.0507344,"altitude":70,"angle":227,"satellites":45,"speed":0,"hex_longitude":"2d4884c0","hex_latitude":"06963550","is_valid_coordinates":true} 
[2026-11-04 13:46: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-11-04 13:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207671808001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793779978000,"timestamp_ms":1793779978000,"timestamp_seconds":1793779978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e4f10"} 
[2026-11-04 13:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:46: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-11-04 13: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-11-04 13:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207671808001,"66":28028,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207671808001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:46:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:46:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207671808001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":232579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:46:12] local.INFO: GPS data processed {"connection_id":232579,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:46:12] local.INFO: Acknowledgment sent {"connection_id":232579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:46:44] local.INFO: TCP Data received {"connection_id":232579,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:46:44] local.INFO: Processing buffer {"connection_id":232579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:46:44] local.INFO: Packet analysis {"connection_id":232579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:46:44] local.INFO: Extracted packet for processing {"connection_id":232579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:46:44] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110507344,"longitude_deg":75.9727296,"latitude_deg":11.0507344,"altitude":70,"angle":227,"satellites":45,"speed":0,"hex_longitude":"2d4884c0","hex_latitude":"06963550","is_valid_coordinates":true} 
[2026-11-04 13:46: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-11-04 13:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207671808001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779978000,"timestamp_ms":1793779978000,"timestamp_seconds":1793779978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e4f10"} 
[2026-11-04 13:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:46: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-11-04 13: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-11-04 13:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207671808001,"66":28028,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207671808001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:46:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:46:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207671808001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":232579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:46:44] local.INFO: GPS data processed {"connection_id":232579,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:46:44] local.INFO: Acknowledgment sent {"connection_id":232579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:47:06] local.INFO: TCP Data received {"connection_id":228923,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:47:06] local.INFO: Processing buffer {"connection_id":228923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:47:06] local.INFO: IMEI packet received {"connection_id":228923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":228923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:47:11] local.INFO: TCP Data received {"connection_id":228923,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:47:11] local.INFO: Processing buffer {"connection_id":228923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:47:11] local.INFO: IMEI packet received {"connection_id":228923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":228923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:47:13] local.INFO: TCP Data received {"connection_id":228923,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:47:13] local.INFO: Processing buffer {"connection_id":228923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:47:13] local.INFO: Packet analysis {"connection_id":228923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:47:13] local.INFO: Extracted packet for processing {"connection_id":228923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:47:13] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110507344,"longitude_deg":75.9727296,"latitude_deg":11.0507344,"altitude":70,"angle":227,"satellites":45,"speed":0,"hex_longitude":"2d4884c0","hex_latitude":"06963550","is_valid_coordinates":true} 
[2026-11-04 13:47: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-11-04 13:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207671808001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793779978000,"timestamp_ms":1793779978000,"timestamp_seconds":1793779978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e4f10"} 
[2026-11-04 13:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:47: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-11-04 13: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-11-04 13:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207671808001,"66":28028,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207671808001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:47:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:47:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207671808001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":228923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:47:13] local.INFO: GPS data processed {"connection_id":228923,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:47:13] local.INFO: Acknowledgment sent {"connection_id":228923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:47:44] local.INFO: TCP Data received {"connection_id":228923,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:47:44] local.INFO: Processing buffer {"connection_id":228923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:47:44] local.INFO: Packet analysis {"connection_id":228923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:47:44] local.INFO: Extracted packet for processing {"connection_id":228923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:47:44] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110507344,"longitude_deg":75.9727296,"latitude_deg":11.0507344,"altitude":70,"angle":227,"satellites":45,"speed":0,"hex_longitude":"2d4884c0","hex_latitude":"06963550","is_valid_coordinates":true} 
[2026-11-04 13:47: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-11-04 13:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207671808001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793779978000,"timestamp_ms":1793779978000,"timestamp_seconds":1793779978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e4f10"} 
[2026-11-04 13:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:47: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-11-04 13: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-11-04 13:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207671808001,"66":28028,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207671808001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:47:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:47:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207671808001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":228923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:47:44] local.INFO: GPS data processed {"connection_id":228923,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:47:44] local.INFO: Acknowledgment sent {"connection_id":228923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:48:06] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:48:06] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:48:06] local.INFO: IMEI packet received {"connection_id":229429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":229429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:48:11] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:48:11] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:48:11] local.INFO: IMEI packet received {"connection_id":229429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":229429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:48:13] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:48:13] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a59e4f10012d4884c006963550004600e32d..."} 
[2026-11-04 13:48:13] local.INFO: Packet analysis {"connection_id":229429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:48:13] local.INFO: Extracted packet for processing {"connection_id":229429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a59e"} 
[2026-11-04 13:48:13] local.INFO: GPS Element Parsed {"raw_longitude":759727296,"raw_latitude":110507344,"longitude_deg":75.9727296,"latitude_deg":11.0507344,"altitude":70,"angle":227,"satellites":45,"speed":0,"hex_longitude":"2d4884c0","hex_latitude":"06963550","is_valid_coordinates":true} 
[2026-11-04 13:48: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-11-04 13:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207671808001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225653339667152896,"note":"Value kept but may cause issues"} 
[2026-11-04 13:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793779978000,"timestamp_ms":1793779978000,"timestamp_seconds":1793779978,"priority":1,"record_length":96,"hex_timestamp":"000001a1a59e4f10"} 
[2026-11-04 13:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 13: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":146,"data_length":795,"current_offset":136} 
[2026-11-04 13:48: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-11-04 13: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-11-04 13:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207671808001,"66":28028,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225653339667152896},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207671808001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:48:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:48:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225653339667152896,"description":"Unknown IO ID 45"} 
[2026-11-04 13:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207671808001,"power":28028,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225653339667152896}} 
[2026-11-04 13:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":229429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:48:13] local.INFO: GPS data processed {"connection_id":229429,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:48:13] local.INFO: Acknowledgment sent {"connection_id":229429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:48:44] local.INFO: TCP Data received {"connection_id":232580,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:48:44] local.INFO: Processing buffer {"connection_id":232580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:48:44] local.INFO: IMEI packet received {"connection_id":232580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":232580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:48:45] local.INFO: TCP Data received {"connection_id":229429,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:48:45] local.INFO: Processing buffer {"connection_id":229429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:48:45] local.INFO: Packet analysis {"connection_id":229429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:48:45] local.INFO: Extracted packet for processing {"connection_id":229429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:48:45] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:48: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-11-04 13:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:48:45] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:48:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":229429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:48:45] local.INFO: GPS data processed {"connection_id":229429,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:48:45] local.INFO: Acknowledgment sent {"connection_id":229429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:49:06] local.INFO: TCP Data received {"connection_id":230738,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:49:06] local.INFO: Processing buffer {"connection_id":230738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:49:06] local.INFO: IMEI packet received {"connection_id":230738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":230738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:49:08] local.INFO: TCP Data received {"connection_id":230739,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:49:08] local.INFO: Processing buffer {"connection_id":230739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:49:08] local.INFO: IMEI packet received {"connection_id":230739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":230739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:49:11] local.INFO: TCP Data received {"connection_id":230738,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:49:11] local.INFO: Processing buffer {"connection_id":230738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:49:11] local.INFO: IMEI packet received {"connection_id":230738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":230738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:49:12] local.INFO: TCP Data received {"connection_id":230738,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:49:12] local.INFO: Processing buffer {"connection_id":230738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:49:12] local.INFO: Packet analysis {"connection_id":230738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:49:12] local.INFO: Extracted packet for processing {"connection_id":230738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:49:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:49: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-11-04 13: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-11-04 13:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:49:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:49:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":230738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:49:13] local.INFO: GPS data processed {"connection_id":230738,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:49:13] local.INFO: Acknowledgment sent {"connection_id":230738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:49:44] local.INFO: TCP Data received {"connection_id":230738,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:49:44] local.INFO: Processing buffer {"connection_id":230738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:49:44] local.INFO: Packet analysis {"connection_id":230738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:49:44] local.INFO: Extracted packet for processing {"connection_id":230738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:49:44] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 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-11-04 13:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:49: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-11-04 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-11-04 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-11-04 13:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:49:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:49:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":230738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:49:44] local.INFO: GPS data processed {"connection_id":230738,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:49:44] local.INFO: Acknowledgment sent {"connection_id":230738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:50:06] local.INFO: TCP Data received {"connection_id":230740,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:50:06] local.INFO: Processing buffer {"connection_id":230740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:50:06] local.INFO: IMEI packet received {"connection_id":230740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":230740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:50:11] local.INFO: TCP Data received {"connection_id":230740,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:50:11] local.INFO: Processing buffer {"connection_id":230740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:50:11] local.INFO: IMEI packet received {"connection_id":230740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":230740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:50:12] local.INFO: TCP Data received {"connection_id":230740,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:50:12] local.INFO: Processing buffer {"connection_id":230740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:50:12] local.INFO: Packet analysis {"connection_id":230740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:50:12] local.INFO: Extracted packet for processing {"connection_id":230740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:50:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:50: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-11-04 13: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-11-04 13:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:50:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:50:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":230740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:50:12] local.INFO: GPS data processed {"connection_id":230740,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:50:12] local.INFO: Acknowledgment sent {"connection_id":230740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:50:43] local.INFO: TCP Data received {"connection_id":230740,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:50:43] local.INFO: Processing buffer {"connection_id":230740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:50:43] local.INFO: Packet analysis {"connection_id":230740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:50:43] local.INFO: Extracted packet for processing {"connection_id":230740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:50:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:50:43] 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-11-04 13:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:50:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:50:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":230740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:50:43] local.INFO: GPS data processed {"connection_id":230740,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:50:43] local.INFO: Acknowledgment sent {"connection_id":230740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:51:06] local.INFO: TCP Data received {"connection_id":232581,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:51:06] local.INFO: Processing buffer {"connection_id":232581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:51:06] local.INFO: IMEI packet received {"connection_id":232581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":232581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:51:11] local.INFO: TCP Data received {"connection_id":232581,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:51:11] local.INFO: Processing buffer {"connection_id":232581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:51:11] local.INFO: IMEI packet received {"connection_id":232581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":232581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:51:12] local.INFO: TCP Data received {"connection_id":232581,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:51:12] local.INFO: Processing buffer {"connection_id":232581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:51:12] local.INFO: Packet analysis {"connection_id":232581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:51:12] local.INFO: Extracted packet for processing {"connection_id":232581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:51:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:51: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-11-04 13: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-11-04 13:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:51:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:51:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":232581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:51:12] local.INFO: GPS data processed {"connection_id":232581,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:51:12] local.INFO: Acknowledgment sent {"connection_id":232581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:51:43] local.INFO: TCP Data received {"connection_id":232581,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:51:43] local.INFO: Processing buffer {"connection_id":232581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:51:43] local.INFO: Packet analysis {"connection_id":232581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:51:43] local.INFO: Extracted packet for processing {"connection_id":232581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:51:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:51:43] 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-11-04 13: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-11-04 13:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:51:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:51:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":232581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:51:43] local.INFO: GPS data processed {"connection_id":232581,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:51:43] local.INFO: Acknowledgment sent {"connection_id":232581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:52:11] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:52:11] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:52:11] local.INFO: IMEI packet received {"connection_id":229431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":229431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:52:16] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:52:16] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:52:16] local.INFO: IMEI packet received {"connection_id":229431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":229431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:52:17] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:52:17] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:52:17] local.INFO: Packet analysis {"connection_id":229431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:52:17] local.INFO: Extracted packet for processing {"connection_id":229431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:52:17] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:52: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-11-04 13: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-11-04 13:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:52:17] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:52:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":229431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:52:17] local.INFO: GPS data processed {"connection_id":229431,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:52:17] local.INFO: Acknowledgment sent {"connection_id":229431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:52:49] local.INFO: TCP Data received {"connection_id":229431,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:52:49] local.INFO: Processing buffer {"connection_id":229431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:52:49] local.INFO: Packet analysis {"connection_id":229431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:52:49] local.INFO: Extracted packet for processing {"connection_id":229431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:52:49] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:52: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-11-04 13:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:52:49] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:52:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":229431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:52:49] local.INFO: GPS data processed {"connection_id":229431,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:52:49] local.INFO: Acknowledgment sent {"connection_id":229431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:53:06] local.INFO: TCP Data received {"connection_id":228926,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:53:06] local.INFO: Processing buffer {"connection_id":228926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:53:06] local.INFO: IMEI packet received {"connection_id":228926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":228926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:53:11] local.INFO: TCP Data received {"connection_id":228926,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:53:11] local.INFO: Processing buffer {"connection_id":228926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:53:11] local.INFO: IMEI packet received {"connection_id":228926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":228926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:53:13] local.INFO: TCP Data received {"connection_id":228926,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:53:13] local.INFO: Processing buffer {"connection_id":228926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a2fa60012d48834006962df0004600e32b..."} 
[2026-11-04 13:53:13] local.INFO: Packet analysis {"connection_id":228926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:53:13] local.INFO: Extracted packet for processing {"connection_id":228926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a2"} 
[2026-11-04 13:53:13] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207674368001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225512602179031040,"note":"Value kept but may cause issues"} 
[2026-11-04 13:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793780284000,"timestamp_ms":1793780284000,"timestamp_seconds":1793780284,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a2fa60"} 
[2026-11-04 13:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 13:53: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-11-04 13: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-11-04 13:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":228926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":228926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":228926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207674368001,"66":26115,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225512602179031040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207674368001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:53:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:53:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225512602179031040,"description":"Unknown IO ID 45"} 
[2026-11-04 13:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207674368001,"power":26115,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225512602179031040}} 
[2026-11-04 13:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":228926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:53:13] local.INFO: GPS data processed {"connection_id":228926,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:53:13] local.INFO: Acknowledgment sent {"connection_id":228926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:53:44] local.INFO: TCP Data received {"connection_id":228926,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:53:44] local.INFO: Processing buffer {"connection_id":228926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:53:44] local.INFO: Packet analysis {"connection_id":228926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:53:44] local.INFO: Extracted packet for processing {"connection_id":228926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:53:44] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:53:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:53:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":228926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:53:44] local.INFO: GPS data processed {"connection_id":228926,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:53:44] local.INFO: Acknowledgment sent {"connection_id":228926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:54:06] local.INFO: TCP Data received {"connection_id":232582,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:54:06] local.INFO: Processing buffer {"connection_id":232582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:54:06] local.INFO: IMEI packet received {"connection_id":232582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":232582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:54:11] local.INFO: TCP Data received {"connection_id":232582,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:54:11] local.INFO: Processing buffer {"connection_id":232582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:54:11] local.INFO: IMEI packet received {"connection_id":232582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":232582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:54:13] local.INFO: TCP Data received {"connection_id":232582,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:54:13] local.INFO: Processing buffer {"connection_id":232582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:54:13] local.INFO: Packet analysis {"connection_id":232582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:54:13] local.INFO: Extracted packet for processing {"connection_id":232582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:54:13] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:54:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:54:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":232582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:54:13] local.INFO: GPS data processed {"connection_id":232582,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:54:13] local.INFO: Acknowledgment sent {"connection_id":232582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:54:38] local.INFO: TCP Data received {"connection_id":228927,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:54:38] local.INFO: Processing buffer {"connection_id":228927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:54:38] local.INFO: IMEI packet received {"connection_id":228927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":228927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:54:45] local.INFO: TCP Data received {"connection_id":232582,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:54:45] local.INFO: Processing buffer {"connection_id":232582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:54:45] local.INFO: Packet analysis {"connection_id":232582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:54:45] local.INFO: Extracted packet for processing {"connection_id":232582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:54:45] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:54:45] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:54:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":232582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:54:45] local.INFO: GPS data processed {"connection_id":232582,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:54:45] local.INFO: Acknowledgment sent {"connection_id":232582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:55:06] local.INFO: TCP Data received {"connection_id":228928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:55:06] local.INFO: Processing buffer {"connection_id":228928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:55:06] local.INFO: IMEI packet received {"connection_id":228928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":228928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:55:11] local.INFO: TCP Data received {"connection_id":228928,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:55:11] local.INFO: Processing buffer {"connection_id":228928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:55:11] local.INFO: IMEI packet received {"connection_id":228928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":228928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:55:13] local.INFO: TCP Data received {"connection_id":232583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:55:13] local.INFO: Processing buffer {"connection_id":232583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 13:55:13] local.INFO: IMEI packet received {"connection_id":232583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 13:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":232583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:55:14] local.INFO: TCP Data received {"connection_id":228928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:55:14] local.INFO: Processing buffer {"connection_id":228928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:55:14] local.INFO: Packet analysis {"connection_id":228928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:55:14] local.INFO: Extracted packet for processing {"connection_id":228928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:55:14] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":228928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":228928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":228928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:55:14] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:55:14] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":228928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:55:14] local.INFO: GPS data processed {"connection_id":228928,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:55:14] local.INFO: Acknowledgment sent {"connection_id":228928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:55:45] local.INFO: TCP Data received {"connection_id":228928,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:55:45] local.INFO: Processing buffer {"connection_id":228928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:55:45] local.INFO: Packet analysis {"connection_id":228928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:55:45] local.INFO: Extracted packet for processing {"connection_id":228928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:55:45] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:55:45] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:55:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":228928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:55:45] local.INFO: GPS data processed {"connection_id":228928,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:55:45] local.INFO: Acknowledgment sent {"connection_id":228928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:56:11] local.INFO: TCP Data received {"connection_id":232584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:56:11] local.INFO: Processing buffer {"connection_id":232584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:56:11] local.INFO: IMEI packet received {"connection_id":232584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":232584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:56:16] local.INFO: TCP Data received {"connection_id":232584,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:56:16] local.INFO: Processing buffer {"connection_id":232584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:56:16] local.INFO: IMEI packet received {"connection_id":232584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":232584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:56:18] local.INFO: TCP Data received {"connection_id":232584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:56:18] local.INFO: Processing buffer {"connection_id":232584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:56:18] local.INFO: Packet analysis {"connection_id":232584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:56:18] local.INFO: Extracted packet for processing {"connection_id":232584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:56:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:56:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":232584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:56:18] local.INFO: GPS data processed {"connection_id":232584,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:56:18] local.INFO: Acknowledgment sent {"connection_id":232584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:56:22] local.INFO: TCP Data received {"connection_id":232584,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:56:22] local.INFO: Processing buffer {"connection_id":232584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:56:22] local.INFO: Packet analysis {"connection_id":232584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:56:22] local.INFO: Extracted packet for processing {"connection_id":232584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:56:22] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:56:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":232584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:56:22] local.INFO: GPS data processed {"connection_id":232584,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:56:22] local.INFO: Acknowledgment sent {"connection_id":232584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:57:06] local.INFO: TCP Data received {"connection_id":229432,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:57:06] local.INFO: Processing buffer {"connection_id":229432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:57:06] local.INFO: IMEI packet received {"connection_id":229432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":229432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:57:11] local.INFO: TCP Data received {"connection_id":229432,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:57:11] local.INFO: Processing buffer {"connection_id":229432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:57:11] local.INFO: IMEI packet received {"connection_id":229432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":229432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:57:13] local.INFO: TCP Data received {"connection_id":229432,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:57:13] local.INFO: Processing buffer {"connection_id":229432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:57:13] local.INFO: Packet analysis {"connection_id":229432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:57:13] local.INFO: Extracted packet for processing {"connection_id":229432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:57:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:57:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":229432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:57:13] local.INFO: GPS data processed {"connection_id":229432,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:57:13] local.INFO: Acknowledgment sent {"connection_id":229432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:57:45] local.INFO: TCP Data received {"connection_id":229432,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:57:45] local.INFO: Processing buffer {"connection_id":229432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:57:45] local.INFO: Packet analysis {"connection_id":229432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:57:45] local.INFO: Extracted packet for processing {"connection_id":229432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:57:45] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:57:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":229432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:57:45] local.INFO: GPS data processed {"connection_id":229432,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:57:45] local.INFO: Acknowledgment sent {"connection_id":229432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:58:06] local.INFO: TCP Data received {"connection_id":230743,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:58:06] local.INFO: Processing buffer {"connection_id":230743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:58:06] local.INFO: IMEI packet received {"connection_id":230743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":230743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:58:11] local.INFO: TCP Data received {"connection_id":230743,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:58:11] local.INFO: Processing buffer {"connection_id":230743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:58:11] local.INFO: IMEI packet received {"connection_id":230743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":230743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:58:12] local.INFO: TCP Data received {"connection_id":230743,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:58:12] local.INFO: Processing buffer {"connection_id":230743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:58:12] local.INFO: Packet analysis {"connection_id":230743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:58:12] local.INFO: Extracted packet for processing {"connection_id":230743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:58:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 13:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 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-11-04 13:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 13:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":230743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:58:12] local.INFO: GPS data processed {"connection_id":230743,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:58:12] local.INFO: Acknowledgment sent {"connection_id":230743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:58:44] local.INFO: TCP Data received {"connection_id":230743,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:58:44] local.INFO: Processing buffer {"connection_id":230743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5a79228012d48834006962df0004600e32b..."} 
[2026-11-04 13:58:44] local.INFO: Packet analysis {"connection_id":230743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:58:44] local.INFO: Extracted packet for processing {"connection_id":230743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5a7"} 
[2026-11-04 13:58:44] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":70,"angle":227,"satellites":43,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207752704001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793780585000,"timestamp_ms":1793780585000,"timestamp_seconds":1793780585,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5a79228"} 
[2026-11-04 13:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 13:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207752704001,"66":25875,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207752704001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:58:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:58:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207752704001,"power":25875,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":230743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:58:44] local.INFO: GPS data processed {"connection_id":230743,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:58:44] local.INFO: Acknowledgment sent {"connection_id":230743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:59:06] local.INFO: TCP Data received {"connection_id":229433,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:59:06] local.INFO: Processing buffer {"connection_id":229433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:59:06] local.INFO: IMEI packet received {"connection_id":229433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 13:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":229433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 13:59:11] local.INFO: TCP Data received {"connection_id":229433,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:59:11] local.INFO: Processing buffer {"connection_id":229433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 13:59:11] local.INFO: IMEI packet received {"connection_id":229433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 13:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":229433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 13:59:12] local.INFO: TCP Data received {"connection_id":229433,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 13:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 13:59:12] local.INFO: Processing buffer {"connection_id":229433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 13:59:12] local.INFO: Packet analysis {"connection_id":229433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 13:59:12] local.INFO: Extracted packet for processing {"connection_id":229433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 13:59:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13: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-11-04 13:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 13:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 13:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13: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-11-04 13:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:59:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:59:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":229433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:59:12] local.INFO: GPS data processed {"connection_id":229433,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:59:12] local.INFO: Acknowledgment sent {"connection_id":229433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 13:59:43] local.INFO: TCP Data received {"connection_id":229433,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 13:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 13:59:43] local.INFO: Processing buffer {"connection_id":229433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 13:59:43] local.INFO: Packet analysis {"connection_id":229433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 13:59:43] local.INFO: Extracted packet for processing {"connection_id":229433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 13:59:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 13:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 13:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 13:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 13:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 13:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 13:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 13:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 13:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 13:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 13:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 13:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 13:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 13:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 13:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 13:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 13:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 13:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 13:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 13:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 13:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 13:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 13:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 13:59:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 13:59:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 13:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 13:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 13:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 13:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":229433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 13:59:43] local.INFO: GPS data processed {"connection_id":229433,"processed":1,"errors":0,"total":1} 
[2026-11-04 13:59:43] local.INFO: Acknowledgment sent {"connection_id":229433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:00:11] local.INFO: TCP Data received {"connection_id":228929,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:00:11] local.INFO: Processing buffer {"connection_id":228929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:00:11] local.INFO: IMEI packet received {"connection_id":228929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":228929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:00:16] local.INFO: TCP Data received {"connection_id":228929,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:00:16] local.INFO: Processing buffer {"connection_id":228929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:00:16] local.INFO: IMEI packet received {"connection_id":228929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":228929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:00:17] local.INFO: TCP Data received {"connection_id":228929,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:00:17] local.INFO: Processing buffer {"connection_id":228929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:00:17] local.INFO: Packet analysis {"connection_id":228929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:00:17] local.INFO: Extracted packet for processing {"connection_id":228929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:00:17] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:00:17] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:00:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":228929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:00:17] local.INFO: GPS data processed {"connection_id":228929,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:00:17] local.INFO: Acknowledgment sent {"connection_id":228929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:00:21] local.INFO: TCP Data received {"connection_id":228929,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:00:21] local.INFO: Processing buffer {"connection_id":228929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:00:21] local.INFO: Packet analysis {"connection_id":228929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:00:21] local.INFO: Extracted packet for processing {"connection_id":228929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":228929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":228929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":228929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:00:21] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:00:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":228929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:00:21] local.INFO: GPS data processed {"connection_id":228929,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:00:21] local.INFO: Acknowledgment sent {"connection_id":228929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:00:40] local.INFO: TCP Data received {"connection_id":228930,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:00:40] local.INFO: Processing buffer {"connection_id":228930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:00:40] local.INFO: IMEI packet received {"connection_id":228930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":228930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:01:06] local.INFO: TCP Data received {"connection_id":230746,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:01:06] local.INFO: Processing buffer {"connection_id":230746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:01:06] local.INFO: IMEI packet received {"connection_id":230746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":230746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:01:11] local.INFO: TCP Data received {"connection_id":230746,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:01:11] local.INFO: Processing buffer {"connection_id":230746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:01:11] local.INFO: IMEI packet received {"connection_id":230746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":230746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:01:12] local.INFO: TCP Data received {"connection_id":229434,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:01:12] local.INFO: Processing buffer {"connection_id":229434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:01:12] local.INFO: IMEI packet received {"connection_id":229434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":229434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:01:12] local.INFO: TCP Data received {"connection_id":230746,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:01:12] local.INFO: Processing buffer {"connection_id":230746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:01:12] local.INFO: Packet analysis {"connection_id":230746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:01:12] local.INFO: Extracted packet for processing {"connection_id":230746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:01:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:01:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:01:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":230746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:01:12] local.INFO: GPS data processed {"connection_id":230746,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:01:12] local.INFO: Acknowledgment sent {"connection_id":230746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:01:44] local.INFO: TCP Data received {"connection_id":230746,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:01:44] local.INFO: Processing buffer {"connection_id":230746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:01:44] local.INFO: Packet analysis {"connection_id":230746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:01:44] local.INFO: Extracted packet for processing {"connection_id":230746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:01:44] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:01:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:01:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":230746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:01:44] local.INFO: GPS data processed {"connection_id":230746,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:01:44] local.INFO: Acknowledgment sent {"connection_id":230746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:02:06] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:02:06] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:02:06] local.INFO: IMEI packet received {"connection_id":229435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":229435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:02:11] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:02:11] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:02:11] local.INFO: IMEI packet received {"connection_id":229435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":229435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:02:12] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:02:12] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:02:12] local.INFO: Packet analysis {"connection_id":229435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:02:12] local.INFO: Extracted packet for processing {"connection_id":229435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:02:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:02:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:02:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":229435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:02:12] local.INFO: GPS data processed {"connection_id":229435,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:02:12] local.INFO: Acknowledgment sent {"connection_id":229435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:02:44] local.INFO: TCP Data received {"connection_id":229435,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:02:44] local.INFO: Processing buffer {"connection_id":229435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:02:44] local.INFO: Packet analysis {"connection_id":229435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:02:44] local.INFO: Extracted packet for processing {"connection_id":229435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:02:44] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:02:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:02:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":229435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:02:44] local.INFO: GPS data processed {"connection_id":229435,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:02:44] local.INFO: Acknowledgment sent {"connection_id":229435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:03:06] local.INFO: TCP Data received {"connection_id":228931,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:03:06] local.INFO: Processing buffer {"connection_id":228931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:03:06] local.INFO: IMEI packet received {"connection_id":228931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":228931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:03:11] local.INFO: TCP Data received {"connection_id":228931,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:03:11] local.INFO: Processing buffer {"connection_id":228931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:03:11] local.INFO: IMEI packet received {"connection_id":228931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":228931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:03:12] local.INFO: TCP Data received {"connection_id":228931,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:03:12] local.INFO: Processing buffer {"connection_id":228931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:03:12] local.INFO: Packet analysis {"connection_id":228931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:03:12] local.INFO: Extracted packet for processing {"connection_id":228931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:03:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:03:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":228931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:03:12] local.INFO: GPS data processed {"connection_id":228931,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:03:12] local.INFO: Acknowledgment sent {"connection_id":228931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:03:43] local.INFO: TCP Data received {"connection_id":228931,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:03:43] local.INFO: Processing buffer {"connection_id":228931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ac29f0012d48834006962df0004d00e32a..."} 
[2026-11-04 14:03:43] local.INFO: Packet analysis {"connection_id":228931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:03:43] local.INFO: Extracted packet for processing {"connection_id":228931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ac"} 
[2026-11-04 14:03:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207829760001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793780886000,"timestamp_ms":1793780886000,"timestamp_seconds":1793780886,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ac29f0"} 
[2026-11-04 14:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-11-04 14:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207829760001,"66":25756,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207829760001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:03:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:03:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207829760001,"power":25756,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":228931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:03:43] local.INFO: GPS data processed {"connection_id":228931,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:03:43] local.INFO: Acknowledgment sent {"connection_id":228931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:04:11] local.INFO: TCP Data received {"connection_id":232587,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:04:11] local.INFO: Processing buffer {"connection_id":232587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:04:11] local.INFO: IMEI packet received {"connection_id":232587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":232587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:04:16] local.INFO: TCP Data received {"connection_id":232587,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:04:16] local.INFO: Processing buffer {"connection_id":232587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:04:16] local.INFO: IMEI packet received {"connection_id":232587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":232587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:04:18] local.INFO: TCP Data received {"connection_id":232587,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:04:18] local.INFO: Processing buffer {"connection_id":232587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:04:18] local.INFO: Packet analysis {"connection_id":232587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:04:18] local.INFO: Extracted packet for processing {"connection_id":232587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:04:18] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:04:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:04:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":232587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:04:18] local.INFO: GPS data processed {"connection_id":232587,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:04:18] local.INFO: Acknowledgment sent {"connection_id":232587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:04:22] local.INFO: TCP Data received {"connection_id":232587,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:04:22] local.INFO: Processing buffer {"connection_id":232587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:04:22] local.INFO: Packet analysis {"connection_id":232587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:04:22] local.INFO: Extracted packet for processing {"connection_id":232587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:04: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-11-04 14:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:04:22] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:04:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":232587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:04:22] local.INFO: GPS data processed {"connection_id":232587,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:04:22] local.INFO: Acknowledgment sent {"connection_id":232587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:05:06] local.INFO: TCP Data received {"connection_id":228932,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:05:06] local.INFO: Processing buffer {"connection_id":228932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:05:06] local.INFO: IMEI packet received {"connection_id":228932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":228932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:05:11] local.INFO: TCP Data received {"connection_id":228932,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:05:11] local.INFO: Processing buffer {"connection_id":228932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:05:11] local.INFO: IMEI packet received {"connection_id":228932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":228932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:05:12] local.INFO: TCP Data received {"connection_id":228932,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:05:12] local.INFO: Processing buffer {"connection_id":228932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:05:12] local.INFO: Packet analysis {"connection_id":228932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:05:12] local.INFO: Extracted packet for processing {"connection_id":228932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:05:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:05: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-11-04 14:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:05:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:05:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":228932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:05:12] local.INFO: GPS data processed {"connection_id":228932,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:05:12] local.INFO: Acknowledgment sent {"connection_id":228932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:05:43] local.INFO: TCP Data received {"connection_id":228932,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:05:43] local.INFO: Processing buffer {"connection_id":228932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:05:43] local.INFO: Packet analysis {"connection_id":228932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:05:43] local.INFO: Extracted packet for processing {"connection_id":228932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:05:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:05:43] 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-11-04 14: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-11-04 14:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:05:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:05:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":228932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:05:43] local.INFO: GPS data processed {"connection_id":228932,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:05:43] local.INFO: Acknowledgment sent {"connection_id":228932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:06:06] local.INFO: TCP Data received {"connection_id":229438,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:06:06] local.INFO: Processing buffer {"connection_id":229438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:06:06] local.INFO: IMEI packet received {"connection_id":229438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":229438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:06:11] local.INFO: TCP Data received {"connection_id":229438,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:06:11] local.INFO: Processing buffer {"connection_id":229438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:06:11] local.INFO: IMEI packet received {"connection_id":229438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":229438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:06:12] local.INFO: TCP Data received {"connection_id":229438,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:06:12] local.INFO: Processing buffer {"connection_id":229438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:06:12] local.INFO: Packet analysis {"connection_id":229438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:06:12] local.INFO: Extracted packet for processing {"connection_id":229438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:06:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:06: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-11-04 14: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-11-04 14:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:06:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:06:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":229438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:06:12] local.INFO: GPS data processed {"connection_id":229438,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:06:12] local.INFO: Acknowledgment sent {"connection_id":229438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:06:39] local.INFO: TCP Data received {"connection_id":228934,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:06:39] local.INFO: Processing buffer {"connection_id":228934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:06:39] local.INFO: IMEI packet received {"connection_id":228934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":228934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:06:44] local.INFO: TCP Data received {"connection_id":229438,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:06:44] local.INFO: Processing buffer {"connection_id":229438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:06:44] local.INFO: Packet analysis {"connection_id":229438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:06:44] local.INFO: Extracted packet for processing {"connection_id":229438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:06:44] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:06:44] 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-11-04 14: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-11-04 14:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:06:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:06:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":229438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:06:44] local.INFO: GPS data processed {"connection_id":229438,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:06:44] local.INFO: Acknowledgment sent {"connection_id":229438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:07:06] local.INFO: TCP Data received {"connection_id":232588,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:07:06] local.INFO: Processing buffer {"connection_id":232588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:07:06] local.INFO: IMEI packet received {"connection_id":232588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":232588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:07:11] local.INFO: TCP Data received {"connection_id":232588,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:07:11] local.INFO: Processing buffer {"connection_id":232588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:07:11] local.INFO: IMEI packet received {"connection_id":232588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":232588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:07:12] local.INFO: TCP Data received {"connection_id":232588,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:07:12] local.INFO: Processing buffer {"connection_id":232588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:07:12] local.INFO: Packet analysis {"connection_id":232588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:07:12] local.INFO: Extracted packet for processing {"connection_id":232588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:07:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14: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-11-04 14: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-11-04 14:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:07:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:07:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":232588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:07:12] local.INFO: GPS data processed {"connection_id":232588,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:07:12] local.INFO: Acknowledgment sent {"connection_id":232588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:07:14] local.INFO: TCP Data received {"connection_id":228935,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:07:14] local.INFO: Processing buffer {"connection_id":228935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:07:14] local.INFO: IMEI packet received {"connection_id":228935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":228935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:07:43] local.INFO: TCP Data received {"connection_id":232588,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:07:43] local.INFO: Processing buffer {"connection_id":232588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:07:43] local.INFO: Packet analysis {"connection_id":232588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:07:43] local.INFO: Extracted packet for processing {"connection_id":232588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:07:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:07:43] 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-11-04 14: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-11-04 14:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:07:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:07:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":232588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:07:44] local.INFO: GPS data processed {"connection_id":232588,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:07:44] local.INFO: Acknowledgment sent {"connection_id":232588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:08:06] local.INFO: TCP Data received {"connection_id":229439,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:08:06] local.INFO: Processing buffer {"connection_id":229439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:08:06] local.INFO: IMEI packet received {"connection_id":229439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":229439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:08:11] local.INFO: TCP Data received {"connection_id":229439,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:08:11] local.INFO: Processing buffer {"connection_id":229439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:08:11] local.INFO: IMEI packet received {"connection_id":229439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":229439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:08:13] local.INFO: TCP Data received {"connection_id":229439,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:08:13] local.INFO: Processing buffer {"connection_id":229439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:08:13] local.INFO: Packet analysis {"connection_id":229439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:08:13] local.INFO: Extracted packet for processing {"connection_id":229439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:08:13] 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-11-04 14:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:08:13] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:08:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":229439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:08:13] local.INFO: GPS data processed {"connection_id":229439,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:08:13] local.INFO: Acknowledgment sent {"connection_id":229439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:08:45] local.INFO: TCP Data received {"connection_id":229439,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:08:45] local.INFO: Processing buffer {"connection_id":229439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b0c1b8012d48834006962df0004d00e32c..."} 
[2026-11-04 14:08:45] local.INFO: Packet analysis {"connection_id":229439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:08:45] local.INFO: Extracted packet for processing {"connection_id":229439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b0"} 
[2026-11-04 14:08:45] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207906816001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793781187000,"timestamp_ms":1793781187000,"timestamp_seconds":1793781187,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b0c1b8"} 
[2026-11-04 14:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-11-04 14:08: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-11-04 14: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-11-04 14:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207906816001,"66":25702,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207906816001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:08:45] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:08:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207906816001,"power":25702,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":229439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:08:45] local.INFO: GPS data processed {"connection_id":229439,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:08:45] local.INFO: Acknowledgment sent {"connection_id":229439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:09:11] local.INFO: TCP Data received {"connection_id":228937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:09:11] local.INFO: Processing buffer {"connection_id":228937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:09:11] local.INFO: IMEI packet received {"connection_id":228937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":228937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:09:16] local.INFO: TCP Data received {"connection_id":228937,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:09:16] local.INFO: Processing buffer {"connection_id":228937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:09:16] local.INFO: IMEI packet received {"connection_id":228937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":228937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:09:18] local.INFO: TCP Data received {"connection_id":228937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:09:18] local.INFO: Processing buffer {"connection_id":228937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:09:18] local.INFO: Packet analysis {"connection_id":228937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:09:18] local.INFO: Extracted packet for processing {"connection_id":228937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:09:18] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:09:18] 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-11-04 14:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":228937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":228937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":228937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:09:18] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:09:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":228937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:09:18] local.INFO: GPS data processed {"connection_id":228937,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:09:18] local.INFO: Acknowledgment sent {"connection_id":228937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:09:22] local.INFO: TCP Data received {"connection_id":228937,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:09:22] local.INFO: Processing buffer {"connection_id":228937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:09:22] local.INFO: Packet analysis {"connection_id":228937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:09:22] local.INFO: Extracted packet for processing {"connection_id":228937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:09:22] 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-11-04 14:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:09:22] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:09:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":228937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:09:22] local.INFO: GPS data processed {"connection_id":228937,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:09:22] local.INFO: Acknowledgment sent {"connection_id":228937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:10:06] local.INFO: TCP Data received {"connection_id":232590,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:10:06] local.INFO: Processing buffer {"connection_id":232590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:10:06] local.INFO: IMEI packet received {"connection_id":232590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":232590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:10:11] local.INFO: TCP Data received {"connection_id":232590,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:10:11] local.INFO: Processing buffer {"connection_id":232590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:10:11] local.INFO: IMEI packet received {"connection_id":232590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":232590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:10:12] local.INFO: TCP Data received {"connection_id":232590,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:10:12] local.INFO: Processing buffer {"connection_id":232590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:10:12] local.INFO: Packet analysis {"connection_id":232590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:10:12] local.INFO: Extracted packet for processing {"connection_id":232590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14: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-11-04 14:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:10:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:10:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":232590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:10:12] local.INFO: GPS data processed {"connection_id":232590,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:10:12] local.INFO: Acknowledgment sent {"connection_id":232590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:10:44] local.INFO: TCP Data received {"connection_id":232590,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:10:44] local.INFO: Processing buffer {"connection_id":232590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:10:44] local.INFO: Packet analysis {"connection_id":232590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:10:44] local.INFO: Extracted packet for processing {"connection_id":232590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:10:44] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14: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-11-04 14: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-11-04 14:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:10:44] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:10:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":232590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:10:44] local.INFO: GPS data processed {"connection_id":232590,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:10:44] local.INFO: Acknowledgment sent {"connection_id":232590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:11:06] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:11:06] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:11:06] local.INFO: IMEI packet received {"connection_id":229440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":229440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:11:11] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:11:11] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:11:11] local.INFO: IMEI packet received {"connection_id":229440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:11:12] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:11:12] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:11:12] local.INFO: Packet analysis {"connection_id":229440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:11:12] local.INFO: Extracted packet for processing {"connection_id":229440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:11:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14: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-11-04 14: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-11-04 14:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:11:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:11:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:11:12] local.INFO: GPS data processed {"connection_id":229440,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:11:12] local.INFO: Acknowledgment sent {"connection_id":229440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:11:43] local.INFO: TCP Data received {"connection_id":229440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:11:43] local.INFO: Processing buffer {"connection_id":229440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:11:43] local.INFO: Packet analysis {"connection_id":229440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:11:43] local.INFO: Extracted packet for processing {"connection_id":229440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:11: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-11-04 14:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:11:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:11:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":229440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:11:43] local.INFO: GPS data processed {"connection_id":229440,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:11:43] local.INFO: Acknowledgment sent {"connection_id":229440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:12:06] local.INFO: TCP Data received {"connection_id":228939,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:12:06] local.INFO: Processing buffer {"connection_id":228939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:12:06] local.INFO: IMEI packet received {"connection_id":228939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":228939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:12:11] local.INFO: TCP Data received {"connection_id":228939,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:12:11] local.INFO: Processing buffer {"connection_id":228939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:12:11] local.INFO: IMEI packet received {"connection_id":228939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":228939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:12:12] local.INFO: TCP Data received {"connection_id":228939,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:12:12] local.INFO: Processing buffer {"connection_id":228939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:12:12] local.INFO: Packet analysis {"connection_id":228939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:12:12] local.INFO: Extracted packet for processing {"connection_id":228939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:12:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:12: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-11-04 14: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-11-04 14:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:12:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:12:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":228939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:12:12] local.INFO: GPS data processed {"connection_id":228939,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:12:12] local.INFO: Acknowledgment sent {"connection_id":228939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:12:39] local.INFO: TCP Data received {"connection_id":229441,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:12:39] local.INFO: Processing buffer {"connection_id":229441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:12:39] local.INFO: IMEI packet received {"connection_id":229441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":229441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:12:43] local.INFO: TCP Data received {"connection_id":228939,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:12:43] local.INFO: Processing buffer {"connection_id":228939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:12:43] local.INFO: Packet analysis {"connection_id":228939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:12:43] local.INFO: Extracted packet for processing {"connection_id":228939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:12:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:12: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-11-04 14:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:12:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:12:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":228939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:12:43] local.INFO: GPS data processed {"connection_id":228939,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:12:43] local.INFO: Acknowledgment sent {"connection_id":228939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:13:06] local.INFO: TCP Data received {"connection_id":230748,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:13:06] local.INFO: Processing buffer {"connection_id":230748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:13:06] local.INFO: IMEI packet received {"connection_id":230748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":230748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:13:11] local.INFO: TCP Data received {"connection_id":230748,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:13:11] local.INFO: Processing buffer {"connection_id":230748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:13:11] local.INFO: IMEI packet received {"connection_id":230748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":230748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:13:12] local.INFO: TCP Data received {"connection_id":230748,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:13:12] local.INFO: Processing buffer {"connection_id":230748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:13:12] local.INFO: Packet analysis {"connection_id":230748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:13:12] local.INFO: Extracted packet for processing {"connection_id":230748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:13:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:13: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-11-04 14:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:13:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:13:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":230748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:13:12] local.INFO: GPS data processed {"connection_id":230748,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:13:12] local.INFO: Acknowledgment sent {"connection_id":230748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:13:14] local.INFO: TCP Data received {"connection_id":232591,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:13:14] local.INFO: Processing buffer {"connection_id":232591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:13:14] local.INFO: IMEI packet received {"connection_id":232591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":232591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:13:43] local.INFO: TCP Data received {"connection_id":230748,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:13:43] local.INFO: Processing buffer {"connection_id":230748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b55980012d48834006962df0004d00e32f..."} 
[2026-11-04 14:13:43] local.INFO: Packet analysis {"connection_id":230748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:13:43] local.INFO: Extracted packet for processing {"connection_id":230748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b5"} 
[2026-11-04 14:13:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":77,"angle":227,"satellites":47,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459207983872001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793781488000,"timestamp_ms":1793781488000,"timestamp_seconds":1793781488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b55980"} 
[2026-11-04 14:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:13: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-11-04 14: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-11-04 14:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459207983872001,"66":25691,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459207983872001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:13:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:13:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459207983872001,"power":25691,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":230748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:13:43] local.INFO: GPS data processed {"connection_id":230748,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:13:43] local.INFO: Acknowledgment sent {"connection_id":230748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:14:06] local.INFO: TCP Data received {"connection_id":228940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:06] local.INFO: Processing buffer {"connection_id":228940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:06] local.INFO: IMEI packet received {"connection_id":228940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":228940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:14:07] local.INFO: TCP Data received {"connection_id":228940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:07] local.INFO: Processing buffer {"connection_id":228940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:07] local.INFO: IMEI packet received {"connection_id":228940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":228940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:14:11] local.INFO: TCP Data received {"connection_id":228940,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:11] local.INFO: Processing buffer {"connection_id":228940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:14:11] local.INFO: IMEI packet received {"connection_id":228940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":228940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:14:12] local.INFO: TCP Data received {"connection_id":228940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5b9f148012d48834006962df0004100e32c..."} 
[2026-11-04 14:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5b9f148012d48834006962df0004100e32c..."} 
[2026-11-04 14:14:12] local.INFO: Processing buffer {"connection_id":228940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5b9f148012d48834006962df0004100e32c..."} 
[2026-11-04 14:14:12] local.INFO: Packet analysis {"connection_id":228940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5b9"} 
[2026-11-04 14:14:12] local.INFO: Extracted packet for processing {"connection_id":228940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5b9"} 
[2026-11-04 14:14:12] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":65,"angle":227,"satellites":44,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208060928001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793781789000,"timestamp_ms":1793781789000,"timestamp_seconds":1793781789,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5b9f148"} 
[2026-11-04 14:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14: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-11-04 14:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208060928001,"66":25647,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208060928001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:14:12] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:14:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208060928001,"power":25647,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":228940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:14:12] local.INFO: GPS data processed {"connection_id":228940,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:14:12] local.INFO: Acknowledgment sent {"connection_id":228940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:14:43] local.INFO: TCP Data received {"connection_id":228940,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ba3b80012d48834006962df0004100e32a..."} 
[2026-11-04 14:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ba3b80012d48834006962df0004100e32a..."} 
[2026-11-04 14:14:43] local.INFO: Processing buffer {"connection_id":228940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ba3b80012d48834006962df0004100e32a..."} 
[2026-11-04 14:14:43] local.INFO: Packet analysis {"connection_id":228940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ba"} 
[2026-11-04 14:14:43] local.INFO: Extracted packet for processing {"connection_id":228940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ba"} 
[2026-11-04 14:14:43] local.INFO: GPS Element Parsed {"raw_longitude":759726912,"raw_latitude":110505456,"longitude_deg":75.9726912,"latitude_deg":11.0505456,"altitude":65,"angle":227,"satellites":42,"speed":0,"hex_longitude":"2d488340","hex_latitude":"06962df0","is_valid_coordinates":true} 
[2026-11-04 14:14: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-11-04 14:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208137984001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38942056155971584,"note":"Value kept but may cause issues"} 
[2026-11-04 14:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5225090389713481728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793781808000,"timestamp_ms":1793781808000,"timestamp_seconds":1793781808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ba3b80"} 
[2026-11-04 14:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 14:14:43] 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-11-04 14: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-11-04 14:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208137984001,"66":25615,"215":206,"86":48896,"24":0,"16":38942056155971584,"45":5225090389713481728},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,86,24,16,45]} 
[2026-11-04 14:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208137984001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:14:43] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-11-04 14:14:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38942056155971584,"km_value":38942056155971.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5225090389713481728,"description":"Unknown IO ID 45"} 
[2026-11-04 14:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208137984001,"power":25615,"unknown_215":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5225090389713481728}} 
[2026-11-04 14:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":228940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:14:43] local.INFO: GPS data processed {"connection_id":228940,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:14:43] local.INFO: Acknowledgment sent {"connection_id":228940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:15:04] local.INFO: TCP Data received {"connection_id":228942,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:04] local.INFO: Processing buffer {"connection_id":228942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:04] local.INFO: IMEI packet received {"connection_id":228942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":228942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:15:05] local.INFO: TCP Data received {"connection_id":228942,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:05] local.INFO: Processing buffer {"connection_id":228942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:05] local.INFO: IMEI packet received {"connection_id":228942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":228942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:15:06] local.INFO: TCP Data received {"connection_id":228942,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:06] local.INFO: Processing buffer {"connection_id":228942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:06] local.INFO: IMEI packet received {"connection_id":228942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":228942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:15:07] local.INFO: TCP Data received {"connection_id":228942,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:07] local.INFO: Processing buffer {"connection_id":228942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:15:07] local.INFO: IMEI packet received {"connection_id":228942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":228942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:18:38] local.INFO: TCP Data received {"connection_id":232594,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:18:38] local.INFO: Processing buffer {"connection_id":232594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:18:38] local.INFO: IMEI packet received {"connection_id":232594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":232594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:19:09] local.INFO: TCP Data received {"connection_id":230751,"ip":"42.109.136.12","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:19:09] local.INFO: Processing buffer {"connection_id":230751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:19:09] local.INFO: IMEI packet received {"connection_id":230751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":230751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:20:11] local.INFO: TCP Data received {"connection_id":229443,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:20:11] local.INFO: Processing buffer {"connection_id":229443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:20:11] local.INFO: IMEI packet received {"connection_id":229443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":229443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:20:18] local.INFO: TCP Data received {"connection_id":229443,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5bf67b8012d4ae30006964980005d00622e..."} 
[2026-11-04 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5bf67b8012d4ae30006964980005d00622e..."} 
[2026-11-04 14:20:18] local.INFO: Processing buffer {"connection_id":229443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5bf67b8012d4ae30006964980005d00622e..."} 
[2026-11-04 14:20:18] local.INFO: Packet analysis {"connection_id":229443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5bf"} 
[2026-11-04 14:20:18] local.INFO: Extracted packet for processing {"connection_id":229443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5bf"} 
[2026-11-04 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":759882496,"raw_latitude":110512512,"longitude_deg":75.9882496,"latitude_deg":11.0512512,"altitude":93,"angle":98,"satellites":46,"speed":9,"hex_longitude":"2d4ae300","hex_latitude":"06964980","is_valid_coordinates":true} 
[2026-11-04 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208227072001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38949611003445248,"note":"Value kept but may cause issues"} 
[2026-11-04 14:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5389823619835006976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793782147000,"timestamp_ms":1793782147000,"timestamp_seconds":1793782147,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5bf67b8"} 
[2026-11-04 14:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 14:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208227072001,"66":27887,"204":206,"86":48896,"24":9,"16":38949611003445248,"45":5389823619835006976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,86,24,16,45]} 
[2026-11-04 14:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208227072001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:20:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38949611003445248,"km_value":38949611003445.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5389823619835006976,"description":"Unknown IO ID 45"} 
[2026-11-04 14:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208227072001,"power":27887,"lac":206,"unknown_86":48896,"ignition":9,"odometer":null,"unknown_45":5389823619835006976}} 
[2026-11-04 14:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":229443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:20:18] local.INFO: GPS data processed {"connection_id":229443,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:20:18] local.INFO: Acknowledgment sent {"connection_id":229443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:20:49] local.INFO: TCP Data received {"connection_id":229443,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5bf6f88012d4ae4c0069648e8005d00762e..."} 
[2026-11-04 14:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5bf6f88012d4ae4c0069648e8005d00762e..."} 
[2026-11-04 14:20:49] local.INFO: Processing buffer {"connection_id":229443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5bf6f88012d4ae4c0069648e8005d00762e..."} 
[2026-11-04 14:20:49] local.INFO: Packet analysis {"connection_id":229443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5bf"} 
[2026-11-04 14:20:49] local.INFO: Extracted packet for processing {"connection_id":229443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5bf"} 
[2026-11-04 14:20:49] local.INFO: GPS Element Parsed {"raw_longitude":759882944,"raw_latitude":110512360,"longitude_deg":75.9882944,"latitude_deg":11.051236,"altitude":93,"angle":118,"satellites":46,"speed":9,"hex_longitude":"2d4ae4c0","hex_latitude":"069648e8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208229632001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38949632478281728,"note":"Value kept but may cause issues"} 
[2026-11-04 14:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5396156806811189248,"note":"Value kept but may cause issues"} 
[2026-11-04 14:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793782149000,"timestamp_ms":1793782149000,"timestamp_seconds":1793782149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5bf6f88"} 
[2026-11-04 14:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 14:20:49] 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-11-04 14: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-11-04 14:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208229632001,"66":27908,"204":206,"86":48896,"24":9,"16":38949632478281728,"45":5396156806811189248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,86,24,16,45]} 
[2026-11-04 14:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208229632001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:20:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38949632478281728,"km_value":38949632478281.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5396156806811189248,"description":"Unknown IO ID 45"} 
[2026-11-04 14:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208229632001,"power":27908,"lac":206,"unknown_86":48896,"ignition":9,"odometer":null,"unknown_45":5396156806811189248}} 
[2026-11-04 14:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":229443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:20:49] local.INFO: GPS data processed {"connection_id":229443,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:20:49] local.INFO: Acknowledgment sent {"connection_id":229443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:21:07] local.INFO: TCP Data received {"connection_id":230752,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:21:07] local.INFO: Processing buffer {"connection_id":230752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:21:07] local.INFO: IMEI packet received {"connection_id":230752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":230752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:21:17] local.INFO: TCP Data received {"connection_id":230752,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:21:17] local.INFO: Processing buffer {"connection_id":230752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:21:17] local.INFO: IMEI packet received {"connection_id":230752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":230752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:21:18] local.INFO: TCP Data received {"connection_id":230752,"ip":"42.109.136.7","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 14:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230752,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 14:21:18] local.INFO: Processing buffer {"connection_id":230752,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 14:21:18] local.INFO: IMEI packet received {"connection_id":230752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":230752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:21:18] local.INFO: TCP Data received {"connection_id":230752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c0a808012d4b354006954370003200922d..."} 
[2026-11-04 14:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c0a808012d4b354006954370003200922d..."} 
[2026-11-04 14:21:18] local.INFO: Processing buffer {"connection_id":230752,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 14:21:18] local.INFO: IMEI packet received {"connection_id":230752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":230752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:21:19] local.INFO: TCP Data received {"connection_id":230752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c0afd8012d4b3b0006953df80033007d2b..."} 
[2026-11-04 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c0afd8012d4b3b0006953df80033007d2b..."} 
[2026-11-04 14:21:19] local.INFO: Processing buffer {"connection_id":230752,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a5c0a808012d4b354006954370003200922d..."} 
[2026-11-04 14:21:19] local.INFO: Packet analysis {"connection_id":230752,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:21:19] local.INFO: Extracted packet for processing {"connection_id":230752,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":759903552,"raw_latitude":110445424,"longitude_deg":75.9903552,"latitude_deg":11.0445424,"altitude":50,"angle":146,"satellites":45,"speed":38,"hex_longitude":"2d4b3540","hex_latitude":"06954370","is_valid_coordinates":true} 
[2026-11-04 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208250112001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38953102811856896,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5418322961210400768,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793782229000,"timestamp_ms":1793782229000,"timestamp_seconds":1793782229,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c0a808"} 
[2026-11-04 14:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 14:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208250112001,"66":27865,"13":206,"86":48896,"24":38,"16":38953102811856896,"45":5418322961210400768},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,86,24,16,45]} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208250112001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38953102811856896,"km_value":38953102811856.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5418322961210400768,"description":"Unknown IO ID 45"} 
[2026-11-04 14:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208250112001,"power":27865,"unknown_13":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5418322961210400768}} 
[2026-11-04 14:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":230752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:21:19] local.INFO: GPS data processed {"connection_id":230752,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:21:19] local.INFO: Acknowledgment sent {"connection_id":230752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:21:19] local.INFO: Packet analysis {"connection_id":230752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:21:19] local.INFO: Extracted packet for processing {"connection_id":230752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":759905024,"raw_latitude":110444024,"longitude_deg":75.9905024,"latitude_deg":11.0444024,"altitude":51,"angle":125,"satellites":43,"speed":38,"hex_longitude":"2d4b3b00","hex_latitude":"06953df8","is_valid_coordinates":true} 
[2026-11-04 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208250624001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38953201596104704,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5419308123628466176,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793782231000,"timestamp_ms":1793782231000,"timestamp_seconds":1793782231,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c0afd8"} 
[2026-11-04 14:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 14:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208250624001,"66":27908,"13":206,"86":48896,"24":38,"16":38953201596104704,"45":5419308123628466176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,86,24,16,45]} 
[2026-11-04 14:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208250624001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38953201596104704,"km_value":38953201596104.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5419308123628466176,"description":"Unknown IO ID 45"} 
[2026-11-04 14:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208250624001,"power":27908,"unknown_13":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5419308123628466176}} 
[2026-11-04 14:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":230752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:21:19] local.INFO: GPS data processed {"connection_id":230752,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:21:19] local.INFO: Acknowledgment sent {"connection_id":230752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:21:20] local.INFO: TCP Data received {"connection_id":230752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c0c360012d4b4a4006953220003500912d..."} 
[2026-11-04 14:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c0c360012d4b4a4006953220003500912d..."} 
[2026-11-04 14:21:20] local.INFO: Processing buffer {"connection_id":230752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c0c360012d4b4a4006953220003500912d..."} 
[2026-11-04 14:21:20] local.INFO: Packet analysis {"connection_id":230752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:21:20] local.INFO: Extracted packet for processing {"connection_id":230752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":759908928,"raw_latitude":110440992,"longitude_deg":75.9908928,"latitude_deg":11.0440992,"altitude":53,"angle":145,"satellites":45,"speed":34,"hex_longitude":"2d4b4a40","hex_latitude":"06953220","is_valid_coordinates":true} 
[2026-11-04 14:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208251136001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38953437819305984,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5420926604744194048,"note":"Value kept but may cause issues"} 
[2026-11-04 14:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793782236000,"timestamp_ms":1793782236000,"timestamp_seconds":1793782236,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c0c360"} 
[2026-11-04 14:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 14:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208251136001,"66":27919,"13":206,"86":48896,"24":34,"16":38953437819305984,"45":5420926604744194048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,86,24,16,45]} 
[2026-11-04 14:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208251136001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:21:20] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 14:21:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38953437819305984,"km_value":38953437819305.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5420926604744194048,"description":"Unknown IO ID 45"} 
[2026-11-04 14:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208251136001,"power":27919,"unknown_13":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5420926604744194048}} 
[2026-11-04 14:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":230752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:21:20] local.INFO: GPS data processed {"connection_id":230752,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:21:20] local.INFO: Acknowledgment sent {"connection_id":230752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:22:05] local.INFO: TCP Data received {"connection_id":230752,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c0cf18012d4b500006952a10003900822e..."} 
[2026-11-04 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c0cf18012d4b500006952a10003900822e..."} 
[2026-11-04 14:22:05] local.INFO: Processing buffer {"connection_id":230752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c0cf18012d4b500006952a10003900822e..."} 
[2026-11-04 14:22:05] local.INFO: Packet analysis {"connection_id":230752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:22:05] local.INFO: Extracted packet for processing {"connection_id":230752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c0"} 
[2026-11-04 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":759910400,"raw_latitude":110438928,"longitude_deg":75.99104,"latitude_deg":11.0438928,"altitude":57,"angle":130,"satellites":46,"speed":29,"hex_longitude":"2d4b5000","hex_latitude":"06952a10","is_valid_coordinates":true} 
[2026-11-04 14:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208252416001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38953562373357568,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5425219098138255360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793782239000,"timestamp_ms":1793782239000,"timestamp_seconds":1793782239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c0cf18"} 
[2026-11-04 14:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 14:22: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-11-04 14:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":230752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":230752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208252416001,"66":27908,"13":206,"86":48896,"24":29,"16":38953562373357568,"45":5425219098138255360},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,86,24,16,45]} 
[2026-11-04 14:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208252416001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:22:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 14:22:05] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38953562373357568,"km_value":38953562373357.57,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5425219098138255360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208252416001,"power":27908,"unknown_13":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5425219098138255360}} 
[2026-11-04 14:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":230752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:22:06] local.INFO: GPS data processed {"connection_id":230752,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:22:06] local.INFO: Acknowledgment sent {"connection_id":230752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:22:11] local.INFO: TCP Data received {"connection_id":229444,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:22:11] local.INFO: Processing buffer {"connection_id":229444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:22:11] local.INFO: IMEI packet received {"connection_id":229444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:22:16] local.INFO: TCP Data received {"connection_id":229444,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:22:16] local.INFO: Processing buffer {"connection_id":229444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:22:16] local.INFO: IMEI packet received {"connection_id":229444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":229444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:22:18] local.INFO: TCP Data received {"connection_id":229444,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c101e0012d4b6fc0069515880042007b2d..."} 
[2026-11-04 14:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c101e0012d4b6fc0069515880042007b2d..."} 
[2026-11-04 14:22:18] local.INFO: Processing buffer {"connection_id":229444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c101e0012d4b6fc0069515880042007b2d..."} 
[2026-11-04 14:22:18] local.INFO: Packet analysis {"connection_id":229444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:22:18] local.INFO: Extracted packet for processing {"connection_id":229444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:22:18] local.INFO: GPS Element Parsed {"raw_longitude":759918528,"raw_latitude":110433672,"longitude_deg":75.9918528,"latitude_deg":11.0433672,"altitude":66,"angle":123,"satellites":45,"speed":29,"hex_longitude":"2d4b6fc0","hex_latitude":"06951588","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208253184001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38954026229825536,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5426837579253813248,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793782252000,"timestamp_ms":1793782252000,"timestamp_seconds":1793782252,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c101e0"} 
[2026-11-04 14:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 14:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208253184001,"66":27887,"11":206,"86":48896,"24":29,"16":38954026229825536,"45":5426837579253813248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,86,24,16,45]} 
[2026-11-04 14:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208253184001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:22:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 14:22:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38954026229825536,"km_value":38954026229825.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5426837579253813248,"description":"Unknown IO ID 45"} 
[2026-11-04 14:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208253184001,"power":27887,"unknown_11":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5426837579253813248}} 
[2026-11-04 14:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":229444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:22:18] local.INFO: GPS data processed {"connection_id":229444,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:22:18] local.INFO: Acknowledgment sent {"connection_id":229444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:22:49] local.INFO: TCP Data received {"connection_id":229444,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c134a8012d4b8c8006950120004700812c..."} 
[2026-11-04 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c134a8012d4b8c8006950120004700812c..."} 
[2026-11-04 14:22:49] local.INFO: Processing buffer {"connection_id":229444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c134a8012d4b8c8006950120004700812c..."} 
[2026-11-04 14:22:49] local.INFO: Packet analysis {"connection_id":229444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:22:49] local.INFO: Extracted packet for processing {"connection_id":229444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:22:49] local.INFO: GPS Element Parsed {"raw_longitude":759925888,"raw_latitude":110428448,"longitude_deg":75.9925888,"latitude_deg":11.0428448,"altitude":71,"angle":129,"satellites":44,"speed":29,"hex_longitude":"2d4b8c80","hex_latitude":"06950120","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208256512001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38954460021522432,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5435774409763031040,"note":"Value kept but may cause issues"} 
[2026-11-04 14:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793782265000,"timestamp_ms":1793782265000,"timestamp_seconds":1793782265,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c134a8"} 
[2026-11-04 14:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 14:22:49] 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-11-04 14: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-11-04 14:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208256512001,"66":27995,"11":206,"86":48896,"24":29,"16":38954460021522432,"45":5435774409763031040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,86,24,16,45]} 
[2026-11-04 14:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208256512001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:22:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 14:22:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38954460021522432,"km_value":38954460021522.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5435774409763031040,"description":"Unknown IO ID 45"} 
[2026-11-04 14:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208256512001,"power":27995,"unknown_11":206,"unknown_86":48896,"ignition":29,"odometer":null,"unknown_45":5435774409763031040}} 
[2026-11-04 14:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":229444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:22:49] local.INFO: GPS data processed {"connection_id":229444,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:22:49] local.INFO: Acknowledgment sent {"connection_id":229444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:23:06] local.INFO: TCP Data received {"connection_id":228947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:06] local.INFO: Processing buffer {"connection_id":228947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:06] local.INFO: IMEI packet received {"connection_id":228947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":228947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:23:07] local.INFO: TCP Data received {"connection_id":228947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:07] local.INFO: Processing buffer {"connection_id":228947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:07] local.INFO: IMEI packet received {"connection_id":228947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":228947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:23:11] local.INFO: TCP Data received {"connection_id":228947,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:11] local.INFO: Processing buffer {"connection_id":228947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:23:11] local.INFO: IMEI packet received {"connection_id":228947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":228947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:23:12] local.INFO: TCP Data received {"connection_id":228947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c14448012d4b95000694f8900048008d2c..."} 
[2026-11-04 14:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c14448012d4b95000694f8900048008d2c..."} 
[2026-11-04 14:23:12] local.INFO: Processing buffer {"connection_id":228947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c14448012d4b95000694f8900048008d2c..."} 
[2026-11-04 14:23:12] local.INFO: Packet analysis {"connection_id":228947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:23:12] local.INFO: Extracted packet for processing {"connection_id":228947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":759928064,"raw_latitude":110426256,"longitude_deg":75.9928064,"latitude_deg":11.0426256,"altitude":72,"angle":141,"satellites":44,"speed":32,"hex_longitude":"2d4b9500","hex_latitude":"0694f890","is_valid_coordinates":true} 
[2026-11-04 14:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208259840001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38954606050410496,"note":"Value kept but may cause issues"} 
[2026-11-04 14:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5443866815342125056,"note":"Value kept but may cause issues"} 
[2026-11-04 14:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782269000,"timestamp_ms":1793782269000,"timestamp_seconds":1793782269,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c14448"} 
[2026-11-04 14:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:23: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-11-04 14:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208259840001,"66":28050,"11":206,"86":48896,"24":32,"16":38954606050410496,"45":5443866815342125056},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,86,24,16,45]} 
[2026-11-04 14:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208259840001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:23:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 14:23:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38954606050410496,"km_value":38954606050410.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5443866815342125056,"description":"Unknown IO ID 45"} 
[2026-11-04 14:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208259840001,"power":28050,"unknown_11":206,"unknown_86":48896,"ignition":32,"odometer":null,"unknown_45":5443866815342125056}} 
[2026-11-04 14:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":228947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:23:12] local.INFO: GPS data processed {"connection_id":228947,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:23:12] local.INFO: Acknowledgment sent {"connection_id":228947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:23:44] local.INFO: TCP Data received {"connection_id":228947,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c16b58012d4bacc00694db780048008d2e..."} 
[2026-11-04 14:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c16b58012d4bacc00694db780048008d2e..."} 
[2026-11-04 14:23:44] local.INFO: Processing buffer {"connection_id":228947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c16b58012d4bacc00694db780048008d2e..."} 
[2026-11-04 14:23:44] local.INFO: Packet analysis {"connection_id":228947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:23:44] local.INFO: Extracted packet for processing {"connection_id":228947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c1"} 
[2026-11-04 14:23:44] local.INFO: GPS Element Parsed {"raw_longitude":759934144,"raw_latitude":110418808,"longitude_deg":75.9934144,"latitude_deg":11.0418808,"altitude":72,"angle":141,"satellites":46,"speed":40,"hex_longitude":"2d4bacc0","hex_latitude":"0694db78","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208260864001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38955069906878464,"note":"Value kept but may cause issues"} 
[2026-11-04 14:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5446259352643604480,"note":"Value kept but may cause issues"} 
[2026-11-04 14:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793782279000,"timestamp_ms":1793782279000,"timestamp_seconds":1793782279,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c16b58"} 
[2026-11-04 14:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 14:23: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-11-04 14: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-11-04 14:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208260864001,"66":27930,"11":206,"86":48896,"24":40,"16":38955069906878464,"45":5446259352643604480},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,86,24,16,45]} 
[2026-11-04 14:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208260864001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:23:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-11-04 14:23:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38955069906878464,"km_value":38955069906878.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5446259352643604480,"description":"Unknown IO ID 45"} 
[2026-11-04 14:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208260864001,"power":27930,"unknown_11":206,"unknown_86":48896,"ignition":40,"odometer":null,"unknown_45":5446259352643604480}} 
[2026-11-04 14:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":228947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:23:44] local.INFO: GPS data processed {"connection_id":228947,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:23:44] local.INFO: Acknowledgment sent {"connection_id":228947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:24:06] local.INFO: TCP Data received {"connection_id":229445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:06] local.INFO: Processing buffer {"connection_id":229445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:06] local.INFO: IMEI packet received {"connection_id":229445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":229445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:24:07] local.INFO: TCP Data received {"connection_id":229445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:07] local.INFO: Processing buffer {"connection_id":229445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:07] local.INFO: IMEI packet received {"connection_id":229445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":229445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:24:11] local.INFO: TCP Data received {"connection_id":229445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:11] local.INFO: Processing buffer {"connection_id":229445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:24:11] local.INFO: IMEI packet received {"connection_id":229445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":229445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:24:12] local.INFO: TCP Data received {"connection_id":229445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c31908012d4c45800693fed8001f009130..."} 
[2026-11-04 14:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c31908012d4c45800693fed8001f009130..."} 
[2026-11-04 14:24:12] local.INFO: Processing buffer {"connection_id":229445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c31908012d4c45800693fed8001f009130..."} 
[2026-11-04 14:24:12] local.INFO: Packet analysis {"connection_id":229445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:24:12] local.INFO: Extracted packet for processing {"connection_id":229445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:24:12] local.INFO: GPS Element Parsed {"raw_longitude":759973248,"raw_latitude":110362328,"longitude_deg":75.9973248,"latitude_deg":11.0362328,"altitude":31,"angle":145,"satellites":48,"speed":31,"hex_longitude":"2d4c4580","hex_latitude":"0693fed8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208289024001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38958419981369344,"note":"Value kept but may cause issues"} 
[2026-11-04 14:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5489958342763563008,"note":"Value kept but may cause issues"} 
[2026-11-04 14:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782389000,"timestamp_ms":1793782389000,"timestamp_seconds":1793782389,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c31908"} 
[2026-11-04 14:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 14:24: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-11-04 14: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-11-04 14:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208289024001,"66":27865,"210":206,"86":48896,"24":31,"16":38958419981369344,"45":5489958342763563008},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,86,24,16,45]} 
[2026-11-04 14:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208289024001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:24:12] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-11-04 14:24:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38958419981369344,"km_value":38958419981369.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5489958342763563008,"description":"Unknown IO ID 45"} 
[2026-11-04 14:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208289024001,"power":27865,"unknown_210":206,"unknown_86":48896,"ignition":31,"odometer":null,"unknown_45":5489958342763563008}} 
[2026-11-04 14:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":229445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:24:12] local.INFO: GPS data processed {"connection_id":229445,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:24:12] local.INFO: Acknowledgment sent {"connection_id":229445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:24:43] local.INFO: TCP Data received {"connection_id":229445,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c3e040012d4c7d0006939a68002a00882d..."} 
[2026-11-04 14:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c3e040012d4c7d0006939a68002a00882d..."} 
[2026-11-04 14:24:43] local.INFO: Processing buffer {"connection_id":229445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c3e040012d4c7d0006939a68002a00882d..."} 
[2026-11-04 14:24:43] local.INFO: Packet analysis {"connection_id":229445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:24:43] local.INFO: Extracted packet for processing {"connection_id":229445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:24:43] local.INFO: GPS Element Parsed {"raw_longitude":759987456,"raw_latitude":110336616,"longitude_deg":75.9987456,"latitude_deg":11.0336616,"altitude":42,"angle":136,"satellites":45,"speed":23,"hex_longitude":"2d4c7d00","hex_latitude":"06939a68","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208302336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38960000529334272,"note":"Value kept but may cause issues"} 
[2026-11-04 14:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5507761635032705024,"note":"Value kept but may cause issues"} 
[2026-11-04 14:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793782440000,"timestamp_ms":1793782440000,"timestamp_seconds":1793782440,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c3e040"} 
[2026-11-04 14:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":26,"data_length":795,"current_offset":136} 
[2026-11-04 14:24: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-11-04 14: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-11-04 14:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208302336001,"66":27995,"209":206,"86":48896,"24":23,"16":38960000529334272,"45":5507761635032705024},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,86,24,16,45]} 
[2026-11-04 14:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208302336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:24:43] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 14:24:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38960000529334272,"km_value":38960000529334.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5507761635032705024,"description":"Unknown IO ID 45"} 
[2026-11-04 14:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208302336001,"power":27995,"unknown_209":206,"unknown_86":48896,"ignition":23,"odometer":null,"unknown_45":5507761635032705024}} 
[2026-11-04 14:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":229445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:24:43] local.INFO: GPS data processed {"connection_id":229445,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:24:43] local.INFO: Acknowledgment sent {"connection_id":229445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:24:44] local.INFO: TCP Data received {"connection_id":228948,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:24:44] local.INFO: Processing buffer {"connection_id":228948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:24:44] local.INFO: IMEI packet received {"connection_id":228948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":228948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:25:06] local.INFO: TCP Data received {"connection_id":232598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:25:06] local.INFO: Processing buffer {"connection_id":232598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:25:06] local.INFO: IMEI packet received {"connection_id":232598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":232598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:25:08] local.INFO: TCP Data received {"connection_id":232599,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:08] local.INFO: Processing buffer {"connection_id":232599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:08] local.INFO: IMEI packet received {"connection_id":232599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":232599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:25:11] local.INFO: TCP Data received {"connection_id":232598,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:25:11] local.INFO: Processing buffer {"connection_id":232598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:25:11] local.INFO: IMEI packet received {"connection_id":232598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":232598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:25:12] local.INFO: TCP Data received {"connection_id":232598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c3ebf8012d4c818006939528002b009630..."} 
[2026-11-04 14:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c3ebf8012d4c818006939528002b009630..."} 
[2026-11-04 14:25:12] local.INFO: Processing buffer {"connection_id":232598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c3ebf8012d4c818006939528002b009630..."} 
[2026-11-04 14:25:12] local.INFO: Packet analysis {"connection_id":232598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:25:12] local.INFO: Extracted packet for processing {"connection_id":232598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:25:12] local.INFO: GPS Element Parsed {"raw_longitude":759988608,"raw_latitude":110335272,"longitude_deg":75.9988608,"latitude_deg":11.0335272,"altitude":43,"angle":150,"satellites":48,"speed":19,"hex_longitude":"2d4c8180","hex_latitude":"06939528","is_valid_coordinates":true} 
[2026-11-04 14:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208304640001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38960086428680192,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5511561547217528832,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782443000,"timestamp_ms":1793782443000,"timestamp_seconds":1793782443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c3ebf8"} 
[2026-11-04 14:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:25: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-11-04 14:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208304640001,"66":27908,"209":206,"86":48896,"24":19,"16":38960086428680192,"45":5511561547217528832},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,86,24,16,45]} 
[2026-11-04 14:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208304640001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:25:12] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 14:25:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38960086428680192,"km_value":38960086428680.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5511561547217528832,"description":"Unknown IO ID 45"} 
[2026-11-04 14:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208304640001,"power":27908,"unknown_209":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5511561547217528832}} 
[2026-11-04 14:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":232598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:25:12] local.INFO: GPS data processed {"connection_id":232598,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:25:12] local.INFO: Acknowledgment sent {"connection_id":232598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:25:13] local.INFO: TCP Data received {"connection_id":232599,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232599,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:13] local.INFO: Processing buffer {"connection_id":232599,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:13] local.INFO: IMEI packet received {"connection_id":232599,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 14:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":232599,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:25:14] local.INFO: TCP Data received {"connection_id":232599,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5bac438012cee6e40072e30f80032007629..."} 
[2026-11-04 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5bac438012cee6e40072e30f80032007629..."} 
[2026-11-04 14:25:14] local.INFO: Processing buffer {"connection_id":232599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5bac438012cee6e40072e30f80032007629..."} 
[2026-11-04 14:25:14] local.INFO: Packet analysis {"connection_id":232599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ba"} 
[2026-11-04 14:25:14] local.INFO: Extracted packet for processing {"connection_id":232599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ba"} 
[2026-11-04 14:25:14] local.INFO: GPS Element Parsed {"raw_longitude":753823296,"raw_latitude":120467704,"longitude_deg":75.3823296,"latitude_deg":12.0467704,"altitude":50,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2cee6e40","hex_latitude":"072e30f8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208074752001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20572631354834944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1266004045660620800,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793781843000,"timestamp_ms":1793781843000,"timestamp_seconds":1793781843,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5bac438"} 
[2026-11-04 14:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":8,"data_length":795,"current_offset":136} 
[2026-11-04 14:25:14] 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-11-04 14: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-11-04 14:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 14:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232599,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 14:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 14:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 14:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208074752001,"66":26376,"219":206,"83":44032,"24":0,"16":20572631354834944,"44":-1266004045660620800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,83,24,16,44]} 
[2026-11-04 14:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 14:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 14:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208074752001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:25:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 14:25:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-11-04 14:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20572631354834944,"km_value":20572631354834.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:25:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1266004045660620800,"description":"Unknown IO ID 44"} 
[2026-11-04 14:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208074752001,"power":26376,"unknown_219":206,"unknown_83":44032,"ignition":0,"odometer":null,"unknown_44":-1266004045660620800}} 
[2026-11-04 14:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":232599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:25:15] local.INFO: GPS data processed {"connection_id":232599,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:25:15] local.INFO: Acknowledgment sent {"connection_id":232599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:25:43] local.INFO: TCP Data received {"connection_id":232598,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c3efe0012d4c824006939360002b00a52f..."} 
[2026-11-04 14:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c3efe0012d4c824006939360002b00a52f..."} 
[2026-11-04 14:25:43] local.INFO: Processing buffer {"connection_id":232598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c3efe0012d4c824006939360002b00a52f..."} 
[2026-11-04 14:25:43] local.INFO: Packet analysis {"connection_id":232598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:25:43] local.INFO: Extracted packet for processing {"connection_id":232598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c3"} 
[2026-11-04 14:25:43] local.INFO: GPS Element Parsed {"raw_longitude":759988800,"raw_latitude":110334816,"longitude_deg":75.99888,"latitude_deg":11.0334816,"altitude":43,"angle":165,"satellites":47,"speed":19,"hex_longitude":"2d4c8240","hex_latitude":"06939360","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208305408001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38960112198483968,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5512828184612382720,"note":"Value kept but may cause issues"} 
[2026-11-04 14:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793782444000,"timestamp_ms":1793782444000,"timestamp_seconds":1793782444,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c3efe0"} 
[2026-11-04 14:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 14:25:43] 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-11-04 14: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-11-04 14:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208305408001,"66":27908,"209":206,"86":48896,"24":19,"16":38960112198483968,"45":5512828184612382720},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,86,24,16,45]} 
[2026-11-04 14:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208305408001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:25:43] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 14:25:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38960112198483968,"km_value":38960112198483.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5512828184612382720,"description":"Unknown IO ID 45"} 
[2026-11-04 14:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208305408001,"power":27908,"unknown_209":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5512828184612382720}} 
[2026-11-04 14:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":232598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:25:43] local.INFO: GPS data processed {"connection_id":232598,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:25:43] local.INFO: Acknowledgment sent {"connection_id":232598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:25:58] local.INFO: TCP Data received {"connection_id":229446,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:58] local.INFO: Processing buffer {"connection_id":229446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:25:58] local.INFO: IMEI packet received {"connection_id":229446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":229446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:26:06] local.INFO: TCP Data received {"connection_id":230753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:06] local.INFO: Processing buffer {"connection_id":230753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:06] local.INFO: IMEI packet received {"connection_id":230753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":230753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:26:09] local.INFO: TCP Data received {"connection_id":230753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:09] local.INFO: Processing buffer {"connection_id":230753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:09] local.INFO: IMEI packet received {"connection_id":230753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":230753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:26:11] local.INFO: TCP Data received {"connection_id":230753,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:11] local.INFO: Processing buffer {"connection_id":230753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:26:11] local.INFO: IMEI packet received {"connection_id":230753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":230753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:26:12] local.INFO: TCP Data received {"connection_id":230753,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c50920012d4c56000692e368001d00c030..."} 
[2026-11-04 14:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c50920012d4c56000692e368001d00c030..."} 
[2026-11-04 14:26:12] local.INFO: Processing buffer {"connection_id":230753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c50920012d4c56000692e368001d00c030..."} 
[2026-11-04 14:26:12] local.INFO: Packet analysis {"connection_id":230753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:26:12] local.INFO: Extracted packet for processing {"connection_id":230753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:26:12] local.INFO: GPS Element Parsed {"raw_longitude":759977472,"raw_latitude":110289768,"longitude_deg":75.9977472,"latitude_deg":11.0289768,"altitude":29,"angle":192,"satellites":48,"speed":25,"hex_longitude":"2d4c5600","hex_latitude":"0692e368","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208321280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38962401416052736,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5503680247859056640,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782516000,"timestamp_ms":1793782516000,"timestamp_seconds":1793782516,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c50920"} 
[2026-11-04 14:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 14:26: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-11-04 14: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-11-04 14:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208321280001,"66":27995,"209":206,"86":48896,"24":25,"16":38962401416052736,"45":5503680247859056640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,86,24,16,45]} 
[2026-11-04 14:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208321280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:26:12] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 14:26:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38962401416052736,"km_value":38962401416052.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5503680247859056640,"description":"Unknown IO ID 45"} 
[2026-11-04 14:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208321280001,"power":27995,"unknown_209":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5503680247859056640}} 
[2026-11-04 14:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":230753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:26:12] local.INFO: GPS data processed {"connection_id":230753,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:26:12] local.INFO: Acknowledgment sent {"connection_id":230753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:26:19] local.INFO: TCP Data received {"connection_id":230753,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c518c0012d4c55800692d990001d00b231..."} 
[2026-11-04 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c518c0012d4c55800692d990001d00b231..."} 
[2026-11-04 14:26:19] local.INFO: Processing buffer {"connection_id":230753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c518c0012d4c55800692d990001d00b231..."} 
[2026-11-04 14:26:19] local.INFO: Packet analysis {"connection_id":230753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:26:19] local.INFO: Extracted packet for processing {"connection_id":230753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:26:19] local.INFO: GPS Element Parsed {"raw_longitude":759977344,"raw_latitude":110287248,"longitude_deg":75.9977344,"latitude_deg":11.0287248,"altitude":29,"angle":178,"satellites":49,"speed":24,"hex_longitude":"2d4c5580","hex_latitude":"0692d990","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208324096001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38962521675137024,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5500584023113820160,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793782520000,"timestamp_ms":1793782520000,"timestamp_seconds":1793782520,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c518c0"} 
[2026-11-04 14:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:26:19] 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-11-04 14: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-11-04 14:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208324096001,"66":27930,"209":206,"86":48896,"24":24,"16":38962521675137024,"45":5500584023113820160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,86,24,16,45]} 
[2026-11-04 14:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208324096001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:26:19] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 14:26:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38962521675137024,"km_value":38962521675137.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5500584023113820160,"description":"Unknown IO ID 45"} 
[2026-11-04 14:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208324096001,"power":27930,"unknown_209":206,"unknown_86":48896,"ignition":24,"odometer":null,"unknown_45":5500584023113820160}} 
[2026-11-04 14:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":230753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:26:19] local.INFO: GPS data processed {"connection_id":230753,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:26:19] local.INFO: Acknowledgment sent {"connection_id":230753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:26:51] local.INFO: TCP Data received {"connection_id":230753,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c52860012d4c55400692d1e0001c00c830..."} 
[2026-11-04 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c52860012d4c55400692d1e0001c00c830..."} 
[2026-11-04 14:26:51] local.INFO: Processing buffer {"connection_id":230753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c52860012d4c55400692d1e0001c00c830..."} 
[2026-11-04 14:26:51] local.INFO: Packet analysis {"connection_id":230753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:26:51] local.INFO: Extracted packet for processing {"connection_id":230753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":759977280,"raw_latitude":110285280,"longitude_deg":75.997728,"latitude_deg":11.028528,"altitude":28,"angle":200,"satellites":48,"speed":16,"hex_longitude":"2d4c5540","hex_latitude":"0692d1e0","is_valid_coordinates":true} 
[2026-11-04 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208325120001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38962620459384832,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5500443285624819712,"note":"Value kept but may cause issues"} 
[2026-11-04 14:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793782524000,"timestamp_ms":1793782524000,"timestamp_seconds":1793782524,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c52860"} 
[2026-11-04 14:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 14:26:51] 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-11-04 14:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208325120001,"66":27876,"209":206,"86":48896,"24":16,"16":38962620459384832,"45":5500443285624819712},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,86,24,16,45]} 
[2026-11-04 14:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208325120001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:26:51] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-11-04 14:26:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38962620459384832,"km_value":38962620459384.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5500443285624819712,"description":"Unknown IO ID 45"} 
[2026-11-04 14:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208325120001,"power":27876,"unknown_209":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5500443285624819712}} 
[2026-11-04 14:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":230753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:26:51] local.INFO: GPS data processed {"connection_id":230753,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:26:51] local.INFO: Acknowledgment sent {"connection_id":230753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:27:11] local.INFO: TCP Data received {"connection_id":230754,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:27:11] local.INFO: Processing buffer {"connection_id":230754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:27:11] local.INFO: IMEI packet received {"connection_id":230754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":230754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:27:12] local.INFO: TCP Data received {"connection_id":230754,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:27:12] local.INFO: Processing buffer {"connection_id":230754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:27:12] local.INFO: IMEI packet received {"connection_id":230754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":230754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:27:19] local.INFO: TCP Data received {"connection_id":230754,"ip":"42.109.136.7","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 14:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230754,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 14:27:19] local.INFO: Processing buffer {"connection_id":230754,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a5..."} 
[2026-11-04 14:27:19] local.INFO: IMEI packet received {"connection_id":230754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":230754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:27:26] local.INFO: TCP Data received {"connection_id":230754,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c5f768012d4bc6c0069286f0001400bc2f..."} 
[2026-11-04 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c5f768012d4bc6c0069286f0001400bc2f..."} 
[2026-11-04 14:27:26] local.INFO: Processing buffer {"connection_id":230754,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a5c5f380012d4bc74006928910001400ca2f..."} 
[2026-11-04 14:27:26] local.INFO: Packet analysis {"connection_id":230754,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:27:26] local.INFO: Extracted packet for processing {"connection_id":230754,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":759940928,"raw_latitude":110266640,"longitude_deg":75.9940928,"latitude_deg":11.026664,"altitude":20,"angle":202,"satellites":47,"speed":20,"hex_longitude":"2d4bc740","hex_latitude":"06928910","is_valid_coordinates":true} 
[2026-11-04 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208339200001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38964621914144768,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460755313903458304,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793782576000,"timestamp_ms":1793782576000,"timestamp_seconds":1793782576,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c5f380"} 
[2026-11-04 14:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 14:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208339200001,"66":27930,"226":206,"86":48896,"24":20,"16":38964621914144768,"45":5460755313903458304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208339200001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38964621914144768,"km_value":38964621914144.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460755313903458304,"description":"Unknown IO ID 45"} 
[2026-11-04 14:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208339200001,"power":27930,"unknown_226":206,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5460755313903458304}} 
[2026-11-04 14:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":230754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:27:26] local.INFO: GPS data processed {"connection_id":230754,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:27:26] local.INFO: Acknowledgment sent {"connection_id":230754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:27:26] local.INFO: Packet analysis {"connection_id":230754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:27:26] local.INFO: Extracted packet for processing {"connection_id":230754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c5"} 
[2026-11-04 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":759940800,"raw_latitude":110266096,"longitude_deg":75.99408,"latitude_deg":11.0266096,"altitude":20,"angle":188,"satellites":47,"speed":21,"hex_longitude":"2d4bc6c0","hex_latitude":"069286f0","is_valid_coordinates":true} 
[2026-11-04 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208339456001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38964651978915840,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460403470182453248,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793782577000,"timestamp_ms":1793782577000,"timestamp_seconds":1793782577,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c5f768"} 
[2026-11-04 14:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 14:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208339456001,"66":27930,"226":206,"86":48896,"24":21,"16":38964651978915840,"45":5460403470182453248},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208339456001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38964651978915840,"km_value":38964651978915.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460403470182453248,"description":"Unknown IO ID 45"} 
[2026-11-04 14:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208339456001,"power":27930,"unknown_226":206,"unknown_86":48896,"ignition":21,"odometer":null,"unknown_45":5460403470182453248}} 
[2026-11-04 14:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":230754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:27:26] local.INFO: GPS data processed {"connection_id":230754,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:27:26] local.INFO: Acknowledgment sent {"connection_id":230754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:27:26] local.INFO: TCP Data received {"connection_id":230754,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c61e78012d4bbf8006926188001200c52d..."} 
[2026-11-04 14:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c61e78012d4bbf8006926188001200c52d..."} 
[2026-11-04 14:27:26] local.INFO: Processing buffer {"connection_id":230754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c61e78012d4bbf8006926188001200c52d..."} 
[2026-11-04 14:27:26] local.INFO: Packet analysis {"connection_id":230754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c6"} 
[2026-11-04 14:27:26] local.INFO: Extracted packet for processing {"connection_id":230754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c6"} 
[2026-11-04 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":759938944,"raw_latitude":110256520,"longitude_deg":75.9938944,"latitude_deg":11.025652,"altitude":18,"angle":197,"satellites":45,"speed":43,"hex_longitude":"2d4bbf80","hex_latitude":"06926188","is_valid_coordinates":true} 
[2026-11-04 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208339712001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38965124425318400,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5460262732693958656,"note":"Value kept but may cause issues"} 
[2026-11-04 14:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793782587000,"timestamp_ms":1793782587000,"timestamp_seconds":1793782587,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c61e78"} 
[2026-11-04 14:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 14:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208339712001,"66":28006,"226":206,"86":48896,"24":43,"16":38965124425318400,"45":5460262732693958656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,86,24,16,45]} 
[2026-11-04 14:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208339712001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38965124425318400,"km_value":38965124425318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5460262732693958656,"description":"Unknown IO ID 45"} 
[2026-11-04 14:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208339712001,"power":28006,"unknown_226":206,"unknown_86":48896,"ignition":43,"odometer":null,"unknown_45":5460262732693958656}} 
[2026-11-04 14:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":230754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:27:26] local.INFO: GPS data processed {"connection_id":230754,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:27:26] local.INFO: Acknowledgment sent {"connection_id":230754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:28:06] local.INFO: TCP Data received {"connection_id":228949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:28:06] local.INFO: Processing buffer {"connection_id":228949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:28:06] local.INFO: IMEI packet received {"connection_id":228949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":228949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:28:11] local.INFO: TCP Data received {"connection_id":228949,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:28:11] local.INFO: Processing buffer {"connection_id":228949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:28:11] local.INFO: IMEI packet received {"connection_id":228949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":228949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:28:12] local.INFO: TCP Data received {"connection_id":228949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c6d610012d4b88800691a218001700b22d..."} 
[2026-11-04 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c6d610012d4b88800691a218001700b22d..."} 
[2026-11-04 14:28:12] local.INFO: Processing buffer {"connection_id":228949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c6d610012d4b88800691a218001700b22d..."} 
[2026-11-04 14:28:12] local.INFO: Packet analysis {"connection_id":228949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c6"} 
[2026-11-04 14:28:12] local.INFO: Extracted packet for processing {"connection_id":228949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c6"} 
[2026-11-04 14:28:12] local.INFO: GPS Element Parsed {"raw_longitude":759924864,"raw_latitude":110207512,"longitude_deg":75.9924864,"latitude_deg":11.0207512,"altitude":23,"angle":178,"satellites":45,"speed":37,"hex_longitude":"2d4b8880","hex_latitude":"0691a218","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208353792001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38967649866088448,"note":"Value kept but may cause issues"} 
[2026-11-04 14:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442248334169948160,"note":"Value kept but may cause issues"} 
[2026-11-04 14:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782634000,"timestamp_ms":1793782634000,"timestamp_seconds":1793782634,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c6d610"} 
[2026-11-04 14:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 14:28: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-11-04 14: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-11-04 14:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208353792001,"66":27180,"186":206,"86":48896,"24":37,"16":38967649866088448,"45":5442248334169948160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,86,24,16,45]} 
[2026-11-04 14:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208353792001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:28:12] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-04 14:28:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38967649866088448,"km_value":38967649866088.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442248334169948160,"description":"Unknown IO ID 45"} 
[2026-11-04 14:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208353792001,"power":27180,"unknown_186":206,"unknown_86":48896,"ignition":37,"odometer":null,"unknown_45":5442248334169948160}} 
[2026-11-04 14:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":228949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:28:12] local.INFO: GPS data processed {"connection_id":228949,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:28:12] local.INFO: Acknowledgment sent {"connection_id":228949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:28:44] local.INFO: TCP Data received {"connection_id":228949,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c6e998012d4b8940069190680019009d2c..."} 
[2026-11-04 14:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c6e998012d4b8940069190680019009d2c..."} 
[2026-11-04 14:28:44] local.INFO: Processing buffer {"connection_id":228949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c6e998012d4b8940069190680019009d2c..."} 
[2026-11-04 14:28:44] local.INFO: Packet analysis {"connection_id":228949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c6"} 
[2026-11-04 14:28:44] local.INFO: Extracted packet for processing {"connection_id":228949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c6"} 
[2026-11-04 14:28:44] local.INFO: GPS Element Parsed {"raw_longitude":759925056,"raw_latitude":110202984,"longitude_deg":75.9925056,"latitude_deg":11.0202984,"altitude":25,"angle":157,"satellites":44,"speed":34,"hex_longitude":"2d4b8940","hex_latitude":"06919068","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208354304001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38967873204387840,"note":"Value kept but may cause issues"} 
[2026-11-04 14:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442740915378722816,"note":"Value kept but may cause issues"} 
[2026-11-04 14:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793782639000,"timestamp_ms":1793782639000,"timestamp_seconds":1793782639,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c6e998"} 
[2026-11-04 14:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-04 14:28:44] 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-11-04 14: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-11-04 14:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208354304001,"66":27974,"186":206,"86":48896,"24":34,"16":38967873204387840,"45":5442740915378722816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,86,24,16,45]} 
[2026-11-04 14:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208354304001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:28:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-04 14:28:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38967873204387840,"km_value":38967873204387.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442740915378722816,"description":"Unknown IO ID 45"} 
[2026-11-04 14:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208354304001,"power":27974,"unknown_186":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5442740915378722816}} 
[2026-11-04 14:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":228949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:28:44] local.INFO: GPS data processed {"connection_id":228949,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:28:44] local.INFO: Acknowledgment sent {"connection_id":228949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:29:09] local.INFO: TCP Data received {"connection_id":230756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:09] local.INFO: Processing buffer {"connection_id":230756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:09] local.INFO: IMEI packet received {"connection_id":230756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":230756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:29:11] local.INFO: TCP Data received {"connection_id":230756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:11] local.INFO: Processing buffer {"connection_id":230756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:11] local.INFO: IMEI packet received {"connection_id":230756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":230756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:29:16] local.INFO: TCP Data received {"connection_id":230756,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:16] local.INFO: Processing buffer {"connection_id":230756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:29:16] local.INFO: IMEI packet received {"connection_id":230756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":230756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:29:17] local.INFO: TCP Data received {"connection_id":230756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c70108012d4b91c006918250001d008f2d..."} 
[2026-11-04 14:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c70108012d4b91c006918250001d008f2d..."} 
[2026-11-04 14:29:17] local.INFO: Processing buffer {"connection_id":230756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c70108012d4b91c006918250001d008f2d..."} 
[2026-11-04 14:29:17] local.INFO: Packet analysis {"connection_id":230756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c7"} 
[2026-11-04 14:29:17] local.INFO: Extracted packet for processing {"connection_id":230756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c7"} 
[2026-11-04 14:29:17] local.INFO: GPS Element Parsed {"raw_longitude":759927232,"raw_latitude":110199376,"longitude_deg":75.9927232,"latitude_deg":11.0199376,"altitude":29,"angle":143,"satellites":45,"speed":25,"hex_longitude":"2d4b91c0","hex_latitude":"06918250","is_valid_coordinates":true} 
[2026-11-04 14:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208355584001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38968075067850752,"note":"Value kept but may cause issues"} 
[2026-11-04 14:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5442952021610096640,"note":"Value kept but may cause issues"} 
[2026-11-04 14:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793782645000,"timestamp_ms":1793782645000,"timestamp_seconds":1793782645,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c70108"} 
[2026-11-04 14:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 14:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208355584001,"66":27930,"186":206,"86":48896,"24":25,"16":38968075067850752,"45":5442952021610096640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,86,24,16,45]} 
[2026-11-04 14:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208355584001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:29:17] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-11-04 14:29:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38968075067850752,"km_value":38968075067850.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5442952021610096640,"description":"Unknown IO ID 45"} 
[2026-11-04 14:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208355584001,"power":27930,"unknown_186":206,"unknown_86":48896,"ignition":25,"odometer":null,"unknown_45":5442952021610096640}} 
[2026-11-04 14:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":230756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:29:17] local.INFO: GPS data processed {"connection_id":230756,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:29:17] local.INFO: Acknowledgment sent {"connection_id":230756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:29:49] local.INFO: TCP Data received {"connection_id":230756,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c883c0012d4be28006907958003400a92c..."} 
[2026-11-04 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c883c0012d4be28006907958003400a92c..."} 
[2026-11-04 14:29:49] local.INFO: Processing buffer {"connection_id":230756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c883c0012d4be28006907958003400a92c..."} 
[2026-11-04 14:29:49] local.INFO: Packet analysis {"connection_id":230756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:29:49] local.INFO: Extracted packet for processing {"connection_id":230756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":759947904,"raw_latitude":110131544,"longitude_deg":75.9947904,"latitude_deg":11.0131544,"altitude":52,"angle":169,"satellites":44,"speed":34,"hex_longitude":"2d4be280","hex_latitude":"06907958","is_valid_coordinates":true} 
[2026-11-04 14:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208379648001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38972022142795776,"note":"Value kept but may cause issues"} 
[2026-11-04 14:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5467299607079677952,"note":"Value kept but may cause issues"} 
[2026-11-04 14:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793782744000,"timestamp_ms":1793782744000,"timestamp_seconds":1793782744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c883c0"} 
[2026-11-04 14:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 14:29: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-11-04 14:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208379648001,"66":27995,"68":206,"86":48896,"24":34,"16":38972022142795776,"45":5467299607079677952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-11-04 14:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208379648001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:29:49] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-04 14:29:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38972022142795776,"km_value":38972022142795.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5467299607079677952,"description":"Unknown IO ID 45"} 
[2026-11-04 14:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208379648001,"power":27995,"unknown_68":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5467299607079677952}} 
[2026-11-04 14:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":230756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:29:49] local.INFO: GPS data processed {"connection_id":230756,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:29:49] local.INFO: Acknowledgment sent {"connection_id":230756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:30:04] local.INFO: TCP Data received {"connection_id":232601,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:04] local.INFO: Processing buffer {"connection_id":232601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:04] local.INFO: IMEI packet received {"connection_id":232601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":232601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:30:06] local.INFO: TCP Data received {"connection_id":232601,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:06] local.INFO: Processing buffer {"connection_id":232601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:06] local.INFO: IMEI packet received {"connection_id":232601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":232601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:30:12] local.INFO: TCP Data received {"connection_id":232601,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:12] local.INFO: Processing buffer {"connection_id":232601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:30:12] local.INFO: IMEI packet received {"connection_id":232601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":232601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:30:14] local.INFO: TCP Data received {"connection_id":232601,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c883c0012d4be28006907958003400a92c..."} 
[2026-11-04 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c883c0012d4be28006907958003400a92c..."} 
[2026-11-04 14:30:14] local.INFO: Processing buffer {"connection_id":232601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c883c0012d4be28006907958003400a92c..."} 
[2026-11-04 14:30:14] local.INFO: Packet analysis {"connection_id":232601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:30:14] local.INFO: Extracted packet for processing {"connection_id":232601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:30:14] local.INFO: GPS Element Parsed {"raw_longitude":759947904,"raw_latitude":110131544,"longitude_deg":75.9947904,"latitude_deg":11.0131544,"altitude":52,"angle":169,"satellites":44,"speed":34,"hex_longitude":"2d4be280","hex_latitude":"06907958","is_valid_coordinates":true} 
[2026-11-04 14:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208382464001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38972022142795776,"note":"Value kept but may cause issues"} 
[2026-11-04 14:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468073663263234048,"note":"Value kept but may cause issues"} 
[2026-11-04 14:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793782744000,"timestamp_ms":1793782744000,"timestamp_seconds":1793782744,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c883c0"} 
[2026-11-04 14:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:30: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-11-04 14:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208382464001,"66":27995,"68":206,"86":48896,"24":34,"16":38972022142795776,"45":5468073663263234048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-11-04 14:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208382464001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:30:14] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-04 14:30:14] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38972022142795776,"km_value":38972022142795.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468073663263234048,"description":"Unknown IO ID 45"} 
[2026-11-04 14:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208382464001,"power":27995,"unknown_68":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5468073663263234048}} 
[2026-11-04 14:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":232601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:30:14] local.INFO: GPS data processed {"connection_id":232601,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:30:14] local.INFO: Acknowledgment sent {"connection_id":232601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:30:45] local.INFO: TCP Data received {"connection_id":232601,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c88b90012d4be4c006907330003400952d..."} 
[2026-11-04 14:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c88b90012d4be4c006907330003400952d..."} 
[2026-11-04 14:30:45] local.INFO: Processing buffer {"connection_id":232601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c88b90012d4be4c006907330003400952d..."} 
[2026-11-04 14:30:45] local.INFO: Packet analysis {"connection_id":232601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:30:45] local.INFO: Extracted packet for processing {"connection_id":232601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:30:45] local.INFO: GPS Element Parsed {"raw_longitude":759948480,"raw_latitude":110129968,"longitude_deg":75.994848,"latitude_deg":11.0129968,"altitude":52,"angle":149,"satellites":45,"speed":33,"hex_longitude":"2d4be4c0","hex_latitude":"06907330","is_valid_coordinates":true} 
[2026-11-04 14:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208382464001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38972108042141696,"note":"Value kept but may cause issues"} 
[2026-11-04 14:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468073663263234048,"note":"Value kept but may cause issues"} 
[2026-11-04 14:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793782746000,"timestamp_ms":1793782746000,"timestamp_seconds":1793782746,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c88b90"} 
[2026-11-04 14:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:30: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-11-04 14:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208382464001,"66":27843,"68":206,"86":48896,"24":33,"16":38972108042141696,"45":5468073663263234048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-11-04 14:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208382464001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:30:45] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-04 14:30:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38972108042141696,"km_value":38972108042141.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468073663263234048,"description":"Unknown IO ID 45"} 
[2026-11-04 14:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208382464001,"power":27843,"unknown_68":206,"unknown_86":48896,"ignition":33,"odometer":null,"unknown_45":5468073663263234048}} 
[2026-11-04 14:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":232601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:30:45] local.INFO: GPS data processed {"connection_id":232601,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:30:45] local.INFO: Acknowledgment sent {"connection_id":232601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:31:06] local.INFO: TCP Data received {"connection_id":228950,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:06] local.INFO: Processing buffer {"connection_id":228950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:06] local.INFO: IMEI packet received {"connection_id":228950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":228950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:31:07] local.INFO: TCP Data received {"connection_id":228950,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:07] local.INFO: Processing buffer {"connection_id":228950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:07] local.INFO: IMEI packet received {"connection_id":228950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":228950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:31:11] local.INFO: TCP Data received {"connection_id":228950,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:11] local.INFO: Processing buffer {"connection_id":228950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:31:11] local.INFO: IMEI packet received {"connection_id":228950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":228950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:31:11] local.INFO: TCP Data received {"connection_id":228950,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5c8b2a0012d4bf600069054a0003a009b2d..."} 
[2026-11-04 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5c8b2a0012d4bf600069054a0003a009b2d..."} 
[2026-11-04 14:31:11] local.INFO: Processing buffer {"connection_id":228950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5c8b2a0012d4bf600069054a0003a009b2d..."} 
[2026-11-04 14:31:11] local.INFO: Packet analysis {"connection_id":228950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:31:11] local.INFO: Extracted packet for processing {"connection_id":228950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5c8"} 
[2026-11-04 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":759952896,"raw_latitude":110122144,"longitude_deg":75.9952896,"latitude_deg":11.0122144,"altitude":58,"angle":155,"satellites":45,"speed":39,"hex_longitude":"2d4bf600","hex_latitude":"069054a0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208382976001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38972541833838592,"note":"Value kept but may cause issues"} 
[2026-11-04 14:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468706981960429568,"note":"Value kept but may cause issues"} 
[2026-11-04 14:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793782756000,"timestamp_ms":1793782756000,"timestamp_seconds":1793782756,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5c8b2a0"} 
[2026-11-04 14:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 14:31:11] 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-11-04 14: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-11-04 14:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":228950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":228950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":228950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208382976001,"66":27876,"68":206,"86":48896,"24":39,"16":38972541833838592,"45":5468706981960429568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,86,24,16,45]} 
[2026-11-04 14:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208382976001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:31:11] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-04 14:31:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38972541833838592,"km_value":38972541833838.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5468706981960429568,"description":"Unknown IO ID 45"} 
[2026-11-04 14:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208382976001,"power":27876,"unknown_68":206,"unknown_86":48896,"ignition":39,"odometer":null,"unknown_45":5468706981960429568}} 
[2026-11-04 14:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":228950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:31:11] local.INFO: GPS data processed {"connection_id":228950,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:31:11] local.INFO: Acknowledgment sent {"connection_id":228950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:31:28] local.INFO: TCP Data received {"connection_id":229448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:31:28] local.INFO: Processing buffer {"connection_id":229448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:31:28] local.INFO: IMEI packet received {"connection_id":229448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":229448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:31:43] local.INFO: TCP Data received {"connection_id":228950,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ca3170012d4ca080068f70a0004e00952c..."} 
[2026-11-04 14:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ca3170012d4ca080068f70a0004e00952c..."} 
[2026-11-04 14:31:43] local.INFO: Processing buffer {"connection_id":228950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ca3170012d4ca080068f70a0004e00952c..."} 
[2026-11-04 14:31:43] local.INFO: Packet analysis {"connection_id":228950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:31:43] local.INFO: Extracted packet for processing {"connection_id":228950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:31:43] local.INFO: GPS Element Parsed {"raw_longitude":759996544,"raw_latitude":110063776,"longitude_deg":75.9996544,"latitude_deg":11.0063776,"altitude":78,"angle":149,"satellites":44,"speed":27,"hex_longitude":"2d4ca080","hex_latitude":"068f70a0","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208410624001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38976183966105600,"note":"Value kept but may cause issues"} 
[2026-11-04 14:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521553908820910080,"note":"Value kept but may cause issues"} 
[2026-11-04 14:31:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793782854000,"timestamp_ms":1793782854000,"timestamp_seconds":1793782854,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ca3170"} 
[2026-11-04 14:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 14:31: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-11-04 14: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-11-04 14:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208410624001,"66":206,"86":48896,"24":27,"16":38976183966105600,"45":5521553908820910080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208410624001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:31:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38976183966105600,"km_value":38976183966105.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521553908820910080,"description":"Unknown IO ID 45"} 
[2026-11-04 14:31:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208410624001,"power":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5521553908820910080}} 
[2026-11-04 14:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":228950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:31:43] local.INFO: GPS data processed {"connection_id":228950,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:31:43] local.INFO: Acknowledgment sent {"connection_id":228950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:32:06] local.INFO: TCP Data received {"connection_id":232603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:32:06] local.INFO: Processing buffer {"connection_id":232603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:32:06] local.INFO: IMEI packet received {"connection_id":232603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":232603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:32:08] local.INFO: TCP Data received {"connection_id":230757,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:32:08] local.INFO: Processing buffer {"connection_id":230757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:32:08] local.INFO: IMEI packet received {"connection_id":230757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":230757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:32:11] local.INFO: TCP Data received {"connection_id":232603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:32:11] local.INFO: Processing buffer {"connection_id":232603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:32:11] local.INFO: IMEI packet received {"connection_id":232603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":232603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:32:12] local.INFO: TCP Data received {"connection_id":232603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ca3d28012d4ca500068f6a70004e00892b..."} 
[2026-11-04 14:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ca3d28012d4ca500068f6a70004e00892b..."} 
[2026-11-04 14:32:12] local.INFO: Processing buffer {"connection_id":232603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ca3d28012d4ca500068f6a70004e00892b..."} 
[2026-11-04 14:32:12] local.INFO: Packet analysis {"connection_id":232603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:32:12] local.INFO: Extracted packet for processing {"connection_id":232603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:32:12] local.INFO: GPS Element Parsed {"raw_longitude":759997696,"raw_latitude":110062192,"longitude_deg":75.9997696,"latitude_deg":11.0062192,"altitude":78,"angle":137,"satellites":43,"speed":26,"hex_longitude":"2d4ca500","hex_latitude":"068f6a70","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208410624001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38976278455386112,"note":"Value kept but may cause issues"} 
[2026-11-04 14:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5521553908820910080,"note":"Value kept but may cause issues"} 
[2026-11-04 14:32:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782857000,"timestamp_ms":1793782857000,"timestamp_seconds":1793782857,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ca3d28"} 
[2026-11-04 14:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":200,"data_length":795,"current_offset":136} 
[2026-11-04 14:32: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-11-04 14: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-11-04 14:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208410624001,"66":206,"86":48896,"24":26,"16":38976278455386112,"45":5521553908820910080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208410624001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:32:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38976278455386112,"km_value":38976278455386.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5521553908820910080,"description":"Unknown IO ID 45"} 
[2026-11-04 14:32:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208410624001,"power":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5521553908820910080}} 
[2026-11-04 14:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":232603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:32:12] local.INFO: GPS data processed {"connection_id":232603,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:32:12] local.INFO: Acknowledgment sent {"connection_id":232603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:32:43] local.INFO: TCP Data received {"connection_id":232603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ca4cc8012d4cac40068f6428004d007b2a..."} 
[2026-11-04 14:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ca4cc8012d4cac40068f6428004d007b2a..."} 
[2026-11-04 14:32:43] local.INFO: Processing buffer {"connection_id":232603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ca4cc8012d4cac40068f6428004d007b2a..."} 
[2026-11-04 14:32:43] local.INFO: Packet analysis {"connection_id":232603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:32:43] local.INFO: Extracted packet for processing {"connection_id":232603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:32:43] local.INFO: GPS Element Parsed {"raw_longitude":759999552,"raw_latitude":110060584,"longitude_deg":75.9999552,"latitude_deg":11.0060584,"altitude":77,"angle":123,"satellites":42,"speed":22,"hex_longitude":"2d4cac40","hex_latitude":"068f6428","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208411392001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38976394419503104,"note":"Value kept but may cause issues"} 
[2026-11-04 14:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5522820546215702528,"note":"Value kept but may cause issues"} 
[2026-11-04 14:32:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793782861000,"timestamp_ms":1793782861000,"timestamp_seconds":1793782861,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ca4cc8"} 
[2026-11-04 14:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 14:32: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-11-04 14: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-11-04 14:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208411392001,"66":206,"86":48896,"24":22,"16":38976394419503104,"45":5522820546215702528},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208411392001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:32:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38976394419503104,"km_value":38976394419503.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5522820546215702528,"description":"Unknown IO ID 45"} 
[2026-11-04 14:32:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208411392001,"power":206,"unknown_86":48896,"ignition":22,"odometer":null,"unknown_45":5522820546215702528}} 
[2026-11-04 14:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":232603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:32:43] local.INFO: GPS data processed {"connection_id":232603,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:32:43] local.INFO: Acknowledgment sent {"connection_id":232603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:33:06] local.INFO: TCP Data received {"connection_id":228951,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:33:06] local.INFO: Processing buffer {"connection_id":228951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:33:06] local.INFO: IMEI packet received {"connection_id":228951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":228951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:33:11] local.INFO: TCP Data received {"connection_id":228951,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:33:11] local.INFO: Processing buffer {"connection_id":228951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:33:11] local.INFO: IMEI packet received {"connection_id":228951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":228951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:33:12] local.INFO: TCP Data received {"connection_id":228951,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ca5c68012d4cb540068f6008004c00702c..."} 
[2026-11-04 14:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ca5c68012d4cb540068f6008004c00702c..."} 
[2026-11-04 14:33:12] local.INFO: Processing buffer {"connection_id":228951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ca5c68012d4cb540068f6008004c00702c..."} 
[2026-11-04 14:33:12] local.INFO: Packet analysis {"connection_id":228951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:33:12] local.INFO: Extracted packet for processing {"connection_id":228951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:33:12] local.INFO: GPS Element Parsed {"raw_longitude":760001856,"raw_latitude":110059528,"longitude_deg":76.0001856,"latitude_deg":11.0059528,"altitude":76,"angle":112,"satellites":44,"speed":27,"hex_longitude":"2d4cb540","hex_latitude":"068f6008","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208412416001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38976518973554688,"note":"Value kept but may cause issues"} 
[2026-11-04 14:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5524861239796443136,"note":"Value kept but may cause issues"} 
[2026-11-04 14:33:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782865000,"timestamp_ms":1793782865000,"timestamp_seconds":1793782865,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ca5c68"} 
[2026-11-04 14:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 14:33: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-11-04 14: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-11-04 14:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208412416001,"66":206,"86":48896,"24":27,"16":38976518973554688,"45":5524861239796443136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208412416001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:33:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38976518973554688,"km_value":38976518973554.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5524861239796443136,"description":"Unknown IO ID 45"} 
[2026-11-04 14:33:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208412416001,"power":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5524861239796443136}} 
[2026-11-04 14:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":228951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:33:12] local.INFO: GPS data processed {"connection_id":228951,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:33:12] local.INFO: Acknowledgment sent {"connection_id":228951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:33:45] local.INFO: TCP Data received {"connection_id":228951,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5ca9700012d4cd5c0068f4ff00044007a2c..."} 
[2026-11-04 14:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5ca9700012d4cd5c0068f4ff00044007a2c..."} 
[2026-11-04 14:33:45] local.INFO: Processing buffer {"connection_id":228951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5ca9700012d4cd5c0068f4ff00044007a2c..."} 
[2026-11-04 14:33:45] local.INFO: Packet analysis {"connection_id":228951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:33:45] local.INFO: Extracted packet for processing {"connection_id":228951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":760010176,"raw_latitude":110055408,"longitude_deg":76.0010176,"latitude_deg":11.0055408,"altitude":68,"angle":122,"satellites":44,"speed":13,"hex_longitude":"2d4cd5c0","hex_latitude":"068f4ff0","is_valid_coordinates":true} 
[2026-11-04 14:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208413440001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38976961355186176,"note":"Value kept but may cause issues"} 
[2026-11-04 14:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5527394514586568704,"note":"Value kept but may cause issues"} 
[2026-11-04 14:33:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793782880000,"timestamp_ms":1793782880000,"timestamp_seconds":1793782880,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5ca9700"} 
[2026-11-04 14:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 14:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208413440001,"66":206,"86":48896,"24":13,"16":38976961355186176,"45":5527394514586568704},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208413440001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:33:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38976961355186176,"km_value":38976961355186.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5527394514586568704,"description":"Unknown IO ID 45"} 
[2026-11-04 14:33:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208413440001,"power":206,"unknown_86":48896,"ignition":13,"odometer":null,"unknown_45":5527394514586568704}} 
[2026-11-04 14:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":228951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:33:45] local.INFO: GPS data processed {"connection_id":228951,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:33:45] local.INFO: Acknowledgment sent {"connection_id":228951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:34:11] local.INFO: TCP Data received {"connection_id":229450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:34:11] local.INFO: Processing buffer {"connection_id":229450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:34:11] local.INFO: IMEI packet received {"connection_id":229450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":229450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:34:16] local.INFO: TCP Data received {"connection_id":229450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:34:16] local.INFO: Processing buffer {"connection_id":229450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:34:16] local.INFO: IMEI packet received {"connection_id":229450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":229450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:34:18] local.INFO: TCP Data received {"connection_id":229450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5caaa88012d4cdac0068f4c68004300882c..."} 
[2026-11-04 14:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5caaa88012d4cdac0068f4c68004300882c..."} 
[2026-11-04 14:34:18] local.INFO: Processing buffer {"connection_id":229450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5caaa88012d4cdac0068f4c68004300882c..."} 
[2026-11-04 14:34:18] local.INFO: Packet analysis {"connection_id":229450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:34:18] local.INFO: Extracted packet for processing {"connection_id":229450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:34:18] local.INFO: GPS Element Parsed {"raw_longitude":760011456,"raw_latitude":110054504,"longitude_deg":76.0011456,"latitude_deg":11.0054504,"altitude":67,"angle":136,"satellites":44,"speed":10,"hex_longitude":"2d4cdac0","hex_latitude":"068f4c68","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208417280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977038664597504,"note":"Value kept but may cause issues"} 
[2026-11-04 14:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536542451328610304,"note":"Value kept but may cause issues"} 
[2026-11-04 14:34:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793782885000,"timestamp_ms":1793782885000,"timestamp_seconds":1793782885,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5caaa88"} 
[2026-11-04 14:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 14:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208417280001,"66":206,"86":48896,"24":10,"16":38977038664597504,"45":5536542451328610304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208417280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:34:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977038664597504,"km_value":38977038664597.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536542451328610304,"description":"Unknown IO ID 45"} 
[2026-11-04 14:34:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208417280001,"power":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5536542451328610304}} 
[2026-11-04 14:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":229450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:34:18] local.INFO: GPS data processed {"connection_id":229450,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:34:18] local.INFO: Acknowledgment sent {"connection_id":229450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:34:21] local.INFO: TCP Data received {"connection_id":229450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cac9c8012d4cdf00068f47a00040007c2d..."} 
[2026-11-04 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cac9c8012d4cdf00068f47a00040007c2d..."} 
[2026-11-04 14:34:21] local.INFO: Processing buffer {"connection_id":229450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cac9c8012d4cdf00068f47a00040007c2d..."} 
[2026-11-04 14:34:21] local.INFO: Packet analysis {"connection_id":229450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:34:21] local.INFO: Extracted packet for processing {"connection_id":229450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":760012544,"raw_latitude":110053280,"longitude_deg":76.0012544,"latitude_deg":11.005328,"altitude":64,"angle":124,"satellites":45,"speed":7,"hex_longitude":"2d4cdf00","hex_latitude":"068f47a0","is_valid_coordinates":true} 
[2026-11-04 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208418560001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977115974008832,"note":"Value kept but may cause issues"} 
[2026-11-04 14:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5537949826211932160,"note":"Value kept but may cause issues"} 
[2026-11-04 14:34:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793782893000,"timestamp_ms":1793782893000,"timestamp_seconds":1793782893,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cac9c8"} 
[2026-11-04 14:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 14:34:21] 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-11-04 14:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208418560001,"66":206,"86":48896,"24":7,"16":38977115974008832,"45":5537949826211932160},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208418560001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:34:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977115974008832,"km_value":38977115974008.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5537949826211932160,"description":"Unknown IO ID 45"} 
[2026-11-04 14:34:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208418560001,"power":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5537949826211932160}} 
[2026-11-04 14:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":229450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:34:21] local.INFO: GPS data processed {"connection_id":229450,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:34:21] local.INFO: Acknowledgment sent {"connection_id":229450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:35:06] local.INFO: TCP Data received {"connection_id":228952,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:35:06] local.INFO: Processing buffer {"connection_id":228952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:35:06] local.INFO: IMEI packet received {"connection_id":228952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":228952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:35:11] local.INFO: TCP Data received {"connection_id":228952,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:35:11] local.INFO: Processing buffer {"connection_id":228952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:35:11] local.INFO: IMEI packet received {"connection_id":228952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":228952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:35:12] local.INFO: TCP Data received {"connection_id":228952,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cad198012d4ce000068f4650004000882d..."} 
[2026-11-04 14:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cad198012d4ce000068f4650004000882d..."} 
[2026-11-04 14:35:12] local.INFO: Processing buffer {"connection_id":228952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cad198012d4ce000068f4650004000882d..."} 
[2026-11-04 14:35:12] local.INFO: Packet analysis {"connection_id":228952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:35:12] local.INFO: Extracted packet for processing {"connection_id":228952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:35:12] local.INFO: GPS Element Parsed {"raw_longitude":760012800,"raw_latitude":110052944,"longitude_deg":76.00128,"latitude_deg":11.0052944,"altitude":64,"angle":136,"satellites":45,"speed":7,"hex_longitude":"2d4ce000","hex_latitude":"068f4650","is_valid_coordinates":true} 
[2026-11-04 14:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208420608001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977137448845312,"note":"Value kept but may cause issues"} 
[2026-11-04 14:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539146094862639104,"note":"Value kept but may cause issues"} 
[2026-11-04 14:35:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782895000,"timestamp_ms":1793782895000,"timestamp_seconds":1793782895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cad198"} 
[2026-11-04 14:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 14:35: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-11-04 14:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208420608001,"66":206,"86":48896,"24":7,"16":38977137448845312,"45":5539146094862639104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208420608001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:35:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977137448845312,"km_value":38977137448845.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539146094862639104,"description":"Unknown IO ID 45"} 
[2026-11-04 14:35:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208420608001,"power":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5539146094862639104}} 
[2026-11-04 14:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":228952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:35:12] local.INFO: GPS data processed {"connection_id":228952,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:35:12] local.INFO: Acknowledgment sent {"connection_id":228952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:35:43] local.INFO: TCP Data received {"connection_id":228952,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cad968012d4ce140068f45400040007a2c..."} 
[2026-11-04 14:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cad968012d4ce140068f45400040007a2c..."} 
[2026-11-04 14:35:43] local.INFO: Processing buffer {"connection_id":228952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cad968012d4ce140068f45400040007a2c..."} 
[2026-11-04 14:35:43] local.INFO: Packet analysis {"connection_id":228952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:35:43] local.INFO: Extracted packet for processing {"connection_id":228952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:35:43] local.INFO: GPS Element Parsed {"raw_longitude":760013120,"raw_latitude":110052672,"longitude_deg":76.001312,"latitude_deg":11.0052672,"altitude":64,"angle":122,"satellites":44,"speed":7,"hex_longitude":"2d4ce140","hex_latitude":"068f4540","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208421120001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977158923681792,"note":"Value kept but may cause issues"} 
[2026-11-04 14:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539427569839263744,"note":"Value kept but may cause issues"} 
[2026-11-04 14:35:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793782897000,"timestamp_ms":1793782897000,"timestamp_seconds":1793782897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cad968"} 
[2026-11-04 14:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 14:35:43] 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-11-04 14: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-11-04 14:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208421120001,"66":206,"86":48896,"24":7,"16":38977158923681792,"45":5539427569839263744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208421120001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:35:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977158923681792,"km_value":38977158923681.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539427569839263744,"description":"Unknown IO ID 45"} 
[2026-11-04 14:35:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208421120001,"power":206,"unknown_86":48896,"ignition":7,"odometer":null,"unknown_45":5539427569839263744}} 
[2026-11-04 14:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":228952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:35:43] local.INFO: GPS data processed {"connection_id":228952,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:35:43] local.INFO: Acknowledgment sent {"connection_id":228952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:36:06] local.INFO: TCP Data received {"connection_id":230758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:36:06] local.INFO: Processing buffer {"connection_id":230758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:36:06] local.INFO: IMEI packet received {"connection_id":230758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":230758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:36:11] local.INFO: TCP Data received {"connection_id":230758,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:36:11] local.INFO: Processing buffer {"connection_id":230758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:36:11] local.INFO: IMEI packet received {"connection_id":230758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":230758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:36:12] local.INFO: TCP Data received {"connection_id":230758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:36:12] local.INFO: Processing buffer {"connection_id":230758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:36:12] local.INFO: Packet analysis {"connection_id":230758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:36:12] local.INFO: Extracted packet for processing {"connection_id":230758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":760013440,"raw_latitude":110052440,"longitude_deg":76.001344,"latitude_deg":11.005244,"altitude":65,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4ce280","hex_latitude":"068f4458","is_valid_coordinates":true} 
[2026-11-04 14:36: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-11-04 14:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208421632001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539779413560082432,"note":"Value kept but may cause issues"} 
[2026-11-04 14:36:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782900000,"timestamp_ms":1793782900000,"timestamp_seconds":1793782900,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cae520"} 
[2026-11-04 14:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 14:36: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-11-04 14:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208421632001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539779413560082432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208421632001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:36:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539779413560082432,"description":"Unknown IO ID 45"} 
[2026-11-04 14:36:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208421632001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539779413560082432}} 
[2026-11-04 14:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":230758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:36:12] local.INFO: GPS data processed {"connection_id":230758,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:36:12] local.INFO: Acknowledgment sent {"connection_id":230758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:36:43] local.INFO: TCP Data received {"connection_id":230758,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:36:43] local.INFO: Processing buffer {"connection_id":230758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:36:43] local.INFO: Packet analysis {"connection_id":230758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:36:43] local.INFO: Extracted packet for processing {"connection_id":230758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:36:43] local.INFO: GPS Element Parsed {"raw_longitude":760013440,"raw_latitude":110052440,"longitude_deg":76.001344,"latitude_deg":11.005244,"altitude":65,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4ce280","hex_latitude":"068f4458","is_valid_coordinates":true} 
[2026-11-04 14:36: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-11-04 14:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208421632001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539779413560082432,"note":"Value kept but may cause issues"} 
[2026-11-04 14:36:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793782900000,"timestamp_ms":1793782900000,"timestamp_seconds":1793782900,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cae520"} 
[2026-11-04 14:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 14:36: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-11-04 14: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-11-04 14:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208421632001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539779413560082432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208421632001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:36:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539779413560082432,"description":"Unknown IO ID 45"} 
[2026-11-04 14:36:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208421632001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539779413560082432}} 
[2026-11-04 14:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":230758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:36:43] local.INFO: GPS data processed {"connection_id":230758,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:36:43] local.INFO: Acknowledgment sent {"connection_id":230758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:37:06] local.INFO: TCP Data received {"connection_id":228953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:37:06] local.INFO: Processing buffer {"connection_id":228953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:37:06] local.INFO: IMEI packet received {"connection_id":228953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":228953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:37:11] local.INFO: TCP Data received {"connection_id":228953,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:37:11] local.INFO: Processing buffer {"connection_id":228953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:37:11] local.INFO: IMEI packet received {"connection_id":228953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":228953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:37:12] local.INFO: TCP Data received {"connection_id":228953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:37:12] local.INFO: Processing buffer {"connection_id":228953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cae520012d4ce280068f4458004100722c..."} 
[2026-11-04 14:37:12] local.INFO: Packet analysis {"connection_id":228953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:37:12] local.INFO: Extracted packet for processing {"connection_id":228953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ca"} 
[2026-11-04 14:37:12] local.INFO: GPS Element Parsed {"raw_longitude":760013440,"raw_latitude":110052440,"longitude_deg":76.001344,"latitude_deg":11.005244,"altitude":65,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4ce280","hex_latitude":"068f4458","is_valid_coordinates":true} 
[2026-11-04 14:37: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-11-04 14:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208421632001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539779413560082432,"note":"Value kept but may cause issues"} 
[2026-11-04 14:37:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793782900000,"timestamp_ms":1793782900000,"timestamp_seconds":1793782900,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cae520"} 
[2026-11-04 14:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 14:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 14:37: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-11-04 14:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208421632001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539779413560082432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208421632001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:37:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539779413560082432,"description":"Unknown IO ID 45"} 
[2026-11-04 14:37:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208421632001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539779413560082432}} 
[2026-11-04 14:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":228953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:37:12] local.INFO: GPS data processed {"connection_id":228953,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:37:12] local.INFO: Acknowledgment sent {"connection_id":228953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:37:28] local.INFO: TCP Data received {"connection_id":228954,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:37:28] local.INFO: Processing buffer {"connection_id":228954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:37:28] local.INFO: IMEI packet received {"connection_id":228954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":228954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:37:44] local.INFO: TCP Data received {"connection_id":228953,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:37:44] local.INFO: Processing buffer {"connection_id":228953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:37:44] local.INFO: Packet analysis {"connection_id":228953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:37:44] local.INFO: Extracted packet for processing {"connection_id":228953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:37:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:37:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14: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-11-04 14: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-11-04 14:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:37:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:37:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":228953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:37:44] local.INFO: GPS data processed {"connection_id":228953,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:37:44] local.INFO: Acknowledgment sent {"connection_id":228953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:38:06] local.INFO: TCP Data received {"connection_id":232605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:38:06] local.INFO: Processing buffer {"connection_id":232605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:38:06] local.INFO: IMEI packet received {"connection_id":232605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":232605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:38:11] local.INFO: TCP Data received {"connection_id":232605,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:38:11] local.INFO: Processing buffer {"connection_id":232605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:38:11] local.INFO: IMEI packet received {"connection_id":232605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":232605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:38:12] local.INFO: TCP Data received {"connection_id":232605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:38:12] local.INFO: Processing buffer {"connection_id":232605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:38:12] local.INFO: Packet analysis {"connection_id":232605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:38:12] local.INFO: Extracted packet for processing {"connection_id":232605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:38:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:38:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:38: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-11-04 14:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:38:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:38:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":232605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:38:12] local.INFO: GPS data processed {"connection_id":232605,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:38:12] local.INFO: Acknowledgment sent {"connection_id":232605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:38:13] local.INFO: TCP Data received {"connection_id":229452,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:38:13] local.INFO: Processing buffer {"connection_id":229452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:38:13] local.INFO: IMEI packet received {"connection_id":229452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":229452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:38:44] local.INFO: TCP Data received {"connection_id":232605,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:38:44] local.INFO: Processing buffer {"connection_id":232605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:38:44] local.INFO: Packet analysis {"connection_id":232605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:38:44] local.INFO: Extracted packet for processing {"connection_id":232605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:38:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:38:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:38: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-11-04 14: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-11-04 14:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:38:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:38:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":232605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:38:44] local.INFO: GPS data processed {"connection_id":232605,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:38:44] local.INFO: Acknowledgment sent {"connection_id":232605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:39:11] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:39:11] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:39:11] local.INFO: IMEI packet received {"connection_id":229453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":229453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:39:16] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:39:16] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:39:16] local.INFO: IMEI packet received {"connection_id":229453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":229453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:39:17] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:39:17] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:39:17] local.INFO: Packet analysis {"connection_id":229453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:39:17] local.INFO: Extracted packet for processing {"connection_id":229453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:39:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:39:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:39: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-11-04 14:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:39:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:39:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":229453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:39:17] local.INFO: GPS data processed {"connection_id":229453,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:39:17] local.INFO: Acknowledgment sent {"connection_id":229453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:39:21] local.INFO: TCP Data received {"connection_id":229453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:39:21] local.INFO: Processing buffer {"connection_id":229453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:39:21] local.INFO: Packet analysis {"connection_id":229453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:39:21] local.INFO: Extracted packet for processing {"connection_id":229453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:39: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-11-04 14:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:39:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:39: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":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:39:21] 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-11-04 14:39: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-11-04 14:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:39:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:39:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":229453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:39:21] local.INFO: GPS data processed {"connection_id":229453,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:39:21] local.INFO: Acknowledgment sent {"connection_id":229453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:40:06] local.INFO: TCP Data received {"connection_id":228955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:40:06] local.INFO: Processing buffer {"connection_id":228955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:40:06] local.INFO: IMEI packet received {"connection_id":228955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":228955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:40:11] local.INFO: TCP Data received {"connection_id":228955,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:40:11] local.INFO: Processing buffer {"connection_id":228955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:40:11] local.INFO: IMEI packet received {"connection_id":228955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":228955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:40:12] local.INFO: TCP Data received {"connection_id":228955,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:40:12] local.INFO: Processing buffer {"connection_id":228955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:40:12] local.INFO: Packet analysis {"connection_id":228955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:40:12] local.INFO: Extracted packet for processing {"connection_id":228955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:40:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:40:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:40: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-11-04 14:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:40:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:40:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":228955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:40:12] local.INFO: GPS data processed {"connection_id":228955,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:40:12] local.INFO: Acknowledgment sent {"connection_id":228955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:40:43] local.INFO: TCP Data received {"connection_id":228955,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:40:43] local.INFO: Processing buffer {"connection_id":228955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:40:43] local.INFO: Packet analysis {"connection_id":228955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:40:43] local.INFO: Extracted packet for processing {"connection_id":228955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:40:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:40:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:40:43] 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-11-04 14: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-11-04 14:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:40:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:40:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":228955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:40:43] local.INFO: GPS data processed {"connection_id":228955,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:40:43] local.INFO: Acknowledgment sent {"connection_id":228955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:41:06] local.INFO: TCP Data received {"connection_id":229455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:41:06] local.INFO: Processing buffer {"connection_id":229455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:41:06] local.INFO: IMEI packet received {"connection_id":229455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":229455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:41:11] local.INFO: TCP Data received {"connection_id":229455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:41:11] local.INFO: Processing buffer {"connection_id":229455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:41:11] local.INFO: IMEI packet received {"connection_id":229455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":229455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:41:12] local.INFO: TCP Data received {"connection_id":229455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:41:12] local.INFO: Processing buffer {"connection_id":229455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:41:12] local.INFO: Packet analysis {"connection_id":229455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:41:12] local.INFO: Extracted packet for processing {"connection_id":229455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:41:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:41:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:41: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-11-04 14:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:41:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:41:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":229455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:41:12] local.INFO: GPS data processed {"connection_id":229455,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:41:12] local.INFO: Acknowledgment sent {"connection_id":229455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:41:43] local.INFO: TCP Data received {"connection_id":229455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:41:43] local.INFO: Processing buffer {"connection_id":229455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:41:43] local.INFO: Packet analysis {"connection_id":229455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:41:43] local.INFO: Extracted packet for processing {"connection_id":229455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:41:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:41:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:41:43] 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-11-04 14: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-11-04 14:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:41:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:41:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":229455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:41:43] local.INFO: GPS data processed {"connection_id":229455,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:41:43] local.INFO: Acknowledgment sent {"connection_id":229455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:42:06] local.INFO: TCP Data received {"connection_id":228957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:42:06] local.INFO: Processing buffer {"connection_id":228957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:42:06] local.INFO: IMEI packet received {"connection_id":228957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":228957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:42:11] local.INFO: TCP Data received {"connection_id":228957,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:42:11] local.INFO: Processing buffer {"connection_id":228957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:42:11] local.INFO: IMEI packet received {"connection_id":228957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":228957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:42:12] local.INFO: TCP Data received {"connection_id":228957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:42:12] local.INFO: Processing buffer {"connection_id":228957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5cf88a0012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:42:12] local.INFO: Packet analysis {"connection_id":228957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:42:12] local.INFO: Extracted packet for processing {"connection_id":228957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5cf"} 
[2026-11-04 14:42:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208422400001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5540131257280911360,"note":"Value kept but may cause issues"} 
[2026-11-04 14:42:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783204000,"timestamp_ms":1793783204000,"timestamp_seconds":1793783204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5cf88a0"} 
[2026-11-04 14:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 14:42: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-11-04 14: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-11-04 14:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208422400001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5540131257280911360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208422400001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:42:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5540131257280911360,"description":"Unknown IO ID 45"} 
[2026-11-04 14:42:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208422400001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5540131257280911360}} 
[2026-11-04 14:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":228957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:42:12] local.INFO: GPS data processed {"connection_id":228957,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:42:12] local.INFO: Acknowledgment sent {"connection_id":228957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:42:43] local.INFO: TCP Data received {"connection_id":228957,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:42:43] local.INFO: Processing buffer {"connection_id":228957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:42:43] local.INFO: Packet analysis {"connection_id":228957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:42:43] local.INFO: Extracted packet for processing {"connection_id":228957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:42:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:42:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:42:43] 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-11-04 14: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-11-04 14:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":228957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":228957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":228957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:42:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:42:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":228957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:42:43] local.INFO: GPS data processed {"connection_id":228957,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:42:43] local.INFO: Acknowledgment sent {"connection_id":228957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:43:06] local.INFO: TCP Data received {"connection_id":232607,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:43:06] local.INFO: Processing buffer {"connection_id":232607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:43:06] local.INFO: IMEI packet received {"connection_id":232607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":232607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:43:11] local.INFO: TCP Data received {"connection_id":232607,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:43:11] local.INFO: Processing buffer {"connection_id":232607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:43:11] local.INFO: IMEI packet received {"connection_id":232607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":232607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:43:12] local.INFO: TCP Data received {"connection_id":232607,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:43:12] local.INFO: Processing buffer {"connection_id":232607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:43:12] local.INFO: Packet analysis {"connection_id":232607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:43:12] local.INFO: Extracted packet for processing {"connection_id":232607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:43:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:43:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:43:12] 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-11-04 14: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-11-04 14:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:43:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:43:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":232607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:43:12] local.INFO: GPS data processed {"connection_id":232607,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:43:12] local.INFO: Acknowledgment sent {"connection_id":232607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:43:39] local.INFO: TCP Data received {"connection_id":230761,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:43:39] local.INFO: Processing buffer {"connection_id":230761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:43:39] local.INFO: IMEI packet received {"connection_id":230761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":230761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:43:44] local.INFO: TCP Data received {"connection_id":232607,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:43:44] local.INFO: Processing buffer {"connection_id":232607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:43:44] local.INFO: Packet analysis {"connection_id":232607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:43:44] local.INFO: Extracted packet for processing {"connection_id":232607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:43:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:43:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:43:44] 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-11-04 14: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-11-04 14:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:43:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:43:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":232607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:43:44] local.INFO: GPS data processed {"connection_id":232607,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:43:44] local.INFO: Acknowledgment sent {"connection_id":232607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:44:06] local.INFO: TCP Data received {"connection_id":228958,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:44:06] local.INFO: Processing buffer {"connection_id":228958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:44:06] local.INFO: IMEI packet received {"connection_id":228958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":228958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:44:11] local.INFO: TCP Data received {"connection_id":228959,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:44:11] local.INFO: Processing buffer {"connection_id":228959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:44:11] local.INFO: IMEI packet received {"connection_id":228959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":228959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:44:16] local.INFO: TCP Data received {"connection_id":228959,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:44:16] local.INFO: Processing buffer {"connection_id":228959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:44:16] local.INFO: IMEI packet received {"connection_id":228959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":228959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:44:17] local.INFO: TCP Data received {"connection_id":228959,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:44:17] local.INFO: Processing buffer {"connection_id":228959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:44:17] local.INFO: Packet analysis {"connection_id":228959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:44:17] local.INFO: Extracted packet for processing {"connection_id":228959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:44:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:44:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:44:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:44:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":228959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:44:17] local.INFO: GPS data processed {"connection_id":228959,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:44:17] local.INFO: Acknowledgment sent {"connection_id":228959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:44:22] local.INFO: TCP Data received {"connection_id":228959,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:44:22] local.INFO: Processing buffer {"connection_id":228959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:44:22] local.INFO: Packet analysis {"connection_id":228959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:44:22] local.INFO: Extracted packet for processing {"connection_id":228959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:44:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:44:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:44:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":228959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:44:22] local.INFO: GPS data processed {"connection_id":228959,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:44:22] local.INFO: Acknowledgment sent {"connection_id":228959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:45:06] local.INFO: TCP Data received {"connection_id":230762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:45:06] local.INFO: Processing buffer {"connection_id":230762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:45:06] local.INFO: IMEI packet received {"connection_id":230762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":230762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:45:11] local.INFO: TCP Data received {"connection_id":230762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:45:11] local.INFO: Processing buffer {"connection_id":230762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:45:11] local.INFO: IMEI packet received {"connection_id":230762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":230762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:45:12] local.INFO: TCP Data received {"connection_id":230762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:45:12] local.INFO: Processing buffer {"connection_id":230762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:45:12] local.INFO: Packet analysis {"connection_id":230762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:45:12] local.INFO: Extracted packet for processing {"connection_id":230762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:45:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:45:12] 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-11-04 14:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:45:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:45:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":230762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:45:12] local.INFO: GPS data processed {"connection_id":230762,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:45:12] local.INFO: Acknowledgment sent {"connection_id":230762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:45:44] local.INFO: TCP Data received {"connection_id":230762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:45:44] local.INFO: Processing buffer {"connection_id":230762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:45:44] local.INFO: Packet analysis {"connection_id":230762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:45:44] local.INFO: Extracted packet for processing {"connection_id":230762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:45:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:45:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:45:44] 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-11-04 14: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-11-04 14:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:45:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:45:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":230762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:45:44] local.INFO: GPS data processed {"connection_id":230762,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:45:44] local.INFO: Acknowledgment sent {"connection_id":230762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:46:10] local.INFO: TCP Data received {"connection_id":232610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:46:10] local.INFO: Processing buffer {"connection_id":232610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:46:10] local.INFO: IMEI packet received {"connection_id":232610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":232610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:46:11] local.INFO: TCP Data received {"connection_id":232610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:46:11] local.INFO: Processing buffer {"connection_id":232610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:46:11] local.INFO: IMEI packet received {"connection_id":232610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":232610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:46:12] local.INFO: TCP Data received {"connection_id":232610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:12] local.INFO: Processing buffer {"connection_id":232610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:12] local.INFO: Packet analysis {"connection_id":232610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:46:12] local.INFO: Extracted packet for processing {"connection_id":232610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:46:12] 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-11-04 14:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:46:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:46:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":232610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:46:12] local.INFO: GPS data processed {"connection_id":232610,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:46:12] local.INFO: Acknowledgment sent {"connection_id":232610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:46:17] local.INFO: TCP Data received {"connection_id":232610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:17] local.INFO: Processing buffer {"connection_id":232610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:17] local.INFO: Packet analysis {"connection_id":232610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:46:17] local.INFO: Extracted packet for processing {"connection_id":232610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:46:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:46:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":232610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:46:17] local.INFO: GPS data processed {"connection_id":232610,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:46:17] local.INFO: Acknowledgment sent {"connection_id":232610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:46:48] local.INFO: TCP Data received {"connection_id":232610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:48] local.INFO: Processing buffer {"connection_id":232610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:46:48] local.INFO: Packet analysis {"connection_id":232610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:46:48] local.INFO: Extracted packet for processing {"connection_id":232610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:46:48] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:46:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:46:48] 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-11-04 14:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:46:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:46:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":232610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:46:48] local.INFO: GPS data processed {"connection_id":232610,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:46:48] local.INFO: Acknowledgment sent {"connection_id":232610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:47:06] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:47:06] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:47:06] local.INFO: IMEI packet received {"connection_id":229456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":229456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:47:11] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:47:11] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:47:11] local.INFO: IMEI packet received {"connection_id":229456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":229456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:47:12] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:47:12] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d42068012d4cdf80068f46a8004600722c..."} 
[2026-11-04 14:47:12] local.INFO: Packet analysis {"connection_id":229456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:47:12] local.INFO: Extracted packet for processing {"connection_id":229456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d4"} 
[2026-11-04 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208500224001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:47:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 14:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783505000,"timestamp_ms":1793783505000,"timestamp_seconds":1793783505,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d42068"} 
[2026-11-04 14:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-11-04 14:47:12] 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-11-04 14: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-11-04 14:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208500224001,"66":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 14:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208500224001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:47:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:47:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459208500224001,"power":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":229456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:47:12] local.INFO: GPS data processed {"connection_id":229456,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:47:12] local.INFO: Acknowledgment sent {"connection_id":229456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:47:44] local.INFO: TCP Data received {"connection_id":229456,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:47:44] local.INFO: Processing buffer {"connection_id":229456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:47:44] local.INFO: Packet analysis {"connection_id":229456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:47:44] local.INFO: Extracted packet for processing {"connection_id":229456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:47:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:47: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-11-04 14: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-11-04 14:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:47:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:47:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":229456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:47:44] local.INFO: GPS data processed {"connection_id":229456,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:47:44] local.INFO: Acknowledgment sent {"connection_id":229456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:48:06] local.INFO: TCP Data received {"connection_id":230763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:48:06] local.INFO: Processing buffer {"connection_id":230763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:48:06] local.INFO: IMEI packet received {"connection_id":230763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":230763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:48:11] local.INFO: TCP Data received {"connection_id":230763,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:48:11] local.INFO: Processing buffer {"connection_id":230763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:48:11] local.INFO: IMEI packet received {"connection_id":230763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":230763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:48:12] local.INFO: TCP Data received {"connection_id":230763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:48:12] local.INFO: Processing buffer {"connection_id":230763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:48:12] local.INFO: Packet analysis {"connection_id":230763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:48:12] local.INFO: Extracted packet for processing {"connection_id":230763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:48: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-11-04 14:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:48:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:48:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":230763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:48:12] local.INFO: GPS data processed {"connection_id":230763,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:48:12] local.INFO: Acknowledgment sent {"connection_id":230763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:48:43] local.INFO: TCP Data received {"connection_id":230763,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:48:43] local.INFO: Processing buffer {"connection_id":230763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:48:43] local.INFO: Packet analysis {"connection_id":230763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:48:43] local.INFO: Extracted packet for processing {"connection_id":230763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:48:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:48: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-11-04 14:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:48:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:48:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":230763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:48:43] local.INFO: GPS data processed {"connection_id":230763,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:48:43] local.INFO: Acknowledgment sent {"connection_id":230763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:49:06] local.INFO: TCP Data received {"connection_id":230765,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:49:06] local.INFO: Processing buffer {"connection_id":230765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:49:06] local.INFO: IMEI packet received {"connection_id":230765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":230765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:49:11] local.INFO: TCP Data received {"connection_id":230765,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:49:11] local.INFO: Processing buffer {"connection_id":230765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:49:11] local.INFO: IMEI packet received {"connection_id":230765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":230765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:49:12] local.INFO: TCP Data received {"connection_id":230765,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:49:12] local.INFO: Processing buffer {"connection_id":230765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:49:12] local.INFO: Packet analysis {"connection_id":230765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:49:12] local.INFO: Extracted packet for processing {"connection_id":230765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:49:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:49: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-11-04 14: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-11-04 14:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:49:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:49:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":230765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:49:12] local.INFO: GPS data processed {"connection_id":230765,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:49:12] local.INFO: Acknowledgment sent {"connection_id":230765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:49:29] local.INFO: TCP Data received {"connection_id":228961,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:49:29] local.INFO: Processing buffer {"connection_id":228961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:49:29] local.INFO: IMEI packet received {"connection_id":228961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":228961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:49:44] local.INFO: TCP Data received {"connection_id":230765,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:49:44] local.INFO: Processing buffer {"connection_id":230765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:49:44] local.INFO: Packet analysis {"connection_id":230765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:49:44] local.INFO: Extracted packet for processing {"connection_id":230765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:49: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-11-04 14: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-11-04 14:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:49:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:49:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":230765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:49:44] local.INFO: GPS data processed {"connection_id":230765,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:49:44] local.INFO: Acknowledgment sent {"connection_id":230765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:50:11] local.INFO: TCP Data received {"connection_id":229457,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:50:11] local.INFO: Processing buffer {"connection_id":229457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:50:11] local.INFO: IMEI packet received {"connection_id":229457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":229457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:50:16] local.INFO: TCP Data received {"connection_id":229457,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:50:16] local.INFO: Processing buffer {"connection_id":229457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:50:16] local.INFO: IMEI packet received {"connection_id":229457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":229457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:50:17] local.INFO: TCP Data received {"connection_id":229457,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:50:17] local.INFO: Processing buffer {"connection_id":229457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:50:17] local.INFO: Packet analysis {"connection_id":229457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:50:17] local.INFO: Extracted packet for processing {"connection_id":229457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:50:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:50: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-11-04 14: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-11-04 14:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:50:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:50:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":229457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:50:17] local.INFO: GPS data processed {"connection_id":229457,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:50:17] local.INFO: Acknowledgment sent {"connection_id":229457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:50:22] local.INFO: TCP Data received {"connection_id":229457,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:50:22] local.INFO: Processing buffer {"connection_id":229457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:50:22] local.INFO: Packet analysis {"connection_id":229457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:50:22] local.INFO: Extracted packet for processing {"connection_id":229457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:50:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:50: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-11-04 14: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-11-04 14:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:50:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:50:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":229457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:50:22] local.INFO: GPS data processed {"connection_id":229457,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:50:22] local.INFO: Acknowledgment sent {"connection_id":229457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:51:06] local.INFO: TCP Data received {"connection_id":230767,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:51:06] local.INFO: Processing buffer {"connection_id":230767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:51:06] local.INFO: IMEI packet received {"connection_id":230767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":230767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:51:11] local.INFO: TCP Data received {"connection_id":230767,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:51:11] local.INFO: Processing buffer {"connection_id":230767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:51:11] local.INFO: IMEI packet received {"connection_id":230767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":230767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:51:12] local.INFO: TCP Data received {"connection_id":230767,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:51:12] local.INFO: Processing buffer {"connection_id":230767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:51:12] local.INFO: Packet analysis {"connection_id":230767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:51:12] local.INFO: Extracted packet for processing {"connection_id":230767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:51:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:51: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-11-04 14: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-11-04 14:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:51:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:51:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":230767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:51:12] local.INFO: GPS data processed {"connection_id":230767,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:51:12] local.INFO: Acknowledgment sent {"connection_id":230767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:51:44] local.INFO: TCP Data received {"connection_id":230767,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:51:44] local.INFO: Processing buffer {"connection_id":230767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:51:44] local.INFO: Packet analysis {"connection_id":230767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:51:44] local.INFO: Extracted packet for processing {"connection_id":230767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:51:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:51: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-11-04 14: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-11-04 14:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:51:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:51:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":230767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:51:44] local.INFO: GPS data processed {"connection_id":230767,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:51:44] local.INFO: Acknowledgment sent {"connection_id":230767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:52:07] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:52:07] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:52:07] local.INFO: IMEI packet received {"connection_id":229458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":229458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:52:11] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:52:11] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:52:11] local.INFO: IMEI packet received {"connection_id":229458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":229458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:52:13] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:52:13] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5d8b830012d4cdf80068f46a8004600722a..."} 
[2026-11-04 14:52:13] local.INFO: Packet analysis {"connection_id":229458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:52:13] local.INFO: Extracted packet for processing {"connection_id":229458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5d8"} 
[2026-11-04 14:52:13] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":42,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208577280001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793783806000,"timestamp_ms":1793783806000,"timestamp_seconds":1793783806,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5d8b830"} 
[2026-11-04 14:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 14:52: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-11-04 14: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-11-04 14:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208577280001,"66":25560,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208577280001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:52:13] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:52:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208577280001,"power":25560,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":229458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:52:13] local.INFO: GPS data processed {"connection_id":229458,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:52:13] local.INFO: Acknowledgment sent {"connection_id":229458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:52:44] local.INFO: TCP Data received {"connection_id":229458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:52:44] local.INFO: Processing buffer {"connection_id":229458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:52:44] local.INFO: Packet analysis {"connection_id":229458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:52:44] local.INFO: Extracted packet for processing {"connection_id":229458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:52:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:52:44] 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-11-04 14: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-11-04 14:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:52:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:52:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":229458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:52:44] local.INFO: GPS data processed {"connection_id":229458,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:52:44] local.INFO: Acknowledgment sent {"connection_id":229458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:53:06] local.INFO: TCP Data received {"connection_id":229461,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:53:06] local.INFO: Processing buffer {"connection_id":229461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:53:06] local.INFO: IMEI packet received {"connection_id":229461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":229461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:53:11] local.INFO: TCP Data received {"connection_id":229461,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:53:11] local.INFO: Processing buffer {"connection_id":229461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:53:11] local.INFO: IMEI packet received {"connection_id":229461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":229461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:53:12] local.INFO: TCP Data received {"connection_id":229461,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:53:12] local.INFO: Processing buffer {"connection_id":229461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:53:12] local.INFO: Packet analysis {"connection_id":229461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:53:12] local.INFO: Extracted packet for processing {"connection_id":229461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:53:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:53:12] 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-11-04 14: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-11-04 14:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:53:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:53:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":229461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:53:12] local.INFO: GPS data processed {"connection_id":229461,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:53:12] local.INFO: Acknowledgment sent {"connection_id":229461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:53:44] local.INFO: TCP Data received {"connection_id":229461,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:53:44] local.INFO: Processing buffer {"connection_id":229461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:53:44] local.INFO: Packet analysis {"connection_id":229461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:53:44] local.INFO: Extracted packet for processing {"connection_id":229461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:53:44] 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-11-04 14: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-11-04 14:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:53:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:53:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":229461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:53:44] local.INFO: GPS data processed {"connection_id":229461,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:53:44] local.INFO: Acknowledgment sent {"connection_id":229461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:54:11] local.INFO: TCP Data received {"connection_id":230770,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:54:11] local.INFO: Processing buffer {"connection_id":230770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:54:11] local.INFO: IMEI packet received {"connection_id":230770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":230770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:54:16] local.INFO: TCP Data received {"connection_id":230770,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:54:16] local.INFO: Processing buffer {"connection_id":230770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:54:16] local.INFO: IMEI packet received {"connection_id":230770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":230770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:54:18] local.INFO: TCP Data received {"connection_id":230770,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:54:18] local.INFO: Processing buffer {"connection_id":230770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:54:18] local.INFO: Packet analysis {"connection_id":230770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:54:18] local.INFO: Extracted packet for processing {"connection_id":230770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:54:18] 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-11-04 14:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:54:18] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:54:18] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":230770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:54:18] local.INFO: GPS data processed {"connection_id":230770,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:54:18] local.INFO: Acknowledgment sent {"connection_id":230770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:54:23] local.INFO: TCP Data received {"connection_id":230770,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:54:23] local.INFO: Processing buffer {"connection_id":230770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:54:23] local.INFO: Packet analysis {"connection_id":230770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:54:23] local.INFO: Extracted packet for processing {"connection_id":230770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:54:23] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:54:23] 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-11-04 14: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-11-04 14:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:54:23] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:54:23] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":230770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:54:23] local.INFO: GPS data processed {"connection_id":230770,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:54:23] local.INFO: Acknowledgment sent {"connection_id":230770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:54:49] local.INFO: TCP Data received {"connection_id":230769,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:54:49] local.INFO: Processing buffer {"connection_id":230769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:54:49] local.INFO: IMEI packet received {"connection_id":230769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":230769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:55:06] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:55:06] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:55:06] local.INFO: IMEI packet received {"connection_id":229462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":229462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:55:08] local.INFO: TCP Data received {"connection_id":228962,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:55:08] local.INFO: Processing buffer {"connection_id":228962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 14:55:08] local.INFO: IMEI packet received {"connection_id":228962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 14:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":228962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:55:11] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:55:11] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:55:11] local.INFO: IMEI packet received {"connection_id":229462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":229462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:55:12] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:55:12] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:55:12] local.INFO: Packet analysis {"connection_id":229462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:55:12] local.INFO: Extracted packet for processing {"connection_id":229462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:55:12] 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-11-04 14: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-11-04 14:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:55:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:55:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":229462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:55:12] local.INFO: GPS data processed {"connection_id":229462,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:55:12] local.INFO: Acknowledgment sent {"connection_id":229462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:55:43] local.INFO: TCP Data received {"connection_id":229462,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:55:43] local.INFO: Processing buffer {"connection_id":229462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:55:43] local.INFO: Packet analysis {"connection_id":229462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:55:43] local.INFO: Extracted packet for processing {"connection_id":229462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:55:43] 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-11-04 14:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:55:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:55:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":229462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:55:43] local.INFO: GPS data processed {"connection_id":229462,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:55:43] local.INFO: Acknowledgment sent {"connection_id":229462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:56:06] local.INFO: TCP Data received {"connection_id":232612,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:56:06] local.INFO: Processing buffer {"connection_id":232612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:56:06] local.INFO: IMEI packet received {"connection_id":232612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":232612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:56:11] local.INFO: TCP Data received {"connection_id":232612,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:56:11] local.INFO: Processing buffer {"connection_id":232612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:56:11] local.INFO: IMEI packet received {"connection_id":232612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":232612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:56:12] local.INFO: TCP Data received {"connection_id":232612,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:56:12] local.INFO: Processing buffer {"connection_id":232612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:56:12] local.INFO: Packet analysis {"connection_id":232612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:56:12] local.INFO: Extracted packet for processing {"connection_id":232612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:56:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:56:12] 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-11-04 14: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-11-04 14:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:56:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:56:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":232612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:56:12] local.INFO: GPS data processed {"connection_id":232612,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:56:12] local.INFO: Acknowledgment sent {"connection_id":232612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:56:44] local.INFO: TCP Data received {"connection_id":232612,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:56:44] local.INFO: Processing buffer {"connection_id":232612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:56:44] local.INFO: Packet analysis {"connection_id":232612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:56:44] local.INFO: Extracted packet for processing {"connection_id":232612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:56:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:56:44] 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-11-04 14: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-11-04 14:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:56:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:56:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":232612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:56:44] local.INFO: GPS data processed {"connection_id":232612,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:56:44] local.INFO: Acknowledgment sent {"connection_id":232612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:57:06] local.INFO: TCP Data received {"connection_id":230771,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:57:06] local.INFO: Processing buffer {"connection_id":230771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:57:06] local.INFO: IMEI packet received {"connection_id":230771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":230771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:57:11] local.INFO: TCP Data received {"connection_id":230771,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:57:11] local.INFO: Processing buffer {"connection_id":230771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:57:11] local.INFO: IMEI packet received {"connection_id":230771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":230771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:57:12] local.INFO: TCP Data received {"connection_id":230771,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:57:12] local.INFO: Processing buffer {"connection_id":230771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5dd4ff8012d4cdf80068f46a80046007227..."} 
[2026-11-04 14:57:12] local.INFO: Packet analysis {"connection_id":230771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:57:12] local.INFO: Extracted packet for processing {"connection_id":230771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5dd"} 
[2026-11-04 14:57:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":70,"angle":114,"satellites":39,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208654336001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784107000,"timestamp_ms":1793784107000,"timestamp_seconds":1793784107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5dd4ff8"} 
[2026-11-04 14:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 14:57:12] 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-11-04 14: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-11-04 14:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208654336001,"66":25343,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208654336001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:57:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:57:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208654336001,"power":25343,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":230771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:57:12] local.INFO: GPS data processed {"connection_id":230771,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:57:12] local.INFO: Acknowledgment sent {"connection_id":230771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:57:44] local.INFO: TCP Data received {"connection_id":230771,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:57:44] local.INFO: Processing buffer {"connection_id":230771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:57:44] local.INFO: Packet analysis {"connection_id":230771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:57:44] local.INFO: Extracted packet for processing {"connection_id":230771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:57:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 14:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 14:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:57:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:57:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":230771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:57:44] local.INFO: GPS data processed {"connection_id":230771,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:57:44] local.INFO: Acknowledgment sent {"connection_id":230771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:58:06] local.INFO: TCP Data received {"connection_id":228965,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:58:06] local.INFO: Processing buffer {"connection_id":228965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:58:06] local.INFO: IMEI packet received {"connection_id":228965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":228965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:58:11] local.INFO: TCP Data received {"connection_id":228965,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:58:11] local.INFO: Processing buffer {"connection_id":228965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:58:11] local.INFO: IMEI packet received {"connection_id":228965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":228965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:58:12] local.INFO: TCP Data received {"connection_id":228965,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:58:12] local.INFO: Processing buffer {"connection_id":228965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:58:12] local.INFO: Packet analysis {"connection_id":228965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:58:12] local.INFO: Extracted packet for processing {"connection_id":228965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:58:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 14:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 14:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:58:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:58:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":228965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:58:12] local.INFO: GPS data processed {"connection_id":228965,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:58:12] local.INFO: Acknowledgment sent {"connection_id":228965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:58:44] local.INFO: TCP Data received {"connection_id":228965,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:58:44] local.INFO: Processing buffer {"connection_id":228965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:58:44] local.INFO: Packet analysis {"connection_id":228965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:58:44] local.INFO: Extracted packet for processing {"connection_id":228965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:58:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 14:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 14:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:58:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:58:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":228965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:58:44] local.INFO: GPS data processed {"connection_id":228965,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:58:44] local.INFO: Acknowledgment sent {"connection_id":228965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:59:11] local.INFO: TCP Data received {"connection_id":232614,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:59:11] local.INFO: Processing buffer {"connection_id":232614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:59:11] local.INFO: IMEI packet received {"connection_id":232614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 14:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":232614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 14:59:16] local.INFO: TCP Data received {"connection_id":232614,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:59:16] local.INFO: Processing buffer {"connection_id":232614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 14:59:16] local.INFO: IMEI packet received {"connection_id":232614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 14:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":232614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 14:59:17] local.INFO: TCP Data received {"connection_id":232614,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:59:17] local.INFO: Processing buffer {"connection_id":232614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:59:17] local.INFO: Packet analysis {"connection_id":232614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:59:17] local.INFO: Extracted packet for processing {"connection_id":232614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:59:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14: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-11-04 14:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 14:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 14:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14: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-11-04 14:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:59:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:59:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":232614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:59:17] local.INFO: GPS data processed {"connection_id":232614,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:59:17] local.INFO: Acknowledgment sent {"connection_id":232614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 14:59:22] local.INFO: TCP Data received {"connection_id":232614,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:59:22] local.INFO: Processing buffer {"connection_id":232614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 14:59:22] local.INFO: Packet analysis {"connection_id":232614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:59:22] local.INFO: Extracted packet for processing {"connection_id":232614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 14:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 14:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 14:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 14:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 14:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 14:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 14:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 14:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 14:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 14:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 14:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 14:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 14:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 14:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 14:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 14:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 14:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 14:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 14:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 14:59:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 14:59:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 14:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 14:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 14:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 14:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":232614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 14:59:22] local.INFO: GPS data processed {"connection_id":232614,"processed":1,"errors":0,"total":1} 
[2026-11-04 14:59:22] local.INFO: Acknowledgment sent {"connection_id":232614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:00:06] local.INFO: TCP Data received {"connection_id":230773,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:00:06] local.INFO: Processing buffer {"connection_id":230773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:00:06] local.INFO: IMEI packet received {"connection_id":230773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":230773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:00:11] local.INFO: TCP Data received {"connection_id":230773,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:00:11] local.INFO: Processing buffer {"connection_id":230773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:00:11] local.INFO: IMEI packet received {"connection_id":230773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":230773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:00:12] local.INFO: TCP Data received {"connection_id":230773,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:00:12] local.INFO: Processing buffer {"connection_id":230773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:00:12] local.INFO: Packet analysis {"connection_id":230773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:00:12] local.INFO: Extracted packet for processing {"connection_id":230773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:00:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 15:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 15:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:00:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:00:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":230773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:00:12] local.INFO: GPS data processed {"connection_id":230773,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:00:12] local.INFO: Acknowledgment sent {"connection_id":230773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:00:38] local.INFO: TCP Data received {"connection_id":228966,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:00:38] local.INFO: Processing buffer {"connection_id":228966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:00:38] local.INFO: IMEI packet received {"connection_id":228966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":228966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:00:43] local.INFO: TCP Data received {"connection_id":230773,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:00:43] local.INFO: Processing buffer {"connection_id":230773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:00:43] local.INFO: Packet analysis {"connection_id":230773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:00:43] local.INFO: Extracted packet for processing {"connection_id":230773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:00:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 15:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 15:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:00:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:00:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":230773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:00:43] local.INFO: GPS data processed {"connection_id":230773,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:00:43] local.INFO: Acknowledgment sent {"connection_id":230773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:01:06] local.INFO: TCP Data received {"connection_id":230774,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:01:06] local.INFO: Processing buffer {"connection_id":230774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:01:06] local.INFO: IMEI packet received {"connection_id":230774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":230774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:01:11] local.INFO: TCP Data received {"connection_id":230774,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:01:11] local.INFO: Processing buffer {"connection_id":230774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:01:11] local.INFO: IMEI packet received {"connection_id":230774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":230774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:01:12] local.INFO: TCP Data received {"connection_id":230774,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:01:12] local.INFO: Processing buffer {"connection_id":230774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:01:12] local.INFO: Packet analysis {"connection_id":230774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:01:12] local.INFO: Extracted packet for processing {"connection_id":230774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:01:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 15:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 15:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:01:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:01:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":230774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:01:12] local.INFO: GPS data processed {"connection_id":230774,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:01:12] local.INFO: Acknowledgment sent {"connection_id":230774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:01:14] local.INFO: TCP Data received {"connection_id":228967,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:01:14] local.INFO: Processing buffer {"connection_id":228967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:01:14] local.INFO: IMEI packet received {"connection_id":228967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":228967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:01:43] local.INFO: TCP Data received {"connection_id":230774,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:01:43] local.INFO: Processing buffer {"connection_id":230774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:01:43] local.INFO: Packet analysis {"connection_id":230774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:01:43] local.INFO: Extracted packet for processing {"connection_id":230774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:01:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 15:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 15:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:01:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:01:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":230774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:01:43] local.INFO: GPS data processed {"connection_id":230774,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:01:43] local.INFO: Acknowledgment sent {"connection_id":230774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:02:06] local.INFO: TCP Data received {"connection_id":232615,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:02:06] local.INFO: Processing buffer {"connection_id":232615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:02:06] local.INFO: IMEI packet received {"connection_id":232615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":232615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:02:11] local.INFO: TCP Data received {"connection_id":232615,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:02:11] local.INFO: Processing buffer {"connection_id":232615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:02:11] local.INFO: IMEI packet received {"connection_id":232615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":232615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:02:12] local.INFO: TCP Data received {"connection_id":232615,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:02:12] local.INFO: Processing buffer {"connection_id":232615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e1e7c0012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:02:12] local.INFO: Packet analysis {"connection_id":232615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:02:12] local.INFO: Extracted packet for processing {"connection_id":232615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e1"} 
[2026-11-04 15:02:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208731392001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784408000,"timestamp_ms":1793784408000,"timestamp_seconds":1793784408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e1e7c0"} 
[2026-11-04 15:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 15:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208731392001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208731392001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:02:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:02:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208731392001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":232615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:02:12] local.INFO: GPS data processed {"connection_id":232615,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:02:12] local.INFO: Acknowledgment sent {"connection_id":232615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:02:43] local.INFO: TCP Data received {"connection_id":232615,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:02:43] local.INFO: Processing buffer {"connection_id":232615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:02:43] local.INFO: Packet analysis {"connection_id":232615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:02:43] local.INFO: Extracted packet for processing {"connection_id":232615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:02:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:02: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-11-04 15:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:02:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:02:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":232615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:02:43] local.INFO: GPS data processed {"connection_id":232615,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:02:43] local.INFO: Acknowledgment sent {"connection_id":232615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:03:06] local.INFO: TCP Data received {"connection_id":229465,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:03:06] local.INFO: Processing buffer {"connection_id":229465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:03:06] local.INFO: IMEI packet received {"connection_id":229465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":229465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:03:11] local.INFO: TCP Data received {"connection_id":229465,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:03:11] local.INFO: Processing buffer {"connection_id":229465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:03:11] local.INFO: IMEI packet received {"connection_id":229465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":229465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:03:12] local.INFO: TCP Data received {"connection_id":229465,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:03:12] local.INFO: Processing buffer {"connection_id":229465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:03:12] local.INFO: Packet analysis {"connection_id":229465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:03:12] local.INFO: Extracted packet for processing {"connection_id":229465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:03:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:03:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:03:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":229465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:03:12] local.INFO: GPS data processed {"connection_id":229465,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:03:12] local.INFO: Acknowledgment sent {"connection_id":229465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:03:43] local.INFO: TCP Data received {"connection_id":229465,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:03:43] local.INFO: Processing buffer {"connection_id":229465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:03:43] local.INFO: Packet analysis {"connection_id":229465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:03:43] local.INFO: Extracted packet for processing {"connection_id":229465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:03:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:03: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-11-04 15:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:03:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:03:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":229465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:03:43] local.INFO: GPS data processed {"connection_id":229465,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:03:43] local.INFO: Acknowledgment sent {"connection_id":229465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:04:11] local.INFO: TCP Data received {"connection_id":228969,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:04:11] local.INFO: Processing buffer {"connection_id":228969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:04:11] local.INFO: IMEI packet received {"connection_id":228969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":228969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:04:16] local.INFO: TCP Data received {"connection_id":228969,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:04:16] local.INFO: Processing buffer {"connection_id":228969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:04:16] local.INFO: IMEI packet received {"connection_id":228969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":228969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:04:17] local.INFO: TCP Data received {"connection_id":228969,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:04:17] local.INFO: Processing buffer {"connection_id":228969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:04:17] local.INFO: Packet analysis {"connection_id":228969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:04:17] local.INFO: Extracted packet for processing {"connection_id":228969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:04:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:04: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-11-04 15: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-11-04 15:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:04:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:04:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":228969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:04:17] local.INFO: GPS data processed {"connection_id":228969,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:04:17] local.INFO: Acknowledgment sent {"connection_id":228969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:04:48] local.INFO: TCP Data received {"connection_id":228969,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:04:48] local.INFO: Processing buffer {"connection_id":228969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:04:48] local.INFO: Packet analysis {"connection_id":228969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:04:48] local.INFO: Extracted packet for processing {"connection_id":228969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:04: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-11-04 15:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:04:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:04:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":228969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:04:48] local.INFO: GPS data processed {"connection_id":228969,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:04:48] local.INFO: Acknowledgment sent {"connection_id":228969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:05:06] local.INFO: TCP Data received {"connection_id":232616,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:05:06] local.INFO: Processing buffer {"connection_id":232616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:05:06] local.INFO: IMEI packet received {"connection_id":232616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":232616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:05:11] local.INFO: TCP Data received {"connection_id":232616,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:05:11] local.INFO: Processing buffer {"connection_id":232616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:05:11] local.INFO: IMEI packet received {"connection_id":232616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":232616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:05:12] local.INFO: TCP Data received {"connection_id":232616,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:05:12] local.INFO: Processing buffer {"connection_id":232616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:05:12] local.INFO: Packet analysis {"connection_id":232616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:05:12] local.INFO: Extracted packet for processing {"connection_id":232616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:05:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:05: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-11-04 15:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:05:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:05:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":232616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:05:12] local.INFO: GPS data processed {"connection_id":232616,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:05:12] local.INFO: Acknowledgment sent {"connection_id":232616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:05:44] local.INFO: TCP Data received {"connection_id":232616,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:05:44] local.INFO: Processing buffer {"connection_id":232616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:05:44] local.INFO: Packet analysis {"connection_id":232616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:05:44] local.INFO: Extracted packet for processing {"connection_id":232616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:05:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:05:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:05:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":232616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:05:44] local.INFO: GPS data processed {"connection_id":232616,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:05:44] local.INFO: Acknowledgment sent {"connection_id":232616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:06:06] local.INFO: TCP Data received {"connection_id":232617,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:06:06] local.INFO: Processing buffer {"connection_id":232617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:06:06] local.INFO: IMEI packet received {"connection_id":232617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":232617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:06:11] local.INFO: TCP Data received {"connection_id":232617,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:06:11] local.INFO: Processing buffer {"connection_id":232617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:06:11] local.INFO: IMEI packet received {"connection_id":232617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":232617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:06:12] local.INFO: TCP Data received {"connection_id":232617,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:06:12] local.INFO: Processing buffer {"connection_id":232617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:06:12] local.INFO: Packet analysis {"connection_id":232617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:06:12] local.INFO: Extracted packet for processing {"connection_id":232617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:06: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-11-04 15:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:06:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:06:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":232617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:06:12] local.INFO: GPS data processed {"connection_id":232617,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:06:12] local.INFO: Acknowledgment sent {"connection_id":232617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:06:38] local.INFO: TCP Data received {"connection_id":229466,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:06:38] local.INFO: Processing buffer {"connection_id":229466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:06:38] local.INFO: IMEI packet received {"connection_id":229466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":229466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:06:43] local.INFO: TCP Data received {"connection_id":232617,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:06:43] local.INFO: Processing buffer {"connection_id":232617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:06:43] local.INFO: Packet analysis {"connection_id":232617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:06:43] local.INFO: Extracted packet for processing {"connection_id":232617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:06:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:06: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-11-04 15: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-11-04 15:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:06:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:06:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":232617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:06:43] local.INFO: GPS data processed {"connection_id":232617,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:06:43] local.INFO: Acknowledgment sent {"connection_id":232617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:07:06] local.INFO: TCP Data received {"connection_id":230777,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:07:06] local.INFO: Processing buffer {"connection_id":230777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:07:06] local.INFO: IMEI packet received {"connection_id":230777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":230777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:07:08] local.INFO: TCP Data received {"connection_id":228970,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:07:08] local.INFO: Processing buffer {"connection_id":228970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:07:08] local.INFO: IMEI packet received {"connection_id":228970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":228970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:07:11] local.INFO: TCP Data received {"connection_id":230777,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:07:11] local.INFO: Processing buffer {"connection_id":230777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:07:11] local.INFO: IMEI packet received {"connection_id":230777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":230777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:07:13] local.INFO: TCP Data received {"connection_id":230777,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:07:13] local.INFO: Processing buffer {"connection_id":230777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5e67f88012d4cdf80068f46a8005700722b..."} 
[2026-11-04 15:07:13] local.INFO: Packet analysis {"connection_id":230777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:07:13] local.INFO: Extracted packet for processing {"connection_id":230777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5e6"} 
[2026-11-04 15:07:13] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208808448001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793784709000,"timestamp_ms":1793784709000,"timestamp_seconds":1793784709,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5e67f88"} 
[2026-11-04 15:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:07: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-11-04 15: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-11-04 15:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208808448001,"66":25299,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208808448001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:07:13] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:07:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208808448001,"power":25299,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":230777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:07:13] local.INFO: GPS data processed {"connection_id":230777,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:07:13] local.INFO: Acknowledgment sent {"connection_id":230777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:07:44] local.INFO: TCP Data received {"connection_id":230777,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:07:44] local.INFO: Processing buffer {"connection_id":230777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:07:44] local.INFO: Packet analysis {"connection_id":230777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:07:44] local.INFO: Extracted packet for processing {"connection_id":230777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:07:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:07: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-11-04 15: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-11-04 15:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:07:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:07:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":230777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:07:44] local.INFO: GPS data processed {"connection_id":230777,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:07:44] local.INFO: Acknowledgment sent {"connection_id":230777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:08:11] local.INFO: TCP Data received {"connection_id":228971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:08:11] local.INFO: Processing buffer {"connection_id":228971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:08:11] local.INFO: IMEI packet received {"connection_id":228971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":228971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:08:16] local.INFO: TCP Data received {"connection_id":228971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:08:16] local.INFO: Processing buffer {"connection_id":228971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:08:16] local.INFO: IMEI packet received {"connection_id":228971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":228971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:08:17] local.INFO: TCP Data received {"connection_id":228971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:08:17] local.INFO: Processing buffer {"connection_id":228971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:08:17] local.INFO: Packet analysis {"connection_id":228971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:08:17] local.INFO: Extracted packet for processing {"connection_id":228971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:08: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-11-04 15: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-11-04 15:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:08:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:08:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":228971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:08:17] local.INFO: GPS data processed {"connection_id":228971,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:08:17] local.INFO: Acknowledgment sent {"connection_id":228971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:08:49] local.INFO: TCP Data received {"connection_id":228971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:08:49] local.INFO: Processing buffer {"connection_id":228971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:08:49] local.INFO: Packet analysis {"connection_id":228971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:08:49] local.INFO: Extracted packet for processing {"connection_id":228971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:08:49] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:08: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-11-04 15:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":228971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":228971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":228971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:08:49] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:08:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":228971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:08:49] local.INFO: GPS data processed {"connection_id":228971,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:08:49] local.INFO: Acknowledgment sent {"connection_id":228971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:09:06] local.INFO: TCP Data received {"connection_id":230778,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:09:06] local.INFO: Processing buffer {"connection_id":230778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:09:06] local.INFO: IMEI packet received {"connection_id":230778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":230778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:09:11] local.INFO: TCP Data received {"connection_id":230778,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:09:11] local.INFO: Processing buffer {"connection_id":230778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:09:11] local.INFO: IMEI packet received {"connection_id":230778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":230778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:09:12] local.INFO: TCP Data received {"connection_id":230778,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:09:12] local.INFO: Processing buffer {"connection_id":230778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:09:12] local.INFO: Packet analysis {"connection_id":230778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:09:12] local.INFO: Extracted packet for processing {"connection_id":230778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:09:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:09:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":230778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:09:12] local.INFO: GPS data processed {"connection_id":230778,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:09:12] local.INFO: Acknowledgment sent {"connection_id":230778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:09:44] local.INFO: TCP Data received {"connection_id":230778,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:09:44] local.INFO: Processing buffer {"connection_id":230778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:09:44] local.INFO: Packet analysis {"connection_id":230778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:09:44] local.INFO: Extracted packet for processing {"connection_id":230778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:09:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:09: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-11-04 15: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-11-04 15:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:09:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:09:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":230778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:09:44] local.INFO: GPS data processed {"connection_id":230778,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:09:44] local.INFO: Acknowledgment sent {"connection_id":230778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:10:11] local.INFO: TCP Data received {"connection_id":228972,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:10:11] local.INFO: Processing buffer {"connection_id":228972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:10:11] local.INFO: IMEI packet received {"connection_id":228972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":228972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:10:11] local.INFO: TCP Data received {"connection_id":228972,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:10:11] local.INFO: Processing buffer {"connection_id":228972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:10:11] local.INFO: IMEI packet received {"connection_id":228972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":228972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:10:12] local.INFO: TCP Data received {"connection_id":228972,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:12] local.INFO: Processing buffer {"connection_id":228972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:12] local.INFO: Packet analysis {"connection_id":228972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:10:12] local.INFO: Extracted packet for processing {"connection_id":228972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:10:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:10:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:10:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":228972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:10:12] local.INFO: GPS data processed {"connection_id":228972,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:10:12] local.INFO: Acknowledgment sent {"connection_id":228972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:10:17] local.INFO: TCP Data received {"connection_id":228972,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:17] local.INFO: Processing buffer {"connection_id":228972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:17] local.INFO: Packet analysis {"connection_id":228972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:10:17] local.INFO: Extracted packet for processing {"connection_id":228972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:10:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:10: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-11-04 15: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-11-04 15:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:10:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:10:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":228972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:10:17] local.INFO: GPS data processed {"connection_id":228972,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:10:17] local.INFO: Acknowledgment sent {"connection_id":228972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:10:48] local.INFO: TCP Data received {"connection_id":228972,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:48] local.INFO: Processing buffer {"connection_id":228972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:10:48] local.INFO: Packet analysis {"connection_id":228972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:10:48] local.INFO: Extracted packet for processing {"connection_id":228972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:10:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:10:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":228972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:10:48] local.INFO: GPS data processed {"connection_id":228972,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:10:48] local.INFO: Acknowledgment sent {"connection_id":228972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:11:06] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:11:06] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:11:06] local.INFO: IMEI packet received {"connection_id":229468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":229468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:11:11] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:11:11] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:11:11] local.INFO: IMEI packet received {"connection_id":229468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:11:12] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:11:12] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:11:12] local.INFO: Packet analysis {"connection_id":229468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:11:12] local.INFO: Extracted packet for processing {"connection_id":229468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:11:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:11:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:11:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:11:12] local.INFO: GPS data processed {"connection_id":229468,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:11:12] local.INFO: Acknowledgment sent {"connection_id":229468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:11:44] local.INFO: TCP Data received {"connection_id":229468,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:11:44] local.INFO: Processing buffer {"connection_id":229468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:11:44] local.INFO: Packet analysis {"connection_id":229468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:11:44] local.INFO: Extracted packet for processing {"connection_id":229468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:11:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:11: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-11-04 15: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-11-04 15:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:11:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:11:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":229468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:11:44] local.INFO: GPS data processed {"connection_id":229468,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:11:44] local.INFO: Acknowledgment sent {"connection_id":229468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:12:06] local.INFO: TCP Data received {"connection_id":228973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:12:06] local.INFO: Processing buffer {"connection_id":228973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:12:06] local.INFO: IMEI packet received {"connection_id":228973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":228973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:12:11] local.INFO: TCP Data received {"connection_id":228973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:12:11] local.INFO: Processing buffer {"connection_id":228973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:12:11] local.INFO: IMEI packet received {"connection_id":228973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":228973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:12:12] local.INFO: TCP Data received {"connection_id":228973,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:12:12] local.INFO: Processing buffer {"connection_id":228973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5eb1750012d4cdf80068f46a8005700722c..."} 
[2026-11-04 15:12:12] local.INFO: Packet analysis {"connection_id":228973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:12:12] local.INFO: Extracted packet for processing {"connection_id":228973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5eb"} 
[2026-11-04 15:12:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208885504001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785010000,"timestamp_ms":1793785010000,"timestamp_seconds":1793785010,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5eb1750"} 
[2026-11-04 15:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 15:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208885504001,"66":25223,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208885504001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:12:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:12:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208885504001,"power":25223,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":228973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:12:12] local.INFO: GPS data processed {"connection_id":228973,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:12:12] local.INFO: Acknowledgment sent {"connection_id":228973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:12:39] local.INFO: TCP Data received {"connection_id":228974,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:12:39] local.INFO: Processing buffer {"connection_id":228974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:12:39] local.INFO: IMEI packet received {"connection_id":228974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":228974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:12:44] local.INFO: TCP Data received {"connection_id":228973,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:12:44] local.INFO: Processing buffer {"connection_id":228973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:12:44] local.INFO: Packet analysis {"connection_id":228973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:12:44] local.INFO: Extracted packet for processing {"connection_id":228973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:12:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:12:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:12:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":228973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:12:44] local.INFO: GPS data processed {"connection_id":228973,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:12:44] local.INFO: Acknowledgment sent {"connection_id":228973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:13:09] local.INFO: TCP Data received {"connection_id":228976,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:13:09] local.INFO: Processing buffer {"connection_id":228976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:13:09] local.INFO: IMEI packet received {"connection_id":228976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":228976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:13:11] local.INFO: TCP Data received {"connection_id":228975,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:13:11] local.INFO: Processing buffer {"connection_id":228975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:13:11] local.INFO: IMEI packet received {"connection_id":228975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":228975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:13:16] local.INFO: TCP Data received {"connection_id":228975,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:13:16] local.INFO: Processing buffer {"connection_id":228975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:13:16] local.INFO: IMEI packet received {"connection_id":228975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":228975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:13:17] local.INFO: TCP Data received {"connection_id":228975,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:13:17] local.INFO: Processing buffer {"connection_id":228975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:13:17] local.INFO: Packet analysis {"connection_id":228975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:13:17] local.INFO: Extracted packet for processing {"connection_id":228975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:13:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:13: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-11-04 15: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-11-04 15:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:13:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:13:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":228975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:13:17] local.INFO: GPS data processed {"connection_id":228975,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:13:17] local.INFO: Acknowledgment sent {"connection_id":228975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:13:22] local.INFO: TCP Data received {"connection_id":228975,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:13:22] local.INFO: Processing buffer {"connection_id":228975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:13:22] local.INFO: Packet analysis {"connection_id":228975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:13:22] local.INFO: Extracted packet for processing {"connection_id":228975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:13:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:13:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":228975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:13:22] local.INFO: GPS data processed {"connection_id":228975,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:13:22] local.INFO: Acknowledgment sent {"connection_id":228975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:14:06] local.INFO: TCP Data received {"connection_id":230781,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:14:06] local.INFO: Processing buffer {"connection_id":230781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:14:06] local.INFO: IMEI packet received {"connection_id":230781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":230781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:14:11] local.INFO: TCP Data received {"connection_id":230781,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:14:11] local.INFO: Processing buffer {"connection_id":230781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:14:11] local.INFO: IMEI packet received {"connection_id":230781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":230781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:14:12] local.INFO: TCP Data received {"connection_id":230781,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:14:12] local.INFO: Processing buffer {"connection_id":230781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:14:12] local.INFO: Packet analysis {"connection_id":230781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:14:12] local.INFO: Extracted packet for processing {"connection_id":230781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:14:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:14:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":230781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:14:12] local.INFO: GPS data processed {"connection_id":230781,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:14:12] local.INFO: Acknowledgment sent {"connection_id":230781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:14:44] local.INFO: TCP Data received {"connection_id":230781,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:14:44] local.INFO: Processing buffer {"connection_id":230781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:14:44] local.INFO: Packet analysis {"connection_id":230781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:14:44] local.INFO: Extracted packet for processing {"connection_id":230781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:14:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:14:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:14:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":230781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:14:44] local.INFO: GPS data processed {"connection_id":230781,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:14:44] local.INFO: Acknowledgment sent {"connection_id":230781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:15:06] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:15:06] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:15:06] local.INFO: IMEI packet received {"connection_id":229469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":229469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:15:11] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:15:11] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:15:11] local.INFO: IMEI packet received {"connection_id":229469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":229469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:15:12] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:15:12] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:15:12] local.INFO: Packet analysis {"connection_id":229469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:15:12] local.INFO: Extracted packet for processing {"connection_id":229469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:15:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:15:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":229469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:15:12] local.INFO: GPS data processed {"connection_id":229469,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:15:12] local.INFO: Acknowledgment sent {"connection_id":229469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:15:44] local.INFO: TCP Data received {"connection_id":229469,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:15:44] local.INFO: Processing buffer {"connection_id":229469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:15:44] local.INFO: Packet analysis {"connection_id":229469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:15:44] local.INFO: Extracted packet for processing {"connection_id":229469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:15:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:15:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":229469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:15:44] local.INFO: GPS data processed {"connection_id":229469,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:15:44] local.INFO: Acknowledgment sent {"connection_id":229469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:16:10] local.INFO: TCP Data received {"connection_id":228977,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:16:10] local.INFO: Processing buffer {"connection_id":228977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:16:10] local.INFO: IMEI packet received {"connection_id":228977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":228977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:16:11] local.INFO: TCP Data received {"connection_id":228977,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:16:11] local.INFO: Processing buffer {"connection_id":228977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:16:11] local.INFO: IMEI packet received {"connection_id":228977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":228977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:16:12] local.INFO: TCP Data received {"connection_id":228977,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:12] local.INFO: Processing buffer {"connection_id":228977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:12] local.INFO: Packet analysis {"connection_id":228977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:16:12] local.INFO: Extracted packet for processing {"connection_id":228977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:16:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:16:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":228977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:16:12] local.INFO: GPS data processed {"connection_id":228977,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:16:12] local.INFO: Acknowledgment sent {"connection_id":228977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:16:17] local.INFO: TCP Data received {"connection_id":228977,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:17] local.INFO: Processing buffer {"connection_id":228977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:17] local.INFO: Packet analysis {"connection_id":228977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:16:17] local.INFO: Extracted packet for processing {"connection_id":228977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:16:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:16: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-11-04 15: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-11-04 15:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:16:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:16:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":228977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:16:17] local.INFO: GPS data processed {"connection_id":228977,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:16:17] local.INFO: Acknowledgment sent {"connection_id":228977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:16:48] local.INFO: TCP Data received {"connection_id":228977,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:48] local.INFO: Processing buffer {"connection_id":228977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:16:48] local.INFO: Packet analysis {"connection_id":228977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:16:48] local.INFO: Extracted packet for processing {"connection_id":228977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:16:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:16:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":228977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:16:48] local.INFO: GPS data processed {"connection_id":228977,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:16:48] local.INFO: Acknowledgment sent {"connection_id":228977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:17:06] local.INFO: TCP Data received {"connection_id":232622,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:17:06] local.INFO: Processing buffer {"connection_id":232622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:17:06] local.INFO: IMEI packet received {"connection_id":232622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":232622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:17:11] local.INFO: TCP Data received {"connection_id":232622,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:17:11] local.INFO: Processing buffer {"connection_id":232622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:17:11] local.INFO: IMEI packet received {"connection_id":232622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":232622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:17:12] local.INFO: TCP Data received {"connection_id":232622,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:17:12] local.INFO: Processing buffer {"connection_id":232622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5efaf18012d4cdf80068f46a8005700722d..."} 
[2026-11-04 15:17:12] local.INFO: Packet analysis {"connection_id":232622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:17:12] local.INFO: Extracted packet for processing {"connection_id":232622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5ef"} 
[2026-11-04 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":87,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459208962560001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785311000,"timestamp_ms":1793785311000,"timestamp_seconds":1793785311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5efaf18"} 
[2026-11-04 15:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-11-04 15:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459208962560001,"66":25321,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459208962560001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:17:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:17:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459208962560001,"power":25321,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":232622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:17:12] local.INFO: GPS data processed {"connection_id":232622,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:17:12] local.INFO: Acknowledgment sent {"connection_id":232622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:17:43] local.INFO: TCP Data received {"connection_id":232622,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:17:43] local.INFO: Processing buffer {"connection_id":232622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:17:43] local.INFO: Packet analysis {"connection_id":232622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:17:43] local.INFO: Extracted packet for processing {"connection_id":232622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:17:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:17: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-11-04 15:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:17:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:17:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":232622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:17:43] local.INFO: GPS data processed {"connection_id":232622,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:17:43] local.INFO: Acknowledgment sent {"connection_id":232622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:18:06] local.INFO: TCP Data received {"connection_id":230783,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:18:06] local.INFO: Processing buffer {"connection_id":230783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:18:06] local.INFO: IMEI packet received {"connection_id":230783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":230783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:18:11] local.INFO: TCP Data received {"connection_id":230783,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:18:11] local.INFO: Processing buffer {"connection_id":230783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:18:11] local.INFO: IMEI packet received {"connection_id":230783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":230783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:18:12] local.INFO: TCP Data received {"connection_id":230783,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:18:12] local.INFO: Processing buffer {"connection_id":230783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:18:12] local.INFO: Packet analysis {"connection_id":230783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:18:12] local.INFO: Extracted packet for processing {"connection_id":230783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:18:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:18:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:18:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":230783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:18:12] local.INFO: GPS data processed {"connection_id":230783,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:18:12] local.INFO: Acknowledgment sent {"connection_id":230783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:18:28] local.INFO: TCP Data received {"connection_id":230782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:18:28] local.INFO: Processing buffer {"connection_id":230782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:18:28] local.INFO: IMEI packet received {"connection_id":230782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":230782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:18:44] local.INFO: TCP Data received {"connection_id":230783,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:18:44] local.INFO: Processing buffer {"connection_id":230783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:18:44] local.INFO: Packet analysis {"connection_id":230783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:18:44] local.INFO: Extracted packet for processing {"connection_id":230783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:18:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:18: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-11-04 15: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-11-04 15:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:18:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:18:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":230783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:18:44] local.INFO: GPS data processed {"connection_id":230783,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:18:44] local.INFO: Acknowledgment sent {"connection_id":230783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:19:08] local.INFO: TCP Data received {"connection_id":230784,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:19:08] local.INFO: Processing buffer {"connection_id":230784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:19:08] local.INFO: IMEI packet received {"connection_id":230784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":230784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:19:12] local.INFO: TCP Data received {"connection_id":230785,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:19:12] local.INFO: Processing buffer {"connection_id":230785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:19:12] local.INFO: IMEI packet received {"connection_id":230785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":230785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:19:16] local.INFO: TCP Data received {"connection_id":230785,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:19:16] local.INFO: Processing buffer {"connection_id":230785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:19:16] local.INFO: IMEI packet received {"connection_id":230785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":230785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:19:17] local.INFO: TCP Data received {"connection_id":230785,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:19:17] local.INFO: Processing buffer {"connection_id":230785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:19:17] local.INFO: Packet analysis {"connection_id":230785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:19:17] local.INFO: Extracted packet for processing {"connection_id":230785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:19:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:19: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-11-04 15: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-11-04 15:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:19:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:19:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":230785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:19:17] local.INFO: GPS data processed {"connection_id":230785,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:19:17] local.INFO: Acknowledgment sent {"connection_id":230785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:19:22] local.INFO: TCP Data received {"connection_id":230785,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:19:22] local.INFO: Processing buffer {"connection_id":230785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:19:22] local.INFO: Packet analysis {"connection_id":230785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:19:22] local.INFO: Extracted packet for processing {"connection_id":230785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:19:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:19:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":230785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:19:22] local.INFO: GPS data processed {"connection_id":230785,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:19:22] local.INFO: Acknowledgment sent {"connection_id":230785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:20:06] local.INFO: TCP Data received {"connection_id":228979,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:20:06] local.INFO: Processing buffer {"connection_id":228979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:20:06] local.INFO: IMEI packet received {"connection_id":228979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":228979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:20:11] local.INFO: TCP Data received {"connection_id":228979,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:20:11] local.INFO: Processing buffer {"connection_id":228979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:20:11] local.INFO: IMEI packet received {"connection_id":228979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":228979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:20:12] local.INFO: TCP Data received {"connection_id":228979,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:20:12] local.INFO: Processing buffer {"connection_id":228979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:20:12] local.INFO: Packet analysis {"connection_id":228979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:20:12] local.INFO: Extracted packet for processing {"connection_id":228979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:20:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:20:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":228979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:20:12] local.INFO: GPS data processed {"connection_id":228979,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:20:12] local.INFO: Acknowledgment sent {"connection_id":228979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:20:44] local.INFO: TCP Data received {"connection_id":228979,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:20:44] local.INFO: Processing buffer {"connection_id":228979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:20:44] local.INFO: Packet analysis {"connection_id":228979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:20:44] local.INFO: Extracted packet for processing {"connection_id":228979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:20:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:20: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-11-04 15: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-11-04 15:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:20:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:20:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":228979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:20:44] local.INFO: GPS data processed {"connection_id":228979,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:20:44] local.INFO: Acknowledgment sent {"connection_id":228979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:21:07] local.INFO: TCP Data received {"connection_id":230786,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:21:07] local.INFO: Processing buffer {"connection_id":230786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:21:07] local.INFO: IMEI packet received {"connection_id":230786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":230786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:21:11] local.INFO: TCP Data received {"connection_id":230786,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:21:11] local.INFO: Processing buffer {"connection_id":230786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:21:11] local.INFO: IMEI packet received {"connection_id":230786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":230786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:21:12] local.INFO: TCP Data received {"connection_id":230786,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:21:12] local.INFO: Processing buffer {"connection_id":230786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:21:12] local.INFO: Packet analysis {"connection_id":230786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:21:12] local.INFO: Extracted packet for processing {"connection_id":230786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:21:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:21:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":230786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:21:12] local.INFO: GPS data processed {"connection_id":230786,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:21:12] local.INFO: Acknowledgment sent {"connection_id":230786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:21:44] local.INFO: TCP Data received {"connection_id":230786,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:21:44] local.INFO: Processing buffer {"connection_id":230786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:21:44] local.INFO: Packet analysis {"connection_id":230786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:21:44] local.INFO: Extracted packet for processing {"connection_id":230786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:21:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:21: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-11-04 15: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-11-04 15:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:21:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:21:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":230786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:21:44] local.INFO: GPS data processed {"connection_id":230786,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:21:44] local.INFO: Acknowledgment sent {"connection_id":230786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:22:06] local.INFO: TCP Data received {"connection_id":230787,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:22:06] local.INFO: Processing buffer {"connection_id":230787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:22:06] local.INFO: IMEI packet received {"connection_id":230787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":230787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:22:11] local.INFO: TCP Data received {"connection_id":230787,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:22:11] local.INFO: Processing buffer {"connection_id":230787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:22:11] local.INFO: IMEI packet received {"connection_id":230787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":230787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:22:12] local.INFO: TCP Data received {"connection_id":230787,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:22:12] local.INFO: Processing buffer {"connection_id":230787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f446e0012d4cdf80068f46a80047007228..."} 
[2026-11-04 15:22:12] local.INFO: Packet analysis {"connection_id":230787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:22:12] local.INFO: Extracted packet for processing {"connection_id":230787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f4"} 
[2026-11-04 15:22:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":40,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209039616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785612000,"timestamp_ms":1793785612000,"timestamp_seconds":1793785612,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f446e0"} 
[2026-11-04 15:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 15:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209039616001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209039616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:22:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:22:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209039616001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":230787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:22:12] local.INFO: GPS data processed {"connection_id":230787,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:22:12] local.INFO: Acknowledgment sent {"connection_id":230787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:22:44] local.INFO: TCP Data received {"connection_id":230787,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:22:44] local.INFO: Processing buffer {"connection_id":230787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:22:44] local.INFO: Packet analysis {"connection_id":230787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:22:44] local.INFO: Extracted packet for processing {"connection_id":230787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:22:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:22:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:22:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":230787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:22:44] local.INFO: GPS data processed {"connection_id":230787,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:22:44] local.INFO: Acknowledgment sent {"connection_id":230787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:23:11] local.INFO: TCP Data received {"connection_id":229471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:23:11] local.INFO: Processing buffer {"connection_id":229471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:23:11] local.INFO: IMEI packet received {"connection_id":229471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":229471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:23:16] local.INFO: TCP Data received {"connection_id":229471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:23:16] local.INFO: Processing buffer {"connection_id":229471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:23:16] local.INFO: IMEI packet received {"connection_id":229471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":229471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:23:17] local.INFO: TCP Data received {"connection_id":229471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:23:17] local.INFO: Processing buffer {"connection_id":229471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:23:17] local.INFO: Packet analysis {"connection_id":229471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:23:17] local.INFO: Extracted packet for processing {"connection_id":229471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:23:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:23:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:23:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":229471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:23:17] local.INFO: GPS data processed {"connection_id":229471,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:23:17] local.INFO: Acknowledgment sent {"connection_id":229471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:23:22] local.INFO: TCP Data received {"connection_id":229471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:23:22] local.INFO: Processing buffer {"connection_id":229471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:23:22] local.INFO: Packet analysis {"connection_id":229471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:23:22] local.INFO: Extracted packet for processing {"connection_id":229471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:23: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-11-04 15: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-11-04 15:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:23:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:23:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":229471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:23:22] local.INFO: GPS data processed {"connection_id":229471,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:23:22] local.INFO: Acknowledgment sent {"connection_id":229471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:24:06] local.INFO: TCP Data received {"connection_id":230788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:24:06] local.INFO: Processing buffer {"connection_id":230788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:24:06] local.INFO: IMEI packet received {"connection_id":230788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":230788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:24:11] local.INFO: TCP Data received {"connection_id":230788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:24:11] local.INFO: Processing buffer {"connection_id":230788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:24:11] local.INFO: IMEI packet received {"connection_id":230788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":230788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:24:12] local.INFO: TCP Data received {"connection_id":230788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:24:12] local.INFO: Processing buffer {"connection_id":230788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:24:12] local.INFO: Packet analysis {"connection_id":230788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:24:12] local.INFO: Extracted packet for processing {"connection_id":230788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:24: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-11-04 15: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-11-04 15:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:24:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:24:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":230788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:24:12] local.INFO: GPS data processed {"connection_id":230788,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:24:12] local.INFO: Acknowledgment sent {"connection_id":230788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:24:29] local.INFO: TCP Data received {"connection_id":232625,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:24:29] local.INFO: Processing buffer {"connection_id":232625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:24:29] local.INFO: IMEI packet received {"connection_id":232625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":232625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:24:44] local.INFO: TCP Data received {"connection_id":230788,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:24:44] local.INFO: Processing buffer {"connection_id":230788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:24:44] local.INFO: Packet analysis {"connection_id":230788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:24:44] local.INFO: Extracted packet for processing {"connection_id":230788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:24:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:24: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-11-04 15: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-11-04 15:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:24:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:24:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":230788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:24:44] local.INFO: GPS data processed {"connection_id":230788,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:24:44] local.INFO: Acknowledgment sent {"connection_id":230788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:25:06] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:25:06] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:25:06] local.INFO: IMEI packet received {"connection_id":229473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":229473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:25:09] local.INFO: TCP Data received {"connection_id":232626,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:25:09] local.INFO: Processing buffer {"connection_id":232626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:25:09] local.INFO: IMEI packet received {"connection_id":232626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":232626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:25:11] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:25:11] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:25:11] local.INFO: IMEI packet received {"connection_id":229473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":229473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:25:12] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:25:12] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:25:12] local.INFO: Packet analysis {"connection_id":229473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:25:12] local.INFO: Extracted packet for processing {"connection_id":229473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15: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-11-04 15:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:25:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:25:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":229473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:25:12] local.INFO: GPS data processed {"connection_id":229473,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:25:12] local.INFO: Acknowledgment sent {"connection_id":229473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:25:43] local.INFO: TCP Data received {"connection_id":229473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:25:43] local.INFO: Processing buffer {"connection_id":229473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:25:43] local.INFO: Packet analysis {"connection_id":229473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:25:43] local.INFO: Extracted packet for processing {"connection_id":229473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:25:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:25:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:25:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":229473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:25:43] local.INFO: GPS data processed {"connection_id":229473,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:25:43] local.INFO: Acknowledgment sent {"connection_id":229473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:26:06] local.INFO: TCP Data received {"connection_id":232627,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:26:06] local.INFO: Processing buffer {"connection_id":232627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:26:06] local.INFO: IMEI packet received {"connection_id":232627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":232627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:26:11] local.INFO: TCP Data received {"connection_id":232627,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:26:11] local.INFO: Processing buffer {"connection_id":232627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:26:11] local.INFO: IMEI packet received {"connection_id":232627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":232627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:26:12] local.INFO: TCP Data received {"connection_id":232627,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:26:12] local.INFO: Processing buffer {"connection_id":232627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:26:12] local.INFO: Packet analysis {"connection_id":232627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:26:12] local.INFO: Extracted packet for processing {"connection_id":232627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:26:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15: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-11-04 15:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:26:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:26:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":232627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:26:12] local.INFO: GPS data processed {"connection_id":232627,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:26:12] local.INFO: Acknowledgment sent {"connection_id":232627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:26:44] local.INFO: TCP Data received {"connection_id":232627,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:26:44] local.INFO: Processing buffer {"connection_id":232627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:26:44] local.INFO: Packet analysis {"connection_id":232627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:26:44] local.INFO: Extracted packet for processing {"connection_id":232627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:26:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:26:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":232627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:26:44] local.INFO: GPS data processed {"connection_id":232627,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:26:44] local.INFO: Acknowledgment sent {"connection_id":232627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:27:06] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:27:06] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:27:06] local.INFO: IMEI packet received {"connection_id":229474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":229474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:27:11] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:27:11] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:27:11] local.INFO: IMEI packet received {"connection_id":229474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":229474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:27:12] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:27:12] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5f8dea8012d4cdf80068f46a8004700722d..."} 
[2026-11-04 15:27:12] local.INFO: Packet analysis {"connection_id":229474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:27:12] local.INFO: Extracted packet for processing {"connection_id":229474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5f8"} 
[2026-11-04 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":45,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209116672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793785913000,"timestamp_ms":1793785913000,"timestamp_seconds":1793785913,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5f8dea8"} 
[2026-11-04 15:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:27: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-11-04 15:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209116672001,"66":25375,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209116672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:27:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:27:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209116672001,"power":25375,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":229474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:27:12] local.INFO: GPS data processed {"connection_id":229474,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:27:12] local.INFO: Acknowledgment sent {"connection_id":229474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:27:44] local.INFO: TCP Data received {"connection_id":229474,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:27:44] local.INFO: Processing buffer {"connection_id":229474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:27:44] local.INFO: Packet analysis {"connection_id":229474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:27:44] local.INFO: Extracted packet for processing {"connection_id":229474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:27: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-11-04 15: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-11-04 15:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:27:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:27:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":229474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:27:44] local.INFO: GPS data processed {"connection_id":229474,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:27:44] local.INFO: Acknowledgment sent {"connection_id":229474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:28:06] local.INFO: TCP Data received {"connection_id":230790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:28:06] local.INFO: Processing buffer {"connection_id":230790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:28:06] local.INFO: IMEI packet received {"connection_id":230790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":230790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:28:11] local.INFO: TCP Data received {"connection_id":230790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:28:11] local.INFO: Processing buffer {"connection_id":230790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:28:11] local.INFO: IMEI packet received {"connection_id":230790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":230790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:28:12] local.INFO: TCP Data received {"connection_id":230790,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:28:12] local.INFO: Processing buffer {"connection_id":230790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:28:12] local.INFO: Packet analysis {"connection_id":230790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:28:12] local.INFO: Extracted packet for processing {"connection_id":230790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:28: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-11-04 15:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:28:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:28:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":230790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:28:12] local.INFO: GPS data processed {"connection_id":230790,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:28:12] local.INFO: Acknowledgment sent {"connection_id":230790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:28:44] local.INFO: TCP Data received {"connection_id":230790,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:28:44] local.INFO: Processing buffer {"connection_id":230790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:28:44] local.INFO: Packet analysis {"connection_id":230790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:28:44] local.INFO: Extracted packet for processing {"connection_id":230790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:28: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-11-04 15: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-11-04 15:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:28:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:28:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":230790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:28:44] local.INFO: GPS data processed {"connection_id":230790,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:28:44] local.INFO: Acknowledgment sent {"connection_id":230790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:29:11] local.INFO: TCP Data received {"connection_id":228981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:29:11] local.INFO: Processing buffer {"connection_id":228981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:29:11] local.INFO: IMEI packet received {"connection_id":228981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":228981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:29:16] local.INFO: TCP Data received {"connection_id":228981,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:29:16] local.INFO: Processing buffer {"connection_id":228981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:29:16] local.INFO: IMEI packet received {"connection_id":228981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":228981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:29:17] local.INFO: TCP Data received {"connection_id":228981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:29:17] local.INFO: Processing buffer {"connection_id":228981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:29:17] local.INFO: Packet analysis {"connection_id":228981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:29:17] local.INFO: Extracted packet for processing {"connection_id":228981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:29:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:29: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-11-04 15:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:29:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:29:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":228981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:29:17] local.INFO: GPS data processed {"connection_id":228981,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:29:17] local.INFO: Acknowledgment sent {"connection_id":228981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:29:22] local.INFO: TCP Data received {"connection_id":228981,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:29:22] local.INFO: Processing buffer {"connection_id":228981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:29:22] local.INFO: Packet analysis {"connection_id":228981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:29:22] local.INFO: Extracted packet for processing {"connection_id":228981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:29: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-11-04 15:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:29:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:29:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":228981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:29:22] local.INFO: GPS data processed {"connection_id":228981,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:29:22] local.INFO: Acknowledgment sent {"connection_id":228981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:30:06] local.INFO: TCP Data received {"connection_id":232628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:30:06] local.INFO: Processing buffer {"connection_id":232628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:30:06] local.INFO: IMEI packet received {"connection_id":232628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":232628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:30:11] local.INFO: TCP Data received {"connection_id":232628,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:30:11] local.INFO: Processing buffer {"connection_id":232628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:30:11] local.INFO: IMEI packet received {"connection_id":232628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":232628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:30:12] local.INFO: TCP Data received {"connection_id":232628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:30:12] local.INFO: Processing buffer {"connection_id":232628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:30:12] local.INFO: Packet analysis {"connection_id":232628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:30:12] local.INFO: Extracted packet for processing {"connection_id":232628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:30: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-11-04 15: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-11-04 15:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:30:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:30:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":232628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:30:12] local.INFO: GPS data processed {"connection_id":232628,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:30:12] local.INFO: Acknowledgment sent {"connection_id":232628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:30:39] local.INFO: TCP Data received {"connection_id":230791,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:30:39] local.INFO: Processing buffer {"connection_id":230791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:30:39] local.INFO: IMEI packet received {"connection_id":230791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":230791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:30:44] local.INFO: TCP Data received {"connection_id":232628,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:30:44] local.INFO: Processing buffer {"connection_id":232628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:30:44] local.INFO: Packet analysis {"connection_id":232628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:30:44] local.INFO: Extracted packet for processing {"connection_id":232628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:30:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:30: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-11-04 15: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-11-04 15:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:30:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:30:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":232628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:30:44] local.INFO: GPS data processed {"connection_id":232628,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:30:44] local.INFO: Acknowledgment sent {"connection_id":232628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:31:06] local.INFO: TCP Data received {"connection_id":230792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:31:06] local.INFO: Processing buffer {"connection_id":230792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:31:06] local.INFO: IMEI packet received {"connection_id":230792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":230792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:31:08] local.INFO: TCP Data received {"connection_id":230793,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:31:08] local.INFO: Processing buffer {"connection_id":230793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:31:08] local.INFO: IMEI packet received {"connection_id":230793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":230793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:31:11] local.INFO: TCP Data received {"connection_id":230792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:31:11] local.INFO: Processing buffer {"connection_id":230792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:31:11] local.INFO: IMEI packet received {"connection_id":230792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":230792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:31:12] local.INFO: TCP Data received {"connection_id":230792,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:31:12] local.INFO: Processing buffer {"connection_id":230792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:31:12] local.INFO: Packet analysis {"connection_id":230792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:31:12] local.INFO: Extracted packet for processing {"connection_id":230792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:31:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:31: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-11-04 15: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-11-04 15:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:31:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:31:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":230792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:31:12] local.INFO: GPS data processed {"connection_id":230792,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:31:12] local.INFO: Acknowledgment sent {"connection_id":230792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:31:43] local.INFO: TCP Data received {"connection_id":230792,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:31:43] local.INFO: Processing buffer {"connection_id":230792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:31:43] local.INFO: Packet analysis {"connection_id":230792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:31:43] local.INFO: Extracted packet for processing {"connection_id":230792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:31: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-11-04 15: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-11-04 15:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:31:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:31:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":230792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:31:43] local.INFO: GPS data processed {"connection_id":230792,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:31:43] local.INFO: Acknowledgment sent {"connection_id":230792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:32:06] local.INFO: TCP Data received {"connection_id":230794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:32:06] local.INFO: Processing buffer {"connection_id":230794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:32:06] local.INFO: IMEI packet received {"connection_id":230794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":230794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:32:11] local.INFO: TCP Data received {"connection_id":230794,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:32:11] local.INFO: Processing buffer {"connection_id":230794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:32:11] local.INFO: IMEI packet received {"connection_id":230794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":230794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:32:12] local.INFO: TCP Data received {"connection_id":230794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:32:12] local.INFO: Processing buffer {"connection_id":230794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a5fd7670012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:32:12] local.INFO: Packet analysis {"connection_id":230794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:32:12] local.INFO: Extracted packet for processing {"connection_id":230794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a5fd"} 
[2026-11-04 15:32:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209193728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786214000,"timestamp_ms":1793786214000,"timestamp_seconds":1793786214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a5fd7670"} 
[2026-11-04 15:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":31,"data_length":795,"current_offset":136} 
[2026-11-04 15:32: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-11-04 15: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-11-04 15:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209193728001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209193728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:32:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:32:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209193728001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":230794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:32:12] local.INFO: GPS data processed {"connection_id":230794,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:32:12] local.INFO: Acknowledgment sent {"connection_id":230794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:32:31] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:32:31] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:32:31] local.INFO: IMEI packet received {"connection_id":229477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":229477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:32:35] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:32:35] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:32:35] local.INFO: IMEI packet received {"connection_id":229477,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":229477,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:32:36] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-11-04 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-11-04 15:32:36] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-11-04 15:32:36] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 15:32:36] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 15:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239671619780608,"note":"Value kept but may cause issues"} 
[2026-11-04 15:32:36] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-11-04 15:32:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 15:32:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 15:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 15:32:36] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 15:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 15:32:36] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-04 15:32:36] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 15:32:43] local.INFO: TCP Data received {"connection_id":230794,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:32:43] local.INFO: Processing buffer {"connection_id":230794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:32:43] local.INFO: Packet analysis {"connection_id":230794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:32:43] local.INFO: Extracted packet for processing {"connection_id":230794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:32:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:32: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-11-04 15: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-11-04 15:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:32:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:32:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":230794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:32:43] local.INFO: GPS data processed {"connection_id":230794,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:32:43] local.INFO: Acknowledgment sent {"connection_id":230794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:33:06] local.INFO: TCP Data received {"connection_id":228982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:33:06] local.INFO: Processing buffer {"connection_id":228982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:33:06] local.INFO: IMEI packet received {"connection_id":228982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":228982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:33:07] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-11-04 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-11-04 15:33:07] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000006d600100000000000000000000000000..."} 
[2026-11-04 15:33:07] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 15:33:07] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 15:33: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-11-04 15: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-11-04 15:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239671619780608,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:07] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,94,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-04 15:33:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 15:33:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 15:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 15:33:07] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 15:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 15:33:07] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-04 15:33:07] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 15:33:11] local.INFO: TCP Data received {"connection_id":228982,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:33:11] local.INFO: Processing buffer {"connection_id":228982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:33:11] local.INFO: IMEI packet received {"connection_id":228982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":228982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:33:12] local.INFO: TCP Data received {"connection_id":228982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:33:12] local.INFO: Processing buffer {"connection_id":228982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:33:12] local.INFO: Packet analysis {"connection_id":228982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:33:12] local.INFO: Extracted packet for processing {"connection_id":228982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:33: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-11-04 15: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-11-04 15:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:33:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:33:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":228982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:33:12] local.INFO: GPS data processed {"connection_id":228982,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:33:12] local.INFO: Acknowledgment sent {"connection_id":228982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:33:38] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-11-04 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-11-04 15:33:38] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bf680100000000000000000000000000..."} 
[2026-11-04 15:33:38] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 15:33:38] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-11-04 15:33: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-11-04 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-11-04 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239671619780608,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:38] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,94,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-04 15:33:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":49000,"timestamp_seconds":49,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 15:33:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 15:33:38] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 15:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 15:33:38] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-04 15:33:38] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 15:33:44] local.INFO: TCP Data received {"connection_id":228982,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:33:44] local.INFO: Processing buffer {"connection_id":228982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:33:44] local.INFO: Packet analysis {"connection_id":228982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:33:44] local.INFO: Extracted packet for processing {"connection_id":228982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:33: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-11-04 15: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-11-04 15:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":228982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":228982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":228982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:33:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:33:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":228982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:33:44] local.INFO: GPS data processed {"connection_id":228982,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:33:44] local.INFO: Acknowledgment sent {"connection_id":228982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:34:09] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-11-04 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-11-04 15:34:09] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000111700100000000000000000000000000..."} 
[2026-11-04 15:34:09] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 15:34:09] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 15:34: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-11-04 15: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-11-04 15:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239671619780608,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:09] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,94,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-04 15:34:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":70000,"timestamp_seconds":70,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 15:34:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 15:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 15:34:09] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 15:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 15:34:09] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-04 15:34:09] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 15:34:11] local.INFO: TCP Data received {"connection_id":232629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:34:11] local.INFO: Processing buffer {"connection_id":232629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:34:11] local.INFO: IMEI packet received {"connection_id":232629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":232629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:34:16] local.INFO: TCP Data received {"connection_id":232629,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:34:16] local.INFO: Processing buffer {"connection_id":232629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:34:16] local.INFO: IMEI packet received {"connection_id":232629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":232629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:34:17] local.INFO: TCP Data received {"connection_id":232629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:34:17] local.INFO: Processing buffer {"connection_id":232629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:34:17] local.INFO: Packet analysis {"connection_id":232629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:34:17] local.INFO: Extracted packet for processing {"connection_id":232629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:34: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-11-04 15: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-11-04 15:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:34:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:34:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":232629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:34:17] local.INFO: GPS data processed {"connection_id":232629,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:34:17] local.INFO: Acknowledgment sent {"connection_id":232629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:34:22] local.INFO: TCP Data received {"connection_id":232629,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:34:22] local.INFO: Processing buffer {"connection_id":232629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:34:22] local.INFO: Packet analysis {"connection_id":232629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:34:22] local.INFO: Extracted packet for processing {"connection_id":232629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:34:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:34:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":232629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:34:22] local.INFO: GPS data processed {"connection_id":232629,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:34:22] local.INFO: Acknowledgment sent {"connection_id":232629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:34:40] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a00000000000163780100000000000000000000000000..."} 
[2026-11-04 15:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000163780100000000000000000000000000..."} 
[2026-11-04 15:34:40] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000163780100000000000000000000000000..."} 
[2026-11-04 15:34:40] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 15:34:40] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 15:34:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 15:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239671619780608,"note":"Value kept but may cause issues"} 
[2026-11-04 15:34:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 15:34:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":91000,"timestamp_seconds":91,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 15:34:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 15:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 15:34:40] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 15:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 15:34:40] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-04 15:34:40] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 15:35:06] local.INFO: TCP Data received {"connection_id":228984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:35:06] local.INFO: Processing buffer {"connection_id":228984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:35:06] local.INFO: IMEI packet received {"connection_id":228984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":228984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:35:11] local.INFO: TCP Data received {"connection_id":228984,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:35:11] local.INFO: Processing buffer {"connection_id":228984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:35:11] local.INFO: IMEI packet received {"connection_id":228984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":228984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:35:12] local.INFO: TCP Data received {"connection_id":228984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:35:12] local.INFO: Processing buffer {"connection_id":228984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:35:12] local.INFO: Packet analysis {"connection_id":228984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:35:12] local.INFO: Extracted packet for processing {"connection_id":228984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15: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-11-04 15:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:35:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:35:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":228984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:35:12] local.INFO: GPS data processed {"connection_id":228984,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:35:12] local.INFO: Acknowledgment sent {"connection_id":228984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:35:13] local.INFO: TCP Data received {"connection_id":229477,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000000000001c9080100000000000000000000000000..."} 
[2026-11-04 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229477,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001c9080100000000000000000000000000..."} 
[2026-11-04 15:35:13] local.INFO: Processing buffer {"connection_id":229477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001c9080100000000000000000000000000..."} 
[2026-11-04 15:35:13] local.INFO: Packet analysis {"connection_id":229477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 15:35:13] local.INFO: Extracted packet for processing {"connection_id":229477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-11-04 15: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-11-04 15: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-11-04 15:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239671619780608,"note":"Value kept but may cause issues"} 
[2026-11-04 15:35:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 15:35:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":117000,"timestamp_seconds":117,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-11-04 15:35:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-11-04 15:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229477,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229477,"device_imei":"862567072573210","avl_records_count":0} 
[2026-11-04 15:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-11-04 15:35:13] local.WARNING: DEBUG: No valid data to process  
[2026-11-04 15:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":229477,"result":{"success":false,"message":"No valid data to process"}} 
[2026-11-04 15:35:13] local.ERROR: GPS data processing failed {"connection_id":229477,"error":"No valid data to process"} 
[2026-11-04 15:35:13] local.INFO: Acknowledgment sent {"connection_id":229477,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-11-04 15:35:45] local.INFO: TCP Data received {"connection_id":228984,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:35:45] local.INFO: Processing buffer {"connection_id":228984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:35:45] local.INFO: Packet analysis {"connection_id":228984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:35:45] local.INFO: Extracted packet for processing {"connection_id":228984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:35: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-11-04 15:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:35:45] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:35:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":228984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:35:45] local.INFO: GPS data processed {"connection_id":228984,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:35:45] local.INFO: Acknowledgment sent {"connection_id":228984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:36:00] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:00] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:00] local.INFO: IMEI packet received {"connection_id":229479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":229479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:36:01] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:01] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:01] local.INFO: IMEI packet received {"connection_id":229479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":229479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:36:05] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:05] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:36:05] local.INFO: IMEI packet received {"connection_id":229479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":229479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:36:05] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6055de0012d0b24c007035ac80014005206..."} 
[2026-11-04 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6055de0012d0b24c007035ac80014005206..."} 
[2026-11-04 15:36:05] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6055de0012d0b24c007035ac80014005206..."} 
[2026-11-04 15:36:05] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a605"} 
[2026-11-04 15:36:05] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a605"} 
[2026-11-04 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":755705024,"raw_latitude":117660360,"longitude_deg":75.5705024,"latitude_deg":11.766036,"altitude":20,"angle":82,"satellites":6,"speed":2,"hex_longitude":"2d0b24c0","hex_latitude":"07035ac8","is_valid_coordinates":true} 
[2026-11-04 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209403136001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39239813353701376,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802837032444010496,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793786732000,"timestamp_ms":1793786732000,"timestamp_seconds":1793786732,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6055de0"} 
[2026-11-04 15:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 15:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1851,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209403136001,"66":14450,"17":206,"94":11008,"24":2,"16":39239813353701376,"45":802837032444010496},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 15:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209403136001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:36:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39239813353701376,"km_value":39239813353701.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":802837032444010496,"description":"Unknown IO ID 45"} 
[2026-11-04 15:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209403136001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":802837032444010496}} 
[2026-11-04 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":229479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59614,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:36:06] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:36:06] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:36:07] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:36:07] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:36:07] local.INFO: IMEI packet received {"connection_id":229480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":229480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:36:11] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:36:11] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:36:11] local.INFO: IMEI packet received {"connection_id":229480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:36:12] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:36:12] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:36:12] local.INFO: Packet analysis {"connection_id":229480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:36:12] local.INFO: Extracted packet for processing {"connection_id":229480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:36:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:36: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-11-04 15: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-11-04 15:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:36:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:36:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":229480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:36:12] local.INFO: GPS data processed {"connection_id":229480,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:36:12] local.INFO: Acknowledgment sent {"connection_id":229480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:36:27] local.INFO: TCP Data received {"connection_id":232630,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:36:27] local.INFO: Processing buffer {"connection_id":232630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:36:27] local.INFO: IMEI packet received {"connection_id":232630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":232630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:36:38] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6062130012d0b6ac0070347d80015009e06..."} 
[2026-11-04 15:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6062130012d0b6ac0070347d80015009e06..."} 
[2026-11-04 15:36:38] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6062130012d0b6ac0070347d80015009e06..."} 
[2026-11-04 15:36:38] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:36:38] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:36:38] local.INFO: GPS Element Parsed {"raw_longitude":755722944,"raw_latitude":117655512,"longitude_deg":75.5722944,"latitude_deg":11.7655512,"altitude":21,"angle":158,"satellites":6,"speed":7,"hex_longitude":"2d0b6ac0","hex_latitude":"070347d8","is_valid_coordinates":true} 
[2026-11-04 15:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209415424001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39240762541473792,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822540280812697600,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793786782000,"timestamp_ms":1793786782000,"timestamp_seconds":1793786782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6062130"} 
[2026-11-04 15:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 15:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209415424001,"66":14809,"17":206,"94":11008,"24":7,"16":39240762541473792,"45":822540280812697600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 15:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209415424001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:36:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39240762541473792,"km_value":39240762541473.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":822540280812697600,"description":"Unknown IO ID 45"} 
[2026-11-04 15:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209415424001,"power":14809,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":822540280812697600}} 
[2026-11-04 15:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":229479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59616,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:36:38] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:36:38] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:36:44] local.INFO: TCP Data received {"connection_id":229480,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:36:44] local.INFO: Processing buffer {"connection_id":229480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:36:44] local.INFO: Packet analysis {"connection_id":229480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:36:44] local.INFO: Extracted packet for processing {"connection_id":229480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:36:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:36: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-11-04 15: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-11-04 15:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:36:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:36:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":229480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:36:44] local.INFO: GPS data processed {"connection_id":229480,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:36:44] local.INFO: Acknowledgment sent {"connection_id":229480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:37:06] local.INFO: TCP Data received {"connection_id":230796,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:37:06] local.INFO: Processing buffer {"connection_id":230796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:37:06] local.INFO: IMEI packet received {"connection_id":230796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:37:09] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6062ce8012d0b6c80070346b80015007a06..."} 
[2026-11-04 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6062ce8012d0b6c80070346b80015007a06..."} 
[2026-11-04 15:37:09] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6062ce8012d0b6c80070346b80015007a06..."} 
[2026-11-04 15:37:09] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:37:09] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":755723392,"raw_latitude":117655224,"longitude_deg":75.5723392,"latitude_deg":11.7655224,"altitude":21,"angle":122,"satellites":6,"speed":6,"hex_longitude":"2d0b6c80","hex_latitude":"070346b8","is_valid_coordinates":true} 
[2026-11-04 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209416192001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39240792606244864,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822681018300880896,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793786785000,"timestamp_ms":1793786785000,"timestamp_seconds":1793786785,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6062ce8"} 
[2026-11-04 15:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:37:09] 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-11-04 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 15:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2436,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209416192001,"66":14450,"17":206,"94":11008,"24":6,"16":39240792606244864,"45":822681018300880896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 15:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209416192001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:37:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39240792606244864,"km_value":39240792606244.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":822681018300880896,"description":"Unknown IO ID 45"} 
[2026-11-04 15:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209416192001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":822681018300880896}} 
[2026-11-04 15:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":229479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59618,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:37:09] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:37:09] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:37:09] local.INFO: TCP Data received {"connection_id":232631,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:37:09] local.INFO: Processing buffer {"connection_id":232631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:37:09] local.INFO: IMEI packet received {"connection_id":232631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":232631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:37:11] local.INFO: TCP Data received {"connection_id":230796,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:37:11] local.INFO: Processing buffer {"connection_id":230796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:37:11] local.INFO: IMEI packet received {"connection_id":230796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":230796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:37:12] local.INFO: TCP Data received {"connection_id":230796,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:37:12] local.INFO: Processing buffer {"connection_id":230796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6020e38012d4cdf80068f46a8004700722b..."} 
[2026-11-04 15:37:12] local.INFO: Packet analysis {"connection_id":230796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:37:12] local.INFO: Extracted packet for processing {"connection_id":230796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a602"} 
[2026-11-04 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":43,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209270784001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786515000,"timestamp_ms":1793786515000,"timestamp_seconds":1793786515,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6020e38"} 
[2026-11-04 15:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15: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-11-04 15:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209270784001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209270784001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:37:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:37:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209270784001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":230796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:37:12] local.INFO: GPS data processed {"connection_id":230796,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:37:12] local.INFO: Acknowledgment sent {"connection_id":230796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:37:41] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60638a0012d0b6f00070346000015006406..."} 
[2026-11-04 15:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60638a0012d0b6f00070346000015006406..."} 
[2026-11-04 15:37:41] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60638a0012d0b6f00070346000015006406..."} 
[2026-11-04 15:37:41] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:37:41] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:37:41] local.INFO: GPS Element Parsed {"raw_longitude":755724032,"raw_latitude":117655040,"longitude_deg":75.5724032,"latitude_deg":11.765504,"altitude":21,"angle":100,"satellites":6,"speed":7,"hex_longitude":"2d0b6f00","hex_latitude":"07034600","is_valid_coordinates":true} 
[2026-11-04 15:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209416960001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39240822671015936,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823173599510050816,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793786788000,"timestamp_ms":1793786788000,"timestamp_seconds":1793786788,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60638a0"} 
[2026-11-04 15:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:37:41] 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-11-04 15:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 15:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209416960001,"66":14559,"17":206,"94":11008,"24":7,"16":39240822671015936,"45":823173599510050816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 15:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209416960001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:37:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39240822671015936,"km_value":39240822671015.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":823173599510050816,"description":"Unknown IO ID 45"} 
[2026-11-04 15:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209416960001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":823173599510050816}} 
[2026-11-04 15:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":229479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59620,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:37:41] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:37:41] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:37:44] local.INFO: TCP Data received {"connection_id":230796,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:37:44] local.INFO: Processing buffer {"connection_id":230796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:37:44] local.INFO: Packet analysis {"connection_id":230796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:37:44] local.INFO: Extracted packet for processing {"connection_id":230796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:37: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-11-04 15: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-11-04 15:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:37:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:37:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":230796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:37:44] local.INFO: GPS data processed {"connection_id":230796,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:37:44] local.INFO: Acknowledgment sent {"connection_id":230796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:38:11] local.INFO: TCP Data received {"connection_id":228986,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:38:11] local.INFO: Processing buffer {"connection_id":228986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:38:11] local.INFO: IMEI packet received {"connection_id":228986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":228986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:38:14] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60686c0012d0b7200070346300015006406..."} 
[2026-11-04 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60686c0012d0b7200070346300015006406..."} 
[2026-11-04 15:38:14] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60686c0012d0b7200070346300015006406..."} 
[2026-11-04 15:38:14] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:14] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:14] local.INFO: GPS Element Parsed {"raw_longitude":755724800,"raw_latitude":117655088,"longitude_deg":75.57248,"latitude_deg":11.7655088,"altitude":21,"angle":100,"satellites":6,"speed":0,"hex_longitude":"2d0b7200","hex_latitude":"07034630","is_valid_coordinates":true} 
[2026-11-04 15:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209417728001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39240861325721600,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823877286951780352,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793786808000,"timestamp_ms":1793786808000,"timestamp_seconds":1793786808,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60686c0"} 
[2026-11-04 15:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:38:14] 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-11-04 15:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 15:38:14] 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-11-04 15:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209417728001,"66":14722,"17":206,"94":11008,"24":0,"16":39240861325721600,"45":823877286951780352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 15:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209417728001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:38:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39240861325721600,"km_value":39240861325721.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":823877286951780352,"description":"Unknown IO ID 45"} 
[2026-11-04 15:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209417728001,"power":14722,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":823877286951780352}} 
[2026-11-04 15:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":229479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:38:14] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:38:14] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:38:16] local.INFO: TCP Data received {"connection_id":228986,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:38:16] local.INFO: Processing buffer {"connection_id":228986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:38:16] local.INFO: IMEI packet received {"connection_id":228986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":228986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:38:17] local.INFO: TCP Data received {"connection_id":228986,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:17] local.INFO: Processing buffer {"connection_id":228986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:17] local.INFO: Packet analysis {"connection_id":228986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:17] local.INFO: Extracted packet for processing {"connection_id":228986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:38: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-11-04 15: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-11-04 15:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:38:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:38:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":228986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:38:17] local.INFO: GPS data processed {"connection_id":228986,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:38:17] local.INFO: Acknowledgment sent {"connection_id":228986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:38:22] local.INFO: TCP Data received {"connection_id":228986,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:22] local.INFO: Processing buffer {"connection_id":228986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:22] local.INFO: Packet analysis {"connection_id":228986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:22] local.INFO: Extracted packet for processing {"connection_id":228986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:38: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-11-04 15:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":228986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":228986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":228986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:38:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:38:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":228986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:38:22] local.INFO: GPS data processed {"connection_id":228986,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:38:22] local.INFO: Acknowledgment sent {"connection_id":228986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:38:27] local.INFO: TCP Data received {"connection_id":228986,"ip":"42.109.136.11","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:27] local.INFO: Processing buffer {"connection_id":228986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:38:27] local.INFO: Packet analysis {"connection_id":228986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:27] local.INFO: Extracted packet for processing {"connection_id":228986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:38:27] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 15:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 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-11-04 15:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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-11-04 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-11-04 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-11-04 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-11-04 15:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":228986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":228986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":228986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.11","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.11","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:38:27] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:38:27] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":228986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:38:27] local.INFO: GPS data processed {"connection_id":228986,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:38:27] local.INFO: Acknowledgment sent {"connection_id":228986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:38:47] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6083858012d0be18007035d20000200790b..."} 
[2026-11-04 15:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6083858012d0be18007035d20000200790b..."} 
[2026-11-04 15:38:47] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6083858012d0be18007035d20000200790b..."} 
[2026-11-04 15:38:47] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a608"} 
[2026-11-04 15:38:47] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a608"} 
[2026-11-04 15:38:47] local.INFO: GPS Element Parsed {"raw_longitude":755753344,"raw_latitude":117660960,"longitude_deg":75.5753344,"latitude_deg":11.766096,"altitude":2,"angle":121,"satellites":11,"speed":15,"hex_longitude":"2d0be180","hex_latitude":"07035d20","is_valid_coordinates":true} 
[2026-11-04 15:38: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-11-04 15:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209451008001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39242390334078976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855754328065828864,"note":"Value kept but may cause issues"} 
[2026-11-04 15:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793786919000,"timestamp_ms":1793786919000,"timestamp_seconds":1793786919,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6083858"} 
[2026-11-04 15:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:38: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-11-04 15:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 15:38:47] 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-11-04 15:38: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-11-04 15:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209451008001,"66":14580,"17":206,"94":11008,"24":15,"16":39242390334078976,"45":855754328065828864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 15:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209451008001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:38:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39242390334078976,"km_value":39242390334078.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":855754328065828864,"description":"Unknown IO ID 45"} 
[2026-11-04 15:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209451008001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":855754328065828864}} 
[2026-11-04 15:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":229479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:38:47] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:38:47] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:39:06] local.INFO: TCP Data received {"connection_id":232634,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:39:06] local.INFO: Processing buffer {"connection_id":232634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:39:06] local.INFO: IMEI packet received {"connection_id":232634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":232634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:39:11] local.INFO: TCP Data received {"connection_id":232634,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:39:11] local.INFO: Processing buffer {"connection_id":232634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:39:11] local.INFO: IMEI packet received {"connection_id":232634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":232634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:39:12] local.INFO: TCP Data received {"connection_id":232634,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:39:12] local.INFO: Processing buffer {"connection_id":232634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:39:12] local.INFO: Packet analysis {"connection_id":232634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:39:12] local.INFO: Extracted packet for processing {"connection_id":232634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:39:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:39: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-11-04 15: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-11-04 15:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:39:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:39:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":232634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:39:12] local.INFO: GPS data processed {"connection_id":232634,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:39:12] local.INFO: Acknowledgment sent {"connection_id":232634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:39:19] local.INFO: TCP Data received {"connection_id":229479,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6084028012d0be40007035bd00002006a0b..."} 
[2026-11-04 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6084028012d0be40007035bd00002006a0b..."} 
[2026-11-04 15:39:19] local.INFO: Processing buffer {"connection_id":229479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6084028012d0be40007035bd00002006a0b..."} 
[2026-11-04 15:39:19] local.INFO: Packet analysis {"connection_id":229479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a608"} 
[2026-11-04 15:39:19] local.INFO: Extracted packet for processing {"connection_id":229479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a608"} 
[2026-11-04 15:39:19] local.INFO: GPS Element Parsed {"raw_longitude":755753984,"raw_latitude":117660624,"longitude_deg":75.5753984,"latitude_deg":11.7660624,"altitude":2,"angle":106,"satellites":11,"speed":14,"hex_longitude":"2d0be400","hex_latitude":"07035bd0","is_valid_coordinates":true} 
[2026-11-04 15:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209451264001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39242428988784640,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856106171786665984,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793786921000,"timestamp_ms":1793786921000,"timestamp_seconds":1793786921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6084028"} 
[2026-11-04 15:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:39: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-11-04 15:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 15:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209451264001,"66":14613,"17":206,"94":11008,"24":14,"16":39242428988784640,"45":856106171786665984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-11-04 15:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209451264001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:39:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39242428988784640,"km_value":39242428988784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":856106171786665984,"description":"Unknown IO ID 45"} 
[2026-11-04 15:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209451264001,"power":14613,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":856106171786665984}} 
[2026-11-04 15:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":229479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:39:19] local.INFO: GPS data processed {"connection_id":229479,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:39:19] local.INFO: Acknowledgment sent {"connection_id":229479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:39:43] local.INFO: TCP Data received {"connection_id":232634,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:39:43] local.INFO: Processing buffer {"connection_id":232634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:39:43] local.INFO: Packet analysis {"connection_id":232634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:39:43] local.INFO: Extracted packet for processing {"connection_id":232634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:39: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-11-04 15: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-11-04 15:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:39:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:39:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":232634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:39:43] local.INFO: GPS data processed {"connection_id":232634,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:39:43] local.INFO: Acknowledgment sent {"connection_id":232634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:39:55] local.INFO: TCP Data received {"connection_id":228987,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228987,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:39:55] local.INFO: Processing buffer {"connection_id":228987,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:39:55] local.INFO: IMEI packet received {"connection_id":228987,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":228987,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:40:00] local.INFO: TCP Data received {"connection_id":228987,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228987,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:00] local.INFO: Processing buffer {"connection_id":228987,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:00] local.INFO: IMEI packet received {"connection_id":228987,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":228987,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:40:01] local.INFO: TCP Data received {"connection_id":228987,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6090b48012d0c168007034038000900400d..."} 
[2026-11-04 15:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6090b48012d0c168007034038000900400d..."} 
[2026-11-04 15:40:01] local.INFO: Processing buffer {"connection_id":228987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6090b48012d0c168007034038000900400d..."} 
[2026-11-04 15:40:01] local.INFO: Packet analysis {"connection_id":228987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a609"} 
[2026-11-04 15:40:01] local.INFO: Extracted packet for processing {"connection_id":228987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a609"} 
[2026-11-04 15:40:01] local.INFO: GPS Element Parsed {"raw_longitude":755766912,"raw_latitude":117653560,"longitude_deg":75.5766912,"latitude_deg":11.765356,"altitude":9,"angle":64,"satellites":13,"speed":12,"hex_longitude":"2d0c1680","hex_latitude":"07034038","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209464832001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39243318047014912,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870672501829523456,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793786973000,"timestamp_ms":1793786973000,"timestamp_seconds":1793786973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6090b48"} 
[2026-11-04 15:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:40: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-11-04 15: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":223,"data_length":795,"current_offset":136} 
[2026-11-04 15:40:01] 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-11-04 15: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-11-04 15:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":228987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":228987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":228987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209464832001,"66":14461,"37":206,"94":11008,"24":12,"16":39243318047014912,"45":870672501829523456},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 15:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209464832001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:40:01] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 15:40:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39243318047014912,"km_value":39243318047014.914,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":870672501829523456,"description":"Unknown IO ID 45"} 
[2026-11-04 15:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209464832001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":870672501829523456}} 
[2026-11-04 15:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":228987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:40:01] local.INFO: GPS data processed {"connection_id":228987,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:40:01] local.INFO: Acknowledgment sent {"connection_id":228987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:40:07] local.INFO: TCP Data received {"connection_id":230798,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:40:07] local.INFO: Processing buffer {"connection_id":230798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:40:07] local.INFO: IMEI packet received {"connection_id":230798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":230798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:40:11] local.INFO: TCP Data received {"connection_id":230798,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:40:11] local.INFO: Processing buffer {"connection_id":230798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:40:11] local.INFO: IMEI packet received {"connection_id":230798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":230798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:40:12] local.INFO: TCP Data received {"connection_id":230798,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:12] local.INFO: Processing buffer {"connection_id":230798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:12] local.INFO: Packet analysis {"connection_id":230798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:40:12] local.INFO: Extracted packet for processing {"connection_id":230798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:40:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:40:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:40:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":230798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:40:12] local.INFO: GPS data processed {"connection_id":230798,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:40:12] local.INFO: Acknowledgment sent {"connection_id":230798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:40:17] local.INFO: TCP Data received {"connection_id":230798,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:17] local.INFO: Processing buffer {"connection_id":230798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:17] local.INFO: Packet analysis {"connection_id":230798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:40:17] local.INFO: Extracted packet for processing {"connection_id":230798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:40: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-11-04 15: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-11-04 15:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:40:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:40:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":230798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:40:17] local.INFO: GPS data processed {"connection_id":230798,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:40:17] local.INFO: Acknowledgment sent {"connection_id":230798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:40:32] local.INFO: TCP Data received {"connection_id":228987,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6090f30012d0c1740070340f00009002a0d..."} 
[2026-11-04 15:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6090f30012d0c1740070340f00009002a0d..."} 
[2026-11-04 15:40:32] local.INFO: Processing buffer {"connection_id":228987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6090f30012d0c1740070340f00009002a0d..."} 
[2026-11-04 15:40:32] local.INFO: Packet analysis {"connection_id":228987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a609"} 
[2026-11-04 15:40:32] local.INFO: Extracted packet for processing {"connection_id":228987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a609"} 
[2026-11-04 15:40:32] local.INFO: GPS Element Parsed {"raw_longitude":755767104,"raw_latitude":117653744,"longitude_deg":75.5767104,"latitude_deg":11.7653744,"altitude":9,"angle":42,"satellites":13,"speed":11,"hex_longitude":"2d0c1740","hex_latitude":"070340f0","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209465088001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39243335226884096,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871024345550436352,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793786974000,"timestamp_ms":1793786974000,"timestamp_seconds":1793786974,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6090f30"} 
[2026-11-04 15:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:40: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-11-04 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 15:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":228987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":228987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":228987,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209465088001,"66":14461,"37":206,"94":11008,"24":11,"16":39243335226884096,"45":871024345550436352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-11-04 15:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209465088001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:40:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 15:40:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 15:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39243335226884096,"km_value":39243335226884.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":871024345550436352,"description":"Unknown IO ID 45"} 
[2026-11-04 15:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209465088001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":871024345550436352}} 
[2026-11-04 15:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":228987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:40:32] local.INFO: GPS data processed {"connection_id":228987,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:40:32] local.INFO: Acknowledgment sent {"connection_id":228987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:40:48] local.INFO: TCP Data received {"connection_id":230798,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:48] local.INFO: Processing buffer {"connection_id":230798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:40:48] local.INFO: Packet analysis {"connection_id":230798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:40:48] local.INFO: Extracted packet for processing {"connection_id":230798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:40:48] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:40: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-11-04 15:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:40:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:40:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":230798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:40:48] local.INFO: GPS data processed {"connection_id":230798,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:40:48] local.INFO: Acknowledgment sent {"connection_id":230798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:40:55] local.INFO: TCP Data received {"connection_id":230799,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:55] local.INFO: Processing buffer {"connection_id":230799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:55] local.INFO: IMEI packet received {"connection_id":230799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":230799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:40:56] local.INFO: TCP Data received {"connection_id":230799,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:56] local.INFO: Processing buffer {"connection_id":230799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:56] local.INFO: IMEI packet received {"connection_id":230799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":230799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:40:57] local.INFO: TCP Data received {"connection_id":230799,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:57] local.INFO: Processing buffer {"connection_id":230799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:57] local.INFO: IMEI packet received {"connection_id":230799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":230799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:40:58] local.INFO: TCP Data received {"connection_id":230799,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230799,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:58] local.INFO: Processing buffer {"connection_id":230799,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:40:58] local.INFO: IMEI packet received {"connection_id":230799,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":230799,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:41:06] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:41:06] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:41:06] local.INFO: IMEI packet received {"connection_id":229482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":229482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:41:11] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:41:11] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:41:11] local.INFO: IMEI packet received {"connection_id":229482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":229482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:41:12] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:41:12] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:41:12] local.INFO: Packet analysis {"connection_id":229482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:41:12] local.INFO: Extracted packet for processing {"connection_id":229482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:41:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:41:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:41:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":229482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:41:12] local.INFO: GPS data processed {"connection_id":229482,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:41:12] local.INFO: Acknowledgment sent {"connection_id":229482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:41:44] local.INFO: TCP Data received {"connection_id":229482,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:41:44] local.INFO: Processing buffer {"connection_id":229482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:41:44] local.INFO: Packet analysis {"connection_id":229482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:41:44] local.INFO: Extracted packet for processing {"connection_id":229482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:41:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:41:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:41:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":229482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:41:44] local.INFO: GPS data processed {"connection_id":229482,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:41:44] local.INFO: Acknowledgment sent {"connection_id":229482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:42:06] local.INFO: TCP Data received {"connection_id":230801,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:42:06] local.INFO: Processing buffer {"connection_id":230801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:42:06] local.INFO: IMEI packet received {"connection_id":230801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":230801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:42:11] local.INFO: TCP Data received {"connection_id":230801,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:42:11] local.INFO: Processing buffer {"connection_id":230801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:42:11] local.INFO: IMEI packet received {"connection_id":230801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":230801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:42:12] local.INFO: TCP Data received {"connection_id":230801,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:42:12] local.INFO: Processing buffer {"connection_id":230801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a606a600012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:42:12] local.INFO: Packet analysis {"connection_id":230801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:42:12] local.INFO: Extracted packet for processing {"connection_id":230801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a606"} 
[2026-11-04 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209347840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793786816000,"timestamp_ms":1793786816000,"timestamp_seconds":1793786816,"priority":1,"record_length":96,"hex_timestamp":"000001a1a606a600"} 
[2026-11-04 15:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15: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-11-04 15:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209347840001,"66":25430,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209347840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:42:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:42:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209347840001,"power":25430,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":230801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:42:12] local.INFO: GPS data processed {"connection_id":230801,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:42:12] local.INFO: Acknowledgment sent {"connection_id":230801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:42:43] local.INFO: TCP Data received {"connection_id":228988,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:42:43] local.INFO: Processing buffer {"connection_id":228988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:42:43] local.INFO: IMEI packet received {"connection_id":228988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":228988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:42:44] local.INFO: TCP Data received {"connection_id":230801,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:42:44] local.INFO: Processing buffer {"connection_id":230801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:42:44] local.INFO: Packet analysis {"connection_id":230801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:42:44] local.INFO: Extracted packet for processing {"connection_id":230801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:42:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:42: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-11-04 15: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-11-04 15:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:42:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:42:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":230801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:42:44] local.INFO: GPS data processed {"connection_id":230801,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:42:44] local.INFO: Acknowledgment sent {"connection_id":230801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:43:11] local.INFO: TCP Data received {"connection_id":232635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:43:11] local.INFO: Processing buffer {"connection_id":232635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:43:11] local.INFO: IMEI packet received {"connection_id":232635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":232635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:43:13] local.INFO: TCP Data received {"connection_id":232636,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:43:13] local.INFO: Processing buffer {"connection_id":232636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:43:13] local.INFO: IMEI packet received {"connection_id":232636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":232636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:43:16] local.INFO: TCP Data received {"connection_id":232635,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:43:16] local.INFO: Processing buffer {"connection_id":232635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:43:16] local.INFO: IMEI packet received {"connection_id":232635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":232635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:43:17] local.INFO: TCP Data received {"connection_id":232635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:43:17] local.INFO: Processing buffer {"connection_id":232635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:43:17] local.INFO: Packet analysis {"connection_id":232635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:43:17] local.INFO: Extracted packet for processing {"connection_id":232635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:43: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-11-04 15:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:43:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:43:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":232635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:43:17] local.INFO: GPS data processed {"connection_id":232635,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:43:17] local.INFO: Acknowledgment sent {"connection_id":232635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:43:22] local.INFO: TCP Data received {"connection_id":232635,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:43:22] local.INFO: Processing buffer {"connection_id":232635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:43:22] local.INFO: Packet analysis {"connection_id":232635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:43:22] local.INFO: Extracted packet for processing {"connection_id":232635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:43:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:43:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":232635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:43:22] local.INFO: GPS data processed {"connection_id":232635,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:43:22] local.INFO: Acknowledgment sent {"connection_id":232635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:44:06] local.INFO: TCP Data received {"connection_id":228989,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:44:06] local.INFO: Processing buffer {"connection_id":228989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:44:06] local.INFO: IMEI packet received {"connection_id":228989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":228989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:44:11] local.INFO: TCP Data received {"connection_id":228989,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:44:11] local.INFO: Processing buffer {"connection_id":228989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:44:11] local.INFO: IMEI packet received {"connection_id":228989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":228989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:44:12] local.INFO: TCP Data received {"connection_id":228989,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:44:12] local.INFO: Processing buffer {"connection_id":228989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:44:12] local.INFO: Packet analysis {"connection_id":228989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:44:12] local.INFO: Extracted packet for processing {"connection_id":228989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:44:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:44: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-11-04 15: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-11-04 15:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:44:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:44:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":228989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:44:12] local.INFO: GPS data processed {"connection_id":228989,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:44:12] local.INFO: Acknowledgment sent {"connection_id":228989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:44:45] local.INFO: TCP Data received {"connection_id":228989,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:44:45] local.INFO: Processing buffer {"connection_id":228989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:44:45] local.INFO: Packet analysis {"connection_id":228989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:44:45] local.INFO: Extracted packet for processing {"connection_id":228989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:44: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-11-04 15:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":228989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":228989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":228989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:44:45] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:44:45] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":228989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:44:45] local.INFO: GPS data processed {"connection_id":228989,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:44:45] local.INFO: Acknowledgment sent {"connection_id":228989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:45:09] local.INFO: TCP Data received {"connection_id":230803,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:45:09] local.INFO: Processing buffer {"connection_id":230803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:45:09] local.INFO: IMEI packet received {"connection_id":230803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":230803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:45:11] local.INFO: TCP Data received {"connection_id":230803,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:45:11] local.INFO: Processing buffer {"connection_id":230803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:45:11] local.INFO: IMEI packet received {"connection_id":230803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":230803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:45:12] local.INFO: TCP Data received {"connection_id":230803,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:12] local.INFO: Processing buffer {"connection_id":230803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:12] local.INFO: Packet analysis {"connection_id":230803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:45:12] local.INFO: Extracted packet for processing {"connection_id":230803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:45:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:45: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-11-04 15: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-11-04 15:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:45:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:45:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":230803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:45:12] local.INFO: GPS data processed {"connection_id":230803,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:45:12] local.INFO: Acknowledgment sent {"connection_id":230803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:45:17] local.INFO: TCP Data received {"connection_id":230803,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:17] local.INFO: Processing buffer {"connection_id":230803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:17] local.INFO: Packet analysis {"connection_id":230803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:45:17] local.INFO: Extracted packet for processing {"connection_id":230803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:45: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-11-04 15: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-11-04 15:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:45:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:45:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":230803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:45:17] local.INFO: GPS data processed {"connection_id":230803,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:45:17] local.INFO: Acknowledgment sent {"connection_id":230803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:45:48] local.INFO: TCP Data received {"connection_id":230803,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:48] local.INFO: Processing buffer {"connection_id":230803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:45:48] local.INFO: Packet analysis {"connection_id":230803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:45:48] local.INFO: Extracted packet for processing {"connection_id":230803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:45:48] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:45:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:45:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":230803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:45:48] local.INFO: GPS data processed {"connection_id":230803,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:45:48] local.INFO: Acknowledgment sent {"connection_id":230803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:46:00] local.INFO: TCP Data received {"connection_id":229486,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229486,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:00] local.INFO: Processing buffer {"connection_id":229486,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:00] local.INFO: IMEI packet received {"connection_id":229486,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":229486,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:46:01] local.INFO: TCP Data received {"connection_id":229486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60e5aa8012d0c8c800704d1600020013110..."} 
[2026-11-04 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60e5aa8012d0c8c800704d1600020013110..."} 
[2026-11-04 15:46:01] local.INFO: Processing buffer {"connection_id":229486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60e5aa8012d0c8c800704d1600020013110..."} 
[2026-11-04 15:46:01] local.INFO: Packet analysis {"connection_id":229486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60e"} 
[2026-11-04 15:46:01] local.INFO: Extracted packet for processing {"connection_id":229486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60e"} 
[2026-11-04 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":755797120,"raw_latitude":117756256,"longitude_deg":75.579712,"latitude_deg":11.7756256,"altitude":32,"angle":305,"satellites":16,"speed":17,"hex_longitude":"2d0c8c80","hex_latitude":"0704d160","is_valid_coordinates":true} 
[2026-11-04 15:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209551360001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39249850692272128,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907475355058968576,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793787321000,"timestamp_ms":1793787321000,"timestamp_seconds":1793787321,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60e5aa8"} 
[2026-11-04 15:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 15:46:01] 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-11-04 15: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-11-04 15:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209551360001,"66":14613,"95":206,"94":10240,"24":17,"16":39249850692272128,"45":907475355058968576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-04 15:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209551360001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:46:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 15:46:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39249850692272128,"km_value":39249850692272.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":907475355058968576,"description":"Unknown IO ID 45"} 
[2026-11-04 15:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209551360001,"power":14613,"unknown_95":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":907475355058968576}} 
[2026-11-04 15:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":229486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59646,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:46:01] local.INFO: GPS data processed {"connection_id":229486,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:46:01] local.INFO: Acknowledgment sent {"connection_id":229486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:46:06] local.INFO: TCP Data received {"connection_id":232637,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:46:06] local.INFO: Processing buffer {"connection_id":232637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:46:06] local.INFO: IMEI packet received {"connection_id":232637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":232637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:46:11] local.INFO: TCP Data received {"connection_id":232637,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:46:11] local.INFO: Processing buffer {"connection_id":232637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:46:11] local.INFO: IMEI packet received {"connection_id":232637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":232637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:46:12] local.INFO: TCP Data received {"connection_id":232637,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:46:12] local.INFO: Processing buffer {"connection_id":232637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:46:12] local.INFO: Packet analysis {"connection_id":232637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:46:12] local.INFO: Extracted packet for processing {"connection_id":232637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:46: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-11-04 15:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:46:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:46:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":232637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:46:12] local.INFO: GPS data processed {"connection_id":232637,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:46:12] local.INFO: Acknowledgment sent {"connection_id":232637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:46:32] local.INFO: TCP Data received {"connection_id":229486,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60f54a8012d0bc6000704bd68002100eb10..."} 
[2026-11-04 15:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60f54a8012d0bc6000704bd68002100eb10..."} 
[2026-11-04 15:46:32] local.INFO: Processing buffer {"connection_id":229486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60f54a8012d0bc6000704bd68002100eb10..."} 
[2026-11-04 15:46:32] local.INFO: Packet analysis {"connection_id":229486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:46:32] local.INFO: Extracted packet for processing {"connection_id":229486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":755746304,"raw_latitude":117751144,"longitude_deg":75.5746304,"latitude_deg":11.7751144,"altitude":33,"angle":235,"satellites":16,"speed":28,"hex_longitude":"2d0bc600","hex_latitude":"0704bd68","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209569792001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39252316003500032,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850265566043217920,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793787385000,"timestamp_ms":1793787385000,"timestamp_seconds":1793787385,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60f54a8"} 
[2026-11-04 15:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-11-04 15:46: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-11-04 15: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-11-04 15:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229486,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209569792001,"66":14537,"95":206,"94":10240,"24":28,"16":39252316003500032,"45":850265566043217920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-11-04 15:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209569792001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-11-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39252316003500032,"km_value":39252316003500.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":850265566043217920,"description":"Unknown IO ID 45"} 
[2026-11-04 15:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209569792001,"power":14537,"unknown_95":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":850265566043217920}} 
[2026-11-04 15:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":229486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:46:32] local.INFO: GPS data processed {"connection_id":229486,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:46:32] local.INFO: Acknowledgment sent {"connection_id":229486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:46:44] local.INFO: TCP Data received {"connection_id":232637,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:46:44] local.INFO: Processing buffer {"connection_id":232637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:46:44] local.INFO: Packet analysis {"connection_id":232637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:46:44] local.INFO: Extracted packet for processing {"connection_id":232637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:46:44] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:46: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-11-04 15: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-11-04 15:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:46:44] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:46:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":232637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:46:44] local.INFO: GPS data processed {"connection_id":232637,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:46:44] local.INFO: Acknowledgment sent {"connection_id":232637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:46:55] local.INFO: TCP Data received {"connection_id":230804,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:55] local.INFO: Processing buffer {"connection_id":230804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:55] local.INFO: IMEI packet received {"connection_id":230804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":230804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:46:57] local.INFO: TCP Data received {"connection_id":230804,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:58] local.INFO: Processing buffer {"connection_id":230804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:58] local.INFO: IMEI packet received {"connection_id":230804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":230804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:46:58] local.INFO: TCP Data received {"connection_id":230804,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:58] local.INFO: Processing buffer {"connection_id":230804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:58] local.INFO: IMEI packet received {"connection_id":230804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":230804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:46:59] local.INFO: TCP Data received {"connection_id":230804,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230804,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:59] local.INFO: Processing buffer {"connection_id":230804,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:46:59] local.INFO: IMEI packet received {"connection_id":230804,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":230804,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:47:06] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:47:06] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:47:06] local.INFO: IMEI packet received {"connection_id":229487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":229487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:47:11] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:47:11] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:47:11] local.INFO: IMEI packet received {"connection_id":229487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":229487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:47:12] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:47:12] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60b3dc8012d4cdf80068f46a8004700722e..."} 
[2026-11-04 15:47:12] local.INFO: Packet analysis {"connection_id":229487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:47:12] local.INFO: Extracted packet for processing {"connection_id":229487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60b"} 
[2026-11-04 15:47:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":46,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209424896001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787117000,"timestamp_ms":1793787117000,"timestamp_seconds":1793787117,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60b3dc8"} 
[2026-11-04 15:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209424896001,"66":25397,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209424896001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:47:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:47:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209424896001,"power":25397,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":229487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:47:12] local.INFO: GPS data processed {"connection_id":229487,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:47:12] local.INFO: Acknowledgment sent {"connection_id":229487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:47:43] local.INFO: TCP Data received {"connection_id":229487,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:47:43] local.INFO: Processing buffer {"connection_id":229487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:47:43] local.INFO: Packet analysis {"connection_id":229487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:47:43] local.INFO: Extracted packet for processing {"connection_id":229487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:47:43] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":48,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209501952001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793787418000,"timestamp_ms":1793787418000,"timestamp_seconds":1793787418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60fd590"} 
[2026-11-04 15:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:47: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-11-04 15: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-11-04 15:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209501952001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209501952001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:47:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:47:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209501952001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":229487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:47:43] local.INFO: GPS data processed {"connection_id":229487,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:47:43] local.INFO: Acknowledgment sent {"connection_id":229487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:48:11] local.INFO: TCP Data received {"connection_id":232640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:48:11] local.INFO: Processing buffer {"connection_id":232640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:48:11] local.INFO: IMEI packet received {"connection_id":232640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":232640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:48:16] local.INFO: TCP Data received {"connection_id":232640,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:48:16] local.INFO: Processing buffer {"connection_id":232640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:48:16] local.INFO: IMEI packet received {"connection_id":232640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":232640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:48:17] local.INFO: TCP Data received {"connection_id":232640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:48:17] local.INFO: Processing buffer {"connection_id":232640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:48:17] local.INFO: Packet analysis {"connection_id":232640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:48:17] local.INFO: Extracted packet for processing {"connection_id":232640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:48:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":48,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209501952001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793787418000,"timestamp_ms":1793787418000,"timestamp_seconds":1793787418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60fd590"} 
[2026-11-04 15:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:48: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-11-04 15: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-11-04 15:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209501952001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209501952001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:48:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:48:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209501952001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":232640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:48:17] local.INFO: GPS data processed {"connection_id":232640,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:48:17] local.INFO: Acknowledgment sent {"connection_id":232640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:48:22] local.INFO: TCP Data received {"connection_id":232640,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:48:22] local.INFO: Processing buffer {"connection_id":232640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:48:22] local.INFO: Packet analysis {"connection_id":232640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:48:22] local.INFO: Extracted packet for processing {"connection_id":232640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":48,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209501952001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793787418000,"timestamp_ms":1793787418000,"timestamp_seconds":1793787418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60fd590"} 
[2026-11-04 15:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:48: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-11-04 15:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209501952001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209501952001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:48:22] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:48:22] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209501952001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":232640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:48:22] local.INFO: GPS data processed {"connection_id":232640,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:48:22] local.INFO: Acknowledgment sent {"connection_id":232640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:48:57] local.INFO: TCP Data received {"connection_id":232639,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:48:57] local.INFO: Processing buffer {"connection_id":232639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:48:57] local.INFO: IMEI packet received {"connection_id":232639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":232639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:49:07] local.INFO: TCP Data received {"connection_id":228995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:49:07] local.INFO: Processing buffer {"connection_id":228995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:49:07] local.INFO: IMEI packet received {"connection_id":228995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":228995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:49:07] local.INFO: TCP Data received {"connection_id":228996,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:49:07] local.INFO: Processing buffer {"connection_id":228996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:49:07] local.INFO: IMEI packet received {"connection_id":228996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":228996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:49:11] local.INFO: TCP Data received {"connection_id":228995,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:49:11] local.INFO: Processing buffer {"connection_id":228995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:49:11] local.INFO: IMEI packet received {"connection_id":228995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":228995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:49:12] local.INFO: TCP Data received {"connection_id":228995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:12] local.INFO: Processing buffer {"connection_id":228995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:12] local.INFO: Packet analysis {"connection_id":228995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:49:12] local.INFO: Extracted packet for processing {"connection_id":228995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:49:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":48,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209501952001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787418000,"timestamp_ms":1793787418000,"timestamp_seconds":1793787418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60fd590"} 
[2026-11-04 15:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15: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-11-04 15: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-11-04 15:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":228995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":228995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":228995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209501952001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209501952001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:49:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:49:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209501952001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":228995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:49:12] local.INFO: GPS data processed {"connection_id":228995,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:49:12] local.INFO: Acknowledgment sent {"connection_id":228995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:49:17] local.INFO: TCP Data received {"connection_id":228995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:17] local.INFO: Processing buffer {"connection_id":228995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:17] local.INFO: Packet analysis {"connection_id":228995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:49:17] local.INFO: Extracted packet for processing {"connection_id":228995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:49:17] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":48,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209501952001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793787418000,"timestamp_ms":1793787418000,"timestamp_seconds":1793787418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60fd590"} 
[2026-11-04 15:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:49: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-11-04 15: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-11-04 15:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":228995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":228995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":228995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209501952001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209501952001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:49:17] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:49:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209501952001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":228995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:49:17] local.INFO: GPS data processed {"connection_id":228995,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:49:17] local.INFO: Acknowledgment sent {"connection_id":228995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:49:48] local.INFO: TCP Data received {"connection_id":228995,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:48] local.INFO: Processing buffer {"connection_id":228995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a60fd590012d4cdf80068f46a80047007230..."} 
[2026-11-04 15:49:48] local.INFO: Packet analysis {"connection_id":228995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:49:48] local.INFO: Extracted packet for processing {"connection_id":228995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a60f"} 
[2026-11-04 15:49:48] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":48,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209501952001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793787418000,"timestamp_ms":1793787418000,"timestamp_seconds":1793787418,"priority":1,"record_length":96,"hex_timestamp":"000001a1a60fd590"} 
[2026-11-04 15:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 15:49: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-11-04 15: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-11-04 15:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":228995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":228995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":228995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209501952001,"66":25419,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209501952001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:49:48] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:49:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209501952001,"power":25419,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":228995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:49:48] local.INFO: GPS data processed {"connection_id":228995,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:49:48] local.INFO: Acknowledgment sent {"connection_id":228995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:50:03] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:03] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:03] local.INFO: IMEI packet received {"connection_id":229489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":229489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:50:06] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:06] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:06] local.INFO: IMEI packet received {"connection_id":229489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":229489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:50:07] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:07] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:07] local.INFO: IMEI packet received {"connection_id":229489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":229489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:50:11] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:11] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:50:11] local.INFO: IMEI packet received {"connection_id":229489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":229489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:50:12] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61213c8012d4cdf80068f46a8004700722c..."} 
[2026-11-04 15:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61213c8012d4cdf80068f46a8004700722c..."} 
[2026-11-04 15:50:12] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61213c8012d4cdf80068f46a8004700722c..."} 
[2026-11-04 15:50:12] local.INFO: Packet analysis {"connection_id":229489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a612"} 
[2026-11-04 15:50:12] local.INFO: Extracted packet for processing {"connection_id":229489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a612"} 
[2026-11-04 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":760012672,"raw_latitude":110053032,"longitude_deg":76.0012672,"latitude_deg":11.0053032,"altitude":71,"angle":114,"satellites":44,"speed":0,"hex_longitude":"2d4cdf80","hex_latitude":"068f46a8","is_valid_coordinates":true} 
[2026-11-04 15:50: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-11-04 15:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209579008001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787565000,"timestamp_ms":1793787565000,"timestamp_seconds":1793787565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61213c8"} 
[2026-11-04 15:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 15: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":75,"data_length":795,"current_offset":136} 
[2026-11-04 15:50: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-11-04 15: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-11-04 15:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209579008001,"66":25180,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209579008001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:50:12] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:50:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209579008001,"power":25180,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":229489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:50:12] local.INFO: GPS data processed {"connection_id":229489,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:50:12] local.INFO: Acknowledgment sent {"connection_id":229489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:50:43] local.INFO: TCP Data received {"connection_id":229489,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6122368012d4ce040068f4538004701112c..."} 
[2026-11-04 15:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6122368012d4ce040068f4538004701112c..."} 
[2026-11-04 15:50:43] local.INFO: Processing buffer {"connection_id":229489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6122368012d4ce040068f4538004701112c..."} 
[2026-11-04 15:50:43] local.INFO: Packet analysis {"connection_id":229489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a612"} 
[2026-11-04 15:50:43] local.INFO: Extracted packet for processing {"connection_id":229489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a612"} 
[2026-11-04 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":760012864,"raw_latitude":110052664,"longitude_deg":76.0012864,"latitude_deg":11.0052664,"altitude":71,"angle":273,"satellites":44,"speed":0,"hex_longitude":"2d4ce040","hex_latitude":"068f4538","is_valid_coordinates":true} 
[2026-11-04 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209616640001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539286832350930944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793787569000,"timestamp_ms":1793787569000,"timestamp_seconds":1793787569,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6122368"} 
[2026-11-04 15:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 15:50:43] 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-11-04 15:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209616640001,"66":27310,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539286832350930944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209616640001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:50:43] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:50:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539286832350930944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209616640001,"power":27310,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539286832350930944}} 
[2026-11-04 15:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":229489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:50:43] local.INFO: GPS data processed {"connection_id":229489,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:50:43] local.INFO: Acknowledgment sent {"connection_id":229489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:51:06] local.INFO: TCP Data received {"connection_id":232642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:51:06] local.INFO: Processing buffer {"connection_id":232642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:51:06] local.INFO: IMEI packet received {"connection_id":232642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":232642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:51:12] local.INFO: TCP Data received {"connection_id":232642,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:51:12] local.INFO: Processing buffer {"connection_id":232642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:51:12] local.INFO: IMEI packet received {"connection_id":232642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":232642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:51:21] local.INFO: TCP Data received {"connection_id":232642,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6127570012d4ce040068f4538004701112d..."} 
[2026-11-04 15:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6127570012d4ce040068f4538004701112d..."} 
[2026-11-04 15:51:21] local.INFO: Processing buffer {"connection_id":232642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6127570012d4ce040068f4538004701112d..."} 
[2026-11-04 15:51:21] local.INFO: Packet analysis {"connection_id":232642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a612"} 
[2026-11-04 15:51:21] local.INFO: Extracted packet for processing {"connection_id":232642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a612"} 
[2026-11-04 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":760012864,"raw_latitude":110052664,"longitude_deg":76.0012864,"latitude_deg":11.0052664,"altitude":71,"angle":273,"satellites":45,"speed":0,"hex_longitude":"2d4ce040","hex_latitude":"068f4538","is_valid_coordinates":true} 
[2026-11-04 15:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209617664001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38977176103550976,"note":"Value kept but may cause issues"} 
[2026-11-04 15:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539497938583369728,"note":"Value kept but may cause issues"} 
[2026-11-04 15:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793787590000,"timestamp_ms":1793787590000,"timestamp_seconds":1793787590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6127570"} 
[2026-11-04 15:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-04 15:51:21] 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-11-04 15:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209617664001,"66":27713,"142":206,"86":48896,"24":0,"16":38977176103550976,"45":5539497938583369728},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,86,24,16,45]} 
[2026-11-04 15:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209617664001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:51:21] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-11-04 15:51:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38977176103550976,"km_value":38977176103550.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539497938583369728,"description":"Unknown IO ID 45"} 
[2026-11-04 15:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209617664001,"power":27713,"unknown_142":206,"unknown_86":48896,"ignition":0,"odometer":null,"unknown_45":5539497938583369728}} 
[2026-11-04 15:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":232642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:51:21] local.INFO: GPS data processed {"connection_id":232642,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:51:21] local.INFO: Acknowledgment sent {"connection_id":232642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:52:00] local.INFO: TCP Data received {"connection_id":230805,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230805,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:52:00] local.INFO: Processing buffer {"connection_id":230805,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:52:00] local.INFO: IMEI packet received {"connection_id":230805,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":230805,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:52:00] local.INFO: TCP Data received {"connection_id":230805,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a613cd30012d0aa040070583980029012c15..."} 
[2026-11-04 15:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a613cd30012d0aa040070583980029012c15..."} 
[2026-11-04 15:52:00] local.INFO: Processing buffer {"connection_id":230805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a613cd30012d0aa040070583980029012c15..."} 
[2026-11-04 15:52:00] local.INFO: Packet analysis {"connection_id":230805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:00] local.INFO: Extracted packet for processing {"connection_id":230805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":755671104,"raw_latitude":117801880,"longitude_deg":75.5671104,"latitude_deg":11.780188,"altitude":41,"angle":300,"satellites":21,"speed":9,"hex_longitude":"2d0aa040","hex_latitude":"07058398","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209643008001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39258741274574848,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":768708191554301952,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793787678000,"timestamp_ms":1793787678000,"timestamp_seconds":1793787678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a613cd30"} 
[2026-11-04 15:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 15:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":230805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":230805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":230805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209643008001,"66":14678,"153":206,"94":10240,"24":9,"16":39258741274574848,"45":768708191554301952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209643008001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:52:00] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:52:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39258741274574848,"km_value":39258741274574.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":768708191554301952,"description":"Unknown IO ID 45"} 
[2026-11-04 15:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209643008001,"power":14678,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":768708191554301952}} 
[2026-11-04 15:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":230805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:52:00] local.INFO: GPS data processed {"connection_id":230805,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:52:00] local.INFO: Acknowledgment sent {"connection_id":230805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:52:06] local.INFO: TCP Data received {"connection_id":229490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:06] local.INFO: Processing buffer {"connection_id":229490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:06] local.INFO: IMEI packet received {"connection_id":229490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":229490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:52:07] local.INFO: TCP Data received {"connection_id":229490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:07] local.INFO: Processing buffer {"connection_id":229490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:07] local.INFO: IMEI packet received {"connection_id":229490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":229490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:52:11] local.INFO: TCP Data received {"connection_id":229490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:11] local.INFO: Processing buffer {"connection_id":229490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:11] local.INFO: IMEI packet received {"connection_id":229490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":229490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:52:12] local.INFO: TCP Data received {"connection_id":229490,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:12] local.INFO: Processing buffer {"connection_id":229490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:52:12] local.INFO: IMEI packet received {"connection_id":229490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":229490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:52:12] local.INFO: TCP Data received {"connection_id":229490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a613cd30012d4d55c0068f09f0004500b52f..."} 
[2026-11-04 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a613cd30012d4d55c0068f09f0004500b52f..."} 
[2026-11-04 15:52:12] local.INFO: Processing buffer {"connection_id":229490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a613cd30012d4d55c0068f09f0004500b52f..."} 
[2026-11-04 15:52:12] local.INFO: Packet analysis {"connection_id":229490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:12] local.INFO: Extracted packet for processing {"connection_id":229490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":760042944,"raw_latitude":110037488,"longitude_deg":76.0042944,"latitude_deg":11.0037488,"altitude":69,"angle":181,"satellites":47,"speed":16,"hex_longitude":"2d4d55c0","hex_latitude":"068f09f0","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209644288001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38978859730731008,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572360142110803968,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787678000,"timestamp_ms":1793787678000,"timestamp_seconds":1793787678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a613cd30"} 
[2026-11-04 15:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 15:52: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-11-04 15: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-11-04 15:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209644288001,"66":27919,"10":206,"86":48896,"24":16,"16":38978859730731008,"45":5572360142110803968},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209644288001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:52:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:52:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38978859730731008,"km_value":38978859730731.01,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572360142110803968,"description":"Unknown IO ID 45"} 
[2026-11-04 15:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209644288001,"power":27919,"unknown_10":206,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5572360142110803968}} 
[2026-11-04 15:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":229490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:52:12] local.INFO: GPS data processed {"connection_id":229490,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:52:12] local.INFO: Acknowledgment sent {"connection_id":229490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:52:15] local.INFO: TCP Data received {"connection_id":229490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a613f828012d4d5480068ef6b8004700c02d..."} 
[2026-11-04 15:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a613f828012d4d5480068ef6b8004700c02d..."} 
[2026-11-04 15:52:15] local.INFO: Processing buffer {"connection_id":229490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a613f828012d4d5480068ef6b8004700c02d..."} 
[2026-11-04 15:52:15] local.INFO: Packet analysis {"connection_id":229490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:15] local.INFO: Extracted packet for processing {"connection_id":229490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":760042624,"raw_latitude":110032568,"longitude_deg":76.0042624,"latitude_deg":11.0032568,"altitude":71,"angle":192,"satellites":45,"speed":10,"hex_longitude":"2d4d5480","hex_latitude":"068ef6b8","is_valid_coordinates":true} 
[2026-11-04 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209645568001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38979095953932288,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572571248342986752,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793787689000,"timestamp_ms":1793787689000,"timestamp_seconds":1793787689,"priority":1,"record_length":96,"hex_timestamp":"000001a1a613f828"} 
[2026-11-04 15:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 15:52:15] 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-11-04 15:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209645568001,"66":28050,"10":206,"86":48896,"24":10,"16":38979095953932288,"45":5572571248342986752},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209645568001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:52:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:52:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38979095953932288,"km_value":38979095953932.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572571248342986752,"description":"Unknown IO ID 45"} 
[2026-11-04 15:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209645568001,"power":28050,"unknown_10":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5572571248342986752}} 
[2026-11-04 15:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":229490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:52:15] local.INFO: GPS data processed {"connection_id":229490,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:52:15] local.INFO: Acknowledgment sent {"connection_id":229490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:52:31] local.INFO: TCP Data received {"connection_id":230805,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a613d8e8012d0a9d00070586000029013c15..."} 
[2026-11-04 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a613d8e8012d0a9d00070586000029013c15..."} 
[2026-11-04 15:52:31] local.INFO: Processing buffer {"connection_id":230805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a613d8e8012d0a9d00070586000029013c15..."} 
[2026-11-04 15:52:31] local.INFO: Packet analysis {"connection_id":230805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:31] local.INFO: Extracted packet for processing {"connection_id":230805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a613"} 
[2026-11-04 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":755670272,"raw_latitude":117802496,"longitude_deg":75.5670272,"latitude_deg":11.7802496,"altitude":41,"angle":316,"satellites":21,"speed":16,"hex_longitude":"2d0a9d00","hex_latitude":"07058600","is_valid_coordinates":true} 
[2026-11-04 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209645568001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39258788519215104,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765682335554443264,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793787681000,"timestamp_ms":1793787681000,"timestamp_seconds":1793787681,"priority":1,"record_length":96,"hex_timestamp":"000001a1a613d8e8"} 
[2026-11-04 15:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":230805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":230805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":230805,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209645568001,"66":14461,"153":206,"94":10240,"24":16,"16":39258788519215104,"45":765682335554443264},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209645568001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:52:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:52:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39258788519215104,"km_value":39258788519215.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":765682335554443264,"description":"Unknown IO ID 45"} 
[2026-11-04 15:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209645568001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":765682335554443264}} 
[2026-11-04 15:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":230805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:52:32] local.INFO: GPS data processed {"connection_id":230805,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:52:32] local.INFO: Acknowledgment sent {"connection_id":230805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:52:46] local.INFO: TCP Data received {"connection_id":229490,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61403e0012d4d53c0068ef398004600b32b..."} 
[2026-11-04 15:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61403e0012d4d53c0068ef398004600b32b..."} 
[2026-11-04 15:52:46] local.INFO: Processing buffer {"connection_id":229490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61403e0012d4d53c0068ef398004600b32b..."} 
[2026-11-04 15:52:46] local.INFO: Packet analysis {"connection_id":229490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:52:46] local.INFO: Extracted packet for processing {"connection_id":229490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":760042432,"raw_latitude":110031768,"longitude_deg":76.0042432,"latitude_deg":11.0031768,"altitude":70,"angle":179,"satellites":43,"speed":11,"hex_longitude":"2d4d53c0","hex_latitude":"068ef398","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209648384001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38979138903605248,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572219404620838912,"note":"Value kept but may cause issues"} 
[2026-11-04 15:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793787692000,"timestamp_ms":1793787692000,"timestamp_seconds":1793787692,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61403e0"} 
[2026-11-04 15:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 15:52:46] 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-11-04 15: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-11-04 15:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209648384001,"66":27930,"10":206,"86":48896,"24":11,"16":38979138903605248,"45":5572219404620838912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209648384001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:52:46] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:52:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38979138903605248,"km_value":38979138903605.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572219404620838912,"description":"Unknown IO ID 45"} 
[2026-11-04 15:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209648384001,"power":27930,"unknown_10":206,"unknown_86":48896,"ignition":11,"odometer":null,"unknown_45":5572219404620838912}} 
[2026-11-04 15:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":229490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:52:46] local.INFO: GPS data processed {"connection_id":229490,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:52:46] local.INFO: Acknowledgment sent {"connection_id":229490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:52:56] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:52:56] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:52:56] local.INFO: IMEI packet received {"connection_id":228999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":228999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:53:02] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:02] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:02] local.INFO: IMEI packet received {"connection_id":228999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":228999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:53:02] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:02] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:02] local.INFO: IMEI packet received {"connection_id":228999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":228999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:53:05] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:05] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:05] local.INFO: IMEI packet received {"connection_id":228999,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":228999,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:53:05] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":1340,"data_hex":"000000000000030f8e0a000001a1a614c348012d0a74c00705e7900016000318..."} 
[2026-11-04 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a1a614c348012d0a74c00705e7900016000318..."} 
[2026-11-04 15:53:05] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a1a614c348012d0a74c00705e7900016000318..."} 
[2026-11-04 15:53:05] local.INFO: Packet analysis {"connection_id":228999,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:05] local.INFO: Extracted packet for processing {"connection_id":228999,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":755659968,"raw_latitude":117827472,"longitude_deg":75.5659968,"latitude_deg":11.7827472,"altitude":22,"angle":3,"satellites":24,"speed":17,"hex_longitude":"2d0a74c0","hex_latitude":"0705e790","is_valid_coordinates":true} 
[2026-11-04 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209661184001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39260175793651712,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067841345536,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793787741000,"timestamp_ms":1793787741000,"timestamp_seconds":1793787741,"priority":1,"record_length":96,"hex_timestamp":"000001a1a614c348"} 
[2026-11-04 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":228999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209661184001,"66":14396,"153":206,"94":10240,"24":17,"16":39260175793651712,"45":753227067841345536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209661184001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:53:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:53:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39260175793651712,"km_value":39260175793651.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067841345536,"description":"Unknown IO ID 45"} 
[2026-11-04 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209661184001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":753227067841345536}} 
[2026-11-04 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":228999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:53:05] local.INFO: GPS data processed {"connection_id":228999,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:53:05] local.INFO: Acknowledgment sent {"connection_id":228999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:53:05] local.INFO: Packet analysis {"connection_id":228999,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":228999,"needed":795,"available":545} 
[2026-11-04 15:53:06] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":250,"data_hex":"e30010008b7a3200000000000001a1a61432c0012d0a81800705a97800200136..."} 
[2026-11-04 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":250,"packet_hex":"e30010008b7a3200000000000001a1a61432c0012d0a81800705a97800200136..."} 
[2026-11-04 15:53:06] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a614ee40012d0a74000705fda00015016018..."} 
[2026-11-04 15:53:06] local.INFO: Packet analysis {"connection_id":228999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:06] local.INFO: Extracted packet for processing {"connection_id":228999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117833120,"longitude_deg":75.5659776,"latitude_deg":11.783312,"altitude":21,"angle":352,"satellites":24,"speed":23,"hex_longitude":"2d0a7400","hex_latitude":"0705fda0","is_valid_coordinates":true} 
[2026-11-04 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209661696001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39260450671558656,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753438174074081280,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793787752000,"timestamp_ms":1793787752000,"timestamp_seconds":1793787752,"priority":1,"record_length":96,"hex_timestamp":"000001a1a614ee40"} 
[2026-11-04 15:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 15:53:06] 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-11-04 15:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":228999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209661696001,"66":14439,"153":206,"94":10240,"24":23,"16":39260450671558656,"45":753438174074081280},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209661696001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39260450671558656,"km_value":39260450671558.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":753438174074081280,"description":"Unknown IO ID 45"} 
[2026-11-04 15:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209661696001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":753438174074081280}} 
[2026-11-04 15:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":228999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:53:06] local.INFO: GPS data processed {"connection_id":228999,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:53:06] local.INFO: Acknowledgment sent {"connection_id":228999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:53:06] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6150d80012d0a72c007060b780014000418..."} 
[2026-11-04 15:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6150d80012d0a72c007060b780014000418..."} 
[2026-11-04 15:53:06] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6150d80012d0a72c007060b780014000418..."} 
[2026-11-04 15:53:06] local.INFO: Packet analysis {"connection_id":228999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:53:06] local.INFO: Extracted packet for processing {"connection_id":228999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":755659456,"raw_latitude":117836664,"longitude_deg":75.5659456,"latitude_deg":11.7836664,"altitude":20,"angle":4,"satellites":24,"speed":17,"hex_longitude":"2d0a72c0","hex_latitude":"07060b78","is_valid_coordinates":true} 
[2026-11-04 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209664512001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39260626765217792,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067842994176,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793787760000,"timestamp_ms":1793787760000,"timestamp_seconds":1793787760,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6150d80"} 
[2026-11-04 15:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 15:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":228999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209664512001,"66":14450,"153":206,"94":10240,"24":17,"16":39260626765217792,"45":753227067842994176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209664512001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39260626765217792,"km_value":39260626765217.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067842994176,"description":"Unknown IO ID 45"} 
[2026-11-04 15:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209664512001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":753227067842994176}} 
[2026-11-04 15:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":228999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:53:07] local.INFO: GPS data processed {"connection_id":228999,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:53:07] local.INFO: Acknowledgment sent {"connection_id":228999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:53:11] local.INFO: TCP Data received {"connection_id":232644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:53:11] local.INFO: Processing buffer {"connection_id":232644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:53:11] local.INFO: IMEI packet received {"connection_id":232644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":232644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:53:16] local.INFO: TCP Data received {"connection_id":232644,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:53:16] local.INFO: Processing buffer {"connection_id":232644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:53:16] local.INFO: IMEI packet received {"connection_id":232644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":232644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:53:17] local.INFO: TCP Data received {"connection_id":232644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6141380012d4d5380068eedf0004600c22d..."} 
[2026-11-04 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6141380012d4d5380068eedf0004600c22d..."} 
[2026-11-04 15:53:17] local.INFO: Processing buffer {"connection_id":232644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6141380012d4d5380068eedf0004600c22d..."} 
[2026-11-04 15:53:17] local.INFO: Packet analysis {"connection_id":232644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:17] local.INFO: Extracted packet for processing {"connection_id":232644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:17] local.INFO: GPS Element Parsed {"raw_longitude":760042368,"raw_latitude":110030320,"longitude_deg":76.0042368,"latitude_deg":11.003032,"altitude":70,"angle":194,"satellites":45,"speed":19,"hex_longitude":"2d4d5380","hex_latitude":"068eedf0","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209649152001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38979211918049280,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572008298388101120,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793787696000,"timestamp_ms":1793787696000,"timestamp_seconds":1793787696,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6141380"} 
[2026-11-04 15:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":26,"data_length":795,"current_offset":136} 
[2026-11-04 15:53: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-11-04 15: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-11-04 15:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209649152001,"66":27995,"10":206,"86":48896,"24":19,"16":38979211918049280,"45":5572008298388101120},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209649152001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:53:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:53:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38979211918049280,"km_value":38979211918049.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572008298388101120,"description":"Unknown IO ID 45"} 
[2026-11-04 15:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209649152001,"power":27995,"unknown_10":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5572008298388101120}} 
[2026-11-04 15:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":232644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:53:17] local.INFO: GPS data processed {"connection_id":232644,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:53:17] local.INFO: Acknowledgment sent {"connection_id":232644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:53:21] local.INFO: TCP Data received {"connection_id":232644,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6144e18012d4d4c40068ecb10004500c72d..."} 
[2026-11-04 15:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6144e18012d4d4c40068ecb10004500c72d..."} 
[2026-11-04 15:53:21] local.INFO: Processing buffer {"connection_id":232644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6144e18012d4d4c40068ecb10004500c72d..."} 
[2026-11-04 15:53:21] local.INFO: Packet analysis {"connection_id":232644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:21] local.INFO: Extracted packet for processing {"connection_id":232644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:53:21] local.INFO: GPS Element Parsed {"raw_longitude":760040512,"raw_latitude":110021392,"longitude_deg":76.0040512,"latitude_deg":11.0021392,"altitude":69,"angle":199,"satellites":45,"speed":19,"hex_longitude":"2d4d4c40","hex_latitude":"068ecb10","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209650176001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38979654299680768,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5571937929643552768,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793787711000,"timestamp_ms":1793787711000,"timestamp_seconds":1793787711,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6144e18"} 
[2026-11-04 15:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 15:53:21] 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-11-04 15: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-11-04 15:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209650176001,"66":27865,"10":206,"86":48896,"24":19,"16":38979654299680768,"45":5571937929643552768},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209650176001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:53:21] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:53:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38979654299680768,"km_value":38979654299680.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5571937929643552768,"description":"Unknown IO ID 45"} 
[2026-11-04 15:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209650176001,"power":27865,"unknown_10":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5571937929643552768}} 
[2026-11-04 15:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":232644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:53:21] local.INFO: GPS data processed {"connection_id":232644,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:53:21] local.INFO: Acknowledgment sent {"connection_id":232644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:53:38] local.INFO: TCP Data received {"connection_id":228999,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a615a1f0012d0a878007061570001700c219..."} 
[2026-11-04 15:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":228999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a615a1f0012d0a878007061570001700c219..."} 
[2026-11-04 15:53:38] local.INFO: Processing buffer {"connection_id":228999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a615a1f0012d0a878007061570001700c219..."} 
[2026-11-04 15:53:38] local.INFO: Packet analysis {"connection_id":228999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:53:38] local.INFO: Extracted packet for processing {"connection_id":228999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":755664768,"raw_latitude":117839216,"longitude_deg":75.5664768,"latitude_deg":11.7839216,"altitude":23,"angle":194,"satellites":25,"speed":3,"hex_longitude":"2d0a8780","hex_latitude":"07061570","is_valid_coordinates":true} 
[2026-11-04 15:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209673216001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39261064851881984,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758856567378833408,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793787798000,"timestamp_ms":1793787798000,"timestamp_seconds":1793787798,"priority":1,"record_length":96,"hex_timestamp":"000001a1a615a1f0"} 
[2026-11-04 15:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-04 15:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":228999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":228999,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209673216001,"66":14559,"153":206,"94":10240,"24":3,"16":39261064851881984,"45":758856567378833408},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209673216001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39261064851881984,"km_value":39261064851881.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":758856567378833408,"description":"Unknown IO ID 45"} 
[2026-11-04 15:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209673216001,"power":14559,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":758856567378833408}} 
[2026-11-04 15:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":228999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:53:38] local.INFO: GPS data processed {"connection_id":228999,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:53:38] local.INFO: Acknowledgment sent {"connection_id":228999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:53:55] local.INFO: TCP Data received {"connection_id":232645,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:55] local.INFO: Processing buffer {"connection_id":232645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:55] local.INFO: IMEI packet received {"connection_id":232645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":232645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:53:56] local.INFO: TCP Data received {"connection_id":232645,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:56] local.INFO: Processing buffer {"connection_id":232645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:56] local.INFO: IMEI packet received {"connection_id":232645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":232645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:53:59] local.INFO: TCP Data received {"connection_id":232645,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232645,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:59] local.INFO: Processing buffer {"connection_id":232645,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:53:59] local.INFO: IMEI packet received {"connection_id":232645,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":232645,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:53:59] local.INFO: TCP Data received {"connection_id":232645,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a615d4b8012d0a8640070615200017013f19..."} 
[2026-11-04 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a615d4b8012d0a8640070615200017013f19..."} 
[2026-11-04 15:53:59] local.INFO: Processing buffer {"connection_id":232645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a615d4b8012d0a8640070615200017013f19..."} 
[2026-11-04 15:53:59] local.INFO: Packet analysis {"connection_id":232645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:53:59] local.INFO: Extracted packet for processing {"connection_id":232645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:53:59] local.INFO: GPS Element Parsed {"raw_longitude":755664448,"raw_latitude":117839136,"longitude_deg":75.5664448,"latitude_deg":11.7839136,"altitude":23,"angle":319,"satellites":25,"speed":2,"hex_longitude":"2d0a8640","hex_latitude":"07061520","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209676288001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39261094916653056,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758715829890412544,"note":"Value kept but may cause issues"} 
[2026-11-04 15:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793787811000,"timestamp_ms":1793787811000,"timestamp_seconds":1793787811,"priority":1,"record_length":96,"hex_timestamp":"000001a1a615d4b8"} 
[2026-11-04 15:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 15:53: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-11-04 15: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-11-04 15:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":232645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":232645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":232645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209676288001,"66":14515,"153":206,"94":10240,"24":2,"16":39261094916653056,"45":758715829890412544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209676288001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:53:59] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:53:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39261094916653056,"km_value":39261094916653.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":758715829890412544,"description":"Unknown IO ID 45"} 
[2026-11-04 15:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209676288001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":758715829890412544}} 
[2026-11-04 15:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":232645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:54:00] local.INFO: GPS data processed {"connection_id":232645,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:54:00] local.INFO: Acknowledgment sent {"connection_id":232645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:54:03] local.INFO: TCP Data received {"connection_id":229000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:03] local.INFO: Processing buffer {"connection_id":229000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:03] local.INFO: IMEI packet received {"connection_id":229000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":229000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:54:06] local.INFO: TCP Data received {"connection_id":229000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:06] local.INFO: Processing buffer {"connection_id":229000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:06] local.INFO: IMEI packet received {"connection_id":229000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":229000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:54:11] local.INFO: TCP Data received {"connection_id":229000,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:11] local.INFO: Processing buffer {"connection_id":229000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:54:11] local.INFO: IMEI packet received {"connection_id":229000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":229000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:54:12] local.INFO: TCP Data received {"connection_id":229000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61484c8012d4d4300068ea870004800c126..."} 
[2026-11-04 15:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61484c8012d4d4300068ea870004800c126..."} 
[2026-11-04 15:54:12] local.INFO: Processing buffer {"connection_id":229000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61484c8012d4d4300068ea870004800c126..."} 
[2026-11-04 15:54:12] local.INFO: Packet analysis {"connection_id":229000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:54:12] local.INFO: Extracted packet for processing {"connection_id":229000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:54:12] local.INFO: GPS Element Parsed {"raw_longitude":760038144,"raw_latitude":110012528,"longitude_deg":76.0038144,"latitude_deg":11.0012528,"altitude":72,"angle":193,"satellites":38,"speed":19,"hex_longitude":"2d4d4300","hex_latitude":"068ea870","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209654016001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38980096681312256,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5569897236060114944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787725000,"timestamp_ms":1793787725000,"timestamp_seconds":1793787725,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61484c8"} 
[2026-11-04 15:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":217,"data_length":795,"current_offset":136} 
[2026-11-04 15:54:12] 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-11-04 15: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-11-04 15:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209654016001,"66":27908,"10":206,"86":48896,"24":19,"16":38980096681312256,"45":5569897236060114944},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209654016001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:54:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:54:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38980096681312256,"km_value":38980096681312.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5569897236060114944,"description":"Unknown IO ID 45"} 
[2026-11-04 15:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209654016001,"power":27908,"unknown_10":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5569897236060114944}} 
[2026-11-04 15:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":229000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:54:12] local.INFO: GPS data processed {"connection_id":229000,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:54:12] local.INFO: Acknowledgment sent {"connection_id":229000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:54:16] local.INFO: TCP Data received {"connection_id":229000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a614c730012d4d3fc0068e9a30004600ee30..."} 
[2026-11-04 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a614c730012d4d3fc0068e9a30004600ee30..."} 
[2026-11-04 15:54:16] local.INFO: Processing buffer {"connection_id":229000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a614c730012d4d3fc0068e9a30004600ee30..."} 
[2026-11-04 15:54:16] local.INFO: Packet analysis {"connection_id":229000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:54:16] local.INFO: Extracted packet for processing {"connection_id":229000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":760037312,"raw_latitude":110008880,"longitude_deg":76.0037312,"latitude_deg":11.000888,"altitude":70,"angle":238,"satellites":48,"speed":5,"hex_longitude":"2d4d3fc0","hex_latitude":"068e9a30","is_valid_coordinates":true} 
[2026-11-04 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209657600001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38980285659873280,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5567293592523272192,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793787742000,"timestamp_ms":1793787742000,"timestamp_seconds":1793787742,"priority":1,"record_length":96,"hex_timestamp":"000001a1a614c730"} 
[2026-11-04 15:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 15:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:54:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:54:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209657600001,"66":28006,"10":206,"86":48896,"24":5,"16":38980285659873280,"45":5567293592523272192},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:54:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:54:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:54:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209657600001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:54:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:54:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:54:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38980285659873280,"km_value":38980285659873.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:54:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5567293592523272192,"description":"Unknown IO ID 45"} 
[2026-11-04 15:54:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209657600001,"power":28006,"unknown_10":206,"unknown_86":48896,"ignition":5,"odometer":null,"unknown_45":5567293592523272192}} 
[2026-11-04 15:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":229000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:54:16] local.INFO: GPS data processed {"connection_id":229000,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:54:16] local.INFO: Acknowledgment sent {"connection_id":229000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:54:30] local.INFO: TCP Data received {"connection_id":232645,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a615dc88012d0a8600070615500017013319..."} 
[2026-11-04 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a615dc88012d0a8600070615500017013319..."} 
[2026-11-04 15:54:30] local.INFO: Processing buffer {"connection_id":232645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a615dc88012d0a8600070615500017013319..."} 
[2026-11-04 15:54:30] local.INFO: Packet analysis {"connection_id":232645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:54:30] local.INFO: Extracted packet for processing {"connection_id":232645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:54:30] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117839184,"longitude_deg":75.5664384,"latitude_deg":11.7839184,"altitude":23,"angle":307,"satellites":25,"speed":0,"hex_longitude":"2d0a8600","hex_latitude":"07061550","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209679616001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39261099211620352,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758363986169503744,"note":"Value kept but may cause issues"} 
[2026-11-04 15:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793787813000,"timestamp_ms":1793787813000,"timestamp_seconds":1793787813,"priority":1,"record_length":96,"hex_timestamp":"000001a1a615dc88"} 
[2026-11-04 15:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 15:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232645,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209679616001,"66":14613,"153":206,"94":10240,"24":0,"16":39261099211620352,"45":758363986169503744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209679616001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:54:30] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:54:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39261099211620352,"km_value":39261099211620.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":758363986169503744,"description":"Unknown IO ID 45"} 
[2026-11-04 15:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209679616001,"power":14613,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":758363986169503744}} 
[2026-11-04 15:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":232645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:54:30] local.INFO: GPS data processed {"connection_id":232645,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:54:30] local.INFO: Acknowledgment sent {"connection_id":232645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:54:33] local.INFO: TCP Data received {"connection_id":229001,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:54:33] local.INFO: Processing buffer {"connection_id":229001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:54:33] local.INFO: IMEI packet received {"connection_id":229001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":229001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:54:55] local.INFO: TCP Data received {"connection_id":232646,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:54:55] local.INFO: Processing buffer {"connection_id":232646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:54:55] local.INFO: IMEI packet received {"connection_id":232646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":232646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:55:00] local.INFO: TCP Data received {"connection_id":232646,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:55:00] local.INFO: Processing buffer {"connection_id":232646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:55:00] local.INFO: IMEI packet received {"connection_id":232646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":232646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:55:01] local.INFO: TCP Data received {"connection_id":232646,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6160b68012d0a85c0070614d00017012119..."} 
[2026-11-04 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6160b68012d0a85c0070614d00017012119..."} 
[2026-11-04 15:55:01] local.INFO: Processing buffer {"connection_id":232646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6160b68012d0a85c0070614d00017012119..."} 
[2026-11-04 15:55:01] local.INFO: Packet analysis {"connection_id":232646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a616"} 
[2026-11-04 15:55:01] local.INFO: Extracted packet for processing {"connection_id":232646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a616"} 
[2026-11-04 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":755664320,"raw_latitude":117839056,"longitude_deg":75.566432,"latitude_deg":11.7839056,"altitude":23,"angle":289,"satellites":25,"speed":3,"hex_longitude":"2d0a85c0","hex_latitude":"070614d0","is_valid_coordinates":true} 
[2026-11-04 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-11-04 15:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209680128001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39261112096522240,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617425338368,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793787825000,"timestamp_ms":1793787825000,"timestamp_seconds":1793787825,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6160b68"} 
[2026-11-04 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-11-04 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-04 15:55:01] 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-11-04 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-11-04 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-11-04 15:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":232646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":232646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":232646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209680128001,"66":14439,"153":206,"94":10240,"24":3,"16":39261112096522240,"45":758293617425338368},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209680128001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39261112096522240,"km_value":39261112096522.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617425338368,"description":"Unknown IO ID 45"} 
[2026-11-04 15:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209680128001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":758293617425338368}} 
[2026-11-04 15:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":232646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:55:01] local.INFO: GPS data processed {"connection_id":232646,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:55:01] local.INFO: Acknowledgment sent {"connection_id":232646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:55:04] local.INFO: TCP Data received {"connection_id":229000,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a614d2e8012d4d3cc0068e98b8004500fa2f..."} 
[2026-11-04 15:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a614d2e8012d4d3cc0068e98b8004500fa2f..."} 
[2026-11-04 15:55:04] local.INFO: Processing buffer {"connection_id":229000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a614d2e8012d4d3cc0068e98b8004500fa2f..."} 
[2026-11-04 15:55:04] local.INFO: Packet analysis {"connection_id":229000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:55:04] local.INFO: Extracted packet for processing {"connection_id":229000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a614"} 
[2026-11-04 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":760036544,"raw_latitude":110008504,"longitude_deg":76.0036544,"latitude_deg":11.0008504,"altitude":69,"angle":250,"satellites":47,"speed":14,"hex_longitude":"2d4d3cc0","hex_latitude":"068e98b8","is_valid_coordinates":true} 
[2026-11-04 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209661952001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38980324314578944,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566378798848028672,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793787745000,"timestamp_ms":1793787745000,"timestamp_seconds":1793787745,"priority":1,"record_length":96,"hex_timestamp":"000001a1a614d2e8"} 
[2026-11-04 15:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 15:55:04] 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-11-04 15:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209661952001,"66":27919,"10":206,"86":48896,"24":14,"16":38980324314578944,"45":5566378798848028672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,86,24,16,45]} 
[2026-11-04 15:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209661952001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-11-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38980324314578944,"km_value":38980324314578.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566378798848028672,"description":"Unknown IO ID 45"} 
[2026-11-04 15:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209661952001,"power":27919,"unknown_10":206,"unknown_86":48896,"ignition":14,"odometer":null,"unknown_45":5566378798848028672}} 
[2026-11-04 15:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":229000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:55:04] local.INFO: GPS data processed {"connection_id":229000,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:55:04] local.INFO: Acknowledgment sent {"connection_id":229000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:55:06] local.INFO: TCP Data received {"connection_id":229002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:55:06] local.INFO: Processing buffer {"connection_id":229002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:55:06] local.INFO: IMEI packet received {"connection_id":229002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":229002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:55:08] local.INFO: TCP Data received {"connection_id":229003,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:55:08] local.INFO: Processing buffer {"connection_id":229003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 15:55:08] local.INFO: IMEI packet received {"connection_id":229003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 15:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":229003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:55:11] local.INFO: TCP Data received {"connection_id":229002,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:55:11] local.INFO: Processing buffer {"connection_id":229002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:55:11] local.INFO: IMEI packet received {"connection_id":229002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":229002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:55:12] local.INFO: TCP Data received {"connection_id":229002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6151550012d4d1b40068e8dc8005000f929..."} 
[2026-11-04 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6151550012d4d1b40068e8dc8005000f929..."} 
[2026-11-04 15:55:12] local.INFO: Processing buffer {"connection_id":229002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6151550012d4d1b40068e8dc8005000f929..."} 
[2026-11-04 15:55:12] local.INFO: Packet analysis {"connection_id":229002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:55:12] local.INFO: Extracted packet for processing {"connection_id":229002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:55:12] local.INFO: GPS Element Parsed {"raw_longitude":760027968,"raw_latitude":110005704,"longitude_deg":76.0027968,"latitude_deg":11.0005704,"altitude":80,"angle":249,"satellites":41,"speed":26,"hex_longitude":"2d4d1b40","hex_latitude":"068e8dc8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209662720001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38980758106275840,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565534373917800448,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793787762000,"timestamp_ms":1793787762000,"timestamp_seconds":1793787762,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6151550"} 
[2026-11-04 15:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 15:55: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-11-04 15: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-11-04 15:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209662720001,"66":27919,"12":206,"86":48896,"24":26,"16":38980758106275840,"45":5565534373917800448},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,86,24,16,45]} 
[2026-11-04 15:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209662720001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:55:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 15:55:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38980758106275840,"km_value":38980758106275.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565534373917800448,"description":"Unknown IO ID 45"} 
[2026-11-04 15:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209662720001,"power":27919,"unknown_12":206,"unknown_86":48896,"ignition":26,"odometer":null,"unknown_45":5565534373917800448}} 
[2026-11-04 15:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":229002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:55:12] local.INFO: GPS data processed {"connection_id":229002,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:55:12] local.INFO: Acknowledgment sent {"connection_id":229002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:55:32] local.INFO: TCP Data received {"connection_id":232646,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61776b0012d0a77000705f450001b00b61d..."} 
[2026-11-04 15:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61776b0012d0a77000705f450001b00b61d..."} 
[2026-11-04 15:55:32] local.INFO: Processing buffer {"connection_id":232646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61776b0012d0a77000705f450001b00b61d..."} 
[2026-11-04 15:55:32] local.INFO: Packet analysis {"connection_id":232646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:55:32] local.INFO: Extracted packet for processing {"connection_id":232646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":755660544,"raw_latitude":117830736,"longitude_deg":75.5660544,"latitude_deg":11.7830736,"altitude":27,"angle":182,"satellites":29,"speed":12,"hex_longitude":"2d0a7700","hex_latitude":"0705f450","is_valid_coordinates":true} 
[2026-11-04 15:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209704192001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39261764931551232,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649052393472,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793787918000,"timestamp_ms":1793787918000,"timestamp_seconds":1793787918,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61776b0"} 
[2026-11-04 15:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 15:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":232646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":232646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":232646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209704192001,"66":14439,"153":206,"94":10240,"24":12,"16":39261764931551232,"45":753719649052393472},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209704192001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:55:32] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:55:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39261764931551232,"km_value":39261764931551.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649052393472,"description":"Unknown IO ID 45"} 
[2026-11-04 15:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209704192001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753719649052393472}} 
[2026-11-04 15:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":232646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59678,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:55:32] local.INFO: GPS data processed {"connection_id":232646,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:55:32] local.INFO: Acknowledgment sent {"connection_id":232646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:55:44] local.INFO: TCP Data received {"connection_id":229002,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6154c00012d4cf900068e83b8004f010228..."} 
[2026-11-04 15:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6154c00012d4cf900068e83b8004f010228..."} 
[2026-11-04 15:55:44] local.INFO: Processing buffer {"connection_id":229002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6154c00012d4cf900068e83b8004f010228..."} 
[2026-11-04 15:55:44] local.INFO: Packet analysis {"connection_id":229002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:55:44] local.INFO: Extracted packet for processing {"connection_id":229002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a615"} 
[2026-11-04 15:55:44] local.INFO: GPS Element Parsed {"raw_longitude":760019200,"raw_latitude":110003128,"longitude_deg":76.00192,"latitude_deg":11.0003128,"altitude":79,"angle":258,"satellites":40,"speed":19,"hex_longitude":"2d4cf900","hex_latitude":"068e83b8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209667072001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38981191897972736,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5556104962197276672,"note":"Value kept but may cause issues"} 
[2026-11-04 15:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793787776000,"timestamp_ms":1793787776000,"timestamp_seconds":1793787776,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6154c00"} 
[2026-11-04 15:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 15:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209667072001,"66":27995,"12":206,"86":48896,"24":19,"16":38981191897972736,"45":5556104962197276672},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,86,24,16,45]} 
[2026-11-04 15:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209667072001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:55:44] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 15:55:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38981191897972736,"km_value":38981191897972.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5556104962197276672,"description":"Unknown IO ID 45"} 
[2026-11-04 15:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209667072001,"power":27995,"unknown_12":206,"unknown_86":48896,"ignition":19,"odometer":null,"unknown_45":5556104962197276672}} 
[2026-11-04 15:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":229002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:55:44] local.INFO: GPS data processed {"connection_id":229002,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:55:44] local.INFO: Acknowledgment sent {"connection_id":229002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:55:55] local.INFO: TCP Data received {"connection_id":230808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:55:55] local.INFO: Processing buffer {"connection_id":230808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:55:55] local.INFO: IMEI packet received {"connection_id":230808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":230808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:56:00] local.INFO: TCP Data received {"connection_id":230808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230808,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:00] local.INFO: Processing buffer {"connection_id":230808,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:00] local.INFO: IMEI packet received {"connection_id":230808,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":230808,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:56:01] local.INFO: TCP Data received {"connection_id":230808,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61795f0012d0a76400705e5d8001b00c21d..."} 
[2026-11-04 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61795f0012d0a76400705e5d8001b00c21d..."} 
[2026-11-04 15:56:01] local.INFO: Processing buffer {"connection_id":230808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61795f0012d0a76400705e5d8001b00c21d..."} 
[2026-11-04 15:56:01] local.INFO: Packet analysis {"connection_id":230808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:01] local.INFO: Extracted packet for processing {"connection_id":230808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":117827032,"longitude_deg":75.5660352,"latitude_deg":11.7827032,"altitude":27,"angle":194,"satellites":29,"speed":16,"hex_longitude":"2d0a7640","hex_latitude":"0705e5d8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209707008001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39261945320177664,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754071492772515840,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793787926000,"timestamp_ms":1793787926000,"timestamp_seconds":1793787926,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61795f0"} 
[2026-11-04 15:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 15:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":230808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":230808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":230808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209707008001,"66":14548,"153":206,"94":10240,"24":16,"16":39261945320177664,"45":754071492772515840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209707008001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:56:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:56:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39261945320177664,"km_value":39261945320177.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":754071492772515840,"description":"Unknown IO ID 45"} 
[2026-11-04 15:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209707008001,"power":14548,"unknown_153":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":754071492772515840}} 
[2026-11-04 15:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":230808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:56:01] local.INFO: GPS data processed {"connection_id":230808,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:56:01] local.INFO: Acknowledgment sent {"connection_id":230808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:56:08] local.INFO: TCP Data received {"connection_id":232647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:08] local.INFO: Processing buffer {"connection_id":232647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:08] local.INFO: IMEI packet received {"connection_id":232647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":232647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:56:11] local.INFO: TCP Data received {"connection_id":232647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:11] local.INFO: Processing buffer {"connection_id":232647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:11] local.INFO: IMEI packet received {"connection_id":232647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":232647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:56:16] local.INFO: TCP Data received {"connection_id":232647,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:16] local.INFO: Processing buffer {"connection_id":232647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:56:16] local.INFO: IMEI packet received {"connection_id":232647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":232647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:56:17] local.INFO: TCP Data received {"connection_id":232647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6175388012d4b7180068e5258004d00e22c..."} 
[2026-11-04 15:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6175388012d4b7180068e5258004d00e22c..."} 
[2026-11-04 15:56:17] local.INFO: Processing buffer {"connection_id":232647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6175388012d4b7180068e5258004d00e22c..."} 
[2026-11-04 15:56:17] local.INFO: Packet analysis {"connection_id":232647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:17] local.INFO: Extracted packet for processing {"connection_id":232647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":759918976,"raw_latitude":109990488,"longitude_deg":75.9918976,"latitude_deg":10.9990488,"altitude":77,"angle":226,"satellites":44,"speed":20,"hex_longitude":"2d4b7180","hex_latitude":"068e5258","is_valid_coordinates":true} 
[2026-11-04 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209702144001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38986118225461248,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5441896490393759744,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 15:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793787909000,"timestamp_ms":1793787909000,"timestamp_seconds":1793787909,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6175388"} 
[2026-11-04 15:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 15:56: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-11-04 15:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209702144001,"66":27974,"86":48896,"24":20,"16":38986118225461248,"45":5441896490393759744},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 15:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209702144001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:56:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38986118225461248,"km_value":38986118225461.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5441896490393759744,"description":"Unknown IO ID 45"} 
[2026-11-04 15:56:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459209702144001,"power":27974,"unknown_86":48896,"ignition":20,"odometer":null,"unknown_45":5441896490393759744}} 
[2026-11-04 15:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":232647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:56:17] local.INFO: GPS data processed {"connection_id":232647,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:56:17] local.INFO: Acknowledgment sent {"connection_id":232647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:56:34] local.INFO: TCP Data received {"connection_id":230808,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6179dc0012d0a75000705e2f0001a00cf1d..."} 
[2026-11-04 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6179dc0012d0a75000705e2f0001a00cf1d..."} 
[2026-11-04 15:56:34] local.INFO: Processing buffer {"connection_id":230808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6179dc0012d0a75000705e2f0001a00cf1d..."} 
[2026-11-04 15:56:34] local.INFO: Packet analysis {"connection_id":230808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:34] local.INFO: Extracted packet for processing {"connection_id":230808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117826288,"longitude_deg":75.5660032,"latitude_deg":11.7826288,"altitude":26,"angle":207,"satellites":29,"speed":14,"hex_longitude":"2d0a7500","hex_latitude":"0705e2f0","is_valid_coordinates":true} 
[2026-11-04 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209709056001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39261983974883328,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386539034624,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793787928000,"timestamp_ms":1793787928000,"timestamp_seconds":1793787928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6179dc0"} 
[2026-11-04 15:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 15:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230808,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209709056001,"66":14515,"153":206,"94":10240,"24":14,"16":39261983974883328,"45":753860386539034624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209709056001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:56:34] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:56:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39261983974883328,"km_value":39261983974883.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386539034624,"description":"Unknown IO ID 45"} 
[2026-11-04 15:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209709056001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753860386539034624}} 
[2026-11-04 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":230808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59682,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:56:34] local.INFO: GPS data processed {"connection_id":230808,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:56:34] local.INFO: Acknowledgment sent {"connection_id":230808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:56:50] local.INFO: TCP Data received {"connection_id":232647,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6175b58012d4b6f00068e4f78004d00d22d..."} 
[2026-11-04 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6175b58012d4b6f00068e4f78004d00d22d..."} 
[2026-11-04 15:56:50] local.INFO: Processing buffer {"connection_id":232647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6175b58012d4b6f00068e4f78004d00d22d..."} 
[2026-11-04 15:56:50] local.INFO: Packet analysis {"connection_id":232647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:50] local.INFO: Extracted packet for processing {"connection_id":232647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:56:50] local.INFO: GPS Element Parsed {"raw_longitude":759918336,"raw_latitude":109989752,"longitude_deg":75.9918336,"latitude_deg":10.9989752,"altitude":77,"angle":210,"satellites":45,"speed":17,"hex_longitude":"2d4b6f00","hex_latitude":"068e4f78","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209704704001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38986165470101504,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5436266990858819584,"note":"Value kept but may cause issues"} 
[2026-11-04 15:56:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 15:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793787911000,"timestamp_ms":1793787911000,"timestamp_seconds":1793787911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6175b58"} 
[2026-11-04 15:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 15:56:50] 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-11-04 15: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-11-04 15:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209704704001,"66":27800,"86":48896,"24":17,"16":38986165470101504,"45":5436266990858819584},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 15:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209704704001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:56:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38986165470101504,"km_value":38986165470101.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5436266990858819584,"description":"Unknown IO ID 45"} 
[2026-11-04 15:56:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459209704704001,"power":27800,"unknown_86":48896,"ignition":17,"odometer":null,"unknown_45":5436266990858819584}} 
[2026-11-04 15:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":232647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:56:50] local.INFO: GPS data processed {"connection_id":232647,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:56:50] local.INFO: Acknowledgment sent {"connection_id":232647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:56:55] local.INFO: TCP Data received {"connection_id":230809,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:55] local.INFO: Processing buffer {"connection_id":230809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:55] local.INFO: IMEI packet received {"connection_id":230809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":230809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:56:57] local.INFO: TCP Data received {"connection_id":230809,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:57] local.INFO: Processing buffer {"connection_id":230809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:56:57] local.INFO: IMEI packet received {"connection_id":230809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":230809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:57:00] local.INFO: TCP Data received {"connection_id":230809,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230809,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:57:00] local.INFO: Processing buffer {"connection_id":230809,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:57:00] local.INFO: IMEI packet received {"connection_id":230809,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":230809,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:57:01] local.INFO: TCP Data received {"connection_id":230809,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a617ad60012d0a73400705de80001a00b61c..."} 
[2026-11-04 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a617ad60012d0a73400705de80001a00b61c..."} 
[2026-11-04 15:57:01] local.INFO: Processing buffer {"connection_id":230809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a617ad60012d0a73400705de80001a00b61c..."} 
[2026-11-04 15:57:01] local.INFO: Packet analysis {"connection_id":230809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:01] local.INFO: Extracted packet for processing {"connection_id":230809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:01] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117825152,"longitude_deg":75.5659584,"latitude_deg":11.7825152,"altitude":26,"angle":182,"satellites":28,"speed":13,"hex_longitude":"2d0a7340","hex_latitude":"0705de80","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209709568001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39262044104425472,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542817955840,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793787932000,"timestamp_ms":1793787932000,"timestamp_seconds":1793787932,"priority":1,"record_length":96,"hex_timestamp":"000001a1a617ad60"} 
[2026-11-04 15:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 15:57:01] 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-11-04 15: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-11-04 15:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":230809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":230809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":230809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209709568001,"66":14396,"153":206,"94":10240,"24":13,"16":39262044104425472,"45":753508542817955840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-11-04 15:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209709568001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:57:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-11-04 15:57:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39262044104425472,"km_value":39262044104425.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542817955840,"description":"Unknown IO ID 45"} 
[2026-11-04 15:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209709568001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":753508542817955840}} 
[2026-11-04 15:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":230809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:57:01] local.INFO: GPS data processed {"connection_id":230809,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:57:01] local.INFO: Acknowledgment sent {"connection_id":230809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:57:06] local.INFO: TCP Data received {"connection_id":232649,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:57:06] local.INFO: Processing buffer {"connection_id":232649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:57:06] local.INFO: IMEI packet received {"connection_id":232649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":232649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:57:11] local.INFO: TCP Data received {"connection_id":232649,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:57:11] local.INFO: Processing buffer {"connection_id":232649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:57:11] local.INFO: IMEI packet received {"connection_id":232649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":232649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:57:15] local.INFO: TCP Data received {"connection_id":232649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6175f40012d4b6e40068e4de0004d00c22f..."} 
[2026-11-04 15:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6175f40012d4b6e40068e4de0004d00c22f..."} 
[2026-11-04 15:57:15] local.INFO: Processing buffer {"connection_id":232649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6175f40012d4b6e40068e4de0004d00c22f..."} 
[2026-11-04 15:57:15] local.INFO: Packet analysis {"connection_id":232649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:15] local.INFO: Extracted packet for processing {"connection_id":232649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":759918144,"raw_latitude":109989344,"longitude_deg":75.9918144,"latitude_deg":10.9989344,"altitude":77,"angle":194,"satellites":47,"speed":16,"hex_longitude":"2d4b6e40","hex_latitude":"068e4de0","is_valid_coordinates":true} 
[2026-11-04 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209705216001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38986186944937984,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5435563303416854528,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 15:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793787912000,"timestamp_ms":1793787912000,"timestamp_seconds":1793787912,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6175f40"} 
[2026-11-04 15:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 15:57:15] 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-11-04 15:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209705216001,"66":27800,"86":48896,"24":16,"16":38986186944937984,"45":5435563303416854528},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 15:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209705216001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:57:15] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38986186944937984,"km_value":38986186944937.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5435563303416854528,"description":"Unknown IO ID 45"} 
[2026-11-04 15:57:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459209705216001,"power":27800,"unknown_86":48896,"ignition":16,"odometer":null,"unknown_45":5435563303416854528}} 
[2026-11-04 15:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":232649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:57:15] local.INFO: GPS data processed {"connection_id":232649,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:57:15] local.INFO: Acknowledgment sent {"connection_id":232649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:57:16] local.INFO: TCP Data received {"connection_id":232649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6176710012d4b6e00068e4af8004d00ae2f..."} 
[2026-11-04 15:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6176710012d4b6e00068e4af8004d00ae2f..."} 
[2026-11-04 15:57:16] local.INFO: Processing buffer {"connection_id":232649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6176710012d4b6e00068e4af8004d00ae2f..."} 
[2026-11-04 15:57:16] local.INFO: Packet analysis {"connection_id":232649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:16] local.INFO: Extracted packet for processing {"connection_id":232649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:16] local.INFO: GPS Element Parsed {"raw_longitude":759918080,"raw_latitude":109988600,"longitude_deg":75.991808,"latitude_deg":10.99886,"altitude":77,"angle":174,"satellites":47,"speed":12,"hex_longitude":"2d4b6e00","hex_latitude":"068e4af8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209705472001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38986225599643648,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5435352197184217088,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,86,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 15:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793787914000,"timestamp_ms":1793787914000,"timestamp_seconds":1793787914,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6176710"} 
[2026-11-04 15:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 15:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209705472001,"66":27876,"86":48896,"24":12,"16":38986225599643648,"45":5435352197184217088},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,24,16,45]} 
[2026-11-04 15:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209705472001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:57:16] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38986225599643648,"km_value":38986225599643.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5435352197184217088,"description":"Unknown IO ID 45"} 
[2026-11-04 15:57:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459209705472001,"power":27876,"unknown_86":48896,"ignition":12,"odometer":null,"unknown_45":5435352197184217088}} 
[2026-11-04 15:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":232649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:57:16] local.INFO: GPS data processed {"connection_id":232649,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:57:16] local.INFO: Acknowledgment sent {"connection_id":232649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:57:32] local.INFO: TCP Data received {"connection_id":230809,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61918a8012d0a4e8007057c20001101631e..."} 
[2026-11-04 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61918a8012d0a4e8007057c20001101631e..."} 
[2026-11-04 15:57:32] local.INFO: Processing buffer {"connection_id":230809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61918a8012d0a4e8007057c20001101631e..."} 
[2026-11-04 15:57:32] local.INFO: Packet analysis {"connection_id":230809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:57:32] local.INFO: Extracted packet for processing {"connection_id":230809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":755650176,"raw_latitude":117799968,"longitude_deg":75.5650176,"latitude_deg":11.7799968,"altitude":17,"angle":355,"satellites":30,"speed":4,"hex_longitude":"2d0a4e80","hex_latitude":"07057c20","is_valid_coordinates":true} 
[2026-11-04 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-11-04 15:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209731840001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39263628947357696,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742812493696194560,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793788025000,"timestamp_ms":1793788025000,"timestamp_seconds":1793788025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61918a8"} 
[2026-11-04 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-11-04 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 15:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 15:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":230809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":230809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":230809,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209731840001,"66":14537,"177":206,"94":10240,"24":4,"16":39263628947357696,"45":742812493696194560},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 15:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209731840001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:57:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 15:57:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39263628947357696,"km_value":39263628947357.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":742812493696194560,"description":"Unknown IO ID 45"} 
[2026-11-04 15:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209731840001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":742812493696194560}} 
[2026-11-04 15:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":230809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:57:32] local.INFO: GPS data processed {"connection_id":230809,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:57:32] local.INFO: Acknowledgment sent {"connection_id":230809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:57:51] local.INFO: TCP Data received {"connection_id":232649,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a617a590012d4b74c0068e2930004b00a130..."} 
[2026-11-04 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a617a590012d4b74c0068e2930004b00a130..."} 
[2026-11-04 15:57:51] local.INFO: Processing buffer {"connection_id":232649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a617a590012d4b74c0068e2930004b00a130..."} 
[2026-11-04 15:57:51] local.INFO: Packet analysis {"connection_id":232649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:51] local.INFO: Extracted packet for processing {"connection_id":232649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":759919808,"raw_latitude":109979952,"longitude_deg":75.9919808,"latitude_deg":10.9979952,"altitude":75,"angle":161,"satellites":48,"speed":27,"hex_longitude":"2d4b74c0","hex_latitude":"068e2930","is_valid_coordinates":true} 
[2026-11-04 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209705984001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38986650801405952,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5435281828439848960,"note":"Value kept but may cause issues"} 
[2026-11-04 15:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793787930000,"timestamp_ms":1793787930000,"timestamp_seconds":1793787930,"priority":1,"record_length":96,"hex_timestamp":"000001a1a617a590"} 
[2026-11-04 15:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 15:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209705984001,"66":27908,"1":206,"86":48896,"24":27,"16":38986650801405952,"45":5435281828439848960},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,86,24,16,45]} 
[2026-11-04 15:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209705984001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:57:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38986650801405952,"km_value":38986650801405.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":5435281828439848960,"description":"Unknown IO ID 45"} 
[2026-11-04 15:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209705984001,"power":27908,"imei":206,"unknown_86":48896,"ignition":27,"odometer":null,"unknown_45":5435281828439848960}} 
[2026-11-04 15:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":232649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:57:51] local.INFO: GPS data processed {"connection_id":232649,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:57:51] local.INFO: Acknowledgment sent {"connection_id":232649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:57:55] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:57:55] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:57:55] local.INFO: IMEI packet received {"connection_id":229493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":229493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:58:00] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:58:00] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:58:00] local.INFO: IMEI packet received {"connection_id":229493,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":229493,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:58:01] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6191c90012d0a4e4007057cd8001101561e..."} 
[2026-11-04 15:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6191c90012d0a4e4007057cd8001101561e..."} 
[2026-11-04 15:58:01] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6191c90012d0a4e4007057cd8001101561e..."} 
[2026-11-04 15:58:01] local.INFO: Packet analysis {"connection_id":229493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:58:01] local.INFO: Extracted packet for processing {"connection_id":229493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:58:01] local.INFO: GPS Element Parsed {"raw_longitude":755650112,"raw_latitude":117800152,"longitude_deg":75.5650112,"latitude_deg":11.7800152,"altitude":17,"angle":342,"satellites":30,"speed":9,"hex_longitude":"2d0a4e40","hex_latitude":"07057cd8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209734400001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39263637537292288,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742671756207857664,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793788026000,"timestamp_ms":1793788026000,"timestamp_seconds":1793788026,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6191c90"} 
[2026-11-04 15:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 15:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209734400001,"66":14537,"177":206,"94":10240,"24":9,"16":39263637537292288,"45":742671756207857664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 15:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209734400001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:58:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 15:58:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39263637537292288,"km_value":39263637537292.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":742671756207857664,"description":"Unknown IO ID 45"} 
[2026-11-04 15:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209734400001,"power":14537,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":742671756207857664}} 
[2026-11-04 15:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":229493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:58:01] local.INFO: GPS data processed {"connection_id":229493,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:58:01] local.INFO: Acknowledgment sent {"connection_id":229493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:58:06] local.INFO: TCP Data received {"connection_id":229494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:06] local.INFO: Processing buffer {"connection_id":229494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:06] local.INFO: IMEI packet received {"connection_id":229494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":229494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:58:07] local.INFO: TCP Data received {"connection_id":229494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:07] local.INFO: Processing buffer {"connection_id":229494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:07] local.INFO: IMEI packet received {"connection_id":229494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":229494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:58:11] local.INFO: TCP Data received {"connection_id":229494,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:11] local.INFO: Processing buffer {"connection_id":229494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:58:11] local.INFO: IMEI packet received {"connection_id":229494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":229494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:58:14] local.INFO: TCP Data received {"connection_id":229494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a617dc40012d4b7e00068e04d0004700a830..."} 
[2026-11-04 15:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a617dc40012d4b7e00068e04d0004700a830..."} 
[2026-11-04 15:58:14] local.INFO: Processing buffer {"connection_id":229494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a617dc40012d4b7e00068e04d0004700a830..."} 
[2026-11-04 15:58:14] local.INFO: Packet analysis {"connection_id":229494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:58:14] local.INFO: Extracted packet for processing {"connection_id":229494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a617"} 
[2026-11-04 15:58:14] local.INFO: GPS Element Parsed {"raw_longitude":759922176,"raw_latitude":109970640,"longitude_deg":75.9922176,"latitude_deg":10.997064,"altitude":71,"angle":168,"satellites":48,"speed":38,"hex_longitude":"2d4b7e00","hex_latitude":"068e04d0","is_valid_coordinates":true} 
[2026-11-04 15:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209710080001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38987118952841216,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5437181784530432000,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793787944000,"timestamp_ms":1793787944000,"timestamp_seconds":1793787944,"priority":1,"record_length":96,"hex_timestamp":"000001a1a617dc40"} 
[2026-11-04 15:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 15:58: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-11-04 15:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209710080001,"66":27995,"1":206,"86":48896,"24":38,"16":38987118952841216,"45":5437181784530432000},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,86,24,16,45]} 
[2026-11-04 15:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209710080001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:58:14] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38987118952841216,"km_value":38987118952841.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5437181784530432000,"description":"Unknown IO ID 45"} 
[2026-11-04 15:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209710080001,"power":27995,"imei":206,"unknown_86":48896,"ignition":38,"odometer":null,"unknown_45":5437181784530432000}} 
[2026-11-04 15:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":229494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:58:14] local.INFO: GPS data processed {"connection_id":229494,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:58:14] local.INFO: Acknowledgment sent {"connection_id":229494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:58:32] local.INFO: TCP Data received {"connection_id":229493,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6196ab0012d0a4b80070584380010014f1c..."} 
[2026-11-04 15:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6196ab0012d0a4b80070584380010014f1c..."} 
[2026-11-04 15:58:32] local.INFO: Processing buffer {"connection_id":229493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6196ab0012d0a4b80070584380010014f1c..."} 
[2026-11-04 15:58:32] local.INFO: Packet analysis {"connection_id":229493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:58:32] local.INFO: Extracted packet for processing {"connection_id":229493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":755649408,"raw_latitude":117802040,"longitude_deg":75.5649408,"latitude_deg":11.780204,"altitude":16,"angle":335,"satellites":28,"speed":0,"hex_longitude":"2d0a4b80","hex_latitude":"07058438","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209734656001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39263736321540096,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742601387463727104,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793788046000,"timestamp_ms":1793788046000,"timestamp_seconds":1793788046,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6196ab0"} 
[2026-11-04 15:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 15:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229493,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209734656001,"66":14450,"177":206,"94":10240,"24":0,"16":39263736321540096,"45":742601387463727104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 15:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209734656001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:58:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 15:58:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39263736321540096,"km_value":39263736321540.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":742601387463727104,"description":"Unknown IO ID 45"} 
[2026-11-04 15:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209734656001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":742601387463727104}} 
[2026-11-04 15:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":229493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:58:32] local.INFO: GPS data processed {"connection_id":229493,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:58:32] local.INFO: Acknowledgment sent {"connection_id":229493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:58:50] local.INFO: TCP Data received {"connection_id":229494,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a619bcb8012d4bf100068c69d00051008a2d..."} 
[2026-11-04 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a619bcb8012d4bf100068c69d00051008a2d..."} 
[2026-11-04 15:58:50] local.INFO: Processing buffer {"connection_id":229494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a619bcb8012d4bf100068c69d00051008a2d..."} 
[2026-11-04 15:58:50] local.INFO: Packet analysis {"connection_id":229494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:58:50] local.INFO: Extracted packet for processing {"connection_id":229494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":759951616,"raw_latitude":109865424,"longitude_deg":75.9951616,"latitude_deg":10.9865424,"altitude":81,"angle":138,"satellites":45,"speed":48,"hex_longitude":"2d4bf100","hex_latitude":"068c69d0","is_valid_coordinates":true} 
[2026-11-04 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209743104001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38992509136797696,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5465540388406501376,"note":"Value kept but may cause issues"} 
[2026-11-04 15:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793788067000,"timestamp_ms":1793788067000,"timestamp_seconds":1793788067,"priority":1,"record_length":96,"hex_timestamp":"000001a1a619bcb8"} 
[2026-11-04 15:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 15:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209743104001,"66":27876,"83":206,"86":48896,"24":48,"16":38992509136797696,"45":5465540388406501376},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,86,24,16,45]} 
[2026-11-04 15:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209743104001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-11-04 15:58:50] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38992509136797696,"km_value":38992509136797.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5465540388406501376,"description":"Unknown IO ID 45"} 
[2026-11-04 15:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209743104001,"power":27876,"unknown_83":206,"unknown_86":48896,"ignition":48,"odometer":null,"unknown_45":5465540388406501376}} 
[2026-11-04 15:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":229494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:58:50] local.INFO: GPS data processed {"connection_id":229494,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:58:50] local.INFO: Acknowledgment sent {"connection_id":229494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:58:59] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:58:59] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:58:59] local.INFO: IMEI packet received {"connection_id":232650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":232650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:59:00] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:00] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:00] local.INFO: IMEI packet received {"connection_id":232650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":232650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:59:00] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:00] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:00] local.INFO: IMEI packet received {"connection_id":232650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":232650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:59:01] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:01] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:01] local.INFO: IMEI packet received {"connection_id":232650,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 15:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":232650,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:59:01] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61a9390012d09f30007057ce8000f01141e..."} 
[2026-11-04 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61a9390012d09f30007057ce8000f01141e..."} 
[2026-11-04 15:59:01] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61a9390012d09f30007057ce8000f01141e..."} 
[2026-11-04 15:59:01] local.INFO: Packet analysis {"connection_id":232650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 15:59:01] local.INFO: Extracted packet for processing {"connection_id":232650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":755626752,"raw_latitude":117800168,"longitude_deg":75.5626752,"latitude_deg":11.7800168,"altitude":15,"angle":276,"satellites":30,"speed":15,"hex_longitude":"2d09f300","hex_latitude":"07057ce8","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209756672001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39264861602971648,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":721279657977950208,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793788122000,"timestamp_ms":1793788122000,"timestamp_seconds":1793788122,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61a9390"} 
[2026-11-04 15:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 15:59:01] 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-11-04 15: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-11-04 15:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":232650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209756672001,"66":14407,"177":206,"94":10240,"24":15,"16":39264861602971648,"45":721279657977950208},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 15:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209756672001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:59:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 15:59:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39264861602971648,"km_value":39264861602971.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":721279657977950208,"description":"Unknown IO ID 45"} 
[2026-11-04 15:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209756672001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":721279657977950208}} 
[2026-11-04 15:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":232650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:59:02] local.INFO: GPS data processed {"connection_id":232650,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:59:02] local.INFO: Acknowledgment sent {"connection_id":232650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:59:02] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61aa718012d09eb0007057da0000f01031e..."} 
[2026-11-04 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61aa718012d09eb0007057da0000f01031e..."} 
[2026-11-04 15:59:02] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61aa718012d09eb0007057da0000f01031e..."} 
[2026-11-04 15:59:02] local.INFO: Packet analysis {"connection_id":232650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 15:59:02] local.INFO: Extracted packet for processing {"connection_id":232650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":755624704,"raw_latitude":117800352,"longitude_deg":75.5624704,"latitude_deg":11.7800352,"altitude":15,"angle":259,"satellites":30,"speed":12,"hex_longitude":"2d09eb00","hex_latitude":"07057da0","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209759232001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39264960387219456,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716916795838883840,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793788127000,"timestamp_ms":1793788127000,"timestamp_seconds":1793788127,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61aa718"} 
[2026-11-04 15:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 15:59:02] 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-11-04 15: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-11-04 15:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":232650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209759232001,"66":14646,"177":206,"94":10240,"24":12,"16":39264960387219456,"45":716916795838883840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 15:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209759232001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:59:02] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 15:59:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39264960387219456,"km_value":39264960387219.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":716916795838883840,"description":"Unknown IO ID 45"} 
[2026-11-04 15:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209759232001,"power":14646,"unknown_177":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":716916795838883840}} 
[2026-11-04 15:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":232650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59694,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:59:02] local.INFO: GPS data processed {"connection_id":232650,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:59:02] local.INFO: Acknowledgment sent {"connection_id":232650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:59:03] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61aab00012d09ea0007057d50000f00f51e..."} 
[2026-11-04 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61aab00012d09ea0007057d50000f00f51e..."} 
[2026-11-04 15:59:03] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61aab00012d09ea0007057d50000f00f51e..."} 
[2026-11-04 15:59:03] local.INFO: Packet analysis {"connection_id":232650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 15:59:03] local.INFO: Extracted packet for processing {"connection_id":232650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755624448,"raw_latitude":117800272,"longitude_deg":75.5624448,"latitude_deg":11.7800272,"altitude":15,"angle":245,"satellites":30,"speed":10,"hex_longitude":"2d09ea00","hex_latitude":"07057d50","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209760512001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39264973272121344,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":714664996025245696,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793788128000,"timestamp_ms":1793788128000,"timestamp_seconds":1793788128,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61aab00"} 
[2026-11-04 15:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-11-04 15:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":232650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209760512001,"66":14646,"177":206,"94":10240,"24":10,"16":39264973272121344,"45":714664996025245696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209760512001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:59:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 15:59:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39264973272121344,"km_value":39264973272121.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":714664996025245696,"description":"Unknown IO ID 45"} 
[2026-11-04 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209760512001,"power":14646,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":714664996025245696}} 
[2026-11-04 15:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":232650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:59:03] local.INFO: GPS data processed {"connection_id":232650,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:59:03] local.INFO: Acknowledgment sent {"connection_id":232650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:59:06] local.INFO: TCP Data received {"connection_id":230810,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:06] local.INFO: Processing buffer {"connection_id":230810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:06] local.INFO: IMEI packet received {"connection_id":230810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 15:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":230810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 15:59:08] local.INFO: TCP Data received {"connection_id":230810,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:08] local.INFO: Processing buffer {"connection_id":230810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:08] local.INFO: IMEI packet received {"connection_id":230810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":230810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:59:09] local.INFO: TCP Data received {"connection_id":230810,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:09] local.INFO: Processing buffer {"connection_id":230810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:09] local.INFO: IMEI packet received {"connection_id":230810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":230810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:59:11] local.INFO: TCP Data received {"connection_id":230810,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:11] local.INFO: Processing buffer {"connection_id":230810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 15:59:11] local.INFO: IMEI packet received {"connection_id":230810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 15:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":230810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 15:59:13] local.INFO: TCP Data received {"connection_id":230810,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a619d810012d4c0840068c4f200051008b2f..."} 
[2026-11-04 15:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a619d810012d4c0840068c4f200051008b2f..."} 
[2026-11-04 15:59:13] local.INFO: Processing buffer {"connection_id":230810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a619d810012d4c0840068c4f200051008b2f..."} 
[2026-11-04 15:59:13] local.INFO: Packet analysis {"connection_id":230810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:59:13] local.INFO: Extracted packet for processing {"connection_id":230810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:59:13] local.INFO: GPS Element Parsed {"raw_longitude":759957568,"raw_latitude":109858592,"longitude_deg":75.9957568,"latitude_deg":10.9858592,"altitude":81,"angle":139,"satellites":47,"speed":52,"hex_longitude":"2d4c0840","hex_latitude":"068c4f20","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209745152001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38992942928494592,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5472155050357411840,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793788074000,"timestamp_ms":1793788074000,"timestamp_seconds":1793788074,"priority":1,"record_length":96,"hex_timestamp":"000001a1a619d810"} 
[2026-11-04 15:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 15:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15: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-11-04 15:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209745152001,"66":27821,"81":206,"86":48896,"24":52,"16":38992942928494592,"45":5472155050357411840},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,86,24,16,45]} 
[2026-11-04 15:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209745152001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 15:59:13] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38992942928494592,"km_value":38992942928494.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5472155050357411840,"description":"Unknown IO ID 45"} 
[2026-11-04 15:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209745152001,"power":27821,"unknown_81":206,"unknown_86":48896,"ignition":52,"odometer":null,"unknown_45":5472155050357411840}} 
[2026-11-04 15:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":230810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:59:13] local.INFO: GPS data processed {"connection_id":230810,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:59:13] local.INFO: Acknowledgment sent {"connection_id":230810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:59:34] local.INFO: TCP Data received {"connection_id":232650,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61b4b28012d09bdc0070569e80012008b1e..."} 
[2026-11-04 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61b4b28012d09bdc0070569e80012008b1e..."} 
[2026-11-04 15:59:34] local.INFO: Processing buffer {"connection_id":232650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61b4b28012d09bdc0070569e80012008b1e..."} 
[2026-11-04 15:59:34] local.INFO: Packet analysis {"connection_id":232650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 15:59:34] local.INFO: Extracted packet for processing {"connection_id":232650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":755613120,"raw_latitude":117795304,"longitude_deg":75.561312,"latitude_deg":11.7795304,"altitude":18,"angle":139,"satellites":30,"speed":7,"hex_longitude":"2d09bdc0","hex_latitude":"070569e8","is_valid_coordinates":true} 
[2026-11-04 15:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209771008001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39265810790744064,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701787515839477760,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793788169000,"timestamp_ms":1793788169000,"timestamp_seconds":1793788169,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61b4b28"} 
[2026-11-04 15:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 15:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 15:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 15:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":232650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":232650,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 15:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209771008001,"66":14613,"177":206,"94":10240,"24":7,"16":39265810790744064,"45":701787515839477760},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209771008001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:59:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 15:59:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39265810790744064,"km_value":39265810790744.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":701787515839477760,"description":"Unknown IO ID 45"} 
[2026-11-04 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209771008001,"power":14613,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":701787515839477760}} 
[2026-11-04 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":232650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:59:34] local.INFO: GPS data processed {"connection_id":232650,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:59:34] local.INFO: Acknowledgment sent {"connection_id":232650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:59:44] local.INFO: TCP Data received {"connection_id":230810,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a619f750012d4c2300068c32e0005200832f..."} 
[2026-11-04 15:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a619f750012d4c2300068c32e0005200832f..."} 
[2026-11-04 15:59:44] local.INFO: Processing buffer {"connection_id":230810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a619f750012d4c2300068c32e0005200832f..."} 
[2026-11-04 15:59:44] local.INFO: Packet analysis {"connection_id":230810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:59:44] local.INFO: Extracted packet for processing {"connection_id":230810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a619"} 
[2026-11-04 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":759964416,"raw_latitude":109851360,"longitude_deg":75.9964416,"latitude_deg":10.985136,"altitude":82,"angle":131,"satellites":47,"speed":44,"hex_longitude":"2d4c2300","hex_latitude":"068c32e0","is_valid_coordinates":true} 
[2026-11-04 15: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-11-04 15:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209746944001,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38993423964831744,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5478699343564185600,"note":"Value kept but may cause issues"} 
[2026-11-04 15:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 15:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793788082000,"timestamp_ms":1793788082000,"timestamp_seconds":1793788082,"priority":1,"record_length":96,"hex_timestamp":"000001a1a619f750"} 
[2026-11-04 15:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 15:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 15: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 15:59: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-11-04 15: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-11-04 15:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 15:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 15:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 15:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 15:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 15:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 15:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 15:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209746944001,"66":27919,"81":206,"86":48896,"24":44,"16":38993423964831744,"45":5478699343564185600},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,86,24,16,45]} 
[2026-11-04 15:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 15:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 15:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209746944001,"description":"Unknown IO ID 0"} 
[2026-11-04 15:59:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 15:59:44] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 15:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38993423964831744,"km_value":38993423964831.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 15:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5478699343564185600,"description":"Unknown IO ID 45"} 
[2026-11-04 15:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209746944001,"power":27919,"unknown_81":206,"unknown_86":48896,"ignition":44,"odometer":null,"unknown_45":5478699343564185600}} 
[2026-11-04 15:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":230810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 15:59:44] local.INFO: GPS data processed {"connection_id":230810,"processed":1,"errors":0,"total":1} 
[2026-11-04 15:59:44] local.INFO: Acknowledgment sent {"connection_id":230810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 15:59:55] local.INFO: TCP Data received {"connection_id":229004,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:55] local.INFO: Processing buffer {"connection_id":229004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 15:59:55] local.INFO: IMEI packet received {"connection_id":229004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 15:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":229004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:00:00] local.INFO: TCP Data received {"connection_id":229004,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229004,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:00] local.INFO: Processing buffer {"connection_id":229004,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:00] local.INFO: IMEI packet received {"connection_id":229004,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":229004,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:00:00] local.INFO: TCP Data received {"connection_id":229004,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61b4f10012d09be4007056978001200761e..."} 
[2026-11-04 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61b4f10012d09be4007056978001200761e..."} 
[2026-11-04 16:00:00] local.INFO: Processing buffer {"connection_id":229004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61b4f10012d09be4007056978001200761e..."} 
[2026-11-04 16:00:00] local.INFO: Packet analysis {"connection_id":229004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:00:00] local.INFO: Extracted packet for processing {"connection_id":229004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":755613248,"raw_latitude":117795192,"longitude_deg":75.5613248,"latitude_deg":11.7795192,"altitude":18,"angle":118,"satellites":30,"speed":7,"hex_longitude":"2d09be40","hex_latitude":"07056978","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209771264001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39265819380678656,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701928253327796224,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793788170000,"timestamp_ms":1793788170000,"timestamp_seconds":1793788170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61b4f10"} 
[2026-11-04 16:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-04 16:00:00] 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-11-04 16: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-11-04 16:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209771264001,"66":14613,"177":206,"94":10240,"24":7,"16":39265819380678656,"45":701928253327796224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209771264001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:00:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:00:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39265819380678656,"km_value":39265819380678.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":701928253327796224,"description":"Unknown IO ID 45"} 
[2026-11-04 16:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209771264001,"power":14613,"unknown_177":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":701928253327796224}} 
[2026-11-04 16:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":229004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:00:01] local.INFO: GPS data processed {"connection_id":229004,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:00:01] local.INFO: Acknowledgment sent {"connection_id":229004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:00:10] local.INFO: TCP Data received {"connection_id":232651,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:10] local.INFO: Processing buffer {"connection_id":232651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:10] local.INFO: IMEI packet received {"connection_id":232651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":232651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:00:11] local.INFO: TCP Data received {"connection_id":232651,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:11] local.INFO: Processing buffer {"connection_id":232651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:11] local.INFO: IMEI packet received {"connection_id":232651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":232651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:00:16] local.INFO: TCP Data received {"connection_id":232651,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:16] local.INFO: Processing buffer {"connection_id":232651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:00:16] local.INFO: IMEI packet received {"connection_id":232651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":232651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:00:17] local.INFO: TCP Data received {"connection_id":232651,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61a1690012d4c4000068c1d500052007d29..."} 
[2026-11-04 16:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61a1690012d4c4000068c1d500052007d29..."} 
[2026-11-04 16:00:17] local.INFO: Processing buffer {"connection_id":232651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61a1690012d4c4000068c1d500052007d29..."} 
[2026-11-04 16:00:17] local.INFO: Packet analysis {"connection_id":232651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 16:00:17] local.INFO: Extracted packet for processing {"connection_id":232651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 16:00:17] local.INFO: GPS Element Parsed {"raw_longitude":759971840,"raw_latitude":109845840,"longitude_deg":75.997184,"latitude_deg":10.984584,"altitude":82,"angle":125,"satellites":41,"speed":47,"hex_longitude":"2d4c4000","hex_latitude":"068c1d50","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209748992001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38993866346463232,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5486228799189344256,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793788090000,"timestamp_ms":1793788090000,"timestamp_seconds":1793788090,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61a1690"} 
[2026-11-04 16:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:00: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-11-04 16: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-11-04 16:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209748992001,"66":27930,"81":206,"86":48896,"24":47,"16":38993866346463232,"45":5486228799189344256},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,86,24,16,45]} 
[2026-11-04 16:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209748992001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:00:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 16:00:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38993866346463232,"km_value":38993866346463.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5486228799189344256,"description":"Unknown IO ID 45"} 
[2026-11-04 16:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209748992001,"power":27930,"unknown_81":206,"unknown_86":48896,"ignition":47,"odometer":null,"unknown_45":5486228799189344256}} 
[2026-11-04 16:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":232651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:00:17] local.INFO: GPS data processed {"connection_id":232651,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:00:17] local.INFO: Acknowledgment sent {"connection_id":232651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:00:20] local.INFO: TCP Data received {"connection_id":232651,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61a4570012d4c5f80068c0848004e007c2f..."} 
[2026-11-04 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61a4570012d4c5f80068c0848004e007c2f..."} 
[2026-11-04 16:00:20] local.INFO: Processing buffer {"connection_id":232651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61a4570012d4c5f80068c0848004e007c2f..."} 
[2026-11-04 16:00:20] local.INFO: Packet analysis {"connection_id":232651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 16:00:20] local.INFO: Extracted packet for processing {"connection_id":232651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61a"} 
[2026-11-04 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":759979904,"raw_latitude":109840456,"longitude_deg":75.9979904,"latitude_deg":10.9840456,"altitude":78,"angle":124,"satellites":47,"speed":36,"hex_longitude":"2d4c5f80","hex_latitude":"068c0848","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209751040001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38994330202931200,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5494391573512540160,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793788102000,"timestamp_ms":1793788102000,"timestamp_seconds":1793788102,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61a4570"} 
[2026-11-04 16:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:00:20] 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-11-04 16: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-11-04 16:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209751040001,"66":27974,"81":206,"86":48896,"24":36,"16":38994330202931200,"45":5494391573512540160},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,86,24,16,45]} 
[2026-11-04 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209751040001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 16:00:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38994330202931200,"km_value":38994330202931.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5494391573512540160,"description":"Unknown IO ID 45"} 
[2026-11-04 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209751040001,"power":27974,"unknown_81":206,"unknown_86":48896,"ignition":36,"odometer":null,"unknown_45":5494391573512540160}} 
[2026-11-04 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":232651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:00:20] local.INFO: GPS data processed {"connection_id":232651,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:00:20] local.INFO: Acknowledgment sent {"connection_id":232651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:00:28] local.INFO: TCP Data received {"connection_id":229005,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:00:28] local.INFO: Processing buffer {"connection_id":229005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:00:28] local.INFO: IMEI packet received {"connection_id":229005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":229005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:00:32] local.INFO: TCP Data received {"connection_id":229004,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61b52f8012d09bf4007056938001200661d..."} 
[2026-11-04 16:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61b52f8012d09bf4007056938001200661d..."} 
[2026-11-04 16:00:32] local.INFO: Processing buffer {"connection_id":229004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61b52f8012d09bf4007056938001200661d..."} 
[2026-11-04 16:00:32] local.INFO: Packet analysis {"connection_id":229004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:00:32] local.INFO: Extracted packet for processing {"connection_id":229004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:00:32] local.INFO: GPS Element Parsed {"raw_longitude":755613504,"raw_latitude":117795128,"longitude_deg":75.5613504,"latitude_deg":11.7795128,"altitude":18,"angle":102,"satellites":29,"speed":8,"hex_longitude":"2d09bf40","hex_latitude":"07056938","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209771520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39265832265580544,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":702068990816122880,"note":"Value kept but may cause issues"} 
[2026-11-04 16:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793788171000,"timestamp_ms":1793788171000,"timestamp_seconds":1793788171,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61b52f8"} 
[2026-11-04 16:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-11-04 16:00:32] 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-11-04 16: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-11-04 16:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229004,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209771520001,"66":14450,"177":206,"94":10240,"24":8,"16":39265832265580544,"45":702068990816122880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209771520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:00:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:00:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39265832265580544,"km_value":39265832265580.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":702068990816122880,"description":"Unknown IO ID 45"} 
[2026-11-04 16:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209771520001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":702068990816122880}} 
[2026-11-04 16:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":229004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:00:32] local.INFO: GPS data processed {"connection_id":229004,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:00:32] local.INFO: Acknowledgment sent {"connection_id":229004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:00:55] local.INFO: TCP Data received {"connection_id":230811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:55] local.INFO: Processing buffer {"connection_id":230811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:55] local.INFO: IMEI packet received {"connection_id":230811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":230811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:00:55] local.INFO: TCP Data received {"connection_id":230811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:55] local.INFO: Processing buffer {"connection_id":230811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:00:55] local.INFO: IMEI packet received {"connection_id":230811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":230811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:01:00] local.INFO: TCP Data received {"connection_id":230811,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230811,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:00] local.INFO: Processing buffer {"connection_id":230811,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:00] local.INFO: IMEI packet received {"connection_id":230811,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":230811,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:01:01] local.INFO: TCP Data received {"connection_id":230811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61c50e0012d09bc00070503e8000d008c20..."} 
[2026-11-04 16:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61c50e0012d09bc00070503e8000d008c20..."} 
[2026-11-04 16:01:01] local.INFO: Processing buffer {"connection_id":230811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61c50e0012d09bc00070503e8000d008c20..."} 
[2026-11-04 16:01:01] local.INFO: Packet analysis {"connection_id":230811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:01:01] local.INFO: Extracted packet for processing {"connection_id":230811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:01:01] local.INFO: GPS Element Parsed {"raw_longitude":755612672,"raw_latitude":117769192,"longitude_deg":75.5612672,"latitude_deg":11.7769192,"altitude":13,"angle":140,"satellites":32,"speed":16,"hex_longitude":"2d09bc00","hex_latitude":"070503e8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209788160001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39267163705442304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701154197135253504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793788236000,"timestamp_ms":1793788236000,"timestamp_seconds":1793788236,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61c50e0"} 
[2026-11-04 16:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:01:01] 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-11-04 16: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-11-04 16:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":230811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":230811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":230811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209788160001,"66":14580,"177":206,"94":10240,"24":16,"16":39267163705442304,"45":701154197135253504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209788160001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:01:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:01:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39267163705442304,"km_value":39267163705442.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":701154197135253504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209788160001,"power":14580,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":701154197135253504}} 
[2026-11-04 16:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":230811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59703,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:01:01] local.INFO: GPS data processed {"connection_id":230811,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:01:01] local.INFO: Acknowledgment sent {"connection_id":230811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:01:09] local.INFO: TCP Data received {"connection_id":229497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:01:09] local.INFO: Processing buffer {"connection_id":229497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:01:09] local.INFO: IMEI packet received {"connection_id":229497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":229497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:01:32] local.INFO: TCP Data received {"connection_id":230811,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61cf4f0012d09d9800704ca680012004b20..."} 
[2026-11-04 16:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61cf4f0012d09d9800704ca680012004b20..."} 
[2026-11-04 16:01:32] local.INFO: Processing buffer {"connection_id":230811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61cf4f0012d09d9800704ca680012004b20..."} 
[2026-11-04 16:01:32] local.INFO: Packet analysis {"connection_id":230811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:01:32] local.INFO: Extracted packet for processing {"connection_id":230811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:01:32] local.INFO: GPS Element Parsed {"raw_longitude":755620224,"raw_latitude":117754472,"longitude_deg":75.5620224,"latitude_deg":11.7754472,"altitude":18,"angle":75,"satellites":32,"speed":25,"hex_longitude":"2d09d980","hex_latitude":"0704ca68","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209798912001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39268121483149312,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":708894758990876672,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793788278000,"timestamp_ms":1793788278000,"timestamp_seconds":1793788278,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61cf4f0"} 
[2026-11-04 16:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":230811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":230811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":230811,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209798912001,"66":14494,"177":206,"94":10240,"24":25,"16":39268121483149312,"45":708894758990876672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209798912001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:01:32] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:01:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39268121483149312,"km_value":39268121483149.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":708894758990876672,"description":"Unknown IO ID 45"} 
[2026-11-04 16:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209798912001,"power":14494,"unknown_177":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":708894758990876672}} 
[2026-11-04 16:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":230811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:01:32] local.INFO: GPS data processed {"connection_id":230811,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:01:32] local.INFO: Acknowledgment sent {"connection_id":230811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:01:38] local.INFO: TCP Data received {"connection_id":232652,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:38] local.INFO: Processing buffer {"connection_id":232652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:38] local.INFO: IMEI packet received {"connection_id":232652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":232652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:01:41] local.INFO: TCP Data received {"connection_id":232652,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:41] local.INFO: Processing buffer {"connection_id":232652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:41] local.INFO: IMEI packet received {"connection_id":232652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":232652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:01:55] local.INFO: TCP Data received {"connection_id":229498,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229498,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:55] local.INFO: Processing buffer {"connection_id":229498,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:55] local.INFO: IMEI packet received {"connection_id":229498,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":229498,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:01:57] local.INFO: TCP Data received {"connection_id":232652,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:57] local.INFO: Processing buffer {"connection_id":232652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:01:57] local.INFO: IMEI packet received {"connection_id":232652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":232652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:01:57] local.INFO: TCP Data received {"connection_id":232652,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61bacd0012d4d3500068aff80006300732f..."} 
[2026-11-04 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61bacd0012d4d3500068aff80006300732f..."} 
[2026-11-04 16:01:57] local.INFO: Processing buffer {"connection_id":232652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61bacd0012d4d3500068aff80006300732f..."} 
[2026-11-04 16:01:57] local.INFO: Packet analysis {"connection_id":232652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:01:57] local.INFO: Extracted packet for processing {"connection_id":232652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:01:57] local.INFO: GPS Element Parsed {"raw_longitude":760034560,"raw_latitude":109772672,"longitude_deg":76.003456,"latitude_deg":10.9772672,"altitude":99,"angle":115,"satellites":47,"speed":42,"hex_longitude":"2d4d3500","hex_latitude":"068aff80","is_valid_coordinates":true} 
[2026-11-04 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-11-04 16:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209775360001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38998629465194496,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5554556849766793216,"note":"Value kept but may cause issues"} 
[2026-11-04 16:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1793788194000,"timestamp_ms":1793788194000,"timestamp_seconds":1793788194,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61bacd0"} 
[2026-11-04 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-11-04 16:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 16:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 16:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":232652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":232652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":232652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16: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-11-04 16:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209775360001,"66":27887,"94":206,"86":48896,"24":42,"16":38998629465194496,"45":5554556849766793216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-11-04 16:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209775360001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:01:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-04 16:01:57] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38998629465194496,"km_value":38998629465194.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5554556849766793216,"description":"Unknown IO ID 45"} 
[2026-11-04 16:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209775360001,"power":27887,"unknown_94":206,"unknown_86":48896,"ignition":42,"odometer":null,"unknown_45":5554556849766793216}} 
[2026-11-04 16:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":232652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:01:57] local.INFO: GPS data processed {"connection_id":232652,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:01:57] local.INFO: Acknowledgment sent {"connection_id":232652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:01:59] local.INFO: TCP Data received {"connection_id":229498,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229498,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:59] local.INFO: Processing buffer {"connection_id":229498,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:01:59] local.INFO: IMEI packet received {"connection_id":229498,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":229498,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:02:00] local.INFO: TCP Data received {"connection_id":229498,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229498,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:00] local.INFO: Processing buffer {"connection_id":229498,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:00] local.INFO: IMEI packet received {"connection_id":229498,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":229498,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:02:01] local.INFO: TCP Data received {"connection_id":229498,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61d6e08012d0a02400704dff00018005f20..."} 
[2026-11-04 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61d6e08012d0a02400704dff00018005f20..."} 
[2026-11-04 16:02:01] local.INFO: Processing buffer {"connection_id":229498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61d6e08012d0a02400704dff00018005f20..."} 
[2026-11-04 16:02:01] local.INFO: Packet analysis {"connection_id":229498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61d"} 
[2026-11-04 16:02:01] local.INFO: Extracted packet for processing {"connection_id":229498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61d"} 
[2026-11-04 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":755630656,"raw_latitude":117759984,"longitude_deg":75.5630656,"latitude_deg":11.7759984,"altitude":24,"angle":95,"satellites":32,"speed":6,"hex_longitude":"2d0a0240","hex_latitude":"0704dff0","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209805312001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39268761433276416,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":717901958247053312,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793788309000,"timestamp_ms":1793788309000,"timestamp_seconds":1793788309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61d6e08"} 
[2026-11-04 16:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 16:02: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-11-04 16: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-11-04 16:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209805312001,"66":14548,"177":206,"94":10240,"24":6,"16":39268761433276416,"45":717901958247053312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209805312001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:02:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:02:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39268761433276416,"km_value":39268761433276.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":717901958247053312,"description":"Unknown IO ID 45"} 
[2026-11-04 16:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209805312001,"power":14548,"unknown_177":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":717901958247053312}} 
[2026-11-04 16:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":229498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:02:01] local.INFO: GPS data processed {"connection_id":229498,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:02:01] local.INFO: Acknowledgment sent {"connection_id":229498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:02:05] local.INFO: TCP Data received {"connection_id":229498,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61d75d8012d0a04400704dff80018005220..."} 
[2026-11-04 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61d75d8012d0a04400704dff80018005220..."} 
[2026-11-04 16:02:05] local.INFO: Processing buffer {"connection_id":229498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61d75d8012d0a04400704dff80018005220..."} 
[2026-11-04 16:02:05] local.INFO: Packet analysis {"connection_id":229498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61d"} 
[2026-11-04 16:02:05] local.INFO: Extracted packet for processing {"connection_id":229498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61d"} 
[2026-11-04 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755631168,"raw_latitude":117759992,"longitude_deg":75.5631168,"latitude_deg":11.7759992,"altitude":24,"angle":82,"satellites":32,"speed":13,"hex_longitude":"2d0a0440","hex_latitude":"0704dff8","is_valid_coordinates":true} 
[2026-11-04 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209807104001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39268787203080192,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":721209289223434240,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793788311000,"timestamp_ms":1793788311000,"timestamp_seconds":1793788311,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61d75d8"} 
[2026-11-04 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 16:02:05] 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-11-04 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209807104001,"66":14450,"177":206,"94":10240,"24":13,"16":39268787203080192,"45":721209289223434240},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209807104001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39268787203080192,"km_value":39268787203080.195,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":721209289223434240,"description":"Unknown IO ID 45"} 
[2026-11-04 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209807104001,"power":14450,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":721209289223434240}} 
[2026-11-04 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":229498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:02:05] local.INFO: GPS data processed {"connection_id":229498,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:02:05] local.INFO: Acknowledgment sent {"connection_id":229498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:02:15] local.INFO: TCP Data received {"connection_id":229006,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:02:15] local.INFO: Processing buffer {"connection_id":229006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:02:15] local.INFO: IMEI packet received {"connection_id":229006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":229006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:02:16] local.INFO: TCP Data received {"connection_id":229006,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:02:16] local.INFO: Processing buffer {"connection_id":229006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:02:16] local.INFO: IMEI packet received {"connection_id":229006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":229006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:02:17] local.INFO: TCP Data received {"connection_id":229006,"ip":"42.106.6.34","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a6..."} 
[2026-11-04 16:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229006,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a6..."} 
[2026-11-04 16:02:17] local.INFO: Processing buffer {"connection_id":229006,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a1a6..."} 
[2026-11-04 16:02:17] local.INFO: IMEI packet received {"connection_id":229006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":229006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:02:17] local.INFO: TCP Data received {"connection_id":229006,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61beb50012d4d72c0068ae1380060008030..."} 
[2026-11-04 16:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61beb50012d4d72c0068ae1380060008030..."} 
[2026-11-04 16:02:17] local.INFO: Processing buffer {"connection_id":229006,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a61bcc10012d4d5580068af080006100742f..."} 
[2026-11-04 16:02:17] local.INFO: Packet analysis {"connection_id":229006,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:02:17] local.INFO: Extracted packet for processing {"connection_id":229006,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":760042880,"raw_latitude":109768832,"longitude_deg":76.004288,"latitude_deg":10.9768832,"altitude":97,"angle":116,"satellites":47,"speed":45,"hex_longitude":"2d4d5580","hex_latitude":"068af080","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209777664001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38999067551858688,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5563352942787919872,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793788202000,"timestamp_ms":1793788202000,"timestamp_seconds":1793788202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61bcc10"} 
[2026-11-04 16:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 16:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209777664001,"66":28050,"94":206,"86":48896,"24":45,"16":38999067551858688,"45":5563352942787919872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209777664001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38999067551858688,"km_value":38999067551858.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5563352942787919872,"description":"Unknown IO ID 45"} 
[2026-11-04 16:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209777664001,"power":28050,"unknown_94":206,"unknown_86":48896,"ignition":45,"odometer":null,"unknown_45":5563352942787919872}} 
[2026-11-04 16:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":229006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:02:17] local.INFO: GPS data processed {"connection_id":229006,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:02:17] local.INFO: Acknowledgment sent {"connection_id":229006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:02:17] local.INFO: Packet analysis {"connection_id":229006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:02:17] local.INFO: Extracted packet for processing {"connection_id":229006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61b"} 
[2026-11-04 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":760050368,"raw_latitude":109764920,"longitude_deg":76.0050368,"latitude_deg":10.976492,"altitude":96,"angle":128,"satellites":48,"speed":34,"hex_longitude":"2d4d72c0","hex_latitude":"068ae138","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209779712001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38999471278784512,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572500879530033152,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793788210000,"timestamp_ms":1793788210000,"timestamp_seconds":1793788210,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61beb50"} 
[2026-11-04 16:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 16:02: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-11-04 16: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-11-04 16:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209779712001,"66":27908,"94":206,"86":48896,"24":34,"16":38999471278784512,"45":5572500879530033152},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-11-04 16:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209779712001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38999471278784512,"km_value":38999471278784.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572500879530033152,"description":"Unknown IO ID 45"} 
[2026-11-04 16:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209779712001,"power":27908,"unknown_94":206,"unknown_86":48896,"ignition":34,"odometer":null,"unknown_45":5572500879530033152}} 
[2026-11-04 16:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":229006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:02:17] local.INFO: GPS data processed {"connection_id":229006,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:02:17] local.INFO: Acknowledgment sent {"connection_id":229006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:02:21] local.INFO: TCP Data received {"connection_id":229006,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61c3d58012d4d88c0068acdd8006400882f..."} 
[2026-11-04 16:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61c3d58012d4d88c0068acdd8006400882f..."} 
[2026-11-04 16:02:21] local.INFO: Processing buffer {"connection_id":229006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61c3d58012d4d88c0068acdd8006400882f..."} 
[2026-11-04 16:02:21] local.INFO: Packet analysis {"connection_id":229006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:02:21] local.INFO: Extracted packet for processing {"connection_id":229006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:02:21] local.INFO: GPS Element Parsed {"raw_longitude":760056000,"raw_latitude":109759960,"longitude_deg":76.0056,"latitude_deg":10.975996,"altitude":100,"angle":136,"satellites":47,"speed":11,"hex_longitude":"2d4d88c0","hex_latitude":"068acdd8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209781760001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38999832056037376,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5580734022597818368,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793788231000,"timestamp_ms":1793788231000,"timestamp_seconds":1793788231,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61c3d58"} 
[2026-11-04 16:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:02:21] 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-11-04 16: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-11-04 16:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:02:21] 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-11-04 16:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209781760001,"66":27908,"94":206,"86":48896,"24":11,"16":38999832056037376,"45":5580734022597818368},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-11-04 16:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209781760001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:02:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-04 16:02:21] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38999832056037376,"km_value":38999832056037.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5580734022597818368,"description":"Unknown IO ID 45"} 
[2026-11-04 16:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209781760001,"power":27908,"unknown_94":206,"unknown_86":48896,"ignition":11,"odometer":null,"unknown_45":5580734022597818368}} 
[2026-11-04 16:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":229006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:02:21] local.INFO: GPS data processed {"connection_id":229006,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:02:21] local.INFO: Acknowledgment sent {"connection_id":229006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:02:36] local.INFO: TCP Data received {"connection_id":229498,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61d8d48012d0a10400704e2e80019004520..."} 
[2026-11-04 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61d8d48012d0a10400704e2e80019004520..."} 
[2026-11-04 16:02:36] local.INFO: Processing buffer {"connection_id":229498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61d8d48012d0a10400704e2e80019004520..."} 
[2026-11-04 16:02:36] local.INFO: Packet analysis {"connection_id":229498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61d"} 
[2026-11-04 16:02:36] local.INFO: Extracted packet for processing {"connection_id":229498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61d"} 
[2026-11-04 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":755634240,"raw_latitude":117760744,"longitude_deg":75.563424,"latitude_deg":11.7760744,"altitude":25,"angle":69,"satellites":32,"speed":27,"hex_longitude":"2d0a1040","hex_latitude":"0704e2e8","is_valid_coordinates":true} 
[2026-11-04 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209807616001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39268933231968256,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":721772239176857600,"note":"Value kept but may cause issues"} 
[2026-11-04 16:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793788317000,"timestamp_ms":1793788317000,"timestamp_seconds":1793788317,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61d8d48"} 
[2026-11-04 16:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 16:02:36] 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-11-04 16:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229498,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209807616001,"66":14515,"177":206,"94":10240,"24":27,"16":39268933231968256,"45":721772239176857600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209807616001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39268933231968256,"km_value":39268933231968.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":721772239176857600,"description":"Unknown IO ID 45"} 
[2026-11-04 16:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209807616001,"power":14515,"unknown_177":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":721772239176857600}} 
[2026-11-04 16:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":229498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59711,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:02:36] local.INFO: GPS data processed {"connection_id":229498,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:02:36] local.INFO: Acknowledgment sent {"connection_id":229498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:02:55] local.INFO: TCP Data received {"connection_id":230813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:55] local.INFO: Processing buffer {"connection_id":230813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:55] local.INFO: IMEI packet received {"connection_id":230813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":230813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:02:58] local.INFO: TCP Data received {"connection_id":230813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:58] local.INFO: Processing buffer {"connection_id":230813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:02:58] local.INFO: IMEI packet received {"connection_id":230813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":230813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:03:06] local.INFO: TCP Data received {"connection_id":230814,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:06] local.INFO: Processing buffer {"connection_id":230814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:06] local.INFO: IMEI packet received {"connection_id":230814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":230814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:03:07] local.INFO: TCP Data received {"connection_id":230813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:07] local.INFO: Processing buffer {"connection_id":230813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:07] local.INFO: IMEI packet received {"connection_id":230813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":230813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:03:07] local.INFO: TCP Data received {"connection_id":230814,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:07] local.INFO: Processing buffer {"connection_id":230814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:07] local.INFO: IMEI packet received {"connection_id":230814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":230814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:03:08] local.INFO: TCP Data received {"connection_id":230813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230813,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:08] local.INFO: Processing buffer {"connection_id":230813,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:08] local.INFO: IMEI packet received {"connection_id":230813,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":230813,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:03:11] local.INFO: TCP Data received {"connection_id":230813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61e40f8012d0a8c400704e0f00019005a1f..."} 
[2026-11-04 16:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61e40f8012d0a8c400704e0f00019005a1f..."} 
[2026-11-04 16:03:11] local.INFO: Processing buffer {"connection_id":230813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61e40f8012d0a8c400704e0f00019005a1f..."} 
[2026-11-04 16:03:11] local.INFO: Packet analysis {"connection_id":230813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:03:11] local.INFO: Extracted packet for processing {"connection_id":230813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:03:11] local.INFO: GPS Element Parsed {"raw_longitude":755665984,"raw_latitude":117760240,"longitude_deg":75.5665984,"latitude_deg":11.776024,"altitude":25,"angle":90,"satellites":31,"speed":25,"hex_longitude":"2d0a8c40","hex_latitude":"0704e0f0","is_valid_coordinates":true} 
[2026-11-04 16:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209820416001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39270475125227520,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758645461126047744,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793788363000,"timestamp_ms":1793788363000,"timestamp_seconds":1793788363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61e40f8"} 
[2026-11-04 16:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-11-04 16:03:11] 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-11-04 16:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209820416001,"66":14439,"177":206,"94":10240,"24":25,"16":39270475125227520,"45":758645461126047744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209820416001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:03:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:03:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39270475125227520,"km_value":39270475125227.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":758645461126047744,"description":"Unknown IO ID 45"} 
[2026-11-04 16:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209820416001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":758645461126047744}} 
[2026-11-04 16:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":230813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:03:11] local.INFO: GPS data processed {"connection_id":230813,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:03:11] local.INFO: Acknowledgment sent {"connection_id":230813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:03:11] local.INFO: TCP Data received {"connection_id":230814,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:11] local.INFO: Processing buffer {"connection_id":230814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:03:11] local.INFO: IMEI packet received {"connection_id":230814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":230814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:03:12] local.INFO: TCP Data received {"connection_id":230813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61e5098012d0a94800704e160001a004e1f..."} 
[2026-11-04 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61e5098012d0a94800704e160001a004e1f..."} 
[2026-11-04 16:03:12] local.INFO: Processing buffer {"connection_id":230813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61e5098012d0a94800704e160001a004e1f..."} 
[2026-11-04 16:03:12] local.INFO: Packet analysis {"connection_id":230813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:03:12] local.INFO: Extracted packet for processing {"connection_id":230813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:03:12] local.INFO: GPS Element Parsed {"raw_longitude":755668096,"raw_latitude":117760352,"longitude_deg":75.5668096,"latitude_deg":11.7760352,"altitude":26,"angle":78,"satellites":31,"speed":17,"hex_longitude":"2d0a9480","hex_latitude":"0704e160","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209820928001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39270578204442624,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":760052836009570304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793788367000,"timestamp_ms":1793788367000,"timestamp_seconds":1793788367,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61e5098"} 
[2026-11-04 16:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 16:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230813,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209820928001,"66":14559,"177":206,"94":10240,"24":17,"16":39270578204442624,"45":760052836009570304},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209820928001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39270578204442624,"km_value":39270578204442.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":760052836009570304,"description":"Unknown IO ID 45"} 
[2026-11-04 16:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209820928001,"power":14559,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":760052836009570304}} 
[2026-11-04 16:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":230813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:03:12] local.INFO: GPS data processed {"connection_id":230813,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:03:12] local.INFO: Acknowledgment sent {"connection_id":230813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:03:12] local.INFO: TCP Data received {"connection_id":230814,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61c6c38012d4d9100068ac540006600782f..."} 
[2026-11-04 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61c6c38012d4d9100068ac540006600782f..."} 
[2026-11-04 16:03:12] local.INFO: Processing buffer {"connection_id":230814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61c6c38012d4d9100068ac540006600782f..."} 
[2026-11-04 16:03:12] local.INFO: Packet analysis {"connection_id":230814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:03:12] local.INFO: Extracted packet for processing {"connection_id":230814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61c"} 
[2026-11-04 16:03:12] local.INFO: GPS Element Parsed {"raw_longitude":760058112,"raw_latitude":109757760,"longitude_deg":76.0058112,"latitude_deg":10.975776,"altitude":102,"angle":120,"satellites":47,"speed":10,"hex_longitude":"2d4d9100","hex_latitude":"068ac540","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209787136001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":38999982379892736,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5586926472084183040,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793788243000,"timestamp_ms":1793788243000,"timestamp_seconds":1793788243,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61c6c38"} 
[2026-11-04 16:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:03: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-11-04 16: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-11-04 16:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209787136001,"66":27908,"94":206,"86":48896,"24":10,"16":38999982379892736,"45":5586926472084183040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,86,24,16,45]} 
[2026-11-04 16:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209787136001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":38999982379892736,"km_value":38999982379892.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5586926472084183040,"description":"Unknown IO ID 45"} 
[2026-11-04 16:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209787136001,"power":27908,"unknown_94":206,"unknown_86":48896,"ignition":10,"odometer":null,"unknown_45":5586926472084183040}} 
[2026-11-04 16:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":230814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:03:12] local.INFO: GPS data processed {"connection_id":230814,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:03:12] local.INFO: Acknowledgment sent {"connection_id":230814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:03:43] local.INFO: TCP Data received {"connection_id":230814,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61e6808012d4dea400688f9c0005800ac31..."} 
[2026-11-04 16:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61e6808012d4dea400688f9c0005800ac31..."} 
[2026-11-04 16:03:43] local.INFO: Processing buffer {"connection_id":230814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61e6808012d4dea400688f9c0005800ac31..."} 
[2026-11-04 16:03:43] local.INFO: Packet analysis {"connection_id":230814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:03:43] local.INFO: Extracted packet for processing {"connection_id":230814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":760080960,"raw_latitude":109640128,"longitude_deg":76.008096,"latitude_deg":10.9640128,"altitude":88,"angle":172,"satellites":49,"speed":62,"hex_longitude":"2d4dea40","hex_latitude":"0688f9c0","is_valid_coordinates":true} 
[2026-11-04 16:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209821952001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39006399061032960,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5613385119866710016,"note":"Value kept but may cause issues"} 
[2026-11-04 16:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793788373000,"timestamp_ms":1793788373000,"timestamp_seconds":1793788373,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61e6808"} 
[2026-11-04 16:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 16:03:43] 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-11-04 16:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209821952001,"66":27984,"237":206,"86":48896,"24":62,"16":39006399061032960,"45":5613385119866710016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-11-04 16:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209821952001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:03:43] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-04 16:03:43] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39006399061032960,"km_value":39006399061032.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5613385119866710016,"description":"Unknown IO ID 45"} 
[2026-11-04 16:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209821952001,"power":27984,"unknown_237":206,"unknown_86":48896,"ignition":62,"odometer":null,"unknown_45":5613385119866710016}} 
[2026-11-04 16:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":230814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:03:43] local.INFO: GPS data processed {"connection_id":230814,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:03:43] local.INFO: Acknowledgment sent {"connection_id":230814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:03:57] local.INFO: TCP Data received {"connection_id":229499,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:57] local.INFO: Processing buffer {"connection_id":229499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:57] local.INFO: IMEI packet received {"connection_id":229499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":229499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:03:58] local.INFO: TCP Data received {"connection_id":229499,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:58] local.INFO: Processing buffer {"connection_id":229499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:58] local.INFO: IMEI packet received {"connection_id":229499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":229499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:03:59] local.INFO: TCP Data received {"connection_id":229499,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:59] local.INFO: Processing buffer {"connection_id":229499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:03:59] local.INFO: IMEI packet received {"connection_id":229499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":229499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:04:00] local.INFO: TCP Data received {"connection_id":229499,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229499,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:04:00] local.INFO: Processing buffer {"connection_id":229499,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:04:00] local.INFO: IMEI packet received {"connection_id":229499,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":229499,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:04:07] local.INFO: TCP Data received {"connection_id":229008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:07] local.INFO: Processing buffer {"connection_id":229008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:07] local.INFO: IMEI packet received {"connection_id":229008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":229008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:04:09] local.INFO: TCP Data received {"connection_id":229008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:09] local.INFO: Processing buffer {"connection_id":229008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:09] local.INFO: IMEI packet received {"connection_id":229008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":229008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:04:11] local.INFO: TCP Data received {"connection_id":229008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:11] local.INFO: Processing buffer {"connection_id":229008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:04:11] local.INFO: IMEI packet received {"connection_id":229008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":229008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:04:17] local.INFO: TCP Data received {"connection_id":229008,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61e7f78012d4deec00688d508005500ac31..."} 
[2026-11-04 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61e7f78012d4deec00688d508005500ac31..."} 
[2026-11-04 16:04:17] local.INFO: Processing buffer {"connection_id":229008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61e7f78012d4deec00688d508005500ac31..."} 
[2026-11-04 16:04:17] local.INFO: Packet analysis {"connection_id":229008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:04:17] local.INFO: Extracted packet for processing {"connection_id":229008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":760082112,"raw_latitude":109630728,"longitude_deg":76.0082112,"latitude_deg":10.9630728,"altitude":85,"angle":172,"satellites":49,"speed":63,"hex_longitude":"2d4deec0","hex_latitude":"0688d508","is_valid_coordinates":true} 
[2026-11-04 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209823488001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39006858622533632,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614370282282795008,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793788379000,"timestamp_ms":1793788379000,"timestamp_seconds":1793788379,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61e7f78"} 
[2026-11-04 16:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 16:04: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-11-04 16:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209823488001,"66":27919,"237":206,"86":48896,"24":63,"16":39006858622533632,"45":5614370282282795008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209823488001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39006858622533632,"km_value":39006858622533.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614370282282795008,"description":"Unknown IO ID 45"} 
[2026-11-04 16:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209823488001,"power":27919,"unknown_237":206,"unknown_86":48896,"ignition":63,"odometer":null,"unknown_45":5614370282282795008}} 
[2026-11-04 16:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":229008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:04:17] local.INFO: GPS data processed {"connection_id":229008,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:04:17] local.INFO: Acknowledgment sent {"connection_id":229008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:04:17] local.INFO: TCP Data received {"connection_id":229008,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61e96e8012d4df3800688b028005300ad31..."} 
[2026-11-04 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61e96e8012d4df3800688b028005300ad31..."} 
[2026-11-04 16:04:17] local.INFO: Processing buffer {"connection_id":229008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61e96e8012d4df3800688b028005300ad31..."} 
[2026-11-04 16:04:17] local.INFO: Packet analysis {"connection_id":229008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:04:17] local.INFO: Extracted packet for processing {"connection_id":229008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":760083328,"raw_latitude":109621288,"longitude_deg":76.0083328,"latitude_deg":10.9621288,"altitude":83,"angle":173,"satellites":49,"speed":63,"hex_longitude":"2d4df380","hex_latitude":"0688b028","is_valid_coordinates":true} 
[2026-11-04 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209825024001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39007318184034304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615636919675586560,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793788385000,"timestamp_ms":1793788385000,"timestamp_seconds":1793788385,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61e96e8"} 
[2026-11-04 16:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:04: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-11-04 16:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209825024001,"66":27919,"237":206,"86":48896,"24":63,"16":39007318184034304,"45":5615636919675586560},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-11-04 16:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209825024001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39007318184034304,"km_value":39007318184034.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615636919675586560,"description":"Unknown IO ID 45"} 
[2026-11-04 16:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209825024001,"power":27919,"unknown_237":206,"unknown_86":48896,"ignition":63,"odometer":null,"unknown_45":5615636919675586560}} 
[2026-11-04 16:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":229008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:04:17] local.INFO: GPS data processed {"connection_id":229008,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:04:17] local.INFO: Acknowledgment sent {"connection_id":229008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:04:49] local.INFO: TCP Data received {"connection_id":229008,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61eae58012d4df68006888be0005100b130..."} 
[2026-11-04 16:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61eae58012d4df68006888be0005100b130..."} 
[2026-11-04 16:04:49] local.INFO: Processing buffer {"connection_id":229008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61eae58012d4df68006888be0005100b130..."} 
[2026-11-04 16:04:49] local.INFO: Packet analysis {"connection_id":229008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:04:49] local.INFO: Extracted packet for processing {"connection_id":229008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:04:49] local.INFO: GPS Element Parsed {"raw_longitude":760084096,"raw_latitude":109612000,"longitude_deg":76.0084096,"latitude_deg":10.9612,"altitude":81,"angle":177,"satellites":48,"speed":60,"hex_longitude":"2d4df680","hex_latitude":"06888be0","is_valid_coordinates":true} 
[2026-11-04 16:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209826560001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39007769155600384,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616973925812545536,"note":"Value kept but may cause issues"} 
[2026-11-04 16:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793788391000,"timestamp_ms":1793788391000,"timestamp_seconds":1793788391,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61eae58"} 
[2026-11-04 16:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209826560001,"66":27930,"237":206,"86":48896,"24":60,"16":39007769155600384,"45":5616973925812545536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-11-04 16:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209826560001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:04:49] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-04 16:04:49] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39007769155600384,"km_value":39007769155600.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616973925812545536,"description":"Unknown IO ID 45"} 
[2026-11-04 16:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209826560001,"power":27930,"unknown_237":206,"unknown_86":48896,"ignition":60,"odometer":null,"unknown_45":5616973925812545536}} 
[2026-11-04 16:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":229008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:04:49] local.INFO: GPS data processed {"connection_id":229008,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:04:49] local.INFO: Acknowledgment sent {"connection_id":229008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:05:06] local.INFO: TCP Data received {"connection_id":230816,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:06] local.INFO: Processing buffer {"connection_id":230816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:06] local.INFO: IMEI packet received {"connection_id":230816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":230816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:05:08] local.INFO: TCP Data received {"connection_id":230816,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:08] local.INFO: Processing buffer {"connection_id":230816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:08] local.INFO: IMEI packet received {"connection_id":230816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":230816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:05:11] local.INFO: TCP Data received {"connection_id":230816,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:11] local.INFO: Processing buffer {"connection_id":230816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:05:11] local.INFO: IMEI packet received {"connection_id":230816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":230816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:05:12] local.INFO: TCP Data received {"connection_id":230816,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a61ec5c8012d4df60006886930005000b830..."} 
[2026-11-04 16:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a61ec5c8012d4df60006886930005000b830..."} 
[2026-11-04 16:05:12] local.INFO: Processing buffer {"connection_id":230816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a61ec5c8012d4df60006886930005000b830..."} 
[2026-11-04 16:05:12] local.INFO: Packet analysis {"connection_id":230816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:05:12] local.INFO: Extracted packet for processing {"connection_id":230816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a61e"} 
[2026-11-04 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":760083968,"raw_latitude":109603120,"longitude_deg":76.0083968,"latitude_deg":10.960312,"altitude":80,"angle":184,"satellites":48,"speed":58,"hex_longitude":"2d4df600","hex_latitude":"06886930","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209828096001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39008202947297280,"note":"Value kept but may cause issues"} 
[2026-11-04 16:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617818350740299776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,86,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793788397000,"timestamp_ms":1793788397000,"timestamp_seconds":1793788397,"priority":1,"record_length":96,"hex_timestamp":"000001a1a61ec5c8"} 
[2026-11-04 16:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:05: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-11-04 16: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-11-04 16:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209828096001,"66":27974,"237":206,"86":48896,"24":58,"16":39008202947297280,"45":5617818350740299776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,86,24,16,45]} 
[2026-11-04 16:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209828096001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:05:12] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-11-04 16:05:12] local.INFO: Unknown IO ID detected {"io_id":86,"value":48896,"description":"Unknown IO ID 86"} 
[2026-11-04 16:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39008202947297280,"km_value":39008202947297.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617818350740299776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209828096001,"power":27974,"unknown_237":206,"unknown_86":48896,"ignition":58,"odometer":null,"unknown_45":5617818350740299776}} 
[2026-11-04 16:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":230816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:05:13] local.INFO: GPS data processed {"connection_id":230816,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:05:13] local.INFO: Acknowledgment sent {"connection_id":230816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:06:28] local.INFO: TCP Data received {"connection_id":229010,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:06:28] local.INFO: Processing buffer {"connection_id":229010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:06:28] local.INFO: IMEI packet received {"connection_id":229010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":229010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:07:05] local.INFO: TCP Data received {"connection_id":232655,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:07:05] local.INFO: Processing buffer {"connection_id":232655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:07:05] local.INFO: IMEI packet received {"connection_id":232655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":232655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:09:02] local.INFO: TCP Data received {"connection_id":229500,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:02] local.INFO: Processing buffer {"connection_id":229500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:02] local.INFO: IMEI packet received {"connection_id":229500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":229500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:09:03] local.INFO: TCP Data received {"connection_id":229500,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:03] local.INFO: Processing buffer {"connection_id":229500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:03] local.INFO: IMEI packet received {"connection_id":229500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":229500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:09:04] local.INFO: TCP Data received {"connection_id":229500,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:04] local.INFO: Processing buffer {"connection_id":229500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:04] local.INFO: IMEI packet received {"connection_id":229500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":229500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:09:05] local.INFO: TCP Data received {"connection_id":229500,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229500,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:05] local.INFO: Processing buffer {"connection_id":229500,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:05] local.INFO: IMEI packet received {"connection_id":229500,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":229500,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:09:05] local.INFO: TCP Data received {"connection_id":229500,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6237118012d0c4e00070588d8001c005720..."} 
[2026-11-04 16:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6237118012d0c4e00070588d8001c005720..."} 
[2026-11-04 16:09:05] local.INFO: Processing buffer {"connection_id":229500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6237118012d0c4e00070588d8001c005720..."} 
[2026-11-04 16:09:05] local.INFO: Packet analysis {"connection_id":229500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a623"} 
[2026-11-04 16:09:05] local.INFO: Extracted packet for processing {"connection_id":229500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a623"} 
[2026-11-04 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117803224,"longitude_deg":75.578112,"latitude_deg":11.7803224,"altitude":28,"angle":87,"satellites":32,"speed":5,"hex_longitude":"2d0c4e00","hex_latitude":"070588d8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209906176001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39280138801643520,"note":"Value kept but may cause issues"} 
[2026-11-04 16:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884957356935802880,"note":"Value kept but may cause issues"} 
[2026-11-04 16:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793788703000,"timestamp_ms":1793788703000,"timestamp_seconds":1793788703,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6237118"} 
[2026-11-04 16:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 16:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209906176001,"66":14450,"164":206,"94":10240,"24":5,"16":39280138801643520,"45":884957356935802880},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209906176001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:09:05] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:09:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39280138801643520,"km_value":39280138801643.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":884957356935802880,"description":"Unknown IO ID 45"} 
[2026-11-04 16:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209906176001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":884957356935802880}} 
[2026-11-04 16:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":229500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:09:06] local.INFO: GPS data processed {"connection_id":229500,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:09:06] local.INFO: Acknowledgment sent {"connection_id":229500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:09:37] local.INFO: TCP Data received {"connection_id":229500,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6242c98012d0c70800705a748001f003820..."} 
[2026-11-04 16:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6242c98012d0c70800705a748001f003820..."} 
[2026-11-04 16:09:37] local.INFO: Processing buffer {"connection_id":229500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6242c98012d0c70800705a748001f003820..."} 
[2026-11-04 16:09:37] local.INFO: Packet analysis {"connection_id":229500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:09:37] local.INFO: Extracted packet for processing {"connection_id":229500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":755789952,"raw_latitude":117811016,"longitude_deg":75.5789952,"latitude_deg":11.7811016,"altitude":31,"angle":56,"satellites":32,"speed":24,"hex_longitude":"2d0c7080","hex_latitude":"0705a748","is_valid_coordinates":true} 
[2026-11-04 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209920000001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39280860356149248,"note":"Value kept but may cause issues"} 
[2026-11-04 16:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895864512285372416,"note":"Value kept but may cause issues"} 
[2026-11-04 16:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793788751000,"timestamp_ms":1793788751000,"timestamp_seconds":1793788751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6242c98"} 
[2026-11-04 16:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:09:37] 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-11-04 16:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229500,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209920000001,"66":14428,"164":206,"94":10240,"24":24,"16":39280860356149248,"45":895864512285372416},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209920000001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:09:37] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:09:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39280860356149248,"km_value":39280860356149.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":895864512285372416,"description":"Unknown IO ID 45"} 
[2026-11-04 16:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209920000001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":895864512285372416}} 
[2026-11-04 16:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":229500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:09:37] local.INFO: GPS data processed {"connection_id":229500,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:09:37] local.INFO: Acknowledgment sent {"connection_id":229500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:09:56] local.INFO: TCP Data received {"connection_id":229012,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:56] local.INFO: Processing buffer {"connection_id":229012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:56] local.INFO: IMEI packet received {"connection_id":229012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":229012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:09:59] local.INFO: TCP Data received {"connection_id":229012,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:59] local.INFO: Processing buffer {"connection_id":229012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:09:59] local.INFO: IMEI packet received {"connection_id":229012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":229012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:10:00] local.INFO: TCP Data received {"connection_id":229012,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:00] local.INFO: Processing buffer {"connection_id":229012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:00] local.INFO: IMEI packet received {"connection_id":229012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":229012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:10:02] local.INFO: TCP Data received {"connection_id":229012,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229012,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:02] local.INFO: Processing buffer {"connection_id":229012,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:02] local.INFO: IMEI packet received {"connection_id":229012,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":229012,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:10:03] local.INFO: TCP Data received {"connection_id":229012,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6243468012d0c75c00705a978001e004920..."} 
[2026-11-04 16:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6243468012d0c75c00705a978001e004920..."} 
[2026-11-04 16:10:03] local.INFO: Processing buffer {"connection_id":229012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6243468012d0c75c00705a978001e004920..."} 
[2026-11-04 16:10:03] local.INFO: Packet analysis {"connection_id":229012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:10:03] local.INFO: Extracted packet for processing {"connection_id":229012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:10:03] local.INFO: GPS Element Parsed {"raw_longitude":755791296,"raw_latitude":117811576,"longitude_deg":75.5791296,"latitude_deg":11.7811576,"altitude":30,"angle":73,"satellites":32,"speed":32,"hex_longitude":"2d0c75c0","hex_latitude":"0705a978","is_valid_coordinates":true} 
[2026-11-04 16:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209920256001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39280933370593280,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896357093494704128,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1793788753000,"timestamp_ms":1793788753000,"timestamp_seconds":1793788753,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6243468"} 
[2026-11-04 16:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:10:03] 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-11-04 16:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":229012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":229012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":229012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209920256001,"66":14450,"164":206,"94":10240,"24":32,"16":39280933370593280,"45":896357093494704128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209920256001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:10:03] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:10:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39280933370593280,"km_value":39280933370593.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":896357093494704128,"description":"Unknown IO ID 45"} 
[2026-11-04 16:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209920256001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":896357093494704128}} 
[2026-11-04 16:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":229012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:10:03] local.INFO: GPS data processed {"connection_id":229012,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:10:03] local.INFO: Acknowledgment sent {"connection_id":229012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:10:34] local.INFO: TCP Data received {"connection_id":229012,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6245b78012d0c9c400705afa0001d004f20..."} 
[2026-11-04 16:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6245b78012d0c9c400705afa0001d004f20..."} 
[2026-11-04 16:10:34] local.INFO: Processing buffer {"connection_id":229012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6245b78012d0c9c400705afa0001d004f20..."} 
[2026-11-04 16:10:34] local.INFO: Packet analysis {"connection_id":229012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:10:34] local.INFO: Extracted packet for processing {"connection_id":229012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755801152,"raw_latitude":117813152,"longitude_deg":75.5801152,"latitude_deg":11.7813152,"altitude":29,"angle":79,"satellites":32,"speed":37,"hex_longitude":"2d0c9c40","hex_latitude":"0705afa0","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209920768001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39281405816995840,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897834837122578432,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793788763000,"timestamp_ms":1793788763000,"timestamp_seconds":1793788763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6245b78"} 
[2026-11-04 16:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 16:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229012,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209920768001,"66":14461,"164":206,"94":10240,"24":37,"16":39281405816995840,"45":897834837122578432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209920768001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:10:34] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:10:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39281405816995840,"km_value":39281405816995.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":897834837122578432,"description":"Unknown IO ID 45"} 
[2026-11-04 16:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209920768001,"power":14461,"unknown_164":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":897834837122578432}} 
[2026-11-04 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":229012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59723,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:10:35] local.INFO: GPS data processed {"connection_id":229012,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:10:35] local.INFO: Acknowledgment sent {"connection_id":229012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:10:55] local.INFO: TCP Data received {"connection_id":232657,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:55] local.INFO: Processing buffer {"connection_id":232657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:55] local.INFO: IMEI packet received {"connection_id":232657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":232657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:10:58] local.INFO: TCP Data received {"connection_id":232657,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232657,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:58] local.INFO: Processing buffer {"connection_id":232657,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:10:58] local.INFO: IMEI packet received {"connection_id":232657,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":232657,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:10:59] local.INFO: TCP Data received {"connection_id":232657,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6258c28012d0c99000705efe0001801421f..."} 
[2026-11-04 16:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6258c28012d0c99000705efe0001801421f..."} 
[2026-11-04 16:10:59] local.INFO: Processing buffer {"connection_id":232657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6258c28012d0c99000705efe0001801421f..."} 
[2026-11-04 16:10:59] local.INFO: Packet analysis {"connection_id":232657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:10:59] local.INFO: Extracted packet for processing {"connection_id":232657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:10:59] local.INFO: GPS Element Parsed {"raw_longitude":755800320,"raw_latitude":117829600,"longitude_deg":75.580032,"latitude_deg":11.78296,"altitude":24,"angle":322,"satellites":31,"speed":5,"hex_longitude":"2d0c9900","hex_latitude":"0705efe0","is_valid_coordinates":true} 
[2026-11-04 16:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209938176001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39282681422282752,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910219736101679104,"note":"Value kept but may cause issues"} 
[2026-11-04 16:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1793788841000,"timestamp_ms":1793788841000,"timestamp_seconds":1793788841,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6258c28"} 
[2026-11-04 16:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 16:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":232657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":232657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":232657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209938176001,"66":14537,"220":206,"94":10240,"24":5,"16":39282681422282752,"45":910219736101679104},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209938176001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:10:59] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:10:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39282681422282752,"km_value":39282681422282.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":910219736101679104,"description":"Unknown IO ID 45"} 
[2026-11-04 16:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209938176001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":910219736101679104}} 
[2026-11-04 16:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":232657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:10:59] local.INFO: GPS data processed {"connection_id":232657,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:10:59] local.INFO: Acknowledgment sent {"connection_id":232657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:11:10] local.INFO: TCP Data received {"connection_id":229013,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:10] local.INFO: Processing buffer {"connection_id":229013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:10] local.INFO: IMEI packet received {"connection_id":229013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":229013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:11:11] local.INFO: TCP Data received {"connection_id":229013,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:11] local.INFO: Processing buffer {"connection_id":229013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:11] local.INFO: IMEI packet received {"connection_id":229013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:11:17] local.INFO: TCP Data received {"connection_id":229013,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:17] local.INFO: Processing buffer {"connection_id":229013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:11:17] local.INFO: IMEI packet received {"connection_id":229013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":229013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:11:19] local.INFO: TCP Data received {"connection_id":229013,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a624d490012d50aac0068389180093006532..."} 
[2026-11-04 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a624d490012d50aac0068389180093006532..."} 
[2026-11-04 16:11:19] local.INFO: Processing buffer {"connection_id":229013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a624d490012d50aac0068389180093006532..."} 
[2026-11-04 16:11:19] local.INFO: Packet analysis {"connection_id":229013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:11:19] local.INFO: Extracted packet for processing {"connection_id":229013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:11:19] local.INFO: GPS Element Parsed {"raw_longitude":760261312,"raw_latitude":109283608,"longitude_deg":76.0261312,"latitude_deg":10.9283608,"altitude":147,"angle":101,"satellites":50,"speed":54,"hex_longitude":"2d50aac0","hex_latitude":"06838918","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209929472001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39033302736175104,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5802395566634633216,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:19] 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-11-04 16:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793788794000,"timestamp_ms":1793788794000,"timestamp_seconds":1793788794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a624d490"} 
[2026-11-04 16:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:11: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-11-04 16: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-11-04 16:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209929472001,"66":27908,"251":206,"19":47872,"24":54,"16":39033302736175104,"45":5802395566634633216},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-11-04 16:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209929472001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:11:19] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-04 16:11:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39033302736175104,"km_value":39033302736175.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5802395566634633216,"description":"Unknown IO ID 45"} 
[2026-11-04 16:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209929472001,"power":27908,"unknown_251":206,"unknown_19":47872,"ignition":54,"odometer":null,"unknown_45":5802395566634633216}} 
[2026-11-04 16:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":229013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:11:19] local.INFO: GPS data processed {"connection_id":229013,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:11:19] local.INFO: Acknowledgment sent {"connection_id":229013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:11:23] local.INFO: TCP Data received {"connection_id":229013,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a624efe8012d50cd80068380200092006d34..."} 
[2026-11-04 16:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a624efe8012d50cd80068380200092006d34..."} 
[2026-11-04 16:11:23] local.INFO: Processing buffer {"connection_id":229013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a624efe8012d50cd80068380200092006d34..."} 
[2026-11-04 16:11:23] local.INFO: Packet analysis {"connection_id":229013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:11:23] local.INFO: Extracted packet for processing {"connection_id":229013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a624"} 
[2026-11-04 16:11:23] local.INFO: GPS Element Parsed {"raw_longitude":760270208,"raw_latitude":109281312,"longitude_deg":76.0270208,"latitude_deg":10.9281312,"altitude":146,"angle":109,"satellites":52,"speed":48,"hex_longitude":"2d50cd80","hex_latitude":"06838020","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209931264001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39033745117806592,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5812669403284183040,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:23] 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-11-04 16:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793788801000,"timestamp_ms":1793788801000,"timestamp_seconds":1793788801,"priority":1,"record_length":96,"hex_timestamp":"000001a1a624efe8"} 
[2026-11-04 16:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209931264001,"66":27984,"251":206,"19":47872,"24":48,"16":39033745117806592,"45":5812669403284183040},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-11-04 16:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209931264001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:11:23] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-04 16:11:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39033745117806592,"km_value":39033745117806.59,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":5812669403284183040,"description":"Unknown IO ID 45"} 
[2026-11-04 16:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209931264001,"power":27984,"unknown_251":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5812669403284183040}} 
[2026-11-04 16:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":229013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:11:23] local.INFO: GPS data processed {"connection_id":229013,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:11:23] local.INFO: Acknowledgment sent {"connection_id":229013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:11:30] local.INFO: TCP Data received {"connection_id":232657,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6259bc8012d0c97800705f2280018015120..."} 
[2026-11-04 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6259bc8012d0c97800705f2280018015120..."} 
[2026-11-04 16:11:30] local.INFO: Processing buffer {"connection_id":232657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6259bc8012d0c97800705f2280018015120..."} 
[2026-11-04 16:11:30] local.INFO: Packet analysis {"connection_id":232657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:11:30] local.INFO: Extracted packet for processing {"connection_id":232657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":755799936,"raw_latitude":117830184,"longitude_deg":75.5799936,"latitude_deg":11.7830184,"altitude":24,"angle":337,"satellites":32,"speed":8,"hex_longitude":"2d0c9780","hex_latitude":"0705f228","is_valid_coordinates":true} 
[2026-11-04 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209943296001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39282715782021120,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907756830056243200,"note":"Value kept but may cause issues"} 
[2026-11-04 16:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1793788845000,"timestamp_ms":1793788845000,"timestamp_seconds":1793788845,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6259bc8"} 
[2026-11-04 16:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 16:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":232657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":232657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":232657,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209943296001,"66":14537,"220":206,"94":10240,"24":8,"16":39282715782021120,"45":907756830056243200},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209943296001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:11:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:11:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39282715782021120,"km_value":39282715782021.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":907756830056243200,"description":"Unknown IO ID 45"} 
[2026-11-04 16:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209943296001,"power":14537,"unknown_220":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":907756830056243200}} 
[2026-11-04 16:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":232657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:11:30] local.INFO: GPS data processed {"connection_id":232657,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:11:30] local.INFO: Acknowledgment sent {"connection_id":232657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:11:55] local.INFO: TCP Data received {"connection_id":229502,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:11:55] local.INFO: Processing buffer {"connection_id":229502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:11:55] local.INFO: IMEI packet received {"connection_id":229502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":229502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:12:00] local.INFO: TCP Data received {"connection_id":229502,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229502,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:12:00] local.INFO: Processing buffer {"connection_id":229502,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:12:00] local.INFO: IMEI packet received {"connection_id":229502,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":229502,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:12:00] local.INFO: TCP Data received {"connection_id":229502,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a625c6c0012d0c93000705fa980019013f20..."} 
[2026-11-04 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a625c6c0012d0c93000705fa980019013f20..."} 
[2026-11-04 16:12:00] local.INFO: Processing buffer {"connection_id":229502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a625c6c0012d0c93000705fa980019013f20..."} 
[2026-11-04 16:12:00] local.INFO: Packet analysis {"connection_id":229502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:12:00] local.INFO: Extracted packet for processing {"connection_id":229502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":755798784,"raw_latitude":117832344,"longitude_deg":75.5798784,"latitude_deg":11.7832344,"altitude":25,"angle":319,"satellites":32,"speed":6,"hex_longitude":"2d0c9300","hex_latitude":"0705fa98","is_valid_coordinates":true} 
[2026-11-04 16:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209944320001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39282836041105408,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907334617591326720,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793788856000,"timestamp_ms":1793788856000,"timestamp_seconds":1793788856,"priority":1,"record_length":96,"hex_timestamp":"000001a1a625c6c0"} 
[2026-11-04 16:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 16:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209944320001,"66":14580,"220":206,"94":10240,"24":6,"16":39282836041105408,"45":907334617591326720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209944320001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:12:00] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:12:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39282836041105408,"km_value":39282836041105.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":907334617591326720,"description":"Unknown IO ID 45"} 
[2026-11-04 16:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209944320001,"power":14580,"unknown_220":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":907334617591326720}} 
[2026-11-04 16:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":229502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:12:01] local.INFO: GPS data processed {"connection_id":229502,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:12:01] local.INFO: Acknowledgment sent {"connection_id":229502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:12:08] local.INFO: TCP Data received {"connection_id":230819,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:12:08] local.INFO: Processing buffer {"connection_id":230819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:12:08] local.INFO: IMEI packet received {"connection_id":230819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":230819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:12:09] local.INFO: TCP Data received {"connection_id":230819,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:12:09] local.INFO: Processing buffer {"connection_id":230819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:12:09] local.INFO: IMEI packet received {"connection_id":230819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":230819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:12:11] local.INFO: TCP Data received {"connection_id":230819,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6250f28012d50f080068374780092006835..."} 
[2026-11-04 16:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6250f28012d50f080068374780092006835..."} 
[2026-11-04 16:12:11] local.INFO: Processing buffer {"connection_id":230819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6250f28012d50f080068374780092006835..."} 
[2026-11-04 16:12:11] local.INFO: Packet analysis {"connection_id":230819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:12:11] local.INFO: Extracted packet for processing {"connection_id":230819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":760279168,"raw_latitude":109278328,"longitude_deg":76.0279168,"latitude_deg":10.9278328,"altitude":146,"angle":104,"satellites":53,"speed":33,"hex_longitude":"2d50f080","hex_latitude":"06837478","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209933056001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39034191794405376,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5822450658724290560,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:11] 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-11-04 16:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793788809000,"timestamp_ms":1793788809000,"timestamp_seconds":1793788809,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6250f28"} 
[2026-11-04 16:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 16:12: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-11-04 16: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-11-04 16:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209933056001,"66":27908,"251":206,"19":47872,"24":33,"16":39034191794405376,"45":5822450658724290560},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-11-04 16:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209933056001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:12:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-04 16:12:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39034191794405376,"km_value":39034191794405.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5822450658724290560,"description":"Unknown IO ID 45"} 
[2026-11-04 16:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209933056001,"power":27908,"unknown_251":206,"unknown_19":47872,"ignition":33,"odometer":null,"unknown_45":5822450658724290560}} 
[2026-11-04 16:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":230819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:12:11] local.INFO: GPS data processed {"connection_id":230819,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:12:11] local.INFO: Acknowledgment sent {"connection_id":230819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:12:13] local.INFO: TCP Data received {"connection_id":230819,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62522b0012d51008006836fe80092007434..."} 
[2026-11-04 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62522b0012d51008006836fe80092007434..."} 
[2026-11-04 16:12:13] local.INFO: Processing buffer {"connection_id":230819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62522b0012d51008006836fe80092007434..."} 
[2026-11-04 16:12:13] local.INFO: Packet analysis {"connection_id":230819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:12:13] local.INFO: Extracted packet for processing {"connection_id":230819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a625"} 
[2026-11-04 16:12:13] local.INFO: GPS Element Parsed {"raw_longitude":760283264,"raw_latitude":109277160,"longitude_deg":76.0283264,"latitude_deg":10.927716,"altitude":146,"angle":116,"satellites":52,"speed":34,"hex_longitude":"2d510080","hex_latitude":"06836fe8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209935104001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39034397952835584,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832302282908399616,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:13] 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-11-04 16:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793788814000,"timestamp_ms":1793788814000,"timestamp_seconds":1793788814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62522b0"} 
[2026-11-04 16:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:12:13] 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-11-04 16: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-11-04 16:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209935104001,"66":27865,"251":206,"19":47872,"24":34,"16":39034397952835584,"45":5832302282908399616},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-11-04 16:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209935104001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:12:13] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-04 16:12:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39034397952835584,"km_value":39034397952835.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832302282908399616,"description":"Unknown IO ID 45"} 
[2026-11-04 16:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209935104001,"power":27865,"unknown_251":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":5832302282908399616}} 
[2026-11-04 16:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":230819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:12:13] local.INFO: GPS data processed {"connection_id":230819,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:12:13] local.INFO: Acknowledgment sent {"connection_id":230819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:12:28] local.INFO: TCP Data received {"connection_id":229015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:12:28] local.INFO: Processing buffer {"connection_id":229015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:12:28] local.INFO: IMEI packet received {"connection_id":229015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":229015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:12:32] local.INFO: TCP Data received {"connection_id":229502,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6260158012d0c8980070603680018013020..."} 
[2026-11-04 16:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6260158012d0c8980070603680018013020..."} 
[2026-11-04 16:12:32] local.INFO: Processing buffer {"connection_id":229502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6260158012d0c8980070603680018013020..."} 
[2026-11-04 16:12:32] local.INFO: Packet analysis {"connection_id":229502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a626"} 
[2026-11-04 16:12:32] local.INFO: Extracted packet for processing {"connection_id":229502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a626"} 
[2026-11-04 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":755796352,"raw_latitude":117834600,"longitude_deg":75.5796352,"latitude_deg":11.78346,"altitude":24,"angle":304,"satellites":32,"speed":8,"hex_longitude":"2d0c8980","hex_latitude":"07060368","is_valid_coordinates":true} 
[2026-11-04 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209947136001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39282994954895360,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906067980196681728,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793788871000,"timestamp_ms":1793788871000,"timestamp_seconds":1793788871,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6260158"} 
[2026-11-04 16:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 16:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229502,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209947136001,"66":14646,"220":206,"94":10240,"24":8,"16":39282994954895360,"45":906067980196681728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209947136001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:12:32] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:12:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39282994954895360,"km_value":39282994954895.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":906067980196681728,"description":"Unknown IO ID 45"} 
[2026-11-04 16:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209947136001,"power":14646,"unknown_220":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":906067980196681728}} 
[2026-11-04 16:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":229502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:12:32] local.INFO: GPS data processed {"connection_id":229502,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:12:32] local.INFO: Acknowledgment sent {"connection_id":229502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:12:45] local.INFO: TCP Data received {"connection_id":230819,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62695c8012d524c40068262280080007c34..."} 
[2026-11-04 16:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62695c8012d524c40068262280080007c34..."} 
[2026-11-04 16:12:45] local.INFO: Processing buffer {"connection_id":230819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62695c8012d524c40068262280080007c34..."} 
[2026-11-04 16:12:45] local.INFO: Packet analysis {"connection_id":230819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a626"} 
[2026-11-04 16:12:45] local.INFO: Extracted packet for processing {"connection_id":230819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a626"} 
[2026-11-04 16:12:45] local.INFO: GPS Element Parsed {"raw_longitude":760368192,"raw_latitude":109208104,"longitude_deg":76.0368192,"latitude_deg":10.9208104,"altitude":128,"angle":124,"satellites":52,"speed":58,"hex_longitude":"2d524c40","hex_latitude":"06826228","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209958912001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39039689352544256,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5920615056834840576,"note":"Value kept but may cause issues"} 
[2026-11-04 16:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793788909000,"timestamp_ms":1793788909000,"timestamp_seconds":1793788909,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62695c8"} 
[2026-11-04 16:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:12: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-11-04 16: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-11-04 16:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209958912001,"66":27843,"201":206,"19":47872,"24":58,"16":39039689352544256,"45":5920615056834840576},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-11-04 16:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209958912001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:12:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 16:12:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39039689352544256,"km_value":39039689352544.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5920615056834840576,"description":"Unknown IO ID 45"} 
[2026-11-04 16:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209958912001,"power":27843,"unknown_201":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5920615056834840576}} 
[2026-11-04 16:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":230819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:12:45] local.INFO: GPS data processed {"connection_id":230819,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:12:45] local.INFO: Acknowledgment sent {"connection_id":230819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:13:11] local.INFO: TCP Data received {"connection_id":230820,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:13:11] local.INFO: Processing buffer {"connection_id":230820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:13:11] local.INFO: IMEI packet received {"connection_id":230820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":230820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:13:29] local.INFO: TCP Data received {"connection_id":232660,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232660,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:13:29] local.INFO: Processing buffer {"connection_id":232660,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:13:29] local.INFO: IMEI packet received {"connection_id":232660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":232660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:13:30] local.INFO: TCP Data received {"connection_id":232660,"ip":"42.109.136.9","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232660,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 16:13:30] local.INFO: Processing buffer {"connection_id":232660,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 16:13:30] local.INFO: IMEI packet received {"connection_id":232660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":232660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:13:30] local.INFO: TCP Data received {"connection_id":232660,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a627b2f0012d0c38c0070645d80015000b20..."} 
[2026-11-04 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a627b2f0012d0c38c0070645d80015000b20..."} 
[2026-11-04 16:13:30] local.INFO: Processing buffer {"connection_id":232660,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 16:13:30] local.INFO: IMEI packet received {"connection_id":232660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":232660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:13:31] local.INFO: TCP Data received {"connection_id":232660,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a627b6d8012d0c3900070646700015001d20..."} 
[2026-11-04 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a627b6d8012d0c3900070646700015001d20..."} 
[2026-11-04 16:13:31] local.INFO: Processing buffer {"connection_id":232660,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a1a6..."} 
[2026-11-04 16:13:31] local.INFO: IMEI packet received {"connection_id":232660,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":232660,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:13:31] local.INFO: TCP Data received {"connection_id":232660,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:31] local.INFO: Processing buffer {"connection_id":232660,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a1a627b2f0012d0c38c0070645d80015000b20..."} 
[2026-11-04 16:13:31] local.INFO: Packet analysis {"connection_id":232660,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a1a627"} 
[2026-11-04 16:13:31] local.INFO: Extracted packet for processing {"connection_id":232660,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a627"} 
[2026-11-04 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":117851608,"longitude_deg":75.577568,"latitude_deg":11.7851608,"altitude":21,"angle":11,"satellites":32,"speed":7,"hex_longitude":"2d0c38c0","hex_latitude":"070645d8","is_valid_coordinates":true} 
[2026-11-04 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209979136001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284326394757120,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863553431552,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793788982000,"timestamp_ms":1793788982000,"timestamp_seconds":1793788982,"priority":1,"record_length":96,"hex_timestamp":"000001a1a627b2f0"} 
[2026-11-04 16:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:13:31] 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-11-04 16:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209979136001,"66":14407,"164":206,"94":10240,"24":7,"16":39284326394757120,"45":880664863553431552},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209979136001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284326394757120,"km_value":39284326394757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863553431552,"description":"Unknown IO ID 45"} 
[2026-11-04 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209979136001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":880664863553431552}} 
[2026-11-04 16:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":232660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:13:32] local.INFO: GPS data processed {"connection_id":232660,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:13:32] local.INFO: Acknowledgment sent {"connection_id":232660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:13:32] local.INFO: Packet analysis {"connection_id":232660,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a627"} 
[2026-11-04 16:13:32] local.INFO: Extracted packet for processing {"connection_id":232660,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a627"} 
[2026-11-04 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":755775744,"raw_latitude":117851760,"longitude_deg":75.5775744,"latitude_deg":11.785176,"altitude":21,"angle":29,"satellites":32,"speed":6,"hex_longitude":"2d0c3900","hex_latitude":"07064670","is_valid_coordinates":true} 
[2026-11-04 16:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209979392001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284334984691712,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880664863553476608,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793788983000,"timestamp_ms":1793788983000,"timestamp_seconds":1793788983,"priority":1,"record_length":96,"hex_timestamp":"000001a1a627b6d8"} 
[2026-11-04 16:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":232660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209979392001,"66":14559,"164":206,"94":10240,"24":6,"16":39284334984691712,"45":880664863553476608},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209979392001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284334984691712,"km_value":39284334984691.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":880664863553476608,"description":"Unknown IO ID 45"} 
[2026-11-04 16:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209979392001,"power":14559,"unknown_164":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":880664863553476608}} 
[2026-11-04 16:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":232660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:13:32] local.INFO: GPS data processed {"connection_id":232660,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:13:32] local.INFO: Acknowledgment sent {"connection_id":232660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:13:32] local.INFO: Packet analysis {"connection_id":232660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:13:32] local.INFO: Extracted packet for processing {"connection_id":232660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":755775808,"raw_latitude":117851896,"longitude_deg":75.5775808,"latitude_deg":11.7851896,"altitude":21,"angle":29,"satellites":33,"speed":0,"hex_longitude":"2d0c3940","hex_latitude":"070646f8","is_valid_coordinates":true} 
[2026-11-04 16:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209979648001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284343574626304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232297693184,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793789003000,"timestamp_ms":1793789003000,"timestamp_seconds":1793789003,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62804f8"} 
[2026-11-04 16:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 16:13:32] 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-11-04 16:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":232660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209979648001,"66":14374,"164":206,"94":10240,"24":0,"16":39284343574626304,"45":880735232297693184},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209979648001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284343574626304,"km_value":39284343574626.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232297693184,"description":"Unknown IO ID 45"} 
[2026-11-04 16:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209979648001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":880735232297693184}} 
[2026-11-04 16:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":232660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59735,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:13:32] local.INFO: GPS data processed {"connection_id":232660,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:13:32] local.INFO: Acknowledgment sent {"connection_id":232660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:13:32] local.INFO: TCP Data received {"connection_id":232660,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:32] local.INFO: Processing buffer {"connection_id":232660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:32] local.INFO: Packet analysis {"connection_id":232660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:13:32] local.INFO: Extracted packet for processing {"connection_id":232660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":755775808,"raw_latitude":117851896,"longitude_deg":75.5775808,"latitude_deg":11.7851896,"altitude":21,"angle":29,"satellites":33,"speed":0,"hex_longitude":"2d0c3940","hex_latitude":"070646f8","is_valid_coordinates":true} 
[2026-11-04 16:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209979648001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284343574626304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232297693184,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793789003000,"timestamp_ms":1793789003000,"timestamp_seconds":1793789003,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62804f8"} 
[2026-11-04 16:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 16:13:32] 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-11-04 16:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":232660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209979648001,"66":14374,"164":206,"94":10240,"24":0,"16":39284343574626304,"45":880735232297693184},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209979648001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284343574626304,"km_value":39284343574626.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232297693184,"description":"Unknown IO ID 45"} 
[2026-11-04 16:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209979648001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":880735232297693184}} 
[2026-11-04 16:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":232660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:13:32] local.INFO: GPS data processed {"connection_id":232660,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:13:32] local.INFO: Acknowledgment sent {"connection_id":232660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:13:33] local.INFO: TCP Data received {"connection_id":232660,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:33] local.INFO: Processing buffer {"connection_id":232660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62804f8012d0c3940070646f80015001d21..."} 
[2026-11-04 16:13:33] local.INFO: Packet analysis {"connection_id":232660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:13:33] local.INFO: Extracted packet for processing {"connection_id":232660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":755775808,"raw_latitude":117851896,"longitude_deg":75.5775808,"latitude_deg":11.7851896,"altitude":21,"angle":29,"satellites":33,"speed":0,"hex_longitude":"2d0c3940","hex_latitude":"070646f8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209979648001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284343574626304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880735232297693184,"note":"Value kept but may cause issues"} 
[2026-11-04 16:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793789003000,"timestamp_ms":1793789003000,"timestamp_seconds":1793789003,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62804f8"} 
[2026-11-04 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-11-04 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 16:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":232660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":232660,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209979648001,"66":14374,"164":206,"94":10240,"24":0,"16":39284343574626304,"45":880735232297693184},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209979648001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:13:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:13:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284343574626304,"km_value":39284343574626.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":880735232297693184,"description":"Unknown IO ID 45"} 
[2026-11-04 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209979648001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":880735232297693184}} 
[2026-11-04 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":232660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59737,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:13:33] local.INFO: GPS data processed {"connection_id":232660,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:13:33] local.INFO: Acknowledgment sent {"connection_id":232660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:13:55] local.INFO: TCP Data received {"connection_id":229503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229503,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:13:55] local.INFO: Processing buffer {"connection_id":229503,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:13:55] local.INFO: IMEI packet received {"connection_id":229503,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":229503,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:14:00] local.INFO: TCP Data received {"connection_id":229503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229503,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:14:00] local.INFO: Processing buffer {"connection_id":229503,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:14:00] local.INFO: IMEI packet received {"connection_id":229503,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":229503,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:14:01] local.INFO: TCP Data received {"connection_id":229503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6284b48012d0c3b80070645880014007d20..."} 
[2026-11-04 16:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6284b48012d0c3b80070645880014007d20..."} 
[2026-11-04 16:14:01] local.INFO: Processing buffer {"connection_id":229503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6284b48012d0c3b80070645880014007d20..."} 
[2026-11-04 16:14:01] local.INFO: Packet analysis {"connection_id":229503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:14:01] local.INFO: Extracted packet for processing {"connection_id":229503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:14:01] local.INFO: GPS Element Parsed {"raw_longitude":755776384,"raw_latitude":117851528,"longitude_deg":75.5776384,"latitude_deg":11.7851528,"altitude":20,"angle":125,"satellites":32,"speed":6,"hex_longitude":"2d0c3b80","hex_latitude":"07064588","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209984768001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284390819266560,"note":"Value kept but may cause issues"} 
[2026-11-04 16:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880805601041905664,"note":"Value kept but may cause issues"} 
[2026-11-04 16:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793789021000,"timestamp_ms":1793789021000,"timestamp_seconds":1793789021,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6284b48"} 
[2026-11-04 16:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":38,"data_length":795,"current_offset":136} 
[2026-11-04 16:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209984768001,"66":14309,"164":206,"94":10240,"24":6,"16":39284390819266560,"45":880805601041905664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209984768001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:14:01] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:14:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284390819266560,"km_value":39284390819266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":880805601041905664,"description":"Unknown IO ID 45"} 
[2026-11-04 16:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209984768001,"power":14309,"unknown_164":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":880805601041905664}} 
[2026-11-04 16:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":229503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59738,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:14:01] local.INFO: GPS data processed {"connection_id":229503,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:14:01] local.INFO: Acknowledgment sent {"connection_id":229503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:15:07] local.INFO: TCP Data received {"connection_id":229503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6285700012d0c3dc0070644400014006f1f..."} 
[2026-11-04 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6285700012d0c3dc0070644400014006f1f..."} 
[2026-11-04 16:15:07] local.INFO: Processing buffer {"connection_id":229503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6285700012d0c3dc0070644400014006f1f..."} 
[2026-11-04 16:15:07] local.INFO: Packet analysis {"connection_id":229503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:07] local.INFO: Extracted packet for processing {"connection_id":229503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":755776960,"raw_latitude":117851200,"longitude_deg":75.577696,"latitude_deg":11.78512,"altitude":20,"angle":111,"satellites":31,"speed":11,"hex_longitude":"2d0c3dc0","hex_latitude":"07064440","is_valid_coordinates":true} 
[2026-11-04 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209989376001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284425179004928,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881438919739410432,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793789024000,"timestamp_ms":1793789024000,"timestamp_seconds":1793789024,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6285700"} 
[2026-11-04 16:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 16:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229503,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209989376001,"66":14407,"164":206,"94":10240,"24":11,"16":39284425179004928,"45":881438919739410432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209989376001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:15:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:15:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284425179004928,"km_value":39284425179004.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":881438919739410432,"description":"Unknown IO ID 45"} 
[2026-11-04 16:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209989376001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":881438919739410432}} 
[2026-11-04 16:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":229503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:15:08] local.INFO: GPS data processed {"connection_id":229503,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:15:08] local.INFO: Acknowledgment sent {"connection_id":229503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:15:10] local.INFO: TCP Data received {"connection_id":230821,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230821,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:10] local.INFO: Processing buffer {"connection_id":230821,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:10] local.INFO: IMEI packet received {"connection_id":230821,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":230821,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:15:15] local.INFO: TCP Data received {"connection_id":230821,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230821,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:15] local.INFO: Processing buffer {"connection_id":230821,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:15] local.INFO: IMEI packet received {"connection_id":230821,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":230821,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:15:16] local.INFO: TCP Data received {"connection_id":230821,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6285ed0012d0c408007064398001400641f..."} 
[2026-11-04 16:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6285ed0012d0c408007064398001400641f..."} 
[2026-11-04 16:15:16] local.INFO: Processing buffer {"connection_id":230821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6285ed0012d0c408007064398001400641f..."} 
[2026-11-04 16:15:16] local.INFO: Packet analysis {"connection_id":230821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:16] local.INFO: Extracted packet for processing {"connection_id":230821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":755777664,"raw_latitude":117851032,"longitude_deg":75.5777664,"latitude_deg":11.7851032,"altitude":20,"angle":100,"satellites":31,"speed":13,"hex_longitude":"2d0c4080","hex_latitude":"07064398","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209990144001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284459538743296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882072238436925440,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793789026000,"timestamp_ms":1793789026000,"timestamp_seconds":1793789026,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6285ed0"} 
[2026-11-04 16:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:15:16] 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-11-04 16: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-11-04 16:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230821,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209990144001,"66":14439,"164":206,"94":10240,"24":13,"16":39284459538743296,"45":882072238436925440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209990144001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:15:16] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:15:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284459538743296,"km_value":39284459538743.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":882072238436925440,"description":"Unknown IO ID 45"} 
[2026-11-04 16:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209990144001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":882072238436925440}} 
[2026-11-04 16:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":230821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:15:16] local.INFO: GPS data processed {"connection_id":230821,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:15:16] local.INFO: Acknowledgment sent {"connection_id":230821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:15:20] local.INFO: TCP Data received {"connection_id":232662,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:20] local.INFO: Processing buffer {"connection_id":232662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:20] local.INFO: IMEI packet received {"connection_id":232662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":232662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:15:21] local.INFO: TCP Data received {"connection_id":232662,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:21] local.INFO: Processing buffer {"connection_id":232662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:21] local.INFO: IMEI packet received {"connection_id":232662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":232662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:15:21] local.INFO: TCP Data received {"connection_id":232662,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:21] local.INFO: Processing buffer {"connection_id":232662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:15:21] local.INFO: IMEI packet received {"connection_id":232662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":232662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:15:22] local.INFO: TCP Data received {"connection_id":232662,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6289580012d54994006804d58004e009735..."} 
[2026-11-04 16:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6289580012d54994006804d58004e009735..."} 
[2026-11-04 16:15:22] local.INFO: Processing buffer {"connection_id":232662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6289580012d54994006804d58004e009735..."} 
[2026-11-04 16:15:22] local.INFO: Packet analysis {"connection_id":232662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:22] local.INFO: Extracted packet for processing {"connection_id":232662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":760518976,"raw_latitude":109071704,"longitude_deg":76.0518976,"latitude_deg":10.9071704,"altitude":78,"angle":151,"satellites":53,"speed":73,"hex_longitude":"2d549940","hex_latitude":"06804d58","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209992960001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39049473288044544,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6090344467756959744,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:22] 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-11-04 16:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793789040000,"timestamp_ms":1793789040000,"timestamp_seconds":1793789040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6289580"} 
[2026-11-04 16:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209992960001,"66":28028,"4":206,"19":47872,"24":73,"16":39049473288044544,"45":6090344467756959744},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 16:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209992960001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:15:22] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 16:15:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39049473288044544,"km_value":39049473288044.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6090344467756959744,"description":"Unknown IO ID 45"} 
[2026-11-04 16:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209992960001,"power":28028,"unknown_4":206,"unknown_19":47872,"ignition":73,"odometer":null,"unknown_45":6090344467756959744}} 
[2026-11-04 16:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":232662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:15:22] local.INFO: GPS data processed {"connection_id":232662,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:15:22] local.INFO: Acknowledgment sent {"connection_id":232662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:15:24] local.INFO: TCP Data received {"connection_id":232662,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a628a908012d54aa8006802d280048009732..."} 
[2026-11-04 16:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a628a908012d54aa8006802d280048009732..."} 
[2026-11-04 16:15:24] local.INFO: Processing buffer {"connection_id":232662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a628a908012d54aa8006802d280048009732..."} 
[2026-11-04 16:15:24] local.INFO: Packet analysis {"connection_id":232662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:24] local.INFO: Extracted packet for processing {"connection_id":232662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":760523392,"raw_latitude":109063464,"longitude_deg":76.0523392,"latitude_deg":10.9063464,"altitude":72,"angle":151,"satellites":50,"speed":75,"hex_longitude":"2d54aa80","hex_latitude":"06802d28","is_valid_coordinates":true} 
[2026-11-04 16:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209994240001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39049924259610624,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095973967289210880,"note":"Value kept but may cause issues"} 
[2026-11-04 16:15:24] 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-11-04 16:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793789045000,"timestamp_ms":1793789045000,"timestamp_seconds":1793789045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a628a908"} 
[2026-11-04 16:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 16:15:24] 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-11-04 16:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209994240001,"66":27908,"4":206,"19":47872,"24":75,"16":39049924259610624,"45":6095973967289210880},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-11-04 16:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209994240001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:15:24] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-11-04 16:15:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39049924259610624,"km_value":39049924259610.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095973967289210880,"description":"Unknown IO ID 45"} 
[2026-11-04 16:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209994240001,"power":27908,"unknown_4":206,"unknown_19":47872,"ignition":75,"odometer":null,"unknown_45":6095973967289210880}} 
[2026-11-04 16:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":232662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:15:24] local.INFO: GPS data processed {"connection_id":232662,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:15:24] local.INFO: Acknowledgment sent {"connection_id":232662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:15:57] local.INFO: TCP Data received {"connection_id":229016,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:57] local.INFO: Processing buffer {"connection_id":229016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:15:57] local.INFO: IMEI packet received {"connection_id":229016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":229016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:16:00] local.INFO: TCP Data received {"connection_id":229016,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:00] local.INFO: Processing buffer {"connection_id":229016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:00] local.INFO: IMEI packet received {"connection_id":229016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":229016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:16:05] local.INFO: TCP Data received {"connection_id":229016,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229016,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:05] local.INFO: Processing buffer {"connection_id":229016,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:05] local.INFO: IMEI packet received {"connection_id":229016,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":229016,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:16:06] local.INFO: TCP Data received {"connection_id":229016,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a628a520012d0c47c0070642e80015011d20..."} 
[2026-11-04 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a628a520012d0c47c0070642e80015011d20..."} 
[2026-11-04 16:16:06] local.INFO: Processing buffer {"connection_id":229016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a628a520012d0c47c0070642e80015011d20..."} 
[2026-11-04 16:16:06] local.INFO: Packet analysis {"connection_id":229016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:16:06] local.INFO: Extracted packet for processing {"connection_id":229016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":755779520,"raw_latitude":117850856,"longitude_deg":75.577952,"latitude_deg":11.7850856,"altitude":21,"angle":285,"satellites":32,"speed":1,"hex_longitude":"2d0c47c0","hex_latitude":"070642e8","is_valid_coordinates":true} 
[2026-11-04 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209990656001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284575502860288,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882846294622836736,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793789044000,"timestamp_ms":1793789044000,"timestamp_seconds":1793789044,"priority":1,"record_length":96,"hex_timestamp":"000001a1a628a520"} 
[2026-11-04 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 16:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":229016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":229016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":229016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209990656001,"66":14330,"164":206,"94":10240,"24":1,"16":39284575502860288,"45":882846294622836736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209990656001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284575502860288,"km_value":39284575502860.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":882846294622836736,"description":"Unknown IO ID 45"} 
[2026-11-04 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209990656001,"power":14330,"unknown_164":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":882846294622836736}} 
[2026-11-04 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":229016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:16:06] local.INFO: GPS data processed {"connection_id":229016,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:16:06] local.INFO: Acknowledgment sent {"connection_id":229016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:16:06] local.INFO: TCP Data received {"connection_id":229016,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a628a908012d0c47c0070642f80015012d20..."} 
[2026-11-04 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a628a908012d0c47c0070642f80015012d20..."} 
[2026-11-04 16:16:06] local.INFO: Processing buffer {"connection_id":229016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a628a908012d0c47c0070642f80015012d20..."} 
[2026-11-04 16:16:06] local.INFO: Packet analysis {"connection_id":229016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:16:06] local.INFO: Extracted packet for processing {"connection_id":229016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":755779520,"raw_latitude":117850872,"longitude_deg":75.577952,"latitude_deg":11.7850872,"altitude":21,"angle":301,"satellites":32,"speed":1,"hex_longitude":"2d0c47c0","hex_latitude":"070642f8","is_valid_coordinates":true} 
[2026-11-04 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209995264001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284579797827584,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884886988203943936,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793789045000,"timestamp_ms":1793789045000,"timestamp_seconds":1793789045,"priority":1,"record_length":96,"hex_timestamp":"000001a1a628a908"} 
[2026-11-04 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:16: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-11-04 16:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-11-04 16:16:06] 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-11-04 16: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-11-04 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":229016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":229016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":229016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209995264001,"66":14330,"164":206,"94":10240,"24":1,"16":39284579797827584,"45":884886988203943936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209995264001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284579797827584,"km_value":39284579797827.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":884886988203943936,"description":"Unknown IO ID 45"} 
[2026-11-04 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209995264001,"power":14330,"unknown_164":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":884886988203943936}} 
[2026-11-04 16:16:07] local.INFO: TCP Data received {"connection_id":229505,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:07] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:07] local.INFO: IMEI packet received {"connection_id":229505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":229505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":229016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:16:07] local.INFO: GPS data processed {"connection_id":229016,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:16:07] local.INFO: Acknowledgment sent {"connection_id":229016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:16:07] local.INFO: TCP Data received {"connection_id":229505,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:07] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:07] local.INFO: IMEI packet received {"connection_id":229505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":229505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:16:12] local.INFO: TCP Data received {"connection_id":229505,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:12] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:16:12] local.INFO: IMEI packet received {"connection_id":229505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":229505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:16:14] local.INFO: TCP Data received {"connection_id":229505,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6297fe0012d556380067ec0080020009c34..."} 
[2026-11-04 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6297fe0012d556380067ec0080020009c34..."} 
[2026-11-04 16:16:14] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6297fe0012d556380067ec0080020009c34..."} 
[2026-11-04 16:16:14] local.INFO: Packet analysis {"connection_id":229505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a629"} 
[2026-11-04 16:16:14] local.INFO: Extracted packet for processing {"connection_id":229505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a629"} 
[2026-11-04 16:16:14] local.INFO: GPS Element Parsed {"raw_longitude":760570752,"raw_latitude":108969992,"longitude_deg":76.0570752,"latitude_deg":10.8969992,"altitude":32,"angle":156,"satellites":52,"speed":78,"hex_longitude":"2d556380","hex_latitude":"067ec008","is_valid_coordinates":true} 
[2026-11-04 16:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210009600001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39055005205921792,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6152902281302902784,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:14] 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-11-04 16:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793789100000,"timestamp_ms":1793789100000,"timestamp_seconds":1793789100,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6297fe0"} 
[2026-11-04 16:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:16: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-11-04 16:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210009600001,"66":27908,"3":206,"19":47872,"24":78,"16":39055005205921792,"45":6152902281302902784},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 16:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210009600001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:16:14] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 16:16:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39055005205921792,"km_value":39055005205921.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6152902281302902784,"description":"Unknown IO ID 45"} 
[2026-11-04 16:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210009600001,"power":27908,"unknown_3":206,"unknown_19":47872,"ignition":78,"odometer":null,"unknown_45":6152902281302902784}} 
[2026-11-04 16:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":229505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:16:14] local.INFO: GPS data processed {"connection_id":229505,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:16:14] local.INFO: Acknowledgment sent {"connection_id":229505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:16:18] local.INFO: TCP Data received {"connection_id":229505,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6298f80012d556cc0067ea2a8001e00a833..."} 
[2026-11-04 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6298f80012d556cc0067ea2a8001e00a833..."} 
[2026-11-04 16:16:18] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6298f80012d556cc0067ea2a8001e00a833..."} 
[2026-11-04 16:16:18] local.INFO: Packet analysis {"connection_id":229505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a629"} 
[2026-11-04 16:16:18] local.INFO: Extracted packet for processing {"connection_id":229505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a629"} 
[2026-11-04 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":760573120,"raw_latitude":108962472,"longitude_deg":76.057312,"latitude_deg":10.8962472,"altitude":30,"angle":168,"satellites":51,"speed":78,"hex_longitude":"2d556cc0","hex_latitude":"067ea2a8","is_valid_coordinates":true} 
[2026-11-04 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210009600001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39055387458011136,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6152902281302902784,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:18] 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-11-04 16:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793789104000,"timestamp_ms":1793789104000,"timestamp_seconds":1793789104,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6298f80"} 
[2026-11-04 16:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210009600001,"66":28082,"3":206,"19":47872,"24":78,"16":39055387458011136,"45":6152902281302902784},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 16:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210009600001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:16:18] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 16:16:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39055387458011136,"km_value":39055387458011.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6152902281302902784,"description":"Unknown IO ID 45"} 
[2026-11-04 16:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210009600001,"power":28082,"unknown_3":206,"unknown_19":47872,"ignition":78,"odometer":null,"unknown_45":6152902281302902784}} 
[2026-11-04 16:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":229505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:16:18] local.INFO: GPS data processed {"connection_id":229505,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:16:18] local.INFO: Acknowledgment sent {"connection_id":229505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:16:38] local.INFO: TCP Data received {"connection_id":229016,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a628f728012d0c46c0070643400015012821..."} 
[2026-11-04 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a628f728012d0c46c0070643400015012821..."} 
[2026-11-04 16:16:38] local.INFO: Processing buffer {"connection_id":229016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a628f728012d0c46c0070643400015012821..."} 
[2026-11-04 16:16:38] local.INFO: Packet analysis {"connection_id":229016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:16:38] local.INFO: Extracted packet for processing {"connection_id":229016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a628"} 
[2026-11-04 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":755779264,"raw_latitude":117850944,"longitude_deg":75.5779264,"latitude_deg":11.7850944,"altitude":21,"angle":296,"satellites":33,"speed":0,"hex_longitude":"2d0c46c0","hex_latitude":"07064340","is_valid_coordinates":true} 
[2026-11-04 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459209995520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39284588387762176,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884886988203948032,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1793789065000,"timestamp_ms":1793789065000,"timestamp_seconds":1793789065,"priority":1,"record_length":96,"hex_timestamp":"000001a1a628f728"} 
[2026-11-04 16:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-11-04 16:16:38] 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-11-04 16:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":229016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":229016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":229016,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459209995520001,"66":14396,"164":206,"94":10240,"24":0,"16":39284588387762176,"45":884886988203948032},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-11-04 16:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":459209995520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:16:38] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 16:16:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39284588387762176,"km_value":39284588387762.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":884886988203948032,"description":"Unknown IO ID 45"} 
[2026-11-04 16:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459209995520001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":884886988203948032}} 
[2026-11-04 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":229016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:16:38] local.INFO: GPS data processed {"connection_id":229016,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:16:38] local.INFO: Acknowledgment sent {"connection_id":229016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:16:51] local.INFO: TCP Data received {"connection_id":229505,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a629a308012d557400067e7ce8001c00a933..."} 
[2026-11-04 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a629a308012d557400067e7ce8001c00a933..."} 
[2026-11-04 16:16:51] local.INFO: Processing buffer {"connection_id":229505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a629a308012d557400067e7ce8001c00a933..."} 
[2026-11-04 16:16:51] local.INFO: Packet analysis {"connection_id":229505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a629"} 
[2026-11-04 16:16:51] local.INFO: Extracted packet for processing {"connection_id":229505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a629"} 
[2026-11-04 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":760574976,"raw_latitude":108952808,"longitude_deg":76.0574976,"latitude_deg":10.8952808,"altitude":28,"angle":169,"satellites":51,"speed":77,"hex_longitude":"2d557400","hex_latitude":"067e7ce8","is_valid_coordinates":true} 
[2026-11-04 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210010624001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39055864199380992,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6155505924835551232,"note":"Value kept but may cause issues"} 
[2026-11-04 16:16:51] 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-11-04 16:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793789109000,"timestamp_ms":1793789109000,"timestamp_seconds":1793789109,"priority":1,"record_length":96,"hex_timestamp":"000001a1a629a308"} 
[2026-11-04 16:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:16:51] 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-11-04 16:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210010624001,"66":28050,"3":206,"19":47872,"24":77,"16":39055864199380992,"45":6155505924835551232},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 16:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210010624001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:16:51] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 16:16:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39055864199380992,"km_value":39055864199380.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6155505924835551232,"description":"Unknown IO ID 45"} 
[2026-11-04 16:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210010624001,"power":28050,"unknown_3":206,"unknown_19":47872,"ignition":77,"odometer":null,"unknown_45":6155505924835551232}} 
[2026-11-04 16:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":229505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:16:51] local.INFO: GPS data processed {"connection_id":229505,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:16:51] local.INFO: Acknowledgment sent {"connection_id":229505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:16:55] local.INFO: TCP Data received {"connection_id":230822,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:55] local.INFO: Processing buffer {"connection_id":230822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:16:55] local.INFO: IMEI packet received {"connection_id":230822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":230822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:17:00] local.INFO: TCP Data received {"connection_id":230822,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230822,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:00] local.INFO: Processing buffer {"connection_id":230822,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:00] local.INFO: IMEI packet received {"connection_id":230822,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":230822,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:17:01] local.INFO: TCP Data received {"connection_id":230822,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62b0680012d0cb8400705cd40001c009420..."} 
[2026-11-04 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62b0680012d0cb8400705cd40001c009420..."} 
[2026-11-04 16:17:01] local.INFO: Processing buffer {"connection_id":230822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62b0680012d0cb8400705cd40001c009420..."} 
[2026-11-04 16:17:01] local.INFO: Packet analysis {"connection_id":230822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:17:01] local.INFO: Extracted packet for processing {"connection_id":230822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":755808320,"raw_latitude":117820736,"longitude_deg":75.580832,"latitude_deg":11.7820736,"altitude":28,"angle":148,"satellites":32,"speed":13,"hex_longitude":"2d0cb840","hex_latitude":"0705cd40","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210030848001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39286641382129664,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912049323449853952,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793789200000,"timestamp_ms":1793789200000,"timestamp_seconds":1793789200,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62b0680"} 
[2026-11-04 16:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 16:17: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-11-04 16: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-11-04 16:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":230822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":230822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":230822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210030848001,"66":14374,"220":206,"94":10240,"24":13,"16":39286641382129664,"45":912049323449853952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210030848001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:17:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:17:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39286641382129664,"km_value":39286641382129.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":912049323449853952,"description":"Unknown IO ID 45"} 
[2026-11-04 16:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210030848001,"power":14374,"unknown_220":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":912049323449853952}} 
[2026-11-04 16:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":230822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:17:01] local.INFO: GPS data processed {"connection_id":230822,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:17:01] local.INFO: Acknowledgment sent {"connection_id":230822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:17:04] local.INFO: TCP Data received {"connection_id":229017,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:04] local.INFO: Processing buffer {"connection_id":229017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:04] local.INFO: IMEI packet received {"connection_id":229017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":229017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:17:06] local.INFO: TCP Data received {"connection_id":229017,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:06] local.INFO: Processing buffer {"connection_id":229017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:06] local.INFO: IMEI packet received {"connection_id":229017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":229017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:17:11] local.INFO: TCP Data received {"connection_id":229017,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:11] local.INFO: Processing buffer {"connection_id":229017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:17:11] local.INFO: IMEI packet received {"connection_id":229017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":229017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:17:12] local.INFO: TCP Data received {"connection_id":229017,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62a9d08012d564300067d1a400015008633..."} 
[2026-11-04 16:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62a9d08012d564300067d1a400015008633..."} 
[2026-11-04 16:17:12] local.INFO: Processing buffer {"connection_id":229017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62a9d08012d564300067d1a400015008633..."} 
[2026-11-04 16:17:12] local.INFO: Packet analysis {"connection_id":229017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62a"} 
[2026-11-04 16:17:12] local.INFO: Extracted packet for processing {"connection_id":229017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62a"} 
[2026-11-04 16:17:12] local.INFO: GPS Element Parsed {"raw_longitude":760627968,"raw_latitude":108862016,"longitude_deg":76.0627968,"latitude_deg":10.8862016,"altitude":21,"angle":134,"satellites":51,"speed":56,"hex_longitude":"2d564300","hex_latitude":"067d1a40","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210026496001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39061052519874560,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6208071376712302592,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:12] 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-11-04 16:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793789173000,"timestamp_ms":1793789173000,"timestamp_seconds":1793789173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62a9d08"} 
[2026-11-04 16:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 16:17:12] 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-11-04 16: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-11-04 16:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210026496001,"66":27767,"53":206,"19":47872,"24":56,"16":39061052519874560,"45":6208071376712302592},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-11-04 16:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210026496001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:17:12] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-04 16:17:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39061052519874560,"km_value":39061052519874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6208071376712302592,"description":"Unknown IO ID 45"} 
[2026-11-04 16:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210026496001,"power":27767,"unknown_53":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":6208071376712302592}} 
[2026-11-04 16:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":229017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:17:12] local.INFO: GPS data processed {"connection_id":229017,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:17:12] local.INFO: Acknowledgment sent {"connection_id":229017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:17:32] local.INFO: TCP Data received {"connection_id":230822,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62b1620012d0cba800705c828001b00a420..."} 
[2026-11-04 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62b1620012d0cba800705c828001b00a420..."} 
[2026-11-04 16:17:32] local.INFO: Processing buffer {"connection_id":230822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62b1620012d0cba800705c828001b00a420..."} 
[2026-11-04 16:17:32] local.INFO: Packet analysis {"connection_id":230822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:17:32] local.INFO: Extracted packet for processing {"connection_id":230822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117819432,"longitude_deg":75.5808896,"latitude_deg":11.7819432,"altitude":27,"angle":164,"satellites":32,"speed":16,"hex_longitude":"2d0cba80","hex_latitude":"0705c828","is_valid_coordinates":true} 
[2026-11-04 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-11-04 16:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210035200001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39286710101606400,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916552923076182016,"note":"Value kept but may cause issues"} 
[2026-11-04 16:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793789204000,"timestamp_ms":1793789204000,"timestamp_seconds":1793789204,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62b1620"} 
[2026-11-04 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-11-04 16:17: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-11-04 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 16:17: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-11-04 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-11-04 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-11-04 16:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":230822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":230822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":230822,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210035200001,"66":14461,"220":206,"94":10240,"24":16,"16":39286710101606400,"45":916552923076182016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210035200001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:17:32] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:17:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39286710101606400,"km_value":39286710101606.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":916552923076182016,"description":"Unknown IO ID 45"} 
[2026-11-04 16:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210035200001,"power":14461,"unknown_220":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":916552923076182016}} 
[2026-11-04 16:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":230822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:17:32] local.INFO: GPS data processed {"connection_id":230822,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:17:32] local.INFO: Acknowledgment sent {"connection_id":230822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:17:55] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:55] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:55] local.INFO: IMEI packet received {"connection_id":229019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":229019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:17:57] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:57] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:17:57] local.INFO: IMEI packet received {"connection_id":229019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":229019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:18:00] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:00] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:00] local.INFO: IMEI packet received {"connection_id":229019,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":229019,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:18:01] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62be528012d0ceb800705d210000c00181f..."} 
[2026-11-04 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62be528012d0ceb800705d210000c00181f..."} 
[2026-11-04 16:18:01] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62be528012d0ceb800705d210000c00181f..."} 
[2026-11-04 16:18:01] local.INFO: Packet analysis {"connection_id":229019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:01] local.INFO: Extracted packet for processing {"connection_id":229019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:01] local.INFO: GPS Element Parsed {"raw_longitude":755821440,"raw_latitude":117821968,"longitude_deg":75.582144,"latitude_deg":11.7821968,"altitude":12,"angle":24,"satellites":31,"speed":21,"hex_longitude":"2d0ceb80","hex_latitude":"0705d210","is_valid_coordinates":true} 
[2026-11-04 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210049536001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39287732303822848,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930767409400256512,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793789257000,"timestamp_ms":1793789257000,"timestamp_seconds":1793789257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62be528"} 
[2026-11-04 16:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:18: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-11-04 16:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:18: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-11-04 16:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210049536001,"66":14428,"220":206,"94":10240,"24":21,"16":39287732303822848,"45":930767409400256512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210049536001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:18:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:18:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39287732303822848,"km_value":39287732303822.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":930767409400256512,"description":"Unknown IO ID 45"} 
[2026-11-04 16:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210049536001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":930767409400256512}} 
[2026-11-04 16:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":229019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59752,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:18:01] local.INFO: GPS data processed {"connection_id":229019,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:18:01] local.INFO: Acknowledgment sent {"connection_id":229019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:18:05] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62be910012d0cecc00705d3b8000d00251f..."} 
[2026-11-04 16:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62be910012d0cecc00705d3b8000d00251f..."} 
[2026-11-04 16:18:05] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62be910012d0cecc00705d3b8000d00251f..."} 
[2026-11-04 16:18:05] local.INFO: Packet analysis {"connection_id":229019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:05] local.INFO: Extracted packet for processing {"connection_id":229019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":755821760,"raw_latitude":117822392,"longitude_deg":75.582176,"latitude_deg":11.7822392,"altitude":13,"angle":37,"satellites":31,"speed":21,"hex_longitude":"2d0cecc0","hex_latitude":"0705d3b8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210049792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39287758073626624,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930978515632918528,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793789258000,"timestamp_ms":1793789258000,"timestamp_seconds":1793789258,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62be910"} 
[2026-11-04 16:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210049792001,"66":14428,"220":206,"94":10240,"24":21,"16":39287758073626624,"45":930978515632918528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210049792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39287758073626624,"km_value":39287758073626.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":930978515632918528,"description":"Unknown IO ID 45"} 
[2026-11-04 16:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210049792001,"power":14428,"unknown_220":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":930978515632918528}} 
[2026-11-04 16:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":229019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:18:06] local.INFO: GPS data processed {"connection_id":229019,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:18:06] local.INFO: Acknowledgment sent {"connection_id":229019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:18:13] local.INFO: TCP Data received {"connection_id":229017,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62ab860012d566080067cff180015008633..."} 
[2026-11-04 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62ab860012d566080067cff180015008633..."} 
[2026-11-04 16:18:13] local.INFO: Processing buffer {"connection_id":229017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62ab860012d566080067cff180015008633..."} 
[2026-11-04 16:18:13] local.INFO: Packet analysis {"connection_id":229017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62a"} 
[2026-11-04 16:18:13] local.INFO: Extracted packet for processing {"connection_id":229017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62a"} 
[2026-11-04 16:18:13] local.INFO: GPS Element Parsed {"raw_longitude":760635520,"raw_latitude":108855064,"longitude_deg":76.063552,"latitude_deg":10.8855064,"altitude":21,"angle":134,"satellites":51,"speed":58,"hex_longitude":"2d566080","hex_latitude":"067cff18","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210028288001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39061542146146304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6215811938570092544,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:13] 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-11-04 16:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793789180000,"timestamp_ms":1793789180000,"timestamp_seconds":1793789180,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62ab860"} 
[2026-11-04 16:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 16:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210028288001,"66":27865,"53":206,"19":47872,"24":58,"16":39061542146146304,"45":6215811938570092544},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-11-04 16:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210028288001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:18:13] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-04 16:18:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39061542146146304,"km_value":39061542146146.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6215811938570092544,"description":"Unknown IO ID 45"} 
[2026-11-04 16:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210028288001,"power":27865,"unknown_53":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":6215811938570092544}} 
[2026-11-04 16:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":229017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:18:13] local.INFO: GPS data processed {"connection_id":229017,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:18:13] local.INFO: Acknowledgment sent {"connection_id":229017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:18:23] local.INFO: TCP Data received {"connection_id":230823,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:23] local.INFO: Processing buffer {"connection_id":230823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:23] local.INFO: IMEI packet received {"connection_id":230823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":230823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:18:28] local.INFO: TCP Data received {"connection_id":230823,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:28] local.INFO: Processing buffer {"connection_id":230823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:28] local.INFO: IMEI packet received {"connection_id":230823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":230823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:18:30] local.INFO: TCP Data received {"connection_id":230823,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:30] local.INFO: Processing buffer {"connection_id":230823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:30] local.INFO: IMEI packet received {"connection_id":230823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":230823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:18:32] local.INFO: TCP Data received {"connection_id":230823,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:32] local.INFO: Processing buffer {"connection_id":230823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:18:32] local.INFO: IMEI packet received {"connection_id":230823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":230823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:18:33] local.INFO: TCP Data received {"connection_id":230823,"ip":"117.224.67.174","data_length":1360,"data_hex":"000000000000030f8e0a000001a1a62bbe18012d571580067c2ba8001600a82d..."} 
[2026-11-04 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230823,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1a62bbe18012d571580067c2ba8001600a82d..."} 
[2026-11-04 16:18:33] local.INFO: Processing buffer {"connection_id":230823,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1a62bbe18012d571580067c2ba8001600a82d..."} 
[2026-11-04 16:18:33] local.INFO: Packet analysis {"connection_id":230823,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:33] local.INFO: Extracted packet for processing {"connection_id":230823,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":760681856,"raw_latitude":108800936,"longitude_deg":76.0681856,"latitude_deg":10.8800936,"altitude":22,"angle":168,"satellites":45,"speed":25,"hex_longitude":"2d571580","hex_latitude":"067c2ba8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210044416001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39065025364623360,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6273936521246187520,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:33] 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-11-04 16:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793789247000,"timestamp_ms":1793789247000,"timestamp_seconds":1793789247,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62bbe18"} 
[2026-11-04 16:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":230823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":230823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":230823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210044416001,"66":27974,"53":206,"19":47872,"24":25,"16":39065025364623360,"45":6273936521246187520},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-11-04 16:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210044416001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:18:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-04 16:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39065025364623360,"km_value":39065025364623.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6273936521246187520,"description":"Unknown IO ID 45"} 
[2026-11-04 16:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210044416001,"power":27974,"unknown_53":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6273936521246187520}} 
[2026-11-04 16:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":230823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:18:33] local.INFO: GPS data processed {"connection_id":230823,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:18:33] local.INFO: Acknowledgment sent {"connection_id":230823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:18:33] local.INFO: Packet analysis {"connection_id":230823,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:33] local.INFO: Incomplete packet, waiting for more data {"connection_id":230823,"needed":795,"available":565} 
[2026-11-04 16:18:33] local.INFO: TCP Data received {"connection_id":229020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:18:33] local.INFO: Processing buffer {"connection_id":229020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:18:33] local.INFO: IMEI packet received {"connection_id":229020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":229020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:18:34] local.INFO: TCP Data received {"connection_id":230823,"ip":"117.224.67.174","data_length":230,"data_hex":"2d56e300067c8250001800843300300000000a000400ef0100716000f0010045..."} 
[2026-11-04 16:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230823,"packet_length":230,"packet_hex":"2d56e300067c8250001800843300300000000a000400ef0100716000f0010045..."} 
[2026-11-04 16:18:34] local.INFO: Processing buffer {"connection_id":230823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62becf8012d571b80067c06a8001500ad2d..."} 
[2026-11-04 16:18:34] local.INFO: Packet analysis {"connection_id":230823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:34] local.INFO: Extracted packet for processing {"connection_id":230823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:34] local.INFO: GPS Element Parsed {"raw_longitude":760683392,"raw_latitude":108791464,"longitude_deg":76.0683392,"latitude_deg":10.8791464,"altitude":21,"angle":173,"satellites":45,"speed":38,"hex_longitude":"2d571b80","hex_latitude":"067c06a8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210047232001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39065489221091328,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275062421152049152,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:34] 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-11-04 16:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793789259000,"timestamp_ms":1793789259000,"timestamp_seconds":1793789259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62becf8"} 
[2026-11-04 16:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 16:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210047232001,"66":27843,"53":206,"19":47872,"24":38,"16":39065489221091328,"45":6275062421152049152},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-11-04 16:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210047232001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:18:34] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-04 16:18:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39065489221091328,"km_value":39065489221091.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275062421152049152,"description":"Unknown IO ID 45"} 
[2026-11-04 16:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210047232001,"power":27843,"unknown_53":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":6275062421152049152}} 
[2026-11-04 16:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":230823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:18:34] local.INFO: GPS data processed {"connection_id":230823,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:18:34] local.INFO: Acknowledgment sent {"connection_id":230823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:18:36] local.INFO: TCP Data received {"connection_id":230823,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62c1020012d571f00067be328001600b22b..."} 
[2026-11-04 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62c1020012d571f00067be328001600b22b..."} 
[2026-11-04 16:18:36] local.INFO: Processing buffer {"connection_id":230823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62c1020012d571f00067be328001600b22b..."} 
[2026-11-04 16:18:36] local.INFO: Packet analysis {"connection_id":230823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:18:36] local.INFO: Extracted packet for processing {"connection_id":230823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":760684288,"raw_latitude":108782376,"longitude_deg":76.0684288,"latitude_deg":10.8782376,"altitude":22,"angle":178,"satellites":43,"speed":37,"hex_longitude":"2d571f00","hex_latitude":"067be328","is_valid_coordinates":true} 
[2026-11-04 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210050304001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39065931602722816,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6276751271009888256,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793789268000,"timestamp_ms":1793789268000,"timestamp_seconds":1793789268,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62c1020"} 
[2026-11-04 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 16:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":230823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":230823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":230823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210050304001,"66":27919,"14":206,"19":47872,"24":37,"16":39065931602722816,"45":6276751271009888256},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210050304001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39065931602722816,"km_value":39065931602722.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6276751271009888256,"description":"Unknown IO ID 45"} 
[2026-11-04 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210050304001,"power":27919,"unknown_14":206,"unknown_19":47872,"ignition":37,"odometer":null,"unknown_45":6276751271009888256}} 
[2026-11-04 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":230823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:18:36] local.INFO: GPS data processed {"connection_id":230823,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:18:36] local.INFO: Acknowledgment sent {"connection_id":230823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:18:36] local.INFO: TCP Data received {"connection_id":229019,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62becf8012d0cee400705d4a8000d00351f..."} 
[2026-11-04 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62becf8012d0cee400705d4a8000d00351f..."} 
[2026-11-04 16:18:36] local.INFO: Processing buffer {"connection_id":229019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62becf8012d0cee400705d4a8000d00351f..."} 
[2026-11-04 16:18:36] local.INFO: Packet analysis {"connection_id":229019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:36] local.INFO: Extracted packet for processing {"connection_id":229019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62b"} 
[2026-11-04 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":755822144,"raw_latitude":117822632,"longitude_deg":75.5822144,"latitude_deg":11.7822632,"altitude":13,"angle":53,"satellites":31,"speed":18,"hex_longitude":"2d0cee40","hex_latitude":"0705d4a8","is_valid_coordinates":true} 
[2026-11-04 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210050048001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39287779548463104,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931330359353915392,"note":"Value kept but may cause issues"} 
[2026-11-04 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793789259000,"timestamp_ms":1793789259000,"timestamp_seconds":1793789259,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62becf8"} 
[2026-11-04 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229019,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210050048001,"66":14330,"220":206,"94":10240,"24":18,"16":39287779548463104,"45":931330359353915392},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-11-04 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210050048001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39287779548463104,"km_value":39287779548463.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":931330359353915392,"description":"Unknown IO ID 45"} 
[2026-11-04 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210050048001,"power":14330,"unknown_220":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":931330359353915392}} 
[2026-11-04 16:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":229019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59758,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:18:37] local.INFO: GPS data processed {"connection_id":229019,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:18:37] local.INFO: Acknowledgment sent {"connection_id":229019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:18:55] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:55] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:55] local.INFO: IMEI packet received {"connection_id":229507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":229507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:18:57] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:57] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:18:57] local.INFO: IMEI packet received {"connection_id":229507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":229507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:19:00] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:00] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:00] local.INFO: IMEI packet received {"connection_id":229507,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":229507,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:19:01] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62cbfe8012d0d3c400705bfb8000d009c21..."} 
[2026-11-04 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62cbfe8012d0d3c400705bfb8000d009c21..."} 
[2026-11-04 16:19:01] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62cbfe8012d0d3c400705bfb8000d009c21..."} 
[2026-11-04 16:19:01] local.INFO: Packet analysis {"connection_id":229507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:01] local.INFO: Extracted packet for processing {"connection_id":229507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:01] local.INFO: GPS Element Parsed {"raw_longitude":755842112,"raw_latitude":117817272,"longitude_deg":75.5842112,"latitude_deg":11.7817272,"altitude":13,"angle":156,"satellites":33,"speed":6,"hex_longitude":"2d0d3c40","hex_latitude":"0705bfb8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210063872001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39289003614142464,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953637251256956928,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793789313000,"timestamp_ms":1793789313000,"timestamp_seconds":1793789313,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62cbfe8"} 
[2026-11-04 16:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:19: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-11-04 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:19: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-11-04 16: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-11-04 16:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210063872001,"66":14428,"167":206,"94":11008,"24":6,"16":39289003614142464,"45":953637251256956928},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-04 16:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210063872001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:19:01] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-04 16:19:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 16:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39289003614142464,"km_value":39289003614142.46,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":953637251256956928,"description":"Unknown IO ID 45"} 
[2026-11-04 16:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210063872001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953637251256956928}} 
[2026-11-04 16:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":229507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:19:01] local.INFO: GPS data processed {"connection_id":229507,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:19:01] local.INFO: Acknowledgment sent {"connection_id":229507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:19:07] local.INFO: TCP Data received {"connection_id":230824,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:07] local.INFO: Processing buffer {"connection_id":230824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:07] local.INFO: IMEI packet received {"connection_id":230824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":230824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:19:08] local.INFO: TCP Data received {"connection_id":229508,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:19:08] local.INFO: Processing buffer {"connection_id":229508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:19:08] local.INFO: IMEI packet received {"connection_id":229508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":229508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:19:13] local.INFO: TCP Data received {"connection_id":230824,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:13] local.INFO: Processing buffer {"connection_id":230824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:13] local.INFO: IMEI packet received {"connection_id":230824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":230824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:19:14] local.INFO: TCP Data received {"connection_id":230824,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:14] local.INFO: Processing buffer {"connection_id":230824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:19:14] local.INFO: IMEI packet received {"connection_id":230824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":230824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:19:17] local.INFO: TCP Data received {"connection_id":230824,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62c2790012d571d80067bcbb8001800bf2d..."} 
[2026-11-04 16:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62c2790012d571d80067bcbb8001800bf2d..."} 
[2026-11-04 16:19:17] local.INFO: Processing buffer {"connection_id":230824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62c2790012d571d80067bcbb8001800bf2d..."} 
[2026-11-04 16:19:17] local.INFO: Packet analysis {"connection_id":230824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:17] local.INFO: Extracted packet for processing {"connection_id":230824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:17] local.INFO: GPS Element Parsed {"raw_longitude":760683904,"raw_latitude":108776376,"longitude_deg":76.0683904,"latitude_deg":10.8776376,"altitude":24,"angle":191,"satellites":45,"speed":41,"hex_longitude":"2d571d80","hex_latitude":"067bcbb8","is_valid_coordinates":true} 
[2026-11-04 16:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210052608001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39066223660498944,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277736433426049024,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793789274000,"timestamp_ms":1793789274000,"timestamp_seconds":1793789274,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62c2790"} 
[2026-11-04 16:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16: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-11-04 16: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-11-04 16:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210052608001,"66":27865,"14":206,"19":47872,"24":41,"16":39066223660498944,"45":6277736433426049024},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210052608001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:19:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:19:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39066223660498944,"km_value":39066223660498.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277736433426049024,"description":"Unknown IO ID 45"} 
[2026-11-04 16:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210052608001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":6277736433426049024}} 
[2026-11-04 16:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":230824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:19:17] local.INFO: GPS data processed {"connection_id":230824,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:19:17] local.INFO: Acknowledgment sent {"connection_id":230824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:19:19] local.INFO: TCP Data received {"connection_id":230824,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62c3f00012d571600067bb598001c00cc2f..."} 
[2026-11-04 16:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62c3f00012d571600067bb598001c00cc2f..."} 
[2026-11-04 16:19:19] local.INFO: Processing buffer {"connection_id":230824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62c3f00012d571600067bb598001c00cc2f..."} 
[2026-11-04 16:19:19] local.INFO: Packet analysis {"connection_id":230824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:19] local.INFO: Extracted packet for processing {"connection_id":230824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":760681984,"raw_latitude":108770712,"longitude_deg":76.0681984,"latitude_deg":10.8770712,"altitude":28,"angle":204,"satellites":47,"speed":34,"hex_longitude":"2d571600","hex_latitude":"067bb598","is_valid_coordinates":true} 
[2026-11-04 16:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210054144001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39066515718275072,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277314220959447040,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:19] 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-11-04 16:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793789280000,"timestamp_ms":1793789280000,"timestamp_seconds":1793789280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62c3f00"} 
[2026-11-04 16:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210054144001,"66":27865,"13":206,"19":47872,"24":34,"16":39066515718275072,"45":6277314220959447040},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210054144001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:19:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:19:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39066515718275072,"km_value":39066515718275.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277314220959447040,"description":"Unknown IO ID 45"} 
[2026-11-04 16:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210054144001,"power":27865,"unknown_13":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":6277314220959447040}} 
[2026-11-04 16:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":230824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:19:19] local.INFO: GPS data processed {"connection_id":230824,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:19:19] local.INFO: Acknowledgment sent {"connection_id":230824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:19:32] local.INFO: TCP Data received {"connection_id":229507,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62cc7b8012d0d3cc00705be78000d00a921..."} 
[2026-11-04 16:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62cc7b8012d0d3cc00705be78000d00a921..."} 
[2026-11-04 16:19:32] local.INFO: Processing buffer {"connection_id":229507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62cc7b8012d0d3cc00705be78000d00a921..."} 
[2026-11-04 16:19:32] local.INFO: Packet analysis {"connection_id":229507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:32] local.INFO: Extracted packet for processing {"connection_id":229507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:32] local.INFO: GPS Element Parsed {"raw_longitude":755842240,"raw_latitude":117816952,"longitude_deg":75.584224,"latitude_deg":11.7816952,"altitude":13,"angle":169,"satellites":33,"speed":6,"hex_longitude":"2d0d3cc0","hex_latitude":"0705be78","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210064128001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39289016499044352,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953707620001101824,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793789315000,"timestamp_ms":1793789315000,"timestamp_seconds":1793789315,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62cc7b8"} 
[2026-11-04 16:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:19: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-11-04 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229507,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210064128001,"66":14515,"167":206,"94":11008,"24":6,"16":39289016499044352,"45":953707620001101824},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-11-04 16:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210064128001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:19:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-11-04 16:19:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 16:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39289016499044352,"km_value":39289016499044.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":953707620001101824,"description":"Unknown IO ID 45"} 
[2026-11-04 16:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210064128001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953707620001101824}} 
[2026-11-04 16:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":229507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:19:32] local.INFO: GPS data processed {"connection_id":229507,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:19:32] local.INFO: Acknowledgment sent {"connection_id":229507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:19:52] local.INFO: TCP Data received {"connection_id":230824,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62c5a58012d570c40067ba538002100d830..."} 
[2026-11-04 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62c5a58012d570c40067ba538002100d830..."} 
[2026-11-04 16:19:52] local.INFO: Processing buffer {"connection_id":230824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62c5a58012d570c40067ba538002100d830..."} 
[2026-11-04 16:19:52] local.INFO: Packet analysis {"connection_id":230824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:52] local.INFO: Extracted packet for processing {"connection_id":230824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":760679488,"raw_latitude":108766520,"longitude_deg":76.0679488,"latitude_deg":10.876652,"altitude":33,"angle":216,"satellites":48,"speed":21,"hex_longitude":"2d570c40","hex_latitude":"067ba538","is_valid_coordinates":true} 
[2026-11-04 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210055680001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39066751941476352,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275203158632667136,"note":"Value kept but may cause issues"} 
[2026-11-04 16:19:52] 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-11-04 16:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793789287000,"timestamp_ms":1793789287000,"timestamp_seconds":1793789287,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62c5a58"} 
[2026-11-04 16:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:19:52] 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-11-04 16:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":230824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":230824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":230824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210055680001,"66":27908,"13":206,"19":47872,"24":21,"16":39066751941476352,"45":6275203158632667136},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210055680001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:19:52] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:19:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39066751941476352,"km_value":39066751941476.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275203158632667136,"description":"Unknown IO ID 45"} 
[2026-11-04 16:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210055680001,"power":27908,"unknown_13":206,"unknown_19":47872,"ignition":21,"odometer":null,"unknown_45":6275203158632667136}} 
[2026-11-04 16:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":230824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:19:52] local.INFO: GPS data processed {"connection_id":230824,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:19:52] local.INFO: Acknowledgment sent {"connection_id":230824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:19:59] local.INFO: TCP Data received {"connection_id":232663,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:59] local.INFO: Processing buffer {"connection_id":232663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:59] local.INFO: IMEI packet received {"connection_id":232663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":232663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:19:59] local.INFO: TCP Data received {"connection_id":232663,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232663,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:59] local.INFO: Processing buffer {"connection_id":232663,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:19:59] local.INFO: IMEI packet received {"connection_id":232663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":232663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:20:00] local.INFO: TCP Data received {"connection_id":232663,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 16:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232663,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 16:20:00] local.INFO: Processing buffer {"connection_id":232663,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-11-04 16:20:00] local.INFO: IMEI packet received {"connection_id":232663,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":232663,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:20:12] local.INFO: TCP Data received {"connection_id":232664,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:20:12] local.INFO: Processing buffer {"connection_id":232664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:20:12] local.INFO: IMEI packet received {"connection_id":232664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":232664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:20:16] local.INFO: TCP Data received {"connection_id":232664,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:20:16] local.INFO: Processing buffer {"connection_id":232664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:20:16] local.INFO: IMEI packet received {"connection_id":232664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":232664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:20:18] local.INFO: TCP Data received {"connection_id":232664,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62c94f0012d56fcc0067b9438002300e431..."} 
[2026-11-04 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62c94f0012d56fcc0067b9438002300e431..."} 
[2026-11-04 16:20:18] local.INFO: Processing buffer {"connection_id":232664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62c94f0012d56fcc0067b9438002300e431..."} 
[2026-11-04 16:20:18] local.INFO: Packet analysis {"connection_id":232664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:20:18] local.INFO: Extracted packet for processing {"connection_id":232664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":760675520,"raw_latitude":108762168,"longitude_deg":76.067552,"latitude_deg":10.8762168,"altitude":35,"angle":228,"satellites":49,"speed":25,"hex_longitude":"2d56fcc0","hex_latitude":"067b9438","is_valid_coordinates":true} 
[2026-11-04 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210057472001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39067035409317888,"note":"Value kept but may cause issues"} 
[2026-11-04 16:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6272458777608665088,"note":"Value kept but may cause issues"} 
[2026-11-04 16:20:18] 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-11-04 16:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793789302000,"timestamp_ms":1793789302000,"timestamp_seconds":1793789302,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62c94f0"} 
[2026-11-04 16:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210057472001,"66":27974,"13":206,"19":47872,"24":25,"16":39067035409317888,"45":6272458777608665088},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210057472001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:20:18] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:20:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39067035409317888,"km_value":39067035409317.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6272458777608665088,"description":"Unknown IO ID 45"} 
[2026-11-04 16:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210057472001,"power":27974,"unknown_13":206,"unknown_19":47872,"ignition":25,"odometer":null,"unknown_45":6272458777608665088}} 
[2026-11-04 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":232664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:20:18] local.INFO: GPS data processed {"connection_id":232664,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:20:18] local.INFO: Acknowledgment sent {"connection_id":232664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:20:50] local.INFO: TCP Data received {"connection_id":232664,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62cbc00012d56dc80067b7e38001e00ee30..."} 
[2026-11-04 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62cbc00012d56dc80067b7e38001e00ee30..."} 
[2026-11-04 16:20:50] local.INFO: Processing buffer {"connection_id":232664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62cbc00012d56dc80067b7e38001e00ee30..."} 
[2026-11-04 16:20:50] local.INFO: Packet analysis {"connection_id":232664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:20:50] local.INFO: Extracted packet for processing {"connection_id":232664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":760667264,"raw_latitude":108756536,"longitude_deg":76.0667264,"latitude_deg":10.8756536,"altitude":30,"angle":238,"satellites":48,"speed":47,"hex_longitude":"2d56dc80","hex_latitude":"067b7e38","is_valid_coordinates":true} 
[2026-11-04 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210061312001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39067516445655040,"note":"Value kept but may cause issues"} 
[2026-11-04 16:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6268095915468535808,"note":"Value kept but may cause issues"} 
[2026-11-04 16:20:50] 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-11-04 16:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793789312000,"timestamp_ms":1793789312000,"timestamp_seconds":1793789312,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62cbc00"} 
[2026-11-04 16:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 16:20:50] 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-11-04 16:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210061312001,"66":27919,"13":206,"19":47872,"24":47,"16":39067516445655040,"45":6268095915468535808},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210061312001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:20:50] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:20:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39067516445655040,"km_value":39067516445655.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6268095915468535808,"description":"Unknown IO ID 45"} 
[2026-11-04 16:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210061312001,"power":27919,"unknown_13":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":6268095915468535808}} 
[2026-11-04 16:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":232664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:20:50] local.INFO: GPS data processed {"connection_id":232664,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:20:50] local.INFO: Acknowledgment sent {"connection_id":232664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:21:06] local.INFO: TCP Data received {"connection_id":232666,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:06] local.INFO: Processing buffer {"connection_id":232666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:06] local.INFO: IMEI packet received {"connection_id":232666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":232666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:21:08] local.INFO: TCP Data received {"connection_id":232666,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:08] local.INFO: Processing buffer {"connection_id":232666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:08] local.INFO: IMEI packet received {"connection_id":232666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":232666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:21:11] local.INFO: TCP Data received {"connection_id":232666,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:11] local.INFO: Processing buffer {"connection_id":232666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:21:11] local.INFO: IMEI packet received {"connection_id":232666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":232666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:21:12] local.INFO: TCP Data received {"connection_id":232666,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62cdb40012d56bb80067b6a00001c00ee2b..."} 
[2026-11-04 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62cdb40012d56bb80067b6a00001c00ee2b..."} 
[2026-11-04 16:21:12] local.INFO: Processing buffer {"connection_id":232666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62cdb40012d56bb80067b6a00001c00ee2b..."} 
[2026-11-04 16:21:12] local.INFO: Packet analysis {"connection_id":232666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:21:12] local.INFO: Extracted packet for processing {"connection_id":232666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":760658816,"raw_latitude":108751360,"longitude_deg":76.0658816,"latitude_deg":10.875136,"altitude":28,"angle":238,"satellites":43,"speed":47,"hex_longitude":"2d56bb80","hex_latitude":"067b6a00","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210063872001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39067988892057600,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6259018347468175360,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:12] 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-11-04 16:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793789320000,"timestamp_ms":1793789320000,"timestamp_seconds":1793789320,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62cdb40"} 
[2026-11-04 16:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:21: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-11-04 16: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-11-04 16:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210063872001,"66":28093,"13":206,"19":47872,"24":47,"16":39067988892057600,"45":6259018347468175360},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210063872001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:21:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:21:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39067988892057600,"km_value":39067988892057.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6259018347468175360,"description":"Unknown IO ID 45"} 
[2026-11-04 16:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210063872001,"power":28093,"unknown_13":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":6259018347468175360}} 
[2026-11-04 16:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":232666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:21:12] local.INFO: GPS data processed {"connection_id":232666,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:21:12] local.INFO: Acknowledgment sent {"connection_id":232666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:21:17] local.INFO: TCP Data received {"connection_id":232666,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62cfa80012d569c80067b5718001c00ef2e..."} 
[2026-11-04 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62cfa80012d569c80067b5718001c00ef2e..."} 
[2026-11-04 16:21:17] local.INFO: Processing buffer {"connection_id":232666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62cfa80012d569c80067b5718001c00ef2e..."} 
[2026-11-04 16:21:17] local.INFO: Packet analysis {"connection_id":232666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:21:17] local.INFO: Extracted packet for processing {"connection_id":232666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62c"} 
[2026-11-04 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":760650880,"raw_latitude":108746520,"longitude_deg":76.065088,"latitude_deg":10.874652,"altitude":28,"angle":239,"satellites":46,"speed":44,"hex_longitude":"2d569c80","hex_latitude":"067b5718","is_valid_coordinates":true} 
[2026-11-04 16:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210065920001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39068435568656384,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6249729673235398656,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793789328000,"timestamp_ms":1793789328000,"timestamp_seconds":1793789328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62cfa80"} 
[2026-11-04 16:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 16:21:17] 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-11-04 16:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210065920001,"66":27930,"14":206,"19":47872,"24":44,"16":39068435568656384,"45":6249729673235398656},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210065920001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:21:17] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:21:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39068435568656384,"km_value":39068435568656.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6249729673235398656,"description":"Unknown IO ID 45"} 
[2026-11-04 16:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210065920001,"power":27930,"unknown_14":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":6249729673235398656}} 
[2026-11-04 16:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":232666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:21:17] local.INFO: GPS data processed {"connection_id":232666,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:21:17] local.INFO: Acknowledgment sent {"connection_id":232666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:21:49] local.INFO: TCP Data received {"connection_id":232666,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f09d8012d554ec0067acc500022012031..."} 
[2026-11-04 16:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f09d8012d554ec0067acc500022012031..."} 
[2026-11-04 16:21:49] local.INFO: Processing buffer {"connection_id":232666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f09d8012d554ec0067acc500022012031..."} 
[2026-11-04 16:21:49] local.INFO: Packet analysis {"connection_id":232666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:21:49] local.INFO: Extracted packet for processing {"connection_id":232666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":760565440,"raw_latitude":108710992,"longitude_deg":76.056544,"latitude_deg":10.8710992,"altitude":34,"angle":288,"satellites":49,"speed":7,"hex_longitude":"2d554ec0","hex_latitude":"067acc50","is_valid_coordinates":true} 
[2026-11-04 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210100736001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39072893744709632,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6148187575376766976,"note":"Value kept but may cause issues"} 
[2026-11-04 16:21:49] 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-11-04 16:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793789463000,"timestamp_ms":1793789463000,"timestamp_seconds":1793789463,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f09d8"} 
[2026-11-04 16:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 16:21: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-11-04 16: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-11-04 16:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":232666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210100736001,"66":27919,"15":206,"19":47872,"24":7,"16":39072893744709632,"45":6148187575376766976},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210100736001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:21:49] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:21:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39072893744709632,"km_value":39072893744709.63,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6148187575376766976,"description":"Unknown IO ID 45"} 
[2026-11-04 16:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210100736001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":7,"odometer":null,"unknown_45":6148187575376766976}} 
[2026-11-04 16:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":232666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:21:49] local.INFO: GPS data processed {"connection_id":232666,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:21:49] local.INFO: Acknowledgment sent {"connection_id":232666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:22:06] local.INFO: TCP Data received {"connection_id":229509,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:06] local.INFO: Processing buffer {"connection_id":229509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:06] local.INFO: IMEI packet received {"connection_id":229509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":229509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:22:09] local.INFO: TCP Data received {"connection_id":229509,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:09] local.INFO: Processing buffer {"connection_id":229509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:09] local.INFO: IMEI packet received {"connection_id":229509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":229509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:22:11] local.INFO: TCP Data received {"connection_id":229509,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:11] local.INFO: Processing buffer {"connection_id":229509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:22:11] local.INFO: IMEI packet received {"connection_id":229509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:22:12] local.INFO: TCP Data received {"connection_id":229509,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f11a8012d554d40067accf80022013531..."} 
[2026-11-04 16:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f11a8012d554d40067accf80022013531..."} 
[2026-11-04 16:22:12] local.INFO: Processing buffer {"connection_id":229509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f11a8012d554d40067accf80022013531..."} 
[2026-11-04 16:22:12] local.INFO: Packet analysis {"connection_id":229509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:22:12] local.INFO: Extracted packet for processing {"connection_id":229509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:22:12] local.INFO: GPS Element Parsed {"raw_longitude":760565056,"raw_latitude":108711160,"longitude_deg":76.0565056,"latitude_deg":10.871116,"altitude":34,"angle":309,"satellites":49,"speed":9,"hex_longitude":"2d554d40","hex_latitude":"067accf8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210102528001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39072915219546112,"note":"Value kept but may cause issues"} 
[2026-11-04 16:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6147061675469852672,"note":"Value kept but may cause issues"} 
[2026-11-04 16:22:12] 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-11-04 16:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793789465000,"timestamp_ms":1793789465000,"timestamp_seconds":1793789465,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f11a8"} 
[2026-11-04 16:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:22: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-11-04 16: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-11-04 16:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210102528001,"66":27865,"15":206,"19":47872,"24":9,"16":39072915219546112,"45":6147061675469852672},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210102528001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:22:12] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:22:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39072915219546112,"km_value":39072915219546.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6147061675469852672,"description":"Unknown IO ID 45"} 
[2026-11-04 16:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210102528001,"power":27865,"unknown_15":206,"unknown_19":47872,"ignition":9,"odometer":null,"unknown_45":6147061675469852672}} 
[2026-11-04 16:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":229509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:22:12] local.INFO: GPS data processed {"connection_id":229509,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:22:12] local.INFO: Acknowledgment sent {"connection_id":229509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:22:43] local.INFO: TCP Data received {"connection_id":229509,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f1d60012d554bc0067acec80023014930..."} 
[2026-11-04 16:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f1d60012d554bc0067acec80023014930..."} 
[2026-11-04 16:22:43] local.INFO: Processing buffer {"connection_id":229509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f1d60012d554bc0067acec80023014930..."} 
[2026-11-04 16:22:43] local.INFO: Packet analysis {"connection_id":229509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:22:43] local.INFO: Extracted packet for processing {"connection_id":229509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:22:43] local.INFO: GPS Element Parsed {"raw_longitude":760564672,"raw_latitude":108711624,"longitude_deg":76.0564672,"latitude_deg":10.8711624,"altitude":35,"angle":329,"satellites":48,"speed":11,"hex_longitude":"2d554bc0","hex_latitude":"067acec8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210103040001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39072945284317184,"note":"Value kept but may cause issues"} 
[2026-11-04 16:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6146639463004829696,"note":"Value kept but may cause issues"} 
[2026-11-04 16:22:43] 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-11-04 16:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793789468000,"timestamp_ms":1793789468000,"timestamp_seconds":1793789468,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f1d60"} 
[2026-11-04 16:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:22: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-11-04 16: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-11-04 16:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210103040001,"66":27789,"15":206,"19":47872,"24":11,"16":39072945284317184,"45":6146639463004829696},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210103040001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:22:43] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:22:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39072945284317184,"km_value":39072945284317.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6146639463004829696,"description":"Unknown IO ID 45"} 
[2026-11-04 16:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210103040001,"power":27789,"unknown_15":206,"unknown_19":47872,"ignition":11,"odometer":null,"unknown_45":6146639463004829696}} 
[2026-11-04 16:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":229509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:22:44] local.INFO: GPS data processed {"connection_id":229509,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:22:44] local.INFO: Acknowledgment sent {"connection_id":229509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:23:11] local.INFO: TCP Data received {"connection_id":232668,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:11] local.INFO: Processing buffer {"connection_id":232668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:11] local.INFO: IMEI packet received {"connection_id":232668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":232668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:23:12] local.INFO: TCP Data received {"connection_id":232668,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:12] local.INFO: Processing buffer {"connection_id":232668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:12] local.INFO: IMEI packet received {"connection_id":232668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":232668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:23:18] local.INFO: TCP Data received {"connection_id":232668,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:18] local.INFO: Processing buffer {"connection_id":232668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:23:18] local.INFO: IMEI packet received {"connection_id":232668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":232668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:23:23] local.INFO: TCP Data received {"connection_id":232668,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f2d00012d554a40067ad210002301582c..."} 
[2026-11-04 16:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f2d00012d554a40067ad210002301582c..."} 
[2026-11-04 16:23:23] local.INFO: Processing buffer {"connection_id":232668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f2d00012d554a40067ad210002301582c..."} 
[2026-11-04 16:23:23] local.INFO: Packet analysis {"connection_id":232668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:23:23] local.INFO: Extracted packet for processing {"connection_id":232668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":760564288,"raw_latitude":108712464,"longitude_deg":76.0564288,"latitude_deg":10.8712464,"altitude":35,"angle":344,"satellites":44,"speed":6,"hex_longitude":"2d554a40","hex_latitude":"067ad210","is_valid_coordinates":true} 
[2026-11-04 16:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210103808001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39072992528957440,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6146217250539882496,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:23] 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-11-04 16:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793789472000,"timestamp_ms":1793789472000,"timestamp_seconds":1793789472,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f2d00"} 
[2026-11-04 16:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 16:23:23] 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-11-04 16:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210103808001,"66":27767,"15":206,"19":47872,"24":6,"16":39072992528957440,"45":6146217250539882496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210103808001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:23:23] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:23:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39072992528957440,"km_value":39072992528957.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6146217250539882496,"description":"Unknown IO ID 45"} 
[2026-11-04 16:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210103808001,"power":27767,"unknown_15":206,"unknown_19":47872,"ignition":6,"odometer":null,"unknown_45":6146217250539882496}} 
[2026-11-04 16:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":232668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:23:23] local.INFO: GPS data processed {"connection_id":232668,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:23:23] local.INFO: Acknowledgment sent {"connection_id":232668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:23:34] local.INFO: TCP Data received {"connection_id":232668,"ip":"117.224.67.174","data_length":1360,"data_hex":"000000000000030f8e0a000001a1a62f30e8012d554a00067ad3500023000b2c..."} 
[2026-11-04 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232668,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1a62f30e8012d554a00067ad3500023000b2c..."} 
[2026-11-04 16:23:34] local.INFO: Processing buffer {"connection_id":232668,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1a62f30e8012d554a00067ad3500023000b2c..."} 
[2026-11-04 16:23:34] local.INFO: Packet analysis {"connection_id":232668,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:23:34] local.INFO: Extracted packet for processing {"connection_id":232668,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":760564224,"raw_latitude":108712784,"longitude_deg":76.0564224,"latitude_deg":10.8712784,"altitude":35,"angle":11,"satellites":44,"speed":6,"hex_longitude":"2d554a00","hex_latitude":"067ad350","is_valid_coordinates":true} 
[2026-11-04 16:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210104832001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39073005413859328,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6145795038075031552,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:34] 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-11-04 16:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793789473000,"timestamp_ms":1793789473000,"timestamp_seconds":1793789473,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f30e8"} 
[2026-11-04 16:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 16:23: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-11-04 16:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":232668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":232668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":232668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210104832001,"66":27919,"15":206,"19":47872,"24":6,"16":39073005413859328,"45":6145795038075031552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210104832001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:23:34] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:23:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39073005413859328,"km_value":39073005413859.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6145795038075031552,"description":"Unknown IO ID 45"} 
[2026-11-04 16:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210104832001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":6,"odometer":null,"unknown_45":6145795038075031552}} 
[2026-11-04 16:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":232668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:23:34] local.INFO: GPS data processed {"connection_id":232668,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:23:34] local.INFO: Acknowledgment sent {"connection_id":232668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:23:34] local.INFO: Packet analysis {"connection_id":232668,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:23:34] local.INFO: Incomplete packet, waiting for more data {"connection_id":232668,"needed":795,"available":565} 
[2026-11-04 16:23:39] local.INFO: TCP Data received {"connection_id":232668,"ip":"117.224.67.174","data_length":230,"data_hex":"2d557000067ae0f0002000ea2f001c0000000a000400ef0100715f00f0010045..."} 
[2026-11-04 16:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232668,"packet_length":230,"packet_hex":"2d557000067ae0f0002000ea2f001c0000000a000400ef0100715f00f0010045..."} 
[2026-11-04 16:23:39] local.INFO: Processing buffer {"connection_id":232668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f34d0012d554a80067ad4c00023001a23..."} 
[2026-11-04 16:23:39] local.INFO: Packet analysis {"connection_id":232668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:23:39] local.INFO: Extracted packet for processing {"connection_id":232668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":760564352,"raw_latitude":108713152,"longitude_deg":76.0564352,"latitude_deg":10.8713152,"altitude":35,"angle":26,"satellites":35,"speed":8,"hex_longitude":"2d554a80","hex_latitude":"067ad4c0","is_valid_coordinates":true} 
[2026-11-04 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210105088001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39073026888695808,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6145724669330935808,"note":"Value kept but may cause issues"} 
[2026-11-04 16:23:39] 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-11-04 16:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793789474000,"timestamp_ms":1793789474000,"timestamp_seconds":1793789474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f34d0"} 
[2026-11-04 16:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":232668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":232668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":232668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210105088001,"66":27919,"15":206,"19":47872,"24":8,"16":39073026888695808,"45":6145724669330935808},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210105088001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:23:39] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:23:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39073026888695808,"km_value":39073026888695.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6145724669330935808,"description":"Unknown IO ID 45"} 
[2026-11-04 16:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210105088001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":8,"odometer":null,"unknown_45":6145724669330935808}} 
[2026-11-04 16:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":232668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:23:39] local.INFO: GPS data processed {"connection_id":232668,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:23:39] local.INFO: Acknowledgment sent {"connection_id":232668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:24:07] local.INFO: TCP Data received {"connection_id":229511,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:24:07] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:24:07] local.INFO: IMEI packet received {"connection_id":229511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":229511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:24:11] local.INFO: TCP Data received {"connection_id":229511,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:24:11] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:24:11] local.INFO: IMEI packet received {"connection_id":229511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":229511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:24:13] local.INFO: TCP Data received {"connection_id":229511,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f38b8012d554b00067ad5d00023003223..."} 
[2026-11-04 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f38b8012d554b00067ad5d00023003223..."} 
[2026-11-04 16:24:13] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f38b8012d554b00067ad5d00023003223..."} 
[2026-11-04 16:24:13] local.INFO: Packet analysis {"connection_id":229511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:24:13] local.INFO: Extracted packet for processing {"connection_id":229511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:24:13] local.INFO: GPS Element Parsed {"raw_longitude":760564480,"raw_latitude":108713424,"longitude_deg":76.056448,"latitude_deg":10.8713424,"altitude":35,"angle":50,"satellites":35,"speed":10,"hex_longitude":"2d554b00","hex_latitude":"067ad5d0","is_valid_coordinates":true} 
[2026-11-04 16:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210105344001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39073039773597696,"note":"Value kept but may cause issues"} 
[2026-11-04 16:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6145865406819385344,"note":"Value kept but may cause issues"} 
[2026-11-04 16:24:13] 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-11-04 16:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793789475000,"timestamp_ms":1793789475000,"timestamp_seconds":1793789475,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f38b8"} 
[2026-11-04 16:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:24: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-11-04 16:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210105344001,"66":27919,"15":206,"19":47872,"24":10,"16":39073039773597696,"45":6145865406819385344},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210105344001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:24:13] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:24:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39073039773597696,"km_value":39073039773597.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6145865406819385344,"description":"Unknown IO ID 45"} 
[2026-11-04 16:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210105344001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":10,"odometer":null,"unknown_45":6145865406819385344}} 
[2026-11-04 16:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":229511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:24:13] local.INFO: GPS data processed {"connection_id":229511,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:24:13] local.INFO: Acknowledgment sent {"connection_id":229511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:24:33] local.INFO: TCP Data received {"connection_id":230826,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:24:33] local.INFO: Processing buffer {"connection_id":230826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:24:33] local.INFO: IMEI packet received {"connection_id":230826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":230826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:24:45] local.INFO: TCP Data received {"connection_id":229511,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f3ca0012d554c00067ad6800023004122..."} 
[2026-11-04 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f3ca0012d554c00067ad6800023004122..."} 
[2026-11-04 16:24:45] local.INFO: Processing buffer {"connection_id":229511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f3ca0012d554c00067ad6800023004122..."} 
[2026-11-04 16:24:45] local.INFO: Packet analysis {"connection_id":229511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:24:45] local.INFO: Extracted packet for processing {"connection_id":229511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":760564736,"raw_latitude":108713600,"longitude_deg":76.0564736,"latitude_deg":10.87136,"altitude":35,"angle":65,"satellites":34,"speed":10,"hex_longitude":"2d554c00","hex_latitude":"067ad680","is_valid_coordinates":true} 
[2026-11-04 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210105600001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39073052658499584,"note":"Value kept but may cause issues"} 
[2026-11-04 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6146006144307810304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:24:45] 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-11-04 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793789476000,"timestamp_ms":1793789476000,"timestamp_seconds":1793789476,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f3ca0"} 
[2026-11-04 16:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:24:45] 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-11-04 16:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210105600001,"66":27919,"15":206,"19":47872,"24":10,"16":39073052658499584,"45":6146006144307810304},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210105600001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:24:45] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:24:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39073052658499584,"km_value":39073052658499.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6146006144307810304,"description":"Unknown IO ID 45"} 
[2026-11-04 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210105600001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":10,"odometer":null,"unknown_45":6146006144307810304}} 
[2026-11-04 16:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":229511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:24:45] local.INFO: GPS data processed {"connection_id":229511,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:24:45] local.INFO: Acknowledgment sent {"connection_id":229511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:25:01] local.INFO: TCP Data received {"connection_id":229024,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229024,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:01] local.INFO: Processing buffer {"connection_id":229024,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:01] local.INFO: IMEI packet received {"connection_id":229024,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":229024,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:25:02] local.INFO: TCP Data received {"connection_id":229024,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6328478012d0e3100070669580027012e20..."} 
[2026-11-04 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6328478012d0e3100070669580027012e20..."} 
[2026-11-04 16:25:02] local.INFO: Processing buffer {"connection_id":229024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6328478012d0e3100070669580027012e20..."} 
[2026-11-04 16:25:02] local.INFO: Packet analysis {"connection_id":229024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a632"} 
[2026-11-04 16:25:02] local.INFO: Extracted packet for processing {"connection_id":229024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a632"} 
[2026-11-04 16:25:02] local.INFO: GPS Element Parsed {"raw_longitude":755904768,"raw_latitude":117860696,"longitude_deg":75.5904768,"latitude_deg":11.7860696,"altitude":39,"angle":302,"satellites":32,"speed":6,"hex_longitude":"2d0e3100","hex_latitude":"07066958","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210160128001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39295725237960704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022950464282970112,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793789691000,"timestamp_ms":1793789691000,"timestamp_seconds":1793789691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6328478"} 
[2026-11-04 16:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:25:02] 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-11-04 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 16:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":229024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":229024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":229024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210160128001,"66":14298,"165":206,"94":11008,"24":6,"16":39295725237960704,"45":1022950464282970112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 16:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210160128001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:25:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 16:25:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 16:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39295725237960704,"km_value":39295725237960.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022950464282970112,"description":"Unknown IO ID 45"} 
[2026-11-04 16:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210160128001,"power":14298,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1022950464282970112}} 
[2026-11-04 16:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":229024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:25:02] local.INFO: GPS data processed {"connection_id":229024,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:25:02] local.INFO: Acknowledgment sent {"connection_id":229024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:25:06] local.INFO: TCP Data received {"connection_id":230827,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:25:06] local.INFO: Processing buffer {"connection_id":230827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:25:06] local.INFO: IMEI packet received {"connection_id":230827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":230827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:25:08] local.INFO: TCP Data received {"connection_id":229025,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:25:08] local.INFO: Processing buffer {"connection_id":229025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:25:08] local.INFO: IMEI packet received {"connection_id":229025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":229025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:25:11] local.INFO: TCP Data received {"connection_id":230827,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:25:11] local.INFO: Processing buffer {"connection_id":230827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:25:11] local.INFO: IMEI packet received {"connection_id":230827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":230827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:25:14] local.INFO: TCP Data received {"connection_id":230827,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f7350012d556940067aea280022003928..."} 
[2026-11-04 16:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f7350012d556940067aea280022003928..."} 
[2026-11-04 16:25:15] local.INFO: Processing buffer {"connection_id":230827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f7350012d556940067aea280022003928..."} 
[2026-11-04 16:25:15] local.INFO: Packet analysis {"connection_id":230827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:25:15] local.INFO: Extracted packet for processing {"connection_id":230827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":760572224,"raw_latitude":108718632,"longitude_deg":76.0572224,"latitude_deg":10.8718632,"altitude":34,"angle":57,"satellites":40,"speed":36,"hex_longitude":"2d556940","hex_latitude":"067aea28","is_valid_coordinates":true} 
[2026-11-04 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210105856001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39073486450196480,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6146287619284566016,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:15] 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-11-04 16:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793789490000,"timestamp_ms":1793789490000,"timestamp_seconds":1793789490,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f7350"} 
[2026-11-04 16:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:25:15] 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-11-04 16:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210105856001,"66":27919,"15":206,"19":47872,"24":36,"16":39073486450196480,"45":6146287619284566016},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210105856001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:25:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:25:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39073486450196480,"km_value":39073486450196.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6146287619284566016,"description":"Unknown IO ID 45"} 
[2026-11-04 16:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210105856001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":36,"odometer":null,"unknown_45":6146287619284566016}} 
[2026-11-04 16:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":230827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:25:15] local.INFO: GPS data processed {"connection_id":230827,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:25:15] local.INFO: Acknowledgment sent {"connection_id":230827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:25:33] local.INFO: TCP Data received {"connection_id":229024,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6329030012d0e2f4007066a200027011d21..."} 
[2026-11-04 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6329030012d0e2f4007066a200027011d21..."} 
[2026-11-04 16:25:33] local.INFO: Processing buffer {"connection_id":229024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6329030012d0e2f4007066a200027011d21..."} 
[2026-11-04 16:25:33] local.INFO: Packet analysis {"connection_id":229024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a632"} 
[2026-11-04 16:25:33] local.INFO: Extracted packet for processing {"connection_id":229024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a632"} 
[2026-11-04 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":755904320,"raw_latitude":117860896,"longitude_deg":75.590432,"latitude_deg":11.7860896,"altitude":39,"angle":285,"satellites":33,"speed":6,"hex_longitude":"2d0e2f40","hex_latitude":"07066a20","is_valid_coordinates":true} 
[2026-11-04 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-11-04 16:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210160896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39295751007764480,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620562151424,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793789694000,"timestamp_ms":1793789694000,"timestamp_seconds":1793789694,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6329030"} 
[2026-11-04 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-11-04 16:25: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-11-04 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-11-04 16:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 16:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":229024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":229024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":229024,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210160896001,"66":14309,"165":206,"94":11008,"24":6,"16":39295751007764480,"45":1022598620562151424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 16:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210160896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:25:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 16:25:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-11-04 16:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39295751007764480,"km_value":39295751007764.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620562151424,"description":"Unknown IO ID 45"} 
[2026-11-04 16:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210160896001,"power":14309,"unknown_165":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":1022598620562151424}} 
[2026-11-04 16:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":229024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59778,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:25:33] local.INFO: GPS data processed {"connection_id":229024,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:25:33] local.INFO: Acknowledgment sent {"connection_id":229024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:25:46] local.INFO: TCP Data received {"connection_id":230827,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62f9678012d558740067afe780023003829..."} 
[2026-11-04 16:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62f9678012d558740067afe780023003829..."} 
[2026-11-04 16:25:46] local.INFO: Processing buffer {"connection_id":230827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62f9678012d558740067afe780023003829..."} 
[2026-11-04 16:25:46] local.INFO: Packet analysis {"connection_id":230827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:25:46] local.INFO: Extracted packet for processing {"connection_id":230827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":760579904,"raw_latitude":108723832,"longitude_deg":76.0579904,"latitude_deg":10.8723832,"altitude":35,"angle":56,"satellites":41,"speed":40,"hex_longitude":"2d558740","hex_latitude":"067afe78","is_valid_coordinates":true} 
[2026-11-04 16:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210109440001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39073933126795264,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6154520762354640896,"note":"Value kept but may cause issues"} 
[2026-11-04 16:25:46] 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-11-04 16:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793789499000,"timestamp_ms":1793789499000,"timestamp_seconds":1793789499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62f9678"} 
[2026-11-04 16:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210109440001,"66":28050,"15":206,"19":47872,"24":40,"16":39073933126795264,"45":6154520762354640896},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210109440001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:25:46] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:25:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39073933126795264,"km_value":39073933126795.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6154520762354640896,"description":"Unknown IO ID 45"} 
[2026-11-04 16:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210109440001,"power":28050,"unknown_15":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":6154520762354640896}} 
[2026-11-04 16:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":230827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:25:46] local.INFO: GPS data processed {"connection_id":230827,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:25:46] local.INFO: Acknowledgment sent {"connection_id":230827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:25:56] local.INFO: TCP Data received {"connection_id":232670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:56] local.INFO: Processing buffer {"connection_id":232670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:56] local.INFO: IMEI packet received {"connection_id":232670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":232670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:25:58] local.INFO: TCP Data received {"connection_id":232670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:58] local.INFO: Processing buffer {"connection_id":232670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:58] local.INFO: IMEI packet received {"connection_id":232670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":232670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:25:59] local.INFO: TCP Data received {"connection_id":232670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:59] local.INFO: Processing buffer {"connection_id":232670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:25:59] local.INFO: IMEI packet received {"connection_id":232670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":232670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:26:00] local.INFO: TCP Data received {"connection_id":232670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232670,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:26:00] local.INFO: Processing buffer {"connection_id":232670,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:26:00] local.INFO: IMEI packet received {"connection_id":232670,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":232670,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:26:06] local.INFO: TCP Data received {"connection_id":232671,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:26:06] local.INFO: Processing buffer {"connection_id":232671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:26:06] local.INFO: IMEI packet received {"connection_id":232671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":232671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:26:12] local.INFO: TCP Data received {"connection_id":232671,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:26:12] local.INFO: Processing buffer {"connection_id":232671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:26:12] local.INFO: IMEI packet received {"connection_id":232671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":232671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:26:15] local.INFO: TCP Data received {"connection_id":232671,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62fb9a0012d55a7c0067b10f80023003f2e..."} 
[2026-11-04 16:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62fb9a0012d55a7c0067b10f80023003f2e..."} 
[2026-11-04 16:26:15] local.INFO: Processing buffer {"connection_id":232671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62fb9a0012d55a7c0067b10f80023003f2e..."} 
[2026-11-04 16:26:15] local.INFO: Packet analysis {"connection_id":232671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:26:15] local.INFO: Extracted packet for processing {"connection_id":232671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":760588224,"raw_latitude":108728568,"longitude_deg":76.0588224,"latitude_deg":10.8728568,"altitude":35,"angle":63,"satellites":46,"speed":43,"hex_longitude":"2d55a7c0","hex_latitude":"067b10f8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210111744001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39074388393328640,"note":"Value kept but may cause issues"} 
[2026-11-04 16:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6162965011657291776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:26:15] 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-11-04 16:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793789508000,"timestamp_ms":1793789508000,"timestamp_seconds":1793789508,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62fb9a0"} 
[2026-11-04 16:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 16:26:15] 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-11-04 16: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-11-04 16:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210111744001,"66":27919,"15":206,"19":47872,"24":43,"16":39074388393328640,"45":6162965011657291776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210111744001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:26:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:26:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39074388393328640,"km_value":39074388393328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6162965011657291776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210111744001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":6162965011657291776}} 
[2026-11-04 16:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":232671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:26:15] local.INFO: GPS data processed {"connection_id":232671,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:26:15] local.INFO: Acknowledgment sent {"connection_id":232671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:26:47] local.INFO: TCP Data received {"connection_id":232671,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62fd8e0012d55cbc0067b1e78002000482b..."} 
[2026-11-04 16:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62fd8e0012d55cbc0067b1e78002000482b..."} 
[2026-11-04 16:26:47] local.INFO: Processing buffer {"connection_id":232671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62fd8e0012d55cbc0067b1e78002000482b..."} 
[2026-11-04 16:26:47] local.INFO: Packet analysis {"connection_id":232671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:26:47] local.INFO: Extracted packet for processing {"connection_id":232671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":760597440,"raw_latitude":108732024,"longitude_deg":76.059744,"latitude_deg":10.8732024,"altitude":32,"angle":72,"satellites":43,"speed":51,"hex_longitude":"2d55cbc0","hex_latitude":"067b1e78","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210114048001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39074860839731200,"note":"Value kept but may cause issues"} 
[2026-11-04 16:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6172112948401600512,"note":"Value kept but may cause issues"} 
[2026-11-04 16:26:47] 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-11-04 16:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793789516000,"timestamp_ms":1793789516000,"timestamp_seconds":1793789516,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62fd8e0"} 
[2026-11-04 16:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210114048001,"66":27843,"15":206,"19":47872,"24":51,"16":39074860839731200,"45":6172112948401600512},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210114048001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:26:47] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:26:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39074860839731200,"km_value":39074860839731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6172112948401600512,"description":"Unknown IO ID 45"} 
[2026-11-04 16:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210114048001,"power":27843,"unknown_15":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":6172112948401600512}} 
[2026-11-04 16:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":232671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:26:47] local.INFO: GPS data processed {"connection_id":232671,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:26:47] local.INFO: Acknowledgment sent {"connection_id":232671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:27:18] local.INFO: TCP Data received {"connection_id":230828,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:27:18] local.INFO: Processing buffer {"connection_id":230828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:27:18] local.INFO: IMEI packet received {"connection_id":230828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":230828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:27:21] local.INFO: TCP Data received {"connection_id":230828,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:27:21] local.INFO: Processing buffer {"connection_id":230828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:27:21] local.INFO: IMEI packet received {"connection_id":230828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":230828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:27:24] local.INFO: TCP Data received {"connection_id":230828,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a62ff438012d55ef40067b28c8001e004a2f..."} 
[2026-11-04 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a62ff438012d55ef40067b28c8001e004a2f..."} 
[2026-11-04 16:27:24] local.INFO: Processing buffer {"connection_id":230828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a62ff438012d55ef40067b28c8001e004a2f..."} 
[2026-11-04 16:27:24] local.INFO: Packet analysis {"connection_id":230828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:27:24] local.INFO: Extracted packet for processing {"connection_id":230828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a62f"} 
[2026-11-04 16:27:24] local.INFO: GPS Element Parsed {"raw_longitude":760606528,"raw_latitude":108734664,"longitude_deg":76.0606528,"latitude_deg":10.8734664,"altitude":30,"angle":74,"satellites":47,"speed":53,"hex_longitude":"2d55ef40","hex_latitude":"067b28c8","is_valid_coordinates":true} 
[2026-11-04 16:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210116096001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39075311811297280,"note":"Value kept but may cause issues"} 
[2026-11-04 16:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6182246047564068864,"note":"Value kept but may cause issues"} 
[2026-11-04 16:27:24] 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-11-04 16:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793789523000,"timestamp_ms":1793789523000,"timestamp_seconds":1793789523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a62ff438"} 
[2026-11-04 16:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 16:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210116096001,"66":27919,"15":206,"19":47872,"24":53,"16":39075311811297280,"45":6182246047564068864},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210116096001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:27:24] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:27:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39075311811297280,"km_value":39075311811297.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6182246047564068864,"description":"Unknown IO ID 45"} 
[2026-11-04 16:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210116096001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":6182246047564068864}} 
[2026-11-04 16:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":230828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:27:24] local.INFO: GPS data processed {"connection_id":230828,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:27:24] local.INFO: Acknowledgment sent {"connection_id":230828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:28:11] local.INFO: TCP Data received {"connection_id":229512,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:28:11] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:28:11] local.INFO: IMEI packet received {"connection_id":229512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":229512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:28:17] local.INFO: TCP Data received {"connection_id":229512,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:28:17] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:28:17] local.INFO: IMEI packet received {"connection_id":229512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":229512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:28:19] local.INFO: TCP Data received {"connection_id":229512,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6301378012d561400067b3348001d00492c..."} 
[2026-11-04 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6301378012d561400067b3348001d00492c..."} 
[2026-11-04 16:28:19] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6301378012d561400067b3348001d00492c..."} 
[2026-11-04 16:28:19] local.INFO: Packet analysis {"connection_id":229512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:28:19] local.INFO: Extracted packet for processing {"connection_id":229512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":760615936,"raw_latitude":108737352,"longitude_deg":76.0615936,"latitude_deg":10.8737352,"altitude":29,"angle":73,"satellites":44,"speed":36,"hex_longitude":"2d561400","hex_latitude":"067b3348","is_valid_coordinates":true} 
[2026-11-04 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210117888001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39075775667765248,"note":"Value kept but may cause issues"} 
[2026-11-04 16:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6192238409237972992,"note":"Value kept but may cause issues"} 
[2026-11-04 16:28:19] 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-11-04 16:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793789531000,"timestamp_ms":1793789531000,"timestamp_seconds":1793789531,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6301378"} 
[2026-11-04 16:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 16:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210117888001,"66":27865,"15":206,"19":47872,"24":36,"16":39075775667765248,"45":6192238409237972992},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210117888001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:28:19] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:28:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39075775667765248,"km_value":39075775667765.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6192238409237972992,"description":"Unknown IO ID 45"} 
[2026-11-04 16:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210117888001,"power":27865,"unknown_15":206,"unknown_19":47872,"ignition":36,"odometer":null,"unknown_45":6192238409237972992}} 
[2026-11-04 16:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":229512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:28:19] local.INFO: GPS data processed {"connection_id":229512,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:28:19] local.INFO: Acknowledgment sent {"connection_id":229512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:28:50] local.INFO: TCP Data received {"connection_id":229512,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6306580012d563540067b3ce80020004930..."} 
[2026-11-04 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6306580012d563540067b3ce80020004930..."} 
[2026-11-04 16:28:50] local.INFO: Processing buffer {"connection_id":229512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6306580012d563540067b3ce80020004930..."} 
[2026-11-04 16:28:50] local.INFO: Packet analysis {"connection_id":229512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:28:50] local.INFO: Extracted packet for processing {"connection_id":229512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":760624448,"raw_latitude":108739816,"longitude_deg":76.0624448,"latitude_deg":10.8739816,"altitude":32,"angle":73,"satellites":48,"speed":20,"hex_longitude":"2d563540","hex_latitude":"067b3ce8","is_valid_coordinates":true} 
[2026-11-04 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210119936001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076200869527552,"note":"Value kept but may cause issues"} 
[2026-11-04 16:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6202582614632777728,"note":"Value kept but may cause issues"} 
[2026-11-04 16:28:50] 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-11-04 16:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793789552000,"timestamp_ms":1793789552000,"timestamp_seconds":1793789552,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6306580"} 
[2026-11-04 16:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210119936001,"66":27908,"15":206,"19":47872,"24":20,"16":39076200869527552,"45":6202582614632777728},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-11-04 16:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210119936001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:28:50] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-11-04 16:28:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076200869527552,"km_value":39076200869527.555,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6202582614632777728,"description":"Unknown IO ID 45"} 
[2026-11-04 16:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210119936001,"power":27908,"unknown_15":206,"unknown_19":47872,"ignition":20,"odometer":null,"unknown_45":6202582614632777728}} 
[2026-11-04 16:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":229512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:28:50] local.INFO: GPS data processed {"connection_id":229512,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:28:50] local.INFO: Acknowledgment sent {"connection_id":229512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:29:06] local.INFO: TCP Data received {"connection_id":229514,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:29:06] local.INFO: Processing buffer {"connection_id":229514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:29:06] local.INFO: IMEI packet received {"connection_id":229514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":229514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:29:12] local.INFO: TCP Data received {"connection_id":229514,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:29:12] local.INFO: Processing buffer {"connection_id":229514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:29:12] local.INFO: IMEI packet received {"connection_id":229514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":229514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:29:16] local.INFO: TCP Data received {"connection_id":229514,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6309848012d565840067b46f80023004931..."} 
[2026-11-04 16:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6309848012d565840067b46f80023004931..."} 
[2026-11-04 16:29:16] local.INFO: Processing buffer {"connection_id":229514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6309848012d565840067b46f80023004931..."} 
[2026-11-04 16:29:16] local.INFO: Packet analysis {"connection_id":229514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:29:16] local.INFO: Extracted packet for processing {"connection_id":229514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:29:16] local.INFO: GPS Element Parsed {"raw_longitude":760633408,"raw_latitude":108742392,"longitude_deg":76.0633408,"latitude_deg":10.8742392,"altitude":35,"angle":73,"satellites":49,"speed":32,"hex_longitude":"2d565840","hex_latitude":"067b46f8","is_valid_coordinates":true} 
[2026-11-04 16:29: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-11-04 16:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210125312001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076643251159040,"note":"Value kept but may cause issues"} 
[2026-11-04 16:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6211941657609037824,"note":"Value kept but may cause issues"} 
[2026-11-04 16:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793789565000,"timestamp_ms":1793789565000,"timestamp_seconds":1793789565,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6309848"} 
[2026-11-04 16:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 16:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:29: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-11-04 16:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210125312001,"66":27930,"14":206,"19":47872,"24":32,"16":39076643251159040,"45":6211941657609037824},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210125312001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:29:16] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:29:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076643251159040,"km_value":39076643251159.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6211941657609037824,"description":"Unknown IO ID 45"} 
[2026-11-04 16:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210125312001,"power":27930,"unknown_14":206,"unknown_19":47872,"ignition":32,"odometer":null,"unknown_45":6211941657609037824}} 
[2026-11-04 16:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":229514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:29:16] local.INFO: GPS data processed {"connection_id":229514,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:29:16] local.INFO: Acknowledgment sent {"connection_id":229514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:29:49] local.INFO: TCP Data received {"connection_id":229514,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6309c30012d565b40067b47d00024004a30..."} 
[2026-11-04 16:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6309c30012d565b40067b47d00024004a30..."} 
[2026-11-04 16:29:49] local.INFO: Processing buffer {"connection_id":229514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6309c30012d565b40067b47d00024004a30..."} 
[2026-11-04 16:29:49] local.INFO: Packet analysis {"connection_id":229514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:29:49] local.INFO: Extracted packet for processing {"connection_id":229514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a630"} 
[2026-11-04 16:29:49] local.INFO: GPS Element Parsed {"raw_longitude":760634176,"raw_latitude":108742608,"longitude_deg":76.0634176,"latitude_deg":10.8742608,"altitude":36,"angle":74,"satellites":48,"speed":32,"hex_longitude":"2d565b40","hex_latitude":"067b47d0","is_valid_coordinates":true} 
[2026-11-04 16:29: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-11-04 16:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128640001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6221793281794570240,"note":"Value kept but may cause issues"} 
[2026-11-04 16:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793789566000,"timestamp_ms":1793789566000,"timestamp_seconds":1793789566,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6309c30"} 
[2026-11-04 16:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:29:49] 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-11-04 16:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128640001,"66":27930,"14":206,"19":47872,"24":32,"16":39076681905864704,"45":6221793281794570240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128640001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:29:49] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:29:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6221793281794570240,"description":"Unknown IO ID 45"} 
[2026-11-04 16:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128640001,"power":27930,"unknown_14":206,"unknown_19":47872,"ignition":32,"odometer":null,"unknown_45":6221793281794570240}} 
[2026-11-04 16:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":229514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:29:49] local.INFO: GPS data processed {"connection_id":229514,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:29:49] local.INFO: Acknowledgment sent {"connection_id":229514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:30:12] local.INFO: TCP Data received {"connection_id":229031,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:30:12] local.INFO: Processing buffer {"connection_id":229031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:30:12] local.INFO: IMEI packet received {"connection_id":229031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":229031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:30:17] local.INFO: TCP Data received {"connection_id":229031,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:30:17] local.INFO: Processing buffer {"connection_id":229031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:30:17] local.INFO: IMEI packet received {"connection_id":229031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":229031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:30:18] local.INFO: TCP Data received {"connection_id":229031,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:30:18] local.INFO: Processing buffer {"connection_id":229031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:30:18] local.INFO: Packet analysis {"connection_id":229031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:30:18] local.INFO: Extracted packet for processing {"connection_id":229031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:30:18] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":48,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222637706724757504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793789869000,"timestamp_ms":1793789869000,"timestamp_seconds":1793789869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6353bc8"} 
[2026-11-04 16:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:30: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-11-04 16:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128896001,"66":26115,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6222637706724757504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:30:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:30:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222637706724757504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128896001,"power":26115,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6222637706724757504}} 
[2026-11-04 16:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":229031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:30:18] local.INFO: GPS data processed {"connection_id":229031,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:30:18] local.INFO: Acknowledgment sent {"connection_id":229031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:30:23] local.INFO: TCP Data received {"connection_id":229031,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:30:24] local.INFO: Processing buffer {"connection_id":229031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:30:24] local.INFO: Packet analysis {"connection_id":229031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:30:24] local.INFO: Extracted packet for processing {"connection_id":229031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:30:24] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":48,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222637706724757504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793789869000,"timestamp_ms":1793789869000,"timestamp_seconds":1793789869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6353bc8"} 
[2026-11-04 16:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:30:24] 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-11-04 16:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128896001,"66":26115,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6222637706724757504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:30:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:30:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222637706724757504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128896001,"power":26115,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6222637706724757504}} 
[2026-11-04 16:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":229031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:30:24] local.INFO: GPS data processed {"connection_id":229031,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:30:24] local.INFO: Acknowledgment sent {"connection_id":229031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:30:33] local.INFO: TCP Data received {"connection_id":229032,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:30:33] local.INFO: Processing buffer {"connection_id":229032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:30:33] local.INFO: IMEI packet received {"connection_id":229032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":229032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:31:05] local.INFO: TCP Data received {"connection_id":232673,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:31:05] local.INFO: Processing buffer {"connection_id":232673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:31:05] local.INFO: IMEI packet received {"connection_id":232673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":232673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:31:05] local.INFO: TCP Data received {"connection_id":232673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a637df90012d0de8400706bf60001f007b22..."} 
[2026-11-04 16:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a637df90012d0de8400706bf60001f007b22..."} 
[2026-11-04 16:31:05] local.INFO: Processing buffer {"connection_id":232673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a637df90012d0de8400706bf60001f007b22..."} 
[2026-11-04 16:31:05] local.INFO: Packet analysis {"connection_id":232673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a637"} 
[2026-11-04 16:31:05] local.INFO: Extracted packet for processing {"connection_id":232673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a637"} 
[2026-11-04 16:31:05] local.INFO: GPS Element Parsed {"raw_longitude":755886144,"raw_latitude":117882720,"longitude_deg":75.5886144,"latitude_deg":11.788272,"altitude":31,"angle":123,"satellites":34,"speed":20,"hex_longitude":"2d0de840","hex_latitude":"0706bf60","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210250496001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39301244270936064,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1001628734802903040,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793790042000,"timestamp_ms":1793790042000,"timestamp_seconds":1793790042,"priority":1,"record_length":96,"hex_timestamp":"000001a1a637df90"} 
[2026-11-04 16:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:31: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-11-04 16: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":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-11-04 16:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":232673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":232673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":232673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210250496001,"66":13754,"219":206,"94":10240,"24":20,"16":39301244270936064,"45":1001628734802903040},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 16:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210250496001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39301244270936064,"km_value":39301244270936.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1001628734802903040,"description":"Unknown IO ID 45"} 
[2026-11-04 16:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210250496001,"power":13754,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1001628734802903040}} 
[2026-11-04 16:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":232673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:31:06] local.INFO: GPS data processed {"connection_id":232673,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:31:06] local.INFO: Acknowledgment sent {"connection_id":232673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:31:07] local.INFO: TCP Data received {"connection_id":229033,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:31:07] local.INFO: Processing buffer {"connection_id":229033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:31:07] local.INFO: IMEI packet received {"connection_id":229033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":229033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:31:12] local.INFO: TCP Data received {"connection_id":229033,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:31:12] local.INFO: Processing buffer {"connection_id":229033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:31:12] local.INFO: IMEI packet received {"connection_id":229033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":229033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:31:13] local.INFO: TCP Data received {"connection_id":229033,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:31:13] local.INFO: Processing buffer {"connection_id":229033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:31:13] local.INFO: Packet analysis {"connection_id":229033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:31:13] local.INFO: Extracted packet for processing {"connection_id":229033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":48,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222637706724757504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793789869000,"timestamp_ms":1793789869000,"timestamp_seconds":1793789869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6353bc8"} 
[2026-11-04 16:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:31: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-11-04 16: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-11-04 16:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128896001,"66":26115,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6222637706724757504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:31:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:31:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222637706724757504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128896001,"power":26115,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6222637706724757504}} 
[2026-11-04 16:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":229033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:31:13] local.INFO: GPS data processed {"connection_id":229033,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:31:13] local.INFO: Acknowledgment sent {"connection_id":229033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:31:13] local.INFO: TCP Data received {"connection_id":229515,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:31:13] local.INFO: Processing buffer {"connection_id":229515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:31:13] local.INFO: IMEI packet received {"connection_id":229515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":229515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:31:36] local.INFO: TCP Data received {"connection_id":232673,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a637e378012d0de9c00706be00001f008722..."} 
[2026-11-04 16:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a637e378012d0de9c00706be00001f008722..."} 
[2026-11-04 16:31:36] local.INFO: Processing buffer {"connection_id":232673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a637e378012d0de9c00706be00001f008722..."} 
[2026-11-04 16:31:36] local.INFO: Packet analysis {"connection_id":232673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a637"} 
[2026-11-04 16:31:36] local.INFO: Extracted packet for processing {"connection_id":232673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a637"} 
[2026-11-04 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":755886528,"raw_latitude":117882368,"longitude_deg":75.5886528,"latitude_deg":11.7882368,"altitude":31,"angle":135,"satellites":34,"speed":20,"hex_longitude":"2d0de9c0","hex_latitude":"0706be00","is_valid_coordinates":true} 
[2026-11-04 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210250752001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39301270040739840,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002121316012089344,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793790043000,"timestamp_ms":1793790043000,"timestamp_seconds":1793790043,"priority":1,"record_length":96,"hex_timestamp":"000001a1a637e378"} 
[2026-11-04 16:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-11-04 16:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":232673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":232673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":232673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210250752001,"66":13678,"219":206,"94":10240,"24":20,"16":39301270040739840,"45":1002121316012089344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 16:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210250752001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39301270040739840,"km_value":39301270040739.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002121316012089344,"description":"Unknown IO ID 45"} 
[2026-11-04 16:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210250752001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1002121316012089344}} 
[2026-11-04 16:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":232673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59791,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:31:37] local.INFO: GPS data processed {"connection_id":232673,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:31:37] local.INFO: Acknowledgment sent {"connection_id":232673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:31:46] local.INFO: TCP Data received {"connection_id":229033,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:31:46] local.INFO: Processing buffer {"connection_id":229033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:31:46] local.INFO: Packet analysis {"connection_id":229033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:31:46] local.INFO: Extracted packet for processing {"connection_id":229033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":48,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222637706724757504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793789869000,"timestamp_ms":1793789869000,"timestamp_seconds":1793789869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6353bc8"} 
[2026-11-04 16:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128896001,"66":26115,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6222637706724757504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:31:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:31:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222637706724757504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128896001,"power":26115,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6222637706724757504}} 
[2026-11-04 16:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":229033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:31:46] local.INFO: GPS data processed {"connection_id":229033,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:31:46] local.INFO: Acknowledgment sent {"connection_id":229033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:31:59] local.INFO: TCP Data received {"connection_id":229034,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:31:59] local.INFO: Processing buffer {"connection_id":229034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:31:59] local.INFO: IMEI packet received {"connection_id":229034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":229034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:32:05] local.INFO: TCP Data received {"connection_id":229034,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229034,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:05] local.INFO: Processing buffer {"connection_id":229034,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:05] local.INFO: IMEI packet received {"connection_id":229034,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":229034,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:32:05] local.INFO: TCP Data received {"connection_id":229034,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a638b280012d0def400706b1e0001e012f20..."} 
[2026-11-04 16:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a638b280012d0def400706b1e0001e012f20..."} 
[2026-11-04 16:32:05] local.INFO: Processing buffer {"connection_id":229034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a638b280012d0def400706b1e0001e012f20..."} 
[2026-11-04 16:32:05] local.INFO: Packet analysis {"connection_id":229034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a638"} 
[2026-11-04 16:32:05] local.INFO: Extracted packet for processing {"connection_id":229034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a638"} 
[2026-11-04 16:32:05] local.INFO: GPS Element Parsed {"raw_longitude":755887936,"raw_latitude":117879264,"longitude_deg":75.5887936,"latitude_deg":11.7879264,"altitude":30,"angle":303,"satellites":32,"speed":2,"hex_longitude":"2d0def40","hex_latitude":"0706b1e0","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210264064001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39301497674006528,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004232378336516096,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793790096000,"timestamp_ms":1793790096000,"timestamp_seconds":1793790096,"priority":1,"record_length":96,"hex_timestamp":"000001a1a638b280"} 
[2026-11-04 16:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:32: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-11-04 16:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 16:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210264064001,"66":14559,"219":206,"94":10240,"24":2,"16":39301497674006528,"45":1004232378336516096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 16:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210264064001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:32:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 16:32:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39301497674006528,"km_value":39301497674006.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004232378336516096,"description":"Unknown IO ID 45"} 
[2026-11-04 16:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210264064001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1004232378336516096}} 
[2026-11-04 16:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":229034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59793,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:32:06] local.INFO: GPS data processed {"connection_id":229034,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:32:06] local.INFO: Acknowledgment sent {"connection_id":229034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:32:06] local.INFO: TCP Data received {"connection_id":229035,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:32:06] local.INFO: Processing buffer {"connection_id":229035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:32:06] local.INFO: IMEI packet received {"connection_id":229035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":229035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:32:09] local.INFO: TCP Data received {"connection_id":229034,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a638b668012d0deec00706b260001e014520..."} 
[2026-11-04 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a638b668012d0deec00706b260001e014520..."} 
[2026-11-04 16:32:09] local.INFO: Processing buffer {"connection_id":229034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a638b668012d0deec00706b260001e014520..."} 
[2026-11-04 16:32:09] local.INFO: Packet analysis {"connection_id":229034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a638"} 
[2026-11-04 16:32:09] local.INFO: Extracted packet for processing {"connection_id":229034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a638"} 
[2026-11-04 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":755887808,"raw_latitude":117879392,"longitude_deg":75.5887808,"latitude_deg":11.7879392,"altitude":30,"angle":325,"satellites":32,"speed":4,"hex_longitude":"2d0deec0","hex_latitude":"0706b260","is_valid_coordinates":true} 
[2026-11-04 16:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210264576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39301506263941120,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1004091640848179200,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793790097000,"timestamp_ms":1793790097000,"timestamp_seconds":1793790097,"priority":1,"record_length":96,"hex_timestamp":"000001a1a638b668"} 
[2026-11-04 16:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-11-04 16:32:09] 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-11-04 16:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229034,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210264576001,"66":13678,"219":206,"94":10240,"24":4,"16":39301506263941120,"45":1004091640848179200},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-11-04 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210264576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:32:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-11-04 16:32:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39301506263941120,"km_value":39301506263941.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1004091640848179200,"description":"Unknown IO ID 45"} 
[2026-11-04 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210264576001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":1004091640848179200}} 
[2026-11-04 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":229034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59794,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:32:09] local.INFO: GPS data processed {"connection_id":229034,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:32:09] local.INFO: Acknowledgment sent {"connection_id":229034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:32:12] local.INFO: TCP Data received {"connection_id":229035,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:32:12] local.INFO: Processing buffer {"connection_id":229035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:32:12] local.INFO: IMEI packet received {"connection_id":229035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":229035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:32:13] local.INFO: TCP Data received {"connection_id":229035,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:32:13] local.INFO: Processing buffer {"connection_id":229035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:32:13] local.INFO: Packet analysis {"connection_id":229035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:32:13] local.INFO: Extracted packet for processing {"connection_id":229035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":48,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222637706724757504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793789869000,"timestamp_ms":1793789869000,"timestamp_seconds":1793789869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6353bc8"} 
[2026-11-04 16:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:32: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-11-04 16: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-11-04 16:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128896001,"66":26115,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6222637706724757504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:32:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:32:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222637706724757504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128896001,"power":26115,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6222637706724757504}} 
[2026-11-04 16:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":229035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:32:13] local.INFO: GPS data processed {"connection_id":229035,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:32:13] local.INFO: Acknowledgment sent {"connection_id":229035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:32:45] local.INFO: TCP Data received {"connection_id":229035,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:32:45] local.INFO: Processing buffer {"connection_id":229035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:32:45] local.INFO: Packet analysis {"connection_id":229035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:32:45] local.INFO: Extracted packet for processing {"connection_id":229035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:32:45] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":48,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222637706724757504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793789869000,"timestamp_ms":1793789869000,"timestamp_seconds":1793789869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6353bc8"} 
[2026-11-04 16:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:32: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-11-04 16:32:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128896001,"66":26115,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6222637706724757504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:32:45] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:32:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222637706724757504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128896001,"power":26115,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6222637706724757504}} 
[2026-11-04 16:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":229035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:32:45] local.INFO: GPS data processed {"connection_id":229035,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:32:45] local.INFO: Acknowledgment sent {"connection_id":229035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:32:51] local.INFO: TCP Data received {"connection_id":229516,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:51] local.INFO: Processing buffer {"connection_id":229516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:51] local.INFO: IMEI packet received {"connection_id":229516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":229516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:32:52] local.INFO: TCP Data received {"connection_id":229516,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:52] local.INFO: Processing buffer {"connection_id":229516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:52] local.INFO: IMEI packet received {"connection_id":229516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":229516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:32:53] local.INFO: TCP Data received {"connection_id":229516,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:53] local.INFO: Processing buffer {"connection_id":229516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:53] local.INFO: IMEI packet received {"connection_id":229516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":229516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:32:54] local.INFO: TCP Data received {"connection_id":229516,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229516,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:54] local.INFO: Processing buffer {"connection_id":229516,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:32:54] local.INFO: IMEI packet received {"connection_id":229516,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":229516,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:33:06] local.INFO: TCP Data received {"connection_id":232674,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:33:06] local.INFO: Processing buffer {"connection_id":232674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:33:06] local.INFO: IMEI packet received {"connection_id":232674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":232674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:33:12] local.INFO: TCP Data received {"connection_id":232674,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:33:12] local.INFO: Processing buffer {"connection_id":232674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:33:12] local.INFO: IMEI packet received {"connection_id":232674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":232674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:33:13] local.INFO: TCP Data received {"connection_id":232674,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:33:13] local.INFO: Processing buffer {"connection_id":232674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6353bc8012d569380067b60680026004830..."} 
[2026-11-04 16:33:13] local.INFO: Packet analysis {"connection_id":232674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:33:13] local.INFO: Extracted packet for processing {"connection_id":232674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a635"} 
[2026-11-04 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":48,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210128896001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6222637706724757504,"note":"Value kept but may cause issues"} 
[2026-11-04 16:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793789869000,"timestamp_ms":1793789869000,"timestamp_seconds":1793789869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6353bc8"} 
[2026-11-04 16:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 16:33: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-11-04 16:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210128896001,"66":26115,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6222637706724757504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210128896001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:33:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:33:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6222637706724757504,"description":"Unknown IO ID 45"} 
[2026-11-04 16:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210128896001,"power":26115,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6222637706724757504}} 
[2026-11-04 16:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":232674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:33:13] local.INFO: GPS data processed {"connection_id":232674,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:33:13] local.INFO: Acknowledgment sent {"connection_id":232674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:33:44] local.INFO: TCP Data received {"connection_id":232674,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:33:44] local.INFO: Processing buffer {"connection_id":232674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:33:44] local.INFO: Packet analysis {"connection_id":232674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:33:44] local.INFO: Extracted packet for processing {"connection_id":232674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:33:44] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:33:44] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:33:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":232674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:33:44] local.INFO: GPS data processed {"connection_id":232674,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:33:44] local.INFO: Acknowledgment sent {"connection_id":232674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:34:07] local.INFO: TCP Data received {"connection_id":229517,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:34:07] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:34:07] local.INFO: IMEI packet received {"connection_id":229517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":229517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:34:11] local.INFO: TCP Data received {"connection_id":229517,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:34:11] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:34:11] local.INFO: IMEI packet received {"connection_id":229517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":229517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:34:13] local.INFO: TCP Data received {"connection_id":229517,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:13] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:13] local.INFO: Packet analysis {"connection_id":229517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:34:13] local.INFO: Extracted packet for processing {"connection_id":229517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:34:13] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:34:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:34:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":229517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:34:13] local.INFO: GPS data processed {"connection_id":229517,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:34:13] local.INFO: Acknowledgment sent {"connection_id":229517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:34:18] local.INFO: TCP Data received {"connection_id":229517,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:18] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:18] local.INFO: Packet analysis {"connection_id":229517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:34:18] local.INFO: Extracted packet for processing {"connection_id":229517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":229517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:34:18] local.INFO: GPS data processed {"connection_id":229517,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:34:18] local.INFO: Acknowledgment sent {"connection_id":229517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:34:51] local.INFO: TCP Data received {"connection_id":229517,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:51] local.INFO: Processing buffer {"connection_id":229517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:34:51] local.INFO: Packet analysis {"connection_id":229517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:34:51] local.INFO: Extracted packet for processing {"connection_id":229517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:34:51] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:34:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":229517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:34:51] local.INFO: GPS data processed {"connection_id":229517,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:34:51] local.INFO: Acknowledgment sent {"connection_id":229517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:35:06] local.INFO: TCP Data received {"connection_id":232677,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:35:06] local.INFO: Processing buffer {"connection_id":232677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:35:06] local.INFO: IMEI packet received {"connection_id":232677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":232677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:35:12] local.INFO: TCP Data received {"connection_id":232677,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:35:12] local.INFO: Processing buffer {"connection_id":232677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:35:12] local.INFO: IMEI packet received {"connection_id":232677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":232677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:35:13] local.INFO: TCP Data received {"connection_id":232677,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:35:13] local.INFO: Processing buffer {"connection_id":232677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:35:13] local.INFO: Packet analysis {"connection_id":232677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:35:13] local.INFO: Extracted packet for processing {"connection_id":232677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:35:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:35:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":232677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:35:13] local.INFO: GPS data processed {"connection_id":232677,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:35:13] local.INFO: Acknowledgment sent {"connection_id":232677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:35:48] local.INFO: TCP Data received {"connection_id":232677,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:35:48] local.INFO: Processing buffer {"connection_id":232677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:35:48] local.INFO: Packet analysis {"connection_id":232677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:35:48] local.INFO: Extracted packet for processing {"connection_id":232677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:35:48] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:35:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":232677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:35:48] local.INFO: GPS data processed {"connection_id":232677,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:35:48] local.INFO: Acknowledgment sent {"connection_id":232677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:36:06] local.INFO: TCP Data received {"connection_id":230831,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:36:06] local.INFO: Processing buffer {"connection_id":230831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:36:06] local.INFO: IMEI packet received {"connection_id":230831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":230831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:36:12] local.INFO: TCP Data received {"connection_id":230831,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:36:12] local.INFO: Processing buffer {"connection_id":230831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:36:12] local.INFO: IMEI packet received {"connection_id":230831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":230831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:36:13] local.INFO: TCP Data received {"connection_id":230831,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:36:13] local.INFO: Processing buffer {"connection_id":230831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:36:13] local.INFO: Packet analysis {"connection_id":230831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:36:13] local.INFO: Extracted packet for processing {"connection_id":230831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:36:13] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:36:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:36:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":230831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:36:13] local.INFO: GPS data processed {"connection_id":230831,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:36:13] local.INFO: Acknowledgment sent {"connection_id":230831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:36:33] local.INFO: TCP Data received {"connection_id":229519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:36:33] local.INFO: Processing buffer {"connection_id":229519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:36:33] local.INFO: IMEI packet received {"connection_id":229519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":229519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:36:46] local.INFO: TCP Data received {"connection_id":230831,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:36:46] local.INFO: Processing buffer {"connection_id":230831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:36:46] local.INFO: Packet analysis {"connection_id":230831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:36:46] local.INFO: Extracted packet for processing {"connection_id":230831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:36:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:36:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":230831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:36:46] local.INFO: GPS data processed {"connection_id":230831,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:36:46] local.INFO: Acknowledgment sent {"connection_id":230831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:37:06] local.INFO: TCP Data received {"connection_id":232680,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:37:06] local.INFO: Processing buffer {"connection_id":232680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:37:06] local.INFO: IMEI packet received {"connection_id":232680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":232680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:37:08] local.INFO: TCP Data received {"connection_id":229038,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:37:08] local.INFO: Processing buffer {"connection_id":229038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:37:08] local.INFO: IMEI packet received {"connection_id":229038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":229038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:37:12] local.INFO: TCP Data received {"connection_id":232680,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:37:12] local.INFO: Processing buffer {"connection_id":232680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:37:12] local.INFO: IMEI packet received {"connection_id":232680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":232680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:37:13] local.INFO: TCP Data received {"connection_id":232680,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:37:13] local.INFO: Processing buffer {"connection_id":232680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:37:13] local.INFO: Packet analysis {"connection_id":232680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:37:13] local.INFO: Extracted packet for processing {"connection_id":232680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":232680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:37:13] local.INFO: GPS data processed {"connection_id":232680,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:37:13] local.INFO: Acknowledgment sent {"connection_id":232680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:37:45] local.INFO: TCP Data received {"connection_id":232680,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:37:45] local.INFO: Processing buffer {"connection_id":232680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:37:45] local.INFO: Packet analysis {"connection_id":232680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:37:45] local.INFO: Extracted packet for processing {"connection_id":232680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:37:45] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:37:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":232680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:37:45] local.INFO: GPS data processed {"connection_id":232680,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:37:45] local.INFO: Acknowledgment sent {"connection_id":232680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:37:55] local.INFO: TCP Data received {"connection_id":229039,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229039,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:37:55] local.INFO: Processing buffer {"connection_id":229039,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:37:55] local.INFO: IMEI packet received {"connection_id":229039,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":229039,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:37:55] local.INFO: TCP Data received {"connection_id":229039,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229039,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:37:55] local.INFO: Processing buffer {"connection_id":229039,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:37:55] local.INFO: IMEI packet received {"connection_id":229039,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":229039,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:38:00] local.INFO: TCP Data received {"connection_id":229039,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229039,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:38:00] local.INFO: Processing buffer {"connection_id":229039,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:38:00] local.INFO: IMEI packet received {"connection_id":229039,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":229039,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:38:05] local.INFO: TCP Data received {"connection_id":229039,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e4060012d0c5380070775280016010f20..."} 
[2026-11-04 16:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e4060012d0c5380070775280016010f20..."} 
[2026-11-04 16:38:05] local.INFO: Processing buffer {"connection_id":229039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e4060012d0c5380070775280016010f20..."} 
[2026-11-04 16:38:05] local.INFO: Packet analysis {"connection_id":229039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:38:05] local.INFO: Extracted packet for processing {"connection_id":229039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:38:05] local.INFO: GPS Element Parsed {"raw_longitude":755782528,"raw_latitude":117929256,"longitude_deg":75.5782528,"latitude_deg":11.7929256,"altitude":22,"angle":271,"satellites":32,"speed":17,"hex_longitude":"2d0c5380","hex_latitude":"07077528","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210354432001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39308227887759360,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895934881060057088,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793790460000,"timestamp_ms":1793790460000,"timestamp_seconds":1793790460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e4060"} 
[2026-11-04 16:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:38: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-11-04 16:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210354432001,"66":14548,"221":206,"94":10240,"24":17,"16":39308227887759360,"45":895934881060057088},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 16:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210354432001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:38:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 16:38:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39308227887759360,"km_value":39308227887759.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":895934881060057088,"description":"Unknown IO ID 45"} 
[2026-11-04 16:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210354432001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":895934881060057088}} 
[2026-11-04 16:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":229039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59808,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:38:05] local.INFO: GPS data processed {"connection_id":229039,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:38:05] local.INFO: Acknowledgment sent {"connection_id":229039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:38:12] local.INFO: TCP Data received {"connection_id":232681,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:38:12] local.INFO: Processing buffer {"connection_id":232681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:38:12] local.INFO: IMEI packet received {"connection_id":232681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":232681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:38:17] local.INFO: TCP Data received {"connection_id":232681,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:38:17] local.INFO: Processing buffer {"connection_id":232681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:38:17] local.INFO: IMEI packet received {"connection_id":232681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":232681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:38:19] local.INFO: TCP Data received {"connection_id":232681,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:38:19] local.INFO: Processing buffer {"connection_id":232681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:38:19] local.INFO: Packet analysis {"connection_id":232681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:38:19] local.INFO: Extracted packet for processing {"connection_id":232681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:38:19] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":232681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:38:19] local.INFO: GPS data processed {"connection_id":232681,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:38:19] local.INFO: Acknowledgment sent {"connection_id":232681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:38:22] local.INFO: TCP Data received {"connection_id":232681,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:38:22] local.INFO: Processing buffer {"connection_id":232681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a639d390012d569380067b6068002600482e..."} 
[2026-11-04 16:38:22] local.INFO: Packet analysis {"connection_id":232681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:38:22] local.INFO: Extracted packet for processing {"connection_id":232681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a639"} 
[2026-11-04 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210206464001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793790170000,"timestamp_ms":1793790170000,"timestamp_seconds":1793790170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a639d390"} 
[2026-11-04 16:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-11-04 16:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210206464001,"66":25908,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210206464001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:38:22] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:38:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210206464001,"power":25908,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":232681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:38:22] local.INFO: GPS data processed {"connection_id":232681,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:38:22] local.INFO: Acknowledgment sent {"connection_id":232681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:38:37] local.INFO: TCP Data received {"connection_id":229039,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6388012d0c3a40070773900014010221..."} 
[2026-11-04 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6388012d0c3a40070773900014010221..."} 
[2026-11-04 16:38:37] local.INFO: Processing buffer {"connection_id":229039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6388012d0c3a40070773900014010221..."} 
[2026-11-04 16:38:37] local.INFO: Packet analysis {"connection_id":229039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:38:37] local.INFO: Extracted packet for processing {"connection_id":229039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":755776064,"raw_latitude":117928848,"longitude_deg":75.5776064,"latitude_deg":11.7928848,"altitude":20,"angle":258,"satellites":33,"speed":22,"hex_longitude":"2d0c3a40","hex_latitude":"07077390","is_valid_coordinates":true} 
[2026-11-04 16:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210357760001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39308532830437376,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888194319200364544,"note":"Value kept but may cause issues"} 
[2026-11-04 16:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793790469000,"timestamp_ms":1793790469000,"timestamp_seconds":1793790469,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6388"} 
[2026-11-04 16:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:38: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-11-04 16:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 16:38:37] 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-11-04 16:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":229039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":229039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":229039,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210357760001,"66":14548,"221":206,"94":10240,"24":22,"16":39308532830437376,"45":888194319200364544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 16:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210357760001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:38:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 16:38:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39308532830437376,"km_value":39308532830437.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":888194319200364544,"description":"Unknown IO ID 45"} 
[2026-11-04 16:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210357760001,"power":14548,"unknown_221":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":888194319200364544}} 
[2026-11-04 16:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":229039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:38:37] local.INFO: GPS data processed {"connection_id":229039,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:38:37] local.INFO: Acknowledgment sent {"connection_id":229039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:39:00] local.INFO: TCP Data received {"connection_id":230833,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:00] local.INFO: Processing buffer {"connection_id":230833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:00] local.INFO: IMEI packet received {"connection_id":230833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":230833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:39:04] local.INFO: TCP Data received {"connection_id":230833,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230833,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:04] local.INFO: Processing buffer {"connection_id":230833,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:04] local.INFO: IMEI packet received {"connection_id":230833,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":230833,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:39:05] local.INFO: TCP Data received {"connection_id":230833,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63f3e48012d0bb580070742d0000f00f922..."} 
[2026-11-04 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63f3e48012d0bb580070742d0000f00f922..."} 
[2026-11-04 16:39:05] local.INFO: Processing buffer {"connection_id":230833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63f3e48012d0bb580070742d0000f00f922..."} 
[2026-11-04 16:39:05] local.INFO: Packet analysis {"connection_id":230833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63f"} 
[2026-11-04 16:39:05] local.INFO: Extracted packet for processing {"connection_id":230833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63f"} 
[2026-11-04 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":755742080,"raw_latitude":117916368,"longitude_deg":75.574208,"latitude_deg":11.7916368,"altitude":15,"angle":249,"satellites":34,"speed":23,"hex_longitude":"2d0bb580","hex_latitude":"070742d0","is_valid_coordinates":true} 
[2026-11-04 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210373632001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39310504220426240,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846113810178928640,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793790525000,"timestamp_ms":1793790525000,"timestamp_seconds":1793790525,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63f3e48"} 
[2026-11-04 16:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:39: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-11-04 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-11-04 16:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":230833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":230833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":230833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210373632001,"66":14396,"221":206,"94":10240,"24":23,"16":39310504220426240,"45":846113810178928640},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 16:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210373632001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:39:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 16:39:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39310504220426240,"km_value":39310504220426.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":846113810178928640,"description":"Unknown IO ID 45"} 
[2026-11-04 16:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210373632001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":846113810178928640}} 
[2026-11-04 16:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":230833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59812,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:39:05] local.INFO: GPS data processed {"connection_id":230833,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:39:05] local.INFO: Acknowledgment sent {"connection_id":230833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:39:06] local.INFO: TCP Data received {"connection_id":230833,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63f4230012d0bb440070741c8001000ec22..."} 
[2026-11-04 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63f4230012d0bb440070741c8001000ec22..."} 
[2026-11-04 16:39:06] local.INFO: Processing buffer {"connection_id":230833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63f4230012d0bb440070741c8001000ec22..."} 
[2026-11-04 16:39:06] local.INFO: Packet analysis {"connection_id":230833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63f"} 
[2026-11-04 16:39:06] local.INFO: Extracted packet for processing {"connection_id":230833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63f"} 
[2026-11-04 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":755741760,"raw_latitude":117916104,"longitude_deg":75.574176,"latitude_deg":11.7916104,"altitude":16,"angle":236,"satellites":34,"speed":19,"hex_longitude":"2d0bb440","hex_latitude":"070741c8","is_valid_coordinates":true} 
[2026-11-04 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210374400001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39310525695262720,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843721272876781568,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1793790526000,"timestamp_ms":1793790526000,"timestamp_seconds":1793790526,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63f4230"} 
[2026-11-04 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:39: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-11-04 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 16:39:06] 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-11-04 16:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":230833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":230833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":230833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210374400001,"66":14396,"221":206,"94":10240,"24":19,"16":39310525695262720,"45":843721272876781568},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210374400001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:39:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 16:39:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39310525695262720,"km_value":39310525695262.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":843721272876781568,"description":"Unknown IO ID 45"} 
[2026-11-04 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210374400001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":843721272876781568}} 
[2026-11-04 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":230833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:39:06] local.INFO: GPS data processed {"connection_id":230833,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:39:06] local.INFO: Acknowledgment sent {"connection_id":230833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:39:12] local.INFO: TCP Data received {"connection_id":232682,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:39:12] local.INFO: Processing buffer {"connection_id":232682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:39:12] local.INFO: IMEI packet received {"connection_id":232682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":232682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:39:17] local.INFO: TCP Data received {"connection_id":232682,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:39:17] local.INFO: Processing buffer {"connection_id":232682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:39:17] local.INFO: IMEI packet received {"connection_id":232682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":232682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:39:19] local.INFO: TCP Data received {"connection_id":232682,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:39:19] local.INFO: Processing buffer {"connection_id":232682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:39:19] local.INFO: Packet analysis {"connection_id":232682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:39:19] local.INFO: Extracted packet for processing {"connection_id":232682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:39:19] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:39:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":232682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:39:19] local.INFO: GPS data processed {"connection_id":232682,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:39:19] local.INFO: Acknowledgment sent {"connection_id":232682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:39:22] local.INFO: TCP Data received {"connection_id":232682,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:39:22] local.INFO: Processing buffer {"connection_id":232682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:39:22] local.INFO: Packet analysis {"connection_id":232682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:39:22] local.INFO: Extracted packet for processing {"connection_id":232682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:39:22] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:39: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-11-04 16:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:39:22] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:39:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":232682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:39:22] local.INFO: GPS data processed {"connection_id":232682,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:39:22] local.INFO: Acknowledgment sent {"connection_id":232682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:39:37] local.INFO: TCP Data received {"connection_id":230833,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63f4618012d0bb34007074068001000d422..."} 
[2026-11-04 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63f4618012d0bb34007074068001000d422..."} 
[2026-11-04 16:39:37] local.INFO: Processing buffer {"connection_id":230833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63f4618012d0bb34007074068001000d422..."} 
[2026-11-04 16:39:37] local.INFO: Packet analysis {"connection_id":230833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63f"} 
[2026-11-04 16:39:37] local.INFO: Extracted packet for processing {"connection_id":230833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63f"} 
[2026-11-04 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":755741504,"raw_latitude":117915752,"longitude_deg":75.5741504,"latitude_deg":11.7915752,"altitude":16,"angle":212,"satellites":34,"speed":17,"hex_longitude":"2d0bb340","hex_latitude":"07074068","is_valid_coordinates":true} 
[2026-11-04 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210374656001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39310547170099200,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843369429155825664,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1793790527000,"timestamp_ms":1793790527000,"timestamp_seconds":1793790527,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63f4618"} 
[2026-11-04 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:39: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-11-04 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 16:39:37] 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-11-04 16:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":230833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":230833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":230833,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210374656001,"66":14396,"221":206,"94":10240,"24":17,"16":39310547170099200,"45":843369429155825664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-11-04 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210374656001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-11-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39310547170099200,"km_value":39310547170099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":843369429155825664,"description":"Unknown IO ID 45"} 
[2026-11-04 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210374656001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":843369429155825664}} 
[2026-11-04 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":230833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59816,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:39:37] local.INFO: GPS data processed {"connection_id":230833,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:39:37] local.INFO: Acknowledgment sent {"connection_id":230833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:39:55] local.INFO: TCP Data received {"connection_id":232684,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:55] local.INFO: Processing buffer {"connection_id":232684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:55] local.INFO: IMEI packet received {"connection_id":232684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":232684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:39:57] local.INFO: TCP Data received {"connection_id":232684,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232684,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:57] local.INFO: Processing buffer {"connection_id":232684,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:39:57] local.INFO: IMEI packet received {"connection_id":232684,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":232684,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:39:58] local.INFO: TCP Data received {"connection_id":232684,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64020d8012d0b6440070709d8000a00fd22..."} 
[2026-11-04 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64020d8012d0b6440070709d8000a00fd22..."} 
[2026-11-04 16:39:58] local.INFO: Processing buffer {"connection_id":232684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64020d8012d0b6440070709d8000a00fd22..."} 
[2026-11-04 16:39:58] local.INFO: Packet analysis {"connection_id":232684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a640"} 
[2026-11-04 16:39:58] local.INFO: Extracted packet for processing {"connection_id":232684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a640"} 
[2026-11-04 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":755721280,"raw_latitude":117901784,"longitude_deg":75.572128,"latitude_deg":11.7901784,"altitude":10,"angle":253,"satellites":34,"speed":27,"hex_longitude":"2d0b6440","hex_latitude":"070709d8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 16:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210386688001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39312020343881728,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828240149154181120,"note":"Value kept but may cause issues"} 
[2026-11-04 16:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1793790583000,"timestamp_ms":1793790583000,"timestamp_seconds":1793790583,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64020d8"} 
[2026-11-04 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-11-04 16:39: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-11-04 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 16:39:58] 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-11-04 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-11-04 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-11-04 16:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":232684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":232684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":232684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210386688001,"66":14407,"163":206,"94":10240,"24":27,"16":39312020343881728,"45":828240149154181120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 16:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210386688001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:39:58] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 16:39:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39312020343881728,"km_value":39312020343881.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":828240149154181120,"description":"Unknown IO ID 45"} 
[2026-11-04 16:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210386688001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":828240149154181120}} 
[2026-11-04 16:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":232684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59817,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:39:58] local.INFO: GPS data processed {"connection_id":232684,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:39:58] local.INFO: Acknowledgment sent {"connection_id":232684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:40:06] local.INFO: TCP Data received {"connection_id":232685,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:40:06] local.INFO: Processing buffer {"connection_id":232685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:40:06] local.INFO: IMEI packet received {"connection_id":232685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":232685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:40:12] local.INFO: TCP Data received {"connection_id":232685,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:40:12] local.INFO: Processing buffer {"connection_id":232685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:40:12] local.INFO: IMEI packet received {"connection_id":232685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":232685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:40:15] local.INFO: TCP Data received {"connection_id":232685,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:40:15] local.INFO: Processing buffer {"connection_id":232685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:40:15] local.INFO: Packet analysis {"connection_id":232685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:40:15] local.INFO: Extracted packet for processing {"connection_id":232685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:40:15] 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-11-04 16:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:40:15] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:40:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":232685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:40:15] local.INFO: GPS data processed {"connection_id":232685,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:40:15] local.INFO: Acknowledgment sent {"connection_id":232685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:40:29] local.INFO: TCP Data received {"connection_id":232684,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6403078012d0b59c007070558000a00f222..."} 
[2026-11-04 16:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6403078012d0b59c007070558000a00f222..."} 
[2026-11-04 16:40:29] local.INFO: Processing buffer {"connection_id":232684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6403078012d0b59c007070558000a00f222..."} 
[2026-11-04 16:40:29] local.INFO: Packet analysis {"connection_id":232684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a640"} 
[2026-11-04 16:40:29] local.INFO: Extracted packet for processing {"connection_id":232684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a640"} 
[2026-11-04 16:40:29] local.INFO: GPS Element Parsed {"raw_longitude":755718592,"raw_latitude":117900632,"longitude_deg":75.5718592,"latitude_deg":11.7900632,"altitude":10,"angle":242,"satellites":34,"speed":27,"hex_longitude":"2d0b59c0","hex_latitude":"07070558","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210389248001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39312162077802496,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820851431015307264,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793790587000,"timestamp_ms":1793790587000,"timestamp_seconds":1793790587,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6403078"} 
[2026-11-04 16:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:40: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-11-04 16: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":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:40:29] 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-11-04 16: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-11-04 16:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":232684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":232684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":232684,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210389248001,"66":14363,"163":206,"94":10240,"24":27,"16":39312162077802496,"45":820851431015307264},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 16:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210389248001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:40:29] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 16:40:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39312162077802496,"km_value":39312162077802.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":820851431015307264,"description":"Unknown IO ID 45"} 
[2026-11-04 16:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210389248001,"power":14363,"unknown_163":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":820851431015307264}} 
[2026-11-04 16:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":232684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:40:29] local.INFO: GPS data processed {"connection_id":232684,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:40:29] local.INFO: Acknowledgment sent {"connection_id":232684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:40:47] local.INFO: TCP Data received {"connection_id":232685,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:40:47] local.INFO: Processing buffer {"connection_id":232685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:40:47] local.INFO: Packet analysis {"connection_id":232685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:40:47] local.INFO: Extracted packet for processing {"connection_id":232685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:40: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-11-04 16:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:40:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:40:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":232685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:40:47] local.INFO: GPS data processed {"connection_id":232685,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:40:47] local.INFO: Acknowledgment sent {"connection_id":232685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:40:52] local.INFO: TCP Data received {"connection_id":229520,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:52] local.INFO: Processing buffer {"connection_id":229520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:52] local.INFO: IMEI packet received {"connection_id":229520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":229520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:40:55] local.INFO: TCP Data received {"connection_id":229520,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:55] local.INFO: Processing buffer {"connection_id":229520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:55] local.INFO: IMEI packet received {"connection_id":229520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":229520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:40:59] local.INFO: TCP Data received {"connection_id":229520,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229520,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:59] local.INFO: Processing buffer {"connection_id":229520,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:40:59] local.INFO: IMEI packet received {"connection_id":229520,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":229520,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:41:00] local.INFO: TCP Data received {"connection_id":229520,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6404fb8012d0b47400706f900000800e122..."} 
[2026-11-04 16:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6404fb8012d0b47400706f900000800e122..."} 
[2026-11-04 16:41:00] local.INFO: Processing buffer {"connection_id":229520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6404fb8012d0b47400706f900000800e122..."} 
[2026-11-04 16:41:00] local.INFO: Packet analysis {"connection_id":229520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a640"} 
[2026-11-04 16:41:00] local.INFO: Extracted packet for processing {"connection_id":229520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a640"} 
[2026-11-04 16:41:00] local.INFO: GPS Element Parsed {"raw_longitude":755713856,"raw_latitude":117897472,"longitude_deg":75.5713856,"latitude_deg":11.7897472,"altitude":8,"angle":225,"satellites":34,"speed":31,"hex_longitude":"2d0b4740","hex_latitude":"0706f900","is_valid_coordinates":true} 
[2026-11-04 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210390272001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39312432660742144,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817895943759550464,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793790595000,"timestamp_ms":1793790595000,"timestamp_seconds":1793790595,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6404fb8"} 
[2026-11-04 16:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:41: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-11-04 16:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-11-04 16:41:00] 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-11-04 16:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210390272001,"66":14428,"163":206,"94":10240,"24":31,"16":39312432660742144,"45":817895943759550464},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 16:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210390272001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39312432660742144,"km_value":39312432660742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":817895943759550464,"description":"Unknown IO ID 45"} 
[2026-11-04 16:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210390272001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":31,"odometer":null,"unknown_45":817895943759550464}} 
[2026-11-04 16:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":229520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:41:00] local.INFO: GPS data processed {"connection_id":229520,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:41:00] local.INFO: Acknowledgment sent {"connection_id":229520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:41:06] local.INFO: TCP Data received {"connection_id":232687,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:41:06] local.INFO: Processing buffer {"connection_id":232687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:41:06] local.INFO: IMEI packet received {"connection_id":232687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":232687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:41:12] local.INFO: TCP Data received {"connection_id":232687,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:41:12] local.INFO: Processing buffer {"connection_id":232687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:41:12] local.INFO: IMEI packet received {"connection_id":232687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":232687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:41:12] local.INFO: TCP Data received {"connection_id":232687,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:41:12] local.INFO: Processing buffer {"connection_id":232687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:41:12] local.INFO: Packet analysis {"connection_id":232687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:41:12] local.INFO: Extracted packet for processing {"connection_id":232687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:41:12] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:41: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-11-04 16:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:41:12] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:41:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":232687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:41:12] local.INFO: GPS data processed {"connection_id":232687,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:41:13] local.INFO: Acknowledgment sent {"connection_id":232687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:41:33] local.INFO: TCP Data received {"connection_id":229520,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6418c20012d0aeec007066e18000c00af22..."} 
[2026-11-04 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6418c20012d0aeec007066e18000c00af22..."} 
[2026-11-04 16:41:33] local.INFO: Processing buffer {"connection_id":229520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6418c20012d0aeec007066e18000c00af22..."} 
[2026-11-04 16:41:33] local.INFO: Packet analysis {"connection_id":229520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:41:33] local.INFO: Extracted packet for processing {"connection_id":229520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":755691200,"raw_latitude":117861912,"longitude_deg":75.56912,"latitude_deg":11.7861912,"altitude":12,"angle":175,"satellites":34,"speed":10,"hex_longitude":"2d0aeec0","hex_latitude":"07066e18","is_valid_coordinates":true} 
[2026-11-04 16:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210412800001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39314502834978816,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787778121241659392,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793790676000,"timestamp_ms":1793790676000,"timestamp_seconds":1793790676,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6418c20"} 
[2026-11-04 16:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:41: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-11-04 16:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":229520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":229520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":229520,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210412800001,"66":14428,"163":206,"94":10240,"24":10,"16":39314502834978816,"45":787778121241659392},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210412800001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:41:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 16:41:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39314502834978816,"km_value":39314502834978.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":787778121241659392,"description":"Unknown IO ID 45"} 
[2026-11-04 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210412800001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":787778121241659392}} 
[2026-11-04 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":229520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59823,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:41:33] local.INFO: GPS data processed {"connection_id":229520,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:41:33] local.INFO: Acknowledgment sent {"connection_id":229520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:41:44] local.INFO: TCP Data received {"connection_id":232687,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:41:44] local.INFO: Processing buffer {"connection_id":232687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:41:44] local.INFO: Packet analysis {"connection_id":232687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:41:44] local.INFO: Extracted packet for processing {"connection_id":232687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:41:44] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:41: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-11-04 16: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-11-04 16:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:41:44] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:41:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":232687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:41:44] local.INFO: GPS data processed {"connection_id":232687,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:41:44] local.INFO: Acknowledgment sent {"connection_id":232687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:41:55] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:41:55] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:41:55] local.INFO: IMEI packet received {"connection_id":229521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":229521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:42:00] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:00] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:00] local.INFO: IMEI packet received {"connection_id":229521,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":229521,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:42:01] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64197d8012d0aefc0070669e0000b00a422..."} 
[2026-11-04 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64197d8012d0aefc0070669e0000b00a422..."} 
[2026-11-04 16:42:01] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64197d8012d0aefc0070669e0000b00a422..."} 
[2026-11-04 16:42:01] local.INFO: Packet analysis {"connection_id":229521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:42:01] local.INFO: Extracted packet for processing {"connection_id":229521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:42:01] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117860832,"longitude_deg":75.5691456,"latitude_deg":11.7860832,"altitude":11,"angle":164,"satellites":34,"speed":18,"hex_longitude":"2d0aefc0","hex_latitude":"070669e0","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210413056001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39314558669553664,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787778121241597952,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793790679000,"timestamp_ms":1793790679000,"timestamp_seconds":1793790679,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64197d8"} 
[2026-11-04 16:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:42: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-11-04 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:42: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-11-04 16: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-11-04 16:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210413056001,"66":14537,"163":206,"94":10240,"24":18,"16":39314558669553664,"45":787778121241597952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 16:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210413056001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:42:01] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 16:42:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39314558669553664,"km_value":39314558669553.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":787778121241597952,"description":"Unknown IO ID 45"} 
[2026-11-04 16:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210413056001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":787778121241597952}} 
[2026-11-04 16:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":229521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:42:01] local.INFO: GPS data processed {"connection_id":229521,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:42:01] local.INFO: Acknowledgment sent {"connection_id":229521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:42:06] local.INFO: TCP Data received {"connection_id":230834,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:42:06] local.INFO: Processing buffer {"connection_id":230834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:42:06] local.INFO: IMEI packet received {"connection_id":230834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":230834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:42:12] local.INFO: TCP Data received {"connection_id":230834,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:42:12] local.INFO: Processing buffer {"connection_id":230834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:42:12] local.INFO: IMEI packet received {"connection_id":230834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":230834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:42:16] local.INFO: TCP Data received {"connection_id":230834,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:42:16] local.INFO: Processing buffer {"connection_id":230834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:42:16] local.INFO: Packet analysis {"connection_id":230834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:42:16] local.INFO: Extracted packet for processing {"connection_id":230834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:42:16] 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-11-04 16: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-11-04 16:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:42:16] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:42:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":230834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:42:16] local.INFO: GPS data processed {"connection_id":230834,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:42:16] local.INFO: Acknowledgment sent {"connection_id":230834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:42:32] local.INFO: TCP Data received {"connection_id":229521,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a641af48012d0af4c007065d30000b009622..."} 
[2026-11-04 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a641af48012d0af4c007065d30000b009622..."} 
[2026-11-04 16:42:32] local.INFO: Processing buffer {"connection_id":229521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a641af48012d0af4c007065d30000b009622..."} 
[2026-11-04 16:42:32] local.INFO: Packet analysis {"connection_id":229521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:42:32] local.INFO: Extracted packet for processing {"connection_id":229521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":755692736,"raw_latitude":117857584,"longitude_deg":75.5692736,"latitude_deg":11.7857584,"altitude":11,"angle":150,"satellites":34,"speed":20,"hex_longitude":"2d0af4c0","hex_latitude":"07065d30","is_valid_coordinates":true} 
[2026-11-04 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-11-04 16:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210413824001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39314726173278208,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218032128,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793790685000,"timestamp_ms":1793790685000,"timestamp_seconds":1793790685,"priority":1,"record_length":96,"hex_timestamp":"000001a1a641af48"} 
[2026-11-04 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-11-04 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 16:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 16:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229521,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210413824001,"66":14450,"163":206,"94":10240,"24":20,"16":39314726173278208,"45":788059596218032128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 16:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210413824001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:42:32] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 16:42:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39314726173278208,"km_value":39314726173278.21,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218032128,"description":"Unknown IO ID 45"} 
[2026-11-04 16:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210413824001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":788059596218032128}} 
[2026-11-04 16:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":229521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:42:32] local.INFO: GPS data processed {"connection_id":229521,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:42:32] local.INFO: Acknowledgment sent {"connection_id":229521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:42:33] local.INFO: TCP Data received {"connection_id":230835,"ip":"42.109.136.11","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:42:33] local.INFO: Processing buffer {"connection_id":230835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:42:33] local.INFO: IMEI packet received {"connection_id":230835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":230835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:42:49] local.INFO: TCP Data received {"connection_id":230834,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:42:49] local.INFO: Processing buffer {"connection_id":230834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:42:49] local.INFO: Packet analysis {"connection_id":230834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:42:49] local.INFO: Extracted packet for processing {"connection_id":230834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:42:49] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:42:49] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:42:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":230834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:42:49] local.INFO: GPS data processed {"connection_id":230834,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:42:49] local.INFO: Acknowledgment sent {"connection_id":230834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:42:54] local.INFO: TCP Data received {"connection_id":229040,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:54] local.INFO: Processing buffer {"connection_id":229040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:54] local.INFO: IMEI packet received {"connection_id":229040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":229040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:42:59] local.INFO: TCP Data received {"connection_id":229040,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229040,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:59] local.INFO: Processing buffer {"connection_id":229040,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:42:59] local.INFO: IMEI packet received {"connection_id":229040,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":229040,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:43:00] local.INFO: TCP Data received {"connection_id":229040,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a641f598012d0b068007063f30000d009523..."} 
[2026-11-04 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a641f598012d0b068007063f30000d009523..."} 
[2026-11-04 16:43:00] local.INFO: Processing buffer {"connection_id":229040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a641f598012d0b068007063f30000d009523..."} 
[2026-11-04 16:43:00] local.INFO: Packet analysis {"connection_id":229040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:43:00] local.INFO: Extracted packet for processing {"connection_id":229040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a641"} 
[2026-11-04 16:43:00] local.INFO: GPS Element Parsed {"raw_longitude":755697280,"raw_latitude":117849904,"longitude_deg":75.569728,"latitude_deg":11.7849904,"altitude":13,"angle":149,"satellites":35,"speed":12,"hex_longitude":"2d0b0680","hex_latitude":"07063f30","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210415360001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39315155670007808,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789466971100753920,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793790703000,"timestamp_ms":1793790703000,"timestamp_seconds":1793790703,"priority":1,"record_length":96,"hex_timestamp":"000001a1a641f598"} 
[2026-11-04 16:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:43: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-11-04 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 16:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":229040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":229040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":229040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210415360001,"66":14548,"163":206,"94":10240,"24":12,"16":39315155670007808,"45":789466971100753920},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-11-04 16:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210415360001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:43:00] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-11-04 16:43:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39315155670007808,"km_value":39315155670007.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":789466971100753920,"description":"Unknown IO ID 45"} 
[2026-11-04 16:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210415360001,"power":14548,"unknown_163":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":789466971100753920}} 
[2026-11-04 16:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":229040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59829,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:43:01] local.INFO: GPS data processed {"connection_id":229040,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:43:01] local.INFO: Acknowledgment sent {"connection_id":229040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:43:06] local.INFO: TCP Data received {"connection_id":229041,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:43:06] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:43:06] local.INFO: IMEI packet received {"connection_id":229041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":229041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:43:12] local.INFO: TCP Data received {"connection_id":229041,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:43:12] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:43:12] local.INFO: IMEI packet received {"connection_id":229041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":229041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:43:13] local.INFO: TCP Data received {"connection_id":232689,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:43:13] local.INFO: Processing buffer {"connection_id":232689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:43:13] local.INFO: IMEI packet received {"connection_id":232689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":232689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:43:15] local.INFO: TCP Data received {"connection_id":229041,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:43:15] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a63e6b58012d569380067b6068002600482b..."} 
[2026-11-04 16:43:15] local.INFO: Packet analysis {"connection_id":229041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:43:15] local.INFO: Extracted packet for processing {"connection_id":229041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a63e"} 
[2026-11-04 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":43,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210283520001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793790471000,"timestamp_ms":1793790471000,"timestamp_seconds":1793790471,"priority":1,"record_length":96,"hex_timestamp":"000001a1a63e6b58"} 
[2026-11-04 16:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-11-04 16:43:15] 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-11-04 16: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-11-04 16:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210283520001,"66":25778,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210283520001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:43:15] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:43:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210283520001,"power":25778,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":229041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:43:15] local.INFO: GPS data processed {"connection_id":229041,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:43:15] local.INFO: Acknowledgment sent {"connection_id":229041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:43:32] local.INFO: TCP Data received {"connection_id":229040,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64243b8012d0b120007062c000011009322..."} 
[2026-11-04 16:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64243b8012d0b120007062c000011009322..."} 
[2026-11-04 16:43:32] local.INFO: Processing buffer {"connection_id":229040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64243b8012d0b120007062c000011009322..."} 
[2026-11-04 16:43:32] local.INFO: Packet analysis {"connection_id":229040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a642"} 
[2026-11-04 16:43:32] local.INFO: Extracted packet for processing {"connection_id":229040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a642"} 
[2026-11-04 16:43:32] local.INFO: GPS Element Parsed {"raw_longitude":755700224,"raw_latitude":117844992,"longitude_deg":75.5700224,"latitude_deg":11.7844992,"altitude":17,"angle":147,"satellites":34,"speed":12,"hex_longitude":"2d0b1200","hex_latitude":"07062c00","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210419968001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39315439137849344,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794463151935401984,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793790723000,"timestamp_ms":1793790723000,"timestamp_seconds":1793790723,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64243b8"} 
[2026-11-04 16:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 16:43:32] 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-11-04 16: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-11-04 16:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229040,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210419968001,"66":14537,"165":206,"94":10240,"24":12,"16":39315439137849344,"45":794463151935401984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 16:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210419968001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:43:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 16:43:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39315439137849344,"km_value":39315439137849.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":794463151935401984,"description":"Unknown IO ID 45"} 
[2026-11-04 16:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210419968001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":794463151935401984}} 
[2026-11-04 16:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":229040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:43:32] local.INFO: GPS data processed {"connection_id":229040,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:43:32] local.INFO: Acknowledgment sent {"connection_id":229040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:43:47] local.INFO: TCP Data received {"connection_id":229041,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:43:47] local.INFO: Processing buffer {"connection_id":229041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:43:47] local.INFO: Packet analysis {"connection_id":229041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:43:47] local.INFO: Extracted packet for processing {"connection_id":229041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:43:47] 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-11-04 16: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-11-04 16:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:43:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:43:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":229041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:43:47] local.INFO: GPS data processed {"connection_id":229041,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:43:47] local.INFO: Acknowledgment sent {"connection_id":229041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:43:54] local.INFO: TCP Data received {"connection_id":230836,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230836,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:43:54] local.INFO: Processing buffer {"connection_id":230836,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:43:54] local.INFO: IMEI packet received {"connection_id":230836,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":230836,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:44:00] local.INFO: TCP Data received {"connection_id":230836,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230836,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:44:00] local.INFO: Processing buffer {"connection_id":230836,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:44:00] local.INFO: IMEI packet received {"connection_id":230836,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":230836,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:44:01] local.INFO: TCP Data received {"connection_id":230836,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6427680012d0b1ac0070620880010008822..."} 
[2026-11-04 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6427680012d0b1ac0070620880010008822..."} 
[2026-11-04 16:44:01] local.INFO: Processing buffer {"connection_id":230836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6427680012d0b1ac0070620880010008822..."} 
[2026-11-04 16:44:01] local.INFO: Packet analysis {"connection_id":230836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a642"} 
[2026-11-04 16:44:01] local.INFO: Extracted packet for processing {"connection_id":230836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a642"} 
[2026-11-04 16:44:01] local.INFO: GPS Element Parsed {"raw_longitude":755702464,"raw_latitude":117842056,"longitude_deg":75.5702464,"latitude_deg":11.7842056,"altitude":16,"angle":136,"satellites":34,"speed":8,"hex_longitude":"2d0b1ac0","hex_latitude":"07062088","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210425088001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39315615231508480,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797700114166317056,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793790736000,"timestamp_ms":1793790736000,"timestamp_seconds":1793790736,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6427680"} 
[2026-11-04 16:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:44: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-11-04 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 16:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":230836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":230836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":230836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210425088001,"66":14439,"165":206,"94":10240,"24":8,"16":39315615231508480,"45":797700114166317056},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 16:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210425088001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:44:01] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 16:44:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39315615231508480,"km_value":39315615231508.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":797700114166317056,"description":"Unknown IO ID 45"} 
[2026-11-04 16:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210425088001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":797700114166317056}} 
[2026-11-04 16:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":230836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59833,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:44:01] local.INFO: GPS data processed {"connection_id":230836,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:44:01] local.INFO: Acknowledgment sent {"connection_id":230836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:44:07] local.INFO: TCP Data received {"connection_id":230837,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:44:07] local.INFO: Processing buffer {"connection_id":230837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:44:07] local.INFO: IMEI packet received {"connection_id":230837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":230837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:44:12] local.INFO: TCP Data received {"connection_id":230837,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:44:12] local.INFO: Processing buffer {"connection_id":230837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:44:12] local.INFO: IMEI packet received {"connection_id":230837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":230837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:44:12] local.INFO: TCP Data received {"connection_id":230837,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:12] local.INFO: Processing buffer {"connection_id":230837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:12] local.INFO: Packet analysis {"connection_id":230837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:44:12] local.INFO: Extracted packet for processing {"connection_id":230837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:44:12] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:44: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-11-04 16: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-11-04 16:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:44:12] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:44:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":230837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:44:12] local.INFO: GPS data processed {"connection_id":230837,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:44:12] local.INFO: Acknowledgment sent {"connection_id":230837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:44:18] local.INFO: TCP Data received {"connection_id":230837,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:18] local.INFO: Processing buffer {"connection_id":230837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:18] local.INFO: Packet analysis {"connection_id":230837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:44:18] local.INFO: Extracted packet for processing {"connection_id":230837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:44:18] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:44: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-11-04 16: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-11-04 16:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:44:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:44:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":230837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:44:18] local.INFO: GPS data processed {"connection_id":230837,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:44:18] local.INFO: Acknowledgment sent {"connection_id":230837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:44:50] local.INFO: TCP Data received {"connection_id":230837,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:50] local.INFO: Processing buffer {"connection_id":230837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:44:50] local.INFO: Packet analysis {"connection_id":230837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:44:50] local.INFO: Extracted packet for processing {"connection_id":230837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:44:50] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:44:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":230837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:44:50] local.INFO: GPS data processed {"connection_id":230837,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:44:50] local.INFO: Acknowledgment sent {"connection_id":230837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:45:06] local.INFO: TCP Data received {"connection_id":229522,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:45:06] local.INFO: Processing buffer {"connection_id":229522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:45:06] local.INFO: IMEI packet received {"connection_id":229522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":229522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:45:12] local.INFO: TCP Data received {"connection_id":229522,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:45:12] local.INFO: Processing buffer {"connection_id":229522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:45:12] local.INFO: IMEI packet received {"connection_id":229522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":229522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:45:14] local.INFO: TCP Data received {"connection_id":229522,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:45:14] local.INFO: Processing buffer {"connection_id":229522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:45:14] local.INFO: Packet analysis {"connection_id":229522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:45:14] local.INFO: Extracted packet for processing {"connection_id":229522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:45:14] 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-11-04 16:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:45:14] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:45:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":229522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:45:14] local.INFO: GPS data processed {"connection_id":229522,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:45:14] local.INFO: Acknowledgment sent {"connection_id":229522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:45:26] local.INFO: TCP Data received {"connection_id":230836,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6444f28012d0b6e000705e4600015007a22..."} 
[2026-11-04 16:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6444f28012d0b6e000705e4600015007a22..."} 
[2026-11-04 16:45:26] local.INFO: Processing buffer {"connection_id":230836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6444f28012d0b6e000705e4600015007a22..."} 
[2026-11-04 16:45:26] local.INFO: Packet analysis {"connection_id":230836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a644"} 
[2026-11-04 16:45:26] local.INFO: Extracted packet for processing {"connection_id":230836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a644"} 
[2026-11-04 16:45:26] local.INFO: GPS Element Parsed {"raw_longitude":755723776,"raw_latitude":117826656,"longitude_deg":75.5723776,"latitude_deg":11.7826656,"altitude":21,"angle":122,"satellites":34,"speed":41,"hex_longitude":"2d0b6e00","hex_latitude":"0705e460","is_valid_coordinates":true} 
[2026-11-04 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210456320001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39317264498950144,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815221931463440384,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793790857000,"timestamp_ms":1793790857000,"timestamp_seconds":1793790857,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6444f28"} 
[2026-11-04 16:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:45: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-11-04 16:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-11-04 16:45:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230836,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210456320001,"66":14439,"165":206,"94":10240,"24":41,"16":39317264498950144,"45":815221931463440384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-11-04 16:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210456320001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:45:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-11-04 16:45:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-11-04 16:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39317264498950144,"km_value":39317264498950.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":815221931463440384,"description":"Unknown IO ID 45"} 
[2026-11-04 16:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210456320001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":815221931463440384}} 
[2026-11-04 16:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":230836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59838,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:45:27] local.INFO: GPS data processed {"connection_id":230836,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:45:27] local.INFO: Acknowledgment sent {"connection_id":230836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:45:32] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:32] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:32] local.INFO: IMEI packet received {"connection_id":229523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":229523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:45:34] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:34] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:34] local.INFO: IMEI packet received {"connection_id":229523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":229523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:45:35] local.INFO: TCP Data received {"connection_id":229523,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229523,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:35] local.INFO: Processing buffer {"connection_id":229523,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:45:35] local.INFO: IMEI packet received {"connection_id":229523,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":229523,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:45:46] local.INFO: TCP Data received {"connection_id":229522,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:45:46] local.INFO: Processing buffer {"connection_id":229522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:45:46] local.INFO: Packet analysis {"connection_id":229522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:45:46] local.INFO: Extracted packet for processing {"connection_id":229522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:45:46] 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-11-04 16:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:45:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:45:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":229522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:45:46] local.INFO: GPS data processed {"connection_id":229522,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:45:46] local.INFO: Acknowledgment sent {"connection_id":229522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:46:06] local.INFO: TCP Data received {"connection_id":229042,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:46:06] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:46:06] local.INFO: IMEI packet received {"connection_id":229042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":229042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:46:09] local.INFO: TCP Data received {"connection_id":230840,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230840,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:46:09] local.INFO: Processing buffer {"connection_id":230840,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:46:09] local.INFO: IMEI packet received {"connection_id":230840,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":230840,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:46:11] local.INFO: TCP Data received {"connection_id":229042,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:46:11] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:46:11] local.INFO: IMEI packet received {"connection_id":229042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":229042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:46:12] local.INFO: TCP Data received {"connection_id":229042,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:46:12] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:46:12] local.INFO: Packet analysis {"connection_id":229042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:46:12] local.INFO: Extracted packet for processing {"connection_id":229042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:46:12] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:46: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-11-04 16: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-11-04 16:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:46:12] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:46:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":229042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:46:12] local.INFO: GPS data processed {"connection_id":229042,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:46:12] local.INFO: Acknowledgment sent {"connection_id":229042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:46:45] local.INFO: TCP Data received {"connection_id":229042,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:46:45] local.INFO: Processing buffer {"connection_id":229042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:46:45] local.INFO: Packet analysis {"connection_id":229042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:46:45] local.INFO: Extracted packet for processing {"connection_id":229042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:46:45] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:46: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-11-04 16:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:46:45] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:46:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":229042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:46:45] local.INFO: GPS data processed {"connection_id":229042,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:46:45] local.INFO: Acknowledgment sent {"connection_id":229042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:47:12] local.INFO: TCP Data received {"connection_id":229044,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:47:12] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:47:12] local.INFO: IMEI packet received {"connection_id":229044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":229044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:47:17] local.INFO: TCP Data received {"connection_id":229044,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:47:17] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:47:17] local.INFO: IMEI packet received {"connection_id":229044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":229044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:47:18] local.INFO: TCP Data received {"connection_id":229044,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:47:18] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:47:18] local.INFO: Packet analysis {"connection_id":229044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:47:18] local.INFO: Extracted packet for processing {"connection_id":229044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:47: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-11-04 16:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:47:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:47:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":229044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:47:18] local.INFO: GPS data processed {"connection_id":229044,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:47:18] local.INFO: Acknowledgment sent {"connection_id":229044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:47:22] local.INFO: TCP Data received {"connection_id":229044,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:47:22] local.INFO: Processing buffer {"connection_id":229044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:47:22] local.INFO: Packet analysis {"connection_id":229044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:47:22] local.INFO: Extracted packet for processing {"connection_id":229044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:47:22] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:47:22] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:47:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":229044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:47:22] local.INFO: GPS data processed {"connection_id":229044,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:47:22] local.INFO: Acknowledgment sent {"connection_id":229044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:48:07] local.INFO: TCP Data received {"connection_id":232691,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:48:07] local.INFO: Processing buffer {"connection_id":232691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:48:07] local.INFO: IMEI packet received {"connection_id":232691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":232691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:48:12] local.INFO: TCP Data received {"connection_id":232691,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:48:12] local.INFO: Processing buffer {"connection_id":232691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:48:12] local.INFO: IMEI packet received {"connection_id":232691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":232691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:48:14] local.INFO: TCP Data received {"connection_id":232691,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:48:14] local.INFO: Processing buffer {"connection_id":232691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6430320012d569380067b6068002600482e..."} 
[2026-11-04 16:48:14] local.INFO: Packet analysis {"connection_id":232691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:48:14] local.INFO: Extracted packet for processing {"connection_id":232691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a643"} 
[2026-11-04 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":46,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210360576001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793790772000,"timestamp_ms":1793790772000,"timestamp_seconds":1793790772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6430320"} 
[2026-11-04 16:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 16:48:14] 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-11-04 16:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210360576001,"66":25702,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210360576001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:48:14] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:48:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210360576001,"power":25702,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":232691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:48:14] local.INFO: GPS data processed {"connection_id":232691,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:48:14] local.INFO: Acknowledgment sent {"connection_id":232691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:48:33] local.INFO: TCP Data received {"connection_id":229045,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:48:33] local.INFO: Processing buffer {"connection_id":229045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:48:33] local.INFO: IMEI packet received {"connection_id":229045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":229045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:48:46] local.INFO: TCP Data received {"connection_id":232691,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:48:46] local.INFO: Processing buffer {"connection_id":232691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:48:46] local.INFO: Packet analysis {"connection_id":232691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:48:46] local.INFO: Extracted packet for processing {"connection_id":232691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:48:46] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210437632001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793791073000,"timestamp_ms":1793791073000,"timestamp_seconds":1793791073,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6479ae8"} 
[2026-11-04 16:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 16:48:46] 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-11-04 16:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210437632001,"66":25647,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210437632001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:48:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:48:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210437632001,"power":25647,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":232691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:48:46] local.INFO: GPS data processed {"connection_id":232691,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:48:46] local.INFO: Acknowledgment sent {"connection_id":232691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:49:06] local.INFO: TCP Data received {"connection_id":229524,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:49:06] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:49:06] local.INFO: IMEI packet received {"connection_id":229524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":229524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:49:08] local.INFO: TCP Data received {"connection_id":229046,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:49:08] local.INFO: Processing buffer {"connection_id":229046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:49:08] local.INFO: IMEI packet received {"connection_id":229046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":229046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:49:12] local.INFO: TCP Data received {"connection_id":229524,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:49:12] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:49:12] local.INFO: IMEI packet received {"connection_id":229524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":229524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:49:15] local.INFO: TCP Data received {"connection_id":229524,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:49:15] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:49:15] local.INFO: Packet analysis {"connection_id":229524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:49:15] local.INFO: Extracted packet for processing {"connection_id":229524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:49:15] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210437632001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:49:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793791073000,"timestamp_ms":1793791073000,"timestamp_seconds":1793791073,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6479ae8"} 
[2026-11-04 16:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 16:49:15] 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-11-04 16:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:49:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210437632001,"66":25647,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:49:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:49:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:49:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210437632001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:49:15] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:49:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:49:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:49:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:49:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210437632001,"power":25647,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":229524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:49:15] local.INFO: GPS data processed {"connection_id":229524,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:49:15] local.INFO: Acknowledgment sent {"connection_id":229524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:49:47] local.INFO: TCP Data received {"connection_id":229524,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:49:47] local.INFO: Processing buffer {"connection_id":229524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:49:47] local.INFO: Packet analysis {"connection_id":229524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:49:47] local.INFO: Extracted packet for processing {"connection_id":229524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:49:47] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210437632001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793791073000,"timestamp_ms":1793791073000,"timestamp_seconds":1793791073,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6479ae8"} 
[2026-11-04 16:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 16:49:47] 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-11-04 16:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210437632001,"66":25647,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210437632001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:49:47] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:49:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210437632001,"power":25647,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":229524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:49:47] local.INFO: GPS data processed {"connection_id":229524,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:49:47] local.INFO: Acknowledgment sent {"connection_id":229524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:50:12] local.INFO: TCP Data received {"connection_id":229047,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:50:12] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:50:12] local.INFO: IMEI packet received {"connection_id":229047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":229047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:50:17] local.INFO: TCP Data received {"connection_id":229047,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:50:17] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:50:17] local.INFO: IMEI packet received {"connection_id":229047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":229047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:50:18] local.INFO: TCP Data received {"connection_id":229047,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:50:18] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:50:18] local.INFO: Packet analysis {"connection_id":229047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:50:18] local.INFO: Extracted packet for processing {"connection_id":229047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:50:18] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210437632001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793791073000,"timestamp_ms":1793791073000,"timestamp_seconds":1793791073,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6479ae8"} 
[2026-11-04 16:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 16:50:18] 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-11-04 16:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210437632001,"66":25647,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210437632001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:50:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:50:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210437632001,"power":25647,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":229047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:50:18] local.INFO: GPS data processed {"connection_id":229047,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:50:18] local.INFO: Acknowledgment sent {"connection_id":229047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:50:21] local.INFO: TCP Data received {"connection_id":229047,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:50:21] local.INFO: Processing buffer {"connection_id":229047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6479ae8012d569380067b6068002600482f..."} 
[2026-11-04 16:50:21] local.INFO: Packet analysis {"connection_id":229047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:50:21] local.INFO: Extracted packet for processing {"connection_id":229047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a647"} 
[2026-11-04 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":47,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210437632001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793791073000,"timestamp_ms":1793791073000,"timestamp_seconds":1793791073,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6479ae8"} 
[2026-11-04 16:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 16:50: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-11-04 16: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-11-04 16:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210437632001,"66":25647,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210437632001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:50:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:50:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210437632001,"power":25647,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":229047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:50:21] local.INFO: GPS data processed {"connection_id":229047,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:50:21] local.INFO: Acknowledgment sent {"connection_id":229047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:51:07] local.INFO: TCP Data received {"connection_id":232692,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:51:07] local.INFO: Processing buffer {"connection_id":232692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:51:07] local.INFO: IMEI packet received {"connection_id":232692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":232692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:51:10] local.INFO: TCP Data received {"connection_id":230842,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230842,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:51:10] local.INFO: Processing buffer {"connection_id":230842,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:51:10] local.INFO: IMEI packet received {"connection_id":230842,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":230842,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:51:11] local.INFO: TCP Data received {"connection_id":232692,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:51:11] local.INFO: Processing buffer {"connection_id":232692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:51:11] local.INFO: IMEI packet received {"connection_id":232692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":232692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:51:12] local.INFO: TCP Data received {"connection_id":232692,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a649b5f8012d569380067b6068002600482c..."} 
[2026-11-04 16:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a649b5f8012d569380067b6068002600482c..."} 
[2026-11-04 16:51:12] local.INFO: Processing buffer {"connection_id":232692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a649b5f8012d569380067b6068002600482c..."} 
[2026-11-04 16:51:12] local.INFO: Packet analysis {"connection_id":232692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a649"} 
[2026-11-04 16:51:12] local.INFO: Extracted packet for processing {"connection_id":232692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a649"} 
[2026-11-04 16:51:12] local.INFO: GPS Element Parsed {"raw_longitude":760648576,"raw_latitude":108748904,"longitude_deg":76.0648576,"latitude_deg":10.8748904,"altitude":38,"angle":72,"satellites":44,"speed":0,"hex_longitude":"2d569380","hex_latitude":"067b6068","is_valid_coordinates":true} 
[2026-11-04 16:51: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-11-04 16:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210514688001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793791211000,"timestamp_ms":1793791211000,"timestamp_seconds":1793791211,"priority":1,"record_length":96,"hex_timestamp":"000001a1a649b5f8"} 
[2026-11-04 16:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 16:51: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-11-04 16:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210514688001,"66":25625,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210514688001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:51:12] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:51:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210514688001,"power":25625,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":232692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:51:12] local.INFO: GPS data processed {"connection_id":232692,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:51:12] local.INFO: Acknowledgment sent {"connection_id":232692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:51:13] local.INFO: TCP Data received {"connection_id":230842,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6495068012d0c3600070585d00017007c1f..."} 
[2026-11-04 16:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6495068012d0c3600070585d00017007c1f..."} 
[2026-11-04 16:51:13] local.INFO: Processing buffer {"connection_id":230842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6495068012d0c3600070585d00017007c1f..."} 
[2026-11-04 16:51:13] local.INFO: Packet analysis {"connection_id":230842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a649"} 
[2026-11-04 16:51:13] local.INFO: Extracted packet for processing {"connection_id":230842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a649"} 
[2026-11-04 16:51:13] local.INFO: GPS Element Parsed {"raw_longitude":755774976,"raw_latitude":117802448,"longitude_deg":75.5774976,"latitude_deg":11.7802448,"altitude":23,"angle":124,"satellites":31,"speed":25,"hex_longitude":"2d0c3600","hex_latitude":"070585d0","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210542592001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39323298928001024,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":877779745029873664,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,178,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791185000,"timestamp_ms":1793791185000,"timestamp_seconds":1793791185,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6495068"} 
[2026-11-04 16:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 16:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230842,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210542592001,"66":14450,"91":206,"178":8192,"24":25,"16":39323298928001024,"45":877779745029873664},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,178,24,16,45]} 
[2026-11-04 16:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210542592001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:51:13] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-04 16:51:13] local.INFO: Unknown IO ID detected {"io_id":178,"value":8192,"description":"Unknown IO ID 178"} 
[2026-11-04 16:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39323298928001024,"km_value":39323298928001.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":877779745029873664,"description":"Unknown IO ID 45"} 
[2026-11-04 16:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210542592001,"power":14450,"unknown_91":206,"unknown_178":8192,"ignition":25,"odometer":null,"unknown_45":877779745029873664}} 
[2026-11-04 16:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":230842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:51:13] local.INFO: GPS data processed {"connection_id":230842,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:51:13] local.INFO: Acknowledgment sent {"connection_id":230842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:51:45] local.INFO: TCP Data received {"connection_id":232692,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a649c1b0012d569e00067b66680026003b2d..."} 
[2026-11-04 16:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a649c1b0012d569e00067b66680026003b2d..."} 
[2026-11-04 16:51:45] local.INFO: Processing buffer {"connection_id":232692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a649c1b0012d569e00067b66680026003b2d..."} 
[2026-11-04 16:51:45] local.INFO: Packet analysis {"connection_id":232692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a649"} 
[2026-11-04 16:51:45] local.INFO: Extracted packet for processing {"connection_id":232692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a649"} 
[2026-11-04 16:51:45] local.INFO: GPS Element Parsed {"raw_longitude":760651264,"raw_latitude":108750440,"longitude_deg":76.0651264,"latitude_deg":10.875044,"altitude":38,"angle":59,"satellites":45,"speed":0,"hex_longitude":"2d569e00","hex_latitude":"067b6668","is_valid_coordinates":true} 
[2026-11-04 16:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210550016001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6238470674166343680,"note":"Value kept but may cause issues"} 
[2026-11-04 16:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793791214000,"timestamp_ms":1793791214000,"timestamp_seconds":1793791214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a649c1b0"} 
[2026-11-04 16:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-11-04 16:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210550016001,"66":21788,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6238470674166343680},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210550016001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:51:45] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:51:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6238470674166343680,"description":"Unknown IO ID 45"} 
[2026-11-04 16:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210550016001,"power":21788,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6238470674166343680}} 
[2026-11-04 16:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":232692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:51:45] local.INFO: GPS data processed {"connection_id":232692,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:51:45] local.INFO: Acknowledgment sent {"connection_id":232692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:51:55] local.INFO: TCP Data received {"connection_id":229049,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:51:55] local.INFO: Processing buffer {"connection_id":229049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:51:55] local.INFO: IMEI packet received {"connection_id":229049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":229049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:52:00] local.INFO: TCP Data received {"connection_id":229049,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229049,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:52:00] local.INFO: Processing buffer {"connection_id":229049,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:52:00] local.INFO: IMEI packet received {"connection_id":229049,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":229049,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:52:04] local.INFO: TCP Data received {"connection_id":229049,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64aded8012d0cb94007048518001e009e1d..."} 
[2026-11-04 16:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64aded8012d0cb94007048518001e009e1d..."} 
[2026-11-04 16:52:04] local.INFO: Processing buffer {"connection_id":229049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64aded8012d0cb94007048518001e009e1d..."} 
[2026-11-04 16:52:04] local.INFO: Packet analysis {"connection_id":229049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:04] local.INFO: Extracted packet for processing {"connection_id":229049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":755808576,"raw_latitude":117736728,"longitude_deg":75.5808576,"latitude_deg":11.7736728,"altitude":30,"angle":158,"satellites":29,"speed":37,"hex_longitude":"2d0cb940","hex_latitude":"07048518","is_valid_coordinates":true} 
[2026-11-04 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210568448001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39326928175366144,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914793704451080192,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1793791287000,"timestamp_ms":1793791287000,"timestamp_seconds":1793791287,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64aded8"} 
[2026-11-04 16:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":229049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":229049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":229049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210568448001,"66":14428,"18":206,"28":32256,"24":37,"16":39326928175366144,"45":914793704451080192},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-11-04 16:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210568448001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:52:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 16:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39326928175366144,"km_value":39326928175366.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":914793704451080192,"description":"Unknown IO ID 45"} 
[2026-11-04 16:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210568448001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":914793704451080192}} 
[2026-11-04 16:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":229049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:52:04] local.INFO: GPS data processed {"connection_id":229049,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:52:04] local.INFO: Acknowledgment sent {"connection_id":229049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:52:06] local.INFO: TCP Data received {"connection_id":232693,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:52:06] local.INFO: Processing buffer {"connection_id":232693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:52:06] local.INFO: IMEI packet received {"connection_id":232693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":232693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:52:11] local.INFO: TCP Data received {"connection_id":232693,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:52:11] local.INFO: Processing buffer {"connection_id":232693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:52:11] local.INFO: IMEI packet received {"connection_id":232693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":232693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:52:13] local.INFO: TCP Data received {"connection_id":232693,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a13b8012d569e00067b66680026003b2e..."} 
[2026-11-04 16:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a13b8012d569e00067b66680026003b2e..."} 
[2026-11-04 16:52:13] local.INFO: Processing buffer {"connection_id":232693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a13b8012d569e00067b66680026003b2e..."} 
[2026-11-04 16:52:13] local.INFO: Packet analysis {"connection_id":232693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:13] local.INFO: Extracted packet for processing {"connection_id":232693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:13] local.INFO: GPS Element Parsed {"raw_longitude":760651264,"raw_latitude":108750440,"longitude_deg":76.0651264,"latitude_deg":10.875044,"altitude":38,"angle":59,"satellites":46,"speed":0,"hex_longitude":"2d569e00","hex_latitude":"067b6668","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210550784001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241426161422198784,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791235000,"timestamp_ms":1793791235000,"timestamp_seconds":1793791235,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a13b8"} 
[2026-11-04 16:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":85,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-11-04 16:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":875,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210550784001,"66":27713,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6241426161422198784},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210550784001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:52:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:52:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241426161422198784,"description":"Unknown IO ID 45"} 
[2026-11-04 16:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210550784001,"power":27713,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241426161422198784}} 
[2026-11-04 16:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":232693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:52:13] local.INFO: GPS data processed {"connection_id":232693,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:52:13] local.INFO: Acknowledgment sent {"connection_id":232693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:52:35] local.INFO: TCP Data received {"connection_id":229049,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64ae6a8012d0cbb4007047da8001d00ab1f..."} 
[2026-11-04 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64ae6a8012d0cbb4007047da8001d00ab1f..."} 
[2026-11-04 16:52:35] local.INFO: Processing buffer {"connection_id":229049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64ae6a8012d0cbb4007047da8001d00ab1f..."} 
[2026-11-04 16:52:35] local.INFO: Packet analysis {"connection_id":229049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:35] local.INFO: Extracted packet for processing {"connection_id":229049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:35] local.INFO: GPS Element Parsed {"raw_longitude":755809088,"raw_latitude":117734824,"longitude_deg":75.5809088,"latitude_deg":11.7734824,"altitude":29,"angle":171,"satellites":31,"speed":38,"hex_longitude":"2d0cbb40","hex_latitude":"07047da8","is_valid_coordinates":true} 
[2026-11-04 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210569472001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39327026959613952,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916834398031386624,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793791289000,"timestamp_ms":1793791289000,"timestamp_seconds":1793791289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64ae6a8"} 
[2026-11-04 16:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:52: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-11-04 16:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":229049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":229049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":229049,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210569472001,"66":14450,"18":206,"28":32256,"24":38,"16":39327026959613952,"45":916834398031386624},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-11-04 16:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210569472001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:52:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 16:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39327026959613952,"km_value":39327026959613.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":916834398031386624,"description":"Unknown IO ID 45"} 
[2026-11-04 16:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210569472001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":916834398031386624}} 
[2026-11-04 16:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":229049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59855,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:52:36] local.INFO: GPS data processed {"connection_id":229049,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:52:36] local.INFO: Acknowledgment sent {"connection_id":229049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:52:45] local.INFO: TCP Data received {"connection_id":232693,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a65c0012d569e00067b66680026003b2e..."} 
[2026-11-04 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a65c0012d569e00067b66680026003b2e..."} 
[2026-11-04 16:52:45] local.INFO: Processing buffer {"connection_id":232693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a65c0012d569e00067b66680026003b2e..."} 
[2026-11-04 16:52:45] local.INFO: Packet analysis {"connection_id":232693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:45] local.INFO: Extracted packet for processing {"connection_id":232693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":760651264,"raw_latitude":108750440,"longitude_deg":76.0651264,"latitude_deg":10.875044,"altitude":38,"angle":59,"satellites":46,"speed":0,"hex_longitude":"2d569e00","hex_latitude":"067b6668","is_valid_coordinates":true} 
[2026-11-04 16:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210556160001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076681905864704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241426161422198784,"note":"Value kept but may cause issues"} 
[2026-11-04 16:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793791256000,"timestamp_ms":1793791256000,"timestamp_seconds":1793791256,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a65c0"} 
[2026-11-04 16:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 16:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210556160001,"66":28050,"14":206,"19":47872,"24":0,"16":39076681905864704,"45":6241426161422198784},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210556160001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:52:45] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:52:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076681905864704,"km_value":39076681905864.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241426161422198784,"description":"Unknown IO ID 45"} 
[2026-11-04 16:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210556160001,"power":28050,"unknown_14":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241426161422198784}} 
[2026-11-04 16:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":232693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:52:45] local.INFO: GPS data processed {"connection_id":232693,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:52:45] local.INFO: Acknowledgment sent {"connection_id":232693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:53:00] local.INFO: TCP Data received {"connection_id":229526,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:00] local.INFO: Processing buffer {"connection_id":229526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:00] local.INFO: IMEI packet received {"connection_id":229526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":229526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:53:02] local.INFO: TCP Data received {"connection_id":229526,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229526,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:02] local.INFO: Processing buffer {"connection_id":229526,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:02] local.INFO: IMEI packet received {"connection_id":229526,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":229526,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:53:06] local.INFO: TCP Data received {"connection_id":229527,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:53:06] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:53:06] local.INFO: IMEI packet received {"connection_id":229527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":229527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:53:07] local.INFO: TCP Data received {"connection_id":229526,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64bf818012d0c4cc00703d5b0000f00ba1e..."} 
[2026-11-04 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64bf818012d0c4cc00703d5b0000f00ba1e..."} 
[2026-11-04 16:53:07] local.INFO: Processing buffer {"connection_id":229526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64bf818012d0c4cc00703d5b0000f00ba1e..."} 
[2026-11-04 16:53:07] local.INFO: Packet analysis {"connection_id":229526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64b"} 
[2026-11-04 16:53:07] local.INFO: Extracted packet for processing {"connection_id":229526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64b"} 
[2026-11-04 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":755780800,"raw_latitude":117691824,"longitude_deg":75.57808,"latitude_deg":11.7691824,"altitude":15,"angle":186,"satellites":30,"speed":31,"hex_longitude":"2d0c4cc0","hex_latitude":"0703d5b0","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210587648001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39329638299729920,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886435100535347200,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793791359000,"timestamp_ms":1793791359000,"timestamp_seconds":1793791359,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64bf818"} 
[2026-11-04 16:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 16:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210587648001,"66":14233,"18":206,"28":32256,"24":31,"16":39329638299729920,"45":886435100535347200},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-11-04 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210587648001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:53:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 16:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39329638299729920,"km_value":39329638299729.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":886435100535347200,"description":"Unknown IO ID 45"} 
[2026-11-04 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210587648001,"power":14233,"unknown_18":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":886435100535347200}} 
[2026-11-04 16:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":229526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:53:08] local.INFO: GPS data processed {"connection_id":229526,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:53:08] local.INFO: Acknowledgment sent {"connection_id":229526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:53:09] local.INFO: TCP Data received {"connection_id":229526,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64bffe8012d0c4d800703ce90000f00ac1e..."} 
[2026-11-04 16:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64bffe8012d0c4d800703ce90000f00ac1e..."} 
[2026-11-04 16:53:09] local.INFO: Processing buffer {"connection_id":229526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64bffe8012d0c4d800703ce90000f00ac1e..."} 
[2026-11-04 16:53:09] local.INFO: Packet analysis {"connection_id":229526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64b"} 
[2026-11-04 16:53:09] local.INFO: Extracted packet for processing {"connection_id":229526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64b"} 
[2026-11-04 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117690000,"longitude_deg":75.5780992,"latitude_deg":11.769,"altitude":15,"angle":172,"satellites":30,"speed":35,"hex_longitude":"2d0c4d80","hex_latitude":"0703ce90","is_valid_coordinates":true} 
[2026-11-04 16:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210587904001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39329728494043136,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886294363046785024,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793791361000,"timestamp_ms":1793791361000,"timestamp_seconds":1793791361,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64bffe8"} 
[2026-11-04 16:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-11-04 16:53:09] 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-11-04 16:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210587904001,"66":14330,"18":206,"28":32256,"24":35,"16":39329728494043136,"45":886294363046785024},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-11-04 16:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210587904001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:53:09] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 16:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39329728494043136,"km_value":39329728494043.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":886294363046785024,"description":"Unknown IO ID 45"} 
[2026-11-04 16:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210587904001,"power":14330,"unknown_18":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":886294363046785024}} 
[2026-11-04 16:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":229526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:53:09] local.INFO: GPS data processed {"connection_id":229526,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:53:09] local.INFO: Acknowledgment sent {"connection_id":229526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:53:12] local.INFO: TCP Data received {"connection_id":229527,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:53:12] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:53:12] local.INFO: IMEI packet received {"connection_id":229527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":229527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:53:13] local.INFO: TCP Data received {"connection_id":229527,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:53:13] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:53:13] local.INFO: Packet analysis {"connection_id":229527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:53:13] local.INFO: Extracted packet for processing {"connection_id":229527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":760651392,"raw_latitude":108750384,"longitude_deg":76.0651392,"latitude_deg":10.8750384,"altitude":35,"angle":230,"satellites":46,"speed":2,"hex_longitude":"2d569e80","hex_latitude":"067b6630","is_valid_coordinates":true} 
[2026-11-04 16:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561536001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241426161422198784,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791257000,"timestamp_ms":1793791257000,"timestamp_seconds":1793791257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a69a8"} 
[2026-11-04 16:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 16:53: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-11-04 16:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561536001,"66":27865,"14":206,"19":47872,"24":2,"16":39076690495799296,"45":6241426161422198784},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561536001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:53:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:53:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241426161422198784,"description":"Unknown IO ID 45"} 
[2026-11-04 16:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561536001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241426161422198784}} 
[2026-11-04 16:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":229527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:53:13] local.INFO: GPS data processed {"connection_id":229527,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:53:13] local.INFO: Acknowledgment sent {"connection_id":229527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:53:40] local.INFO: TCP Data received {"connection_id":229526,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64c07b8012d0c4d800703c808001000bb1f..."} 
[2026-11-04 16:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64c07b8012d0c4d800703c808001000bb1f..."} 
[2026-11-04 16:53:40] local.INFO: Processing buffer {"connection_id":229526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64c07b8012d0c4d800703c808001000bb1f..."} 
[2026-11-04 16:53:40] local.INFO: Packet analysis {"connection_id":229526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64c"} 
[2026-11-04 16:53:40] local.INFO: Extracted packet for processing {"connection_id":229526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64c"} 
[2026-11-04 16:53:40] local.INFO: GPS Element Parsed {"raw_longitude":755780992,"raw_latitude":117688328,"longitude_deg":75.5780992,"latitude_deg":11.7688328,"altitude":16,"angle":187,"satellites":31,"speed":31,"hex_longitude":"2d0c4d80","hex_latitude":"0703c808","is_valid_coordinates":true} 
[2026-11-04 16:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210588416001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39329810098421760,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886505469278851072,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793791363000,"timestamp_ms":1793791363000,"timestamp_seconds":1793791363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64c07b8"} 
[2026-11-04 16:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-11-04 16:53:40] 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-11-04 16:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":229526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":229526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":229526,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210588416001,"66":13624,"18":206,"28":32256,"24":31,"16":39329810098421760,"45":886505469278851072},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-11-04 16:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210588416001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:53:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 16:53:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39329810098421760,"km_value":39329810098421.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":886505469278851072,"description":"Unknown IO ID 45"} 
[2026-11-04 16:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210588416001,"power":13624,"unknown_18":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":886505469278851072}} 
[2026-11-04 16:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":229526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59860,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:53:41] local.INFO: GPS data processed {"connection_id":229526,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:53:41] local.INFO: Acknowledgment sent {"connection_id":229526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:53:44] local.INFO: TCP Data received {"connection_id":229527,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:53:44] local.INFO: Processing buffer {"connection_id":229527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:53:44] local.INFO: Packet analysis {"connection_id":229527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:53:44] local.INFO: Extracted packet for processing {"connection_id":229527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:53:44] local.INFO: GPS Element Parsed {"raw_longitude":760651392,"raw_latitude":108750384,"longitude_deg":76.0651392,"latitude_deg":10.8750384,"altitude":35,"angle":230,"satellites":46,"speed":2,"hex_longitude":"2d569e80","hex_latitude":"067b6630","is_valid_coordinates":true} 
[2026-11-04 16:53: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-11-04 16:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793791257000,"timestamp_ms":1793791257000,"timestamp_seconds":1793791257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a69a8"} 
[2026-11-04 16:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:53: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-11-04 16: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-11-04 16:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":27865,"14":206,"19":47872,"24":2,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:53:44] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:53:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":229527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:53:44] local.INFO: GPS data processed {"connection_id":229527,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:53:44] local.INFO: Acknowledgment sent {"connection_id":229527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:53:52] local.INFO: TCP Data received {"connection_id":232694,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:52] local.INFO: Processing buffer {"connection_id":232694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:52] local.INFO: IMEI packet received {"connection_id":232694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":232694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:53:55] local.INFO: TCP Data received {"connection_id":232694,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:55] local.INFO: Processing buffer {"connection_id":232694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:55] local.INFO: IMEI packet received {"connection_id":232694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":232694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:53:59] local.INFO: TCP Data received {"connection_id":232694,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232694,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:59] local.INFO: Processing buffer {"connection_id":232694,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:53:59] local.INFO: IMEI packet received {"connection_id":232694,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":232694,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:54:00] local.INFO: TCP Data received {"connection_id":232694,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64c0f88012d0c4b800703c2b0001000d11f..."} 
[2026-11-04 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64c0f88012d0c4b800703c2b0001000d11f..."} 
[2026-11-04 16:54:00] local.INFO: Processing buffer {"connection_id":232694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64c0f88012d0c4b800703c2b0001000d11f..."} 
[2026-11-04 16:54:00] local.INFO: Packet analysis {"connection_id":232694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64c"} 
[2026-11-04 16:54:00] local.INFO: Extracted packet for processing {"connection_id":232694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64c"} 
[2026-11-04 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":755780480,"raw_latitude":117686960,"longitude_deg":75.578048,"latitude_deg":11.768696,"altitude":16,"angle":209,"satellites":31,"speed":29,"hex_longitude":"2d0c4b80","hex_latitude":"0703c2b0","is_valid_coordinates":true} 
[2026-11-04 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210588928001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39329878817898496,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886505469278423040,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793791365000,"timestamp_ms":1793791365000,"timestamp_seconds":1793791365,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64c0f88"} 
[2026-11-04 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:54: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-11-04 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-11-04 16:54:00] 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-11-04 16:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":232694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":232694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":232694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210588928001,"66":14439,"18":206,"28":32256,"24":29,"16":39329878817898496,"45":886505469278423040},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-11-04 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210588928001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:54:00] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 16:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39329878817898496,"km_value":39329878817898.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":886505469278423040,"description":"Unknown IO ID 45"} 
[2026-11-04 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210588928001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":886505469278423040}} 
[2026-11-04 16:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":232694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59862,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:54:01] local.INFO: GPS data processed {"connection_id":232694,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:54:01] local.INFO: Acknowledgment sent {"connection_id":232694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:54:11] local.INFO: TCP Data received {"connection_id":232695,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:54:11] local.INFO: Processing buffer {"connection_id":232695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:54:11] local.INFO: IMEI packet received {"connection_id":232695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":232695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:54:16] local.INFO: TCP Data received {"connection_id":232695,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:54:16] local.INFO: Processing buffer {"connection_id":232695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:54:16] local.INFO: IMEI packet received {"connection_id":232695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":232695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:54:18] local.INFO: TCP Data received {"connection_id":232695,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:54:18] local.INFO: Processing buffer {"connection_id":232695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:54:18] local.INFO: Packet analysis {"connection_id":232695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:54:18] local.INFO: Extracted packet for processing {"connection_id":232695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":760651392,"raw_latitude":108750384,"longitude_deg":76.0651392,"latitude_deg":10.8750384,"altitude":35,"angle":230,"satellites":46,"speed":2,"hex_longitude":"2d569e80","hex_latitude":"067b6630","is_valid_coordinates":true} 
[2026-11-04 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793791257000,"timestamp_ms":1793791257000,"timestamp_seconds":1793791257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a69a8"} 
[2026-11-04 16:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":27865,"14":206,"19":47872,"24":2,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:54:18] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:54:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":232695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:54:18] local.INFO: GPS data processed {"connection_id":232695,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:54:18] local.INFO: Acknowledgment sent {"connection_id":232695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:54:21] local.INFO: TCP Data received {"connection_id":232695,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:54:21] local.INFO: Processing buffer {"connection_id":232695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:54:21] local.INFO: Packet analysis {"connection_id":232695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:54:21] local.INFO: Extracted packet for processing {"connection_id":232695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:54:21] local.INFO: GPS Element Parsed {"raw_longitude":760651392,"raw_latitude":108750384,"longitude_deg":76.0651392,"latitude_deg":10.8750384,"altitude":35,"angle":230,"satellites":46,"speed":2,"hex_longitude":"2d569e80","hex_latitude":"067b6630","is_valid_coordinates":true} 
[2026-11-04 16:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793791257000,"timestamp_ms":1793791257000,"timestamp_seconds":1793791257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a69a8"} 
[2026-11-04 16:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":27865,"14":206,"19":47872,"24":2,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:54:21] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:54:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":232695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:54:21] local.INFO: GPS data processed {"connection_id":232695,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:54:21] local.INFO: Acknowledgment sent {"connection_id":232695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:54:32] local.INFO: TCP Data received {"connection_id":232694,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64c1758012d0c47000703bfd8001000f01f..."} 
[2026-11-04 16:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64c1758012d0c47000703bfd8001000f01f..."} 
[2026-11-04 16:54:32] local.INFO: Processing buffer {"connection_id":232694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64c1758012d0c47000703bfd8001000f01f..."} 
[2026-11-04 16:54:32] local.INFO: Packet analysis {"connection_id":232694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64c"} 
[2026-11-04 16:54:32] local.INFO: Extracted packet for processing {"connection_id":232694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64c"} 
[2026-11-04 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":755779328,"raw_latitude":117686232,"longitude_deg":75.5779328,"latitude_deg":11.7686232,"altitude":16,"angle":240,"satellites":31,"speed":27,"hex_longitude":"2d0c4700","hex_latitude":"0703bfd8","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210589440001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39329947537375232,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885942519324651520,"note":"Value kept but may cause issues"} 
[2026-11-04 16:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793791367000,"timestamp_ms":1793791367000,"timestamp_seconds":1793791367,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64c1758"} 
[2026-11-04 16:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 16:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":232694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":232694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":232694,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210589440001,"66":14428,"18":206,"28":32256,"24":27,"16":39329947537375232,"45":885942519324651520},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-11-04 16:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210589440001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:54:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-11-04 16:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39329947537375232,"km_value":39329947537375.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":885942519324651520,"description":"Unknown IO ID 45"} 
[2026-11-04 16:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210589440001,"power":14428,"unknown_18":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":885942519324651520}} 
[2026-11-04 16:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":232694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:54:32] local.INFO: GPS data processed {"connection_id":232694,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:54:32] local.INFO: Acknowledgment sent {"connection_id":232694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:54:33] local.INFO: TCP Data received {"connection_id":229529,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:54:33] local.INFO: Processing buffer {"connection_id":229529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:54:33] local.INFO: IMEI packet received {"connection_id":229529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":229529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:54:53] local.INFO: TCP Data received {"connection_id":229530,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:53] local.INFO: Processing buffer {"connection_id":229530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:53] local.INFO: IMEI packet received {"connection_id":229530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":229530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:54:54] local.INFO: TCP Data received {"connection_id":229530,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:54] local.INFO: Processing buffer {"connection_id":229530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:54] local.INFO: IMEI packet received {"connection_id":229530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":229530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:54:54] local.INFO: TCP Data received {"connection_id":229530,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:54] local.INFO: Processing buffer {"connection_id":229530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:54:54] local.INFO: IMEI packet received {"connection_id":229530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":229530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:55:00] local.INFO: TCP Data received {"connection_id":229530,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229530,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:00] local.INFO: Processing buffer {"connection_id":229530,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:00] local.INFO: IMEI packet received {"connection_id":229530,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":229530,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:55:02] local.INFO: TCP Data received {"connection_id":229530,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64d9628012d0c27c00702b3c8001000901c..."} 
[2026-11-04 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64d9628012d0c27c00702b3c8001000901c..."} 
[2026-11-04 16:55:02] local.INFO: Processing buffer {"connection_id":229530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64d9628012d0c27c00702b3c8001000901c..."} 
[2026-11-04 16:55:02] local.INFO: Packet analysis {"connection_id":229530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64d"} 
[2026-11-04 16:55:02] local.INFO: Extracted packet for processing {"connection_id":229530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64d"} 
[2026-11-04 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":117617608,"longitude_deg":75.5771328,"latitude_deg":11.7617608,"altitude":16,"angle":144,"satellites":28,"speed":20,"hex_longitude":"2d0c27c0","hex_latitude":"0702b3c8","is_valid_coordinates":true} 
[2026-11-04 16:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210612224001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39333735698530304,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872924301635868672,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793791465000,"timestamp_ms":1793791465000,"timestamp_seconds":1793791465,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64d9628"} 
[2026-11-04 16:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:55: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-11-04 16:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-11-04 16:55:02] 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-11-04 16:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":229530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":229530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":229530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210612224001,"66":14396,"21":206,"28":32256,"24":20,"16":39333735698530304,"45":872924301635868672},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210612224001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:55:02] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39333735698530304,"km_value":39333735698530.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":872924301635868672,"description":"Unknown IO ID 45"} 
[2026-11-04 16:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210612224001,"power":14396,"unknown_21":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":872924301635868672}} 
[2026-11-04 16:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":229530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59866,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:55:02] local.INFO: GPS data processed {"connection_id":229530,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:55:02] local.INFO: Acknowledgment sent {"connection_id":229530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:55:06] local.INFO: TCP Data received {"connection_id":229531,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:55:06] local.INFO: Processing buffer {"connection_id":229531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:55:06] local.INFO: IMEI packet received {"connection_id":229531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":229531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:55:11] local.INFO: TCP Data received {"connection_id":229531,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:55:11] local.INFO: Processing buffer {"connection_id":229531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:55:11] local.INFO: IMEI packet received {"connection_id":229531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":229531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:55:12] local.INFO: TCP Data received {"connection_id":229531,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:55:12] local.INFO: Processing buffer {"connection_id":229531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:55:12] local.INFO: Packet analysis {"connection_id":229531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:55:12] local.INFO: Extracted packet for processing {"connection_id":229531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":760651392,"raw_latitude":108750384,"longitude_deg":76.0651392,"latitude_deg":10.8750384,"altitude":35,"angle":230,"satellites":46,"speed":2,"hex_longitude":"2d569e80","hex_latitude":"067b6630","is_valid_coordinates":true} 
[2026-11-04 16:55: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-11-04 16:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793791257000,"timestamp_ms":1793791257000,"timestamp_seconds":1793791257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a69a8"} 
[2026-11-04 16:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:55:12] 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-11-04 16:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":27865,"14":206,"19":47872,"24":2,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:55:12] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:55:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":229531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:55:12] local.INFO: GPS data processed {"connection_id":229531,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:55:12] local.INFO: Acknowledgment sent {"connection_id":229531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:55:13] local.INFO: TCP Data received {"connection_id":229532,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:55:13] local.INFO: Processing buffer {"connection_id":229532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 16:55:13] local.INFO: IMEI packet received {"connection_id":229532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 16:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":229532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:55:33] local.INFO: TCP Data received {"connection_id":229530,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64e5d60012d0c20400702ae080013011e1f..."} 
[2026-11-04 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64e5d60012d0c20400702ae080013011e1f..."} 
[2026-11-04 16:55:33] local.INFO: Processing buffer {"connection_id":229530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64e5d60012d0c20400702ae080013011e1f..."} 
[2026-11-04 16:55:33] local.INFO: Packet analysis {"connection_id":229530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:55:33] local.INFO: Extracted packet for processing {"connection_id":229530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117616136,"longitude_deg":75.5769408,"latitude_deg":11.7616136,"altitude":19,"angle":286,"satellites":31,"speed":14,"hex_longitude":"2d0c2040","hex_latitude":"0702ae08","is_valid_coordinates":true} 
[2026-11-04 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210626816001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39333989101600768,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875035363958851584,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793791516000,"timestamp_ms":1793791516000,"timestamp_seconds":1793791516,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64e5d60"} 
[2026-11-04 16:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 16:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":229530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":229530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":229530,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210626816001,"66":14515,"21":206,"28":32256,"24":14,"16":39333989101600768,"45":875035363958851584},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210626816001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:55:33] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39333989101600768,"km_value":39333989101600.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":875035363958851584,"description":"Unknown IO ID 45"} 
[2026-11-04 16:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210626816001,"power":14515,"unknown_21":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":875035363958851584}} 
[2026-11-04 16:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":229530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59868,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:55:34] local.INFO: GPS data processed {"connection_id":229530,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:55:34] local.INFO: Acknowledgment sent {"connection_id":229530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:55:44] local.INFO: TCP Data received {"connection_id":229531,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:55:44] local.INFO: Processing buffer {"connection_id":229531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:55:44] local.INFO: Packet analysis {"connection_id":229531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:55:44] local.INFO: Extracted packet for processing {"connection_id":229531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:55:44] local.INFO: GPS Element Parsed {"raw_longitude":760651392,"raw_latitude":108750384,"longitude_deg":76.0651392,"latitude_deg":10.8750384,"altitude":35,"angle":230,"satellites":46,"speed":2,"hex_longitude":"2d569e80","hex_latitude":"067b6630","is_valid_coordinates":true} 
[2026-11-04 16:55: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-11-04 16:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793791257000,"timestamp_ms":1793791257000,"timestamp_seconds":1793791257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a69a8"} 
[2026-11-04 16:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:55: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-11-04 16:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":27865,"14":206,"19":47872,"24":2,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:55:44] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:55:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":229531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:55:44] local.INFO: GPS data processed {"connection_id":229531,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:55:44] local.INFO: Acknowledgment sent {"connection_id":229531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:55:55] local.INFO: TCP Data received {"connection_id":229533,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:55] local.INFO: Processing buffer {"connection_id":229533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:55] local.INFO: IMEI packet received {"connection_id":229533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":229533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:55:59] local.INFO: TCP Data received {"connection_id":229533,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229533,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:59] local.INFO: Processing buffer {"connection_id":229533,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:55:59] local.INFO: IMEI packet received {"connection_id":229533,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":229533,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:56:01] local.INFO: TCP Data received {"connection_id":229533,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64e6530012d0c1dc00702ae80001301101f..."} 
[2026-11-04 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64e6530012d0c1dc00702ae80001301101f..."} 
[2026-11-04 16:56:01] local.INFO: Processing buffer {"connection_id":229533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64e6530012d0c1dc00702ae80001301101f..."} 
[2026-11-04 16:56:01] local.INFO: Packet analysis {"connection_id":229533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:56:01] local.INFO: Extracted packet for processing {"connection_id":229533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:56:01] local.INFO: GPS Element Parsed {"raw_longitude":755768768,"raw_latitude":117616256,"longitude_deg":75.5768768,"latitude_deg":11.7616256,"altitude":19,"angle":272,"satellites":31,"speed":12,"hex_longitude":"2d0c1dc0","hex_latitude":"0702ae80","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210628096001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39334023461339136,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726563784704,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1793791518000,"timestamp_ms":1793791518000,"timestamp_seconds":1793791518,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64e6530"} 
[2026-11-04 16:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:56: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-11-04 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 16:56:01] 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-11-04 16: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-11-04 16:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":229533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":229533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":229533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210628096001,"66":14428,"21":206,"28":32256,"24":12,"16":39334023461339136,"45":873768726563784704},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210628096001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:56:01] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:56:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39334023461339136,"km_value":39334023461339.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726563784704,"description":"Unknown IO ID 45"} 
[2026-11-04 16:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210628096001,"power":14428,"unknown_21":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":873768726563784704}} 
[2026-11-04 16:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":229533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59870,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:56:01] local.INFO: GPS data processed {"connection_id":229533,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:56:01] local.INFO: Acknowledgment sent {"connection_id":229533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:56:06] local.INFO: TCP Data received {"connection_id":232696,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:56:06] local.INFO: Processing buffer {"connection_id":232696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:56:06] local.INFO: IMEI packet received {"connection_id":232696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":232696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:56:12] local.INFO: TCP Data received {"connection_id":232696,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:56:12] local.INFO: Processing buffer {"connection_id":232696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:56:12] local.INFO: IMEI packet received {"connection_id":232696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":232696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:56:13] local.INFO: TCP Data received {"connection_id":232696,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:56:13] local.INFO: Processing buffer {"connection_id":232696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64a69a8012d569e80067b6630002300e62e..."} 
[2026-11-04 16:56:13] local.INFO: Packet analysis {"connection_id":232696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:56:13] local.INFO: Extracted packet for processing {"connection_id":232696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64a"} 
[2026-11-04 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":760651392,"raw_latitude":108750384,"longitude_deg":76.0651392,"latitude_deg":10.8750384,"altitude":35,"angle":230,"satellites":46,"speed":2,"hex_longitude":"2d569e80","hex_latitude":"067b6630","is_valid_coordinates":true} 
[2026-11-04 16:56: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-11-04 16:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791257000,"timestamp_ms":1793791257000,"timestamp_seconds":1793791257,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64a69a8"} 
[2026-11-04 16:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:56:13] 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-11-04 16:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":27865,"14":206,"19":47872,"24":2,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,19,24,16,45]} 
[2026-11-04 16:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:56:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-11-04 16:56:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":27865,"unknown_14":206,"unknown_19":47872,"ignition":2,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":232696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:56:13] local.INFO: GPS data processed {"connection_id":232696,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:56:13] local.INFO: Acknowledgment sent {"connection_id":232696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:56:32] local.INFO: TCP Data received {"connection_id":229533,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64e70e8012d0c1a000702ae40001301041f..."} 
[2026-11-04 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64e70e8012d0c1a000702ae40001301041f..."} 
[2026-11-04 16:56:32] local.INFO: Processing buffer {"connection_id":229533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64e70e8012d0c1a000702ae40001301041f..."} 
[2026-11-04 16:56:32] local.INFO: Packet analysis {"connection_id":229533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:56:32] local.INFO: Extracted packet for processing {"connection_id":229533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":755767808,"raw_latitude":117616192,"longitude_deg":75.5767808,"latitude_deg":11.7616192,"altitude":19,"angle":260,"satellites":31,"speed":10,"hex_longitude":"2d0c1a00","hex_latitude":"0702ae40","is_valid_coordinates":true} 
[2026-11-04 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-11-04 16:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210628608001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39334066411012096,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873065039122038784,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793791521000,"timestamp_ms":1793791521000,"timestamp_seconds":1793791521,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64e70e8"} 
[2026-11-04 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-11-04 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":92,"data_length":795,"current_offset":136} 
[2026-11-04 16:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 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-11-04 16:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229533,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210628608001,"66":14407,"21":206,"28":32256,"24":10,"16":39334066411012096,"45":873065039122038784},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210628608001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:56:32] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39334066411012096,"km_value":39334066411012.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":873065039122038784,"description":"Unknown IO ID 45"} 
[2026-11-04 16:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210628608001,"power":14407,"unknown_21":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":873065039122038784}} 
[2026-11-04 16:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":229533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59872,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:56:32] local.INFO: GPS data processed {"connection_id":229533,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:56:32] local.INFO: Acknowledgment sent {"connection_id":229533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:56:45] local.INFO: TCP Data received {"connection_id":232696,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:56:45] local.INFO: Processing buffer {"connection_id":232696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:56:45] local.INFO: Packet analysis {"connection_id":232696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:56:45] local.INFO: Extracted packet for processing {"connection_id":232696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:56:45] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:56:45] 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-11-04 16:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 16:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:56:45] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:56:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":232696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:56:45] local.INFO: GPS data processed {"connection_id":232696,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:56:45] local.INFO: Acknowledgment sent {"connection_id":232696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:56:55] local.INFO: TCP Data received {"connection_id":230845,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:56:55] local.INFO: Processing buffer {"connection_id":230845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:56:55] local.INFO: IMEI packet received {"connection_id":230845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":230845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:56:56] local.INFO: TCP Data received {"connection_id":230845,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:56:56] local.INFO: Processing buffer {"connection_id":230845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:56:56] local.INFO: IMEI packet received {"connection_id":230845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":230845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:57:00] local.INFO: TCP Data received {"connection_id":230845,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230845,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:00] local.INFO: Processing buffer {"connection_id":230845,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:00] local.INFO: IMEI packet received {"connection_id":230845,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":230845,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:57:02] local.INFO: TCP Data received {"connection_id":230845,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64ebf08012d0c09400702a998001300fe1f..."} 
[2026-11-04 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64ebf08012d0c09400702a998001300fe1f..."} 
[2026-11-04 16:57:02] local.INFO: Processing buffer {"connection_id":230845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64ebf08012d0c09400702a998001300fe1f..."} 
[2026-11-04 16:57:02] local.INFO: Packet analysis {"connection_id":230845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:57:02] local.INFO: Extracted packet for processing {"connection_id":230845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64e"} 
[2026-11-04 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":755763520,"raw_latitude":117615000,"longitude_deg":75.576352,"latitude_deg":11.7615,"altitude":19,"angle":254,"satellites":31,"speed":8,"hex_longitude":"2d0c0940","hex_latitude":"0702a998","is_valid_coordinates":true} 
[2026-11-04 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210629376001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39334276864409600,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872009507959357440,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1793791541000,"timestamp_ms":1793791541000,"timestamp_seconds":1793791541,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64ebf08"} 
[2026-11-04 16:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:57: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-11-04 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 16:57:02] 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-11-04 16:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":230845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":230845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":230845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210629376001,"66":14396,"21":206,"28":32256,"24":8,"16":39334276864409600,"45":872009507959357440},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210629376001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:57:02] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39334276864409600,"km_value":39334276864409.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":872009507959357440,"description":"Unknown IO ID 45"} 
[2026-11-04 16:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210629376001,"power":14396,"unknown_21":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":872009507959357440}} 
[2026-11-04 16:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":230845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59874,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:57:02] local.INFO: GPS data processed {"connection_id":230845,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:57:02] local.INFO: Acknowledgment sent {"connection_id":230845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:57:06] local.INFO: TCP Data received {"connection_id":232697,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:57:06] local.INFO: Processing buffer {"connection_id":232697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:57:06] local.INFO: IMEI packet received {"connection_id":232697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":232697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:57:11] local.INFO: TCP Data received {"connection_id":232697,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:57:11] local.INFO: Processing buffer {"connection_id":232697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:57:11] local.INFO: IMEI packet received {"connection_id":232697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":232697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:57:13] local.INFO: TCP Data received {"connection_id":232697,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:57:13] local.INFO: Processing buffer {"connection_id":232697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:57:13] local.INFO: Packet analysis {"connection_id":232697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:57:13] local.INFO: Extracted packet for processing {"connection_id":232697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:57:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 16:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:13] 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-11-04 16:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 16:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:57:13] 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-11-04 16:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:57:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:57:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":232697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:57:13] local.INFO: GPS data processed {"connection_id":232697,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:57:13] local.INFO: Acknowledgment sent {"connection_id":232697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:57:34] local.INFO: TCP Data received {"connection_id":230845,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6505160012d0bac800702abc8000d01251d..."} 
[2026-11-04 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6505160012d0bac800702abc8000d01251d..."} 
[2026-11-04 16:57:34] local.INFO: Processing buffer {"connection_id":230845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6505160012d0bac800702abc8000d01251d..."} 
[2026-11-04 16:57:34] local.INFO: Packet analysis {"connection_id":230845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a650"} 
[2026-11-04 16:57:34] local.INFO: Extracted packet for processing {"connection_id":230845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a650"} 
[2026-11-04 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":755739776,"raw_latitude":117615560,"longitude_deg":75.5739776,"latitude_deg":11.761556,"altitude":13,"angle":293,"satellites":29,"speed":6,"hex_longitude":"2d0bac80","hex_latitude":"0702abc8","is_valid_coordinates":true} 
[2026-11-04 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210660608001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39335535289827328,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841258366753536000,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793791644000,"timestamp_ms":1793791644000,"timestamp_seconds":1793791644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6505160"} 
[2026-11-04 16:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 16:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":230845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":230845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":230845,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210660608001,"66":14450,"21":206,"28":32256,"24":6,"16":39335535289827328,"45":841258366753536000},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210660608001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:57:34] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39335535289827328,"km_value":39335535289827.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":841258366753536000,"description":"Unknown IO ID 45"} 
[2026-11-04 16:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210660608001,"power":14450,"unknown_21":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":841258366753536000}} 
[2026-11-04 16:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":230845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:57:34] local.INFO: GPS data processed {"connection_id":230845,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:57:34] local.INFO: Acknowledgment sent {"connection_id":230845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:57:45] local.INFO: TCP Data received {"connection_id":232697,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:57:45] local.INFO: Processing buffer {"connection_id":232697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:57:45] local.INFO: Packet analysis {"connection_id":232697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:57:45] local.INFO: Extracted packet for processing {"connection_id":232697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:57:45] 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-11-04 16:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 16:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:57:45] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:57:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":232697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:57:45] local.INFO: GPS data processed {"connection_id":232697,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:57:45] local.INFO: Acknowledgment sent {"connection_id":232697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:57:55] local.INFO: TCP Data received {"connection_id":232699,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:55] local.INFO: Processing buffer {"connection_id":232699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:55] local.INFO: IMEI packet received {"connection_id":232699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":232699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:57:55] local.INFO: TCP Data received {"connection_id":232699,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:55] local.INFO: Processing buffer {"connection_id":232699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:55] local.INFO: IMEI packet received {"connection_id":232699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":232699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:57:58] local.INFO: TCP Data received {"connection_id":232699,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:58] local.INFO: Processing buffer {"connection_id":232699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:57:58] local.INFO: IMEI packet received {"connection_id":232699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":232699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:58:00] local.INFO: TCP Data received {"connection_id":232699,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232699,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:00] local.INFO: Processing buffer {"connection_id":232699,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:00] local.INFO: IMEI packet received {"connection_id":232699,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":232699,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:58:00] local.INFO: TCP Data received {"connection_id":232699,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6505930012d0bab000702ac10000d01151d..."} 
[2026-11-04 16:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6505930012d0bab000702ac10000d01151d..."} 
[2026-11-04 16:58:00] local.INFO: Processing buffer {"connection_id":232699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6505930012d0bab000702ac10000d01151d..."} 
[2026-11-04 16:58:00] local.INFO: Packet analysis {"connection_id":232699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a650"} 
[2026-11-04 16:58:00] local.INFO: Extracted packet for processing {"connection_id":232699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a650"} 
[2026-11-04 16:58:00] local.INFO: GPS Element Parsed {"raw_longitude":755739392,"raw_latitude":117615632,"longitude_deg":75.5739392,"latitude_deg":11.7615632,"altitude":13,"angle":277,"satellites":29,"speed":7,"hex_longitude":"2d0bab00","hex_latitude":"0702ac10","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210660864001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39335552469696512,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":841187998009378816,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1793791646000,"timestamp_ms":1793791646000,"timestamp_seconds":1793791646,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6505930"} 
[2026-11-04 16:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:58: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-11-04 16: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-11-04 16:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":232699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":232699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":232699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210660864001,"66":14439,"21":206,"28":32256,"24":7,"16":39335552469696512,"45":841187998009378816},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210660864001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:58:00] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39335552469696512,"km_value":39335552469696.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":841187998009378816,"description":"Unknown IO ID 45"} 
[2026-11-04 16:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210660864001,"power":14439,"unknown_21":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":841187998009378816}} 
[2026-11-04 16:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":232699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59878,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:58:01] local.INFO: GPS data processed {"connection_id":232699,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:58:01] local.INFO: Acknowledgment sent {"connection_id":232699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:58:06] local.INFO: TCP Data received {"connection_id":229534,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:58:06] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:58:06] local.INFO: IMEI packet received {"connection_id":229534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":229534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:58:11] local.INFO: TCP Data received {"connection_id":229534,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:58:11] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:58:11] local.INFO: IMEI packet received {"connection_id":229534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":229534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:58:12] local.INFO: TCP Data received {"connection_id":229534,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:58:12] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:58:12] local.INFO: Packet analysis {"connection_id":229534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:58:12] local.INFO: Extracted packet for processing {"connection_id":229534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:58:12] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 16:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:12] 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-11-04 16:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 16:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:58:12] 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-11-04 16:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:58:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:58:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":229534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:58:12] local.INFO: GPS data processed {"connection_id":229534,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:58:12] local.INFO: Acknowledgment sent {"connection_id":229534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:58:32] local.INFO: TCP Data received {"connection_id":232699,"ip":"117.225.179.134","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6506100012d0ba9000702ac18000c01081d..."} 
[2026-11-04 16:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6506100012d0ba9000702ac18000c01081d..."} 
[2026-11-04 16:58:32] local.INFO: Processing buffer {"connection_id":232699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6506100012d0ba9000702ac18000c01081d..."} 
[2026-11-04 16:58:32] local.INFO: Packet analysis {"connection_id":232699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a650"} 
[2026-11-04 16:58:32] local.INFO: Extracted packet for processing {"connection_id":232699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a650"} 
[2026-11-04 16:58:32] local.INFO: GPS Element Parsed {"raw_longitude":755738880,"raw_latitude":117615640,"longitude_deg":75.573888,"latitude_deg":11.761564,"altitude":12,"angle":264,"satellites":29,"speed":8,"hex_longitude":"2d0ba900","hex_latitude":"0702ac18","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210661376001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39335573944532992,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840765785544331264,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 16:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793791648000,"timestamp_ms":1793791648000,"timestamp_seconds":1793791648,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6506100"} 
[2026-11-04 16:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-11-04 16:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 16: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-11-04 16:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":232699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":232699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":232699,"device_imei":"862567072573210","avl_records_count":1} 
[2026-11-04 16:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.179.134","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-11-04 16:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-11-04 16:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210661376001,"66":14439,"21":206,"28":32256,"24":8,"16":39335573944532992,"45":840765785544331264},"client_ip":"117.225.179.134","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-11-04 16:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-11-04 16:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-11-04 16:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210661376001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:58:32] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-11-04 16:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-11-04 16:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39335573944532992,"km_value":39335573944532.99,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":840765785544331264,"description":"Unknown IO ID 45"} 
[2026-11-04 16:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210661376001,"power":14439,"unknown_21":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":840765785544331264}} 
[2026-11-04 16:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":232699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:58:32] local.INFO: GPS data processed {"connection_id":232699,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:58:32] local.INFO: Acknowledgment sent {"connection_id":232699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:58:44] local.INFO: TCP Data received {"connection_id":229534,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:58:44] local.INFO: Processing buffer {"connection_id":229534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:58:44] local.INFO: Packet analysis {"connection_id":229534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:58:44] local.INFO: Extracted packet for processing {"connection_id":229534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:58:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:58: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-11-04 16:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 16:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:58: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-11-04 16: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-11-04 16:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:58:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:58:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":229534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:58:44] local.INFO: GPS data processed {"connection_id":229534,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:58:44] local.INFO: Acknowledgment sent {"connection_id":229534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:58:56] local.INFO: TCP Data received {"connection_id":232701,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:56] local.INFO: Processing buffer {"connection_id":232701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:56] local.INFO: IMEI packet received {"connection_id":232701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-11-04 16:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":232701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:58:57] local.INFO: TCP Data received {"connection_id":232701,"ip":"117.225.179.134","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:57] local.INFO: Processing buffer {"connection_id":232701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-11-04 16:58:57] local.INFO: IMEI packet received {"connection_id":232701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-11-04 16:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":232701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:59:06] local.INFO: TCP Data received {"connection_id":232702,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:59:06] local.INFO: Processing buffer {"connection_id":232702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:59:06] local.INFO: IMEI packet received {"connection_id":232702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 16:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":232702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 16:59:12] local.INFO: TCP Data received {"connection_id":232702,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:59:12] local.INFO: Processing buffer {"connection_id":232702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 16:59:12] local.INFO: IMEI packet received {"connection_id":232702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 16:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":232702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 16:59:13] local.INFO: TCP Data received {"connection_id":232702,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:59:13] local.INFO: Processing buffer {"connection_id":232702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:59:13] local.INFO: Packet analysis {"connection_id":232702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:59:13] local.INFO: Extracted packet for processing {"connection_id":232702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:59:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 16: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-11-04 16:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:59:13] 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-11-04 16:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 16:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:59:13] 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-11-04 16: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-11-04 16:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:59:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:59:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":232702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:59:13] local.INFO: GPS data processed {"connection_id":232702,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:59:13] local.INFO: Acknowledgment sent {"connection_id":232702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 16:59:46] local.INFO: TCP Data received {"connection_id":232702,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:59:46] local.INFO: Processing buffer {"connection_id":232702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 16:59:46] local.INFO: Packet analysis {"connection_id":232702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:59:46] local.INFO: Extracted packet for processing {"connection_id":232702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 16:59:46] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 16:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 16:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 16:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 16:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 16:59:46] 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-11-04 16:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 16:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 16:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 16:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 16:59: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-11-04 16:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 16:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 16:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 16:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 16:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 16:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 16:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 16:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 16:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 16:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 16:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 16:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 16:59:46] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 16:59:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 16:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 16:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 16:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 16:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":232702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 16:59:46] local.INFO: GPS data processed {"connection_id":232702,"processed":1,"errors":0,"total":1} 
[2026-11-04 16:59:46] local.INFO: Acknowledgment sent {"connection_id":232702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:00:12] local.INFO: TCP Data received {"connection_id":229053,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:00:12] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:00:12] local.INFO: IMEI packet received {"connection_id":229053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":229053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:00:16] local.INFO: TCP Data received {"connection_id":229053,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:00:16] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:00:16] local.INFO: IMEI packet received {"connection_id":229053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":229053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:00:17] local.INFO: TCP Data received {"connection_id":229053,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:00:17] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:00:17] local.INFO: Packet analysis {"connection_id":229053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 17:00:17] local.INFO: Extracted packet for processing {"connection_id":229053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 17:00:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 17:00:17] 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-11-04 17:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 17:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:00:17] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:00:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 17:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 17:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":229053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:00:18] local.INFO: GPS data processed {"connection_id":229053,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:00:18] local.INFO: Acknowledgment sent {"connection_id":229053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:00:22] local.INFO: TCP Data received {"connection_id":229053,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:00:22] local.INFO: Processing buffer {"connection_id":229053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:00:22] local.INFO: Packet analysis {"connection_id":229053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 17:00:22] local.INFO: Extracted packet for processing {"connection_id":229053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 17:00:22] 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-11-04 17:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 17:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:00:22] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 17:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 17:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":229053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:00:22] local.INFO: GPS data processed {"connection_id":229053,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:00:22] local.INFO: Acknowledgment sent {"connection_id":229053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:00:43] local.INFO: TCP Data received {"connection_id":229535,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:00:43] local.INFO: Processing buffer {"connection_id":229535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:00:43] local.INFO: IMEI packet received {"connection_id":229535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":229535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:01:06] local.INFO: TCP Data received {"connection_id":229536,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:01:06] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:01:06] local.INFO: IMEI packet received {"connection_id":229536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":229536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:01:08] local.INFO: TCP Data received {"connection_id":229054,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:01:08] local.INFO: Processing buffer {"connection_id":229054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:01:08] local.INFO: IMEI packet received {"connection_id":229054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":229054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:01:12] local.INFO: TCP Data received {"connection_id":229536,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:01:12] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:01:12] local.INFO: IMEI packet received {"connection_id":229536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":229536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:01:13] local.INFO: TCP Data received {"connection_id":229536,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:01:13] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a64f0558012d569dc0067b6600002500e62d..."} 
[2026-11-04 17:01:13] local.INFO: Packet analysis {"connection_id":229536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 17:01:13] local.INFO: Extracted packet for processing {"connection_id":229536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a64f"} 
[2026-11-04 17:01:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210561792001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241566898910539776,"note":"Value kept but may cause issues"} 
[2026-11-04 17:01:13] 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-11-04 17:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791559000,"timestamp_ms":1793791559000,"timestamp_seconds":1793791559,"priority":1,"record_length":96,"hex_timestamp":"000001a1a64f0558"} 
[2026-11-04 17:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:01:13] 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-11-04 17: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-11-04 17:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210561792001,"66":25941,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241566898910539776},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210561792001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:01:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:01:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241566898910539776,"description":"Unknown IO ID 45"} 
[2026-11-04 17:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210561792001,"power":25941,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241566898910539776}} 
[2026-11-04 17:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":229536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:01:13] local.INFO: GPS data processed {"connection_id":229536,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:01:13] local.INFO: Acknowledgment sent {"connection_id":229536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:01:44] local.INFO: TCP Data received {"connection_id":229536,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:01:44] local.INFO: Processing buffer {"connection_id":229536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:01:44] local.INFO: Packet analysis {"connection_id":229536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:01:44] local.INFO: Extracted packet for processing {"connection_id":229536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:01: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-11-04 17:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:01:44] 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-11-04 17: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-11-04 17:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:01:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:01:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":229536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:01:44] local.INFO: GPS data processed {"connection_id":229536,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:01:44] local.INFO: Acknowledgment sent {"connection_id":229536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:02:06] local.INFO: TCP Data received {"connection_id":229537,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:02:06] local.INFO: Processing buffer {"connection_id":229537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:02:06] local.INFO: IMEI packet received {"connection_id":229537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":229537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:02:12] local.INFO: TCP Data received {"connection_id":229537,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:02:12] local.INFO: Processing buffer {"connection_id":229537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:02:12] local.INFO: IMEI packet received {"connection_id":229537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":229537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:02:13] local.INFO: TCP Data received {"connection_id":229537,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:02:13] local.INFO: Processing buffer {"connection_id":229537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:02:13] local.INFO: Packet analysis {"connection_id":229537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:02:13] local.INFO: Extracted packet for processing {"connection_id":229537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:02:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:02:13] 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-11-04 17:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:02:13] 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-11-04 17: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-11-04 17:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:02:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:02:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":229537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:02:13] local.INFO: GPS data processed {"connection_id":229537,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:02:13] local.INFO: Acknowledgment sent {"connection_id":229537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:02:45] local.INFO: TCP Data received {"connection_id":229537,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:02:45] local.INFO: Processing buffer {"connection_id":229537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:02:45] local.INFO: Packet analysis {"connection_id":229537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:02:45] local.INFO: Extracted packet for processing {"connection_id":229537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:02:45] 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-11-04 17:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:02:45] 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-11-04 17:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:02:45] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:02:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":229537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:02:45] local.INFO: GPS data processed {"connection_id":229537,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:02:45] local.INFO: Acknowledgment sent {"connection_id":229537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:03:06] local.INFO: TCP Data received {"connection_id":229539,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:03:06] local.INFO: Processing buffer {"connection_id":229539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:03:06] local.INFO: IMEI packet received {"connection_id":229539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":229539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:03:11] local.INFO: TCP Data received {"connection_id":229539,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:03:12] local.INFO: Processing buffer {"connection_id":229539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:03:12] local.INFO: IMEI packet received {"connection_id":229539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":229539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:03:13] local.INFO: TCP Data received {"connection_id":229539,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:03:13] local.INFO: Processing buffer {"connection_id":229539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:03:13] local.INFO: Packet analysis {"connection_id":229539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:03:13] local.INFO: Extracted packet for processing {"connection_id":229539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:03:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:03:13] 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-11-04 17:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:03:13] 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-11-04 17: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-11-04 17:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:03:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:03:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":229539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:03:13] local.INFO: GPS data processed {"connection_id":229539,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:03:13] local.INFO: Acknowledgment sent {"connection_id":229539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:03:43] local.INFO: TCP Data received {"connection_id":229539,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:03:43] local.INFO: Processing buffer {"connection_id":229539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:03:43] local.INFO: Packet analysis {"connection_id":229539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:03:43] local.INFO: Extracted packet for processing {"connection_id":229539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:03:43] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:03:43] 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-11-04 17:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:03:43] 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-11-04 17:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:03:43] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:03:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":229539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:03:43] local.INFO: GPS data processed {"connection_id":229539,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:03:43] local.INFO: Acknowledgment sent {"connection_id":229539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:04:12] local.INFO: TCP Data received {"connection_id":230847,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:04:12] local.INFO: Processing buffer {"connection_id":230847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:04:12] local.INFO: IMEI packet received {"connection_id":230847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":230847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:04:17] local.INFO: TCP Data received {"connection_id":230847,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:04:17] local.INFO: Processing buffer {"connection_id":230847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:04:17] local.INFO: IMEI packet received {"connection_id":230847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":230847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:04:17] local.INFO: TCP Data received {"connection_id":230847,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:04:17] local.INFO: Processing buffer {"connection_id":230847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:04:17] local.INFO: Packet analysis {"connection_id":230847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:04:17] local.INFO: Extracted packet for processing {"connection_id":230847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:04:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:04:17] 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-11-04 17:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:04:17] 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-11-04 17:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:04:17] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:04:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":230847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:04:17] local.INFO: GPS data processed {"connection_id":230847,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:04:17] local.INFO: Acknowledgment sent {"connection_id":230847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:04:21] local.INFO: TCP Data received {"connection_id":230847,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:04:21] local.INFO: Processing buffer {"connection_id":230847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:04:21] local.INFO: Packet analysis {"connection_id":230847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:04:21] local.INFO: Extracted packet for processing {"connection_id":230847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:04:21] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:04:21] 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-11-04 17:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:04:21] 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-11-04 17: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-11-04 17:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:04:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:04:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":230847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:04:21] local.INFO: GPS data processed {"connection_id":230847,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:04:21] local.INFO: Acknowledgment sent {"connection_id":230847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:05:06] local.INFO: TCP Data received {"connection_id":229540,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:05:06] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:05:06] local.INFO: IMEI packet received {"connection_id":229540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":229540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:05:12] local.INFO: TCP Data received {"connection_id":229540,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:05:12] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:05:12] local.INFO: IMEI packet received {"connection_id":229540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":229540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:05:13] local.INFO: TCP Data received {"connection_id":229540,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:05:13] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:05:13] local.INFO: Packet analysis {"connection_id":229540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:05:13] local.INFO: Extracted packet for processing {"connection_id":229540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:05:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:05:13] 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-11-04 17:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:05:13] 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-11-04 17:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:05:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:05:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":229540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:05:13] local.INFO: GPS data processed {"connection_id":229540,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:05:13] local.INFO: Acknowledgment sent {"connection_id":229540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:05:45] local.INFO: TCP Data received {"connection_id":229540,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:05:45] local.INFO: Processing buffer {"connection_id":229540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:05:45] local.INFO: Packet analysis {"connection_id":229540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:05:45] local.INFO: Extracted packet for processing {"connection_id":229540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:05:45] 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-11-04 17:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:05:45] 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-11-04 17:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:05:45] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:05:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":229540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:05:45] local.INFO: GPS data processed {"connection_id":229540,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:05:45] local.INFO: Acknowledgment sent {"connection_id":229540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:06:06] local.INFO: TCP Data received {"connection_id":230849,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:06:06] local.INFO: Processing buffer {"connection_id":230849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:06:06] local.INFO: IMEI packet received {"connection_id":230849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":230849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:06:12] local.INFO: TCP Data received {"connection_id":230849,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:06:12] local.INFO: Processing buffer {"connection_id":230849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:06:12] local.INFO: IMEI packet received {"connection_id":230849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":230849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:06:12] local.INFO: TCP Data received {"connection_id":230849,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:06:12] local.INFO: Processing buffer {"connection_id":230849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6539d20012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:06:12] local.INFO: Packet analysis {"connection_id":230849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:06:12] local.INFO: Extracted packet for processing {"connection_id":230849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a653"} 
[2026-11-04 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210639104001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:06:12] 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-11-04 17:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793791860000,"timestamp_ms":1793791860000,"timestamp_seconds":1793791860,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6539d20"} 
[2026-11-04 17:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-11-04 17:06:12] 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-11-04 17: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-11-04 17:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210639104001,"66":25778,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210639104001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:06:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:06:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210639104001,"power":25778,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":230849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:06:12] local.INFO: GPS data processed {"connection_id":230849,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:06:12] local.INFO: Acknowledgment sent {"connection_id":230849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:06:24] local.INFO: TCP Data received {"connection_id":229541,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:06:24] local.INFO: Processing buffer {"connection_id":229541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:06:24] local.INFO: IMEI packet received {"connection_id":229541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":229541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:06:43] local.INFO: TCP Data received {"connection_id":230849,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:06:43] local.INFO: Processing buffer {"connection_id":230849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:06:43] local.INFO: Packet analysis {"connection_id":230849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:06:43] local.INFO: Extracted packet for processing {"connection_id":230849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:06:43] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:06:43] 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-11-04 17:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:06: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-11-04 17:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:06:43] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:06:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":230849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:06:43] local.INFO: GPS data processed {"connection_id":230849,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:06:43] local.INFO: Acknowledgment sent {"connection_id":230849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:07:08] local.INFO: TCP Data received {"connection_id":232704,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:07:08] local.INFO: Processing buffer {"connection_id":232704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:07:08] local.INFO: IMEI packet received {"connection_id":232704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":232704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:07:11] local.INFO: TCP Data received {"connection_id":232705,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:07:12] local.INFO: Processing buffer {"connection_id":232705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:07:12] local.INFO: IMEI packet received {"connection_id":232705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":232705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:07:17] local.INFO: TCP Data received {"connection_id":232705,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:07:17] local.INFO: Processing buffer {"connection_id":232705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:07:17] local.INFO: IMEI packet received {"connection_id":232705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":232705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:07:18] local.INFO: TCP Data received {"connection_id":232705,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:07:18] local.INFO: Processing buffer {"connection_id":232705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:07:18] local.INFO: Packet analysis {"connection_id":232705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:07:18] local.INFO: Extracted packet for processing {"connection_id":232705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:07:18] 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-11-04 17:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:07: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-11-04 17:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:07:18] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:07:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":232705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:07:18] local.INFO: GPS data processed {"connection_id":232705,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:07:18] local.INFO: Acknowledgment sent {"connection_id":232705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:07:23] local.INFO: TCP Data received {"connection_id":232705,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:07:23] local.INFO: Processing buffer {"connection_id":232705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:07:23] local.INFO: Packet analysis {"connection_id":232705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:07:23] local.INFO: Extracted packet for processing {"connection_id":232705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:07:23] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:07:23] 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-11-04 17:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:07:23] 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-11-04 17: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-11-04 17:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:07:23] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:07:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":232705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:07:23] local.INFO: GPS data processed {"connection_id":232705,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:07:23] local.INFO: Acknowledgment sent {"connection_id":232705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:08:07] local.INFO: TCP Data received {"connection_id":229058,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:08:07] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:08:07] local.INFO: IMEI packet received {"connection_id":229058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":229058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:08:11] local.INFO: TCP Data received {"connection_id":229058,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:08:11] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:08:11] local.INFO: IMEI packet received {"connection_id":229058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":229058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:08:12] local.INFO: TCP Data received {"connection_id":229058,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:08:12] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:08:12] local.INFO: Packet analysis {"connection_id":229058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:08:12] local.INFO: Extracted packet for processing {"connection_id":229058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:08:12] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:08:12] 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-11-04 17:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:08: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-11-04 17: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-11-04 17:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:08:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:08:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":229058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:08:12] local.INFO: GPS data processed {"connection_id":229058,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:08:12] local.INFO: Acknowledgment sent {"connection_id":229058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:08:47] local.INFO: TCP Data received {"connection_id":229058,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:08:47] local.INFO: Processing buffer {"connection_id":229058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:08:47] local.INFO: Packet analysis {"connection_id":229058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:08:47] local.INFO: Extracted packet for processing {"connection_id":229058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:08:47] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:08:47] 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-11-04 17:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:08:47] 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-11-04 17:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:08:47] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:08:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":229058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:08:47] local.INFO: GPS data processed {"connection_id":229058,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:08:47] local.INFO: Acknowledgment sent {"connection_id":229058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:09:06] local.INFO: TCP Data received {"connection_id":232706,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:09:06] local.INFO: Processing buffer {"connection_id":232706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:09:06] local.INFO: IMEI packet received {"connection_id":232706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":232706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:09:11] local.INFO: TCP Data received {"connection_id":232706,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:09:11] local.INFO: Processing buffer {"connection_id":232706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:09:11] local.INFO: IMEI packet received {"connection_id":232706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":232706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:09:12] local.INFO: TCP Data received {"connection_id":232706,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:09:12] local.INFO: Processing buffer {"connection_id":232706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:09:12] local.INFO: Packet analysis {"connection_id":232706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:09:12] local.INFO: Extracted packet for processing {"connection_id":232706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:09:12] 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-11-04 17:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:09: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-11-04 17:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:09:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:09:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":232706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:09:12] local.INFO: GPS data processed {"connection_id":232706,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:09:12] local.INFO: Acknowledgment sent {"connection_id":232706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:09:44] local.INFO: TCP Data received {"connection_id":232706,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:09:44] local.INFO: Processing buffer {"connection_id":232706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:09:44] local.INFO: Packet analysis {"connection_id":232706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:09:44] local.INFO: Extracted packet for processing {"connection_id":232706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:09:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:09: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-11-04 17:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:09:44] 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-11-04 17: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-11-04 17:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:09:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:09:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":232706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:09:44] local.INFO: GPS data processed {"connection_id":232706,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:09:44] local.INFO: Acknowledgment sent {"connection_id":232706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:10:06] local.INFO: TCP Data received {"connection_id":229059,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:10:06] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:10:06] local.INFO: IMEI packet received {"connection_id":229059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":229059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:10:12] local.INFO: TCP Data received {"connection_id":229059,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:10:12] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:10:12] local.INFO: IMEI packet received {"connection_id":229059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":229059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:10:13] local.INFO: TCP Data received {"connection_id":229059,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:10:13] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:10:13] local.INFO: Packet analysis {"connection_id":229059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:10:13] local.INFO: Extracted packet for processing {"connection_id":229059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:10:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:10:13] 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-11-04 17:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:10: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-11-04 17: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-11-04 17:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:10:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:10:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":229059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:10:13] local.INFO: GPS data processed {"connection_id":229059,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:10:13] local.INFO: Acknowledgment sent {"connection_id":229059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:10:46] local.INFO: TCP Data received {"connection_id":229059,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:10:46] local.INFO: Processing buffer {"connection_id":229059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:10:46] local.INFO: Packet analysis {"connection_id":229059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:10:46] local.INFO: Extracted packet for processing {"connection_id":229059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:10:46] 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-11-04 17:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:10:46] 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-11-04 17:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:10:46] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:10:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":229059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:10:46] local.INFO: GPS data processed {"connection_id":229059,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:10:46] local.INFO: Acknowledgment sent {"connection_id":229059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:11:11] local.INFO: TCP Data received {"connection_id":229544,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:11:11] local.INFO: Processing buffer {"connection_id":229544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:11:11] local.INFO: IMEI packet received {"connection_id":229544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:11:16] local.INFO: TCP Data received {"connection_id":229544,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:11:16] local.INFO: Processing buffer {"connection_id":229544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:11:16] local.INFO: IMEI packet received {"connection_id":229544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":229544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:11:17] local.INFO: TCP Data received {"connection_id":229544,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:11:17] local.INFO: Processing buffer {"connection_id":229544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65834e8012d569dc0067b6600002500e62e..."} 
[2026-11-04 17:11:17] local.INFO: Packet analysis {"connection_id":229544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:11:17] local.INFO: Extracted packet for processing {"connection_id":229544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a658"} 
[2026-11-04 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210716160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:11:17] 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-11-04 17:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793792161000,"timestamp_ms":1793792161000,"timestamp_seconds":1793792161,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65834e8"} 
[2026-11-04 17:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 17:11: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-11-04 17: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-11-04 17:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210716160001,"66":25702,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210716160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:11:17] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:11:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210716160001,"power":25702,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":229544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:11:17] local.INFO: GPS data processed {"connection_id":229544,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:11:17] local.INFO: Acknowledgment sent {"connection_id":229544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:11:49] local.INFO: TCP Data received {"connection_id":229544,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:11:49] local.INFO: Processing buffer {"connection_id":229544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:11:49] local.INFO: Packet analysis {"connection_id":229544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:11:49] local.INFO: Extracted packet for processing {"connection_id":229544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:11:49] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:11:49] 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-11-04 17:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:11:49] 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-11-04 17:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:11:49] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:11:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":229544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:11:49] local.INFO: GPS data processed {"connection_id":229544,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:11:49] local.INFO: Acknowledgment sent {"connection_id":229544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:12:06] local.INFO: TCP Data received {"connection_id":229061,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:12:06] local.INFO: Processing buffer {"connection_id":229061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:12:06] local.INFO: IMEI packet received {"connection_id":229061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":229061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:12:12] local.INFO: TCP Data received {"connection_id":229061,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:12:12] local.INFO: Processing buffer {"connection_id":229061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:12:12] local.INFO: IMEI packet received {"connection_id":229061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":229061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:12:13] local.INFO: TCP Data received {"connection_id":229061,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:12:13] local.INFO: Processing buffer {"connection_id":229061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:12:13] local.INFO: Packet analysis {"connection_id":229061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:12:13] local.INFO: Extracted packet for processing {"connection_id":229061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:12:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:12:13] 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-11-04 17:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:12:13] 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-11-04 17: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-11-04 17:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:12:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:12:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":229061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:12:13] local.INFO: GPS data processed {"connection_id":229061,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:12:13] local.INFO: Acknowledgment sent {"connection_id":229061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:12:23] local.INFO: TCP Data received {"connection_id":232707,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:12:23] local.INFO: Processing buffer {"connection_id":232707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:12:23] local.INFO: IMEI packet received {"connection_id":232707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":232707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:12:45] local.INFO: TCP Data received {"connection_id":229061,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:12:45] local.INFO: Processing buffer {"connection_id":229061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:12:45] local.INFO: Packet analysis {"connection_id":229061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:12:45] local.INFO: Extracted packet for processing {"connection_id":229061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:12:45] 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-11-04 17:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:12: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-11-04 17:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:12:45] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:12:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":229061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:12:45] local.INFO: GPS data processed {"connection_id":229061,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:12:45] local.INFO: Acknowledgment sent {"connection_id":229061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:13:06] local.INFO: TCP Data received {"connection_id":229062,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:13:06] local.INFO: Processing buffer {"connection_id":229062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:13:06] local.INFO: IMEI packet received {"connection_id":229062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":229062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:13:08] local.INFO: TCP Data received {"connection_id":229063,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:13:08] local.INFO: Processing buffer {"connection_id":229063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:13:08] local.INFO: IMEI packet received {"connection_id":229063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":229063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:13:11] local.INFO: TCP Data received {"connection_id":229062,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:13:11] local.INFO: Processing buffer {"connection_id":229062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:13:11] local.INFO: IMEI packet received {"connection_id":229062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":229062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:13:12] local.INFO: TCP Data received {"connection_id":229062,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:13:12] local.INFO: Processing buffer {"connection_id":229062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:13:12] local.INFO: Packet analysis {"connection_id":229062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:13:12] local.INFO: Extracted packet for processing {"connection_id":229062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:13:12] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:13:12] 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-11-04 17:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:13: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-11-04 17:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:13:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:13:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":229062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:13:12] local.INFO: GPS data processed {"connection_id":229062,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:13:12] local.INFO: Acknowledgment sent {"connection_id":229062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:13:44] local.INFO: TCP Data received {"connection_id":229062,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:13:44] local.INFO: Processing buffer {"connection_id":229062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:13:44] local.INFO: Packet analysis {"connection_id":229062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:13:44] local.INFO: Extracted packet for processing {"connection_id":229062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:13: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-11-04 17:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:13: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-11-04 17:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:13:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:13:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":229062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:13:44] local.INFO: GPS data processed {"connection_id":229062,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:13:44] local.INFO: Acknowledgment sent {"connection_id":229062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:14:06] local.INFO: TCP Data received {"connection_id":232708,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:14:06] local.INFO: Processing buffer {"connection_id":232708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:14:06] local.INFO: IMEI packet received {"connection_id":232708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":232708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:14:11] local.INFO: TCP Data received {"connection_id":232708,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:14:11] local.INFO: Processing buffer {"connection_id":232708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:14:11] local.INFO: IMEI packet received {"connection_id":232708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":232708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:14:13] local.INFO: TCP Data received {"connection_id":232708,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:14:13] local.INFO: Processing buffer {"connection_id":232708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:14:13] local.INFO: Packet analysis {"connection_id":232708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:14:13] local.INFO: Extracted packet for processing {"connection_id":232708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:14:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:14:13] 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-11-04 17:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:14:13] 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-11-04 17: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-11-04 17:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:14:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:14:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":232708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:14:13] local.INFO: GPS data processed {"connection_id":232708,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:14:13] local.INFO: Acknowledgment sent {"connection_id":232708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:14:44] local.INFO: TCP Data received {"connection_id":232708,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:14:44] local.INFO: Processing buffer {"connection_id":232708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:14:44] local.INFO: Packet analysis {"connection_id":232708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:14:44] local.INFO: Extracted packet for processing {"connection_id":232708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:14:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:14: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-11-04 17:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:14: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-11-04 17: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-11-04 17:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:14:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:14:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":232708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:14:44] local.INFO: GPS data processed {"connection_id":232708,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:14:44] local.INFO: Acknowledgment sent {"connection_id":232708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:15:11] local.INFO: TCP Data received {"connection_id":230852,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:15:11] local.INFO: Processing buffer {"connection_id":230852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:15:11] local.INFO: IMEI packet received {"connection_id":230852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":230852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:15:16] local.INFO: TCP Data received {"connection_id":230852,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:15:16] local.INFO: Processing buffer {"connection_id":230852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:15:16] local.INFO: IMEI packet received {"connection_id":230852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":230852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:15:19] local.INFO: TCP Data received {"connection_id":230852,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:15:19] local.INFO: Processing buffer {"connection_id":230852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:15:19] local.INFO: Packet analysis {"connection_id":230852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:15:19] local.INFO: Extracted packet for processing {"connection_id":230852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:15:19] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:15:19] 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-11-04 17:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:15:19] 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-11-04 17: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-11-04 17:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:15:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:15:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":230852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:15:19] local.INFO: GPS data processed {"connection_id":230852,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:15:19] local.INFO: Acknowledgment sent {"connection_id":230852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:15:21] local.INFO: TCP Data received {"connection_id":230852,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:15:21] local.INFO: Processing buffer {"connection_id":230852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:15:21] local.INFO: Packet analysis {"connection_id":230852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:15:21] local.INFO: Extracted packet for processing {"connection_id":230852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:15:21] 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-11-04 17:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:15: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-11-04 17: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-11-04 17:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:15:21] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:15:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":230852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:15:21] local.INFO: GPS data processed {"connection_id":230852,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:15:21] local.INFO: Acknowledgment sent {"connection_id":230852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:16:06] local.INFO: TCP Data received {"connection_id":229064,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:16:06] local.INFO: Processing buffer {"connection_id":229064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:16:06] local.INFO: IMEI packet received {"connection_id":229064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":229064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:16:11] local.INFO: TCP Data received {"connection_id":229064,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:16:12] local.INFO: Processing buffer {"connection_id":229064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:16:12] local.INFO: IMEI packet received {"connection_id":229064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":229064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:16:13] local.INFO: TCP Data received {"connection_id":229064,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:16:13] local.INFO: Processing buffer {"connection_id":229064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a65cccb0012d569dc0067b6600002500e62c..."} 
[2026-11-04 17:16:13] local.INFO: Packet analysis {"connection_id":229064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:16:13] local.INFO: Extracted packet for processing {"connection_id":229064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a65c"} 
[2026-11-04 17:16:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210793216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:16:13] 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-11-04 17:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793792462000,"timestamp_ms":1793792462000,"timestamp_seconds":1793792462,"priority":1,"record_length":96,"hex_timestamp":"000001a1a65cccb0"} 
[2026-11-04 17:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 17:16:13] 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-11-04 17: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-11-04 17:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210793216001,"66":25604,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210793216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:16:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:16:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210793216001,"power":25604,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":229064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:16:13] local.INFO: GPS data processed {"connection_id":229064,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:16:13] local.INFO: Acknowledgment sent {"connection_id":229064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:16:44] local.INFO: TCP Data received {"connection_id":229064,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:16:44] local.INFO: Processing buffer {"connection_id":229064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:16:44] local.INFO: Packet analysis {"connection_id":229064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:16:44] local.INFO: Extracted packet for processing {"connection_id":229064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:16:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:16: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-11-04 17:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:16: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-11-04 17:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:16:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:16:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":229064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:16:44] local.INFO: GPS data processed {"connection_id":229064,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:16:44] local.INFO: Acknowledgment sent {"connection_id":229064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:17:06] local.INFO: TCP Data received {"connection_id":232709,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:17:06] local.INFO: Processing buffer {"connection_id":232709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:17:06] local.INFO: IMEI packet received {"connection_id":232709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":232709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:17:11] local.INFO: TCP Data received {"connection_id":232709,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:17:12] local.INFO: Processing buffer {"connection_id":232709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:17:12] local.INFO: IMEI packet received {"connection_id":232709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":232709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:17:12] local.INFO: TCP Data received {"connection_id":232709,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:17:12] local.INFO: Processing buffer {"connection_id":232709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:17:12] local.INFO: Packet analysis {"connection_id":232709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:17:12] local.INFO: Extracted packet for processing {"connection_id":232709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:17:12] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:17:12] 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-11-04 17:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:17: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-11-04 17: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-11-04 17:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:17:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:17:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":232709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:17:12] local.INFO: GPS data processed {"connection_id":232709,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:17:12] local.INFO: Acknowledgment sent {"connection_id":232709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:17:44] local.INFO: TCP Data received {"connection_id":232709,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:17:44] local.INFO: Processing buffer {"connection_id":232709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:17:44] local.INFO: Packet analysis {"connection_id":232709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:17:44] local.INFO: Extracted packet for processing {"connection_id":232709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:17:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:17: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-11-04 17:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:17: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-11-04 17: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-11-04 17:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:17:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:17:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":232709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:17:44] local.INFO: GPS data processed {"connection_id":232709,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:17:44] local.INFO: Acknowledgment sent {"connection_id":232709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:18:11] local.INFO: TCP Data received {"connection_id":229066,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:18:11] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:18:11] local.INFO: IMEI packet received {"connection_id":229066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":229066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:18:16] local.INFO: TCP Data received {"connection_id":229066,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:18:16] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:18:16] local.INFO: IMEI packet received {"connection_id":229066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":229066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:18:19] local.INFO: TCP Data received {"connection_id":229066,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:18:19] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:18:19] local.INFO: Packet analysis {"connection_id":229066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:18:19] local.INFO: Extracted packet for processing {"connection_id":229066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:18:19] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:18:19] 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-11-04 17:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:18:19] 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-11-04 17: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-11-04 17:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:18:19] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:18:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":229066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:18:19] local.INFO: GPS data processed {"connection_id":229066,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:18:19] local.INFO: Acknowledgment sent {"connection_id":229066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:18:22] local.INFO: TCP Data received {"connection_id":229066,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:18:22] local.INFO: Processing buffer {"connection_id":229066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:18:22] local.INFO: Packet analysis {"connection_id":229066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:18:22] local.INFO: Extracted packet for processing {"connection_id":229066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:18:22] 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-11-04 17:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:18: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-11-04 17:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:18:22] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:18:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":229066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:18:22] local.INFO: GPS data processed {"connection_id":229066,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:18:22] local.INFO: Acknowledgment sent {"connection_id":229066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:18:39] local.INFO: TCP Data received {"connection_id":229065,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:18:39] local.INFO: Processing buffer {"connection_id":229065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:18:39] local.INFO: IMEI packet received {"connection_id":229065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":229065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:19:06] local.INFO: TCP Data received {"connection_id":229547,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:19:06] local.INFO: Processing buffer {"connection_id":229547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:19:06] local.INFO: IMEI packet received {"connection_id":229547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":229547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:19:08] local.INFO: TCP Data received {"connection_id":229548,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:19:08] local.INFO: Processing buffer {"connection_id":229548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:19:08] local.INFO: IMEI packet received {"connection_id":229548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":229548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:19:11] local.INFO: TCP Data received {"connection_id":229547,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:19:11] local.INFO: Processing buffer {"connection_id":229547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:19:11] local.INFO: IMEI packet received {"connection_id":229547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":229547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:19:13] local.INFO: TCP Data received {"connection_id":229547,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:19:13] local.INFO: Processing buffer {"connection_id":229547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:19:13] local.INFO: Packet analysis {"connection_id":229547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:19:13] local.INFO: Extracted packet for processing {"connection_id":229547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:19:13] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:19:13] 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-11-04 17:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:19: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-11-04 17:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:19:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:19:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":229547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:19:13] local.INFO: GPS data processed {"connection_id":229547,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:19:13] local.INFO: Acknowledgment sent {"connection_id":229547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:19:44] local.INFO: TCP Data received {"connection_id":229547,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:19:44] local.INFO: Processing buffer {"connection_id":229547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:19:44] local.INFO: Packet analysis {"connection_id":229547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:19:44] local.INFO: Extracted packet for processing {"connection_id":229547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:19:44] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:19: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-11-04 17:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:19: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-11-04 17: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-11-04 17:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:19:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:19:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":229547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:19:44] local.INFO: GPS data processed {"connection_id":229547,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:19:44] local.INFO: Acknowledgment sent {"connection_id":229547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:20:06] local.INFO: TCP Data received {"connection_id":230855,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:20:06] local.INFO: Processing buffer {"connection_id":230855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:20:06] local.INFO: IMEI packet received {"connection_id":230855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":230855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:20:11] local.INFO: TCP Data received {"connection_id":230855,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:20:11] local.INFO: Processing buffer {"connection_id":230855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:20:11] local.INFO: IMEI packet received {"connection_id":230855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":230855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:20:12] local.INFO: TCP Data received {"connection_id":230855,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:20:12] local.INFO: Processing buffer {"connection_id":230855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6616478012d569dc0067b6600002500e62b..."} 
[2026-11-04 17:20:12] local.INFO: Packet analysis {"connection_id":230855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:20:12] local.INFO: Extracted packet for processing {"connection_id":230855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a661"} 
[2026-11-04 17:20:12] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210870272001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:20:12] 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-11-04 17:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793792763000,"timestamp_ms":1793792763000,"timestamp_seconds":1793792763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6616478"} 
[2026-11-04 17:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:20: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-11-04 17:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210870272001,"66":25582,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210870272001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:20:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:20:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210870272001,"power":25582,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":230855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:20:12] local.INFO: GPS data processed {"connection_id":230855,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:20:12] local.INFO: Acknowledgment sent {"connection_id":230855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:20:43] local.INFO: TCP Data received {"connection_id":230855,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a664a868012d569dc0067b6600002500e627..."} 
[2026-11-04 17:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a664a868012d569dc0067b6600002500e627..."} 
[2026-11-04 17:20:43] local.INFO: Processing buffer {"connection_id":230855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a664a868012d569dc0067b6600002500e627..."} 
[2026-11-04 17:20:43] local.INFO: Packet analysis {"connection_id":230855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a664"} 
[2026-11-04 17:20:43] local.INFO: Extracted packet for processing {"connection_id":230855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a664"} 
[2026-11-04 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":760651200,"raw_latitude":108750336,"longitude_deg":76.06512,"latitude_deg":10.8750336,"altitude":37,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d569dc0","hex_latitude":"067b6600","is_valid_coordinates":true} 
[2026-11-04 17:20: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-11-04 17:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459210947328001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:20:43] 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-11-04 17:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793792977000,"timestamp_ms":1793792977000,"timestamp_seconds":1793792977,"priority":1,"record_length":96,"hex_timestamp":"000001a1a664a868"} 
[2026-11-04 17:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-11-04 17:20:43] 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-11-04 17:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459210947328001,"66":25495,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459210947328001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:20:43] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:20:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459210947328001,"power":25495,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":230855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:20:43] local.INFO: GPS data processed {"connection_id":230855,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:20:43] local.INFO: Acknowledgment sent {"connection_id":230855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:21:03] local.INFO: TCP Data received {"connection_id":229067,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:03] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:03] local.INFO: IMEI packet received {"connection_id":229067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":229067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:21:07] local.INFO: TCP Data received {"connection_id":229067,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:07] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:07] local.INFO: IMEI packet received {"connection_id":229067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":229067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:21:07] local.INFO: TCP Data received {"connection_id":229067,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:07] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:07] local.INFO: IMEI packet received {"connection_id":229067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":229067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:21:12] local.INFO: TCP Data received {"connection_id":229067,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:12] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:21:12] local.INFO: IMEI packet received {"connection_id":229067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":229067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:21:13] local.INFO: TCP Data received {"connection_id":229067,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a664b038012d569ec0067b65f80025003b27..."} 
[2026-11-04 17:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a664b038012d569ec0067b65f80025003b27..."} 
[2026-11-04 17:21:13] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a664b038012d569ec0067b65f80025003b27..."} 
[2026-11-04 17:21:13] local.INFO: Packet analysis {"connection_id":229067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a664"} 
[2026-11-04 17:21:13] local.INFO: Extracted packet for processing {"connection_id":229067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a664"} 
[2026-11-04 17:21:13] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750328,"longitude_deg":76.0651456,"latitude_deg":10.8750328,"altitude":37,"angle":59,"satellites":39,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b65f8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211002112001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241355792677994496,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:13] 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-11-04 17:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793792979000,"timestamp_ms":1793792979000,"timestamp_seconds":1793792979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a664b038"} 
[2026-11-04 17:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":151,"data_length":795,"current_offset":136} 
[2026-11-04 17:21: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-11-04 17: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-11-04 17:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211002112001,"66":17690,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241355792677994496},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211002112001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:21:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:21:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241355792677994496,"description":"Unknown IO ID 45"} 
[2026-11-04 17:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211002112001,"power":17690,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241355792677994496}} 
[2026-11-04 17:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":229067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:21:13] local.INFO: GPS data processed {"connection_id":229067,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:21:13] local.INFO: Acknowledgment sent {"connection_id":229067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:21:16] local.INFO: TCP Data received {"connection_id":229067,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6650240012d569ec0067b65f80025003b29..."} 
[2026-11-04 17:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6650240012d569ec0067b65f80025003b29..."} 
[2026-11-04 17:21:16] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6650240012d569ec0067b65f80025003b29..."} 
[2026-11-04 17:21:16] local.INFO: Packet analysis {"connection_id":229067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:21:16] local.INFO: Extracted packet for processing {"connection_id":229067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750328,"longitude_deg":76.0651456,"latitude_deg":10.8750328,"altitude":37,"angle":59,"satellites":41,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b65f8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211002624001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654703104,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:16] 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-11-04 17:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793793000000,"timestamp_ms":1793793000000,"timestamp_seconds":1793793000,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6650240"} 
[2026-11-04 17:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:21:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":69,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 17:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":777,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211002624001,"66":27865,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241637267654703104},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211002624001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:21:16] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:21:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654703104,"description":"Unknown IO ID 45"} 
[2026-11-04 17:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211002624001,"power":27865,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654703104}} 
[2026-11-04 17:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":229067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:21:16] local.INFO: GPS data processed {"connection_id":229067,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:21:16] local.INFO: Acknowledgment sent {"connection_id":229067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:21:48] local.INFO: TCP Data received {"connection_id":229067,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6655448012d569ec0067b65f80025003b2a..."} 
[2026-11-04 17:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6655448012d569ec0067b65f80025003b2a..."} 
[2026-11-04 17:21:48] local.INFO: Processing buffer {"connection_id":229067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6655448012d569ec0067b65f80025003b2a..."} 
[2026-11-04 17:21:48] local.INFO: Packet analysis {"connection_id":229067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:21:48] local.INFO: Extracted packet for processing {"connection_id":229067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:21:48] local.INFO: GPS Element Parsed {"raw_longitude":760651456,"raw_latitude":108750328,"longitude_deg":76.0651456,"latitude_deg":10.8750328,"altitude":37,"angle":59,"satellites":42,"speed":0,"hex_longitude":"2d569ec0","hex_latitude":"067b65f8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211008000001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076690495799296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654703104,"note":"Value kept but may cause issues"} 
[2026-11-04 17:21:48] 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-11-04 17:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793793021000,"timestamp_ms":1793793021000,"timestamp_seconds":1793793021,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6655448"} 
[2026-11-04 17:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211008000001,"66":27865,"13":206,"19":47872,"24":0,"16":39076690495799296,"45":6241637267654703104},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211008000001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:21:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:21:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076690495799296,"km_value":39076690495799.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654703104,"description":"Unknown IO ID 45"} 
[2026-11-04 17:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211008000001,"power":27865,"unknown_13":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6241637267654703104}} 
[2026-11-04 17:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":229067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:21:48] local.INFO: GPS data processed {"connection_id":229067,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:21:48] local.INFO: Acknowledgment sent {"connection_id":229067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:22:04] local.INFO: TCP Data received {"connection_id":232712,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:04] local.INFO: Processing buffer {"connection_id":232712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:04] local.INFO: IMEI packet received {"connection_id":232712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":232712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:22:06] local.INFO: TCP Data received {"connection_id":232712,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:06] local.INFO: Processing buffer {"connection_id":232712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:06] local.INFO: IMEI packet received {"connection_id":232712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":232712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:22:09] local.INFO: TCP Data received {"connection_id":232712,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:09] local.INFO: Processing buffer {"connection_id":232712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:22:09] local.INFO: IMEI packet received {"connection_id":232712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":232712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:22:10] local.INFO: TCP Data received {"connection_id":232712,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66563e8012d569f00067b66980029004b2c..."} 
[2026-11-04 17:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66563e8012d569f00067b66980029004b2c..."} 
[2026-11-04 17:22:10] local.INFO: Processing buffer {"connection_id":232712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66563e8012d569f00067b66980029004b2c..."} 
[2026-11-04 17:22:10] local.INFO: Packet analysis {"connection_id":232712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:22:10] local.INFO: Extracted packet for processing {"connection_id":232712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":760651520,"raw_latitude":108750488,"longitude_deg":76.065152,"latitude_deg":10.8750488,"altitude":41,"angle":75,"satellites":44,"speed":6,"hex_longitude":"2d569f00","hex_latitude":"067b6698","is_valid_coordinates":true} 
[2026-11-04 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211013376001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076699085733888,"note":"Value kept but may cause issues"} 
[2026-11-04 17:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241637267654703104,"note":"Value kept but may cause issues"} 
[2026-11-04 17:22:10] 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-11-04 17:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793793025000,"timestamp_ms":1793793025000,"timestamp_seconds":1793793025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66563e8"} 
[2026-11-04 17:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":232712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":232712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":232712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211013376001,"66":27876,"13":206,"19":47872,"24":6,"16":39076699085733888,"45":6241637267654703104},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211013376001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:22:10] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:22:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076699085733888,"km_value":39076699085733.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241637267654703104,"description":"Unknown IO ID 45"} 
[2026-11-04 17:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211013376001,"power":27876,"unknown_13":206,"unknown_19":47872,"ignition":6,"odometer":null,"unknown_45":6241637267654703104}} 
[2026-11-04 17:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":232712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:22:10] local.INFO: GPS data processed {"connection_id":232712,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:22:10] local.INFO: Acknowledgment sent {"connection_id":232712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:22:42] local.INFO: TCP Data received {"connection_id":232712,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6656fa0012d56a280067b67c80029003c2c..."} 
[2026-11-04 17:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6656fa0012d56a280067b67c80029003c2c..."} 
[2026-11-04 17:22:42] local.INFO: Processing buffer {"connection_id":232712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6656fa0012d56a280067b67c80029003c2c..."} 
[2026-11-04 17:22:42] local.INFO: Packet analysis {"connection_id":232712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:22:42] local.INFO: Extracted packet for processing {"connection_id":232712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":760652416,"raw_latitude":108750792,"longitude_deg":76.0652416,"latitude_deg":10.8750792,"altitude":41,"angle":60,"satellites":44,"speed":15,"hex_longitude":"2d56a280","hex_latitude":"067b67c8","is_valid_coordinates":true} 
[2026-11-04 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211014400001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39076742035406848,"note":"Value kept but may cause issues"} 
[2026-11-04 17:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6241707636398921728,"note":"Value kept but may cause issues"} 
[2026-11-04 17:22:42] 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-11-04 17:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793793028000,"timestamp_ms":1793793028000,"timestamp_seconds":1793793028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6656fa0"} 
[2026-11-04 17:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 17:22: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-11-04 17:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":232712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":232712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":232712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211014400001,"66":27865,"13":206,"19":47872,"24":15,"16":39076742035406848,"45":6241707636398921728},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211014400001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:22:42] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:22:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39076742035406848,"km_value":39076742035406.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6241707636398921728,"description":"Unknown IO ID 45"} 
[2026-11-04 17:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211014400001,"power":27865,"unknown_13":206,"unknown_19":47872,"ignition":15,"odometer":null,"unknown_45":6241707636398921728}} 
[2026-11-04 17:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":232712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:22:42] local.INFO: GPS data processed {"connection_id":232712,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:22:42] local.INFO: Acknowledgment sent {"connection_id":232712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:23:04] local.INFO: TCP Data received {"connection_id":230856,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:04] local.INFO: Processing buffer {"connection_id":230856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:04] local.INFO: IMEI packet received {"connection_id":230856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":230856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:23:05] local.INFO: TCP Data received {"connection_id":230856,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:05] local.INFO: Processing buffer {"connection_id":230856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:05] local.INFO: IMEI packet received {"connection_id":230856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":230856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:23:06] local.INFO: TCP Data received {"connection_id":230856,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:06] local.INFO: Processing buffer {"connection_id":230856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:06] local.INFO: IMEI packet received {"connection_id":230856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":230856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:23:11] local.INFO: TCP Data received {"connection_id":230856,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:11] local.INFO: Processing buffer {"connection_id":230856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:23:11] local.INFO: IMEI packet received {"connection_id":230856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":230856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:23:12] local.INFO: TCP Data received {"connection_id":230856,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a665a650012d56c300067b7c500025003a2b..."} 
[2026-11-04 17:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a665a650012d56c300067b7c500025003a2b..."} 
[2026-11-04 17:23:12] local.INFO: Processing buffer {"connection_id":230856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a665a650012d56c300067b7c500025003a2b..."} 
[2026-11-04 17:23:12] local.INFO: Packet analysis {"connection_id":230856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:23:12] local.INFO: Extracted packet for processing {"connection_id":230856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a665"} 
[2026-11-04 17:23:12] local.INFO: GPS Element Parsed {"raw_longitude":760660736,"raw_latitude":108756048,"longitude_deg":76.0660736,"latitude_deg":10.8756048,"altitude":37,"angle":58,"satellites":43,"speed":38,"hex_longitude":"2d56c300","hex_latitude":"067b7c50","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211015168001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39077210186842112,"note":"Value kept but may cause issues"} 
[2026-11-04 17:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6242692798817486848,"note":"Value kept but may cause issues"} 
[2026-11-04 17:23:12] 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-11-04 17:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793793042000,"timestamp_ms":1793793042000,"timestamp_seconds":1793793042,"priority":1,"record_length":96,"hex_timestamp":"000001a1a665a650"} 
[2026-11-04 17:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:23:12] 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-11-04 17: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-11-04 17:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211015168001,"66":27767,"13":206,"19":47872,"24":38,"16":39077210186842112,"45":6242692798817486848},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-11-04 17:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211015168001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:23:12] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-11-04 17:23:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39077210186842112,"km_value":39077210186842.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6242692798817486848,"description":"Unknown IO ID 45"} 
[2026-11-04 17:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211015168001,"power":27767,"unknown_13":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":6242692798817486848}} 
[2026-11-04 17:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":230856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:23:12] local.INFO: GPS data processed {"connection_id":230856,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:23:12] local.INFO: Acknowledgment sent {"connection_id":230856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:23:44] local.INFO: TCP Data received {"connection_id":230856,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66786c8012d56be80067c9a70001b013a2e..."} 
[2026-11-04 17:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66786c8012d56be80067c9a70001b013a2e..."} 
[2026-11-04 17:23:44] local.INFO: Processing buffer {"connection_id":230856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66786c8012d56be80067c9a70001b013a2e..."} 
[2026-11-04 17:23:44] local.INFO: Packet analysis {"connection_id":230856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a667"} 
[2026-11-04 17:23:44] local.INFO: Extracted packet for processing {"connection_id":230856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a667"} 
[2026-11-04 17:23:44] local.INFO: GPS Element Parsed {"raw_longitude":760659584,"raw_latitude":108829296,"longitude_deg":76.0659584,"latitude_deg":10.8829296,"altitude":27,"angle":314,"satellites":46,"speed":44,"hex_longitude":"2d56be80","hex_latitude":"067c9a70","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211047936001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39081509449105408,"note":"Value kept but may cause issues"} 
[2026-11-04 17:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6257118391392276480,"note":"Value kept but may cause issues"} 
[2026-11-04 17:23:44] 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-11-04 17:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793793165000,"timestamp_ms":1793793165000,"timestamp_seconds":1793793165,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66786c8"} 
[2026-11-04 17:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 17:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211047936001,"66":27908,"53":206,"19":47872,"24":44,"16":39081509449105408,"45":6257118391392276480},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-11-04 17:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211047936001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-11-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39081509449105408,"km_value":39081509449105.41,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6257118391392276480,"description":"Unknown IO ID 45"} 
[2026-11-04 17:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211047936001,"power":27908,"unknown_53":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":6257118391392276480}} 
[2026-11-04 17:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":230856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:23:44] local.INFO: GPS data processed {"connection_id":230856,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:23:44] local.INFO: Acknowledgment sent {"connection_id":230856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:24:06] local.INFO: TCP Data received {"connection_id":230858,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:24:06] local.INFO: Processing buffer {"connection_id":230858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:24:06] local.INFO: IMEI packet received {"connection_id":230858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":230858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:24:11] local.INFO: TCP Data received {"connection_id":230857,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:24:11] local.INFO: Processing buffer {"connection_id":230857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:24:11] local.INFO: IMEI packet received {"connection_id":230857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":230857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:24:12] local.INFO: TCP Data received {"connection_id":230858,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:24:12] local.INFO: Processing buffer {"connection_id":230858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:24:12] local.INFO: IMEI packet received {"connection_id":230858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":230858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:24:14] local.INFO: TCP Data received {"connection_id":230858,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a667a608012d56a400067cb410001b013a2c..."} 
[2026-11-04 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a667a608012d56a400067cb410001b013a2c..."} 
[2026-11-04 17:24:14] local.INFO: Processing buffer {"connection_id":230858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a667a608012d56a400067cb410001b013a2c..."} 
[2026-11-04 17:24:14] local.INFO: Packet analysis {"connection_id":230858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a667"} 
[2026-11-04 17:24:14] local.INFO: Extracted packet for processing {"connection_id":230858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a667"} 
[2026-11-04 17:24:14] local.INFO: GPS Element Parsed {"raw_longitude":760652800,"raw_latitude":108835856,"longitude_deg":76.06528,"latitude_deg":10.8835856,"altitude":27,"angle":314,"satellites":44,"speed":49,"hex_longitude":"2d56a400","hex_latitude":"067cb410","is_valid_coordinates":true} 
[2026-11-04 17:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211050240001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39081960420671488,"note":"Value kept but may cause issues"} 
[2026-11-04 17:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6250574098185482240,"note":"Value kept but may cause issues"} 
[2026-11-04 17:24:14] 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-11-04 17:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793793173000,"timestamp_ms":1793793173000,"timestamp_seconds":1793793173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a667a608"} 
[2026-11-04 17:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:24: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-11-04 17:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211050240001,"66":27865,"1":206,"19":47872,"24":49,"16":39081960420671488,"45":6250574098185482240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-11-04 17:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211050240001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:24:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39081960420671488,"km_value":39081960420671.484,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6250574098185482240,"description":"Unknown IO ID 45"} 
[2026-11-04 17:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211050240001,"power":27865,"imei":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":6250574098185482240}} 
[2026-11-04 17:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":230858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:24:14] local.INFO: GPS data processed {"connection_id":230858,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:24:14] local.INFO: Acknowledgment sent {"connection_id":230858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:24:46] local.INFO: TCP Data received {"connection_id":230858,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a667c160012d568a80067ccd08001c013b2d..."} 
[2026-11-04 17:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a667c160012d568a80067ccd08001c013b2d..."} 
[2026-11-04 17:24:46] local.INFO: Processing buffer {"connection_id":230858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a667c160012d568a80067ccd08001c013b2d..."} 
[2026-11-04 17:24:46] local.INFO: Packet analysis {"connection_id":230858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a667"} 
[2026-11-04 17:24:46] local.INFO: Extracted packet for processing {"connection_id":230858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a667"} 
[2026-11-04 17:24:46] local.INFO: GPS Element Parsed {"raw_longitude":760646272,"raw_latitude":108842248,"longitude_deg":76.0646272,"latitude_deg":10.8842248,"altitude":28,"angle":315,"satellites":45,"speed":52,"hex_longitude":"2d568a80","hex_latitude":"067ccd08","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211052288001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39082398507335680,"note":"Value kept but may cause issues"} 
[2026-11-04 17:24:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6243115011304329216,"note":"Value kept but may cause issues"} 
[2026-11-04 17:24:46] 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-11-04 17:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793793180000,"timestamp_ms":1793793180000,"timestamp_seconds":1793793180,"priority":1,"record_length":96,"hex_timestamp":"000001a1a667c160"} 
[2026-11-04 17:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17: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-11-04 17: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-11-04 17:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211052288001,"66":27865,"1":206,"19":47872,"24":52,"16":39082398507335680,"45":6243115011304329216},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-11-04 17:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211052288001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:24:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39082398507335680,"km_value":39082398507335.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:24:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":6243115011304329216,"description":"Unknown IO ID 45"} 
[2026-11-04 17:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211052288001,"power":27865,"imei":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":6243115011304329216}} 
[2026-11-04 17:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":230858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:24:46] local.INFO: GPS data processed {"connection_id":230858,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:24:46] local.INFO: Acknowledgment sent {"connection_id":230858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:25:08] local.INFO: TCP Data received {"connection_id":229550,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:08] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:08] local.INFO: IMEI packet received {"connection_id":229550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":229550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:25:11] local.INFO: TCP Data received {"connection_id":229550,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:11] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:11] local.INFO: IMEI packet received {"connection_id":229550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":229550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:25:11] local.INFO: TCP Data received {"connection_id":229550,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:11] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:25:11] local.INFO: IMEI packet received {"connection_id":229550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":229550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:25:12] local.INFO: TCP Data received {"connection_id":229550,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a668e658012d558740067e1a40001f01552e..."} 
[2026-11-04 17:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a668e658012d558740067e1a40001f01552e..."} 
[2026-11-04 17:25:12] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a668e658012d558740067e1a40001f01552e..."} 
[2026-11-04 17:25:12] local.INFO: Packet analysis {"connection_id":229550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a668"} 
[2026-11-04 17:25:12] local.INFO: Extracted packet for processing {"connection_id":229550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a668"} 
[2026-11-04 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":760579904,"raw_latitude":108927552,"longitude_deg":76.0579904,"latitude_deg":10.8927552,"altitude":31,"angle":341,"satellites":46,"speed":57,"hex_longitude":"2d558740","hex_latitude":"067e1a40","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211071488001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39087664137240576,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6166905661380978688,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25: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-11-04 17:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793793255000,"timestamp_ms":1793793255000,"timestamp_seconds":1793793255,"priority":1,"record_length":96,"hex_timestamp":"000001a1a668e658"} 
[2026-11-04 17:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 17:25: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-11-04 17: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-11-04 17:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211071488001,"66":27800,"1":206,"19":47872,"24":57,"16":39087664137240576,"45":6166905661380978688},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-11-04 17:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211071488001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:25:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39087664137240576,"km_value":39087664137240.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6166905661380978688,"description":"Unknown IO ID 45"} 
[2026-11-04 17:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211071488001,"power":27800,"imei":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":6166905661380978688}} 
[2026-11-04 17:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":229550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:25:12] local.INFO: GPS data processed {"connection_id":229550,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:25:12] local.INFO: Acknowledgment sent {"connection_id":229550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:25:14] local.INFO: TCP Data received {"connection_id":229550,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66901b0012d557c80067e3fb00020015a2d..."} 
[2026-11-04 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66901b0012d557c80067e3fb00020015a2d..."} 
[2026-11-04 17:25:14] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66901b0012d557c80067e3fb00020015a2d..."} 
[2026-11-04 17:25:14] local.INFO: Packet analysis {"connection_id":229550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a669"} 
[2026-11-04 17:25:14] local.INFO: Extracted packet for processing {"connection_id":229550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a669"} 
[2026-11-04 17:25:14] local.INFO: GPS Element Parsed {"raw_longitude":760577152,"raw_latitude":108937136,"longitude_deg":76.0577152,"latitude_deg":10.8937136,"altitude":32,"angle":346,"satellites":45,"speed":57,"hex_longitude":"2d557c80","hex_latitude":"067e3fb0","is_valid_coordinates":true} 
[2026-11-04 17:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211073280001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39088145173577728,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6162965011709444096,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:14] 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-11-04 17:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793793262000,"timestamp_ms":1793793262000,"timestamp_seconds":1793793262,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66901b0"} 
[2026-11-04 17:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 17:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211073280001,"66":27919,"1":206,"19":47872,"24":57,"16":39088145173577728,"45":6162965011709444096},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-11-04 17:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211073280001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:25:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39088145173577728,"km_value":39088145173577.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":6162965011709444096,"description":"Unknown IO ID 45"} 
[2026-11-04 17:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211073280001,"power":27919,"imei":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":6162965011709444096}} 
[2026-11-04 17:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":229550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:25:14] local.INFO: GPS data processed {"connection_id":229550,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:25:14] local.INFO: Acknowledgment sent {"connection_id":229550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:25:50] local.INFO: TCP Data received {"connection_id":229550,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6691d08012d557300067e66080022015a2f..."} 
[2026-11-04 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6691d08012d557300067e66080022015a2f..."} 
[2026-11-04 17:25:50] local.INFO: Processing buffer {"connection_id":229550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6691d08012d557300067e66080022015a2f..."} 
[2026-11-04 17:25:50] local.INFO: Packet analysis {"connection_id":229550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a669"} 
[2026-11-04 17:25:50] local.INFO: Extracted packet for processing {"connection_id":229550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a669"} 
[2026-11-04 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":760574720,"raw_latitude":108946952,"longitude_deg":76.057472,"latitude_deg":10.8946952,"altitude":34,"angle":346,"satellites":47,"speed":58,"hex_longitude":"2d557300","hex_latitude":"067e6608","is_valid_coordinates":true} 
[2026-11-04 17:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211075072001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39088639094816768,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6159939155712258048,"note":"Value kept but may cause issues"} 
[2026-11-04 17:25:50] 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-11-04 17:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793793269000,"timestamp_ms":1793793269000,"timestamp_seconds":1793793269,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6691d08"} 
[2026-11-04 17:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 17:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211075072001,"66":27865,"1":206,"19":47872,"24":58,"16":39088639094816768,"45":6159939155712258048},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-11-04 17:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211075072001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:25:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39088639094816768,"km_value":39088639094816.766,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":6159939155712258048,"description":"Unknown IO ID 45"} 
[2026-11-04 17:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211075072001,"power":27865,"imei":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":6159939155712258048}} 
[2026-11-04 17:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":229550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:25:50] local.INFO: GPS data processed {"connection_id":229550,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:25:50] local.INFO: Acknowledgment sent {"connection_id":229550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:26:08] local.INFO: TCP Data received {"connection_id":229551,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:08] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:08] local.INFO: IMEI packet received {"connection_id":229551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":229551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:26:11] local.INFO: TCP Data received {"connection_id":229551,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:11] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:11] local.INFO: IMEI packet received {"connection_id":229551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":229551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:26:16] local.INFO: TCP Data received {"connection_id":229551,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:16] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:26:16] local.INFO: IMEI packet received {"connection_id":229551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":229551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:26:19] local.INFO: TCP Data received {"connection_id":229551,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6693478012d556c40067e88380023015c2f..."} 
[2026-11-04 17:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6693478012d556c40067e88380023015c2f..."} 
[2026-11-04 17:26:19] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6693478012d556c40067e88380023015c2f..."} 
[2026-11-04 17:26:19] local.INFO: Packet analysis {"connection_id":229551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a669"} 
[2026-11-04 17:26:19] local.INFO: Extracted packet for processing {"connection_id":229551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a669"} 
[2026-11-04 17:26:19] local.INFO: GPS Element Parsed {"raw_longitude":760572992,"raw_latitude":108955704,"longitude_deg":76.0572992,"latitude_deg":10.8955704,"altitude":35,"angle":348,"satellites":47,"speed":59,"hex_longitude":"2d556c40","hex_latitude":"067e8838","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211076864001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39089068591546368,"note":"Value kept but may cause issues"} 
[2026-11-04 17:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6157265143436019712,"note":"Value kept but may cause issues"} 
[2026-11-04 17:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793793275000,"timestamp_ms":1793793275000,"timestamp_seconds":1793793275,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6693478"} 
[2026-11-04 17:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211076864001,"66":27865,"3":206,"19":47872,"24":59,"16":39089068591546368,"45":6157265143436019712},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211076864001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:26:19] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:26:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39089068591546368,"km_value":39089068591546.37,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6157265143436019712,"description":"Unknown IO ID 45"} 
[2026-11-04 17:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211076864001,"power":27865,"unknown_3":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":6157265143436019712}} 
[2026-11-04 17:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":229551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:26:19] local.INFO: GPS data processed {"connection_id":229551,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:26:19] local.INFO: Acknowledgment sent {"connection_id":229551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:26:52] local.INFO: TCP Data received {"connection_id":229551,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66a51a0012d54d600067fd2d80040014b2c..."} 
[2026-11-04 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66a51a0012d54d600067fd2d80040014b2c..."} 
[2026-11-04 17:26:52] local.INFO: Processing buffer {"connection_id":229551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66a51a0012d54d600067fd2d80040014b2c..."} 
[2026-11-04 17:26:52] local.INFO: Packet analysis {"connection_id":229551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:26:52] local.INFO: Extracted packet for processing {"connection_id":229551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:26:52] local.INFO: GPS Element Parsed {"raw_longitude":760534528,"raw_latitude":109040344,"longitude_deg":76.0534528,"latitude_deg":10.9040344,"altitude":64,"angle":331,"satellites":44,"speed":34,"hex_longitude":"2d54d600","hex_latitude":"067fd2d8","is_valid_coordinates":true} 
[2026-11-04 17:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211094528001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39093595487076352,"note":"Value kept but may cause issues"} 
[2026-11-04 17:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6118069752950818816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:26:52] 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-11-04 17:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793793348000,"timestamp_ms":1793793348000,"timestamp_seconds":1793793348,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66a51a0"} 
[2026-11-04 17:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 17:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":229551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":229551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":229551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211094528001,"66":27865,"3":206,"19":47872,"24":34,"16":39093595487076352,"45":6118069752950818816},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211094528001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:26:52] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:26:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39093595487076352,"km_value":39093595487076.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6118069752950818816,"description":"Unknown IO ID 45"} 
[2026-11-04 17:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211094528001,"power":27865,"unknown_3":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":6118069752950818816}} 
[2026-11-04 17:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":229551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:26:52] local.INFO: GPS data processed {"connection_id":229551,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:26:52] local.INFO: Acknowledgment sent {"connection_id":229551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:27:06] local.INFO: TCP Data received {"connection_id":229070,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:27:06] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:27:06] local.INFO: IMEI packet received {"connection_id":229070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":229070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:27:12] local.INFO: TCP Data received {"connection_id":229070,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:27:12] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:27:12] local.INFO: IMEI packet received {"connection_id":229070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":229070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:27:13] local.INFO: TCP Data received {"connection_id":229070,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66a8080012d54c4c0067ff2d00045014c2d..."} 
[2026-11-04 17:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66a8080012d54c4c0067ff2d00045014c2d..."} 
[2026-11-04 17:27:13] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66a8080012d54c4c0067ff2d00045014c2d..."} 
[2026-11-04 17:27:13] local.INFO: Packet analysis {"connection_id":229070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:27:13] local.INFO: Extracted packet for processing {"connection_id":229070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":760530112,"raw_latitude":109048528,"longitude_deg":76.0530112,"latitude_deg":10.9048528,"altitude":69,"angle":332,"satellites":45,"speed":30,"hex_longitude":"2d54c4c0","hex_latitude":"067ff2d0","is_valid_coordinates":true} 
[2026-11-04 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211097088001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39094046458642432,"note":"Value kept but may cause issues"} 
[2026-11-04 17:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6113073572116355072,"note":"Value kept but may cause issues"} 
[2026-11-04 17:27: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-11-04 17:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793793360000,"timestamp_ms":1793793360000,"timestamp_seconds":1793793360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66a8080"} 
[2026-11-04 17:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:27:13] 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-11-04 17:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211097088001,"66":27865,"3":206,"19":47872,"24":30,"16":39094046458642432,"45":6113073572116355072},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211097088001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:27:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:27:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39094046458642432,"km_value":39094046458642.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6113073572116355072,"description":"Unknown IO ID 45"} 
[2026-11-04 17:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211097088001,"power":27865,"unknown_3":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6113073572116355072}} 
[2026-11-04 17:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":229070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:27:13] local.INFO: GPS data processed {"connection_id":229070,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:27:13] local.INFO: Acknowledgment sent {"connection_id":229070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:27:51] local.INFO: TCP Data received {"connection_id":229070,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66aaf60012d54b300068013380048014b2d..."} 
[2026-11-04 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66aaf60012d54b300068013380048014b2d..."} 
[2026-11-04 17:27:51] local.INFO: Processing buffer {"connection_id":229070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66aaf60012d54b300068013380048014b2d..."} 
[2026-11-04 17:27:51] local.INFO: Packet analysis {"connection_id":229070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:27:51] local.INFO: Extracted packet for processing {"connection_id":229070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":760525568,"raw_latitude":109056824,"longitude_deg":76.0525568,"latitude_deg":10.9056824,"altitude":72,"angle":331,"satellites":45,"speed":32,"hex_longitude":"2d54b300","hex_latitude":"06801338","is_valid_coordinates":true} 
[2026-11-04 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211100160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39094501725175808,"note":"Value kept but may cause issues"} 
[2026-11-04 17:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6108218128770191360,"note":"Value kept but may cause issues"} 
[2026-11-04 17:27:51] 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-11-04 17:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793793372000,"timestamp_ms":1793793372000,"timestamp_seconds":1793793372,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66aaf60"} 
[2026-11-04 17:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:27:51] 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-11-04 17:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211100160001,"66":27952,"3":206,"19":47872,"24":32,"16":39094501725175808,"45":6108218128770191360},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211100160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:27:51] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:27:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39094501725175808,"km_value":39094501725175.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6108218128770191360,"description":"Unknown IO ID 45"} 
[2026-11-04 17:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211100160001,"power":27952,"unknown_3":206,"unknown_19":47872,"ignition":32,"odometer":null,"unknown_45":6108218128770191360}} 
[2026-11-04 17:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":229070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:27:51] local.INFO: GPS data processed {"connection_id":229070,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:27:51] local.INFO: Acknowledgment sent {"connection_id":229070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:28:17] local.INFO: TCP Data received {"connection_id":230859,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:17] local.INFO: Processing buffer {"connection_id":230859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:17] local.INFO: IMEI packet received {"connection_id":230859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":230859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:28:18] local.INFO: TCP Data received {"connection_id":230859,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:18] local.INFO: Processing buffer {"connection_id":230859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:18] local.INFO: IMEI packet received {"connection_id":230859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":230859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:28:21] local.INFO: TCP Data received {"connection_id":230859,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:21] local.INFO: Processing buffer {"connection_id":230859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:21] local.INFO: IMEI packet received {"connection_id":230859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":230859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:28:25] local.INFO: TCP Data received {"connection_id":230859,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:25] local.INFO: Processing buffer {"connection_id":230859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:28:25] local.INFO: IMEI packet received {"connection_id":230859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":230859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:28:26] local.INFO: TCP Data received {"connection_id":230859,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66ade40012d54a100068033d0004d014b2d..."} 
[2026-11-04 17:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66ade40012d54a100068033d0004d014b2d..."} 
[2026-11-04 17:28:26] local.INFO: Processing buffer {"connection_id":230859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66ade40012d54a100068033d0004d014b2d..."} 
[2026-11-04 17:28:26] local.INFO: Packet analysis {"connection_id":230859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:28:26] local.INFO: Extracted packet for processing {"connection_id":230859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66a"} 
[2026-11-04 17:28:26] local.INFO: GPS Element Parsed {"raw_longitude":760520960,"raw_latitude":109065168,"longitude_deg":76.052096,"latitude_deg":10.9065168,"altitude":77,"angle":331,"satellites":45,"speed":32,"hex_longitude":"2d54a100","hex_latitude":"068033d0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211103232001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39094961286676480,"note":"Value kept but may cause issues"} 
[2026-11-04 17:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6103221947935700992,"note":"Value kept but may cause issues"} 
[2026-11-04 17:28:26] 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-11-04 17:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793793384000,"timestamp_ms":1793793384000,"timestamp_seconds":1793793384,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66ade40"} 
[2026-11-04 17:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 17:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":230859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":230859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":230859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211103232001,"66":27908,"3":206,"19":47872,"24":32,"16":39094961286676480,"45":6103221947935700992},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211103232001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:28:26] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:28:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39094961286676480,"km_value":39094961286676.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6103221947935700992,"description":"Unknown IO ID 45"} 
[2026-11-04 17:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211103232001,"power":27908,"unknown_3":206,"unknown_19":47872,"ignition":32,"odometer":null,"unknown_45":6103221947935700992}} 
[2026-11-04 17:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":230859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:28:26] local.INFO: GPS data processed {"connection_id":230859,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:28:26] local.INFO: Acknowledgment sent {"connection_id":230859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:28:27] local.INFO: TCP Data received {"connection_id":230859,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66b0d20012d548e8006805458005101482d..."} 
[2026-11-04 17:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66b0d20012d548e8006805458005101482d..."} 
[2026-11-04 17:28:27] local.INFO: Processing buffer {"connection_id":230859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66b0d20012d548e8006805458005101482d..."} 
[2026-11-04 17:28:27] local.INFO: Packet analysis {"connection_id":230859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66b"} 
[2026-11-04 17:28:27] local.INFO: Extracted packet for processing {"connection_id":230859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66b"} 
[2026-11-04 17:28:27] local.INFO: GPS Element Parsed {"raw_longitude":760516224,"raw_latitude":109073496,"longitude_deg":76.0516224,"latitude_deg":10.9073496,"altitude":81,"angle":328,"satellites":45,"speed":30,"hex_longitude":"2d548e80","hex_latitude":"06805458","is_valid_coordinates":true} 
[2026-11-04 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-11-04 17:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211106304001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39095425143144448,"note":"Value kept but may cause issues"} 
[2026-11-04 17:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6098155398357045248,"note":"Value kept but may cause issues"} 
[2026-11-04 17:28:27] 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-11-04 17:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793793396000,"timestamp_ms":1793793396000,"timestamp_seconds":1793793396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66b0d20"} 
[2026-11-04 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-11-04 17:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:28: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-11-04 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-11-04 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-11-04 17:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":230859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":230859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":230859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211106304001,"66":27593,"3":206,"19":47872,"24":30,"16":39095425143144448,"45":6098155398357045248},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211106304001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:28:27] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:28:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39095425143144448,"km_value":39095425143144.445,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6098155398357045248,"description":"Unknown IO ID 45"} 
[2026-11-04 17:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211106304001,"power":27593,"unknown_3":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6098155398357045248}} 
[2026-11-04 17:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":230859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:28:27] local.INFO: GPS data processed {"connection_id":230859,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:28:27] local.INFO: Acknowledgment sent {"connection_id":230859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:29:06] local.INFO: TCP Data received {"connection_id":229073,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:29:06] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:29:06] local.INFO: IMEI packet received {"connection_id":229073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":229073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:29:10] local.INFO: TCP Data received {"connection_id":229073,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:29:10] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:29:10] local.INFO: IMEI packet received {"connection_id":229073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":229073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:29:12] local.INFO: TCP Data received {"connection_id":229073,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66b3818012d547ac006806f400055013d2d..."} 
[2026-11-04 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66b3818012d547ac006806f400055013d2d..."} 
[2026-11-04 17:29:12] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66b3818012d547ac006806f400055013d2d..."} 
[2026-11-04 17:29:12] local.INFO: Packet analysis {"connection_id":229073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66b"} 
[2026-11-04 17:29:12] local.INFO: Extracted packet for processing {"connection_id":229073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66b"} 
[2026-11-04 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":760511168,"raw_latitude":109080384,"longitude_deg":76.0511168,"latitude_deg":10.9080384,"altitude":85,"angle":317,"satellites":45,"speed":30,"hex_longitude":"2d547ac0","hex_latitude":"06806f40","is_valid_coordinates":true} 
[2026-11-04 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211109376001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39095837460004864,"note":"Value kept but may cause issues"} 
[2026-11-04 17:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6092948111290030080,"note":"Value kept but may cause issues"} 
[2026-11-04 17:29:12] 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-11-04 17:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793793407000,"timestamp_ms":1793793407000,"timestamp_seconds":1793793407,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66b3818"} 
[2026-11-04 17:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-11-04 17:29:12] 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-11-04 17:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211109376001,"66":27604,"3":206,"19":47872,"24":30,"16":39095837460004864,"45":6092948111290030080},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211109376001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:29:12] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:29:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39095837460004864,"km_value":39095837460004.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6092948111290030080,"description":"Unknown IO ID 45"} 
[2026-11-04 17:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211109376001,"power":27604,"unknown_3":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6092948111290030080}} 
[2026-11-04 17:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":229073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:29:12] local.INFO: GPS data processed {"connection_id":229073,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:29:12] local.INFO: Acknowledgment sent {"connection_id":229073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:29:42] local.INFO: TCP Data received {"connection_id":232715,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:29:42] local.INFO: Processing buffer {"connection_id":232715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:29:42] local.INFO: IMEI packet received {"connection_id":232715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":232715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:29:45] local.INFO: TCP Data received {"connection_id":229073,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66b66f8012d54604006808700005a01342e..."} 
[2026-11-04 17:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66b66f8012d54604006808700005a01342e..."} 
[2026-11-04 17:29:45] local.INFO: Processing buffer {"connection_id":229073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66b66f8012d54604006808700005a01342e..."} 
[2026-11-04 17:29:45] local.INFO: Packet analysis {"connection_id":229073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66b"} 
[2026-11-04 17:29:45] local.INFO: Extracted packet for processing {"connection_id":229073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66b"} 
[2026-11-04 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":760504384,"raw_latitude":109086464,"longitude_deg":76.0504384,"latitude_deg":10.9086464,"altitude":90,"angle":308,"satellites":46,"speed":29,"hex_longitude":"2d546040","hex_latitude":"06808700","is_valid_coordinates":true} 
[2026-11-04 17:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211112192001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39096275546669056,"note":"Value kept but may cause issues"} 
[2026-11-04 17:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6087388980501757952,"note":"Value kept but may cause issues"} 
[2026-11-04 17:29:45] 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-11-04 17:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793793419000,"timestamp_ms":1793793419000,"timestamp_seconds":1793793419,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66b66f8"} 
[2026-11-04 17:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 17:29: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-11-04 17:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211112192001,"66":27930,"3":206,"19":47872,"24":29,"16":39096275546669056,"45":6087388980501757952},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-11-04 17:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211112192001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:29:45] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 17:29:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39096275546669056,"km_value":39096275546669.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":6087388980501757952,"description":"Unknown IO ID 45"} 
[2026-11-04 17:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211112192001,"power":27930,"unknown_3":206,"unknown_19":47872,"ignition":29,"odometer":null,"unknown_45":6087388980501757952}} 
[2026-11-04 17:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":229073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:29:45] local.INFO: GPS data processed {"connection_id":229073,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:29:45] local.INFO: Acknowledgment sent {"connection_id":229073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:30:07] local.INFO: TCP Data received {"connection_id":229075,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:07] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:07] local.INFO: IMEI packet received {"connection_id":229075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":229075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:30:07] local.INFO: TCP Data received {"connection_id":229075,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:07] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:07] local.INFO: IMEI packet received {"connection_id":229075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":229075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:30:08] local.INFO: TCP Data received {"connection_id":229074,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:30:08] local.INFO: Processing buffer {"connection_id":229074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:30:08] local.INFO: IMEI packet received {"connection_id":229074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":229074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:30:11] local.INFO: TCP Data received {"connection_id":229075,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:11] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:30:11] local.INFO: IMEI packet received {"connection_id":229075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":229075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:30:15] local.INFO: TCP Data received {"connection_id":229075,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66d4770012d53334006819428008c01392f..."} 
[2026-11-04 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66d4770012d53334006819428008c01392f..."} 
[2026-11-04 17:30:15] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66d4770012d53334006819428008c01392f..."} 
[2026-11-04 17:30:15] local.INFO: Packet analysis {"connection_id":229075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66d"} 
[2026-11-04 17:30:15] local.INFO: Extracted packet for processing {"connection_id":229075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66d"} 
[2026-11-04 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":760427328,"raw_latitude":109155368,"longitude_deg":76.0427328,"latitude_deg":10.9155368,"altitude":140,"angle":313,"satellites":47,"speed":38,"hex_longitude":"2d533340","hex_latitude":"06819428","is_valid_coordinates":true} 
[2026-11-04 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211144192001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39101240528863232,"note":"Value kept but may cause issues"} 
[2026-11-04 17:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6003157593738577920,"note":"Value kept but may cause issues"} 
[2026-11-04 17:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793793542000,"timestamp_ms":1793793542000,"timestamp_seconds":1793793542,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66d4770"} 
[2026-11-04 17:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:30: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-11-04 17:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211144192001,"66":27865,"201":206,"19":47872,"24":38,"16":39101240528863232,"45":6003157593738577920},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-11-04 17:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211144192001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:30:15] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 17:30:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39101240528863232,"km_value":39101240528863.234,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6003157593738577920,"description":"Unknown IO ID 45"} 
[2026-11-04 17:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211144192001,"power":27865,"unknown_201":206,"unknown_19":47872,"ignition":38,"odometer":null,"unknown_45":6003157593738577920}} 
[2026-11-04 17:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":229075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:30:15] local.INFO: GPS data processed {"connection_id":229075,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:30:15] local.INFO: Acknowledgment sent {"connection_id":229075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:30:49] local.INFO: TCP Data received {"connection_id":229075,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66d6a98012d5319400681ac80008d01392f..."} 
[2026-11-04 17:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66d6a98012d5319400681ac80008d01392f..."} 
[2026-11-04 17:30:49] local.INFO: Processing buffer {"connection_id":229075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66d6a98012d5319400681ac80008d01392f..."} 
[2026-11-04 17:30:49] local.INFO: Packet analysis {"connection_id":229075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66d"} 
[2026-11-04 17:30:49] local.INFO: Extracted packet for processing {"connection_id":229075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66d"} 
[2026-11-04 17:30:49] local.INFO: GPS Element Parsed {"raw_longitude":760420672,"raw_latitude":109161600,"longitude_deg":76.0420672,"latitude_deg":10.91616,"altitude":141,"angle":313,"satellites":47,"speed":41,"hex_longitude":"2d531940","hex_latitude":"0681ac80","is_valid_coordinates":true} 
[2026-11-04 17:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211146752001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39101678615527424,"note":"Value kept but may cause issues"} 
[2026-11-04 17:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5995205925648214016,"note":"Value kept but may cause issues"} 
[2026-11-04 17:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793793551000,"timestamp_ms":1793793551000,"timestamp_seconds":1793793551,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66d6a98"} 
[2026-11-04 17:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211146752001,"66":27974,"201":206,"19":47872,"24":41,"16":39101678615527424,"45":5995205925648214016},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-11-04 17:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211146752001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:30:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 17:30:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39101678615527424,"km_value":39101678615527.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5995205925648214016,"description":"Unknown IO ID 45"} 
[2026-11-04 17:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211146752001,"power":27974,"unknown_201":206,"unknown_19":47872,"ignition":41,"odometer":null,"unknown_45":5995205925648214016}} 
[2026-11-04 17:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":229075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:30:49] local.INFO: GPS data processed {"connection_id":229075,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:30:49] local.INFO: Acknowledgment sent {"connection_id":229075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:31:06] local.INFO: TCP Data received {"connection_id":230861,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:31:06] local.INFO: Processing buffer {"connection_id":230861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:31:06] local.INFO: IMEI packet received {"connection_id":230861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":230861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:31:11] local.INFO: TCP Data received {"connection_id":230861,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:31:11] local.INFO: Processing buffer {"connection_id":230861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:31:11] local.INFO: IMEI packet received {"connection_id":230861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":230861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:31:12] local.INFO: TCP Data received {"connection_id":230861,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66d8dc0012d52fc000681c718008d01372f..."} 
[2026-11-04 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66d8dc0012d52fc000681c718008d01372f..."} 
[2026-11-04 17:31:12] local.INFO: Processing buffer {"connection_id":230861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66d8dc0012d52fc000681c718008d01372f..."} 
[2026-11-04 17:31:12] local.INFO: Packet analysis {"connection_id":230861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66d"} 
[2026-11-04 17:31:12] local.INFO: Extracted packet for processing {"connection_id":230861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66d"} 
[2026-11-04 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":760413184,"raw_latitude":109168408,"longitude_deg":76.0413184,"latitude_deg":10.9168408,"altitude":141,"angle":311,"satellites":47,"speed":47,"hex_longitude":"2d52fc00","hex_latitude":"0681c718","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211149056001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39102163946831872,"note":"Value kept but may cause issues"} 
[2026-11-04 17:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5987887576255332352,"note":"Value kept but may cause issues"} 
[2026-11-04 17:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793793560000,"timestamp_ms":1793793560000,"timestamp_seconds":1793793560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66d8dc0"} 
[2026-11-04 17:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":70,"data_length":795,"current_offset":136} 
[2026-11-04 17:31: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-11-04 17: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-11-04 17:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211149056001,"66":28093,"201":206,"19":47872,"24":47,"16":39102163946831872,"45":5987887576255332352},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-11-04 17:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211149056001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-11-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39102163946831872,"km_value":39102163946831.875,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5987887576255332352,"description":"Unknown IO ID 45"} 
[2026-11-04 17:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211149056001,"power":28093,"unknown_201":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5987887576255332352}} 
[2026-11-04 17:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":230861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:31:12] local.INFO: GPS data processed {"connection_id":230861,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:31:12] local.INFO: Acknowledgment sent {"connection_id":230861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:31:44] local.INFO: TCP Data received {"connection_id":230861,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66ee198012d5180000682f2d0008b01402b..."} 
[2026-11-04 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66ee198012d5180000682f2d0008b01402b..."} 
[2026-11-04 17:31:44] local.INFO: Processing buffer {"connection_id":230861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66ee198012d5180000682f2d0008b01402b..."} 
[2026-11-04 17:31:44] local.INFO: Packet analysis {"connection_id":230861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66e"} 
[2026-11-04 17:31:44] local.INFO: Extracted packet for processing {"connection_id":230861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66e"} 
[2026-11-04 17:31:44] local.INFO: GPS Element Parsed {"raw_longitude":760315904,"raw_latitude":109245136,"longitude_deg":76.0315904,"latitude_deg":10.9245136,"altitude":139,"angle":320,"satellites":43,"speed":51,"hex_longitude":"2d518000","hex_latitude":"0682f2d0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211171840001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39108129656406016,"note":"Value kept but may cause issues"} 
[2026-11-04 17:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5879378972753018880,"note":"Value kept but may cause issues"} 
[2026-11-04 17:31:44] 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-11-04 17:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793793647000,"timestamp_ms":1793793647000,"timestamp_seconds":1793793647,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66ee198"} 
[2026-11-04 17:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":91,"data_length":795,"current_offset":136} 
[2026-11-04 17:31: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-11-04 17: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-11-04 17:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211171840001,"66":27919,"250":206,"19":47872,"24":51,"16":39108129656406016,"45":5879378972753018880},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 17:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211171840001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39108129656406016,"km_value":39108129656406.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5879378972753018880,"description":"Unknown IO ID 45"} 
[2026-11-04 17:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211171840001,"power":27919,"unknown_250":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5879378972753018880}} 
[2026-11-04 17:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":230861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:31:44] local.INFO: GPS data processed {"connection_id":230861,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:31:44] local.INFO: Acknowledgment sent {"connection_id":230861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:32:07] local.INFO: TCP Data received {"connection_id":229553,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:07] local.INFO: Processing buffer {"connection_id":229553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:07] local.INFO: IMEI packet received {"connection_id":229553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":229553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:32:11] local.INFO: TCP Data received {"connection_id":229553,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:11] local.INFO: Processing buffer {"connection_id":229553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:11] local.INFO: IMEI packet received {"connection_id":229553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":229553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:32:16] local.INFO: TCP Data received {"connection_id":229553,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:17] local.INFO: Processing buffer {"connection_id":229553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:32:17] local.INFO: IMEI packet received {"connection_id":229553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":229553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:32:22] local.INFO: TCP Data received {"connection_id":229553,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66efcf0012d51698006830ee8008e01402c..."} 
[2026-11-04 17:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66efcf0012d51698006830ee8008e01402c..."} 
[2026-11-04 17:32:22] local.INFO: Processing buffer {"connection_id":229553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66efcf0012d51698006830ee8008e01402c..."} 
[2026-11-04 17:32:22] local.INFO: Packet analysis {"connection_id":229553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66e"} 
[2026-11-04 17:32:22] local.INFO: Extracted packet for processing {"connection_id":229553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66e"} 
[2026-11-04 17:32:22] local.INFO: GPS Element Parsed {"raw_longitude":760310144,"raw_latitude":109252328,"longitude_deg":76.0310144,"latitude_deg":10.9252328,"altitude":142,"angle":320,"satellites":44,"speed":51,"hex_longitude":"2d516980","hex_latitude":"06830ee8","is_valid_coordinates":true} 
[2026-11-04 17:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211173632001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39108576333004800,"note":"Value kept but may cause issues"} 
[2026-11-04 17:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5872693942057881600,"note":"Value kept but may cause issues"} 
[2026-11-04 17:32:22] 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-11-04 17:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793793654000,"timestamp_ms":1793793654000,"timestamp_seconds":1793793654,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66efcf0"} 
[2026-11-04 17:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 17:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211173632001,"66":27930,"250":206,"19":47872,"24":51,"16":39108576333004800,"45":5872693942057881600},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 17:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211173632001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:32:22] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 17:32:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39108576333004800,"km_value":39108576333004.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5872693942057881600,"description":"Unknown IO ID 45"} 
[2026-11-04 17:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211173632001,"power":27930,"unknown_250":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5872693942057881600}} 
[2026-11-04 17:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":229553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:32:22] local.INFO: GPS data processed {"connection_id":229553,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:32:22] local.INFO: Acknowledgment sent {"connection_id":229553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:32:26] local.INFO: TCP Data received {"connection_id":229553,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66f1848012d51518006832a680092013b2c..."} 
[2026-11-04 17:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66f1848012d51518006832a680092013b2c..."} 
[2026-11-04 17:32:26] local.INFO: Processing buffer {"connection_id":229553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66f1848012d51518006832a680092013b2c..."} 
[2026-11-04 17:32:26] local.INFO: Packet analysis {"connection_id":229553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:32:26] local.INFO: Extracted packet for processing {"connection_id":229553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:32:26] local.INFO: GPS Element Parsed {"raw_longitude":760304000,"raw_latitude":109259368,"longitude_deg":76.0304,"latitude_deg":10.9259368,"altitude":146,"angle":315,"satellites":44,"speed":53,"hex_longitude":"2d515180","hex_latitude":"06832a68","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211175424001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39109023009603584,"note":"Value kept but may cause issues"} 
[2026-11-04 17:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5866360755083732992,"note":"Value kept but may cause issues"} 
[2026-11-04 17:32:26] 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-11-04 17:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793793661000,"timestamp_ms":1793793661000,"timestamp_seconds":1793793661,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66f1848"} 
[2026-11-04 17:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 17:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211175424001,"66":27843,"250":206,"19":47872,"24":53,"16":39109023009603584,"45":5866360755083732992},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 17:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211175424001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:32:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 17:32:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39109023009603584,"km_value":39109023009603.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5866360755083732992,"description":"Unknown IO ID 45"} 
[2026-11-04 17:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211175424001,"power":27843,"unknown_250":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":5866360755083732992}} 
[2026-11-04 17:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":229553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:32:26] local.INFO: GPS data processed {"connection_id":229553,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:32:26] local.INFO: Acknowledgment sent {"connection_id":229553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:33:06] local.INFO: TCP Data received {"connection_id":229076,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:33:06] local.INFO: Processing buffer {"connection_id":229076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:33:06] local.INFO: IMEI packet received {"connection_id":229076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":229076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:33:10] local.INFO: TCP Data received {"connection_id":229076,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:33:10] local.INFO: Processing buffer {"connection_id":229076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:33:10] local.INFO: IMEI packet received {"connection_id":229076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":229076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:33:12] local.INFO: TCP Data received {"connection_id":229076,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66f33a0012d513640068343d8009301362d..."} 
[2026-11-04 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66f33a0012d513640068343d8009301362d..."} 
[2026-11-04 17:33:12] local.INFO: Processing buffer {"connection_id":229076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66f33a0012d513640068343d8009301362d..."} 
[2026-11-04 17:33:12] local.INFO: Packet analysis {"connection_id":229076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:33:12] local.INFO: Extracted packet for processing {"connection_id":229076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":760297024,"raw_latitude":109265880,"longitude_deg":76.0297024,"latitude_deg":10.926588,"altitude":147,"angle":310,"satellites":45,"speed":52,"hex_longitude":"2d513640","hex_latitude":"068343d8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211177216001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39109482571104256,"note":"Value kept but may cause issues"} 
[2026-11-04 17:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5859605355644479488,"note":"Value kept but may cause issues"} 
[2026-11-04 17:33: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-11-04 17:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793793668000,"timestamp_ms":1793793668000,"timestamp_seconds":1793793668,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66f33a0"} 
[2026-11-04 17:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 17:33: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-11-04 17: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-11-04 17:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211177216001,"66":27995,"250":206,"19":47872,"24":52,"16":39109482571104256,"45":5859605355644479488},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 17:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211177216001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:33:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 17:33:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39109482571104256,"km_value":39109482571104.26,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5859605355644479488,"description":"Unknown IO ID 45"} 
[2026-11-04 17:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211177216001,"power":27995,"unknown_250":206,"unknown_19":47872,"ignition":52,"odometer":null,"unknown_45":5859605355644479488}} 
[2026-11-04 17:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":229076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:33:12] local.INFO: GPS data processed {"connection_id":229076,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:33:12] local.INFO: Acknowledgment sent {"connection_id":229076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:33:43] local.INFO: TCP Data received {"connection_id":229076,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66f4b10012d5121c0068352f00093012a2c..."} 
[2026-11-04 17:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66f4b10012d5121c0068352f00093012a2c..."} 
[2026-11-04 17:33:43] local.INFO: Processing buffer {"connection_id":229076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66f4b10012d5121c0068352f00093012a2c..."} 
[2026-11-04 17:33:43] local.INFO: Packet analysis {"connection_id":229076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:33:43] local.INFO: Extracted packet for processing {"connection_id":229076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:33:43] local.INFO: GPS Element Parsed {"raw_longitude":760291776,"raw_latitude":109269744,"longitude_deg":76.0291776,"latitude_deg":10.9269744,"altitude":147,"angle":298,"satellites":44,"speed":34,"hex_longitude":"2d5121c0","hex_latitude":"068352f0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211179008001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39109796103716864,"note":"Value kept but may cause issues"} 
[2026-11-04 17:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851935162530781184,"note":"Value kept but may cause issues"} 
[2026-11-04 17:33: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-11-04 17:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793793674000,"timestamp_ms":1793793674000,"timestamp_seconds":1793793674,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66f4b10"} 
[2026-11-04 17:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 17:33:43] 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-11-04 17: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-11-04 17:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211179008001,"66":27930,"250":206,"19":47872,"24":34,"16":39109796103716864,"45":5851935162530781184},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 17:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211179008001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:33:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 17:33:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39109796103716864,"km_value":39109796103716.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851935162530781184,"description":"Unknown IO ID 45"} 
[2026-11-04 17:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211179008001,"power":27930,"unknown_250":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":5851935162530781184}} 
[2026-11-04 17:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":229076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:33:43] local.INFO: GPS data processed {"connection_id":229076,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:33:43] local.INFO: Acknowledgment sent {"connection_id":229076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:34:06] local.INFO: TCP Data received {"connection_id":232717,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:34:06] local.INFO: Processing buffer {"connection_id":232717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:34:06] local.INFO: IMEI packet received {"connection_id":232717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":232717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:34:09] local.INFO: TCP Data received {"connection_id":232717,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:34:09] local.INFO: Processing buffer {"connection_id":232717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:34:09] local.INFO: IMEI packet received {"connection_id":232717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":232717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:34:11] local.INFO: TCP Data received {"connection_id":232717,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a66f85a8012d5101c006836278009301272c..."} 
[2026-11-04 17:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a66f85a8012d5101c006836278009301272c..."} 
[2026-11-04 17:34:11] local.INFO: Processing buffer {"connection_id":232717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a66f85a8012d5101c006836278009301272c..."} 
[2026-11-04 17:34:11] local.INFO: Packet analysis {"connection_id":232717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:34:11] local.INFO: Extracted packet for processing {"connection_id":232717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a66f"} 
[2026-11-04 17:34:11] local.INFO: GPS Element Parsed {"raw_longitude":760283584,"raw_latitude":109273720,"longitude_deg":76.0283584,"latitude_deg":10.927372,"altitude":147,"angle":295,"satellites":44,"speed":13,"hex_longitude":"2d5101c0","hex_latitude":"06836278","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211180544001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39110229895413760,"note":"Value kept but may cause issues"} 
[2026-11-04 17:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5846164925509201920,"note":"Value kept but may cause issues"} 
[2026-11-04 17:34: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-11-04 17:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793793689000,"timestamp_ms":1793793689000,"timestamp_seconds":1793793689,"priority":1,"record_length":96,"hex_timestamp":"000001a1a66f85a8"} 
[2026-11-04 17:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 17:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211180544001,"66":27930,"250":206,"19":47872,"24":13,"16":39110229895413760,"45":5846164925509201920},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-11-04 17:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211180544001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:34:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-11-04 17:34:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39110229895413760,"km_value":39110229895413.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5846164925509201920,"description":"Unknown IO ID 45"} 
[2026-11-04 17:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211180544001,"power":27930,"unknown_250":206,"unknown_19":47872,"ignition":13,"odometer":null,"unknown_45":5846164925509201920}} 
[2026-11-04 17:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":232717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:34:11] local.INFO: GPS data processed {"connection_id":232717,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:34:11] local.INFO: Acknowledgment sent {"connection_id":232717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:34:44] local.INFO: TCP Data received {"connection_id":232717,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a671a4a0012d4faf400683abd00087011629..."} 
[2026-11-04 17:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a671a4a0012d4faf400683abd00087011629..."} 
[2026-11-04 17:34:44] local.INFO: Processing buffer {"connection_id":232717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a671a4a0012d4faf400683abd00087011629..."} 
[2026-11-04 17:34:44] local.INFO: Packet analysis {"connection_id":232717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a671"} 
[2026-11-04 17:34:44] local.INFO: Extracted packet for processing {"connection_id":232717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a671"} 
[2026-11-04 17:34:44] local.INFO: GPS Element Parsed {"raw_longitude":760196928,"raw_latitude":109292496,"longitude_deg":76.0196928,"latitude_deg":10.9292496,"altitude":135,"angle":278,"satellites":41,"speed":64,"hex_longitude":"2d4faf40","hex_latitude":"0683abd0","is_valid_coordinates":true} 
[2026-11-04 17:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211218432001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39114507682840576,"note":"Value kept but may cause issues"} 
[2026-11-04 17:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5752504127014180864,"note":"Value kept but may cause issues"} 
[2026-11-04 17:34:44] 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-11-04 17:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793793828000,"timestamp_ms":1793793828000,"timestamp_seconds":1793793828,"priority":1,"record_length":96,"hex_timestamp":"000001a1a671a4a0"} 
[2026-11-04 17:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-11-04 17:34:44] 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-11-04 17:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211218432001,"66":28050,"251":206,"19":47872,"24":64,"16":39114507682840576,"45":5752504127014180864},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-11-04 17:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211218432001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:34:44] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-11-04 17:34:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39114507682840576,"km_value":39114507682840.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5752504127014180864,"description":"Unknown IO ID 45"} 
[2026-11-04 17:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211218432001,"power":28050,"unknown_251":206,"unknown_19":47872,"ignition":64,"odometer":null,"unknown_45":5752504127014180864}} 
[2026-11-04 17:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":232717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:34:44] local.INFO: GPS data processed {"connection_id":232717,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:34:44] local.INFO: Acknowledgment sent {"connection_id":232717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:35:11] local.INFO: TCP Data received {"connection_id":229078,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:11] local.INFO: Processing buffer {"connection_id":229078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:11] local.INFO: IMEI packet received {"connection_id":229078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":229078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:35:12] local.INFO: TCP Data received {"connection_id":229078,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:12] local.INFO: Processing buffer {"connection_id":229078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:12] local.INFO: IMEI packet received {"connection_id":229078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":229078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:35:13] local.INFO: TCP Data received {"connection_id":229078,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:13] local.INFO: Processing buffer {"connection_id":229078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:35:13] local.INFO: IMEI packet received {"connection_id":229078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":229078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:35:20] local.INFO: TCP Data received {"connection_id":229078,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a671bc10012d4f88c00683b1a8008401172c..."} 
[2026-11-04 17:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a671bc10012d4f88c00683b1a8008401172c..."} 
[2026-11-04 17:35:20] local.INFO: Processing buffer {"connection_id":229078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a671bc10012d4f88c00683b1a8008401172c..."} 
[2026-11-04 17:35:20] local.INFO: Packet analysis {"connection_id":229078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a671"} 
[2026-11-04 17:35:20] local.INFO: Extracted packet for processing {"connection_id":229078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a671"} 
[2026-11-04 17:35:20] local.INFO: GPS Element Parsed {"raw_longitude":760187072,"raw_latitude":109293992,"longitude_deg":76.0187072,"latitude_deg":10.9293992,"altitude":132,"angle":279,"satellites":44,"speed":66,"hex_longitude":"2d4f88c0","hex_latitude":"0683b1a8","is_valid_coordinates":true} 
[2026-11-04 17:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211219968001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39114984424210432,"note":"Value kept but may cause issues"} 
[2026-11-04 17:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5741878446643728384,"note":"Value kept but may cause issues"} 
[2026-11-04 17:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793793834000,"timestamp_ms":1793793834000,"timestamp_seconds":1793793834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a671bc10"} 
[2026-11-04 17:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 17:35: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-11-04 17:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211219968001,"66":27995,"183":206,"19":47872,"24":66,"16":39114984424210432,"45":5741878446643728384},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,19,24,16,45]} 
[2026-11-04 17:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211219968001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:35:20] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-11-04 17:35:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39114984424210432,"km_value":39114984424210.43,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5741878446643728384,"description":"Unknown IO ID 45"} 
[2026-11-04 17:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211219968001,"power":27995,"unknown_183":206,"unknown_19":47872,"ignition":66,"odometer":null,"unknown_45":5741878446643728384}} 
[2026-11-04 17:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":229078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:35:20] local.INFO: GPS data processed {"connection_id":229078,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:35:20] local.INFO: Acknowledgment sent {"connection_id":229078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:35:24] local.INFO: TCP Data received {"connection_id":229078,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a671d380012d4f61800683b770008101172b..."} 
[2026-11-04 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a671d380012d4f61800683b770008101172b..."} 
[2026-11-04 17:35:24] local.INFO: Processing buffer {"connection_id":229078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a671d380012d4f61800683b770008101172b..."} 
[2026-11-04 17:35:24] local.INFO: Packet analysis {"connection_id":229078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a671"} 
[2026-11-04 17:35:24] local.INFO: Extracted packet for processing {"connection_id":229078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a671"} 
[2026-11-04 17:35:24] local.INFO: GPS Element Parsed {"raw_longitude":760177024,"raw_latitude":109295472,"longitude_deg":76.0177024,"latitude_deg":10.9295472,"altitude":129,"angle":279,"satellites":43,"speed":67,"hex_longitude":"2d4f6180","hex_latitude":"0683b770","is_valid_coordinates":true} 
[2026-11-04 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211221504001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39115465460547584,"note":"Value kept but may cause issues"} 
[2026-11-04 17:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5731041660040751104,"note":"Value kept but may cause issues"} 
[2026-11-04 17:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793793840000,"timestamp_ms":1793793840000,"timestamp_seconds":1793793840,"priority":1,"record_length":96,"hex_timestamp":"000001a1a671d380"} 
[2026-11-04 17:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 17:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211221504001,"66":28093,"183":206,"19":47872,"24":67,"16":39115465460547584,"45":5731041660040751104},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,19,24,16,45]} 
[2026-11-04 17:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211221504001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:35:24] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-11-04 17:35:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39115465460547584,"km_value":39115465460547.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5731041660040751104,"description":"Unknown IO ID 45"} 
[2026-11-04 17:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211221504001,"power":28093,"unknown_183":206,"unknown_19":47872,"ignition":67,"odometer":null,"unknown_45":5731041660040751104}} 
[2026-11-04 17:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":229078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:35:24] local.INFO: GPS data processed {"connection_id":229078,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:35:24] local.INFO: Acknowledgment sent {"connection_id":229078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:36:05] local.INFO: TCP Data received {"connection_id":230863,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:05] local.INFO: Processing buffer {"connection_id":230863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:05] local.INFO: IMEI packet received {"connection_id":230863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":230863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:36:07] local.INFO: TCP Data received {"connection_id":230863,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:07] local.INFO: Processing buffer {"connection_id":230863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:07] local.INFO: IMEI packet received {"connection_id":230863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":230863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:36:10] local.INFO: TCP Data received {"connection_id":230863,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:10] local.INFO: Processing buffer {"connection_id":230863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:36:10] local.INFO: IMEI packet received {"connection_id":230863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":230863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:36:11] local.INFO: TCP Data received {"connection_id":230863,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a672aa58012d4e33c006844550007901382c..."} 
[2026-11-04 17:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a672aa58012d4e33c006844550007901382c..."} 
[2026-11-04 17:36:11] local.INFO: Processing buffer {"connection_id":230863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a672aa58012d4e33c006844550007901382c..."} 
[2026-11-04 17:36:11] local.INFO: Packet analysis {"connection_id":230863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a672"} 
[2026-11-04 17:36:11] local.INFO: Extracted packet for processing {"connection_id":230863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a672"} 
[2026-11-04 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":760099776,"raw_latitude":109331792,"longitude_deg":76.0099776,"latitude_deg":10.9331792,"altitude":121,"angle":312,"satellites":44,"speed":56,"hex_longitude":"2d4e33c0","hex_latitude":"06844550","is_valid_coordinates":true} 
[2026-11-04 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211235328001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39119799082549248,"note":"Value kept but may cause issues"} 
[2026-11-04 17:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5642025198663792640,"note":"Value kept but may cause issues"} 
[2026-11-04 17:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793793895000,"timestamp_ms":1793793895000,"timestamp_seconds":1793793895,"priority":1,"record_length":96,"hex_timestamp":"000001a1a672aa58"} 
[2026-11-04 17:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211235328001,"66":27919,"183":206,"19":47872,"24":56,"16":39119799082549248,"45":5642025198663792640},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,19,24,16,45]} 
[2026-11-04 17:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211235328001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:36:11] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-11-04 17:36:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39119799082549248,"km_value":39119799082549.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5642025198663792640,"description":"Unknown IO ID 45"} 
[2026-11-04 17:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211235328001,"power":27919,"unknown_183":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":5642025198663792640}} 
[2026-11-04 17:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":230863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:36:11] local.INFO: GPS data processed {"connection_id":230863,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:36:11] local.INFO: Acknowledgment sent {"connection_id":230863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:36:43] local.INFO: TCP Data received {"connection_id":230863,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a672c5b0012d4e148006845cf8007b012e2c..."} 
[2026-11-04 17:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a672c5b0012d4e148006845cf8007b012e2c..."} 
[2026-11-04 17:36:43] local.INFO: Processing buffer {"connection_id":230863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a672c5b0012d4e148006845cf8007b012e2c..."} 
[2026-11-04 17:36:43] local.INFO: Packet analysis {"connection_id":230863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a672"} 
[2026-11-04 17:36:43] local.INFO: Extracted packet for processing {"connection_id":230863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a672"} 
[2026-11-04 17:36:43] local.INFO: GPS Element Parsed {"raw_longitude":760091776,"raw_latitude":109337848,"longitude_deg":76.0091776,"latitude_deg":10.9337848,"altitude":123,"angle":302,"satellites":44,"speed":57,"hex_longitude":"2d4e1480","hex_latitude":"06845cf8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211237120001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39120280118886400,"note":"Value kept but may cause issues"} 
[2026-11-04 17:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5635058692992094208,"note":"Value kept but may cause issues"} 
[2026-11-04 17:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793793902000,"timestamp_ms":1793793902000,"timestamp_seconds":1793793902,"priority":1,"record_length":96,"hex_timestamp":"000001a1a672c5b0"} 
[2026-11-04 17:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 17:36:43] 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-11-04 17: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-11-04 17:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211237120001,"66":27865,"228":206,"19":47872,"24":57,"16":39120280118886400,"45":5635058692992094208},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,19,24,16,45]} 
[2026-11-04 17:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211237120001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:36:43] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-11-04 17:36:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39120280118886400,"km_value":39120280118886.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5635058692992094208,"description":"Unknown IO ID 45"} 
[2026-11-04 17:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211237120001,"power":27865,"unknown_228":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":5635058692992094208}} 
[2026-11-04 17:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":230863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:36:43] local.INFO: GPS data processed {"connection_id":230863,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:36:43] local.INFO: Acknowledgment sent {"connection_id":230863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:37:06] local.INFO: TCP Data received {"connection_id":229554,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:06] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:06] local.INFO: IMEI packet received {"connection_id":229554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":229554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:37:07] local.INFO: TCP Data received {"connection_id":229554,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:07] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:07] local.INFO: IMEI packet received {"connection_id":229554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":229554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:37:11] local.INFO: TCP Data received {"connection_id":229554,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:11] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:11] local.INFO: IMEI packet received {"connection_id":229554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":229554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:37:13] local.INFO: TCP Data received {"connection_id":229554,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:13] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:37:13] local.INFO: IMEI packet received {"connection_id":229554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":229554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:37:17] local.INFO: TCP Data received {"connection_id":229554,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a673bfb0012d4ce600068515380070014d2d..."} 
[2026-11-04 17:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a673bfb0012d4ce600068515380070014d2d..."} 
[2026-11-04 17:37:17] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a673bfb0012d4ce600068515380070014d2d..."} 
[2026-11-04 17:37:17] local.INFO: Packet analysis {"connection_id":229554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a673"} 
[2026-11-04 17:37:17] local.INFO: Extracted packet for processing {"connection_id":229554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a673"} 
[2026-11-04 17:37:17] local.INFO: GPS Element Parsed {"raw_longitude":760014336,"raw_latitude":109385016,"longitude_deg":76.0014336,"latitude_deg":10.9385016,"altitude":112,"angle":333,"satellites":45,"speed":59,"hex_longitude":"2d4ce600","hex_latitude":"06851538","is_valid_coordinates":true} 
[2026-11-04 17:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211253760001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39124880028860416,"note":"Value kept but may cause issues"} 
[2026-11-04 17:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545408912921309184,"note":"Value kept but may cause issues"} 
[2026-11-04 17:37:17] 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-11-04 17:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793793966000,"timestamp_ms":1793793966000,"timestamp_seconds":1793793966,"priority":1,"record_length":96,"hex_timestamp":"000001a1a673bfb0"} 
[2026-11-04 17:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 17:37: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-11-04 17:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211253760001,"66":27919,"229":206,"19":47872,"24":59,"16":39124880028860416,"45":5545408912921309184},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-11-04 17:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211253760001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:37:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-04 17:37:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39124880028860416,"km_value":39124880028860.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545408912921309184,"description":"Unknown IO ID 45"} 
[2026-11-04 17:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211253760001,"power":27919,"unknown_229":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5545408912921309184}} 
[2026-11-04 17:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":229554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:37:17] local.INFO: GPS data processed {"connection_id":229554,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:37:17] local.INFO: Acknowledgment sent {"connection_id":229554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:37:18] local.INFO: TCP Data received {"connection_id":229554,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a673db08012d4cd48006853998006f014e2d..."} 
[2026-11-04 17:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a673db08012d4cd48006853998006f014e2d..."} 
[2026-11-04 17:37:18] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a673db08012d4cd48006853998006f014e2d..."} 
[2026-11-04 17:37:18] local.INFO: Packet analysis {"connection_id":229554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a673"} 
[2026-11-04 17:37:18] local.INFO: Extracted packet for processing {"connection_id":229554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a673"} 
[2026-11-04 17:37:18] local.INFO: GPS Element Parsed {"raw_longitude":760009856,"raw_latitude":109394328,"longitude_deg":76.0009856,"latitude_deg":10.9394328,"altitude":111,"angle":334,"satellites":45,"speed":58,"hex_longitude":"2d4cd480","hex_latitude":"06853998","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211255296001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39125382540034048,"note":"Value kept but may cause issues"} 
[2026-11-04 17:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5541116419528538112,"note":"Value kept but may cause issues"} 
[2026-11-04 17:37:18] 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-11-04 17:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793793973000,"timestamp_ms":1793793973000,"timestamp_seconds":1793793973,"priority":1,"record_length":96,"hex_timestamp":"000001a1a673db08"} 
[2026-11-04 17:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 17:37:18] 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-11-04 17:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211255296001,"66":27865,"229":206,"19":47872,"24":58,"16":39125382540034048,"45":5541116419528538112},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-11-04 17:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211255296001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:37:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-04 17:37:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39125382540034048,"km_value":39125382540034.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5541116419528538112,"description":"Unknown IO ID 45"} 
[2026-11-04 17:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211255296001,"power":27865,"unknown_229":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5541116419528538112}} 
[2026-11-04 17:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":229554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:37:19] local.INFO: GPS data processed {"connection_id":229554,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:37:19] local.INFO: Acknowledgment sent {"connection_id":229554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:38:05] local.INFO: TCP Data received {"connection_id":229554,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a673f660012d4cc2c006855df8006f014f2d..."} 
[2026-11-04 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a673f660012d4cc2c006855df8006f014f2d..."} 
[2026-11-04 17:38:05] local.INFO: Processing buffer {"connection_id":229554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a673f660012d4cc2c006855df8006f014f2d..."} 
[2026-11-04 17:38:05] local.INFO: Packet analysis {"connection_id":229554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a673"} 
[2026-11-04 17:38:05] local.INFO: Extracted packet for processing {"connection_id":229554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a673"} 
[2026-11-04 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":760005312,"raw_latitude":109403640,"longitude_deg":76.0005312,"latitude_deg":10.940364,"altitude":111,"angle":335,"satellites":45,"speed":58,"hex_longitude":"2d4cc2c0","hex_latitude":"06855df8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211257088001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39125880756240384,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5536190607438485504,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:05] 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-11-04 17:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1793793980000,"timestamp_ms":1793793980000,"timestamp_seconds":1793793980,"priority":1,"record_length":96,"hex_timestamp":"000001a1a673f660"} 
[2026-11-04 17:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":229554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":229554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211257088001,"66":27876,"229":206,"19":47872,"24":58,"16":39125880756240384,"45":5536190607438485504},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-11-04 17:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211257088001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39125880756240384,"km_value":39125880756240.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5536190607438485504,"description":"Unknown IO ID 45"} 
[2026-11-04 17:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211257088001,"power":27876,"unknown_229":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5536190607438485504}} 
[2026-11-04 17:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":229554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:38:05] local.INFO: GPS data processed {"connection_id":229554,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:38:05] local.INFO: Acknowledgment sent {"connection_id":229554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:38:13] local.INFO: TCP Data received {"connection_id":229555,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:38:13] local.INFO: Processing buffer {"connection_id":229555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:38:13] local.INFO: IMEI packet received {"connection_id":229555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":229555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:38:14] local.INFO: TCP Data received {"connection_id":229556,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:14] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:14] local.INFO: IMEI packet received {"connection_id":229556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":229556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:38:17] local.INFO: TCP Data received {"connection_id":229556,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:17] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:17] local.INFO: IMEI packet received {"connection_id":229556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":229556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:38:17] local.INFO: TCP Data received {"connection_id":229555,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:38:17] local.INFO: Processing buffer {"connection_id":229555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:38:17] local.INFO: IMEI packet received {"connection_id":229555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":229555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:38:18] local.INFO: TCP Data received {"connection_id":229555,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6749a70012cbcb7c007728a80001000082f..."} 
[2026-11-04 17:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6749a70012cbcb7c007728a80001000082f..."} 
[2026-11-04 17:38:18] local.INFO: Processing buffer {"connection_id":229555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6749a70012cbcb7c007728a80001000082f..."} 
[2026-11-04 17:38:18] local.INFO: Packet analysis {"connection_id":229555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:18] local.INFO: Extracted packet for processing {"connection_id":229555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:18] local.INFO: GPS Element Parsed {"raw_longitude":750565312,"raw_latitude":124947072,"longitude_deg":75.0565312,"latitude_deg":12.4947072,"altitude":16,"angle":8,"satellites":47,"speed":50,"hex_longitude":"2cbcb7c0","hex_latitude":"07728a80","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211267840001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20786486366437376,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4849391604275628032,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793794022000,"timestamp_ms":1793794022000,"timestamp_seconds":1793794022,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6749a70"} 
[2026-11-04 17:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:38:18] 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-11-04 17: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-11-04 17:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211267840001,"66":28256,"105":206,"27":54016,"24":50,"16":20786486366437376,"44":-4849391604275628032},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-11-04 17:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211267840001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:38:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 17:38:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20786486366437376,"km_value":20786486366437.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4849391604275628032,"description":"Unknown IO ID 44"} 
[2026-11-04 17:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211267840001,"power":28256,"unknown_105":206,"unknown_27":54016,"ignition":50,"odometer":null,"unknown_44":-4849391604275628032}} 
[2026-11-04 17:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":229555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:38:18] local.INFO: GPS data processed {"connection_id":229555,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:38:18] local.INFO: Acknowledgment sent {"connection_id":229555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:38:28] local.INFO: TCP Data received {"connection_id":229556,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:28] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:38:28] local.INFO: IMEI packet received {"connection_id":229556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":229556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:38:34] local.INFO: TCP Data received {"connection_id":229556,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a674d8f0012d4d558006866880007700272f..."} 
[2026-11-04 17:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a674d8f0012d4d558006866880007700272f..."} 
[2026-11-04 17:38:34] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a674d8f0012d4d558006866880007700272f..."} 
[2026-11-04 17:38:34] local.INFO: Packet analysis {"connection_id":229556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:34] local.INFO: Extracted packet for processing {"connection_id":229556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:34] local.INFO: GPS Element Parsed {"raw_longitude":760042880,"raw_latitude":109471872,"longitude_deg":76.004288,"latitude_deg":10.9471872,"altitude":119,"angle":39,"satellites":47,"speed":59,"hex_longitude":"2d4d5580","hex_latitude":"06866880","is_valid_coordinates":true} 
[2026-11-04 17:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211272192001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39129879370792960,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566097323732088832,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:34] 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-11-04 17:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1793794038000,"timestamp_ms":1793794038000,"timestamp_seconds":1793794038,"priority":1,"record_length":96,"hex_timestamp":"000001a1a674d8f0"} 
[2026-11-04 17:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 17:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":229556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":229556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":229556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211272192001,"66":27974,"229":206,"19":47872,"24":59,"16":39129879370792960,"45":5566097323732088832},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-11-04 17:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211272192001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:38:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-11-04 17:38:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-11-04 17:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39129879370792960,"km_value":39129879370792.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566097323732088832,"description":"Unknown IO ID 45"} 
[2026-11-04 17:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211272192001,"power":27974,"unknown_229":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5566097323732088832}} 
[2026-11-04 17:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":229556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:38:34] local.INFO: GPS data processed {"connection_id":229556,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:38:34] local.INFO: Acknowledgment sent {"connection_id":229556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:38:36] local.INFO: TCP Data received {"connection_id":229556,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a674f060012d4d6b00068684b8007400202f..."} 
[2026-11-04 17:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a674f060012d4d6b00068684b8007400202f..."} 
[2026-11-04 17:38:36] local.INFO: Processing buffer {"connection_id":229556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a674f060012d4d6b00068684b8007400202f..."} 
[2026-11-04 17:38:36] local.INFO: Packet analysis {"connection_id":229556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:36] local.INFO: Extracted packet for processing {"connection_id":229556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":760048384,"raw_latitude":109479096,"longitude_deg":76.0048384,"latitude_deg":10.9479096,"altitude":116,"angle":32,"satellites":47,"speed":59,"hex_longitude":"2d4d6b00","hex_latitude":"068684b8","is_valid_coordinates":true} 
[2026-11-04 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211273728001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39130317457457152,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5572500879454011392,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:36] 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-11-04 17:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793794044000,"timestamp_ms":1793794044000,"timestamp_seconds":1793794044,"priority":1,"record_length":96,"hex_timestamp":"000001a1a674f060"} 
[2026-11-04 17:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 17:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211273728001,"66":27974,"67":206,"19":48128,"24":59,"16":39130317457457152,"45":5572500879454011392},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-11-04 17:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211273728001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39130317457457152,"km_value":39130317457457.15,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5572500879454011392,"description":"Unknown IO ID 45"} 
[2026-11-04 17:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211273728001,"power":27974,"unknown_67":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":5572500879454011392}} 
[2026-11-04 17:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":229556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:38:36] local.INFO: GPS data processed {"connection_id":229556,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:38:36] local.INFO: Acknowledgment sent {"connection_id":229556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:38:49] local.INFO: TCP Data received {"connection_id":229555,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a674adf8012cbcba800772a3680010016530..."} 
[2026-11-04 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a674adf8012cbcba800772a3680010016530..."} 
[2026-11-04 17:38:49] local.INFO: Processing buffer {"connection_id":229555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a674adf8012cbcba800772a3680010016530..."} 
[2026-11-04 17:38:49] local.INFO: Packet analysis {"connection_id":229555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:49] local.INFO: Extracted packet for processing {"connection_id":229555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a674"} 
[2026-11-04 17:38:49] local.INFO: GPS Element Parsed {"raw_longitude":750566016,"raw_latitude":124953448,"longitude_deg":75.0566016,"latitude_deg":12.4953448,"altitude":16,"angle":357,"satellites":48,"speed":53,"hex_longitude":"2cbcba80","hex_latitude":"0772a368","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211269632001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20786799899049984,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4848195335622066176,"note":"Value kept but may cause issues"} 
[2026-11-04 17:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793794027000,"timestamp_ms":1793794027000,"timestamp_seconds":1793794027,"priority":1,"record_length":96,"hex_timestamp":"000001a1a674adf8"} 
[2026-11-04 17:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 17:38: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-11-04 17: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-11-04 17:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211269632001,"66":28300,"105":206,"27":54016,"24":53,"16":20786799899049984,"44":-4848195335622066176},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-11-04 17:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211269632001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:38:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 17:38:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20786799899049984,"km_value":20786799899049.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4848195335622066176,"description":"Unknown IO ID 44"} 
[2026-11-04 17:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211269632001,"power":28300,"unknown_105":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4848195335622066176}} 
[2026-11-04 17:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":229555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:38:49] local.INFO: GPS data processed {"connection_id":229555,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:38:49] local.INFO: Acknowledgment sent {"connection_id":229555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:39:06] local.INFO: TCP Data received {"connection_id":229557,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:39:06] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:39:06] local.INFO: IMEI packet received {"connection_id":229557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":229557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:39:08] local.INFO: TCP Data received {"connection_id":232718,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:08] local.INFO: Processing buffer {"connection_id":232718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:08] local.INFO: IMEI packet received {"connection_id":232718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":232718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:39:08] local.INFO: TCP Data received {"connection_id":229557,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:39:08] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:39:08] local.INFO: IMEI packet received {"connection_id":229557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":229557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:39:09] local.INFO: TCP Data received {"connection_id":232718,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:09] local.INFO: Processing buffer {"connection_id":232718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:09] local.INFO: IMEI packet received {"connection_id":232718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":232718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:39:10] local.INFO: TCP Data received {"connection_id":229557,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67507d0012d4d7b400686a488007000162e..."} 
[2026-11-04 17:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67507d0012d4d7b400686a488007000162e..."} 
[2026-11-04 17:39:10] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67507d0012d4d7b400686a488007000162e..."} 
[2026-11-04 17:39:10] local.INFO: Packet analysis {"connection_id":229557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:39:10] local.INFO: Extracted packet for processing {"connection_id":229557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:39:10] local.INFO: GPS Element Parsed {"raw_longitude":760052544,"raw_latitude":109487240,"longitude_deg":76.0052544,"latitude_deg":10.948724,"altitude":112,"angle":22,"satellites":46,"speed":61,"hex_longitude":"2d4d7b40","hex_latitude":"0686a488","is_valid_coordinates":true} 
[2026-11-04 17:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211275264001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39130759839088640,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5578552591455139840,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39: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-11-04 17:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1793794050000,"timestamp_ms":1793794050000,"timestamp_seconds":1793794050,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67507d0"} 
[2026-11-04 17:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 17:39:10] 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-11-04 17:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":229557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211275264001,"66":27919,"67":206,"19":48128,"24":61,"16":39130759839088640,"45":5578552591455139840},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-11-04 17:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211275264001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:39:10] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-11-04 17:39:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39130759839088640,"km_value":39130759839088.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5578552591455139840,"description":"Unknown IO ID 45"} 
[2026-11-04 17:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211275264001,"power":27919,"unknown_67":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":5578552591455139840}} 
[2026-11-04 17:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":229557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:39:10] local.INFO: GPS data processed {"connection_id":229557,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:39:10] local.INFO: Acknowledgment sent {"connection_id":229557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:39:13] local.INFO: TCP Data received {"connection_id":232718,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:13] local.INFO: Processing buffer {"connection_id":232718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:39:13] local.INFO: IMEI packet received {"connection_id":232718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":232718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:39:15] local.INFO: TCP Data received {"connection_id":232718,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a675b3b0012cbbddc0077332780022000530..."} 
[2026-11-04 17:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a675b3b0012cbbddc0077332780022000530..."} 
[2026-11-04 17:39:15] local.INFO: Processing buffer {"connection_id":232718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a675b3b0012cbbddc0077332780022000530..."} 
[2026-11-04 17:39:15] local.INFO: Packet analysis {"connection_id":232718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:39:15] local.INFO: Extracted packet for processing {"connection_id":232718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":750509504,"raw_latitude":124990072,"longitude_deg":75.0509504,"latitude_deg":12.4990072,"altitude":34,"angle":5,"satellites":48,"speed":25,"hex_longitude":"2cbbddc0","hex_latitude":"07733278","is_valid_coordinates":true} 
[2026-11-04 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211285760001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20789802081189888,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4911738311604946944,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793794094000,"timestamp_ms":1793794094000,"timestamp_seconds":1793794094,"priority":1,"record_length":96,"hex_timestamp":"000001a1a675b3b0"} 
[2026-11-04 17:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 17:39:15] 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-11-04 17:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211285760001,"66":28234,"104":206,"27":54016,"24":25,"16":20789802081189888,"44":-4911738311604946944},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-11-04 17:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211285760001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:39:15] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 17:39:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20789802081189888,"km_value":20789802081189.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:39:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4911738311604946944,"description":"Unknown IO ID 44"} 
[2026-11-04 17:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211285760001,"power":28234,"unknown_104":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-4911738311604946944}} 
[2026-11-04 17:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":232718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:39:15] local.INFO: GPS data processed {"connection_id":232718,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:39:15] local.INFO: Acknowledgment sent {"connection_id":232718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:39:44] local.INFO: TCP Data received {"connection_id":229557,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6763880012d4df200068892e0005401642e..."} 
[2026-11-04 17:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6763880012d4df200068892e0005401642e..."} 
[2026-11-04 17:39:44] local.INFO: Processing buffer {"connection_id":229557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6763880012d4df200068892e0005401642e..."} 
[2026-11-04 17:39:44] local.INFO: Packet analysis {"connection_id":229557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:39:44] local.INFO: Extracted packet for processing {"connection_id":229557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:39:44] local.INFO: GPS Element Parsed {"raw_longitude":760082944,"raw_latitude":109613792,"longitude_deg":76.0082944,"latitude_deg":10.9613792,"altitude":84,"angle":356,"satellites":46,"speed":61,"hex_longitude":"2d4df200","hex_latitude":"068892e0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211295232001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39137082030948352,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616481344598915072,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:44] 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-11-04 17:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793794128000,"timestamp_ms":1793794128000,"timestamp_seconds":1793794128,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6763880"} 
[2026-11-04 17:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:39: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-11-04 17: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-11-04 17:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211295232001,"66":206,"19":48128,"24":61,"16":39137082030948352,"45":5616481344598915072},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 17:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211295232001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:39:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39137082030948352,"km_value":39137082030948.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616481344598915072,"description":"Unknown IO ID 45"} 
[2026-11-04 17:39:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211295232001,"power":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":5616481344598915072}} 
[2026-11-04 17:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":229557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:39:44] local.INFO: GPS data processed {"connection_id":229557,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:39:44] local.INFO: Acknowledgment sent {"connection_id":229557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:39:48] local.INFO: TCP Data received {"connection_id":232718,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a675c350012cbbdf4007733c78002300112e..."} 
[2026-11-04 17:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a675c350012cbbdf4007733c78002300112e..."} 
[2026-11-04 17:39:48] local.INFO: Processing buffer {"connection_id":232718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a675c350012cbbdf4007733c78002300112e..."} 
[2026-11-04 17:39:48] local.INFO: Packet analysis {"connection_id":232718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:39:48] local.INFO: Extracted packet for processing {"connection_id":232718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:39:48] local.INFO: GPS Element Parsed {"raw_longitude":750509888,"raw_latitude":124992632,"longitude_deg":75.0509888,"latitude_deg":12.4992632,"altitude":35,"angle":17,"satellites":46,"speed":25,"hex_longitude":"2cbbdf40","hex_latitude":"07733c78","is_valid_coordinates":true} 
[2026-11-04 17:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211288064001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20789926635241472,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4909556880533981184,"note":"Value kept but may cause issues"} 
[2026-11-04 17:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793794098000,"timestamp_ms":1793794098000,"timestamp_seconds":1793794098,"priority":1,"record_length":96,"hex_timestamp":"000001a1a675c350"} 
[2026-11-04 17:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 17:39:48] 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-11-04 17:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211288064001,"66":28300,"104":206,"27":54016,"24":25,"16":20789926635241472,"44":-4909556880533981184},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-11-04 17:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211288064001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:39:48] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 17:39:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20789926635241472,"km_value":20789926635241.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:39:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4909556880533981184,"description":"Unknown IO ID 44"} 
[2026-11-04 17:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211288064001,"power":28300,"unknown_104":206,"unknown_27":54016,"ignition":25,"odometer":null,"unknown_44":-4909556880533981184}} 
[2026-11-04 17:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":232718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:39:48] local.INFO: GPS data processed {"connection_id":232718,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:39:48] local.INFO: Acknowledgment sent {"connection_id":232718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:40:06] local.INFO: TCP Data received {"connection_id":230864,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:06] local.INFO: Processing buffer {"connection_id":230864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:06] local.INFO: IMEI packet received {"connection_id":230864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":230864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:40:08] local.INFO: TCP Data received {"connection_id":230864,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:08] local.INFO: Processing buffer {"connection_id":230864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:08] local.INFO: IMEI packet received {"connection_id":230864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":230864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:40:11] local.INFO: TCP Data received {"connection_id":230864,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:11] local.INFO: Processing buffer {"connection_id":230864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:40:11] local.INFO: IMEI packet received {"connection_id":230864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":230864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:40:12] local.INFO: TCP Data received {"connection_id":230864,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67653d8012d4dedc00688b980005701602f..."} 
[2026-11-04 17:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67653d8012d4dedc00688b980005701602f..."} 
[2026-11-04 17:40:12] local.INFO: Processing buffer {"connection_id":230864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67653d8012d4dedc00688b980005701602f..."} 
[2026-11-04 17:40:12] local.INFO: Packet analysis {"connection_id":230864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:40:12] local.INFO: Extracted packet for processing {"connection_id":230864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:40:12] local.INFO: GPS Element Parsed {"raw_longitude":760081856,"raw_latitude":109623680,"longitude_deg":76.0081856,"latitude_deg":10.962368,"altitude":87,"angle":352,"satellites":47,"speed":53,"hex_longitude":"2d4dedc0","hex_latitude":"0688b980","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211296768001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39137563067285504,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5616551713345560576,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:12] 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-11-04 17:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793794135000,"timestamp_ms":1793794135000,"timestamp_seconds":1793794135,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67653d8"} 
[2026-11-04 17:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 17:40: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-11-04 17: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-11-04 17:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211296768001,"66":206,"19":48128,"24":53,"16":39137563067285504,"45":5616551713345560576},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 17:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211296768001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:40:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39137563067285504,"km_value":39137563067285.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5616551713345560576,"description":"Unknown IO ID 45"} 
[2026-11-04 17:40:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211296768001,"power":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":5616551713345560576}} 
[2026-11-04 17:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":230864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:40:12] local.INFO: GPS data processed {"connection_id":230864,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:40:12] local.INFO: Acknowledgment sent {"connection_id":230864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:40:13] local.INFO: TCP Data received {"connection_id":230865,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:40:13] local.INFO: Processing buffer {"connection_id":230865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:40:13] local.INFO: IMEI packet received {"connection_id":230865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":230865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:40:19] local.INFO: TCP Data received {"connection_id":230865,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:40:19] local.INFO: Processing buffer {"connection_id":230865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:40:19] local.INFO: IMEI packet received {"connection_id":230865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":230865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:40:19] local.INFO: TCP Data received {"connection_id":230864,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6766f30012d4de9400688dd50005a016030..."} 
[2026-11-04 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6766f30012d4de9400688dd50005a016030..."} 
[2026-11-04 17:40:19] local.INFO: Processing buffer {"connection_id":230864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6766f30012d4de9400688dd50005a016030..."} 
[2026-11-04 17:40:19] local.INFO: Packet analysis {"connection_id":230864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:40:19] local.INFO: Extracted packet for processing {"connection_id":230864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":760080704,"raw_latitude":109632848,"longitude_deg":76.0080704,"latitude_deg":10.9632848,"altitude":90,"angle":352,"satellites":48,"speed":52,"hex_longitude":"2d4de940","hex_latitude":"0688dd50","is_valid_coordinates":true} 
[2026-11-04 17:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211298560001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39138014038851584,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615355444697071616,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793794142000,"timestamp_ms":1793794142000,"timestamp_seconds":1793794142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6766f30"} 
[2026-11-04 17:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:40: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-11-04 17:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211298560001,"66":206,"19":48128,"24":52,"16":39138014038851584,"45":5615355444697071616},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 17:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211298560001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:40:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39138014038851584,"km_value":39138014038851.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5615355444697071616,"description":"Unknown IO ID 45"} 
[2026-11-04 17:40:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211298560001,"power":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5615355444697071616}} 
[2026-11-04 17:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":230864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:40:19] local.INFO: GPS data processed {"connection_id":230864,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:40:19] local.INFO: Acknowledgment sent {"connection_id":230864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:40:21] local.INFO: TCP Data received {"connection_id":230865,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a675cf08012cbbe240077343280025001c2f..."} 
[2026-11-04 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a675cf08012cbbe240077343280025001c2f..."} 
[2026-11-04 17:40:21] local.INFO: Processing buffer {"connection_id":230865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a675cf08012cbbe240077343280025001c2f..."} 
[2026-11-04 17:40:21] local.INFO: Packet analysis {"connection_id":230865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:40:21] local.INFO: Extracted packet for processing {"connection_id":230865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":750510656,"raw_latitude":124994344,"longitude_deg":75.0510656,"latitude_deg":12.4994344,"altitude":37,"angle":28,"satellites":47,"speed":24,"hex_longitude":"2cbbe240","hex_latitude":"07734328","is_valid_coordinates":true} 
[2026-11-04 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211289088001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20790016829554688,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4909134668068259840,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793794101000,"timestamp_ms":1793794101000,"timestamp_seconds":1793794101,"priority":1,"record_length":96,"hex_timestamp":"000001a1a675cf08"} 
[2026-11-04 17:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:40:21] 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-11-04 17:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211289088001,"66":27713,"104":206,"27":54016,"24":24,"16":20790016829554688,"44":-4909134668068259840},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-11-04 17:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211289088001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:40:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 17:40:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20790016829554688,"km_value":20790016829554.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4909134668068259840,"description":"Unknown IO ID 44"} 
[2026-11-04 17:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211289088001,"power":27713,"unknown_104":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-4909134668068259840}} 
[2026-11-04 17:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":230865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:40:21] local.INFO: GPS data processed {"connection_id":230865,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:40:21] local.INFO: Acknowledgment sent {"connection_id":230865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:40:22] local.INFO: TCP Data received {"connection_id":230865,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a675dac0012cbbe640077349280026002730..."} 
[2026-11-04 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a675dac0012cbbe640077349280026002730..."} 
[2026-11-04 17:40:22] local.INFO: Processing buffer {"connection_id":230865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a675dac0012cbbe640077349280026002730..."} 
[2026-11-04 17:40:22] local.INFO: Packet analysis {"connection_id":230865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:40:22] local.INFO: Extracted packet for processing {"connection_id":230865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a675"} 
[2026-11-04 17:40:22] local.INFO: GPS Element Parsed {"raw_longitude":750511680,"raw_latitude":124995880,"longitude_deg":75.051168,"latitude_deg":12.499588,"altitude":38,"angle":39,"satellites":48,"speed":24,"hex_longitude":"2cbbe640","hex_latitude":"07734928","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211289856001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20790107023867904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4908290243137689600,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793794104000,"timestamp_ms":1793794104000,"timestamp_seconds":1793794104,"priority":1,"record_length":96,"hex_timestamp":"000001a1a675dac0"} 
[2026-11-04 17:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 17:40:22] 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-11-04 17: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-11-04 17:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211289856001,"66":28234,"104":206,"27":54016,"24":24,"16":20790107023867904,"44":-4908290243137689600},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-11-04 17:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211289856001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:40:22] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 17:40:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20790107023867904,"km_value":20790107023867.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4908290243137689600,"description":"Unknown IO ID 44"} 
[2026-11-04 17:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211289856001,"power":28234,"unknown_104":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-4908290243137689600}} 
[2026-11-04 17:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":230865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:40:22] local.INFO: GPS data processed {"connection_id":230865,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:40:22] local.INFO: Acknowledgment sent {"connection_id":230865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:40:50] local.INFO: TCP Data received {"connection_id":230864,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6768a88012d4de4c0068900a8005c01612d..."} 
[2026-11-04 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6768a88012d4de4c0068900a8005c01612d..."} 
[2026-11-04 17:40:50] local.INFO: Processing buffer {"connection_id":230864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6768a88012d4de4c0068900a8005c01612d..."} 
[2026-11-04 17:40:50] local.INFO: Packet analysis {"connection_id":230864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:40:50] local.INFO: Extracted packet for processing {"connection_id":230864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":760079552,"raw_latitude":109641896,"longitude_deg":76.0079552,"latitude_deg":10.9641896,"altitude":92,"angle":353,"satellites":45,"speed":51,"hex_longitude":"2d4de4c0","hex_latitude":"068900a8","is_valid_coordinates":true} 
[2026-11-04 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211300352001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39138456420483072,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614088807304220672,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793794149000,"timestamp_ms":1793794149000,"timestamp_seconds":1793794149,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6768a88"} 
[2026-11-04 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:40: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-11-04 17:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211300352001,"66":206,"19":48128,"24":51,"16":39138456420483072,"45":5614088807304220672},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211300352001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:40:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39138456420483072,"km_value":39138456420483.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614088807304220672,"description":"Unknown IO ID 45"} 
[2026-11-04 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211300352001,"power":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":5614088807304220672}} 
[2026-11-04 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":230864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:40:50] local.INFO: GPS data processed {"connection_id":230864,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:40:50] local.INFO: Acknowledgment sent {"connection_id":230864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:40:54] local.INFO: TCP Data received {"connection_id":230865,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6775d78012cbc44000773f148004b01282a..."} 
[2026-11-04 17:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6775d78012cbc44000773f148004b01282a..."} 
[2026-11-04 17:40:54] local.INFO: Processing buffer {"connection_id":230865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6775d78012cbc44000773f148004b01282a..."} 
[2026-11-04 17:40:54] local.INFO: Packet analysis {"connection_id":230865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a677"} 
[2026-11-04 17:40:54] local.INFO: Extracted packet for processing {"connection_id":230865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a677"} 
[2026-11-04 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":750535680,"raw_latitude":125038920,"longitude_deg":75.053568,"latitude_deg":12.503892,"altitude":75,"angle":296,"satellites":42,"speed":44,"hex_longitude":"2cbc4400","hex_latitude":"0773f148","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211313664001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20793598832279552,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4871135546201720832,"note":"Value kept but may cause issues"} 
[2026-11-04 17:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793794203000,"timestamp_ms":1793794203000,"timestamp_seconds":1793794203,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6775d78"} 
[2026-11-04 17:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 17:40:54] 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-11-04 17: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-11-04 17:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211313664001,"66":28256,"56":206,"27":54016,"24":44,"16":20793598832279552,"44":-4871135546201720832},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-11-04 17:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211313664001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:40:54] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-11-04 17:40:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20793598832279552,"km_value":20793598832279.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:40:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4871135546201720832,"description":"Unknown IO ID 44"} 
[2026-11-04 17:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211313664001,"power":28256,"unknown_56":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4871135546201720832}} 
[2026-11-04 17:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":230865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:40:54] local.INFO: GPS data processed {"connection_id":230865,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:40:54] local.INFO: Acknowledgment sent {"connection_id":230865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:41:06] local.INFO: TCP Data received {"connection_id":229559,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:06] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:06] local.INFO: IMEI packet received {"connection_id":229559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":229559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:41:07] local.INFO: TCP Data received {"connection_id":229559,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:07] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:07] local.INFO: IMEI packet received {"connection_id":229559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":229559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:41:08] local.INFO: TCP Data received {"connection_id":229558,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:08] local.INFO: Processing buffer {"connection_id":229558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:08] local.INFO: IMEI packet received {"connection_id":229558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":229558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:41:08] local.INFO: TCP Data received {"connection_id":229558,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:08] local.INFO: Processing buffer {"connection_id":229558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:08] local.INFO: IMEI packet received {"connection_id":229558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":229558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:41:11] local.INFO: TCP Data received {"connection_id":229559,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:11] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:41:11] local.INFO: IMEI packet received {"connection_id":229559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":229559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:41:13] local.INFO: TCP Data received {"connection_id":229558,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:13] local.INFO: Processing buffer {"connection_id":229558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:41:13] local.INFO: IMEI packet received {"connection_id":229558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":229558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:41:14] local.INFO: TCP Data received {"connection_id":229559,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a676a5e0012d4de1c006892358005f01662f..."} 
[2026-11-04 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a676a5e0012d4de1c006892358005f01662f..."} 
[2026-11-04 17:41:14] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a676a5e0012d4de1c006892358005f01662f..."} 
[2026-11-04 17:41:14] local.INFO: Packet analysis {"connection_id":229559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:41:14] local.INFO: Extracted packet for processing {"connection_id":229559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a676"} 
[2026-11-04 17:41:14] local.INFO: GPS Element Parsed {"raw_longitude":760078784,"raw_latitude":109650776,"longitude_deg":76.0078784,"latitude_deg":10.9650776,"altitude":95,"angle":358,"satellites":47,"speed":50,"hex_longitude":"2d4de1c0","hex_latitude":"06892358","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211302144001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39138885917212672,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5612822169911339008,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:14] 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-11-04 17:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793794156000,"timestamp_ms":1793794156000,"timestamp_seconds":1793794156,"priority":1,"record_length":96,"hex_timestamp":"000001a1a676a5e0"} 
[2026-11-04 17:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 17:41:14] 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-11-04 17: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-11-04 17:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211302144001,"66":206,"19":48128,"24":50,"16":39138885917212672,"45":5612822169911339008},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 17:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211302144001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:41:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39138885917212672,"km_value":39138885917212.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5612822169911339008,"description":"Unknown IO ID 45"} 
[2026-11-04 17:41:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211302144001,"power":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":5612822169911339008}} 
[2026-11-04 17:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":229559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:41:14] local.INFO: GPS data processed {"connection_id":229559,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:41:14] local.INFO: Acknowledgment sent {"connection_id":229559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:41:15] local.INFO: TCP Data received {"connection_id":229558,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6777cb8012cbc2240077401f0004c012d29..."} 
[2026-11-04 17:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6777cb8012cbc2240077401f0004c012d29..."} 
[2026-11-04 17:41:15] local.INFO: Processing buffer {"connection_id":229558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6777cb8012cbc2240077401f0004c012d29..."} 
[2026-11-04 17:41:15] local.INFO: Packet analysis {"connection_id":229558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a677"} 
[2026-11-04 17:41:15] local.INFO: Extracted packet for processing {"connection_id":229558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a677"} 
[2026-11-04 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":750527040,"raw_latitude":125043184,"longitude_deg":75.052704,"latitude_deg":12.5043184,"altitude":76,"angle":301,"satellites":41,"speed":46,"hex_longitude":"2cbc2240","hex_latitude":"077401f0","is_valid_coordinates":true} 
[2026-11-04 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211315968001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20794058393780224,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4880776064152811520,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793794211000,"timestamp_ms":1793794211000,"timestamp_seconds":1793794211,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6777cb8"} 
[2026-11-04 17:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 17:41:15] 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-11-04 17:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211315968001,"66":28267,"56":206,"27":54016,"24":46,"16":20794058393780224,"44":-4880776064152811520},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-11-04 17:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211315968001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:41:15] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-11-04 17:41:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20794058393780224,"km_value":20794058393780.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4880776064152811520,"description":"Unknown IO ID 44"} 
[2026-11-04 17:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211315968001,"power":28267,"unknown_56":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-4880776064152811520}} 
[2026-11-04 17:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":229558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:41:15] local.INFO: GPS data processed {"connection_id":229558,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:41:15] local.INFO: Acknowledgment sent {"connection_id":229558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:41:16] local.INFO: TCP Data received {"connection_id":229558,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6778488012cbc1b80077407c0004c013f2a..."} 
[2026-11-04 17:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6778488012cbc1b80077407c0004c013f2a..."} 
[2026-11-04 17:41:16] local.INFO: Processing buffer {"connection_id":229558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6778488012cbc1b80077407c0004c013f2a..."} 
[2026-11-04 17:41:16] local.INFO: Packet analysis {"connection_id":229558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a677"} 
[2026-11-04 17:41:16] local.INFO: Extracted packet for processing {"connection_id":229558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a677"} 
[2026-11-04 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":750525312,"raw_latitude":125044672,"longitude_deg":75.0525312,"latitude_deg":12.5044672,"altitude":76,"angle":319,"satellites":42,"speed":45,"hex_longitude":"2cbc1b80","hex_latitude":"077407c0","is_valid_coordinates":true} 
[2026-11-04 17:41: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-11-04 17:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211318016001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20794165767962624,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4890275844615704576,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793794213000,"timestamp_ms":1793794213000,"timestamp_seconds":1793794213,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6778488"} 
[2026-11-04 17:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:41: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-11-04 17:41: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-11-04 17:41: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-11-04 17:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211318016001,"66":27800,"56":206,"27":54016,"24":45,"16":20794165767962624,"44":-4890275844615704576},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-11-04 17:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211318016001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:41:16] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-11-04 17:41:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20794165767962624,"km_value":20794165767962.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:41:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4890275844615704576,"description":"Unknown IO ID 44"} 
[2026-11-04 17:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211318016001,"power":27800,"unknown_56":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4890275844615704576}} 
[2026-11-04 17:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":229558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:41:16] local.INFO: GPS data processed {"connection_id":229558,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:41:16] local.INFO: Acknowledgment sent {"connection_id":229558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:41:48] local.INFO: TCP Data received {"connection_id":229558,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67843f0012cbc65800774b8480056014231..."} 
[2026-11-04 17:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67843f0012cbc65800774b8480056014231..."} 
[2026-11-04 17:41:48] local.INFO: Processing buffer {"connection_id":229558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67843f0012cbc65800774b8480056014231..."} 
[2026-11-04 17:41:48] local.INFO: Packet analysis {"connection_id":229558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:41:48] local.INFO: Extracted packet for processing {"connection_id":229558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:41:48] local.INFO: GPS Element Parsed {"raw_longitude":750544256,"raw_latitude":125089864,"longitude_deg":75.0544256,"latitude_deg":12.5089864,"altitude":86,"angle":322,"satellites":49,"speed":48,"hex_longitude":"2cbc6580","hex_latitude":"0774b848","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211330560001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20796807172849664,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4870080015025299456,"note":"Value kept but may cause issues"} 
[2026-11-04 17:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793794262000,"timestamp_ms":1793794262000,"timestamp_seconds":1793794262,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67843f0"} 
[2026-11-04 17:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 17:41:48] 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-11-04 17: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-11-04 17:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211330560001,"66":28300,"55":206,"27":54016,"24":48,"16":20796807172849664,"44":-4870080015025299456},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-11-04 17:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211330560001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:41:48] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-11-04 17:41:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20796807172849664,"km_value":20796807172849.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:41:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4870080015025299456,"description":"Unknown IO ID 44"} 
[2026-11-04 17:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211330560001,"power":28300,"unknown_55":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4870080015025299456}} 
[2026-11-04 17:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":229558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:41:48] local.INFO: GPS data processed {"connection_id":229558,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:41:48] local.INFO: Acknowledgment sent {"connection_id":229558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:42:09] local.INFO: TCP Data received {"connection_id":230866,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:09] local.INFO: Processing buffer {"connection_id":230866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:09] local.INFO: IMEI packet received {"connection_id":230866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":230866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:42:09] local.INFO: TCP Data received {"connection_id":230866,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:09] local.INFO: Processing buffer {"connection_id":230866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:09] local.INFO: IMEI packet received {"connection_id":230866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":230866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:42:12] local.INFO: TCP Data received {"connection_id":229559,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6781510012d4d7d40068ac7500066011f2c..."} 
[2026-11-04 17:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6781510012d4d7d40068ac7500066011f2c..."} 
[2026-11-04 17:42:12] local.INFO: Processing buffer {"connection_id":229559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6781510012d4d7d40068ac7500066011f2c..."} 
[2026-11-04 17:42:12] local.INFO: Packet analysis {"connection_id":229559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:42:12] local.INFO: Extracted packet for processing {"connection_id":229559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":760053056,"raw_latitude":109758288,"longitude_deg":76.0053056,"latitude_deg":10.9758288,"altitude":102,"angle":287,"satellites":44,"speed":61,"hex_longitude":"2d4d7d40","hex_latitude":"068ac750","is_valid_coordinates":true} 
[2026-11-04 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211326720001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39144967590903808,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5591430071710373888,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42: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-11-04 17:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793794250000,"timestamp_ms":1793794250000,"timestamp_seconds":1793794250,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6781510"} 
[2026-11-04 17:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 17:42: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-11-04 17:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211326720001,"66":27539,"68":206,"19":48128,"24":61,"16":39144967590903808,"45":5591430071710373888},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-11-04 17:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211326720001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:42:12] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-11-04 17:42:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39144967590903808,"km_value":39144967590903.805,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5591430071710373888,"description":"Unknown IO ID 45"} 
[2026-11-04 17:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211326720001,"power":27539,"unknown_68":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":5591430071710373888}} 
[2026-11-04 17:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":229559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:42:13] local.INFO: GPS data processed {"connection_id":229559,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:42:13] local.INFO: Acknowledgment sent {"connection_id":229559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:42:13] local.INFO: TCP Data received {"connection_id":230866,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:13] local.INFO: Processing buffer {"connection_id":230866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:42:13] local.INFO: IMEI packet received {"connection_id":230866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":230866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:42:14] local.INFO: TCP Data received {"connection_id":230866,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6784bc0012cbc5ec00774beb00056013331..."} 
[2026-11-04 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6784bc0012cbc5ec00774beb00056013331..."} 
[2026-11-04 17:42:14] local.INFO: Processing buffer {"connection_id":230866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6784bc0012cbc5ec00774beb00056013331..."} 
[2026-11-04 17:42:14] local.INFO: Packet analysis {"connection_id":230866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:42:14] local.INFO: Extracted packet for processing {"connection_id":230866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":750542528,"raw_latitude":125091504,"longitude_deg":75.0542528,"latitude_deg":12.5091504,"altitude":86,"angle":307,"satellites":49,"speed":42,"hex_longitude":"2cbc5ec0","hex_latitude":"0774beb0","is_valid_coordinates":true} 
[2026-11-04 17:42: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-11-04 17:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211331072001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20796923136966656,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4871346652419962880,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793794264000,"timestamp_ms":1793794264000,"timestamp_seconds":1793794264,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6784bc0"} 
[2026-11-04 17:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:42: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:42:14] 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-11-04 17:42: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-11-04 17:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211331072001,"66":28267,"55":206,"27":54016,"24":42,"16":20796923136966656,"44":-4871346652419962880},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,27,24,16,44]} 
[2026-11-04 17:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211331072001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:42:14] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-11-04 17:42:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20796923136966656,"km_value":20796923136966.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:42:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4871346652419962880,"description":"Unknown IO ID 44"} 
[2026-11-04 17:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211331072001,"power":28267,"unknown_55":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-4871346652419962880}} 
[2026-11-04 17:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":230866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:42:14] local.INFO: GPS data processed {"connection_id":230866,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:42:14] local.INFO: Acknowledgment sent {"connection_id":230866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:42:46] local.INFO: TCP Data received {"connection_id":230866,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6785390012cbc58000774c2c80056012630..."} 
[2026-11-04 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6785390012cbc58000774c2c80056012630..."} 
[2026-11-04 17:42:46] local.INFO: Processing buffer {"connection_id":230866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6785390012cbc58000774c2c80056012630..."} 
[2026-11-04 17:42:46] local.INFO: Packet analysis {"connection_id":230866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:42:46] local.INFO: Extracted packet for processing {"connection_id":230866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":750540800,"raw_latitude":125092552,"longitude_deg":75.05408,"latitude_deg":12.5092552,"altitude":86,"angle":294,"satellites":48,"speed":41,"hex_longitude":"2cbc5800","hex_latitude":"0774c2c8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211331584001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797021921214464,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4873246608512339968,"note":"Value kept but may cause issues"} 
[2026-11-04 17:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793794266000,"timestamp_ms":1793794266000,"timestamp_seconds":1793794266,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6785390"} 
[2026-11-04 17:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 17:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211331584001,"66":27604,"56":206,"27":54016,"24":41,"16":20797021921214464,"44":-4873246608512339968},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-11-04 17:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211331584001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:42:46] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-11-04 17:42:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797021921214464,"km_value":20797021921214.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:42:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4873246608512339968,"description":"Unknown IO ID 44"} 
[2026-11-04 17:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211331584001,"power":27604,"unknown_56":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-4873246608512339968}} 
[2026-11-04 17:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":230866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:42:46] local.INFO: GPS data processed {"connection_id":230866,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:42:46] local.INFO: Acknowledgment sent {"connection_id":230866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:42:54] local.INFO: TCP Data received {"connection_id":230867,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:42:54] local.INFO: Processing buffer {"connection_id":230867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:42:54] local.INFO: IMEI packet received {"connection_id":230867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":230867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:43:08] local.INFO: TCP Data received {"connection_id":229560,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:43:08] local.INFO: Processing buffer {"connection_id":229560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:43:08] local.INFO: IMEI packet received {"connection_id":229560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":229560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:43:13] local.INFO: TCP Data received {"connection_id":229560,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:43:13] local.INFO: Processing buffer {"connection_id":229560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:43:13] local.INFO: IMEI packet received {"connection_id":229560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":229560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:43:14] local.INFO: TCP Data received {"connection_id":229560,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6786330012cbc47800774c7e80056011b2e..."} 
[2026-11-04 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6786330012cbc47800774c7e80056011b2e..."} 
[2026-11-04 17:43:14] local.INFO: Processing buffer {"connection_id":229560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6786330012cbc47800774c7e80056011b2e..."} 
[2026-11-04 17:43:14] local.INFO: Packet analysis {"connection_id":229560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:43:14] local.INFO: Extracted packet for processing {"connection_id":229560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":750536576,"raw_latitude":125093864,"longitude_deg":75.0536576,"latitude_deg":12.5093864,"altitude":86,"angle":283,"satellites":46,"speed":44,"hex_longitude":"2cbc4780","hex_latitude":"0774c7e8","is_valid_coordinates":true} 
[2026-11-04 17:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211332096001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797228079644672,"note":"Value kept but may cause issues"} 
[2026-11-04 17:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4875146564604868608,"note":"Value kept but may cause issues"} 
[2026-11-04 17:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793794270000,"timestamp_ms":1793794270000,"timestamp_seconds":1793794270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6786330"} 
[2026-11-04 17:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 17:43:14] 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-11-04 17:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211332096001,"66":28332,"56":206,"27":54016,"24":44,"16":20797228079644672,"44":-4875146564604868608},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-11-04 17:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211332096001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:43:14] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-11-04 17:43:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797228079644672,"km_value":20797228079644.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4875146564604868608,"description":"Unknown IO ID 44"} 
[2026-11-04 17:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211332096001,"power":28332,"unknown_56":206,"unknown_27":54016,"ignition":44,"odometer":null,"unknown_44":-4875146564604868608}} 
[2026-11-04 17:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":229560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:43:14] local.INFO: GPS data processed {"connection_id":229560,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:43:14] local.INFO: Acknowledgment sent {"connection_id":229560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:43:33] local.INFO: TCP Data received {"connection_id":229079,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:43:33] local.INFO: Processing buffer {"connection_id":229079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:43:33] local.INFO: IMEI packet received {"connection_id":229079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":229079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:43:34] local.INFO: TCP Data received {"connection_id":229079,"ip":"117.224.67.174","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 17:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229079,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 17:43:34] local.INFO: Processing buffer {"connection_id":229079,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 17:43:34] local.INFO: IMEI packet received {"connection_id":229079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":229079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:43:46] local.INFO: TCP Data received {"connection_id":229560,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67945c00100000000000000000000000000..."} 
[2026-11-04 17:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67945c00100000000000000000000000000..."} 
[2026-11-04 17:43:46] local.INFO: Processing buffer {"connection_id":229560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67945c00100000000000000000000000000..."} 
[2026-11-04 17:43:46] local.INFO: Packet analysis {"connection_id":229560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:43:46] local.INFO: Extracted packet for processing {"connection_id":229560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:43: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-11-04 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211333120001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4879790901720258560,"note":"Value kept but may cause issues"} 
[2026-11-04 17:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793794328000,"timestamp_ms":1793794328000,"timestamp_seconds":1793794328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67945c0"} 
[2026-11-04 17:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 17:43:46] 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-11-04 17:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":229560,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 17:43:46] local.INFO: GPS data processed {"connection_id":229560,"processed":0,"errors":0,"total":1} 
[2026-11-04 17:43:46] local.INFO: Acknowledgment sent {"connection_id":229560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:44:13] local.INFO: TCP Data received {"connection_id":229080,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:44:13] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:44:13] local.INFO: IMEI packet received {"connection_id":229080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":229080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:44:18] local.INFO: TCP Data received {"connection_id":229080,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:44:18] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:44:18] local.INFO: IMEI packet received {"connection_id":229080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":229080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:44:20] local.INFO: TCP Data received {"connection_id":229080,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a678c8c0012cbbd4800774db40004f01192e..."} 
[2026-11-04 17:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a678c8c0012cbbd4800774db40004f01192e..."} 
[2026-11-04 17:44:20] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a678c8c0012cbbd4800774db40004f01192e..."} 
[2026-11-04 17:44:20] local.INFO: Packet analysis {"connection_id":229080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:44:20] local.INFO: Extracted packet for processing {"connection_id":229080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a678"} 
[2026-11-04 17:44:20] local.INFO: GPS Element Parsed {"raw_longitude":750507136,"raw_latitude":125098816,"longitude_deg":75.0507136,"latitude_deg":12.5098816,"altitude":79,"angle":281,"satellites":46,"speed":58,"hex_longitude":"2cbbd480","hex_latitude":"0774db40","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:44:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,56,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793794296000,"timestamp_ms":1793794296000,"timestamp_seconds":1793794296,"priority":1,"record_length":96,"hex_timestamp":"000001a1a678c8c0"} 
[2026-11-04 17:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17: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-11-04 17: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-11-04 17:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"56":206,"27":54016,"24":58,"16":20797623216635904},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16]} 
[2026-11-04 17:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 17:44:20] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-11-04 17:44:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:44:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_56":206,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-11-04 17:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":229080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:44:20] local.INFO: GPS data processed {"connection_id":229080,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:44:20] local.INFO: Acknowledgment sent {"connection_id":229080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:44:51] local.INFO: TCP Data received {"connection_id":229080,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6790740012cbb77400774ded8004e01092f..."} 
[2026-11-04 17:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6790740012cbb77400774ded8004e01092f..."} 
[2026-11-04 17:44:51] local.INFO: Processing buffer {"connection_id":229080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6790740012cbb77400774ded8004e01092f..."} 
[2026-11-04 17:44:51] local.INFO: Packet analysis {"connection_id":229080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:44:51] local.INFO: Extracted packet for processing {"connection_id":229080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:44:51] local.INFO: GPS Element Parsed {"raw_longitude":750483264,"raw_latitude":125099736,"longitude_deg":75.0483264,"latitude_deg":12.5099736,"altitude":78,"angle":265,"satellites":47,"speed":58,"hex_longitude":"2cbb7740","hex_latitude":"0774ded8","is_valid_coordinates":true} 
[2026-11-04 17:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211339776001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4912160524040716288,"note":"Value kept but may cause issues"} 
[2026-11-04 17:44:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793794312000,"timestamp_ms":1793794312000,"timestamp_seconds":1793794312,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6790740"} 
[2026-11-04 17:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:44:51] 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-11-04 17:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229080,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211339776001,"66":28354,"27":54016,"24":58,"16":20797623216635904,"44":-4912160524040716288},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-11-04 17:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211339776001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:44:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4912160524040716288,"description":"Unknown IO ID 44"} 
[2026-11-04 17:44:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211339776001,"power":28354,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4912160524040716288}} 
[2026-11-04 17:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":229080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:44:52] local.INFO: GPS data processed {"connection_id":229080,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:44:52] local.INFO: Acknowledgment sent {"connection_id":229080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:45:08] local.INFO: TCP Data received {"connection_id":230868,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:45:08] local.INFO: Processing buffer {"connection_id":230868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:45:08] local.INFO: IMEI packet received {"connection_id":230868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":230868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:45:13] local.INFO: TCP Data received {"connection_id":230868,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:45:13] local.INFO: Processing buffer {"connection_id":230868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:45:13] local.INFO: IMEI packet received {"connection_id":230868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":230868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:45:15] local.INFO: TCP Data received {"connection_id":230868,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6795948012cbb1b000774d850004f010b2d..."} 
[2026-11-04 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6795948012cbb1b000774d850004f010b2d..."} 
[2026-11-04 17:45:15] local.INFO: Processing buffer {"connection_id":230868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6795948012cbb1b000774d850004f010b2d..."} 
[2026-11-04 17:45:15] local.INFO: Packet analysis {"connection_id":230868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:45:15] local.INFO: Extracted packet for processing {"connection_id":230868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":750459648,"raw_latitude":125098064,"longitude_deg":75.0459648,"latitude_deg":12.5098064,"altitude":79,"angle":267,"satellites":45,"speed":0,"hex_longitude":"2cbb1b00","hex_latitude":"0774d850","is_valid_coordinates":true} 
[2026-11-04 17:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211343872001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:45:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4938408065618749440,"note":"Value kept but may cause issues"} 
[2026-11-04 17:45:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793794333000,"timestamp_ms":1793794333000,"timestamp_seconds":1793794333,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6795948"} 
[2026-11-04 17:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 17:45: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-11-04 17:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211343872001,"66":28278,"27":54016,"24":0,"16":20797623216635904,"44":-4938408065618749440},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-11-04 17:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211343872001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:45:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:45:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4938408065618749440,"description":"Unknown IO ID 44"} 
[2026-11-04 17:45:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211343872001,"power":28278,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4938408065618749440}} 
[2026-11-04 17:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":230868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:45:15] local.INFO: GPS data processed {"connection_id":230868,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:45:15] local.INFO: Acknowledgment sent {"connection_id":230868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:45:46] local.INFO: TCP Data received {"connection_id":230868,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67a3bd80100000000000000000000000000..."} 
[2026-11-04 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67a3bd80100000000000000000000000000..."} 
[2026-11-04 17:45:46] local.INFO: Processing buffer {"connection_id":230868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67a3bd80100000000000000000000000000..."} 
[2026-11-04 17:45:46] local.INFO: Packet analysis {"connection_id":230868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67a"} 
[2026-11-04 17:45:46] local.INFO: Extracted packet for processing {"connection_id":230868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67a"} 
[2026-11-04 17:45: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-11-04 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211349248001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4964374132220735488,"note":"Value kept but may cause issues"} 
[2026-11-04 17:45:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793794391000,"timestamp_ms":1793794391000,"timestamp_seconds":1793794391,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67a3bd8"} 
[2026-11-04 17:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 17:45:46] 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-11-04 17:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":230868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 17:45:46] local.INFO: GPS data processed {"connection_id":230868,"processed":0,"errors":0,"total":1} 
[2026-11-04 17:45:46] local.INFO: Acknowledgment sent {"connection_id":230868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:46:08] local.INFO: TCP Data received {"connection_id":229562,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:46:08] local.INFO: Processing buffer {"connection_id":229562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:46:08] local.INFO: IMEI packet received {"connection_id":229562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":229562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:46:13] local.INFO: TCP Data received {"connection_id":229562,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:46:13] local.INFO: Processing buffer {"connection_id":229562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:46:13] local.INFO: IMEI packet received {"connection_id":229562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":229562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:46:14] local.INFO: TCP Data received {"connection_id":229562,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a679c2c0012cba60400774e280004b01122f..."} 
[2026-11-04 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a679c2c0012cba60400774e280004b01122f..."} 
[2026-11-04 17:46:14] local.INFO: Processing buffer {"connection_id":229562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a679c2c0012cba60400774e280004b01122f..."} 
[2026-11-04 17:46:14] local.INFO: Packet analysis {"connection_id":229562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:46:14] local.INFO: Extracted packet for processing {"connection_id":229562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a679"} 
[2026-11-04 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":750411840,"raw_latitude":125100672,"longitude_deg":75.041184,"latitude_deg":12.5100672,"altitude":75,"angle":274,"satellites":47,"speed":58,"hex_longitude":"2cba6040","hex_latitude":"0774e280","is_valid_coordinates":true} 
[2026-11-04 17:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:46:14] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,27,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-04 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793794360000,"timestamp_ms":1793794360000,"timestamp_seconds":1793794360,"priority":1,"record_length":96,"hex_timestamp":"000001a1a679c2c0"} 
[2026-11-04 17:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:46:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 17:46:14] 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-11-04 17:46:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28126,"27":54016,"24":58,"16":20797623216635904},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16]} 
[2026-11-04 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 17:46:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":28126,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-11-04 17:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":229562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:46:15] local.INFO: GPS data processed {"connection_id":229562,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:46:15] local.INFO: Acknowledgment sent {"connection_id":229562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:46:46] local.INFO: TCP Data received {"connection_id":229562,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67a14c8012cba03400774e898004a01112f..."} 
[2026-11-04 17:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67a14c8012cba03400774e898004a01112f..."} 
[2026-11-04 17:46:46] local.INFO: Processing buffer {"connection_id":229562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67a14c8012cba03400774e898004a01112f..."} 
[2026-11-04 17:46:46] local.INFO: Packet analysis {"connection_id":229562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67a"} 
[2026-11-04 17:46:46] local.INFO: Extracted packet for processing {"connection_id":229562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67a"} 
[2026-11-04 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":750388032,"raw_latitude":125102232,"longitude_deg":75.0388032,"latitude_deg":12.5102232,"altitude":74,"angle":273,"satellites":47,"speed":0,"hex_longitude":"2cba0340","hex_latitude":"0774e898","is_valid_coordinates":true} 
[2026-11-04 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211356160001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5016939584120782848,"note":"Value kept but may cause issues"} 
[2026-11-04 17:46:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793794381000,"timestamp_ms":1793794381000,"timestamp_seconds":1793794381,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67a14c8"} 
[2026-11-04 17:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 17:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229562,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211356160001,"66":28224,"27":54016,"24":0,"16":20797623216635904,"44":-5016939584120782848},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-11-04 17:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211356160001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:46:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5016939584120782848,"description":"Unknown IO ID 44"} 
[2026-11-04 17:46:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211356160001,"power":28224,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5016939584120782848}} 
[2026-11-04 17:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":229562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:46:46] local.INFO: GPS data processed {"connection_id":229562,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:46:46] local.INFO: Acknowledgment sent {"connection_id":229562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:47:08] local.INFO: TCP Data received {"connection_id":229081,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:47:08] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:47:08] local.INFO: IMEI packet received {"connection_id":229081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":229081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:47:15] local.INFO: TCP Data received {"connection_id":229081,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:47:15] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:47:15] local.INFO: IMEI packet received {"connection_id":229081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":229081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:47:16] local.INFO: TCP Data received {"connection_id":229081,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67d68580100000000000000000000000000..."} 
[2026-11-04 17:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67d68580100000000000000000000000000..."} 
[2026-11-04 17:47:16] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67d68580100000000000000000000000000..."} 
[2026-11-04 17:47:16] local.INFO: Packet analysis {"connection_id":229081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:47:16] local.INFO: Extracted packet for processing {"connection_id":229081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:47: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-11-04 17: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-11-04 17:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211402496001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:47:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5287366667976148992,"note":"Value kept but may cause issues"} 
[2026-11-04 17:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793794599000,"timestamp_ms":1793794599000,"timestamp_seconds":1793794599,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67d6858"} 
[2026-11-04 17:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 17:47: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-11-04 17: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-11-04 17:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":229081,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 17:47:16] local.INFO: GPS data processed {"connection_id":229081,"processed":0,"errors":0,"total":1} 
[2026-11-04 17:47:16] local.INFO: Acknowledgment sent {"connection_id":229081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:47:47] local.INFO: TCP Data received {"connection_id":229081,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67cef40012cb5e6400775fd38003e01002e..."} 
[2026-11-04 17:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67cef40012cb5e6400775fd38003e01002e..."} 
[2026-11-04 17:47:47] local.INFO: Processing buffer {"connection_id":229081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67cef40012cb5e6400775fd38003e01002e..."} 
[2026-11-04 17:47:47] local.INFO: Packet analysis {"connection_id":229081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67c"} 
[2026-11-04 17:47:47] local.INFO: Extracted packet for processing {"connection_id":229081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67c"} 
[2026-11-04 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":750118464,"raw_latitude":125173048,"longitude_deg":75.0118464,"latitude_deg":12.5173048,"altitude":62,"angle":256,"satellites":46,"speed":59,"hex_longitude":"2cb5e640","hex_latitude":"0775fd38","is_valid_coordinates":true} 
[2026-11-04 17:47: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-11-04 17:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:47:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,40,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793794568000,"timestamp_ms":1793794568000,"timestamp_seconds":1793794568,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67cef40"} 
[2026-11-04 17:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:47: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-11-04 17:47: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-11-04 17:47: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-11-04 17:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"40":206,"27":54016,"24":59,"16":20797623216635904},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,27,24,16]} 
[2026-11-04 17:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 17:47:47] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-11-04 17:47:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:47:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_40":206,"unknown_27":54016,"ignition":59,"odometer":null}} 
[2026-11-04 17:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":229081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:47:47] local.INFO: GPS data processed {"connection_id":229081,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:47:47] local.INFO: Acknowledgment sent {"connection_id":229081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:48:11] local.INFO: TCP Data received {"connection_id":230870,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:11] local.INFO: Processing buffer {"connection_id":230870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:11] local.INFO: IMEI packet received {"connection_id":230870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":230870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:48:13] local.INFO: TCP Data received {"connection_id":230870,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:13] local.INFO: Processing buffer {"connection_id":230870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:13] local.INFO: IMEI packet received {"connection_id":230870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":230870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:48:18] local.INFO: TCP Data received {"connection_id":230870,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:18] local.INFO: Processing buffer {"connection_id":230870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:48:18] local.INFO: IMEI packet received {"connection_id":230870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":230870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:48:20] local.INFO: TCP Data received {"connection_id":230870,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67d2dc0012cb594400775d0c0003b00eb2f..."} 
[2026-11-04 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67d2dc0012cb594400775d0c0003b00eb2f..."} 
[2026-11-04 17:48:20] local.INFO: Processing buffer {"connection_id":230870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67d2dc0012cb594400775d0c0003b00eb2f..."} 
[2026-11-04 17:48:20] local.INFO: Packet analysis {"connection_id":230870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:48:20] local.INFO: Extracted packet for processing {"connection_id":230870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":750097472,"raw_latitude":125161664,"longitude_deg":75.0097472,"latitude_deg":12.5161664,"altitude":59,"angle":235,"satellites":47,"speed":58,"hex_longitude":"2cb59440","hex_latitude":"0775d0c0","is_valid_coordinates":true} 
[2026-11-04 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211409408001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5339509907412666368,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793794584000,"timestamp_ms":1793794584000,"timestamp_seconds":1793794584,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67d2dc0"} 
[2026-11-04 17:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:48: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-11-04 17:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211409408001,"66":28300,"41":206,"27":54016,"24":58,"16":20797623216635904,"44":-5339509907412666368},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-11-04 17:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211409408001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:48:20] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 17:48:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5339509907412666368,"description":"Unknown IO ID 44"} 
[2026-11-04 17:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211409408001,"power":28300,"unknown_41":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-5339509907412666368}} 
[2026-11-04 17:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":230870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:48:20] local.INFO: GPS data processed {"connection_id":230870,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:48:20] local.INFO: Acknowledgment sent {"connection_id":230870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:48:32] local.INFO: TCP Data received {"connection_id":229082,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:48:32] local.INFO: Processing buffer {"connection_id":229082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:48:32] local.INFO: IMEI packet received {"connection_id":229082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":229082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:48:33] local.INFO: TCP Data received {"connection_id":229082,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67dd5b8012d466400068e2520006301432e..."} 
[2026-11-04 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67dd5b8012d466400068e2520006301432e..."} 
[2026-11-04 17:48:33] local.INFO: Processing buffer {"connection_id":229082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67dd5b8012d466400068e2520006301432e..."} 
[2026-11-04 17:48:33] local.INFO: Packet analysis {"connection_id":229082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:48:33] local.INFO: Extracted packet for processing {"connection_id":229082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":759587840,"raw_latitude":109978912,"longitude_deg":75.958784,"latitude_deg":10.9978912,"altitude":99,"angle":323,"satellites":46,"speed":62,"hex_longitude":"2d466400","hex_latitude":"068e2520","is_valid_coordinates":true} 
[2026-11-04 17:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211422976001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39171952870424576,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5078301189222197248,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:33] 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-11-04 17:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1793794627000,"timestamp_ms":1793794627000,"timestamp_seconds":1793794627,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67dd5b8"} 
[2026-11-04 17:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 17:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":229082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":229082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":229082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211422976001,"66":27984,"37":206,"19":48128,"24":62,"16":39171952870424576,"45":5078301189222197248},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-11-04 17:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211422976001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:48:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 17:48:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39171952870424576,"km_value":39171952870424.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5078301189222197248,"description":"Unknown IO ID 45"} 
[2026-11-04 17:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211422976001,"power":27984,"unknown_37":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":5078301189222197248}} 
[2026-11-04 17:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":229082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:48:33] local.INFO: GPS data processed {"connection_id":229082,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:48:33] local.INFO: Acknowledgment sent {"connection_id":229082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:48:51] local.INFO: TCP Data received {"connection_id":230870,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67d7fc8012cb5494007759980003600e930..."} 
[2026-11-04 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67d7fc8012cb5494007759980003600e930..."} 
[2026-11-04 17:48:51] local.INFO: Processing buffer {"connection_id":230870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67d7fc8012cb5494007759980003600e930..."} 
[2026-11-04 17:48:51] local.INFO: Packet analysis {"connection_id":230870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:48:51] local.INFO: Extracted packet for processing {"connection_id":230870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":750078272,"raw_latitude":125147520,"longitude_deg":75.0078272,"latitude_deg":12.514752,"altitude":54,"angle":233,"satellites":48,"speed":0,"hex_longitude":"2cb54940","hex_latitude":"07759980","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211413504001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5362590855505854464,"note":"Value kept but may cause issues"} 
[2026-11-04 17:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793794605000,"timestamp_ms":1793794605000,"timestamp_seconds":1793794605,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67d7fc8"} 
[2026-11-04 17:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:48:51] 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-11-04 17: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-11-04 17:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211413504001,"66":28300,"41":206,"27":54016,"24":0,"16":20797623216635904,"44":-5362590855505854464},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-11-04 17:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211413504001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:48:51] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 17:48:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5362590855505854464,"description":"Unknown IO ID 44"} 
[2026-11-04 17:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211413504001,"power":28300,"unknown_41":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5362590855505854464}} 
[2026-11-04 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":230870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:48:51] local.INFO: GPS data processed {"connection_id":230870,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:48:51] local.INFO: Acknowledgment sent {"connection_id":230870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:49:04] local.INFO: TCP Data received {"connection_id":229563,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:04] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:04] local.INFO: IMEI packet received {"connection_id":229563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":229563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:49:07] local.INFO: TCP Data received {"connection_id":229563,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:07] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:07] local.INFO: IMEI packet received {"connection_id":229563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":229563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:49:08] local.INFO: TCP Data received {"connection_id":230871,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:08] local.INFO: Processing buffer {"connection_id":230871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:08] local.INFO: IMEI packet received {"connection_id":230871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":230871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:49:10] local.INFO: TCP Data received {"connection_id":229563,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:10] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:49:10] local.INFO: IMEI packet received {"connection_id":229563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":229563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:49:10] local.INFO: TCP Data received {"connection_id":230871,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:10] local.INFO: Processing buffer {"connection_id":230871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:10] local.INFO: IMEI packet received {"connection_id":230871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":230871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:49:11] local.INFO: TCP Data received {"connection_id":229563,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67ec400012d460700068f9d70004801572e..."} 
[2026-11-04 17:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67ec400012d460700068f9d70004801572e..."} 
[2026-11-04 17:49:11] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67ec400012d460700068f9d70004801572e..."} 
[2026-11-04 17:49:11] local.INFO: Packet analysis {"connection_id":229563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49:11] local.INFO: Extracted packet for processing {"connection_id":229563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":759564032,"raw_latitude":110075248,"longitude_deg":75.9564032,"latitude_deg":11.0075248,"altitude":72,"angle":343,"satellites":46,"speed":60,"hex_longitude":"2d460700","hex_latitude":"068f9d70","is_valid_coordinates":true} 
[2026-11-04 17:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211438336001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39176823363338240,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5049027791668363264,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:11] 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-11-04 17:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793794688000,"timestamp_ms":1793794688000,"timestamp_seconds":1793794688,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67ec400"} 
[2026-11-04 17:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 17:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211438336001,"66":27821,"178":206,"19":48128,"24":60,"16":39176823363338240,"45":5049027791668363264},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 17:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211438336001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:49:11] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 17:49:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39176823363338240,"km_value":39176823363338.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5049027791668363264,"description":"Unknown IO ID 45"} 
[2026-11-04 17:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211438336001,"power":27821,"unknown_178":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5049027791668363264}} 
[2026-11-04 17:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":229563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:49:11] local.INFO: GPS data processed {"connection_id":229563,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:49:11] local.INFO: Acknowledgment sent {"connection_id":229563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:49:13] local.INFO: TCP Data received {"connection_id":229563,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67edb70012d45f9c0068fbe480048014a2f..."} 
[2026-11-04 17:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67edb70012d45f9c0068fbe480048014a2f..."} 
[2026-11-04 17:49:13] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67edb70012d45f9c0068fbe480048014a2f..."} 
[2026-11-04 17:49:13] local.INFO: Packet analysis {"connection_id":229563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49:13] local.INFO: Extracted packet for processing {"connection_id":229563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49:13] local.INFO: GPS Element Parsed {"raw_longitude":759560640,"raw_latitude":110083656,"longitude_deg":75.956064,"latitude_deg":11.0083656,"altitude":72,"angle":330,"satellites":47,"speed":60,"hex_longitude":"2d45f9c0","hex_latitude":"068fbe48","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211440128001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39177265744969728,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5046001935671193600,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:13] 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-11-04 17:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793794694000,"timestamp_ms":1793794694000,"timestamp_seconds":1793794694,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67edb70"} 
[2026-11-04 17:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":173,"data_length":795,"current_offset":136} 
[2026-11-04 17:49: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-11-04 17: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-11-04 17:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211440128001,"66":27843,"178":206,"19":48128,"24":60,"16":39177265744969728,"45":5046001935671193600},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 17:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211440128001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:49:13] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 17:49:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39177265744969728,"km_value":39177265744969.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5046001935671193600,"description":"Unknown IO ID 45"} 
[2026-11-04 17:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211440128001,"power":27843,"unknown_178":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5046001935671193600}} 
[2026-11-04 17:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":229563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:49:13] local.INFO: GPS data processed {"connection_id":229563,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:49:13] local.INFO: Acknowledgment sent {"connection_id":229563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:49:14] local.INFO: TCP Data received {"connection_id":230871,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:14] local.INFO: Processing buffer {"connection_id":230871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:49:14] local.INFO: IMEI packet received {"connection_id":230871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":230871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:49:15] local.INFO: TCP Data received {"connection_id":230871,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67e62580100000000000000000000000000..."} 
[2026-11-04 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67e62580100000000000000000000000000..."} 
[2026-11-04 17:49:15] local.INFO: Processing buffer {"connection_id":230871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67e62580100000000000000000000000000..."} 
[2026-11-04 17:49:15] local.INFO: Packet analysis {"connection_id":230871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49:15] local.INFO: Extracted packet for processing {"connection_id":230871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49: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-11-04 17:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:49:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211418880001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5383701478762774528,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:49:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793794663000,"timestamp_ms":1793794663000,"timestamp_seconds":1793794663,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67e6258"} 
[2026-11-04 17:49:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:49:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:49:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:49: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-11-04 17:49:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:49:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:49:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:49:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:49:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:49:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:49:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:49:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:49:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:49:15] local.INFO: DEBUG: GPS processor result {"connection_id":230871,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 17:49:15] local.INFO: GPS data processed {"connection_id":230871,"processed":0,"errors":0,"total":1} 
[2026-11-04 17:49:15] local.INFO: Acknowledgment sent {"connection_id":230871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:49:46] local.INFO: TCP Data received {"connection_id":229563,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67edb70012d45f9c0068fbe480048014a2f..."} 
[2026-11-04 17:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67edb70012d45f9c0068fbe480048014a2f..."} 
[2026-11-04 17:49:46] local.INFO: Processing buffer {"connection_id":229563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67edb70012d45f9c0068fbe480048014a2f..."} 
[2026-11-04 17:49:46] local.INFO: Packet analysis {"connection_id":229563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49:46] local.INFO: Extracted packet for processing {"connection_id":229563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:49:46] local.INFO: GPS Element Parsed {"raw_longitude":759560640,"raw_latitude":110083656,"longitude_deg":75.956064,"latitude_deg":11.0083656,"altitude":72,"angle":330,"satellites":47,"speed":60,"hex_longitude":"2d45f9c0","hex_latitude":"068fbe48","is_valid_coordinates":true} 
[2026-11-04 17:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211441664001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39177265744969728,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5042272392231929856,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:46] 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-11-04 17:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793794694000,"timestamp_ms":1793794694000,"timestamp_seconds":1793794694,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67edb70"} 
[2026-11-04 17:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 17:49: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-11-04 17:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211441664001,"66":27843,"178":206,"19":48128,"24":60,"16":39177265744969728,"45":5042272392231929856},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 17:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211441664001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:49:46] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 17:49:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39177265744969728,"km_value":39177265744969.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5042272392231929856,"description":"Unknown IO ID 45"} 
[2026-11-04 17:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211441664001,"power":27843,"unknown_178":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5042272392231929856}} 
[2026-11-04 17:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":229563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:49:46] local.INFO: GPS data processed {"connection_id":229563,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:49:46] local.INFO: Acknowledgment sent {"connection_id":229563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:49:47] local.INFO: TCP Data received {"connection_id":230871,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67de940012cb4ab0007754648002b011d2d..."} 
[2026-11-04 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67de940012cb4ab0007754648002b011d2d..."} 
[2026-11-04 17:49:47] local.INFO: Processing buffer {"connection_id":230871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67de940012cb4ab0007754648002b011d2d..."} 
[2026-11-04 17:49:47] local.INFO: Packet analysis {"connection_id":230871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:49:47] local.INFO: Extracted packet for processing {"connection_id":230871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67d"} 
[2026-11-04 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":750037760,"raw_latitude":125126216,"longitude_deg":75.003776,"latitude_deg":12.5126216,"altitude":43,"angle":285,"satellites":45,"speed":58,"hex_longitude":"2cb4ab00","hex_latitude":"07754648","is_valid_coordinates":true} 
[2026-11-04 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:49:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793794632000,"timestamp_ms":1793794632000,"timestamp_seconds":1793794632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67de940"} 
[2026-11-04 17:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 17:49: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-11-04 17:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"5":206,"27":54016,"24":58,"16":20797623216635904},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16]} 
[2026-11-04 17:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 17:49:47] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-04 17:49:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:49:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_5":206,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-11-04 17:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":230871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:49:47] local.INFO: GPS data processed {"connection_id":230871,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:49:47] local.INFO: Acknowledgment sent {"connection_id":230871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:50:07] local.INFO: TCP Data received {"connection_id":229083,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:07] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:07] local.INFO: IMEI packet received {"connection_id":229083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":229083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:50:08] local.INFO: TCP Data received {"connection_id":229564,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:50:08] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:50:08] local.INFO: IMEI packet received {"connection_id":229564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":229564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:50:08] local.INFO: TCP Data received {"connection_id":229083,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:08] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:08] local.INFO: IMEI packet received {"connection_id":229083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":229083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:50:12] local.INFO: TCP Data received {"connection_id":229083,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:12] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:50:12] local.INFO: IMEI packet received {"connection_id":229083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":229083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:50:13] local.INFO: TCP Data received {"connection_id":229564,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:50:13] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:50:13] local.INFO: IMEI packet received {"connection_id":229564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":229564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:50:14] local.INFO: TCP Data received {"connection_id":229564,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67e3b48012cb45900077571c8002b011a2c..."} 
[2026-11-04 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67e3b48012cb45900077571c8002b011a2c..."} 
[2026-11-04 17:50:14] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67e3b48012cb45900077571c8002b011a2c..."} 
[2026-11-04 17:50:14] local.INFO: Packet analysis {"connection_id":229564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:50:14] local.INFO: Extracted packet for processing {"connection_id":229564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":750016768,"raw_latitude":125137352,"longitude_deg":75.0016768,"latitude_deg":12.5137352,"altitude":43,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2cb45900","hex_latitude":"077571c8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211425792001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5428244893832689664,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793794653000,"timestamp_ms":1793794653000,"timestamp_seconds":1793794653,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67e3b48"} 
[2026-11-04 17:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 17:50: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-11-04 17: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-11-04 17:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211425792001,"66":28332,"100":206,"27":54016,"24":0,"16":20797623216635904,"44":-5428244893832689664},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-11-04 17:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211425792001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:50:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 17:50:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5428244893832689664,"description":"Unknown IO ID 44"} 
[2026-11-04 17:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211425792001,"power":28332,"unknown_100":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5428244893832689664}} 
[2026-11-04 17:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":229564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:50:14] local.INFO: GPS data processed {"connection_id":229564,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:50:14] local.INFO: Acknowledgment sent {"connection_id":229564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:50:16] local.INFO: TCP Data received {"connection_id":229083,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67ef2e0012d45e580068fdb50004801442e..."} 
[2026-11-04 17:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67ef2e0012d45e580068fdb50004801442e..."} 
[2026-11-04 17:50:16] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67ef2e0012d45e580068fdb50004801442e..."} 
[2026-11-04 17:50:16] local.INFO: Packet analysis {"connection_id":229083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:50:16] local.INFO: Extracted packet for processing {"connection_id":229083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":759555456,"raw_latitude":110091088,"longitude_deg":75.9555456,"latitude_deg":11.0091088,"altitude":72,"angle":324,"satellites":46,"speed":59,"hex_longitude":"2d45e580","hex_latitude":"068fdb50","is_valid_coordinates":true} 
[2026-11-04 17:50: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-11-04 17:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211441664001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39177699536666624,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5042272392231929856,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:16] 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-11-04 17:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793794700000,"timestamp_ms":1793794700000,"timestamp_seconds":1793794700,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67ef2e0"} 
[2026-11-04 17:50:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:50: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-11-04 17:50: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-11-04 17:50: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-11-04 17:50:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211441664001,"66":27800,"178":206,"19":48128,"24":59,"16":39177699536666624,"45":5042272392231929856},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-11-04 17:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211441664001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:50:16] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-11-04 17:50:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39177699536666624,"km_value":39177699536666.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5042272392231929856,"description":"Unknown IO ID 45"} 
[2026-11-04 17:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211441664001,"power":27800,"unknown_178":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":5042272392231929856}} 
[2026-11-04 17:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":229083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":59999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:50:16] local.INFO: GPS data processed {"connection_id":229083,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:50:16] local.INFO: Acknowledgment sent {"connection_id":229083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:50:46] local.INFO: TCP Data received {"connection_id":229564,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a67e6640012cb41c0007756b08002800eb2f..."} 
[2026-11-04 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a67e6640012cb41c0007756b08002800eb2f..."} 
[2026-11-04 17:50:46] local.INFO: Processing buffer {"connection_id":229564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a67e6640012cb41c0007756b08002800eb2f..."} 
[2026-11-04 17:50:46] local.INFO: Packet analysis {"connection_id":229564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:50:46] local.INFO: Extracted packet for processing {"connection_id":229564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a67e"} 
[2026-11-04 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":750001152,"raw_latitude":125135624,"longitude_deg":75.0001152,"latitude_deg":12.5135624,"altitude":40,"angle":235,"satellites":47,"speed":10,"hex_longitude":"2cb41c00","hex_latitude":"07756b08","is_valid_coordinates":true} 
[2026-11-04 17:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211431168001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5451325841920112640,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793794664000,"timestamp_ms":1793794664000,"timestamp_seconds":1793794664,"priority":1,"record_length":96,"hex_timestamp":"000001a1a67e6640"} 
[2026-11-04 17:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:50:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-11-04 17:50:46] 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-11-04 17:50:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229564,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211431168001,"66":28300,"100":206,"27":54016,"24":10,"16":20797623216635904,"44":-5451325841920112640},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-11-04 17:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211431168001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:50:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 17:50:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:50:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5451325841920112640,"description":"Unknown IO ID 44"} 
[2026-11-04 17:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211431168001,"power":28300,"unknown_100":206,"unknown_27":54016,"ignition":10,"odometer":null,"unknown_44":-5451325841920112640}} 
[2026-11-04 17:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":229564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:50:46] local.INFO: GPS data processed {"connection_id":229564,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:50:46] local.INFO: Acknowledgment sent {"connection_id":229564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:50:50] local.INFO: TCP Data received {"connection_id":229083,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6805e28012d44b880069195b80039015e2d..."} 
[2026-11-04 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6805e28012d44b880069195b80039015e2d..."} 
[2026-11-04 17:50:50] local.INFO: Processing buffer {"connection_id":229083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6805e28012d44b880069195b80039015e2d..."} 
[2026-11-04 17:50:50] local.INFO: Packet analysis {"connection_id":229083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:50:50] local.INFO: Extracted packet for processing {"connection_id":229083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":759478400,"raw_latitude":110204344,"longitude_deg":75.94784,"latitude_deg":11.0204344,"altitude":57,"angle":350,"satellites":45,"speed":61,"hex_longitude":"2d44b880","hex_latitude":"069195b8","is_valid_coordinates":true} 
[2026-11-04 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211465472001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39184403980615680,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4954029987061745664,"note":"Value kept but may cause issues"} 
[2026-11-04 17:50:50] 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-11-04 17:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793794793000,"timestamp_ms":1793794793000,"timestamp_seconds":1793794793,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6805e28"} 
[2026-11-04 17:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 17:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211465472001,"66":27995,"179":206,"19":48128,"24":61,"16":39184403980615680,"45":4954029987061745664},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-11-04 17:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211465472001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:50:50] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 17:50:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39184403980615680,"km_value":39184403980615.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4954029987061745664,"description":"Unknown IO ID 45"} 
[2026-11-04 17:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211465472001,"power":27995,"unknown_179":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4954029987061745664}} 
[2026-11-04 17:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":229083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:50:50] local.INFO: GPS data processed {"connection_id":229083,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:50:50] local.INFO: Acknowledgment sent {"connection_id":229083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:51:06] local.INFO: TCP Data received {"connection_id":230872,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:06] local.INFO: Processing buffer {"connection_id":230872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:06] local.INFO: IMEI packet received {"connection_id":230872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":230872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:51:10] local.INFO: TCP Data received {"connection_id":230872,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:10] local.INFO: Processing buffer {"connection_id":230872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:10] local.INFO: IMEI packet received {"connection_id":230872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":230872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:51:11] local.INFO: TCP Data received {"connection_id":230872,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:11] local.INFO: Processing buffer {"connection_id":230872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:51:11] local.INFO: IMEI packet received {"connection_id":230872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":230872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:51:14] local.INFO: TCP Data received {"connection_id":229565,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:51:14] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:51:14] local.INFO: IMEI packet received {"connection_id":229565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":229565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:51:15] local.INFO: TCP Data received {"connection_id":229565,"ip":"117.224.108.44","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 17:51:15] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 17:51:15] local.INFO: IMEI packet received {"connection_id":229565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":229565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:51:15] local.INFO: TCP Data received {"connection_id":230872,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6807598012d44b5400691ba08003601652e..."} 
[2026-11-04 17:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6807598012d44b5400691ba08003601652e..."} 
[2026-11-04 17:51:15] local.INFO: Processing buffer {"connection_id":230872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6807598012d44b5400691ba08003601652e..."} 
[2026-11-04 17:51:15] local.INFO: Packet analysis {"connection_id":230872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:51:15] local.INFO: Extracted packet for processing {"connection_id":230872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:51:15] local.INFO: GPS Element Parsed {"raw_longitude":759477568,"raw_latitude":110213640,"longitude_deg":75.9477568,"latitude_deg":11.021364,"altitude":54,"angle":357,"satellites":46,"speed":62,"hex_longitude":"2d44b540","hex_latitude":"0691ba08","is_valid_coordinates":true} 
[2026-11-04 17:51: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-11-04 17:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211467008001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39184854952181760,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951848555994527744,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:15] 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-11-04 17:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793794799000,"timestamp_ms":1793794799000,"timestamp_seconds":1793794799,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6807598"} 
[2026-11-04 17:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:51: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-11-04 17:51: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-11-04 17:51: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-11-04 17:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211467008001,"66":28028,"179":206,"19":48128,"24":62,"16":39184854952181760,"45":4951848555994527744},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-11-04 17:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211467008001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:51:15] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 17:51:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39184854952181760,"km_value":39184854952181.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951848555994527744,"description":"Unknown IO ID 45"} 
[2026-11-04 17:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211467008001,"power":28028,"unknown_179":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":4951848555994527744}} 
[2026-11-04 17:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":230872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:51:15] local.INFO: GPS data processed {"connection_id":230872,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:51:15] local.INFO: Acknowledgment sent {"connection_id":230872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:51:19] local.INFO: TCP Data received {"connection_id":229565,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:51:19] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 17:51:19] local.INFO: IMEI packet received {"connection_id":229565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":229565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:51:20] local.INFO: TCP Data received {"connection_id":229565,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a680b030012cb350c007746328002700e123..."} 
[2026-11-04 17:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a680b030012cb350c007746328002700e123..."} 
[2026-11-04 17:51:20] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a000001a1a6..."} 
[2026-11-04 17:51:20] local.INFO: IMEI packet received {"connection_id":229565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":229565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:51:21] local.INFO: TCP Data received {"connection_id":230872,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6808d08012d44b3400691df48003301652f..."} 
[2026-11-04 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6808d08012d44b3400691df48003301652f..."} 
[2026-11-04 17:51:21] local.INFO: Processing buffer {"connection_id":230872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6808d08012d44b3400691df48003301652f..."} 
[2026-11-04 17:51:21] local.INFO: Packet analysis {"connection_id":230872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:51:21] local.INFO: Extracted packet for processing {"connection_id":230872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:51:21] local.INFO: GPS Element Parsed {"raw_longitude":759477056,"raw_latitude":110223176,"longitude_deg":75.9477056,"latitude_deg":11.0223176,"altitude":51,"angle":357,"satellites":47,"speed":63,"hex_longitude":"2d44b340","hex_latitude":"0691df48","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211468544001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39185318808649728,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4950933762322597888,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:21] 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-11-04 17:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793794805000,"timestamp_ms":1793794805000,"timestamp_seconds":1793794805,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6808d08"} 
[2026-11-04 17:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 17:51:21] 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-11-04 17: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-11-04 17:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211468544001,"66":27821,"179":206,"19":48128,"24":63,"16":39185318808649728,"45":4950933762322597888},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-11-04 17:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211468544001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:51:21] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-11-04 17:51:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39185318808649728,"km_value":39185318808649.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4950933762322597888,"description":"Unknown IO ID 45"} 
[2026-11-04 17:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211468544001,"power":27821,"unknown_179":206,"unknown_19":48128,"ignition":63,"odometer":null,"unknown_45":4950933762322597888}} 
[2026-11-04 17:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":230872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:51:21] local.INFO: GPS data processed {"connection_id":230872,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:51:21] local.INFO: Acknowledgment sent {"connection_id":230872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:51:23] local.INFO: TCP Data received {"connection_id":229565,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6810238012cb321c0077448b8002100fd29..."} 
[2026-11-04 17:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6810238012cb321c0077448b8002100fd29..."} 
[2026-11-04 17:51:23] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a1a680b030012cb350c007746328002700e123..."} 
[2026-11-04 17:51:23] local.INFO: Packet analysis {"connection_id":229565,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:51:23] local.INFO: Extracted packet for processing {"connection_id":229565,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a680"} 
[2026-11-04 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":749949120,"raw_latitude":125068072,"longitude_deg":74.994912,"latitude_deg":12.5068072,"altitude":39,"angle":225,"satellites":35,"speed":26,"hex_longitude":"2cb350c0","hex_latitude":"07746328","is_valid_coordinates":true} 
[2026-11-04 17:51: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-11-04 17:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,136,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793794814000,"timestamp_ms":1793794814000,"timestamp_seconds":1793794814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a680b030"} 
[2026-11-04 17:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:51: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":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:51:23] 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-11-04 17:51: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-11-04 17:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"136":206,"27":54016,"24":26,"16":20797623216635904},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,27,24,16]} 
[2026-11-04 17:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 17:51:23] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 17:51:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:51:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_136":206,"unknown_27":54016,"ignition":26,"odometer":null}} 
[2026-11-04 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":229565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:51:24] local.INFO: GPS data processed {"connection_id":229565,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:51:24] local.INFO: Acknowledgment sent {"connection_id":229565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:51:24] local.INFO: Packet analysis {"connection_id":229565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:51:24] local.INFO: Extracted packet for processing {"connection_id":229565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":749937088,"raw_latitude":125061304,"longitude_deg":74.9937088,"latitude_deg":12.5061304,"altitude":33,"angle":253,"satellites":41,"speed":26,"hex_longitude":"2cb321c0","hex_latitude":"077448b8","is_valid_coordinates":true} 
[2026-11-04 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211472384001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5525705604533639168,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793794835000,"timestamp_ms":1793794835000,"timestamp_seconds":1793794835,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6810238"} 
[2026-11-04 17:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 17:51:24] 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-11-04 17:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211472384001,"66":28452,"136":206,"27":54016,"24":26,"16":20797623216635904,"44":-5525705604533639168},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,27,24,16,44]} 
[2026-11-04 17:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211472384001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:51:24] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 17:51:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:51:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5525705604533639168,"description":"Unknown IO ID 44"} 
[2026-11-04 17:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211472384001,"power":28452,"unknown_136":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5525705604533639168}} 
[2026-11-04 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":229565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60005,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:51:24] local.INFO: GPS data processed {"connection_id":229565,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:51:24] local.INFO: Acknowledgment sent {"connection_id":229565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:51:29] local.INFO: TCP Data received {"connection_id":229565,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6810238012cb321c0077448b8002100fd29..."} 
[2026-11-04 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6810238012cb321c0077448b8002100fd29..."} 
[2026-11-04 17:51:29] local.INFO: Processing buffer {"connection_id":229565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6810238012cb321c0077448b8002100fd29..."} 
[2026-11-04 17:51:29] local.INFO: Packet analysis {"connection_id":229565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:51:29] local.INFO: Extracted packet for processing {"connection_id":229565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":749937088,"raw_latitude":125061304,"longitude_deg":74.9937088,"latitude_deg":12.5061304,"altitude":33,"angle":253,"satellites":41,"speed":26,"hex_longitude":"2cb321c0","hex_latitude":"077448b8","is_valid_coordinates":true} 
[2026-11-04 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211477760001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538934928440772608,"note":"Value kept but may cause issues"} 
[2026-11-04 17:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793794835000,"timestamp_ms":1793794835000,"timestamp_seconds":1793794835,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6810238"} 
[2026-11-04 17:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 17:51:29] 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-11-04 17:51:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211477760001,"66":28452,"136":206,"27":54016,"24":26,"16":20797623216635904,"44":-5538934928440772608},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,27,24,16,44]} 
[2026-11-04 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211477760001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:51:29] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-11-04 17:51:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538934928440772608,"description":"Unknown IO ID 44"} 
[2026-11-04 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211477760001,"power":28452,"unknown_136":206,"unknown_27":54016,"ignition":26,"odometer":null,"unknown_44":-5538934928440772608}} 
[2026-11-04 17:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":229565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:51:29] local.INFO: GPS data processed {"connection_id":229565,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:51:29] local.INFO: Acknowledgment sent {"connection_id":229565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:52:08] local.INFO: TCP Data received {"connection_id":232721,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:52:08] local.INFO: Processing buffer {"connection_id":232721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:52:08] local.INFO: IMEI packet received {"connection_id":232721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":232721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:52:13] local.INFO: TCP Data received {"connection_id":232721,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:52:13] local.INFO: Processing buffer {"connection_id":232721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:52:13] local.INFO: IMEI packet received {"connection_id":232721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":232721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:52:14] local.INFO: TCP Data received {"connection_id":232721,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6814c70012cb2d0c0077447b80017011f25..."} 
[2026-11-04 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6814c70012cb2d0c0077447b80017011f25..."} 
[2026-11-04 17:52:14] local.INFO: Processing buffer {"connection_id":232721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6814c70012cb2d0c0077447b80017011f25..."} 
[2026-11-04 17:52:14] local.INFO: Packet analysis {"connection_id":232721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:52:14] local.INFO: Extracted packet for processing {"connection_id":232721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":749916352,"raw_latitude":125061048,"longitude_deg":74.9916352,"latitude_deg":12.5061048,"altitude":23,"angle":287,"satellites":37,"speed":51,"hex_longitude":"2cb2d0c0","hex_latitude":"077447b8","is_valid_coordinates":true} 
[2026-11-04 17:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211477760001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:52:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5538934928440772608,"note":"Value kept but may cause issues"} 
[2026-11-04 17:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793794854000,"timestamp_ms":1793794854000,"timestamp_seconds":1793794854,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6814c70"} 
[2026-11-04 17:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 17:52:14] 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-11-04 17:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211477760001,"66":28256,"6":206,"27":54016,"24":51,"16":20797623216635904,"44":-5538934928440772608},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-11-04 17:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211477760001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:52:14] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 17:52:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:52:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5538934928440772608,"description":"Unknown IO ID 44"} 
[2026-11-04 17:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211477760001,"power":28256,"unknown_6":206,"unknown_27":54016,"ignition":51,"odometer":null,"unknown_44":-5538934928440772608}} 
[2026-11-04 17:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":232721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:52:14] local.INFO: GPS data processed {"connection_id":232721,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:52:14] local.INFO: Acknowledgment sent {"connection_id":232721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:52:16] local.INFO: TCP Data received {"connection_id":232722,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:52:16] local.INFO: Processing buffer {"connection_id":232722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:52:16] local.INFO: IMEI packet received {"connection_id":232722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":232722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:52:17] local.INFO: TCP Data received {"connection_id":232722,"ip":"117.224.67.174","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 17:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232722,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 17:52:17] local.INFO: Processing buffer {"connection_id":232722,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 17:52:17] local.INFO: IMEI packet received {"connection_id":232722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":232722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:52:18] local.INFO: TCP Data received {"connection_id":232722,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:52:18] local.INFO: Processing buffer {"connection_id":232722,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 17:52:18] local.INFO: IMEI packet received {"connection_id":232722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":232722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:52:50] local.INFO: TCP Data received {"connection_id":232721,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6819e78012cb29200077467a00012012923..."} 
[2026-11-04 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6819e78012cb29200077467a00012012923..."} 
[2026-11-04 17:52:50] local.INFO: Processing buffer {"connection_id":232721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6819e78012cb29200077467a00012012923..."} 
[2026-11-04 17:52:50] local.INFO: Packet analysis {"connection_id":232721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:52:50] local.INFO: Extracted packet for processing {"connection_id":232721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":749900288,"raw_latitude":125069216,"longitude_deg":74.9900288,"latitude_deg":12.5069216,"altitude":18,"angle":297,"satellites":35,"speed":0,"hex_longitude":"2cb29200","hex_latitude":"077467a0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211482624001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5561734401554401280,"note":"Value kept but may cause issues"} 
[2026-11-04 17:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793794875000,"timestamp_ms":1793794875000,"timestamp_seconds":1793794875,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6819e78"} 
[2026-11-04 17:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 17:52:50] 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-11-04 17: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-11-04 17:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211482624001,"66":28430,"6":206,"27":54016,"24":0,"16":20797623216635904,"44":-5561734401554401280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-11-04 17:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211482624001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:52:50] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 17:52:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5561734401554401280,"description":"Unknown IO ID 44"} 
[2026-11-04 17:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211482624001,"power":28430,"unknown_6":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5561734401554401280}} 
[2026-11-04 17:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":232721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:52:50] local.INFO: GPS data processed {"connection_id":232721,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:52:50] local.INFO: Acknowledgment sent {"connection_id":232721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:53:19] local.INFO: TCP Data received {"connection_id":232723,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:53:19] local.INFO: Processing buffer {"connection_id":232723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:53:19] local.INFO: IMEI packet received {"connection_id":232723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":232723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:53:27] local.INFO: TCP Data received {"connection_id":232723,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:53:27] local.INFO: Processing buffer {"connection_id":232723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:53:27] local.INFO: IMEI packet received {"connection_id":232723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":232723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:53:31] local.INFO: TCP Data received {"connection_id":232723,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a681f080012cb25440077484480010012b26..."} 
[2026-11-04 17:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a681f080012cb25440077484480010012b26..."} 
[2026-11-04 17:53:31] local.INFO: Processing buffer {"connection_id":232723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a681f080012cb25440077484480010012b26..."} 
[2026-11-04 17:53:31] local.INFO: Packet analysis {"connection_id":232723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:53:31] local.INFO: Extracted packet for processing {"connection_id":232723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a681"} 
[2026-11-04 17:53:31] local.INFO: GPS Element Parsed {"raw_longitude":749884480,"raw_latitude":125076552,"longitude_deg":74.988448,"latitude_deg":12.5076552,"altitude":16,"angle":299,"satellites":38,"speed":0,"hex_longitude":"2cb25440","hex_latitude":"07748448","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211488000001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797623216635904,"note":"Value kept but may cause issues"} 
[2026-11-04 17:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5579396956340903936,"note":"Value kept but may cause issues"} 
[2026-11-04 17:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1793794896000,"timestamp_ms":1793794896000,"timestamp_seconds":1793794896,"priority":1,"record_length":96,"hex_timestamp":"000001a1a681f080"} 
[2026-11-04 17:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-11-04 17:53: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-11-04 17: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-11-04 17:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":232723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":232723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":232723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211488000001,"66":28343,"6":206,"27":54016,"24":0,"16":20797623216635904,"44":-5579396956340903936},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-11-04 17:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211488000001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:53:31] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 17:53:31] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797623216635904,"km_value":20797623216635.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5579396956340903936,"description":"Unknown IO ID 44"} 
[2026-11-04 17:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211488000001,"power":28343,"unknown_6":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5579396956340903936}} 
[2026-11-04 17:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":232723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:53:31] local.INFO: GPS data processed {"connection_id":232723,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:53:31] local.INFO: Acknowledgment sent {"connection_id":232723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:53:32] local.INFO: TCP Data received {"connection_id":232723,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6821790012cb24b00077490c8000e000a27..."} 
[2026-11-04 17:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6821790012cb24b00077490c8000e000a27..."} 
[2026-11-04 17:53:32] local.INFO: Processing buffer {"connection_id":232723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6821790012cb24b00077490c8000e000a27..."} 
[2026-11-04 17:53:32] local.INFO: Packet analysis {"connection_id":232723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a682"} 
[2026-11-04 17:53:32] local.INFO: Extracted packet for processing {"connection_id":232723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a682"} 
[2026-11-04 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":749882112,"raw_latitude":125079752,"longitude_deg":74.9882112,"latitude_deg":12.5079752,"altitude":14,"angle":10,"satellites":39,"speed":4,"hex_longitude":"2cb24b00","hex_latitude":"077490c8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211493376001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797816490164224,"note":"Value kept but may cause issues"} 
[2026-11-04 17:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5596778036150908928,"note":"Value kept but may cause issues"} 
[2026-11-04 17:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793794906000,"timestamp_ms":1793794906000,"timestamp_seconds":1793794906,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6821790"} 
[2026-11-04 17:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 17:53: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-11-04 17: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-11-04 17:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":232723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":232723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":232723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211493376001,"66":28376,"6":206,"27":54016,"24":4,"16":20797816490164224,"44":-5596778036150908928},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-11-04 17:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211493376001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:53:33] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 17:53:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797816490164224,"km_value":20797816490164.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:53:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5596778036150908928,"description":"Unknown IO ID 44"} 
[2026-11-04 17:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211493376001,"power":28376,"unknown_6":206,"unknown_27":54016,"ignition":4,"odometer":null,"unknown_44":-5596778036150908928}} 
[2026-11-04 17:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":232723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:53:33] local.INFO: GPS data processed {"connection_id":232723,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:53:33] local.INFO: Acknowledgment sent {"connection_id":232723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:54:08] local.INFO: TCP Data received {"connection_id":230873,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:54:08] local.INFO: Processing buffer {"connection_id":230873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:54:08] local.INFO: IMEI packet received {"connection_id":230873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":230873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:54:11] local.INFO: TCP Data received {"connection_id":230873,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:54:11] local.INFO: Processing buffer {"connection_id":230873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:54:11] local.INFO: IMEI packet received {"connection_id":230873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":230873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:54:13] local.INFO: TCP Data received {"connection_id":230873,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6826998012cb24b00077491b8000d000a2a..."} 
[2026-11-04 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6826998012cb24b00077491b8000d000a2a..."} 
[2026-11-04 17:54:13] local.INFO: Processing buffer {"connection_id":230873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6826998012cb24b00077491b8000d000a2a..."} 
[2026-11-04 17:54:13] local.INFO: Packet analysis {"connection_id":230873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a682"} 
[2026-11-04 17:54:13] local.INFO: Extracted packet for processing {"connection_id":230873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a682"} 
[2026-11-04 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":749882112,"raw_latitude":125079992,"longitude_deg":74.9882112,"latitude_deg":12.5079992,"altitude":13,"angle":10,"satellites":42,"speed":0,"hex_longitude":"2cb24b00","hex_latitude":"077491b8","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211495936001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599381679684663296,"note":"Value kept but may cause issues"} 
[2026-11-04 17:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793794927000,"timestamp_ms":1793794927000,"timestamp_seconds":1793794927,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6826998"} 
[2026-11-04 17:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":216,"data_length":795,"current_offset":136} 
[2026-11-04 17:54: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-11-04 17: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-11-04 17:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211495936001,"66":28300,"6":206,"27":54016,"24":0,"16":20797825080098816,"44":-5599381679684663296},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-11-04 17:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211495936001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:54:13] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 17:54:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599381679684663296,"description":"Unknown IO ID 44"} 
[2026-11-04 17:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211495936001,"power":28300,"unknown_6":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5599381679684663296}} 
[2026-11-04 17:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":230873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:54:13] local.INFO: GPS data processed {"connection_id":230873,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:54:13] local.INFO: Acknowledgment sent {"connection_id":230873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:54:45] local.INFO: TCP Data received {"connection_id":230873,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a682afe8012cb26a400774c2a00014001e2b..."} 
[2026-11-04 17:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a682afe8012cb26a400774c2a00014001e2b..."} 
[2026-11-04 17:54:45] local.INFO: Processing buffer {"connection_id":230873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a682afe8012cb26a400774c2a00014001e2b..."} 
[2026-11-04 17:54:45] local.INFO: Packet analysis {"connection_id":230873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a682"} 
[2026-11-04 17:54:45] local.INFO: Extracted packet for processing {"connection_id":230873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a682"} 
[2026-11-04 17:54:45] local.INFO: GPS Element Parsed {"raw_longitude":749890112,"raw_latitude":125092512,"longitude_deg":74.9890112,"latitude_deg":12.5092512,"altitude":20,"angle":30,"satellites":43,"speed":27,"hex_longitude":"2cb26a40","hex_latitude":"0774c2a0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211501312001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:54:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5599381679684601856,"note":"Value kept but may cause issues"} 
[2026-11-04 17:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793794945000,"timestamp_ms":1793794945000,"timestamp_seconds":1793794945,"priority":1,"record_length":96,"hex_timestamp":"000001a1a682afe8"} 
[2026-11-04 17:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 17:54: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-11-04 17: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-11-04 17:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211501312001,"66":28354,"6":206,"27":54016,"24":27,"16":20797825080098816,"44":-5599381679684601856},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-11-04 17:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211501312001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:54:45] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 17:54:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:54:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5599381679684601856,"description":"Unknown IO ID 44"} 
[2026-11-04 17:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211501312001,"power":28354,"unknown_6":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5599381679684601856}} 
[2026-11-04 17:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":230873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:54:45] local.INFO: GPS data processed {"connection_id":230873,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:54:45] local.INFO: Acknowledgment sent {"connection_id":230873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:55:08] local.INFO: TCP Data received {"connection_id":230875,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:55:08] local.INFO: Processing buffer {"connection_id":230875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:55:08] local.INFO: IMEI packet received {"connection_id":230875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":230875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:55:13] local.INFO: TCP Data received {"connection_id":230875,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:55:13] local.INFO: Processing buffer {"connection_id":230875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:55:13] local.INFO: IMEI packet received {"connection_id":230875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":230875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:55:14] local.INFO: TCP Data received {"connection_id":230875,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68392780100000000000000000000000000..."} 
[2026-11-04 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68392780100000000000000000000000000..."} 
[2026-11-04 17:55:14] local.INFO: Processing buffer {"connection_id":230875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68392780100000000000000000000000000..."} 
[2026-11-04 17:55:14] local.INFO: Packet analysis {"connection_id":230875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:55:14] local.INFO: Extracted packet for processing {"connection_id":230875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17: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-11-04 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211505920001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:55:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5590585586659188736,"note":"Value kept but may cause issues"} 
[2026-11-04 17:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793795003000,"timestamp_ms":1793795003000,"timestamp_seconds":1793795003,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6839278"} 
[2026-11-04 17:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 17:55: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-11-04 17:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":230875,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 17:55:14] local.INFO: GPS data processed {"connection_id":230875,"processed":0,"errors":0,"total":1} 
[2026-11-04 17:55:14] local.INFO: Acknowledgment sent {"connection_id":230875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:55:46] local.INFO: TCP Data received {"connection_id":230875,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68305d8012cb28b800774f500001a001f2e..."} 
[2026-11-04 17:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68305d8012cb28b800774f500001a001f2e..."} 
[2026-11-04 17:55:46] local.INFO: Processing buffer {"connection_id":230875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68305d8012cb28b800774f500001a001f2e..."} 
[2026-11-04 17:55:46] local.INFO: Packet analysis {"connection_id":230875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:55:46] local.INFO: Extracted packet for processing {"connection_id":230875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":749898624,"raw_latitude":125105408,"longitude_deg":74.9898624,"latitude_deg":12.5105408,"altitude":26,"angle":31,"satellites":46,"speed":20,"hex_longitude":"2cb28b80","hex_latitude":"0774f500","is_valid_coordinates":true} 
[2026-11-04 17:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:55:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,241,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793794967000,"timestamp_ms":1793794967000,"timestamp_seconds":1793794967,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68305d8"} 
[2026-11-04 17:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-11-04 17:55: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-11-04 17:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"241":206,"27":54016,"24":20,"16":20797825080098816},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16]} 
[2026-11-04 17:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 17:55:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:55:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:55:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_241":206,"unknown_27":54016,"ignition":20,"odometer":null}} 
[2026-11-04 17:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":230875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:55:46] local.INFO: GPS data processed {"connection_id":230875,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:55:46] local.INFO: Acknowledgment sent {"connection_id":230875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:56:13] local.INFO: TCP Data received {"connection_id":232724,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:56:13] local.INFO: Processing buffer {"connection_id":232724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:56:13] local.INFO: IMEI packet received {"connection_id":232724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":232724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:56:18] local.INFO: TCP Data received {"connection_id":232724,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:56:18] local.INFO: Processing buffer {"connection_id":232724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:56:18] local.INFO: IMEI packet received {"connection_id":232724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":232724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:56:20] local.INFO: TCP Data received {"connection_id":232724,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a683e8680100000000000000000000000000..."} 
[2026-11-04 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a683e8680100000000000000000000000000..."} 
[2026-11-04 17:56:20] local.INFO: Processing buffer {"connection_id":232724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a683e8680100000000000000000000000000..."} 
[2026-11-04 17:56:20] local.INFO: Packet analysis {"connection_id":232724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:56:20] local.INFO: Extracted packet for processing {"connection_id":232724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:56: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-11-04 17:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211511552001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5581226543680258048,"note":"Value kept but may cause issues"} 
[2026-11-04 17:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793795025000,"timestamp_ms":1793795025000,"timestamp_seconds":1793795025,"priority":1,"record_length":96,"hex_timestamp":"000001a1a683e868"} 
[2026-11-04 17:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 17:56:20] 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-11-04 17:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":232724,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 17:56:20] local.INFO: GPS data processed {"connection_id":232724,"processed":0,"errors":0,"total":1} 
[2026-11-04 17:56:20] local.INFO: Acknowledgment sent {"connection_id":232724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:56:24] local.INFO: TCP Data received {"connection_id":232724,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6836780012cb2a48007751568001900182f..."} 
[2026-11-04 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6836780012cb2a48007751568001900182f..."} 
[2026-11-04 17:56:24] local.INFO: Processing buffer {"connection_id":232724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6836780012cb2a48007751568001900182f..."} 
[2026-11-04 17:56:24] local.INFO: Packet analysis {"connection_id":232724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:56:24] local.INFO: Extracted packet for processing {"connection_id":232724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:56:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,241,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 17:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793794992000,"timestamp_ms":1793794992000,"timestamp_seconds":1793794992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6836780"} 
[2026-11-04 17:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 17:56:24] 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-11-04 17: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-11-04 17:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"241":206,"27":54016,"24":0,"16":20797825080098816},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16]} 
[2026-11-04 17:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 17:56:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:56:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:56:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null}} 
[2026-11-04 17:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":232724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:56:24] local.INFO: GPS data processed {"connection_id":232724,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:56:24] local.INFO: Acknowledgment sent {"connection_id":232724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:57:09] local.INFO: TCP Data received {"connection_id":232726,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:57:09] local.INFO: Processing buffer {"connection_id":232726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:57:09] local.INFO: IMEI packet received {"connection_id":232726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":232726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:57:13] local.INFO: TCP Data received {"connection_id":232726,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:57:13] local.INFO: Processing buffer {"connection_id":232726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:57:13] local.INFO: IMEI packet received {"connection_id":232726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":232726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:57:14] local.INFO: TCP Data received {"connection_id":232726,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a683b988012cb2a48007751568001900182f..."} 
[2026-11-04 17:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a683b988012cb2a48007751568001900182f..."} 
[2026-11-04 17:57:14] local.INFO: Processing buffer {"connection_id":232726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a683b988012cb2a48007751568001900182f..."} 
[2026-11-04 17:57:14] local.INFO: Packet analysis {"connection_id":232726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:57:14] local.INFO: Extracted packet for processing {"connection_id":232726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a683"} 
[2026-11-04 17:57:14] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211517952001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793795013000,"timestamp_ms":1793795013000,"timestamp_seconds":1793795013,"priority":1,"record_length":96,"hex_timestamp":"000001a1a683b988"} 
[2026-11-04 17:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 17:57: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-11-04 17: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-11-04 17:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211517952001,"66":28343,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 17:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211517952001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:57:14] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:57:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:57:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 17:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211517952001,"power":28343,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 17:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":232726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:57:15] local.INFO: GPS data processed {"connection_id":232726,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:57:15] local.INFO: Acknowledgment sent {"connection_id":232726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:57:21] local.INFO: TCP Data received {"connection_id":232725,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:57:21] local.INFO: Processing buffer {"connection_id":232725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:57:21] local.INFO: IMEI packet received {"connection_id":232725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":232725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:57:24] local.INFO: TCP Data received {"connection_id":232725,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a685d880012d41e340069820f0002801272c..."} 
[2026-11-04 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a685d880012d41e340069820f0002801272c..."} 
[2026-11-04 17:57:24] local.INFO: Processing buffer {"connection_id":232725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a685d880012d41e340069820f0002801272c..."} 
[2026-11-04 17:57:24] local.INFO: Packet analysis {"connection_id":232725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a685"} 
[2026-11-04 17:57:24] local.INFO: Extracted packet for processing {"connection_id":232725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a685"} 
[2026-11-04 17:57:24] local.INFO: GPS Element Parsed {"raw_longitude":759292736,"raw_latitude":110633200,"longitude_deg":75.9292736,"latitude_deg":11.06332,"altitude":40,"angle":295,"satellites":44,"speed":69,"hex_longitude":"2d41e340","hex_latitude":"069820f0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211557376001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39209924676288512,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4758404878358931456,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793795152000,"timestamp_ms":1793795152000,"timestamp_seconds":1793795152,"priority":1,"record_length":96,"hex_timestamp":"000001a1a685d880"} 
[2026-11-04 17:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 17:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211557376001,"66":27843,"29":206,"19":48128,"24":69,"16":39209924676288512,"45":4758404878358931456},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-11-04 17:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211557376001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-11-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39209924676288512,"km_value":39209924676288.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4758404878358931456,"description":"Unknown IO ID 45"} 
[2026-11-04 17:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211557376001,"power":27843,"unknown_29":206,"unknown_19":48128,"ignition":69,"odometer":null,"unknown_45":4758404878358931456}} 
[2026-11-04 17:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":232725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:57:24] local.INFO: GPS data processed {"connection_id":232725,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:57:24] local.INFO: Acknowledgment sent {"connection_id":232725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:57:46] local.INFO: TCP Data received {"connection_id":232726,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6840b90012cb2a48007751568001900182f..."} 
[2026-11-04 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6840b90012cb2a48007751568001900182f..."} 
[2026-11-04 17:57:46] local.INFO: Processing buffer {"connection_id":232726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6840b90012cb2a48007751568001900182f..."} 
[2026-11-04 17:57:46] local.INFO: Packet analysis {"connection_id":232726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:57:46] local.INFO: Extracted packet for processing {"connection_id":232726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211523328001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 17:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793795034000,"timestamp_ms":1793795034000,"timestamp_seconds":1793795034,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6840b90"} 
[2026-11-04 17:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-11-04 17:57: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-11-04 17:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211523328001,"66":28104,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 17:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211523328001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:57:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:57:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:57:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 17:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211523328001,"power":28104,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 17:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":232726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:57:46] local.INFO: GPS data processed {"connection_id":232726,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:57:46] local.INFO: Acknowledgment sent {"connection_id":232726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:58:06] local.INFO: TCP Data received {"connection_id":232727,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:06] local.INFO: Processing buffer {"connection_id":232727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:06] local.INFO: IMEI packet received {"connection_id":232727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":232727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:58:08] local.INFO: TCP Data received {"connection_id":230876,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:58:08] local.INFO: Processing buffer {"connection_id":230876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:58:08] local.INFO: IMEI packet received {"connection_id":230876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":230876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:58:08] local.INFO: TCP Data received {"connection_id":232727,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:08] local.INFO: Processing buffer {"connection_id":232727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:08] local.INFO: IMEI packet received {"connection_id":232727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":232727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:58:09] local.INFO: TCP Data received {"connection_id":232727,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:09] local.INFO: Processing buffer {"connection_id":232727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:09] local.INFO: IMEI packet received {"connection_id":232727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":232727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:58:11] local.INFO: TCP Data received {"connection_id":232727,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:11] local.INFO: Processing buffer {"connection_id":232727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:58:11] local.INFO: IMEI packet received {"connection_id":232727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":232727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:58:12] local.INFO: TCP Data received {"connection_id":232727,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a686e220012d408780069905f00025013531..."} 
[2026-11-04 17:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a686e220012d408780069905f00025013531..."} 
[2026-11-04 17:58:12] local.INFO: Processing buffer {"connection_id":232727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a686e220012d408780069905f00025013531..."} 
[2026-11-04 17:58:12] local.INFO: Packet analysis {"connection_id":232727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a686"} 
[2026-11-04 17:58:12] local.INFO: Extracted packet for processing {"connection_id":232727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a686"} 
[2026-11-04 17:58:12] local.INFO: GPS Element Parsed {"raw_longitude":759203712,"raw_latitude":110691824,"longitude_deg":75.9203712,"latitude_deg":11.0691824,"altitude":37,"angle":309,"satellites":49,"speed":59,"hex_longitude":"2d408780","hex_latitude":"069905f0","is_valid_coordinates":true} 
[2026-11-04 17:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211574784001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39215027097436160,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4657707205455263744,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:12] 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-11-04 17:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793795220000,"timestamp_ms":1793795220000,"timestamp_seconds":1793795220,"priority":1,"record_length":96,"hex_timestamp":"000001a1a686e220"} 
[2026-11-04 17:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 17:58: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-11-04 17:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211574784001,"66":27865,"79":206,"19":48128,"24":59,"16":39215027097436160,"45":4657707205455263744},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 17:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211574784001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:58:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 17:58:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39215027097436160,"km_value":39215027097436.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4657707205455263744,"description":"Unknown IO ID 45"} 
[2026-11-04 17:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211574784001,"power":27865,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4657707205455263744}} 
[2026-11-04 17:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":232727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:58:12] local.INFO: GPS data processed {"connection_id":232727,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:58:12] local.INFO: Acknowledgment sent {"connection_id":232727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:58:13] local.INFO: TCP Data received {"connection_id":230876,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:58:13] local.INFO: Processing buffer {"connection_id":230876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:58:13] local.INFO: IMEI packet received {"connection_id":230876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":230876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:58:15] local.INFO: TCP Data received {"connection_id":230876,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:58:15] local.INFO: Processing buffer {"connection_id":230876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:58:15] local.INFO: Packet analysis {"connection_id":230876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:58:15] local.INFO: Extracted packet for processing {"connection_id":230876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:58:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 17:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528704001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795035000,"timestamp_ms":1793795035000,"timestamp_seconds":1793795035,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6840f78"} 
[2026-11-04 17:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 17:58:15] 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-11-04 17: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-11-04 17:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528704001,"66":28354,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 17:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528704001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:58:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:58:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 17:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528704001,"power":28354,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 17:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":230876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:58:15] local.INFO: GPS data processed {"connection_id":230876,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:58:15] local.INFO: Acknowledgment sent {"connection_id":230876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:58:44] local.INFO: TCP Data received {"connection_id":232727,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a687a570012d3f7b8006993dc0001b00f72e..."} 
[2026-11-04 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a687a570012d3f7b8006993dc0001b00f72e..."} 
[2026-11-04 17:58:44] local.INFO: Processing buffer {"connection_id":232727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a687a570012d3f7b8006993dc0001b00f72e..."} 
[2026-11-04 17:58:44] local.INFO: Packet analysis {"connection_id":232727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a687"} 
[2026-11-04 17:58:44] local.INFO: Extracted packet for processing {"connection_id":232727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a687"} 
[2026-11-04 17:58:44] local.INFO: GPS Element Parsed {"raw_longitude":759135104,"raw_latitude":110706112,"longitude_deg":75.9135104,"latitude_deg":11.0706112,"altitude":27,"angle":247,"satellites":46,"speed":59,"hex_longitude":"2d3f7b80","hex_latitude":"06993dc0","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211587584001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39218669229703168,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4583679286586349568,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:44] 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-11-04 17:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793795270000,"timestamp_ms":1793795270000,"timestamp_seconds":1793795270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a687a570"} 
[2026-11-04 17:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":124,"data_length":795,"current_offset":136} 
[2026-11-04 17:58: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-11-04 17: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-11-04 17:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211587584001,"66":27908,"79":206,"19":48128,"24":59,"16":39218669229703168,"45":4583679286586349568},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 17:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211587584001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:58:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 17:58:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39218669229703168,"km_value":39218669229703.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4583679286586349568,"description":"Unknown IO ID 45"} 
[2026-11-04 17:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211587584001,"power":27908,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4583679286586349568}} 
[2026-11-04 17:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":232727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:58:44] local.INFO: GPS data processed {"connection_id":232727,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:58:44] local.INFO: Acknowledgment sent {"connection_id":232727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:58:49] local.INFO: TCP Data received {"connection_id":230876,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:58:49] local.INFO: Processing buffer {"connection_id":230876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:58:49] local.INFO: Packet analysis {"connection_id":230876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:58:49] local.INFO: Extracted packet for processing {"connection_id":230876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 17:58: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-11-04 17:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528704001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 17:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793795035000,"timestamp_ms":1793795035000,"timestamp_seconds":1793795035,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6840f78"} 
[2026-11-04 17:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 17:58:49] 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-11-04 17:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528704001,"66":28354,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528704001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:58:49] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:58:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528704001,"power":28354,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":230876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:58:49] local.INFO: GPS data processed {"connection_id":230876,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:58:49] local.INFO: Acknowledgment sent {"connection_id":230876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:59:08] local.INFO: TCP Data received {"connection_id":229085,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:59:08] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:59:08] local.INFO: IMEI packet received {"connection_id":229085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 17:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":229085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:59:11] local.INFO: TCP Data received {"connection_id":232728,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:11] local.INFO: Processing buffer {"connection_id":232728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:11] local.INFO: IMEI packet received {"connection_id":232728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 17:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":232728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 17:59:11] local.INFO: TCP Data received {"connection_id":232728,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:11] local.INFO: Processing buffer {"connection_id":232728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:11] local.INFO: IMEI packet received {"connection_id":232728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":232728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:59:13] local.INFO: TCP Data received {"connection_id":229085,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:59:13] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 17:59:13] local.INFO: IMEI packet received {"connection_id":229085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 17:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":229085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:59:15] local.INFO: TCP Data received {"connection_id":229085,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:59:15] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6840f78012cb2a48007751568001900182f..."} 
[2026-11-04 17:59:15] local.INFO: Packet analysis {"connection_id":229085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:59:15] local.INFO: Extracted packet for processing {"connection_id":229085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a684"} 
[2026-11-04 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528704001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795035000,"timestamp_ms":1793795035000,"timestamp_seconds":1793795035,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6840f78"} 
[2026-11-04 17:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 17:59:15] 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-11-04 17:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528704001,"66":28354,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 17:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528704001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:59:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:59:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:59:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 17:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528704001,"power":28354,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 17:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":229085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:59:15] local.INFO: GPS data processed {"connection_id":229085,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:59:15] local.INFO: Acknowledgment sent {"connection_id":229085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:59:16] local.INFO: TCP Data received {"connection_id":232728,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:16] local.INFO: Processing buffer {"connection_id":232728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 17:59:16] local.INFO: IMEI packet received {"connection_id":232728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 17:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":232728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 17:59:18] local.INFO: TCP Data received {"connection_id":232728,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a687c0c8012d3f558006992e48001a00f82d..."} 
[2026-11-04 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a687c0c8012d3f558006992e48001a00f82d..."} 
[2026-11-04 17:59:18] local.INFO: Processing buffer {"connection_id":232728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a687c0c8012d3f558006992e48001a00f82d..."} 
[2026-11-04 17:59:18] local.INFO: Packet analysis {"connection_id":232728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a687"} 
[2026-11-04 17:59:18] local.INFO: Extracted packet for processing {"connection_id":232728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a687"} 
[2026-11-04 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":759125376,"raw_latitude":110702152,"longitude_deg":75.9125376,"latitude_deg":11.0702152,"altitude":26,"angle":248,"satellites":45,"speed":59,"hex_longitude":"2d3f5580","hex_latitude":"06992e48","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211589120001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39219171740876800,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4574390612353990656,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:18] 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-11-04 17:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793795277000,"timestamp_ms":1793795277000,"timestamp_seconds":1793795277,"priority":1,"record_length":96,"hex_timestamp":"000001a1a687c0c8"} 
[2026-11-04 17:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 17:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 17: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-11-04 17:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211589120001,"66":27974,"79":206,"19":48128,"24":59,"16":39219171740876800,"45":4574390612353990656},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 17:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211589120001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:59:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 17:59:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39219171740876800,"km_value":39219171740876.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4574390612353990656,"description":"Unknown IO ID 45"} 
[2026-11-04 17:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211589120001,"power":27974,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4574390612353990656}} 
[2026-11-04 17:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":232728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:59:18] local.INFO: GPS data processed {"connection_id":232728,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:59:18] local.INFO: Acknowledgment sent {"connection_id":232728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:59:20] local.INFO: TCP Data received {"connection_id":232728,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a687d838012d3f33c006992420001901022d..."} 
[2026-11-04 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a687d838012d3f33c006992420001901022d..."} 
[2026-11-04 17:59:20] local.INFO: Processing buffer {"connection_id":232728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a687d838012d3f33c006992420001901022d..."} 
[2026-11-04 17:59:20] local.INFO: Packet analysis {"connection_id":232728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a687"} 
[2026-11-04 17:59:20] local.INFO: Extracted packet for processing {"connection_id":232728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a687"} 
[2026-11-04 17:59:20] local.INFO: GPS Element Parsed {"raw_longitude":759116736,"raw_latitude":110699552,"longitude_deg":75.9116736,"latitude_deg":11.0699552,"altitude":25,"angle":258,"satellites":45,"speed":59,"hex_longitude":"2d3f33c0","hex_latitude":"06992420","is_valid_coordinates":true} 
[2026-11-04 17: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-11-04 17:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211590912001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39219601237606400,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4563694563237971968,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:20] 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-11-04 17:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793795283000,"timestamp_ms":1793795283000,"timestamp_seconds":1793795283,"priority":1,"record_length":96,"hex_timestamp":"000001a1a687d838"} 
[2026-11-04 17:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 17:59: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-11-04 17: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-11-04 17:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 17:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 17:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 17:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211590912001,"66":27919,"79":206,"19":48128,"24":59,"16":39219601237606400,"45":4563694563237971968},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-11-04 17:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 17:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 17:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211590912001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:59:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-11-04 17:59:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 17:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39219601237606400,"km_value":39219601237606.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4563694563237971968,"description":"Unknown IO ID 45"} 
[2026-11-04 17:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211590912001,"power":27919,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4563694563237971968}} 
[2026-11-04 17:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":232728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:59:20] local.INFO: GPS data processed {"connection_id":232728,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:59:20] local.INFO: Acknowledgment sent {"connection_id":232728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 17:59:47] local.INFO: TCP Data received {"connection_id":229085,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 17:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 17:59:47] local.INFO: Processing buffer {"connection_id":229085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 17:59:47] local.INFO: Packet analysis {"connection_id":229085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 17:59:47] local.INFO: Extracted packet for processing {"connection_id":229085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 17:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 17:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 17:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 17:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 17:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 17:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 17:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 17:59:47] 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-11-04 17:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 17:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 17:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 17:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 17:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 17:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 17:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 17:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 17:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 17:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 17:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 17:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 17:59:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 17:59:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 17:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 17:59:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 17:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 17:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":229085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 17:59:47] local.INFO: GPS data processed {"connection_id":229085,"processed":1,"errors":0,"total":1} 
[2026-11-04 17:59:47] local.INFO: Acknowledgment sent {"connection_id":229085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:00:04] local.INFO: TCP Data received {"connection_id":229568,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:04] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:04] local.INFO: IMEI packet received {"connection_id":229568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":229568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:00:06] local.INFO: TCP Data received {"connection_id":229568,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:06] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:06] local.INFO: IMEI packet received {"connection_id":229568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":229568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:00:11] local.INFO: TCP Data received {"connection_id":229568,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:11] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:00:11] local.INFO: IMEI packet received {"connection_id":229568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":229568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:00:13] local.INFO: TCP Data received {"connection_id":232729,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:00:13] local.INFO: Processing buffer {"connection_id":232729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:00:13] local.INFO: IMEI packet received {"connection_id":232729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":232729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:00:14] local.INFO: TCP Data received {"connection_id":229568,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012d3df200069972900016014d2f..."} 
[2026-11-04 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012d3df200069972900016014d2f..."} 
[2026-11-04 18:00:14] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012d3df200069972900016014d2f..."} 
[2026-11-04 18:00:14] local.INFO: Packet analysis {"connection_id":229568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:14] local.INFO: Extracted packet for processing {"connection_id":229568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:14] local.INFO: GPS Element Parsed {"raw_longitude":759034368,"raw_latitude":110719632,"longitude_deg":75.9034368,"latitude_deg":11.0719632,"altitude":22,"angle":333,"satellites":47,"speed":58,"hex_longitude":"2d3df200","hex_latitude":"06997290","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211606528001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39223788830720000,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4466304221299617792,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:14] 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-11-04 18:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18: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-11-04 18: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-11-04 18:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211606528001,"66":27919,"81":206,"19":48128,"24":58,"16":39223788830720000,"45":4466304221299617792},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-04 18:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211606528001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 18:00:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39223788830720000,"km_value":39223788830720,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4466304221299617792,"description":"Unknown IO ID 45"} 
[2026-11-04 18:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211606528001,"power":27919,"unknown_81":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4466304221299617792}} 
[2026-11-04 18:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":229568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:00:14] local.INFO: GPS data processed {"connection_id":229568,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:00:14] local.INFO: Acknowledgment sent {"connection_id":229568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:00:18] local.INFO: TCP Data received {"connection_id":232729,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:00:18] local.INFO: Processing buffer {"connection_id":232729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:00:18] local.INFO: IMEI packet received {"connection_id":232729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":232729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:00:20] local.INFO: TCP Data received {"connection_id":232729,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:00:20] local.INFO: Processing buffer {"connection_id":232729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:00:20] local.INFO: Packet analysis {"connection_id":232729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:20] local.INFO: Extracted packet for processing {"connection_id":232729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:00: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-11-04 18: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-11-04 18:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:00:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:00:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":232729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:00:20] local.INFO: GPS data processed {"connection_id":232729,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:00:20] local.INFO: Acknowledgment sent {"connection_id":232729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:00:24] local.INFO: TCP Data received {"connection_id":232729,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:00:24] local.INFO: Processing buffer {"connection_id":232729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:00:24] local.INFO: Packet analysis {"connection_id":232729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:24] local.INFO: Extracted packet for processing {"connection_id":232729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:00:24] 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-11-04 18:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:00:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:00:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:00:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":232729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:00:25] local.INFO: GPS data processed {"connection_id":232729,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:00:25] local.INFO: Acknowledgment sent {"connection_id":232729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:00:56] local.INFO: TCP Data received {"connection_id":229568,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688ca68012d3de9c0069988180016015830..."} 
[2026-11-04 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688ca68012d3de9c0069988180016015830..."} 
[2026-11-04 18:00:56] local.INFO: Processing buffer {"connection_id":229568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688ca68012d3de9c0069988180016015830..."} 
[2026-11-04 18:00:56] local.INFO: Packet analysis {"connection_id":229568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:56] local.INFO: Extracted packet for processing {"connection_id":229568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":759032256,"raw_latitude":110725144,"longitude_deg":75.9032256,"latitude_deg":11.0725144,"altitude":22,"angle":344,"satellites":48,"speed":58,"hex_longitude":"2d3de9c0","hex_latitude":"06998818","is_valid_coordinates":true} 
[2026-11-04 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-11-04 18:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39224072298561536,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4463630209021808640,"note":"Value kept but may cause issues"} 
[2026-11-04 18:00:56] 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-11-04 18:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793795345000,"timestamp_ms":1793795345000,"timestamp_seconds":1793795345,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688ca68"} 
[2026-11-04 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-11-04 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 18:00: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-11-04 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-11-04 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-11-04 18:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":27865,"81":206,"19":48128,"24":58,"16":39224072298561536,"45":4463630209021808640},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-04 18:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:00:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 18:00:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39224072298561536,"km_value":39224072298561.54,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4463630209021808640,"description":"Unknown IO ID 45"} 
[2026-11-04 18:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":27865,"unknown_81":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4463630209021808640}} 
[2026-11-04 18:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":229568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:00:57] local.INFO: GPS data processed {"connection_id":229568,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:00:57] local.INFO: Acknowledgment sent {"connection_id":229568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:01:08] local.INFO: TCP Data received {"connection_id":232730,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:01:08] local.INFO: Processing buffer {"connection_id":232730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:01:08] local.INFO: IMEI packet received {"connection_id":232730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":232730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:01:11] local.INFO: TCP Data received {"connection_id":229569,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:11] local.INFO: Processing buffer {"connection_id":229569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:11] local.INFO: IMEI packet received {"connection_id":229569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":229569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:01:12] local.INFO: TCP Data received {"connection_id":229569,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:12] local.INFO: Processing buffer {"connection_id":229569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:12] local.INFO: IMEI packet received {"connection_id":229569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":229569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:01:13] local.INFO: TCP Data received {"connection_id":232730,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:01:13] local.INFO: Processing buffer {"connection_id":232730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:01:13] local.INFO: IMEI packet received {"connection_id":232730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":232730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:01:14] local.INFO: TCP Data received {"connection_id":232730,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:01:14] local.INFO: Processing buffer {"connection_id":232730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:01:14] local.INFO: Packet analysis {"connection_id":232730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:01:14] local.INFO: Extracted packet for processing {"connection_id":232730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:01: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-11-04 18: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-11-04 18:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:01:14] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:01:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":232730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:01:14] local.INFO: GPS data processed {"connection_id":232730,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:01:14] local.INFO: Acknowledgment sent {"connection_id":232730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:01:16] local.INFO: TCP Data received {"connection_id":229569,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:16] local.INFO: Processing buffer {"connection_id":229569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:01:16] local.INFO: IMEI packet received {"connection_id":229569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":229569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:01:18] local.INFO: TCP Data received {"connection_id":229569,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a689c080012d3db580069adaa8002801512d..."} 
[2026-11-04 18:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a689c080012d3db580069adaa8002801512d..."} 
[2026-11-04 18:01:18] local.INFO: Processing buffer {"connection_id":229569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a689c080012d3db580069adaa8002801512d..."} 
[2026-11-04 18:01:18] local.INFO: Packet analysis {"connection_id":229569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a689"} 
[2026-11-04 18:01:18] local.INFO: Extracted packet for processing {"connection_id":229569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a689"} 
[2026-11-04 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":759018880,"raw_latitude":110811816,"longitude_deg":75.901888,"latitude_deg":11.0811816,"altitude":40,"angle":337,"satellites":45,"speed":56,"hex_longitude":"2d3db580","hex_latitude":"069adaa8","is_valid_coordinates":true} 
[2026-11-04 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211622656001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39228384445726720,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4450611991370231808,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:18] 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-11-04 18:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793795408000,"timestamp_ms":1793795408000,"timestamp_seconds":1793795408,"priority":1,"record_length":96,"hex_timestamp":"000001a1a689c080"} 
[2026-11-04 18:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 18:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211622656001,"66":27800,"81":206,"19":48128,"24":56,"16":39228384445726720,"45":4450611991370231808},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-04 18:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211622656001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 18:01:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39228384445726720,"km_value":39228384445726.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4450611991370231808,"description":"Unknown IO ID 45"} 
[2026-11-04 18:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211622656001,"power":27800,"unknown_81":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4450611991370231808}} 
[2026-11-04 18:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":229569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:01:18] local.INFO: GPS data processed {"connection_id":229569,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:01:18] local.INFO: Acknowledgment sent {"connection_id":229569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:01:46] local.INFO: TCP Data received {"connection_id":232730,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:01:46] local.INFO: Processing buffer {"connection_id":232730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:01:46] local.INFO: Packet analysis {"connection_id":232730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:01:46] local.INFO: Extracted packet for processing {"connection_id":232730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:01: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-11-04 18:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:01:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:01:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":232730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:01:46] local.INFO: GPS data processed {"connection_id":232730,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:01:46] local.INFO: Acknowledgment sent {"connection_id":232730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:01:50] local.INFO: TCP Data received {"connection_id":229569,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a689dbd8012d3da600069affa8002901502e..."} 
[2026-11-04 18:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a689dbd8012d3da600069affa8002901502e..."} 
[2026-11-04 18:01:50] local.INFO: Processing buffer {"connection_id":229569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a689dbd8012d3da600069affa8002901502e..."} 
[2026-11-04 18:01:50] local.INFO: Packet analysis {"connection_id":229569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a689"} 
[2026-11-04 18:01:50] local.INFO: Extracted packet for processing {"connection_id":229569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a689"} 
[2026-11-04 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":759014912,"raw_latitude":110821288,"longitude_deg":75.9014912,"latitude_deg":11.0821288,"altitude":41,"angle":336,"satellites":46,"speed":59,"hex_longitude":"2d3da600","hex_latitude":"069affa8","is_valid_coordinates":true} 
[2026-11-04 18:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211624448001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39228878366965760,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4446600972954413056,"note":"Value kept but may cause issues"} 
[2026-11-04 18:01:50] 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-11-04 18:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793795415000,"timestamp_ms":1793795415000,"timestamp_seconds":1793795415,"priority":1,"record_length":96,"hex_timestamp":"000001a1a689dbd8"} 
[2026-11-04 18:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 18:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211624448001,"66":27865,"81":206,"19":48128,"24":59,"16":39228878366965760,"45":4446600972954413056},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-11-04 18:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211624448001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:01:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-11-04 18:01:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39228878366965760,"km_value":39228878366965.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4446600972954413056,"description":"Unknown IO ID 45"} 
[2026-11-04 18:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211624448001,"power":27865,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4446600972954413056}} 
[2026-11-04 18:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":229569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:01:50] local.INFO: GPS data processed {"connection_id":229569,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:01:50] local.INFO: Acknowledgment sent {"connection_id":229569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:02:06] local.INFO: TCP Data received {"connection_id":229570,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:02:06] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:02:06] local.INFO: IMEI packet received {"connection_id":229570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":229570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:02:08] local.INFO: TCP Data received {"connection_id":229086,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:02:08] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:02:08] local.INFO: IMEI packet received {"connection_id":229086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:02:11] local.INFO: TCP Data received {"connection_id":229570,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:02:11] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:02:11] local.INFO: IMEI packet received {"connection_id":229570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":229570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:02:13] local.INFO: TCP Data received {"connection_id":229086,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:02:13] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:02:13] local.INFO: IMEI packet received {"connection_id":229086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":229086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:02:15] local.INFO: TCP Data received {"connection_id":229086,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:02:15] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:02:15] local.INFO: Packet analysis {"connection_id":229086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:02:15] local.INFO: Extracted packet for processing {"connection_id":229086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:02: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-11-04 18:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:02:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:02:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":229086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:02:15] local.INFO: GPS data processed {"connection_id":229086,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:02:15] local.INFO: Acknowledgment sent {"connection_id":229086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:02:15] local.INFO: TCP Data received {"connection_id":229570,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68ad1f0012d3d5240069c62a8002c01582e..."} 
[2026-11-04 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68ad1f0012d3d5240069c62a8002c01582e..."} 
[2026-11-04 18:02:15] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68ad1f0012d3d5240069c62a8002c01582e..."} 
[2026-11-04 18:02:15] local.INFO: Packet analysis {"connection_id":229570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68a"} 
[2026-11-04 18:02:15] local.INFO: Extracted packet for processing {"connection_id":229570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68a"} 
[2026-11-04 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758993472,"raw_latitude":110912168,"longitude_deg":75.8993472,"latitude_deg":11.0912168,"altitude":44,"angle":344,"satellites":46,"speed":58,"hex_longitude":"2d3d5240","hex_latitude":"069c62a8","is_valid_coordinates":true} 
[2026-11-04 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211640832001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39233422442364928,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4421408962562308096,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:15] 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-11-04 18:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795478000,"timestamp_ms":1793795478000,"timestamp_seconds":1793795478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68ad1f0"} 
[2026-11-04 18:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 18:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211640832001,"66":27919,"19":48128,"24":58,"16":39233422442364928,"45":4421408962562308096},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 18:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211640832001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:02:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39233422442364928,"km_value":39233422442364.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4421408962562308096,"description":"Unknown IO ID 45"} 
[2026-11-04 18:02:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211640832001,"power":27919,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4421408962562308096}} 
[2026-11-04 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":229570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:02:15] local.INFO: GPS data processed {"connection_id":229570,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:02:15] local.INFO: Acknowledgment sent {"connection_id":229570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:02:47] local.INFO: TCP Data received {"connection_id":229086,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:02:47] local.INFO: Processing buffer {"connection_id":229086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:02:47] local.INFO: Packet analysis {"connection_id":229086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:02:47] local.INFO: Extracted packet for processing {"connection_id":229086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:02:47] 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-11-04 18:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:02:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:02:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:02:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:02:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":229086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:02:48] local.INFO: GPS data processed {"connection_id":229086,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:02:48] local.INFO: Acknowledgment sent {"connection_id":229086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:02:48] local.INFO: TCP Data received {"connection_id":229570,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68aed48012d3d43c0069c88680030014c2d..."} 
[2026-11-04 18:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68aed48012d3d43c0069c88680030014c2d..."} 
[2026-11-04 18:02:48] local.INFO: Processing buffer {"connection_id":229570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68aed48012d3d43c0069c88680030014c2d..."} 
[2026-11-04 18:02:48] local.INFO: Packet analysis {"connection_id":229570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68a"} 
[2026-11-04 18:02:48] local.INFO: Extracted packet for processing {"connection_id":229570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68a"} 
[2026-11-04 18:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758989760,"raw_latitude":110921832,"longitude_deg":75.898976,"latitude_deg":11.0921832,"altitude":48,"angle":332,"satellites":45,"speed":58,"hex_longitude":"2d3d43c0","hex_latitude":"069c8868","is_valid_coordinates":true} 
[2026-11-04 18:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211642368001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39233920658571264,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4418664581541570560,"note":"Value kept but may cause issues"} 
[2026-11-04 18:02:48] 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-11-04 18:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793795485000,"timestamp_ms":1793795485000,"timestamp_seconds":1793795485,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68aed48"} 
[2026-11-04 18:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 18:02:48] 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-11-04 18:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211642368001,"66":28050,"19":48128,"24":58,"16":39233920658571264,"45":4418664581541570560},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 18:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211642368001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:02:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39233920658571264,"km_value":39233920658571.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4418664581541570560,"description":"Unknown IO ID 45"} 
[2026-11-04 18:02:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211642368001,"power":28050,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4418664581541570560}} 
[2026-11-04 18:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":229570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:02:48] local.INFO: GPS data processed {"connection_id":229570,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:02:48] local.INFO: Acknowledgment sent {"connection_id":229570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:03:06] local.INFO: TCP Data received {"connection_id":229087,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:06] local.INFO: Processing buffer {"connection_id":229087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:06] local.INFO: IMEI packet received {"connection_id":229087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":229087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:03:07] local.INFO: TCP Data received {"connection_id":229087,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:07] local.INFO: Processing buffer {"connection_id":229087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:07] local.INFO: IMEI packet received {"connection_id":229087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":229087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:03:08] local.INFO: TCP Data received {"connection_id":229088,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:03:08] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:03:08] local.INFO: IMEI packet received {"connection_id":229088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":229088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:03:11] local.INFO: TCP Data received {"connection_id":229087,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:11] local.INFO: Processing buffer {"connection_id":229087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:03:11] local.INFO: IMEI packet received {"connection_id":229087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":229087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:03:13] local.INFO: TCP Data received {"connection_id":229087,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68bb480012d3cd340069d94a80030013730..."} 
[2026-11-04 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68bb480012d3cd340069d94a80030013730..."} 
[2026-11-04 18:03:13] local.INFO: Processing buffer {"connection_id":229087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68bb480012d3cd340069d94a80030013730..."} 
[2026-11-04 18:03:13] local.INFO: Packet analysis {"connection_id":229087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68b"} 
[2026-11-04 18:03:13] local.INFO: Extracted packet for processing {"connection_id":229087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68b"} 
[2026-11-04 18:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758960960,"raw_latitude":110990504,"longitude_deg":75.896096,"latitude_deg":11.0990504,"altitude":48,"angle":311,"satellites":48,"speed":60,"hex_longitude":"2d3cd340","hex_latitude":"069d94a8","is_valid_coordinates":true} 
[2026-11-04 18:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211656192001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39237579970707456,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4387491227889797120,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:13] 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-11-04 18:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793795536000,"timestamp_ms":1793795536000,"timestamp_seconds":1793795536,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68bb480"} 
[2026-11-04 18:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 18:03:13] 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-11-04 18:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211656192001,"66":27876,"19":48128,"24":60,"16":39237579970707456,"45":4387491227889797120},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 18:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211656192001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:03:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39237579970707456,"km_value":39237579970707.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4387491227889797120,"description":"Unknown IO ID 45"} 
[2026-11-04 18:03:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211656192001,"power":27876,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4387491227889797120}} 
[2026-11-04 18:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":229087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:03:13] local.INFO: GPS data processed {"connection_id":229087,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:03:13] local.INFO: Acknowledgment sent {"connection_id":229087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:03:13] local.INFO: TCP Data received {"connection_id":229088,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:03:13] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:03:13] local.INFO: IMEI packet received {"connection_id":229088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":229088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:03:15] local.INFO: TCP Data received {"connection_id":229088,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:03:15] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:03:15] local.INFO: Packet analysis {"connection_id":229088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:03:15] local.INFO: Extracted packet for processing {"connection_id":229088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:03:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:03: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-11-04 18:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:03:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:03:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:03:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":229088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:03:15] local.INFO: GPS data processed {"connection_id":229088,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:03:15] local.INFO: Acknowledgment sent {"connection_id":229088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:03:45] local.INFO: TCP Data received {"connection_id":229087,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68bcbf0012d3cb780069daa200030013330..."} 
[2026-11-04 18:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68bcbf0012d3cb780069daa200030013330..."} 
[2026-11-04 18:03:45] local.INFO: Processing buffer {"connection_id":229087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68bcbf0012d3cb780069daa200030013330..."} 
[2026-11-04 18:03:45] local.INFO: Packet analysis {"connection_id":229087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68b"} 
[2026-11-04 18:03:45] local.INFO: Extracted packet for processing {"connection_id":229087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68b"} 
[2026-11-04 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758953856,"raw_latitude":110996000,"longitude_deg":75.8953856,"latitude_deg":11.0996,"altitude":48,"angle":307,"satellites":48,"speed":58,"hex_longitude":"2d3cb780","hex_latitude":"069daa20","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211657216001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39238009467437056,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4382917259519371264,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:45] 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-11-04 18:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793795542000,"timestamp_ms":1793795542000,"timestamp_seconds":1793795542,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68bcbf0"} 
[2026-11-04 18:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 18:03: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-11-04 18: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-11-04 18:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211657216001,"66":27843,"19":48128,"24":58,"16":39238009467437056,"45":4382917259519371264},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 18:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211657216001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:03:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39238009467437056,"km_value":39238009467437.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4382917259519371264,"description":"Unknown IO ID 45"} 
[2026-11-04 18:03:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211657216001,"power":27843,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4382917259519371264}} 
[2026-11-04 18:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":229087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:03:45] local.INFO: GPS data processed {"connection_id":229087,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:03:45] local.INFO: Acknowledgment sent {"connection_id":229087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:03:47] local.INFO: TCP Data received {"connection_id":229088,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:03:47] local.INFO: Processing buffer {"connection_id":229088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:03:47] local.INFO: Packet analysis {"connection_id":229088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:03:47] local.INFO: Extracted packet for processing {"connection_id":229088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:03:47] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:03:47] 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-11-04 18:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:03:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:03:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:03:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":229088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:03:47] local.INFO: GPS data processed {"connection_id":229088,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:03:47] local.INFO: Acknowledgment sent {"connection_id":229088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:04:06] local.INFO: TCP Data received {"connection_id":230877,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:06] local.INFO: Processing buffer {"connection_id":230877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:06] local.INFO: IMEI packet received {"connection_id":230877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":230877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:04:07] local.INFO: TCP Data received {"connection_id":230877,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:07] local.INFO: Processing buffer {"connection_id":230877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:07] local.INFO: IMEI packet received {"connection_id":230877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":230877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:04:11] local.INFO: TCP Data received {"connection_id":230877,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:11] local.INFO: Processing buffer {"connection_id":230877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:04:11] local.INFO: IMEI packet received {"connection_id":230877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":230877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:04:13] local.INFO: TCP Data received {"connection_id":229571,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:04:13] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:04:13] local.INFO: IMEI packet received {"connection_id":229571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":229571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:04:17] local.INFO: TCP Data received {"connection_id":230877,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68be748012d3c9980069dc150003301362f..."} 
[2026-11-04 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68be748012d3c9980069dc150003301362f..."} 
[2026-11-04 18:04:17] local.INFO: Processing buffer {"connection_id":230877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68be748012d3c9980069dc150003301362f..."} 
[2026-11-04 18:04:17] local.INFO: Packet analysis {"connection_id":230877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68b"} 
[2026-11-04 18:04:17] local.INFO: Extracted packet for processing {"connection_id":230877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68b"} 
[2026-11-04 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758946176,"raw_latitude":111001936,"longitude_deg":75.8946176,"latitude_deg":11.1001936,"altitude":51,"angle":310,"satellites":47,"speed":54,"hex_longitude":"2d3c9980","hex_latitude":"069dc150","is_valid_coordinates":true} 
[2026-11-04 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211658752001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39238477618872320,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4375106328917057536,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:17] 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-11-04 18:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793795549000,"timestamp_ms":1793795549000,"timestamp_seconds":1793795549,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68be748"} 
[2026-11-04 18:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 18:04: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-11-04 18:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211658752001,"66":27789,"19":48128,"24":54,"16":39238477618872320,"45":4375106328917057536},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-11-04 18:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211658752001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:04:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39238477618872320,"km_value":39238477618872.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4375106328917057536,"description":"Unknown IO ID 45"} 
[2026-11-04 18:04:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459211658752001,"power":27789,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":4375106328917057536}} 
[2026-11-04 18:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":230877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:04:17] local.INFO: GPS data processed {"connection_id":230877,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:04:17] local.INFO: Acknowledgment sent {"connection_id":230877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:04:18] local.INFO: TCP Data received {"connection_id":229571,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:04:18] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:04:18] local.INFO: IMEI packet received {"connection_id":229571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":229571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:04:19] local.INFO: TCP Data received {"connection_id":229571,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:04:19] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:04:19] local.INFO: Packet analysis {"connection_id":229571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:04:19] local.INFO: Extracted packet for processing {"connection_id":229571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:04:19] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:04:19] 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-11-04 18:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:04:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:04:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":229571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:04:19] local.INFO: GPS data processed {"connection_id":229571,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:04:19] local.INFO: Acknowledgment sent {"connection_id":229571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:04:24] local.INFO: TCP Data received {"connection_id":229571,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:04:24] local.INFO: Processing buffer {"connection_id":229571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a688bac8012cb2a48007751550001900182f..."} 
[2026-11-04 18:04:24] local.INFO: Packet analysis {"connection_id":229571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:04:24] local.INFO: Extracted packet for processing {"connection_id":229571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a688"} 
[2026-11-04 18:04:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211528960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793795341000,"timestamp_ms":1793795341000,"timestamp_seconds":1793795341,"priority":1,"record_length":96,"hex_timestamp":"000001a1a688bac8"} 
[2026-11-04 18:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 18:04:24] 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-11-04 18: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-11-04 18:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211528960001,"66":26984,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211528960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:04:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:04:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:04:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211528960001,"power":26984,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":229571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:04:24] local.INFO: GPS data processed {"connection_id":229571,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:04:24] local.INFO: Acknowledgment sent {"connection_id":229571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:04:49] local.INFO: TCP Data received {"connection_id":230877,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d2b80012d3be880069f6c380044000830..."} 
[2026-11-04 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d2b80012d3be880069f6c380044000830..."} 
[2026-11-04 18:04:49] local.INFO: Processing buffer {"connection_id":230877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d2b80012d3be880069f6c380044000830..."} 
[2026-11-04 18:04:49] local.INFO: Packet analysis {"connection_id":230877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:04:49] local.INFO: Extracted packet for processing {"connection_id":230877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":758900864,"raw_latitude":111111224,"longitude_deg":75.8900864,"latitude_deg":11.1111224,"altitude":68,"angle":8,"satellites":48,"speed":59,"hex_longitude":"2d3be880","hex_latitude":"069f6c38","is_valid_coordinates":true} 
[2026-11-04 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211680256001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39244348839165952,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4315715108858331136,"note":"Value kept but may cause issues"} 
[2026-11-04 18:04: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-11-04 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793795632000,"timestamp_ms":1793795632000,"timestamp_seconds":1793795632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d2b80"} 
[2026-11-04 18:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 18:04: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-11-04 18:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211680256001,"66":28028,"57":206,"19":48128,"24":59,"16":39244348839165952,"45":4315715108858331136},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211680256001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:04:49] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:04:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39244348839165952,"km_value":39244348839165.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4315715108858331136,"description":"Unknown IO ID 45"} 
[2026-11-04 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211680256001,"power":28028,"unknown_57":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4315715108858331136}} 
[2026-11-04 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":230877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:04:49] local.INFO: GPS data processed {"connection_id":230877,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:04:49] local.INFO: Acknowledgment sent {"connection_id":230877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:05:08] local.INFO: TCP Data received {"connection_id":230878,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:05:08] local.INFO: Processing buffer {"connection_id":230878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:05:08] local.INFO: IMEI packet received {"connection_id":230878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":230878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:05:11] local.INFO: TCP Data received {"connection_id":230879,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:11] local.INFO: Processing buffer {"connection_id":230879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:11] local.INFO: IMEI packet received {"connection_id":230879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":230879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:05:12] local.INFO: TCP Data received {"connection_id":230879,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:12] local.INFO: Processing buffer {"connection_id":230879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:12] local.INFO: IMEI packet received {"connection_id":230879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":230879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:05:13] local.INFO: TCP Data received {"connection_id":230878,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:05:13] local.INFO: Processing buffer {"connection_id":230878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:05:13] local.INFO: IMEI packet received {"connection_id":230878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":230878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:05:15] local.INFO: TCP Data received {"connection_id":230878,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:05:15] local.INFO: Processing buffer {"connection_id":230878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:05:15] local.INFO: Packet analysis {"connection_id":230878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:15] local.INFO: Extracted packet for processing {"connection_id":230878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:05:15] 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-11-04 18:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:05:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:05:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":230878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:05:15] local.INFO: GPS data processed {"connection_id":230878,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:05:15] local.INFO: Acknowledgment sent {"connection_id":230878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:05:16] local.INFO: TCP Data received {"connection_id":230879,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:16] local.INFO: Processing buffer {"connection_id":230879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:05:16] local.INFO: IMEI packet received {"connection_id":230879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":230879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:05:20] local.INFO: TCP Data received {"connection_id":230879,"ip":"117.224.67.174","data_length":1360,"data_hex":"000000000000030f8e0a000001a1a68d42f0012d3bef80069f8e780043000d30..."} 
[2026-11-04 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230879,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a1a68d42f0012d3bef80069f8e780043000d30..."} 
[2026-11-04 18:05:20] local.INFO: Processing buffer {"connection_id":230879,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a1a68d42f0012d3bef80069f8e780043000d30..."} 
[2026-11-04 18:05:20] local.INFO: Packet analysis {"connection_id":230879,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:20] local.INFO: Extracted packet for processing {"connection_id":230879,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758902656,"raw_latitude":111119992,"longitude_deg":75.8902656,"latitude_deg":11.1119992,"altitude":67,"angle":13,"satellites":48,"speed":58,"hex_longitude":"2d3bef80","hex_latitude":"069f8e78","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211681792001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39244782630862848,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4316841008767449088,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05: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-11-04 18:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793795638000,"timestamp_ms":1793795638000,"timestamp_seconds":1793795638,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d42f0"} 
[2026-11-04 18:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-11-04 18:05:20] 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-11-04 18: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-11-04 18:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211681792001,"66":27974,"57":206,"19":48128,"24":58,"16":39244782630862848,"45":4316841008767449088},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211681792001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:05:20] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:05:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39244782630862848,"km_value":39244782630862.85,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4316841008767449088,"description":"Unknown IO ID 45"} 
[2026-11-04 18:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211681792001,"power":27974,"unknown_57":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4316841008767449088}} 
[2026-11-04 18:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":230879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:05:20] local.INFO: GPS data processed {"connection_id":230879,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:05:20] local.INFO: Acknowledgment sent {"connection_id":230879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:05:20] local.INFO: Packet analysis {"connection_id":230879,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:20] local.INFO: Incomplete packet, waiting for more data {"connection_id":230879,"needed":795,"available":565} 
[2026-11-04 18:05:23] local.INFO: TCP Data received {"connection_id":230879,"ip":"117.224.67.174","data_length":230,"data_hex":"2d3c0100069ec2c80041014e2f003b0000000a000400ef0100715f00f0010045..."} 
[2026-11-04 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230879,"packet_length":230,"packet_hex":"2d3c0100069ec2c80041014e2f003b0000000a000400ef0100715f00f0010045..."} 
[2026-11-04 18:05:23] local.INFO: Processing buffer {"connection_id":230879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5a60012d3bf740069fb0900040000c2c..."} 
[2026-11-04 18:05:23] local.INFO: Packet analysis {"connection_id":230879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:23] local.INFO: Extracted packet for processing {"connection_id":230879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":758904640,"raw_latitude":111128720,"longitude_deg":75.890464,"latitude_deg":11.112872,"altitude":64,"angle":12,"satellites":44,"speed":59,"hex_longitude":"2d3bf740","hex_latitude":"069fb090","is_valid_coordinates":true} 
[2026-11-04 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211683328001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39245216422559744,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4318811333606668288,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05: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-11-04 18:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793795644000,"timestamp_ms":1793795644000,"timestamp_seconds":1793795644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5a60"} 
[2026-11-04 18:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-11-04 18:05:23] 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-11-04 18:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211683328001,"66":27865,"57":206,"19":48128,"24":59,"16":39245216422559744,"45":4318811333606668288},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211683328001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:05:23] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:05:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39245216422559744,"km_value":39245216422559.74,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4318811333606668288,"description":"Unknown IO ID 45"} 
[2026-11-04 18:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211683328001,"power":27865,"unknown_57":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4318811333606668288}} 
[2026-11-04 18:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":230879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:05:23] local.INFO: GPS data processed {"connection_id":230879,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:05:23] local.INFO: Acknowledgment sent {"connection_id":230879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:05:24] local.INFO: TCP Data received {"connection_id":230879,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d71d0012d3bff40069fd280003c000c2a..."} 
[2026-11-04 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d71d0012d3bff40069fd280003c000c2a..."} 
[2026-11-04 18:05:24] local.INFO: Processing buffer {"connection_id":230879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d71d0012d3bff40069fd280003c000c2a..."} 
[2026-11-04 18:05:24] local.INFO: Packet analysis {"connection_id":230879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:24] local.INFO: Extracted packet for processing {"connection_id":230879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":758906688,"raw_latitude":111137408,"longitude_deg":75.8906688,"latitude_deg":11.1137408,"altitude":60,"angle":12,"satellites":42,"speed":58,"hex_longitude":"2d3bff40","hex_latitude":"069fd280","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684864001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39245650214256640,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320992764678410240,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:24] 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-11-04 18:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793795650000,"timestamp_ms":1793795650000,"timestamp_seconds":1793795650,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d71d0"} 
[2026-11-04 18:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 18:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684864001,"66":27974,"57":206,"19":48128,"24":58,"16":39245650214256640,"45":4320992764678410240},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684864001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:05:24] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:05:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39245650214256640,"km_value":39245650214256.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320992764678410240,"description":"Unknown IO ID 45"} 
[2026-11-04 18:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684864001,"power":27974,"unknown_57":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4320992764678410240}} 
[2026-11-04 18:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":230879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:05:24] local.INFO: GPS data processed {"connection_id":230879,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:05:24] local.INFO: Acknowledgment sent {"connection_id":230879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:05:46] local.INFO: TCP Data received {"connection_id":230878,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:05:46] local.INFO: Processing buffer {"connection_id":230878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:05:46] local.INFO: Packet analysis {"connection_id":230878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:46] local.INFO: Extracted packet for processing {"connection_id":230878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:05:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:05:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:05:46] 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-11-04 18: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-11-04 18:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:05:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:05:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:05:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:05:47] local.INFO: DEBUG: GPS processor result {"connection_id":230878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:05:47] local.INFO: GPS data processed {"connection_id":230878,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:05:47] local.INFO: Acknowledgment sent {"connection_id":230878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:06:06] local.INFO: TCP Data received {"connection_id":229089,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:06:06] local.INFO: Processing buffer {"connection_id":229089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:06:06] local.INFO: IMEI packet received {"connection_id":229089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":229089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:06:08] local.INFO: TCP Data received {"connection_id":232731,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:06:08] local.INFO: Processing buffer {"connection_id":232731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:06:08] local.INFO: IMEI packet received {"connection_id":232731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":232731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:06:10] local.INFO: TCP Data received {"connection_id":229089,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:06:10] local.INFO: Processing buffer {"connection_id":229089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:06:10] local.INFO: IMEI packet received {"connection_id":229089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":229089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:06:13] local.INFO: TCP Data received {"connection_id":229089,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68e6fb8012d3c998006a13b00003400102e..."} 
[2026-11-04 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68e6fb8012d3c998006a13b00003400102e..."} 
[2026-11-04 18:06:13] local.INFO: Processing buffer {"connection_id":229089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68e6fb8012d3c998006a13b00003400102e..."} 
[2026-11-04 18:06:13] local.INFO: Packet analysis {"connection_id":229089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:06:13] local.INFO: Extracted packet for processing {"connection_id":229089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758946176,"raw_latitude":111229696,"longitude_deg":75.8946176,"latitude_deg":11.1229696,"altitude":52,"angle":16,"satellites":46,"speed":48,"hex_longitude":"2d3c9980","hex_latitude":"06a13b00","is_valid_coordinates":true} 
[2026-11-04 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211700992001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39250546476974080,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363284379952621568,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06: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-11-04 18:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793795715000,"timestamp_ms":1793795715000,"timestamp_seconds":1793795715,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68e6fb8"} 
[2026-11-04 18:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 18:06: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-11-04 18:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211700992001,"66":27745,"57":206,"19":48128,"24":48,"16":39250546476974080,"45":4363284379952621568},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211700992001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:06:13] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:06:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39250546476974080,"km_value":39250546476974.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363284379952621568,"description":"Unknown IO ID 45"} 
[2026-11-04 18:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211700992001,"power":27745,"unknown_57":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4363284379952621568}} 
[2026-11-04 18:06:13] local.INFO: TCP Data received {"connection_id":232731,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:06:13] local.INFO: Processing buffer {"connection_id":232731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:06:13] local.INFO: IMEI packet received {"connection_id":232731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":232731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":229089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:06:13] local.INFO: GPS data processed {"connection_id":229089,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:06:13] local.INFO: Acknowledgment sent {"connection_id":229089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:06:15] local.INFO: TCP Data received {"connection_id":232731,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:06:15] local.INFO: Processing buffer {"connection_id":232731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:06:15] local.INFO: Packet analysis {"connection_id":232731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:06:15] local.INFO: Extracted packet for processing {"connection_id":232731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:06:15] 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-11-04 18:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:06:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:06:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":232731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:06:15] local.INFO: GPS data processed {"connection_id":232731,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:06:15] local.INFO: Acknowledgment sent {"connection_id":232731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:06:46] local.INFO: TCP Data received {"connection_id":229089,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68e8ef8012d3ca38006a15ea80038000a2f..."} 
[2026-11-04 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68e8ef8012d3ca38006a15ea80038000a2f..."} 
[2026-11-04 18:06:46] local.INFO: Processing buffer {"connection_id":229089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68e8ef8012d3ca38006a15ea80038000a2f..."} 
[2026-11-04 18:06:46] local.INFO: Packet analysis {"connection_id":229089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:06:46] local.INFO: Extracted packet for processing {"connection_id":229089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758948736,"raw_latitude":111238824,"longitude_deg":75.8948736,"latitude_deg":11.1238824,"altitude":56,"angle":10,"satellites":47,"speed":46,"hex_longitude":"2d3ca380","hex_latitude":"06a15ea8","is_valid_coordinates":true} 
[2026-11-04 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211703040001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39251006038474752,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4366662079675564032,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06: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-11-04 18:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793795723000,"timestamp_ms":1793795723000,"timestamp_seconds":1793795723,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68e8ef8"} 
[2026-11-04 18:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:06:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211703040001,"66":27800,"57":206,"19":48128,"24":46,"16":39251006038474752,"45":4366662079675564032},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211703040001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:06:46] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:06:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39251006038474752,"km_value":39251006038474.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4366662079675564032,"description":"Unknown IO ID 45"} 
[2026-11-04 18:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211703040001,"power":27800,"unknown_57":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4366662079675564032}} 
[2026-11-04 18:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":229089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:06:46] local.INFO: GPS data processed {"connection_id":229089,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:06:46] local.INFO: Acknowledgment sent {"connection_id":229089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:06:48] local.INFO: TCP Data received {"connection_id":232731,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:06:48] local.INFO: Processing buffer {"connection_id":232731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:06:48] local.INFO: Packet analysis {"connection_id":232731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:06:48] local.INFO: Extracted packet for processing {"connection_id":232731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:06:48] 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-11-04 18:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:06:48] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:06:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:06:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":232731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:06:48] local.INFO: GPS data processed {"connection_id":232731,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:06:48] local.INFO: Acknowledgment sent {"connection_id":232731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:07:08] local.INFO: TCP Data received {"connection_id":230880,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:07:08] local.INFO: Processing buffer {"connection_id":230880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:07:08] local.INFO: IMEI packet received {"connection_id":230880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":230880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:07:12] local.INFO: TCP Data received {"connection_id":229572,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:07:12] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:07:12] local.INFO: IMEI packet received {"connection_id":229572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":229572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:07:13] local.INFO: TCP Data received {"connection_id":230880,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:07:13] local.INFO: Processing buffer {"connection_id":230880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:07:13] local.INFO: IMEI packet received {"connection_id":230880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":230880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:07:14] local.INFO: TCP Data received {"connection_id":229572,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:07:14] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:07:14] local.INFO: IMEI packet received {"connection_id":229572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":229572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:07:15] local.INFO: TCP Data received {"connection_id":230880,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:07:15] local.INFO: Processing buffer {"connection_id":230880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:07:15] local.INFO: Packet analysis {"connection_id":230880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:07:15] local.INFO: Extracted packet for processing {"connection_id":230880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:07:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:07:15] 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-11-04 18:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":230880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60055,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:07:15] local.INFO: GPS data processed {"connection_id":230880,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:07:15] local.INFO: Acknowledgment sent {"connection_id":230880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:07:15] local.INFO: TCP Data received {"connection_id":229572,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68eae38012d3ca68006a18190003b00002f..."} 
[2026-11-04 18:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68eae38012d3ca68006a18190003b00002f..."} 
[2026-11-04 18:07:15] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68eae38012d3ca68006a18190003b00002f..."} 
[2026-11-04 18:07:15] local.INFO: Packet analysis {"connection_id":229572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:07:15] local.INFO: Extracted packet for processing {"connection_id":229572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758949504,"raw_latitude":111247760,"longitude_deg":75.8949504,"latitude_deg":11.124776,"altitude":59,"angle":0,"satellites":47,"speed":42,"hex_longitude":"2d3ca680","hex_latitude":"06a18190","is_valid_coordinates":true} 
[2026-11-04 18:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211705088001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39251444125138944,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369476829445007360,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:15] 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-11-04 18:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795731000,"timestamp_ms":1793795731000,"timestamp_seconds":1793795731,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68eae38"} 
[2026-11-04 18:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 18:07:15] 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-11-04 18:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211705088001,"66":27767,"57":206,"19":48128,"24":42,"16":39251444125138944,"45":4369476829445007360},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211705088001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39251444125138944,"km_value":39251444125138.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369476829445007360,"description":"Unknown IO ID 45"} 
[2026-11-04 18:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211705088001,"power":27767,"unknown_57":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4369476829445007360}} 
[2026-11-04 18:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":229572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:07:15] local.INFO: GPS data processed {"connection_id":229572,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:07:15] local.INFO: Acknowledgment sent {"connection_id":229572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:07:16] local.INFO: TCP Data received {"connection_id":229572,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68ed160012d3ca54006a1a570003e01662f..."} 
[2026-11-04 18:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68ed160012d3ca54006a1a570003e01662f..."} 
[2026-11-04 18:07:16] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68ed160012d3ca54006a1a570003e01662f..."} 
[2026-11-04 18:07:16] local.INFO: Packet analysis {"connection_id":229572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:07:16] local.INFO: Extracted packet for processing {"connection_id":229572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":758949184,"raw_latitude":111256944,"longitude_deg":75.8949184,"latitude_deg":11.1256944,"altitude":62,"angle":358,"satellites":47,"speed":38,"hex_longitude":"2d3ca540","hex_latitude":"06a1a570","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211707136001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39251890801737728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370321254377426944,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07: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-11-04 18:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793795740000,"timestamp_ms":1793795740000,"timestamp_seconds":1793795740,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68ed160"} 
[2026-11-04 18:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:07: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-11-04 18: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-11-04 18:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211707136001,"66":27832,"57":206,"19":48128,"24":38,"16":39251890801737728,"45":4370321254377426944},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211707136001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:07:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:07:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39251890801737728,"km_value":39251890801737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370321254377426944,"description":"Unknown IO ID 45"} 
[2026-11-04 18:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211707136001,"power":27832,"unknown_57":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":4370321254377426944}} 
[2026-11-04 18:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":229572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:07:16] local.INFO: GPS data processed {"connection_id":229572,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:07:16] local.INFO: Acknowledgment sent {"connection_id":229572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:07:47] local.INFO: TCP Data received {"connection_id":230880,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:07:47] local.INFO: Processing buffer {"connection_id":230880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:07:47] local.INFO: Packet analysis {"connection_id":230880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:07:47] local.INFO: Extracted packet for processing {"connection_id":230880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:07:47] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:07:47] 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-11-04 18:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:07:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:07:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:07:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":230880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:07:47] local.INFO: GPS data processed {"connection_id":230880,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:07:47] local.INFO: Acknowledgment sent {"connection_id":230880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:07:48] local.INFO: TCP Data received {"connection_id":229572,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68efc58012d3ca3c006a1cab0004101652f..."} 
[2026-11-04 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68efc58012d3ca3c006a1cab0004101652f..."} 
[2026-11-04 18:07:48] local.INFO: Processing buffer {"connection_id":229572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68efc58012d3ca3c006a1cab0004101652f..."} 
[2026-11-04 18:07:48] local.INFO: Packet analysis {"connection_id":229572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:07:48] local.INFO: Extracted packet for processing {"connection_id":229572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68e"} 
[2026-11-04 18:07:48] local.INFO: GPS Element Parsed {"raw_longitude":758948800,"raw_latitude":111266480,"longitude_deg":75.89488,"latitude_deg":11.126648,"altitude":65,"angle":357,"satellites":47,"speed":32,"hex_longitude":"2d3ca3c0","hex_latitude":"06a1cab0","is_valid_coordinates":true} 
[2026-11-04 18:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211709440001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39252350363238400,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369969410658889728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:07: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-11-04 18:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793795751000,"timestamp_ms":1793795751000,"timestamp_seconds":1793795751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68efc58"} 
[2026-11-04 18:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 18:07:48] 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-11-04 18:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211709440001,"66":27767,"57":206,"19":48128,"24":32,"16":39252350363238400,"45":4369969410658889728},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211709440001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:07:48] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:07:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39252350363238400,"km_value":39252350363238.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369969410658889728,"description":"Unknown IO ID 45"} 
[2026-11-04 18:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211709440001,"power":27767,"unknown_57":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4369969410658889728}} 
[2026-11-04 18:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":229572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:07:48] local.INFO: GPS data processed {"connection_id":229572,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:07:48] local.INFO: Acknowledgment sent {"connection_id":229572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:08:06] local.INFO: TCP Data received {"connection_id":229090,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:08:07] local.INFO: Processing buffer {"connection_id":229090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:08:07] local.INFO: IMEI packet received {"connection_id":229090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":229090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:08:08] local.INFO: TCP Data received {"connection_id":229090,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:08:08] local.INFO: Processing buffer {"connection_id":229090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:08:08] local.INFO: IMEI packet received {"connection_id":229090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":229090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:08:09] local.INFO: TCP Data received {"connection_id":229090,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68f2b38012d3ca20006a1ee100044016530..."} 
[2026-11-04 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68f2b38012d3ca20006a1ee100044016530..."} 
[2026-11-04 18:08:09] local.INFO: Processing buffer {"connection_id":229090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68f2b38012d3ca20006a1ee100044016530..."} 
[2026-11-04 18:08:09] local.INFO: Packet analysis {"connection_id":229090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68f"} 
[2026-11-04 18:08:09] local.INFO: Extracted packet for processing {"connection_id":229090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68f"} 
[2026-11-04 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758948352,"raw_latitude":111275536,"longitude_deg":75.8948352,"latitude_deg":11.1275536,"altitude":68,"angle":357,"satellites":48,"speed":30,"hex_longitude":"2d3ca200","hex_latitude":"06a1ee10","is_valid_coordinates":true} 
[2026-11-04 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211712256001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39252792744869888,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369547198196264960,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:09] 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-11-04 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1793795763000,"timestamp_ms":1793795763000,"timestamp_seconds":1793795763,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68f2b38"} 
[2026-11-04 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:08: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-11-04 18:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":229090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":229090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":229090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211712256001,"66":27658,"57":206,"19":48128,"24":30,"16":39252792744869888,"45":4369547198196264960},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-11-04 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211712256001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:08:09] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-11-04 18:08:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39252792744869888,"km_value":39252792744869.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369547198196264960,"description":"Unknown IO ID 45"} 
[2026-11-04 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211712256001,"power":27658,"unknown_57":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":4369547198196264960}} 
[2026-11-04 18:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":229090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:08:10] local.INFO: GPS data processed {"connection_id":229090,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:08:10] local.INFO: Acknowledgment sent {"connection_id":229090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:08:13] local.INFO: TCP Data received {"connection_id":229091,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:08:13] local.INFO: Processing buffer {"connection_id":229091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:08:13] local.INFO: IMEI packet received {"connection_id":229091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":229091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:08:18] local.INFO: TCP Data received {"connection_id":229091,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:08:18] local.INFO: Processing buffer {"connection_id":229091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:08:18] local.INFO: IMEI packet received {"connection_id":229091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":229091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:08:20] local.INFO: TCP Data received {"connection_id":229091,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:08:20] local.INFO: Processing buffer {"connection_id":229091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:08:20] local.INFO: Packet analysis {"connection_id":229091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:08:20] local.INFO: Extracted packet for processing {"connection_id":229091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:08:20] 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-11-04 18:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:08:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:08:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":229091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:08:20] local.INFO: GPS data processed {"connection_id":229091,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:08:20] local.INFO: Acknowledgment sent {"connection_id":229091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:08:24] local.INFO: TCP Data received {"connection_id":229091,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:08:24] local.INFO: Processing buffer {"connection_id":229091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:08:24] local.INFO: Packet analysis {"connection_id":229091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:08:24] local.INFO: Extracted packet for processing {"connection_id":229091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:08:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:08:24] 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-11-04 18: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-11-04 18:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:08:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:08:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:08:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":229091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:08:24] local.INFO: GPS data processed {"connection_id":229091,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:08:24] local.INFO: Acknowledgment sent {"connection_id":229091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:08:41] local.INFO: TCP Data received {"connection_id":229090,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a690c948012d3c9c0006a3eec8004001672c..."} 
[2026-11-04 18:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a690c948012d3c9c0006a3eec8004001672c..."} 
[2026-11-04 18:08:41] local.INFO: Processing buffer {"connection_id":229090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a690c948012d3c9c0006a3eec8004001672c..."} 
[2026-11-04 18:08:41] local.INFO: Packet analysis {"connection_id":229090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a690"} 
[2026-11-04 18:08:41] local.INFO: Extracted packet for processing {"connection_id":229090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a690"} 
[2026-11-04 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758946816,"raw_latitude":111406792,"longitude_deg":75.8946816,"latitude_deg":11.1406792,"altitude":64,"angle":359,"satellites":44,"speed":59,"hex_longitude":"2d3c9c00","hex_latitude":"06a3eec8","is_valid_coordinates":true} 
[2026-11-04 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211740928001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39259235195813888,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367365767160360960,"note":"Value kept but may cause issues"} 
[2026-11-04 18:08:41] 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-11-04 18:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1793795869000,"timestamp_ms":1793795869000,"timestamp_seconds":1793795869,"priority":1,"record_length":96,"hex_timestamp":"000001a1a690c948"} 
[2026-11-04 18:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 18:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":229090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":229090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":229090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211740928001,"66":27930,"58":206,"19":48128,"24":59,"16":39259235195813888,"45":4367365767160360960},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 18:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211740928001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:08:41] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 18:08:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39259235195813888,"km_value":39259235195813.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367365767160360960,"description":"Unknown IO ID 45"} 
[2026-11-04 18:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211740928001,"power":27930,"unknown_58":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4367365767160360960}} 
[2026-11-04 18:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":229090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:08:41] local.INFO: GPS data processed {"connection_id":229090,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:08:41] local.INFO: Acknowledgment sent {"connection_id":229090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:09:06] local.INFO: TCP Data received {"connection_id":229573,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:06] local.INFO: Processing buffer {"connection_id":229573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:06] local.INFO: IMEI packet received {"connection_id":229573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":229573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:09:07] local.INFO: TCP Data received {"connection_id":229573,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:07] local.INFO: Processing buffer {"connection_id":229573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:07] local.INFO: IMEI packet received {"connection_id":229573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":229573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:09:08] local.INFO: TCP Data received {"connection_id":230881,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:09:08] local.INFO: Processing buffer {"connection_id":230881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:09:08] local.INFO: IMEI packet received {"connection_id":230881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":230881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:09:11] local.INFO: TCP Data received {"connection_id":229573,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:11] local.INFO: Processing buffer {"connection_id":229573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:09:11] local.INFO: IMEI packet received {"connection_id":229573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":229573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:09:13] local.INFO: TCP Data received {"connection_id":229573,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a690e0b8012d3c9b8006a411d0003f01672e..."} 
[2026-11-04 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a690e0b8012d3c9b8006a411d0003f01672e..."} 
[2026-11-04 18:09:13] local.INFO: Processing buffer {"connection_id":229573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a690e0b8012d3c9b8006a411d0003f01672e..."} 
[2026-11-04 18:09:13] local.INFO: Packet analysis {"connection_id":229573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a690"} 
[2026-11-04 18:09:13] local.INFO: Extracted packet for processing {"connection_id":229573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a690"} 
[2026-11-04 18:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758946688,"raw_latitude":111415760,"longitude_deg":75.8946688,"latitude_deg":11.141576,"altitude":63,"angle":359,"satellites":46,"speed":59,"hex_longitude":"2d3c9b80","hex_latitude":"06a411d0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211742464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39259673282478080,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367365767162677248,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:13] 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-11-04 18:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793795875000,"timestamp_ms":1793795875000,"timestamp_seconds":1793795875,"priority":1,"record_length":96,"hex_timestamp":"000001a1a690e0b8"} 
[2026-11-04 18:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 18:09: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-11-04 18: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-11-04 18:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211742464001,"66":27952,"58":206,"19":48128,"24":59,"16":39259673282478080,"45":4367365767162677248},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-11-04 18:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211742464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:09:13] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-11-04 18:09:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39259673282478080,"km_value":39259673282478.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367365767162677248,"description":"Unknown IO ID 45"} 
[2026-11-04 18:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211742464001,"power":27952,"unknown_58":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4367365767162677248}} 
[2026-11-04 18:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":229573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:09:13] local.INFO: GPS data processed {"connection_id":229573,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:09:13] local.INFO: Acknowledgment sent {"connection_id":229573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:09:13] local.INFO: TCP Data received {"connection_id":230881,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:09:13] local.INFO: Processing buffer {"connection_id":230881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:09:13] local.INFO: IMEI packet received {"connection_id":230881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":230881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:09:15] local.INFO: TCP Data received {"connection_id":230881,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:09:15] local.INFO: Processing buffer {"connection_id":230881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a68d5290012cb2a48007751550001900182f..."} 
[2026-11-04 18:09:15] local.INFO: Packet analysis {"connection_id":230881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:09:15] local.INFO: Extracted packet for processing {"connection_id":230881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a68d"} 
[2026-11-04 18:09:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211607296001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795642000,"timestamp_ms":1793795642000,"timestamp_seconds":1793795642,"priority":1,"record_length":96,"hex_timestamp":"000001a1a68d5290"} 
[2026-11-04 18:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:09:15] 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-11-04 18:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211607296001,"66":26778,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211607296001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:09:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:09:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:09:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211607296001,"power":26778,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":230881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:09:15] local.INFO: GPS data processed {"connection_id":230881,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:09:15] local.INFO: Acknowledgment sent {"connection_id":230881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:09:44] local.INFO: TCP Data received {"connection_id":229573,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691b790012d3cb68006a546d80039015830..."} 
[2026-11-04 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691b790012d3cb68006a546d80039015830..."} 
[2026-11-04 18:09:44] local.INFO: Processing buffer {"connection_id":229573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691b790012d3cb68006a546d80039015830..."} 
[2026-11-04 18:09:44] local.INFO: Packet analysis {"connection_id":229573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:09:44] local.INFO: Extracted packet for processing {"connection_id":229573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758953600,"raw_latitude":111494872,"longitude_deg":75.89536,"latitude_deg":11.1494872,"altitude":57,"angle":344,"satellites":48,"speed":50,"hex_longitude":"2d3cb680","hex_latitude":"06a546d8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211756288001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39263646127226880,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4376584072670263296,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793795930000,"timestamp_ms":1793795930000,"timestamp_seconds":1793795930,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691b790"} 
[2026-11-04 18:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 18:09:44] 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-11-04 18: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-11-04 18:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211756288001,"66":27821,"12":206,"19":48128,"24":50,"16":39263646127226880,"45":4376584072670263296},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 18:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211756288001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:09:44] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 18:09:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39263646127226880,"km_value":39263646127226.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4376584072670263296,"description":"Unknown IO ID 45"} 
[2026-11-04 18:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211756288001,"power":27821,"unknown_12":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4376584072670263296}} 
[2026-11-04 18:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":229573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:09:44] local.INFO: GPS data processed {"connection_id":229573,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:09:44] local.INFO: Acknowledgment sent {"connection_id":229573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:09:46] local.INFO: TCP Data received {"connection_id":230881,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:09:46] local.INFO: Processing buffer {"connection_id":230881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:09:46] local.INFO: Packet analysis {"connection_id":230881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:09:46] local.INFO: Extracted packet for processing {"connection_id":230881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:09:46] 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-11-04 18:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:09:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:09:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:09:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":230881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:09:47] local.INFO: GPS data processed {"connection_id":230881,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:09:47] local.INFO: Acknowledgment sent {"connection_id":230881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:10:05] local.INFO: TCP Data received {"connection_id":229092,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:05] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:05] local.INFO: IMEI packet received {"connection_id":229092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":229092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:10:06] local.INFO: TCP Data received {"connection_id":229092,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:06] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:06] local.INFO: IMEI packet received {"connection_id":229092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":229092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:10:08] local.INFO: TCP Data received {"connection_id":229093,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:10:08] local.INFO: Processing buffer {"connection_id":229093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:10:08] local.INFO: IMEI packet received {"connection_id":229093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":229093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:10:11] local.INFO: TCP Data received {"connection_id":229092,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:11] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:10:11] local.INFO: IMEI packet received {"connection_id":229092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":229092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:10:12] local.INFO: TCP Data received {"connection_id":229092,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691cb18012d3cad4006a55d50003c014d31..."} 
[2026-11-04 18:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691cb18012d3cad4006a55d50003c014d31..."} 
[2026-11-04 18:10:12] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691cb18012d3cad4006a55d50003c014d31..."} 
[2026-11-04 18:10:12] local.INFO: Packet analysis {"connection_id":229092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:12] local.INFO: Extracted packet for processing {"connection_id":229092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758951232,"raw_latitude":111500624,"longitude_deg":75.8951232,"latitude_deg":11.1500624,"altitude":60,"angle":333,"satellites":49,"speed":48,"hex_longitude":"2d3cad40","hex_latitude":"06a55d50","is_valid_coordinates":true} 
[2026-11-04 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211758080001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39263946774937600,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4374824854068058112,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793795935000,"timestamp_ms":1793795935000,"timestamp_seconds":1793795935,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691cb18"} 
[2026-11-04 18:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 18:10: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-11-04 18:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211758080001,"66":27767,"12":206,"19":48128,"24":48,"16":39263946774937600,"45":4374824854068058112},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 18:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211758080001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:10:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 18:10:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39263946774937600,"km_value":39263946774937.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4374824854068058112,"description":"Unknown IO ID 45"} 
[2026-11-04 18:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211758080001,"power":27767,"unknown_12":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4374824854068058112}} 
[2026-11-04 18:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":229092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:10:12] local.INFO: GPS data processed {"connection_id":229092,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:10:12] local.INFO: Acknowledgment sent {"connection_id":229092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:10:13] local.INFO: TCP Data received {"connection_id":229093,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:10:13] local.INFO: Processing buffer {"connection_id":229093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:10:13] local.INFO: IMEI packet received {"connection_id":229093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":229093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:10:14] local.INFO: TCP Data received {"connection_id":229093,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:10:14] local.INFO: Processing buffer {"connection_id":229093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:10:14] local.INFO: Packet analysis {"connection_id":229093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:14] local.INFO: Extracted packet for processing {"connection_id":229093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:10:14] 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-11-04 18:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:10:14] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:10:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:10:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":229093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:10:14] local.INFO: GPS data processed {"connection_id":229093,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:10:14] local.INFO: Acknowledgment sent {"connection_id":229093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:10:43] local.INFO: TCP Data received {"connection_id":229092,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012d3c9b0006a57db80041014931..."} 
[2026-11-04 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012d3c9b0006a57db80041014931..."} 
[2026-11-04 18:10:43] local.INFO: Processing buffer {"connection_id":229092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012d3c9b0006a57db80041014931..."} 
[2026-11-04 18:10:43] local.INFO: Packet analysis {"connection_id":229092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:43] local.INFO: Extracted packet for processing {"connection_id":229092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758946560,"raw_latitude":111508920,"longitude_deg":75.894656,"latitude_deg":11.150892,"altitude":65,"angle":329,"satellites":49,"speed":46,"hex_longitude":"2d3c9b00","hex_latitude":"06a57db8","is_valid_coordinates":true} 
[2026-11-04 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211759360001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39264406336438272,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4372221210534957056,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211759360001,"66":27800,"12":206,"19":48128,"24":46,"16":39264406336438272,"45":4372221210534957056},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-11-04 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211759360001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:10:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-11-04 18:10:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-11-04 18:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39264406336438272,"km_value":39264406336438.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4372221210534957056,"description":"Unknown IO ID 45"} 
[2026-11-04 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211759360001,"power":27800,"unknown_12":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4372221210534957056}} 
[2026-11-04 18:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":229092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:10:43] local.INFO: GPS data processed {"connection_id":229092,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:10:43] local.INFO: Acknowledgment sent {"connection_id":229092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:10:46] local.INFO: TCP Data received {"connection_id":229093,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:10:46] local.INFO: Processing buffer {"connection_id":229093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:10:46] local.INFO: Packet analysis {"connection_id":229093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:46] local.INFO: Extracted packet for processing {"connection_id":229093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:10:46] 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-11-04 18:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:10:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:10:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":229093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:10:46] local.INFO: GPS data processed {"connection_id":229093,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:10:46] local.INFO: Acknowledgment sent {"connection_id":229093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:11:13] local.INFO: TCP Data received {"connection_id":232732,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:11:13] local.INFO: Processing buffer {"connection_id":232732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:11:13] local.INFO: IMEI packet received {"connection_id":232732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":232732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:11:18] local.INFO: TCP Data received {"connection_id":232732,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:11:18] local.INFO: Processing buffer {"connection_id":232732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:11:18] local.INFO: IMEI packet received {"connection_id":232732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":232732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:11:20] local.INFO: TCP Data received {"connection_id":232732,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:20] local.INFO: Processing buffer {"connection_id":232732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:20] local.INFO: Packet analysis {"connection_id":232732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:11:20] local.INFO: Extracted packet for processing {"connection_id":232732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:11:20] 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-11-04 18: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-11-04 18:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:11:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:11:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":232732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:11:20] local.INFO: GPS data processed {"connection_id":232732,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:11:20] local.INFO: Acknowledgment sent {"connection_id":232732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:11:24] local.INFO: TCP Data received {"connection_id":232732,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:24] local.INFO: Processing buffer {"connection_id":232732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:24] local.INFO: Packet analysis {"connection_id":232732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:11:24] local.INFO: Extracted packet for processing {"connection_id":232732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:11:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:11:24] 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-11-04 18:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:11:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:11:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":232732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:11:24] local.INFO: GPS data processed {"connection_id":232732,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:11:24] local.INFO: Acknowledgment sent {"connection_id":232732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:11:29] local.INFO: TCP Data received {"connection_id":232732,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:29] local.INFO: Processing buffer {"connection_id":232732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:11:29] local.INFO: Packet analysis {"connection_id":232732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:11:29] local.INFO: Extracted packet for processing {"connection_id":232732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:11:29] 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-11-04 18: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-11-04 18:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":232732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":232732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":232732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:11:29] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:11:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":232732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:11:29] local.INFO: GPS data processed {"connection_id":232732,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:11:29] local.INFO: Acknowledgment sent {"connection_id":232732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:11:57] local.INFO: TCP Data received {"connection_id":232733,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:11:57] local.INFO: Processing buffer {"connection_id":232733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:11:57] local.INFO: IMEI packet received {"connection_id":232733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":232733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:12:08] local.INFO: TCP Data received {"connection_id":229094,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:12:08] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:12:08] local.INFO: IMEI packet received {"connection_id":229094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":229094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:12:13] local.INFO: TCP Data received {"connection_id":229094,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:12:13] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:12:13] local.INFO: IMEI packet received {"connection_id":229094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":229094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:12:15] local.INFO: TCP Data received {"connection_id":229094,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:12:15] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:12:15] local.INFO: Packet analysis {"connection_id":229094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:12:15] local.INFO: Extracted packet for processing {"connection_id":229094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:12:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:12:15] 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-11-04 18:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:12:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:12:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:12:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":229094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:12:15] local.INFO: GPS data processed {"connection_id":229094,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:12:15] local.INFO: Acknowledgment sent {"connection_id":229094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:12:47] local.INFO: TCP Data received {"connection_id":229094,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:12:47] local.INFO: Processing buffer {"connection_id":229094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:12:47] local.INFO: Packet analysis {"connection_id":229094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:12:47] local.INFO: Extracted packet for processing {"connection_id":229094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:12:47] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:12:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:12:47] 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-11-04 18: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-11-04 18:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:12:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:12:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:12:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":229094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:12:47] local.INFO: GPS data processed {"connection_id":229094,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:12:47] local.INFO: Acknowledgment sent {"connection_id":229094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:13:13] local.INFO: TCP Data received {"connection_id":230883,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:13:13] local.INFO: Processing buffer {"connection_id":230883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:13:13] local.INFO: IMEI packet received {"connection_id":230883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":230883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:13:21] local.INFO: TCP Data received {"connection_id":230883,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:13:21] local.INFO: Processing buffer {"connection_id":230883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:13:21] local.INFO: IMEI packet received {"connection_id":230883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":230883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:13:23] local.INFO: TCP Data received {"connection_id":230883,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:13:23] local.INFO: Processing buffer {"connection_id":230883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:13:23] local.INFO: Packet analysis {"connection_id":230883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:13:23] local.INFO: Extracted packet for processing {"connection_id":230883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:13:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:13:23] 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-11-04 18:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:13:23] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:13:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:13:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":230883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:13:23] local.INFO: GPS data processed {"connection_id":230883,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:13:23] local.INFO: Acknowledgment sent {"connection_id":230883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:14:13] local.INFO: TCP Data received {"connection_id":229574,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:14:13] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:14:13] local.INFO: IMEI packet received {"connection_id":229574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":229574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:14:18] local.INFO: TCP Data received {"connection_id":229574,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:14:18] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:14:18] local.INFO: IMEI packet received {"connection_id":229574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":229574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:14:19] local.INFO: TCP Data received {"connection_id":229574,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:14:19] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:14:19] local.INFO: Packet analysis {"connection_id":229574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:14:19] local.INFO: Extracted packet for processing {"connection_id":229574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:14:19] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:14:19] 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-11-04 18: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-11-04 18:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:14:19] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:14:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":229574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:14:20] local.INFO: GPS data processed {"connection_id":229574,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:14:20] local.INFO: Acknowledgment sent {"connection_id":229574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:14:24] local.INFO: TCP Data received {"connection_id":229574,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:14:24] local.INFO: Processing buffer {"connection_id":229574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a691ea58012cb2a48007751550001900182f..."} 
[2026-11-04 18:14:24] local.INFO: Packet analysis {"connection_id":229574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:14:24] local.INFO: Extracted packet for processing {"connection_id":229574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a691"} 
[2026-11-04 18:14:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211684352001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:14:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793795943000,"timestamp_ms":1793795943000,"timestamp_seconds":1793795943,"priority":1,"record_length":96,"hex_timestamp":"000001a1a691ea58"} 
[2026-11-04 18:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-11-04 18:14:24] 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-11-04 18:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211684352001,"66":26691,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211684352001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:14:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:14:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:14:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211684352001,"power":26691,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":229574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:14:24] local.INFO: GPS data processed {"connection_id":229574,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:14:24] local.INFO: Acknowledgment sent {"connection_id":229574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:15:08] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:15:08] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:15:08] local.INFO: IMEI packet received {"connection_id":229096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":229096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:15:13] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:15:13] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:15:13] local.INFO: IMEI packet received {"connection_id":229096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":229096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:15:15] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:15:15] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:15:15] local.INFO: Packet analysis {"connection_id":229096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:15:15] local.INFO: Extracted packet for processing {"connection_id":229096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:15:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:15:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:15:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:15:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:15:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":229096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:15:15] local.INFO: GPS data processed {"connection_id":229096,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:15:15] local.INFO: Acknowledgment sent {"connection_id":229096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:15:46] local.INFO: TCP Data received {"connection_id":229096,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:15:46] local.INFO: Processing buffer {"connection_id":229096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:15:46] local.INFO: Packet analysis {"connection_id":229096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:15:46] local.INFO: Extracted packet for processing {"connection_id":229096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:15:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:15:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:15:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:15:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:15:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":229096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:15:47] local.INFO: GPS data processed {"connection_id":229096,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:15:47] local.INFO: Acknowledgment sent {"connection_id":229096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:16:08] local.INFO: TCP Data received {"connection_id":230885,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:16:08] local.INFO: Processing buffer {"connection_id":230885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:16:08] local.INFO: IMEI packet received {"connection_id":230885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":230885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:16:13] local.INFO: TCP Data received {"connection_id":230885,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:16:13] local.INFO: Processing buffer {"connection_id":230885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:16:13] local.INFO: IMEI packet received {"connection_id":230885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":230885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:16:15] local.INFO: TCP Data received {"connection_id":230885,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:16:15] local.INFO: Processing buffer {"connection_id":230885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:16:15] local.INFO: Packet analysis {"connection_id":230885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:16:15] local.INFO: Extracted packet for processing {"connection_id":230885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:16:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:16:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:16:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:16:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:16:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":230885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:16:15] local.INFO: GPS data processed {"connection_id":230885,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:16:15] local.INFO: Acknowledgment sent {"connection_id":230885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:16:46] local.INFO: TCP Data received {"connection_id":230885,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:16:46] local.INFO: Processing buffer {"connection_id":230885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:16:46] local.INFO: Packet analysis {"connection_id":230885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:16:46] local.INFO: Extracted packet for processing {"connection_id":230885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:16:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:16:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:16:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:16:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":230885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:16:47] local.INFO: GPS data processed {"connection_id":230885,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:16:47] local.INFO: Acknowledgment sent {"connection_id":230885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:17:06] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:06] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:06] local.INFO: IMEI packet received {"connection_id":229098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":229098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:17:08] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:08] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:08] local.INFO: IMEI packet received {"connection_id":229098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":229098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:17:13] local.INFO: TCP Data received {"connection_id":230886,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:17:13] local.INFO: Processing buffer {"connection_id":230886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:17:13] local.INFO: IMEI packet received {"connection_id":230886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":230886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:17:18] local.INFO: TCP Data received {"connection_id":230886,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:17:18] local.INFO: Processing buffer {"connection_id":230886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:17:18] local.INFO: IMEI packet received {"connection_id":230886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":230886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:17:20] local.INFO: TCP Data received {"connection_id":230886,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:17:20] local.INFO: Processing buffer {"connection_id":230886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:17:20] local.INFO: Packet analysis {"connection_id":230886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:17:20] local.INFO: Extracted packet for processing {"connection_id":230886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:17:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:17:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":230886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:17:20] local.INFO: GPS data processed {"connection_id":230886,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:17:20] local.INFO: Acknowledgment sent {"connection_id":230886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:17:24] local.INFO: TCP Data received {"connection_id":230886,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:17:24] local.INFO: Processing buffer {"connection_id":230886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:17:24] local.INFO: Packet analysis {"connection_id":230886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:17:24] local.INFO: Extracted packet for processing {"connection_id":230886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:17:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":230886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":230886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":230886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:17:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:17:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:17:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":230886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:17:24] local.INFO: GPS data processed {"connection_id":230886,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:17:24] local.INFO: Acknowledgment sent {"connection_id":230886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:17:25] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:25] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:17:25] local.INFO: IMEI packet received {"connection_id":229098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":229098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:17:26] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a697a718012d38070006a997c8000c00fd30..."} 
[2026-11-04 18:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a697a718012d38070006a997c8000c00fd30..."} 
[2026-11-04 18:17:26] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a697a718012d38070006a997c8000c00fd30..."} 
[2026-11-04 18:17:26] local.INFO: Packet analysis {"connection_id":229098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a697"} 
[2026-11-04 18:17:26] local.INFO: Extracted packet for processing {"connection_id":229098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a697"} 
[2026-11-04 18:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758646528,"raw_latitude":111777736,"longitude_deg":75.8646528,"latitude_deg":11.1777736,"altitude":12,"angle":253,"satellites":48,"speed":7,"hex_longitude":"2d380700","hex_latitude":"06a997c8","is_valid_coordinates":true} 
[2026-11-04 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211854336001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39285378661744640,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4046132450086633472,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:26] 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-11-04 18:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793796319000,"timestamp_ms":1793796319000,"timestamp_seconds":1793796319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a697a718"} 
[2026-11-04 18:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 18:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211854336001,"66":27441,"91":206,"28":21760,"24":7,"16":39285378661744640,"45":4046132450086633472},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-11-04 18:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211854336001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:17:26] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-04 18:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39285378661744640,"km_value":39285378661744.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4046132450086633472,"description":"Unknown IO ID 45"} 
[2026-11-04 18:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211854336001,"power":27441,"unknown_91":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":4046132450086633472}} 
[2026-11-04 18:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":229098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:17:26] local.INFO: GPS data processed {"connection_id":229098,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:17:26] local.INFO: Acknowledgment sent {"connection_id":229098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:17:27] local.INFO: TCP Data received {"connection_id":229098,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a697d5f8012d3800c006a99660000d01082c..."} 
[2026-11-04 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a697d5f8012d3800c006a99660000d01082c..."} 
[2026-11-04 18:17:27] local.INFO: Processing buffer {"connection_id":229098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a697d5f8012d3800c006a99660000d01082c..."} 
[2026-11-04 18:17:27] local.INFO: Packet analysis {"connection_id":229098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a697"} 
[2026-11-04 18:17:27] local.INFO: Extracted packet for processing {"connection_id":229098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a697"} 
[2026-11-04 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":758644928,"raw_latitude":111777376,"longitude_deg":75.8644928,"latitude_deg":11.1777376,"altitude":13,"angle":264,"satellites":44,"speed":10,"hex_longitude":"2d3800c0","hex_latitude":"06a99660","is_valid_coordinates":true} 
[2026-11-04 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211857664001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39285455971155968,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4037195619576039424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:17:27] 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-11-04 18:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793796331000,"timestamp_ms":1793796331000,"timestamp_seconds":1793796331,"priority":1,"record_length":96,"hex_timestamp":"000001a1a697d5f8"} 
[2026-11-04 18:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-11-04 18:17:27] 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-11-04 18:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211857664001,"66":27332,"91":206,"28":21760,"24":10,"16":39285455971155968,"45":4037195619576039424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-11-04 18:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211857664001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-11-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39285455971155968,"km_value":39285455971155.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":4037195619576039424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211857664001,"power":27332,"unknown_91":206,"unknown_28":21760,"ignition":10,"odometer":null,"unknown_45":4037195619576039424}} 
[2026-11-04 18:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":229098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:17:27] local.INFO: GPS data processed {"connection_id":229098,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:17:27] local.INFO: Acknowledgment sent {"connection_id":229098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:18:08] local.INFO: TCP Data received {"connection_id":232734,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:18:08] local.INFO: Processing buffer {"connection_id":232734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:18:08] local.INFO: IMEI packet received {"connection_id":232734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":232734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:18:11] local.INFO: TCP Data received {"connection_id":229575,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:18:11] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:18:11] local.INFO: IMEI packet received {"connection_id":229575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":229575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:18:13] local.INFO: TCP Data received {"connection_id":232734,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:18:13] local.INFO: Processing buffer {"connection_id":232734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:18:13] local.INFO: IMEI packet received {"connection_id":232734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":232734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:18:15] local.INFO: TCP Data received {"connection_id":232734,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:18:15] local.INFO: Processing buffer {"connection_id":232734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:18:15] local.INFO: Packet analysis {"connection_id":232734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:18:15] local.INFO: Extracted packet for processing {"connection_id":232734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:18:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:18:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:18:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:18:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:18:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:18:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:18:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:18:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":232734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:18:15] local.INFO: GPS data processed {"connection_id":232734,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:18:15] local.INFO: Acknowledgment sent {"connection_id":232734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:18:16] local.INFO: TCP Data received {"connection_id":229575,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:18:16] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:18:16] local.INFO: IMEI packet received {"connection_id":229575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":229575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:18:16] local.INFO: TCP Data received {"connection_id":229575,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6997020012d369d8006a9cd58000b012e2a..."} 
[2026-11-04 18:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6997020012d369d8006a9cd58000b012e2a..."} 
[2026-11-04 18:18:16] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6997020012d369d8006a9cd58000b012e2a..."} 
[2026-11-04 18:18:16] local.INFO: Packet analysis {"connection_id":229575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:18:16] local.INFO: Extracted packet for processing {"connection_id":229575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:18:16] local.INFO: GPS Element Parsed {"raw_longitude":758553984,"raw_latitude":111791448,"longitude_deg":75.8553984,"latitude_deg":11.1791448,"altitude":11,"angle":302,"satellites":42,"speed":40,"hex_longitude":"2d369d80","hex_latitude":"06a9cd58","is_valid_coordinates":true} 
[2026-11-04 18:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211884544001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39289995751587840,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3943605189821591552,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:16] 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-11-04 18:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793796436000,"timestamp_ms":1793796436000,"timestamp_seconds":1793796436,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6997020"} 
[2026-11-04 18:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 18:18:16] 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-11-04 18:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211884544001,"66":27463,"104":206,"28":21760,"24":40,"16":39289995751587840,"45":3943605189821591552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211884544001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:18:16] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39289995751587840,"km_value":39289995751587.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3943605189821591552,"description":"Unknown IO ID 45"} 
[2026-11-04 18:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211884544001,"power":27463,"unknown_104":206,"unknown_28":21760,"ignition":40,"odometer":null,"unknown_45":3943605189821591552}} 
[2026-11-04 18:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":229575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:18:16] local.INFO: GPS data processed {"connection_id":229575,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:18:16] local.INFO: Acknowledgment sent {"connection_id":229575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:18:19] local.INFO: TCP Data received {"connection_id":229575,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69977f0012d36968006a9d0c0000b01222c..."} 
[2026-11-04 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69977f0012d36968006a9d0c0000b01222c..."} 
[2026-11-04 18:18:19] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69977f0012d36968006a9d0c0000b01222c..."} 
[2026-11-04 18:18:19] local.INFO: Packet analysis {"connection_id":229575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:18:19] local.INFO: Extracted packet for processing {"connection_id":229575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758552192,"raw_latitude":111792320,"longitude_deg":75.8552192,"latitude_deg":11.179232,"altitude":11,"angle":290,"satellites":44,"speed":38,"hex_longitude":"2d369680","hex_latitude":"06a9d0c0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211887616001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39290094535835648,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3935442415498647552,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:19] 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-11-04 18:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793796438000,"timestamp_ms":1793796438000,"timestamp_seconds":1793796438,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69977f0"} 
[2026-11-04 18:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 18:18:19] 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-11-04 18: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-11-04 18:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211887616001,"66":27463,"104":206,"28":21760,"24":38,"16":39290094535835648,"45":3935442415498647552},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211887616001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:18:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:18:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39290094535835648,"km_value":39290094535835.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3935442415498647552,"description":"Unknown IO ID 45"} 
[2026-11-04 18:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211887616001,"power":27463,"unknown_104":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3935442415498647552}} 
[2026-11-04 18:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":229575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:18:19] local.INFO: GPS data processed {"connection_id":229575,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:18:19] local.INFO: Acknowledgment sent {"connection_id":229575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:18:46] local.INFO: TCP Data received {"connection_id":232734,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:18:46] local.INFO: Processing buffer {"connection_id":232734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:18:46] local.INFO: Packet analysis {"connection_id":232734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:18:46] local.INFO: Extracted packet for processing {"connection_id":232734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:18:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":232734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:18:46] local.INFO: GPS data processed {"connection_id":232734,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:18:46] local.INFO: Acknowledgment sent {"connection_id":232734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:18:54] local.INFO: TCP Data received {"connection_id":229575,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6999f00012d3673c006a9daa8000b011e2e..."} 
[2026-11-04 18:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6999f00012d3673c006a9daa8000b011e2e..."} 
[2026-11-04 18:18:54] local.INFO: Processing buffer {"connection_id":229575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6999f00012d3673c006a9daa8000b011e2e..."} 
[2026-11-04 18:18:54] local.INFO: Packet analysis {"connection_id":229575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:18:54] local.INFO: Extracted packet for processing {"connection_id":229575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758543296,"raw_latitude":111794856,"longitude_deg":75.8543296,"latitude_deg":11.1794856,"altitude":11,"angle":286,"satellites":46,"speed":37,"hex_longitude":"2d3673c0","hex_latitude":"06a9daa8","is_valid_coordinates":true} 
[2026-11-04 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211888128001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39290532622499840,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3933472090661896192,"note":"Value kept but may cause issues"} 
[2026-11-04 18:18:54] 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-11-04 18:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793796448000,"timestamp_ms":1793796448000,"timestamp_seconds":1793796448,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6999f00"} 
[2026-11-04 18:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 18:18:54] 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-11-04 18:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211888128001,"66":27517,"104":206,"28":21760,"24":37,"16":39290532622499840,"45":3933472090661896192},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211888128001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:18:54] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:18:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39290532622499840,"km_value":39290532622499.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3933472090661896192,"description":"Unknown IO ID 45"} 
[2026-11-04 18:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211888128001,"power":27517,"unknown_104":206,"unknown_28":21760,"ignition":37,"odometer":null,"unknown_45":3933472090661896192}} 
[2026-11-04 18:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":229575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:18:54] local.INFO: GPS data processed {"connection_id":229575,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:18:54] local.INFO: Acknowledgment sent {"connection_id":229575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:19:04] local.INFO: TCP Data received {"connection_id":229099,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:04] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:04] local.INFO: IMEI packet received {"connection_id":229099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":229099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:19:05] local.INFO: TCP Data received {"connection_id":229099,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:05] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:05] local.INFO: IMEI packet received {"connection_id":229099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":229099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:19:08] local.INFO: TCP Data received {"connection_id":232735,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:19:08] local.INFO: Processing buffer {"connection_id":232735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:19:08] local.INFO: IMEI packet received {"connection_id":232735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":232735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:19:11] local.INFO: TCP Data received {"connection_id":229099,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:11] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:19:11] local.INFO: IMEI packet received {"connection_id":229099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":229099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:19:13] local.INFO: TCP Data received {"connection_id":229099,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a699d1c8012d364fc006a9e4c8000b011c2d..."} 
[2026-11-04 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a699d1c8012d364fc006a9e4c8000b011c2d..."} 
[2026-11-04 18:19:13] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a699d1c8012d364fc006a9e4c8000b011c2d..."} 
[2026-11-04 18:19:13] local.INFO: Packet analysis {"connection_id":229099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:19:13] local.INFO: Extracted packet for processing {"connection_id":229099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a699"} 
[2026-11-04 18:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758534080,"raw_latitude":111797448,"longitude_deg":75.853408,"latitude_deg":11.1797448,"altitude":11,"angle":284,"satellites":45,"speed":28,"hex_longitude":"2d364fc0","hex_latitude":"06a9e4c8","is_valid_coordinates":true} 
[2026-11-04 18:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211890688001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39290987889033216,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3923690835221850112,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:13] 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-11-04 18:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793796461000,"timestamp_ms":1793796461000,"timestamp_seconds":1793796461,"priority":1,"record_length":96,"hex_timestamp":"000001a1a699d1c8"} 
[2026-11-04 18:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 18:19:13] 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-11-04 18:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211890688001,"66":27463,"104":206,"28":21760,"24":28,"16":39290987889033216,"45":3923690835221850112},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211890688001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:19:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:19:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39290987889033216,"km_value":39290987889033.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3923690835221850112,"description":"Unknown IO ID 45"} 
[2026-11-04 18:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211890688001,"power":27463,"unknown_104":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":3923690835221850112}} 
[2026-11-04 18:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":229099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:19:13] local.INFO: GPS data processed {"connection_id":229099,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:19:13] local.INFO: Acknowledgment sent {"connection_id":229099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:19:13] local.INFO: TCP Data received {"connection_id":232735,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:19:13] local.INFO: Processing buffer {"connection_id":232735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:19:13] local.INFO: IMEI packet received {"connection_id":232735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":232735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:19:15] local.INFO: TCP Data received {"connection_id":232735,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:19:15] local.INFO: Processing buffer {"connection_id":232735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6968220012cb2a48007751550001900182f..."} 
[2026-11-04 18:19:15] local.INFO: Packet analysis {"connection_id":232735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:19:15] local.INFO: Extracted packet for processing {"connection_id":232735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a696"} 
[2026-11-04 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:19: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-11-04 18:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211761408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796244000,"timestamp_ms":1793796244000,"timestamp_seconds":1793796244,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6968220"} 
[2026-11-04 18:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:19: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":104,"n8_eight_byte":67,"data_length":795,"current_offset":136} 
[2026-11-04 18:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1321,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:19: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-11-04 18:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211761408001,"66":26582,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211761408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:19:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:19:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:19:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211761408001,"power":26582,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":232735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:19:15] local.INFO: GPS data processed {"connection_id":232735,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:19:15] local.INFO: Acknowledgment sent {"connection_id":232735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:19:45] local.INFO: TCP Data received {"connection_id":229099,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69a1048012d362bc006a9efa8000c011f30..."} 
[2026-11-04 18:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69a1048012d362bc006a9efa8000c011f30..."} 
[2026-11-04 18:19:45] local.INFO: Processing buffer {"connection_id":229099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69a1048012d362bc006a9efa8000c011f30..."} 
[2026-11-04 18:19:45] local.INFO: Packet analysis {"connection_id":229099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:19:45] local.INFO: Extracted packet for processing {"connection_id":229099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758524864,"raw_latitude":111800232,"longitude_deg":75.8524864,"latitude_deg":11.1800232,"altitude":12,"angle":287,"satellites":48,"speed":26,"hex_longitude":"2d362bc0","hex_latitude":"06a9efa8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211894016001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39291447450533888,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3913557736060930048,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:45] 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-11-04 18:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793796477000,"timestamp_ms":1793796477000,"timestamp_seconds":1793796477,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69a1048"} 
[2026-11-04 18:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":71,"data_length":795,"current_offset":136} 
[2026-11-04 18:19:45] 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-11-04 18: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-11-04 18:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211894016001,"66":27300,"104":206,"28":21760,"24":26,"16":39291447450533888,"45":3913557736060930048},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211894016001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:19:45] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39291447450533888,"km_value":39291447450533.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3913557736060930048,"description":"Unknown IO ID 45"} 
[2026-11-04 18:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211894016001,"power":27300,"unknown_104":206,"unknown_28":21760,"ignition":26,"odometer":null,"unknown_45":3913557736060930048}} 
[2026-11-04 18:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":229099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:19:45] local.INFO: GPS data processed {"connection_id":229099,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:19:45] local.INFO: Acknowledgment sent {"connection_id":229099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:19:50] local.INFO: TCP Data received {"connection_id":232735,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:19:50] local.INFO: Processing buffer {"connection_id":232735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:19:50] local.INFO: Packet analysis {"connection_id":232735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:19:50] local.INFO: Extracted packet for processing {"connection_id":232735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:19:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:19:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":232735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:19:50] local.INFO: GPS data processed {"connection_id":232735,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:19:50] local.INFO: Acknowledgment sent {"connection_id":232735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:20:07] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:20:07] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:20:07] local.INFO: IMEI packet received {"connection_id":229100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":229100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:20:08] local.INFO: TCP Data received {"connection_id":230887,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:20:08] local.INFO: Processing buffer {"connection_id":230887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:20:08] local.INFO: IMEI packet received {"connection_id":230887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":230887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:20:10] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:20:10] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:20:10] local.INFO: IMEI packet received {"connection_id":229100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":229100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:20:11] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69a3b40012d36098006a9fdf0000c01262e..."} 
[2026-11-04 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69a3b40012d36098006a9fdf0000c01262e..."} 
[2026-11-04 18:20:11] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69a3b40012d36098006a9fdf0000c01262e..."} 
[2026-11-04 18:20:11] local.INFO: Packet analysis {"connection_id":229100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:20:11] local.INFO: Extracted packet for processing {"connection_id":229100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758516096,"raw_latitude":111803888,"longitude_deg":75.8516096,"latitude_deg":11.1803888,"altitude":12,"angle":294,"satellites":46,"speed":41,"hex_longitude":"2d360980","hex_latitude":"06a9fdf0","is_valid_coordinates":true} 
[2026-11-04 18:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211898112001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39291902717067264,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3903424636900059136,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793796488000,"timestamp_ms":1793796488000,"timestamp_seconds":1793796488,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69a3b40"} 
[2026-11-04 18:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-11-04 18:20:11] 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-11-04 18:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211898112001,"66":27484,"104":206,"28":21760,"24":41,"16":39291902717067264,"45":3903424636900059136},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211898112001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:20:11] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39291902717067264,"km_value":39291902717067.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3903424636900059136,"description":"Unknown IO ID 45"} 
[2026-11-04 18:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211898112001,"power":27484,"unknown_104":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":3903424636900059136}} 
[2026-11-04 18:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":229100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:20:11] local.INFO: GPS data processed {"connection_id":229100,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:20:11] local.INFO: Acknowledgment sent {"connection_id":229100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:20:13] local.INFO: TCP Data received {"connection_id":230887,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:20:13] local.INFO: Processing buffer {"connection_id":230887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:20:13] local.INFO: IMEI packet received {"connection_id":230887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":230887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:20:15] local.INFO: TCP Data received {"connection_id":230887,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:20:15] local.INFO: Processing buffer {"connection_id":230887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:20:15] local.INFO: Packet analysis {"connection_id":230887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:20:15] local.INFO: Extracted packet for processing {"connection_id":230887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:20:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:20:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:20:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":230887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60098,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:20:15] local.INFO: GPS data processed {"connection_id":230887,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:20:15] local.INFO: Acknowledgment sent {"connection_id":230887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:20:44] local.INFO: TCP Data received {"connection_id":229100,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69a5e68012d35e5c006aa0d30000c01242e..."} 
[2026-11-04 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69a5e68012d35e5c006aa0d30000c01242e..."} 
[2026-11-04 18:20:44] local.INFO: Processing buffer {"connection_id":229100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69a5e68012d35e5c006aa0d30000c01242e..."} 
[2026-11-04 18:20:44] local.INFO: Packet analysis {"connection_id":229100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:20:44] local.INFO: Extracted packet for processing {"connection_id":229100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758506944,"raw_latitude":111807792,"longitude_deg":75.8506944,"latitude_deg":11.1807792,"altitude":12,"angle":292,"satellites":46,"speed":44,"hex_longitude":"2d35e5c0","hex_latitude":"06aa0d30","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211900928001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39292375163469824,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3893784118948655104,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:44] 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-11-04 18:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793796497000,"timestamp_ms":1793796497000,"timestamp_seconds":1793796497,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69a5e68"} 
[2026-11-04 18:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-11-04 18:20: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-11-04 18: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-11-04 18:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211900928001,"66":27463,"104":206,"28":21760,"24":44,"16":39292375163469824,"45":3893784118948655104},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211900928001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:20:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:20:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39292375163469824,"km_value":39292375163469.82,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3893784118948655104,"description":"Unknown IO ID 45"} 
[2026-11-04 18:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211900928001,"power":27463,"unknown_104":206,"unknown_28":21760,"ignition":44,"odometer":null,"unknown_45":3893784118948655104}} 
[2026-11-04 18:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":229100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:20:44] local.INFO: GPS data processed {"connection_id":229100,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:20:44] local.INFO: Acknowledgment sent {"connection_id":229100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:20:46] local.INFO: TCP Data received {"connection_id":230887,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:20:46] local.INFO: Processing buffer {"connection_id":230887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:20:46] local.INFO: Packet analysis {"connection_id":230887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:20:46] local.INFO: Extracted packet for processing {"connection_id":230887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:20:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:20:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:20:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":230887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:20:47] local.INFO: GPS data processed {"connection_id":230887,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:20:47] local.INFO: Acknowledgment sent {"connection_id":230887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:21:06] local.INFO: TCP Data received {"connection_id":232736,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:21:06] local.INFO: Processing buffer {"connection_id":232736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:21:06] local.INFO: IMEI packet received {"connection_id":232736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":232736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:21:11] local.INFO: TCP Data received {"connection_id":232736,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:21:11] local.INFO: Processing buffer {"connection_id":232736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:21:11] local.INFO: IMEI packet received {"connection_id":232736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":232736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:21:13] local.INFO: TCP Data received {"connection_id":232736,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69a8190012d35c28006aa1b78000c01252e..."} 
[2026-11-04 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69a8190012d35c28006aa1b78000c01252e..."} 
[2026-11-04 18:21:13] local.INFO: Processing buffer {"connection_id":232736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69a8190012d35c28006aa1b78000c01252e..."} 
[2026-11-04 18:21:13] local.INFO: Packet analysis {"connection_id":232736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:21:13] local.INFO: Extracted packet for processing {"connection_id":232736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69a"} 
[2026-11-04 18:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758497920,"raw_latitude":111811448,"longitude_deg":75.849792,"latitude_deg":11.1811448,"altitude":12,"angle":293,"satellites":46,"speed":37,"hex_longitude":"2d35c280","hex_latitude":"06aa1b78","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211903232001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39292839019937792,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3883721388532248576,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:13] 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-11-04 18:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793796506000,"timestamp_ms":1793796506000,"timestamp_seconds":1793796506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69a8190"} 
[2026-11-04 18:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 18:21: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-11-04 18: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-11-04 18:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211903232001,"66":27343,"104":206,"28":21760,"24":37,"16":39292839019937792,"45":3883721388532248576},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-11-04 18:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211903232001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:21:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39292839019937792,"km_value":39292839019937.79,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3883721388532248576,"description":"Unknown IO ID 45"} 
[2026-11-04 18:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211903232001,"power":27343,"unknown_104":206,"unknown_28":21760,"ignition":37,"odometer":null,"unknown_45":3883721388532248576}} 
[2026-11-04 18:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":232736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:21:13] local.INFO: GPS data processed {"connection_id":232736,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:21:13] local.INFO: Acknowledgment sent {"connection_id":232736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:21:13] local.INFO: TCP Data received {"connection_id":229101,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:21:13] local.INFO: Processing buffer {"connection_id":229101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:21:13] local.INFO: IMEI packet received {"connection_id":229101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":229101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:21:18] local.INFO: TCP Data received {"connection_id":229101,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:21:18] local.INFO: Processing buffer {"connection_id":229101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:21:18] local.INFO: IMEI packet received {"connection_id":229101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":229101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:21:20] local.INFO: TCP Data received {"connection_id":229101,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:21:20] local.INFO: Processing buffer {"connection_id":229101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:21:20] local.INFO: Packet analysis {"connection_id":229101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:21:20] local.INFO: Extracted packet for processing {"connection_id":229101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:21:20] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:21:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":229101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:21:20] local.INFO: GPS data processed {"connection_id":229101,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:21:20] local.INFO: Acknowledgment sent {"connection_id":229101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:21:24] local.INFO: TCP Data received {"connection_id":229101,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:21:24] local.INFO: Processing buffer {"connection_id":229101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:21:24] local.INFO: Packet analysis {"connection_id":229101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:21:24] local.INFO: Extracted packet for processing {"connection_id":229101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:21:24] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:21:24] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:21:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:21:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":229101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:21:24] local.INFO: GPS data processed {"connection_id":229101,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:21:24] local.INFO: Acknowledgment sent {"connection_id":229101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:21:45] local.INFO: TCP Data received {"connection_id":232736,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69cc798012d34c60006aa5368000900cd2e..."} 
[2026-11-04 18:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69cc798012d34c60006aa5368000900cd2e..."} 
[2026-11-04 18:21:45] local.INFO: Processing buffer {"connection_id":232736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69cc798012d34c60006aa5368000900cd2e..."} 
[2026-11-04 18:21:45] local.INFO: Packet analysis {"connection_id":232736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69c"} 
[2026-11-04 18:21:45] local.INFO: Extracted packet for processing {"connection_id":232736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69c"} 
[2026-11-04 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758433280,"raw_latitude":111825768,"longitude_deg":75.843328,"latitude_deg":11.1825768,"altitude":9,"angle":205,"satellites":46,"speed":15,"hex_longitude":"2d34c600","hex_latitude":"06aa5368","is_valid_coordinates":true} 
[2026-11-04 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211943424001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296141849788416,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965149696,"note":"Value kept but may cause issues"} 
[2026-11-04 18:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793796655000,"timestamp_ms":1793796655000,"timestamp_seconds":1793796655,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69cc798"} 
[2026-11-04 18:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 18:21: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-11-04 18:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211943424001,"66":27876,"106":206,"28":21760,"24":15,"16":39296141849788416,"45":3803008438965149696},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211943424001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:21:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296141849788416,"km_value":39296141849788.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965149696,"description":"Unknown IO ID 45"} 
[2026-11-04 18:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211943424001,"power":27876,"unknown_106":206,"unknown_28":21760,"ignition":15,"odometer":null,"unknown_45":3803008438965149696}} 
[2026-11-04 18:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":232736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:21:45] local.INFO: GPS data processed {"connection_id":232736,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:21:45] local.INFO: Acknowledgment sent {"connection_id":232736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:22:06] local.INFO: TCP Data received {"connection_id":232737,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:22:06] local.INFO: Processing buffer {"connection_id":232737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:22:06] local.INFO: IMEI packet received {"connection_id":232737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":232737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:22:09] local.INFO: TCP Data received {"connection_id":229576,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:22:09] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:22:09] local.INFO: IMEI packet received {"connection_id":229576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":229576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:22:09] local.INFO: TCP Data received {"connection_id":232737,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:22:09] local.INFO: Processing buffer {"connection_id":232737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:22:09] local.INFO: IMEI packet received {"connection_id":232737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":232737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:22:13] local.INFO: TCP Data received {"connection_id":229576,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:22:13] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:22:13] local.INFO: IMEI packet received {"connection_id":229576,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":229576,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:22:15] local.INFO: TCP Data received {"connection_id":229576,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:22:15] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:22:15] local.INFO: Packet analysis {"connection_id":229576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:22:15] local.INFO: Extracted packet for processing {"connection_id":229576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:22:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:22:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:22:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:22:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:22:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":229576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:22:15] local.INFO: GPS data processed {"connection_id":229576,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:22:15] local.INFO: Acknowledgment sent {"connection_id":229576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:22:16] local.INFO: TCP Data received {"connection_id":232737,"ip":"117.224.67.174","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 18:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232737,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 18:22:16] local.INFO: Processing buffer {"connection_id":232737,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-11-04 18:22:16] local.INFO: IMEI packet received {"connection_id":232737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":232737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:22:46] local.INFO: TCP Data received {"connection_id":229576,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:22:46] local.INFO: Processing buffer {"connection_id":229576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:22:46] local.INFO: Packet analysis {"connection_id":229576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:22:46] local.INFO: Extracted packet for processing {"connection_id":229576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:22:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229576,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:22:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:22:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:22:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":229576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:22:46] local.INFO: GPS data processed {"connection_id":229576,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:22:46] local.INFO: Acknowledgment sent {"connection_id":229576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:23:08] local.INFO: TCP Data received {"connection_id":230888,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:23:08] local.INFO: Processing buffer {"connection_id":230888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:23:08] local.INFO: IMEI packet received {"connection_id":230888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":230888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:23:14] local.INFO: TCP Data received {"connection_id":230888,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:23:14] local.INFO: Processing buffer {"connection_id":230888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:23:14] local.INFO: IMEI packet received {"connection_id":230888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":230888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:23:16] local.INFO: TCP Data received {"connection_id":230888,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:23:16] local.INFO: Processing buffer {"connection_id":230888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:23:16] local.INFO: Packet analysis {"connection_id":230888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:23:16] local.INFO: Extracted packet for processing {"connection_id":230888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:23:16] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:23:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":230888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":230888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":230888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:23:16] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:23:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:23:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":230888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:23:16] local.INFO: GPS data processed {"connection_id":230888,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:23:16] local.INFO: Acknowledgment sent {"connection_id":230888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:23:47] local.INFO: TCP Data received {"connection_id":230888,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:23:47] local.INFO: Processing buffer {"connection_id":230888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:23:47] local.INFO: Packet analysis {"connection_id":230888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:23:47] local.INFO: Extracted packet for processing {"connection_id":230888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:23:47] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:23:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:23:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":230888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:23:48] local.INFO: GPS data processed {"connection_id":230888,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:23:48] local.INFO: Acknowledgment sent {"connection_id":230888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:24:08] local.INFO: TCP Data received {"connection_id":229577,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:24:08] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:24:08] local.INFO: IMEI packet received {"connection_id":229577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":229577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:24:13] local.INFO: TCP Data received {"connection_id":229577,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:24:13] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:24:13] local.INFO: IMEI packet received {"connection_id":229577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":229577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:24:15] local.INFO: TCP Data received {"connection_id":229577,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:24:15] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69b19e8012cb2a48007751550001900182f..."} 
[2026-11-04 18:24:15] local.INFO: Packet analysis {"connection_id":229577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:24:15] local.INFO: Extracted packet for processing {"connection_id":229577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69b"} 
[2026-11-04 18:24:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211838464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796545000,"timestamp_ms":1793796545000,"timestamp_seconds":1793796545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69b19e8"} 
[2026-11-04 18:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":103,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-11-04 18:24:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2639,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211838464001,"66":26528,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211838464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:24:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:24:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211838464001,"power":26528,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":229577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:24:15] local.INFO: GPS data processed {"connection_id":229577,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:24:15] local.INFO: Acknowledgment sent {"connection_id":229577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:24:46] local.INFO: TCP Data received {"connection_id":229577,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:24:46] local.INFO: Processing buffer {"connection_id":229577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:24:46] local.INFO: Packet analysis {"connection_id":229577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:24:46] local.INFO: Extracted packet for processing {"connection_id":229577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:24:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:24:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":229577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:24:46] local.INFO: GPS data processed {"connection_id":229577,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:24:46] local.INFO: Acknowledgment sent {"connection_id":229577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:25:08] local.INFO: TCP Data received {"connection_id":229578,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:25:08] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:25:08] local.INFO: IMEI packet received {"connection_id":229578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":229578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:25:13] local.INFO: TCP Data received {"connection_id":229578,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:25:13] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:25:13] local.INFO: IMEI packet received {"connection_id":229578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":229578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:25:15] local.INFO: TCP Data received {"connection_id":229578,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:25:15] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:25:15] local.INFO: Packet analysis {"connection_id":229578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:25:15] local.INFO: Extracted packet for processing {"connection_id":229578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:25:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:25:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:25:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":229578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:25:15] local.INFO: GPS data processed {"connection_id":229578,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:25:15] local.INFO: Acknowledgment sent {"connection_id":229578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:25:46] local.INFO: TCP Data received {"connection_id":229578,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:25:46] local.INFO: Processing buffer {"connection_id":229578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:25:46] local.INFO: Packet analysis {"connection_id":229578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:25:46] local.INFO: Extracted packet for processing {"connection_id":229578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:25:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:25:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:25:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:25:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:25:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":229578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:25:46] local.INFO: GPS data processed {"connection_id":229578,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:25:46] local.INFO: Acknowledgment sent {"connection_id":229578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:26:08] local.INFO: TCP Data received {"connection_id":230889,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:26:08] local.INFO: Processing buffer {"connection_id":230889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:26:08] local.INFO: IMEI packet received {"connection_id":230889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":230889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:26:13] local.INFO: TCP Data received {"connection_id":230889,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:26:13] local.INFO: Processing buffer {"connection_id":230889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:26:13] local.INFO: IMEI packet received {"connection_id":230889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":230889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:26:15] local.INFO: TCP Data received {"connection_id":230889,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:26:15] local.INFO: Processing buffer {"connection_id":230889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:26:15] local.INFO: Packet analysis {"connection_id":230889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:26:15] local.INFO: Extracted packet for processing {"connection_id":230889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:26:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:26:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:26:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:26:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:26:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":230889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:26:15] local.INFO: GPS data processed {"connection_id":230889,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:26:15] local.INFO: Acknowledgment sent {"connection_id":230889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:26:46] local.INFO: TCP Data received {"connection_id":230889,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:26:46] local.INFO: Processing buffer {"connection_id":230889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:26:46] local.INFO: Packet analysis {"connection_id":230889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:26:46] local.INFO: Extracted packet for processing {"connection_id":230889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:26:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:26:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:26:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:26:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:26:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:26:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:26:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:26:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:26:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:26:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:26:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:26:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:26:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:26:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:26:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:26:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:26:46] local.INFO: DEBUG: GPS processor result {"connection_id":230889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:26:46] local.INFO: GPS data processed {"connection_id":230889,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:26:46] local.INFO: Acknowledgment sent {"connection_id":230889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:27:08] local.INFO: TCP Data received {"connection_id":232741,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:27:08] local.INFO: Processing buffer {"connection_id":232741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:27:08] local.INFO: IMEI packet received {"connection_id":232741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":232741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:27:11] local.INFO: TCP Data received {"connection_id":232740,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:27:11] local.INFO: Processing buffer {"connection_id":232740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:27:11] local.INFO: IMEI packet received {"connection_id":232740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":232740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:27:12] local.INFO: TCP Data received {"connection_id":232740,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69ccb80012d34c58006aa51f0000900ba2e..."} 
[2026-11-04 18:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69ccb80012d34c58006aa51f0000900ba2e..."} 
[2026-11-04 18:27:12] local.INFO: Processing buffer {"connection_id":232740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69ccb80012d34c58006aa51f0000900ba2e..."} 
[2026-11-04 18:27:12] local.INFO: Packet analysis {"connection_id":232740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69c"} 
[2026-11-04 18:27:12] local.INFO: Extracted packet for processing {"connection_id":232740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69c"} 
[2026-11-04 18:27:12] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111825392,"longitude_deg":75.8433152,"latitude_deg":11.1825392,"altitude":9,"angle":186,"satellites":46,"speed":15,"hex_longitude":"2d34c580","hex_latitude":"06aa51f0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211943680001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296163324624896,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988359168,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793796656000,"timestamp_ms":1793796656000,"timestamp_seconds":1793796656,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69ccb80"} 
[2026-11-04 18:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":228,"data_length":795,"current_offset":136} 
[2026-11-04 18:27: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-11-04 18: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-11-04 18:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211943680001,"66":27876,"106":206,"28":21760,"24":15,"16":39296163324624896,"45":3802726963988359168},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211943680001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:27:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296163324624896,"km_value":39296163324624.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988359168,"description":"Unknown IO ID 45"} 
[2026-11-04 18:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211943680001,"power":27876,"unknown_106":206,"unknown_28":21760,"ignition":15,"odometer":null,"unknown_45":3802726963988359168}} 
[2026-11-04 18:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":232740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:27:12] local.INFO: GPS data processed {"connection_id":232740,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:27:12] local.INFO: Acknowledgment sent {"connection_id":232740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:27:13] local.INFO: TCP Data received {"connection_id":232741,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:27:13] local.INFO: Processing buffer {"connection_id":232741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:27:13] local.INFO: IMEI packet received {"connection_id":232741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":232741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:27:14] local.INFO: TCP Data received {"connection_id":232741,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:27:14] local.INFO: Processing buffer {"connection_id":232741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:27:14] local.INFO: Packet analysis {"connection_id":232741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:27:14] local.INFO: Extracted packet for processing {"connection_id":232741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:27:14] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:27:14] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:27:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:27:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":232741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:27:15] local.INFO: GPS data processed {"connection_id":232741,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:27:15] local.INFO: Acknowledgment sent {"connection_id":232741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:27:44] local.INFO: TCP Data received {"connection_id":232740,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69ccf68012d34c58006aa5098000a00ab30..."} 
[2026-11-04 18:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69ccf68012d34c58006aa5098000a00ab30..."} 
[2026-11-04 18:27:44] local.INFO: Processing buffer {"connection_id":232740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69ccf68012d34c58006aa5098000a00ab30..."} 
[2026-11-04 18:27:44] local.INFO: Packet analysis {"connection_id":232740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69c"} 
[2026-11-04 18:27:44] local.INFO: Extracted packet for processing {"connection_id":232740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69c"} 
[2026-11-04 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111825048,"longitude_deg":75.8433152,"latitude_deg":11.1825048,"altitude":10,"angle":171,"satellites":48,"speed":11,"hex_longitude":"2d34c580","hex_latitude":"06aa5098","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211943936001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296176209526784,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499907584,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793796657000,"timestamp_ms":1793796657000,"timestamp_seconds":1793796657,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69ccf68"} 
[2026-11-04 18:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 18:27: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-11-04 18: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-11-04 18:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211943936001,"66":27995,"106":206,"28":21760,"24":11,"16":39296176209526784,"45":3802586226499907584},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211943936001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:27:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:27:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296176209526784,"km_value":39296176209526.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499907584,"description":"Unknown IO ID 45"} 
[2026-11-04 18:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211943936001,"power":27995,"unknown_106":206,"unknown_28":21760,"ignition":11,"odometer":null,"unknown_45":3802586226499907584}} 
[2026-11-04 18:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":232740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:27:44] local.INFO: GPS data processed {"connection_id":232740,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:27:44] local.INFO: Acknowledgment sent {"connection_id":232740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:27:46] local.INFO: TCP Data received {"connection_id":232741,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:27:46] local.INFO: Processing buffer {"connection_id":232741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:27:46] local.INFO: Packet analysis {"connection_id":232741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:27:46] local.INFO: Extracted packet for processing {"connection_id":232741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:27:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:27:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:27:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:27:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:27:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:27:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:27:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:27:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:27:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:27:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:27:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:27:46] local.INFO: DEBUG: GPS processor result {"connection_id":232741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:27:46] local.INFO: GPS data processed {"connection_id":232741,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:27:46] local.INFO: Acknowledgment sent {"connection_id":232741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:28:06] local.INFO: TCP Data received {"connection_id":229103,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:28:06] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:28:06] local.INFO: IMEI packet received {"connection_id":229103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":229103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:28:08] local.INFO: TCP Data received {"connection_id":229579,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:28:08] local.INFO: Processing buffer {"connection_id":229579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:28:08] local.INFO: IMEI packet received {"connection_id":229579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":229579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:28:11] local.INFO: TCP Data received {"connection_id":229103,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:28:11] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:28:11] local.INFO: IMEI packet received {"connection_id":229103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":229103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:28:12] local.INFO: TCP Data received {"connection_id":229103,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d0a00012d34c70006aa4458000a00b72e..."} 
[2026-11-04 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d0a00012d34c70006aa4458000a00b72e..."} 
[2026-11-04 18:28:12] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d0a00012d34c70006aa4458000a00b72e..."} 
[2026-11-04 18:28:12] local.INFO: Packet analysis {"connection_id":229103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:28:12] local.INFO: Extracted packet for processing {"connection_id":229103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111821912,"longitude_deg":75.8433536,"latitude_deg":11.1821912,"altitude":10,"angle":183,"satellites":46,"speed":7,"hex_longitude":"2d34c700","hex_latitude":"06aa4458","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211944192001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296335123316736,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499819520,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793796672000,"timestamp_ms":1793796672000,"timestamp_seconds":1793796672,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d0a00"} 
[2026-11-04 18:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 18:28: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-11-04 18: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-11-04 18:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211944192001,"66":27930,"106":206,"28":21760,"24":7,"16":39296335123316736,"45":3802586226499819520},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211944192001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:28:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296335123316736,"km_value":39296335123316.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499819520,"description":"Unknown IO ID 45"} 
[2026-11-04 18:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211944192001,"power":27930,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802586226499819520}} 
[2026-11-04 18:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":229103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:28:12] local.INFO: GPS data processed {"connection_id":229103,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:28:12] local.INFO: Acknowledgment sent {"connection_id":229103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:28:13] local.INFO: TCP Data received {"connection_id":229579,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:28:13] local.INFO: Processing buffer {"connection_id":229579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:28:13] local.INFO: IMEI packet received {"connection_id":229579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":229579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:28:14] local.INFO: TCP Data received {"connection_id":229579,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:28:14] local.INFO: Processing buffer {"connection_id":229579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69fb1b0012cb2a48007751550001900182f..."} 
[2026-11-04 18:28:14] local.INFO: Packet analysis {"connection_id":229579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:28:14] local.INFO: Extracted packet for processing {"connection_id":229579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69f"} 
[2026-11-04 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211915520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793796846000,"timestamp_ms":1793796846000,"timestamp_seconds":1793796846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69fb1b0"} 
[2026-11-04 18:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-11-04 18:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2153,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211915520001,"66":26430,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211915520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:28:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:28:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:28:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211915520001,"power":26430,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":229579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:28:15] local.INFO: GPS data processed {"connection_id":229579,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:28:15] local.INFO: Acknowledgment sent {"connection_id":229579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:28:44] local.INFO: TCP Data received {"connection_id":229103,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d11d0012d34c6c006aa4300000900c62d..."} 
[2026-11-04 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d11d0012d34c6c006aa4300000900c62d..."} 
[2026-11-04 18:28:44] local.INFO: Processing buffer {"connection_id":229103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d11d0012d34c6c006aa4300000900c62d..."} 
[2026-11-04 18:28:44] local.INFO: Packet analysis {"connection_id":229103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:28:44] local.INFO: Extracted packet for processing {"connection_id":229103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111821568,"longitude_deg":75.8433472,"latitude_deg":11.1821568,"altitude":9,"angle":198,"satellites":45,"speed":6,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4300","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211948032001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296352303185920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964082688,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793796674000,"timestamp_ms":1793796674000,"timestamp_seconds":1793796674,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d11d0"} 
[2026-11-04 18:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 18:28:44] 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-11-04 18: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-11-04 18:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211948032001,"66":27974,"106":206,"28":21760,"24":6,"16":39296352303185920,"45":3803008438964082688},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211948032001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:28:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:28:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296352303185920,"km_value":39296352303185.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964082688,"description":"Unknown IO ID 45"} 
[2026-11-04 18:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211948032001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3803008438964082688}} 
[2026-11-04 18:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":229103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:28:44] local.INFO: GPS data processed {"connection_id":229103,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:28:44] local.INFO: Acknowledgment sent {"connection_id":229103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:28:46] local.INFO: TCP Data received {"connection_id":229579,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a33038012cb2a48007751550001900182f..."} 
[2026-11-04 18:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a33038012cb2a48007751550001900182f..."} 
[2026-11-04 18:28:46] local.INFO: Processing buffer {"connection_id":229579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a33038012cb2a48007751550001900182f..."} 
[2026-11-04 18:28:46] local.INFO: Packet analysis {"connection_id":229579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a3"} 
[2026-11-04 18:28:46] local.INFO: Extracted packet for processing {"connection_id":229579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a3"} 
[2026-11-04 18:28:46] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113680,"longitude_deg":74.9905024,"latitude_deg":12.511368,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751550","is_valid_coordinates":true} 
[2026-11-04 18:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211992576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793797075000,"timestamp_ms":1793797075000,"timestamp_seconds":1793797075,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a33038"} 
[2026-11-04 18:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-11-04 18:28: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-11-04 18:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211992576001,"66":26419,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211992576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:28:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:28:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:28:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211992576001,"power":26419,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":229579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:28:46] local.INFO: GPS data processed {"connection_id":229579,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:28:46] local.INFO: Acknowledgment sent {"connection_id":229579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:29:03] local.INFO: TCP Data received {"connection_id":229104,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:29:03] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:29:03] local.INFO: IMEI packet received {"connection_id":229104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":229104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:29:06] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:29:06] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:29:06] local.INFO: IMEI packet received {"connection_id":229105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":229105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:29:09] local.INFO: TCP Data received {"connection_id":229104,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:29:09] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:29:09] local.INFO: IMEI packet received {"connection_id":229104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":229104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:29:11] local.INFO: TCP Data received {"connection_id":229104,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a395c8012cb2a48007751568001900182f..."} 
[2026-11-04 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a395c8012cb2a48007751568001900182f..."} 
[2026-11-04 18:29:11] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a395c8012cb2a48007751568001900182f..."} 
[2026-11-04 18:29:11] local.INFO: Packet analysis {"connection_id":229104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a3"} 
[2026-11-04 18:29:11] local.INFO: Extracted packet for processing {"connection_id":229104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a3"} 
[2026-11-04 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212051200001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260374016,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793797101000,"timestamp_ms":1793797101000,"timestamp_seconds":1793797101,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a395c8"} 
[2026-11-04 18:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-11-04 18:29:11] 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-11-04 18:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212051200001,"66":28256,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260374016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212051200001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:29:11] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:29:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:29:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260374016,"description":"Unknown IO ID 44"} 
[2026-11-04 18:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212051200001,"power":28256,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260374016}} 
[2026-11-04 18:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":229104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:29:11] local.INFO: GPS data processed {"connection_id":229104,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:29:11] local.INFO: Acknowledgment sent {"connection_id":229104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:29:11] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:29:11] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:29:11] local.INFO: IMEI packet received {"connection_id":229105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":229105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:29:13] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d15b8012d34c68006aa4268000900d82e..."} 
[2026-11-04 18:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d15b8012d34c68006aa4268000900d82e..."} 
[2026-11-04 18:29:13] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d15b8012d34c68006aa4268000900d82e..."} 
[2026-11-04 18:29:13] local.INFO: Packet analysis {"connection_id":229105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:29:13] local.INFO: Extracted packet for processing {"connection_id":229105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111821416,"longitude_deg":75.8433408,"latitude_deg":11.1821416,"altitude":9,"angle":216,"satellites":46,"speed":7,"hex_longitude":"2d34c680","hex_latitude":"06aa4268","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211948544001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296360893120512,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219816960,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793796675000,"timestamp_ms":1793796675000,"timestamp_seconds":1793796675,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d15b8"} 
[2026-11-04 18:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":70,"data_length":795,"current_offset":136} 
[2026-11-04 18:29: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-11-04 18: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-11-04 18:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211948544001,"66":27930,"106":206,"28":21760,"24":7,"16":39296360893120512,"45":3802938070219816960},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211948544001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:29:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:29:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296360893120512,"km_value":39296360893120.516,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219816960,"description":"Unknown IO ID 45"} 
[2026-11-04 18:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211948544001,"power":27930,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802938070219816960}} 
[2026-11-04 18:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":229105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:29:13] local.INFO: GPS data processed {"connection_id":229105,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:29:13] local.INFO: Acknowledgment sent {"connection_id":229105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:29:42] local.INFO: TCP Data received {"connection_id":229104,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a3e7d0012cb2a48007751568001900182f..."} 
[2026-11-04 18:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a3e7d0012cb2a48007751568001900182f..."} 
[2026-11-04 18:29:42] local.INFO: Processing buffer {"connection_id":229104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a3e7d0012cb2a48007751568001900182f..."} 
[2026-11-04 18:29:42] local.INFO: Packet analysis {"connection_id":229104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a3"} 
[2026-11-04 18:29:42] local.INFO: Extracted packet for processing {"connection_id":229104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a3"} 
[2026-11-04 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 18:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212057856001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793797122000,"timestamp_ms":1793797122000,"timestamp_seconds":1793797122,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a3e7d0"} 
[2026-11-04 18:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 18:29:42] 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-11-04 18:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229104,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212057856001,"66":27626,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212057856001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:29:42] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:29:42] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:29:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212057856001,"power":27626,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":229104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:29:42] local.INFO: GPS data processed {"connection_id":229104,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:29:42] local.INFO: Acknowledgment sent {"connection_id":229104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:29:44] local.INFO: TCP Data received {"connection_id":229105,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d1d88012d34c58006aa4188000900f82e..."} 
[2026-11-04 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d1d88012d34c58006aa4188000900f82e..."} 
[2026-11-04 18:29:44] local.INFO: Processing buffer {"connection_id":229105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d1d88012d34c58006aa4188000900f82e..."} 
[2026-11-04 18:29:44] local.INFO: Packet analysis {"connection_id":229105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:29:44] local.INFO: Extracted packet for processing {"connection_id":229105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111821192,"longitude_deg":75.8433152,"latitude_deg":11.1821192,"altitude":9,"angle":248,"satellites":46,"speed":7,"hex_longitude":"2d34c580","hex_latitude":"06aa4188","is_valid_coordinates":true} 
[2026-11-04 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211948800001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296373778022400,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701475600384,"note":"Value kept but may cause issues"} 
[2026-11-04 18:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793796677000,"timestamp_ms":1793796677000,"timestamp_seconds":1793796677,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d1d88"} 
[2026-11-04 18:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 18:29:44] 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-11-04 18:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211948800001,"66":28006,"106":206,"28":21760,"24":7,"16":39296373778022400,"45":3802867701475600384},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211948800001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:29:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:29:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296373778022400,"km_value":39296373778022.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701475600384,"description":"Unknown IO ID 45"} 
[2026-11-04 18:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211948800001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802867701475600384}} 
[2026-11-04 18:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":229105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:29:44] local.INFO: GPS data processed {"connection_id":229105,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:29:44] local.INFO: Acknowledgment sent {"connection_id":229105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:30:06] local.INFO: TCP Data received {"connection_id":229580,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:30:06] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:30:06] local.INFO: IMEI packet received {"connection_id":229580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":229580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:30:08] local.INFO: TCP Data received {"connection_id":232742,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:30:08] local.INFO: Processing buffer {"connection_id":232742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:30:08] local.INFO: IMEI packet received {"connection_id":232742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":232742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:30:11] local.INFO: TCP Data received {"connection_id":229580,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:30:11] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:30:11] local.INFO: IMEI packet received {"connection_id":229580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":229580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:30:12] local.INFO: TCP Data received {"connection_id":229580,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d2170012d34c48006aa41600009010831..."} 
[2026-11-04 18:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d2170012d34c48006aa41600009010831..."} 
[2026-11-04 18:30:12] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d2170012d34c48006aa41600009010831..."} 
[2026-11-04 18:30:12] local.INFO: Packet analysis {"connection_id":229580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:30:12] local.INFO: Extracted packet for processing {"connection_id":229580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111821152,"longitude_deg":75.8432896,"latitude_deg":11.1821152,"altitude":9,"angle":264,"satellites":49,"speed":9,"hex_longitude":"2d34c480","hex_latitude":"06aa4160","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211949312001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296386662924288,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226498832384,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793796678000,"timestamp_ms":1793796678000,"timestamp_seconds":1793796678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d2170"} 
[2026-11-04 18:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:30: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-11-04 18: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-11-04 18:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211949312001,"66":28006,"106":206,"28":21760,"24":9,"16":39296386662924288,"45":3802586226498832384},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211949312001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:30:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296386662924288,"km_value":39296386662924.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226498832384,"description":"Unknown IO ID 45"} 
[2026-11-04 18:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211949312001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":9,"odometer":null,"unknown_45":3802586226498832384}} 
[2026-11-04 18:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":229580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:30:12] local.INFO: GPS data processed {"connection_id":229580,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:30:12] local.INFO: Acknowledgment sent {"connection_id":229580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:30:13] local.INFO: TCP Data received {"connection_id":232742,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:30:13] local.INFO: Processing buffer {"connection_id":232742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:30:13] local.INFO: IMEI packet received {"connection_id":232742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":232742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:30:15] local.INFO: TCP Data received {"connection_id":232742,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a439d8012cb2a48007751568001900182f..."} 
[2026-11-04 18:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a439d8012cb2a48007751568001900182f..."} 
[2026-11-04 18:30:15] local.INFO: Processing buffer {"connection_id":232742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a439d8012cb2a48007751568001900182f..."} 
[2026-11-04 18:30:15] local.INFO: Packet analysis {"connection_id":232742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a4"} 
[2026-11-04 18:30:15] local.INFO: Extracted packet for processing {"connection_id":232742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a4"} 
[2026-11-04 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212063232001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793797143000,"timestamp_ms":1793797143000,"timestamp_seconds":1793797143,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a439d8"} 
[2026-11-04 18:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 18:30:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212063232001,"66":27843,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212063232001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:30:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:30:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:30:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212063232001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":232742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:30:15] local.INFO: GPS data processed {"connection_id":232742,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:30:15] local.INFO: Acknowledgment sent {"connection_id":232742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:30:44] local.INFO: TCP Data received {"connection_id":229580,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d2558012d34c38006aa41800008011c31..."} 
[2026-11-04 18:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d2558012d34c38006aa41800008011c31..."} 
[2026-11-04 18:30:44] local.INFO: Processing buffer {"connection_id":229580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d2558012d34c38006aa41800008011c31..."} 
[2026-11-04 18:30:44] local.INFO: Packet analysis {"connection_id":229580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:30:44] local.INFO: Extracted packet for processing {"connection_id":229580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111821184,"longitude_deg":75.843264,"latitude_deg":11.1821184,"altitude":8,"angle":284,"satellites":49,"speed":11,"hex_longitude":"2d34c380","hex_latitude":"06aa4180","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211949568001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296399547826176,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522111488,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793796679000,"timestamp_ms":1793796679000,"timestamp_seconds":1793796679,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d2558"} 
[2026-11-04 18:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:30: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-11-04 18: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-11-04 18:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211949568001,"66":27876,"106":206,"28":21760,"24":11,"16":39296399547826176,"45":3802304751522111488},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211949568001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:30:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296399547826176,"km_value":39296399547826.18,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522111488,"description":"Unknown IO ID 45"} 
[2026-11-04 18:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211949568001,"power":27876,"unknown_106":206,"unknown_28":21760,"ignition":11,"odometer":null,"unknown_45":3802304751522111488}} 
[2026-11-04 18:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":229580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:30:44] local.INFO: GPS data processed {"connection_id":229580,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:30:44] local.INFO: Acknowledgment sent {"connection_id":229580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:30:47] local.INFO: TCP Data received {"connection_id":232742,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a48be0012cb2a48007751568001900182f..."} 
[2026-11-04 18:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a48be0012cb2a48007751568001900182f..."} 
[2026-11-04 18:30:47] local.INFO: Processing buffer {"connection_id":232742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a48be0012cb2a48007751568001900182f..."} 
[2026-11-04 18:30:47] local.INFO: Packet analysis {"connection_id":232742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a4"} 
[2026-11-04 18:30:47] local.INFO: Extracted packet for processing {"connection_id":232742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a4"} 
[2026-11-04 18:30:47] local.INFO: GPS Element Parsed {"raw_longitude":749905024,"raw_latitude":125113704,"longitude_deg":74.9905024,"latitude_deg":12.5113704,"altitude":25,"angle":24,"satellites":47,"speed":0,"hex_longitude":"2cb2a480","hex_latitude":"07751568","is_valid_coordinates":true} 
[2026-11-04 18:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:30:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212068608001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:30:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:30:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793797164000,"timestamp_ms":1793797164000,"timestamp_seconds":1793797164,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a48be0"} 
[2026-11-04 18:30:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:30:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:30:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 18:30:47] 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-11-04 18:30:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:30:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:30:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:30:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:30:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:30:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:30:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:30:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:30:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:30:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212068608001,"66":27767,"241":206,"27":54016,"24":0,"16":20797825080098816,"44":-5574189669260367872},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:30:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:30:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:30:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212068608001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:30:47] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:30:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:30:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:30:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574189669260367872,"description":"Unknown IO ID 44"} 
[2026-11-04 18:30:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212068608001,"power":27767,"unknown_241":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5574189669260367872}} 
[2026-11-04 18:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":232742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:30:47] local.INFO: GPS data processed {"connection_id":232742,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:30:47] local.INFO: Acknowledgment sent {"connection_id":232742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:31:08] local.INFO: TCP Data received {"connection_id":229582,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:31:08] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:31:08] local.INFO: IMEI packet received {"connection_id":229582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":229582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:31:11] local.INFO: TCP Data received {"connection_id":229581,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:31:11] local.INFO: Processing buffer {"connection_id":229581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:31:11] local.INFO: IMEI packet received {"connection_id":229581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":229581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:31:13] local.INFO: TCP Data received {"connection_id":229582,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:31:13] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:31:13] local.INFO: IMEI packet received {"connection_id":229582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":229582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:31:15] local.INFO: TCP Data received {"connection_id":229582,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a56e700100000000000000000000000000..."} 
[2026-11-04 18:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a56e700100000000000000000000000000..."} 
[2026-11-04 18:31:15] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a56e700100000000000000000000000000..."} 
[2026-11-04 18:31:15] local.INFO: Packet analysis {"connection_id":229582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:31:15] local.INFO: Extracted packet for processing {"connection_id":229582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212073984001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574189669260367872,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793797222000,"timestamp_ms":1793797222000,"timestamp_seconds":1793797222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a56e70"} 
[2026-11-04 18:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":229582,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:31:15] local.INFO: GPS data processed {"connection_id":229582,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:31:15] local.INFO: Acknowledgment sent {"connection_id":229582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:31:16] local.INFO: TCP Data received {"connection_id":229581,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:31:16] local.INFO: Processing buffer {"connection_id":229581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:31:16] local.INFO: IMEI packet received {"connection_id":229581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":229581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:31:18] local.INFO: TCP Data received {"connection_id":229581,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d5050012d34c0c006aa42380008011630..."} 
[2026-11-04 18:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d5050012d34c0c006aa42380008011630..."} 
[2026-11-04 18:31:18] local.INFO: Processing buffer {"connection_id":229581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d5050012d34c0c006aa42380008011630..."} 
[2026-11-04 18:31:18] local.INFO: Packet analysis {"connection_id":229581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:31:18] local.INFO: Extracted packet for processing {"connection_id":229581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111821368,"longitude_deg":75.8431936,"latitude_deg":11.1821368,"altitude":8,"angle":278,"satellites":48,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4238","is_valid_coordinates":true} 
[2026-11-04 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211949824001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276545409024,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793796690000,"timestamp_ms":1793796690000,"timestamp_seconds":1793796690,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d5050"} 
[2026-11-04 18:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 18:31: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-11-04 18:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211949824001,"66":28050,"106":206,"28":21760,"24":0,"16":39296451087433728,"45":3802023276545409024},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211949824001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:31:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:31:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276545409024,"description":"Unknown IO ID 45"} 
[2026-11-04 18:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211949824001,"power":28050,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802023276545409024}} 
[2026-11-04 18:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":229581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:31:18] local.INFO: GPS data processed {"connection_id":229581,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:31:18] local.INFO: Acknowledgment sent {"connection_id":229581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:31:22] local.INFO: TCP Data received {"connection_id":229581,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d5438012d34c14006aa42080008006d2f..."} 
[2026-11-04 18:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d5438012d34c14006aa42080008006d2f..."} 
[2026-11-04 18:31:22] local.INFO: Processing buffer {"connection_id":229581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d5438012d34c14006aa42080008006d2f..."} 
[2026-11-04 18:31:22] local.INFO: Packet analysis {"connection_id":229581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:31:22] local.INFO: Extracted packet for processing {"connection_id":229581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:31:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821320,"longitude_deg":75.8432064,"latitude_deg":11.182132,"altitude":8,"angle":109,"satellites":47,"speed":6,"hex_longitude":"2d34c140","hex_latitude":"06aa4208","is_valid_coordinates":true} 
[2026-11-04 18:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211952640001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220359501824,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793796691000,"timestamp_ms":1793796691000,"timestamp_seconds":1793796691,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d5438"} 
[2026-11-04 18:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 18:31:22] 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-11-04 18:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211952640001,"66":28006,"106":206,"28":21760,"24":6,"16":39296451087433728,"45":3801249220359501824},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211952640001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:31:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:31:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220359501824,"description":"Unknown IO ID 45"} 
[2026-11-04 18:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211952640001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3801249220359501824}} 
[2026-11-04 18:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":229581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:31:22] local.INFO: GPS data processed {"connection_id":229581,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:31:22] local.INFO: Acknowledgment sent {"connection_id":229581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:31:46] local.INFO: TCP Data received {"connection_id":229582,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a4f940012cb2c9c0077543900019002129..."} 
[2026-11-04 18:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a4f940012cb2c9c0077543900019002129..."} 
[2026-11-04 18:31:46] local.INFO: Processing buffer {"connection_id":229582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a4f940012cb2c9c0077543900019002129..."} 
[2026-11-04 18:31:46] local.INFO: Packet analysis {"connection_id":229582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a4"} 
[2026-11-04 18:31:46] local.INFO: Extracted packet for processing {"connection_id":229582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a4"} 
[2026-11-04 18:31:46] local.INFO: GPS Element Parsed {"raw_longitude":749914560,"raw_latitude":125125520,"longitude_deg":74.991456,"latitude_deg":12.512552,"altitude":25,"angle":33,"satellites":41,"speed":26,"hex_longitude":"2cb2c9c0","hex_latitude":"07754390","is_valid_coordinates":true} 
[2026-11-04 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:31:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,241,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793797192000,"timestamp_ms":1793797192000,"timestamp_seconds":1793797192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a4f940"} 
[2026-11-04 18:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 18:31: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-11-04 18:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"241":206,"27":54016,"24":26,"16":20797825080098816},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16]} 
[2026-11-04 18:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:31:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:31:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:31:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_241":206,"unknown_27":54016,"ignition":26,"odometer":null}} 
[2026-11-04 18:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":229582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:31:46] local.INFO: GPS data processed {"connection_id":229582,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:31:46] local.INFO: Acknowledgment sent {"connection_id":229582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:32:06] local.INFO: TCP Data received {"connection_id":232743,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:32:06] local.INFO: Processing buffer {"connection_id":232743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:32:06] local.INFO: IMEI packet received {"connection_id":232743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":232743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:32:08] local.INFO: TCP Data received {"connection_id":230890,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:08] local.INFO: Processing buffer {"connection_id":230890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:08] local.INFO: IMEI packet received {"connection_id":230890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":230890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:32:10] local.INFO: TCP Data received {"connection_id":230890,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:10] local.INFO: Processing buffer {"connection_id":230890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:10] local.INFO: IMEI packet received {"connection_id":230890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":230890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:32:11] local.INFO: TCP Data received {"connection_id":232743,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:32:11] local.INFO: Processing buffer {"connection_id":232743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:32:11] local.INFO: IMEI packet received {"connection_id":232743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":232743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:32:12] local.INFO: TCP Data received {"connection_id":232743,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d5820012d34c20006aa41e00007005e2f..."} 
[2026-11-04 18:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d5820012d34c20006aa41e00007005e2f..."} 
[2026-11-04 18:32:12] local.INFO: Processing buffer {"connection_id":232743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d5820012d34c20006aa41e00007005e2f..."} 
[2026-11-04 18:32:12] local.INFO: Packet analysis {"connection_id":232743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:32:12] local.INFO: Extracted packet for processing {"connection_id":232743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758432256,"raw_latitude":111821280,"longitude_deg":75.8432256,"latitude_deg":11.182128,"altitude":7,"angle":94,"satellites":47,"speed":7,"hex_longitude":"2d34c200","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211952896001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847844864,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793796692000,"timestamp_ms":1793796692000,"timestamp_seconds":1793796692,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d5820"} 
[2026-11-04 18:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:32: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-11-04 18: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-11-04 18:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211952896001,"66":28006,"106":206,"28":21760,"24":7,"16":39296451087433728,"45":3801389957847844864},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211952896001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847844864,"description":"Unknown IO ID 45"} 
[2026-11-04 18:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211952896001,"power":28006,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3801389957847844864}} 
[2026-11-04 18:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":232743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:32:12] local.INFO: GPS data processed {"connection_id":232743,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:32:12] local.INFO: Acknowledgment sent {"connection_id":232743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:32:13] local.INFO: TCP Data received {"connection_id":230890,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:13] local.INFO: Processing buffer {"connection_id":230890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:32:13] local.INFO: IMEI packet received {"connection_id":230890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":230890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:32:14] local.INFO: TCP Data received {"connection_id":230890,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a5dbd00100000000000000000000000000..."} 
[2026-11-04 18:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a5dbd00100000000000000000000000000..."} 
[2026-11-04 18:32:14] local.INFO: Processing buffer {"connection_id":230890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a5dbd00100000000000000000000000000..."} 
[2026-11-04 18:32:14] local.INFO: Packet analysis {"connection_id":230890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:32:14] local.INFO: Extracted packet for processing {"connection_id":230890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 18:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212081152001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5563704726374871040,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793797250000,"timestamp_ms":1793797250000,"timestamp_seconds":1793797250,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a5dbd0"} 
[2026-11-04 18:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:32:14] 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-11-04 18:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":230890,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:32:14] local.INFO: GPS data processed {"connection_id":230890,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:32:14] local.INFO: Acknowledgment sent {"connection_id":230890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:32:44] local.INFO: TCP Data received {"connection_id":232743,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a69d5c08012d34c28006aa41f0000700482f..."} 
[2026-11-04 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a69d5c08012d34c28006aa41f0000700482f..."} 
[2026-11-04 18:32:44] local.INFO: Processing buffer {"connection_id":232743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a69d5c08012d34c28006aa41f0000700482f..."} 
[2026-11-04 18:32:44] local.INFO: Packet analysis {"connection_id":232743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:32:44] local.INFO: Extracted packet for processing {"connection_id":232743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a69d"} 
[2026-11-04 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111821296,"longitude_deg":75.8432384,"latitude_deg":11.1821296,"altitude":7,"angle":72,"satellites":47,"speed":7,"hex_longitude":"2d34c280","hex_latitude":"06aa41f0","is_valid_coordinates":true} 
[2026-11-04 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211953152001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801601064080367616,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793796693000,"timestamp_ms":1793796693000,"timestamp_seconds":1793796693,"priority":1,"record_length":96,"hex_timestamp":"000001a1a69d5c08"} 
[2026-11-04 18:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:32: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-11-04 18:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211953152001,"66":27180,"106":206,"28":21760,"24":7,"16":39296451087433728,"45":3801601064080367616},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211953152001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:32:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:32:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801601064080367616,"description":"Unknown IO ID 45"} 
[2026-11-04 18:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211953152001,"power":27180,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3801601064080367616}} 
[2026-11-04 18:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":232743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:32:44] local.INFO: GPS data processed {"connection_id":232743,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:32:44] local.INFO: Acknowledgment sent {"connection_id":232743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:32:46] local.INFO: TCP Data received {"connection_id":230890,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a54f30012cb2edc007756ef00015001e25..."} 
[2026-11-04 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a54f30012cb2edc007756ef00015001e25..."} 
[2026-11-04 18:32:46] local.INFO: Processing buffer {"connection_id":230890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a54f30012cb2edc007756ef00015001e25..."} 
[2026-11-04 18:32:46] local.INFO: Packet analysis {"connection_id":230890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:32:46] local.INFO: Extracted packet for processing {"connection_id":230890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":749923776,"raw_latitude":125136624,"longitude_deg":74.9923776,"latitude_deg":12.5136624,"altitude":21,"angle":30,"satellites":37,"speed":12,"hex_longitude":"2cb2edc0","hex_latitude":"07756ef0","is_valid_coordinates":true} 
[2026-11-04 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797825080098816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:32:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,241,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793797214000,"timestamp_ms":1793797214000,"timestamp_seconds":1793797214,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a54f30"} 
[2026-11-04 18:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 18:32:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"241":206,"27":54016,"24":12,"16":20797825080098816},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16]} 
[2026-11-04 18:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:32:46] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:32:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797825080098816,"km_value":20797825080098.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:32:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_241":206,"unknown_27":54016,"ignition":12,"odometer":null}} 
[2026-11-04 18:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":230890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:32:46] local.INFO: GPS data processed {"connection_id":230890,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:32:46] local.INFO: Acknowledgment sent {"connection_id":230890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:33:05] local.INFO: TCP Data received {"connection_id":229106,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:33:06] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:33:06] local.INFO: IMEI packet received {"connection_id":229106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":229106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:33:08] local.INFO: TCP Data received {"connection_id":230891,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:33:08] local.INFO: Processing buffer {"connection_id":230891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:33:08] local.INFO: IMEI packet received {"connection_id":230891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":230891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:33:11] local.INFO: TCP Data received {"connection_id":229106,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:33:11] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:33:11] local.INFO: IMEI packet received {"connection_id":229106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":229106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:33:12] local.INFO: TCP Data received {"connection_id":229106,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a1f3d0012d34c90006aa43f80007003e2d..."} 
[2026-11-04 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a1f3d0012d34c90006aa43f80007003e2d..."} 
[2026-11-04 18:33:12] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a1f3d0012d34c90006aa43f80007003e2d..."} 
[2026-11-04 18:33:12] local.INFO: Packet analysis {"connection_id":229106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a1"} 
[2026-11-04 18:33:12] local.INFO: Extracted packet for processing {"connection_id":229106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a1"} 
[2026-11-04 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":45,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459211953408001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568727040,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:12] 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-11-04 18:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793796994000,"timestamp_ms":1793796994000,"timestamp_seconds":1793796994,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a1f3d0"} 
[2026-11-04 18:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-11-04 18:33:12] 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-11-04 18: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-11-04 18:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459211953408001,"66":26136,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3801741801568727040},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459211953408001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:33:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568727040,"description":"Unknown IO ID 45"} 
[2026-11-04 18:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459211953408001,"power":26136,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801741801568727040}} 
[2026-11-04 18:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":229106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:33:12] local.INFO: GPS data processed {"connection_id":229106,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:33:12] local.INFO: Acknowledgment sent {"connection_id":229106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:33:13] local.INFO: TCP Data received {"connection_id":230891,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:33:13] local.INFO: Processing buffer {"connection_id":230891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:33:13] local.INFO: IMEI packet received {"connection_id":230891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":230891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:33:15] local.INFO: TCP Data received {"connection_id":230891,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a566a0012cb2f200077579d00013000f26..."} 
[2026-11-04 18:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a566a0012cb2f200077579d00013000f26..."} 
[2026-11-04 18:33:15] local.INFO: Processing buffer {"connection_id":230891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a566a0012cb2f200077579d00013000f26..."} 
[2026-11-04 18:33:15] local.INFO: Packet analysis {"connection_id":230891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:33:15] local.INFO: Extracted packet for processing {"connection_id":230891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":749924864,"raw_latitude":125139408,"longitude_deg":74.9924864,"latitude_deg":12.5139408,"altitude":19,"angle":15,"satellites":38,"speed":24,"hex_longitude":"2cb2f200","hex_latitude":"077579d0","is_valid_coordinates":true} 
[2026-11-04 18:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212086784001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20797971108986880,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5553571627210444800,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793797220000,"timestamp_ms":1793797220000,"timestamp_seconds":1793797220,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a566a0"} 
[2026-11-04 18:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 18:33:15] 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-11-04 18:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212086784001,"66":27789,"241":206,"27":54016,"24":24,"16":20797971108986880,"44":-5553571627210444800},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212086784001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:33:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:33:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20797971108986880,"km_value":20797971108986.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5553571627210444800,"description":"Unknown IO ID 44"} 
[2026-11-04 18:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212086784001,"power":27789,"unknown_241":206,"unknown_27":54016,"ignition":24,"odometer":null,"unknown_44":-5553571627210444800}} 
[2026-11-04 18:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":230891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:33:15] local.INFO: GPS data processed {"connection_id":230891,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:33:15] local.INFO: Acknowledgment sent {"connection_id":230891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:33:44] local.INFO: TCP Data received {"connection_id":229106,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:33:44] local.INFO: Processing buffer {"connection_id":229106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:33:44] local.INFO: Packet analysis {"connection_id":229106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:33:44] local.INFO: Extracted packet for processing {"connection_id":229106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:44] 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-11-04 18:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:33:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":229106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:33:44] local.INFO: GPS data processed {"connection_id":229106,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:33:44] local.INFO: Acknowledgment sent {"connection_id":229106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:33:51] local.INFO: TCP Data received {"connection_id":230891,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a5a520012cb2f90007759c880014000927..."} 
[2026-11-04 18:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a5a520012cb2f90007759c880014000927..."} 
[2026-11-04 18:33:51] local.INFO: Processing buffer {"connection_id":230891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a5a520012cb2f90007759c880014000927..."} 
[2026-11-04 18:33:51] local.INFO: Packet analysis {"connection_id":230891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:33:51] local.INFO: Extracted packet for processing {"connection_id":230891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a5"} 
[2026-11-04 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749926656,"raw_latitude":125148296,"longitude_deg":74.9926656,"latitude_deg":12.5148296,"altitude":20,"angle":9,"satellites":39,"speed":23,"hex_longitude":"2cb2f900","hex_latitude":"07759c88","is_valid_coordinates":true} 
[2026-11-04 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212088320001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20798413490618368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5552375358558711808,"note":"Value kept but may cause issues"} 
[2026-11-04 18:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793797236000,"timestamp_ms":1793797236000,"timestamp_seconds":1793797236,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a5a520"} 
[2026-11-04 18:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 18:33: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-11-04 18:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212088320001,"66":27843,"241":206,"27":54016,"24":23,"16":20798413490618368,"44":-5552375358558711808},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212088320001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:33:51] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:33:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20798413490618368,"km_value":20798413490618.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5552375358558711808,"description":"Unknown IO ID 44"} 
[2026-11-04 18:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212088320001,"power":27843,"unknown_241":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5552375358558711808}} 
[2026-11-04 18:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":230891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:33:51] local.INFO: GPS data processed {"connection_id":230891,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:33:51] local.INFO: Acknowledgment sent {"connection_id":230891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:34:05] local.INFO: TCP Data received {"connection_id":232744,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:34:06] local.INFO: Processing buffer {"connection_id":232744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:34:06] local.INFO: IMEI packet received {"connection_id":232744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":232744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:34:11] local.INFO: TCP Data received {"connection_id":232744,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:34:11] local.INFO: Processing buffer {"connection_id":232744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:34:11] local.INFO: IMEI packet received {"connection_id":232744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":232744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:34:12] local.INFO: TCP Data received {"connection_id":232744,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:34:12] local.INFO: Processing buffer {"connection_id":232744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:34:12] local.INFO: Packet analysis {"connection_id":232744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:34:12] local.INFO: Extracted packet for processing {"connection_id":232744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:34:12] 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-11-04 18:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:34:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":232744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:34:12] local.INFO: GPS data processed {"connection_id":232744,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:34:12] local.INFO: Acknowledgment sent {"connection_id":232744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:34:28] local.INFO: TCP Data received {"connection_id":229583,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:34:28] local.INFO: Processing buffer {"connection_id":229583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:34:28] local.INFO: IMEI packet received {"connection_id":229583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":229583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:34:33] local.INFO: TCP Data received {"connection_id":229583,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:34:33] local.INFO: Processing buffer {"connection_id":229583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:34:33] local.INFO: IMEI packet received {"connection_id":229583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":229583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:34:35] local.INFO: TCP Data received {"connection_id":229583,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a7bc48012cb2f58007758590001100c12c..."} 
[2026-11-04 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a7bc48012cb2f58007758590001100c12c..."} 
[2026-11-04 18:34:35] local.INFO: Processing buffer {"connection_id":229583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a7bc48012cb2f58007758590001100c12c..."} 
[2026-11-04 18:34:35] local.INFO: Packet analysis {"connection_id":229583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a7"} 
[2026-11-04 18:34:35] local.INFO: Extracted packet for processing {"connection_id":229583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a7"} 
[2026-11-04 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":749925760,"raw_latitude":125142416,"longitude_deg":74.992576,"latitude_deg":12.5142416,"altitude":17,"angle":193,"satellites":44,"speed":29,"hex_longitude":"2cb2f580","hex_latitude":"07758590","is_valid_coordinates":true} 
[2026-11-04 18:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:34:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,241,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1793797373000,"timestamp_ms":1793797373000,"timestamp_seconds":1793797373,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a7bc48"} 
[2026-11-04 18:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 18:34:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":229583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":229583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":229583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27517,"241":206,"27":54016,"24":29,"16":20799538772049920},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16]} 
[2026-11-04 18:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:34:35] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:34:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20799538772049920,"km_value":20799538772049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:34:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27517,"unknown_241":206,"unknown_27":54016,"ignition":29,"odometer":null}} 
[2026-11-04 18:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":229583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:34:35] local.INFO: GPS data processed {"connection_id":229583,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:34:35] local.INFO: Acknowledgment sent {"connection_id":229583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:34:43] local.INFO: TCP Data received {"connection_id":232744,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:34:43] local.INFO: Processing buffer {"connection_id":232744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:34:43] local.INFO: Packet analysis {"connection_id":232744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:34:43] local.INFO: Extracted packet for processing {"connection_id":232744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:34:43] 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-11-04 18:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:34:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":232744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:34:43] local.INFO: GPS data processed {"connection_id":232744,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:34:43] local.INFO: Acknowledgment sent {"connection_id":232744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:35:10] local.INFO: TCP Data received {"connection_id":229584,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:10] local.INFO: Processing buffer {"connection_id":229584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:10] local.INFO: IMEI packet received {"connection_id":229584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":229584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:35:11] local.INFO: TCP Data received {"connection_id":229107,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:35:11] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:35:11] local.INFO: IMEI packet received {"connection_id":229107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":229107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:35:14] local.INFO: TCP Data received {"connection_id":229584,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:14] local.INFO: Processing buffer {"connection_id":229584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:14] local.INFO: IMEI packet received {"connection_id":229584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":229584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:35:15] local.INFO: TCP Data received {"connection_id":229584,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:15] local.INFO: Processing buffer {"connection_id":229584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:35:15] local.INFO: IMEI packet received {"connection_id":229584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":229584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:35:16] local.INFO: TCP Data received {"connection_id":229107,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:35:16] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:35:16] local.INFO: IMEI packet received {"connection_id":229107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":229107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:35:16] local.INFO: TCP Data received {"connection_id":229584,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a89ed80100000000000000000000000000..."} 
[2026-11-04 18:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a89ed80100000000000000000000000000..."} 
[2026-11-04 18:35:16] local.INFO: Processing buffer {"connection_id":229584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a89ed80100000000000000000000000000..."} 
[2026-11-04 18:35:16] local.INFO: Packet analysis {"connection_id":229584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:35:16] local.INFO: Extracted packet for processing {"connection_id":229584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:35: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-11-04 18: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-11-04 18:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212127488001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5551390196139454464,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793797431000,"timestamp_ms":1793797431000,"timestamp_seconds":1793797431,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a89ed8"} 
[2026-11-04 18:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-11-04 18:35:16] 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-11-04 18: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-11-04 18:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":229584,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:35:16] local.INFO: GPS data processed {"connection_id":229584,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:35:16] local.INFO: Acknowledgment sent {"connection_id":229584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:35:17] local.INFO: TCP Data received {"connection_id":229107,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:35:17] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:35:17] local.INFO: Packet analysis {"connection_id":229107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:35:17] local.INFO: Extracted packet for processing {"connection_id":229107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:17] 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-11-04 18:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:35:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:35:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":229107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:35:17] local.INFO: GPS data processed {"connection_id":229107,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:35:17] local.INFO: Acknowledgment sent {"connection_id":229107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:35:18] local.INFO: TCP Data received {"connection_id":229584,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a821d8012cb2db0007755880001700de2b..."} 
[2026-11-04 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a821d8012cb2db0007755880001700de2b..."} 
[2026-11-04 18:35:18] local.INFO: Processing buffer {"connection_id":229584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a821d8012cb2db0007755880001700de2b..."} 
[2026-11-04 18:35:18] local.INFO: Packet analysis {"connection_id":229584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:35:18] local.INFO: Extracted packet for processing {"connection_id":229584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":749918976,"raw_latitude":125130880,"longitude_deg":74.9918976,"latitude_deg":12.513088,"altitude":23,"angle":222,"satellites":43,"speed":25,"hex_longitude":"2cb2db00","hex_latitude":"07755880","is_valid_coordinates":true} 
[2026-11-04 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,241,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793797399000,"timestamp_ms":1793797399000,"timestamp_seconds":1793797399,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a821d8"} 
[2026-11-04 18:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 18:35: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-11-04 18:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"241":206,"27":54016,"24":25,"16":20799538772049920},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16]} 
[2026-11-04 18:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:35:18] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:35:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20799538772049920,"km_value":20799538772049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:35:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_241":206,"unknown_27":54016,"ignition":25,"odometer":null}} 
[2026-11-04 18:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":229584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:35:19] local.INFO: GPS data processed {"connection_id":229584,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:35:19] local.INFO: Acknowledgment sent {"connection_id":229584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:35:22] local.INFO: TCP Data received {"connection_id":229107,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:35:22] local.INFO: Processing buffer {"connection_id":229107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:35:22] local.INFO: Packet analysis {"connection_id":229107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:35:22] local.INFO: Extracted packet for processing {"connection_id":229107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:35:22] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:22] 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-11-04 18:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:35:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:35:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":229107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:35:22] local.INFO: GPS data processed {"connection_id":229107,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:35:22] local.INFO: Acknowledgment sent {"connection_id":229107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:35:50] local.INFO: TCP Data received {"connection_id":229584,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a873e0012cb2b4c007752560001700d82b..."} 
[2026-11-04 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a873e0012cb2b4c007752560001700d82b..."} 
[2026-11-04 18:35:50] local.INFO: Processing buffer {"connection_id":229584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a873e0012cb2b4c007752560001700d82b..."} 
[2026-11-04 18:35:50] local.INFO: Packet analysis {"connection_id":229584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:35:50] local.INFO: Extracted packet for processing {"connection_id":229584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":749909184,"raw_latitude":125117792,"longitude_deg":74.9909184,"latitude_deg":12.5117792,"altitude":23,"angle":216,"satellites":43,"speed":23,"hex_longitude":"2cb2b4c0","hex_latitude":"07752560","is_valid_coordinates":true} 
[2026-11-04 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212134144001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5558849283025240064,"note":"Value kept but may cause issues"} 
[2026-11-04 18:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793797420000,"timestamp_ms":1793797420000,"timestamp_seconds":1793797420,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a873e0"} 
[2026-11-04 18:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 18:35: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-11-04 18:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212134144001,"66":27876,"241":206,"27":54016,"24":23,"16":20799538772049920,"44":-5558849283025240064},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,27,24,16,44]} 
[2026-11-04 18:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212134144001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:35:50] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-11-04 18:35:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20799538772049920,"km_value":20799538772049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5558849283025240064,"description":"Unknown IO ID 44"} 
[2026-11-04 18:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212134144001,"power":27876,"unknown_241":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-5558849283025240064}} 
[2026-11-04 18:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":229584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:35:50] local.INFO: GPS data processed {"connection_id":229584,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:35:50] local.INFO: Acknowledgment sent {"connection_id":229584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:36:06] local.INFO: TCP Data received {"connection_id":229108,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:36:06] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:36:06] local.INFO: IMEI packet received {"connection_id":229108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":229108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:36:10] local.INFO: TCP Data received {"connection_id":229585,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:36:10] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:36:10] local.INFO: IMEI packet received {"connection_id":229585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":229585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:36:11] local.INFO: TCP Data received {"connection_id":229108,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:36:11] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:36:11] local.INFO: IMEI packet received {"connection_id":229108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:36:12] local.INFO: TCP Data received {"connection_id":229108,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:36:12] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:36:12] local.INFO: Packet analysis {"connection_id":229108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:36:12] local.INFO: Extracted packet for processing {"connection_id":229108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:36:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:12] 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-11-04 18:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:36:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":229108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:36:12] local.INFO: GPS data processed {"connection_id":229108,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:36:12] local.INFO: Acknowledgment sent {"connection_id":229108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:36:13] local.INFO: TCP Data received {"connection_id":229585,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:36:13] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:36:13] local.INFO: IMEI packet received {"connection_id":229585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":229585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:36:14] local.INFO: TCP Data received {"connection_id":229585,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a956700100000000000000000000000000..."} 
[2026-11-04 18:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a956700100000000000000000000000000..."} 
[2026-11-04 18:36:14] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a956700100000000000000000000000000..."} 
[2026-11-04 18:36:14] local.INFO: Packet analysis {"connection_id":229585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:36:14] local.INFO: Extracted packet for processing {"connection_id":229585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212139520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5569615700887773184,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793797478000,"timestamp_ms":1793797478000,"timestamp_seconds":1793797478,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a95670"} 
[2026-11-04 18:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 18:36: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-11-04 18:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":229585,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:36:14] local.INFO: GPS data processed {"connection_id":229585,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:36:14] local.INFO: Acknowledgment sent {"connection_id":229585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:36:17] local.INFO: TCP Data received {"connection_id":229585,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a8ecf8012cb292800774ff90001400d72d..."} 
[2026-11-04 18:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a8ecf8012cb292800774ff90001400d72d..."} 
[2026-11-04 18:36:17] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a8ecf8012cb292800774ff90001400d72d..."} 
[2026-11-04 18:36:17] local.INFO: Packet analysis {"connection_id":229585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:36:17] local.INFO: Extracted packet for processing {"connection_id":229585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a8"} 
[2026-11-04 18:36:17] local.INFO: GPS Element Parsed {"raw_longitude":749900416,"raw_latitude":125108112,"longitude_deg":74.9900416,"latitude_deg":12.5108112,"altitude":20,"angle":215,"satellites":45,"speed":17,"hex_longitude":"2cb29280","hex_latitude":"0774ff90","is_valid_coordinates":true} 
[2026-11-04 18:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,6,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793797451000,"timestamp_ms":1793797451000,"timestamp_seconds":1793797451,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a8ecf8"} 
[2026-11-04 18:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 18:36: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-11-04 18:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"6":206,"27":54016,"24":17,"16":20799538772049920},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16]} 
[2026-11-04 18:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:36:17] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 18:36:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20799538772049920,"km_value":20799538772049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:36:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_6":206,"unknown_27":54016,"ignition":17,"odometer":null}} 
[2026-11-04 18:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":229585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:36:17] local.INFO: GPS data processed {"connection_id":229585,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:36:17] local.INFO: Acknowledgment sent {"connection_id":229585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:36:43] local.INFO: TCP Data received {"connection_id":229108,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:36:43] local.INFO: Processing buffer {"connection_id":229108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:36:43] local.INFO: Packet analysis {"connection_id":229108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:36:43] local.INFO: Extracted packet for processing {"connection_id":229108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:43] 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-11-04 18:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:36:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":229108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:36:43] local.INFO: GPS data processed {"connection_id":229108,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:36:43] local.INFO: Acknowledgment sent {"connection_id":229108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:36:50] local.INFO: TCP Data received {"connection_id":229585,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a9cf880100000000000000000000000000..."} 
[2026-11-04 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a9cf880100000000000000000000000000..."} 
[2026-11-04 18:36:50] local.INFO: Processing buffer {"connection_id":229585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a9cf880100000000000000000000000000..."} 
[2026-11-04 18:36:50] local.INFO: Packet analysis {"connection_id":229585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:36:50] local.INFO: Extracted packet for processing {"connection_id":229585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:36: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-11-04 18:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212147456001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5579256218842591232,"note":"Value kept but may cause issues"} 
[2026-11-04 18:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793797509000,"timestamp_ms":1793797509000,"timestamp_seconds":1793797509,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a9cf88"} 
[2026-11-04 18:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 18:36: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-11-04 18:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":229585,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:36:50] local.INFO: GPS data processed {"connection_id":229585,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:36:50] local.INFO: Acknowledgment sent {"connection_id":229585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:37:06] local.INFO: TCP Data received {"connection_id":230892,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:37:06] local.INFO: Processing buffer {"connection_id":230892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:37:06] local.INFO: IMEI packet received {"connection_id":230892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:37:08] local.INFO: TCP Data received {"connection_id":229109,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:37:08] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:37:08] local.INFO: IMEI packet received {"connection_id":229109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":229109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:37:11] local.INFO: TCP Data received {"connection_id":230892,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:37:11] local.INFO: Processing buffer {"connection_id":230892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:37:11] local.INFO: IMEI packet received {"connection_id":230892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":230892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:37:12] local.INFO: TCP Data received {"connection_id":230892,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:37:12] local.INFO: Processing buffer {"connection_id":230892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a68b98012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:37:12] local.INFO: Packet analysis {"connection_id":230892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:37:12] local.INFO: Extracted packet for processing {"connection_id":230892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a6"} 
[2026-11-04 18:37:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212030464001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:12] 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-11-04 18:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797295000,"timestamp_ms":1793797295000,"timestamp_seconds":1793797295,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a68b98"} 
[2026-11-04 18:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-11-04 18:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212030464001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212030464001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:37:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212030464001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":230892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:37:12] local.INFO: GPS data processed {"connection_id":230892,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:37:12] local.INFO: Acknowledgment sent {"connection_id":230892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:37:13] local.INFO: TCP Data received {"connection_id":229109,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:37:13] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:37:13] local.INFO: IMEI packet received {"connection_id":229109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":229109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:37:15] local.INFO: TCP Data received {"connection_id":229109,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a95288012cb272000774cd08001400d32c..."} 
[2026-11-04 18:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a95288012cb272000774cd08001400d32c..."} 
[2026-11-04 18:37:15] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a95288012cb272000774cd08001400d32c..."} 
[2026-11-04 18:37:15] local.INFO: Packet analysis {"connection_id":229109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:37:15] local.INFO: Extracted packet for processing {"connection_id":229109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:37:15] local.INFO: GPS Element Parsed {"raw_longitude":749892096,"raw_latitude":125095176,"longitude_deg":74.9892096,"latitude_deg":12.5095176,"altitude":20,"angle":211,"satellites":44,"speed":28,"hex_longitude":"2cb27200","hex_latitude":"0774cd08","is_valid_coordinates":true} 
[2026-11-04 18:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,6,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793797477000,"timestamp_ms":1793797477000,"timestamp_seconds":1793797477,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a95288"} 
[2026-11-04 18:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:37:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 18:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:37:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:37:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"6":206,"27":54016,"24":28,"16":20799538772049920},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16]} 
[2026-11-04 18:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:37:15] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 18:37:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20799538772049920,"km_value":20799538772049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:37:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_6":206,"unknown_27":54016,"ignition":28,"odometer":null}} 
[2026-11-04 18:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":229109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:37:15] local.INFO: GPS data processed {"connection_id":229109,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:37:15] local.INFO: Acknowledgment sent {"connection_id":229109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:37:44] local.INFO: TCP Data received {"connection_id":230892,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:37:44] local.INFO: Processing buffer {"connection_id":230892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:37:44] local.INFO: Packet analysis {"connection_id":230892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:37:44] local.INFO: Extracted packet for processing {"connection_id":230892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212107520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:44] 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-11-04 18:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793797596000,"timestamp_ms":1793797596000,"timestamp_seconds":1793797596,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ab2360"} 
[2026-11-04 18:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:37: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-11-04 18:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212107520001,"66":25702,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212107520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:37:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212107520001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":230892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:37:44] local.INFO: GPS data processed {"connection_id":230892,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:37:44] local.INFO: Acknowledgment sent {"connection_id":230892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:37:47] local.INFO: TCP Data received {"connection_id":229109,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6aa35180100000000000000000000000000..."} 
[2026-11-04 18:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6aa35180100000000000000000000000000..."} 
[2026-11-04 18:37:47] local.INFO: Processing buffer {"connection_id":229109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6aa35180100000000000000000000000000..."} 
[2026-11-04 18:37:47] local.INFO: Packet analysis {"connection_id":229109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6aa"} 
[2026-11-04 18:37:47] local.INFO: Extracted packet for processing {"connection_id":229109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6aa"} 
[2026-11-04 18:37: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-11-04 18: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-11-04 18:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212154112001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5588404155588999168,"note":"Value kept but may cause issues"} 
[2026-11-04 18:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793797535000,"timestamp_ms":1793797535000,"timestamp_seconds":1793797535,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6aa3518"} 
[2026-11-04 18:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 18:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":229109,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:37:47] local.INFO: GPS data processed {"connection_id":229109,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:37:47] local.INFO: Acknowledgment sent {"connection_id":229109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:38:05] local.INFO: TCP Data received {"connection_id":229586,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:38:05] local.INFO: Processing buffer {"connection_id":229586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:38:05] local.INFO: IMEI packet received {"connection_id":229586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":229586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:38:08] local.INFO: TCP Data received {"connection_id":232745,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:38:08] local.INFO: Processing buffer {"connection_id":232745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:38:08] local.INFO: IMEI packet received {"connection_id":232745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":232745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:38:11] local.INFO: TCP Data received {"connection_id":229586,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:38:11] local.INFO: Processing buffer {"connection_id":229586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:38:11] local.INFO: IMEI packet received {"connection_id":229586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":229586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:38:12] local.INFO: TCP Data received {"connection_id":229586,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:38:12] local.INFO: Processing buffer {"connection_id":229586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:38:12] local.INFO: Packet analysis {"connection_id":229586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:38:12] local.INFO: Extracted packet for processing {"connection_id":229586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212107520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:12] 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-11-04 18:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797596000,"timestamp_ms":1793797596000,"timestamp_seconds":1793797596,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ab2360"} 
[2026-11-04 18:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:38: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-11-04 18: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-11-04 18:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212107520001,"66":25702,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212107520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:38:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212107520001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":229586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:38:12] local.INFO: GPS data processed {"connection_id":229586,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:38:12] local.INFO: Acknowledgment sent {"connection_id":229586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:38:13] local.INFO: TCP Data received {"connection_id":232745,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:38:13] local.INFO: Processing buffer {"connection_id":232745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:38:13] local.INFO: IMEI packet received {"connection_id":232745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":232745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:38:15] local.INFO: TCP Data received {"connection_id":232745,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6a9b048012cb2548007749d88000e00d42b..."} 
[2026-11-04 18:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6a9b048012cb2548007749d88000e00d42b..."} 
[2026-11-04 18:38:15] local.INFO: Processing buffer {"connection_id":232745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6a9b048012cb2548007749d88000e00d42b..."} 
[2026-11-04 18:38:15] local.INFO: Packet analysis {"connection_id":232745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:38:15] local.INFO: Extracted packet for processing {"connection_id":232745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6a9"} 
[2026-11-04 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":749884544,"raw_latitude":125083016,"longitude_deg":74.9884544,"latitude_deg":12.5083016,"altitude":14,"angle":212,"satellites":43,"speed":11,"hex_longitude":"2cb25480","hex_latitude":"07749d88","is_valid_coordinates":true} 
[2026-11-04 18:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,6,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793797501000,"timestamp_ms":1793797501000,"timestamp_seconds":1793797501,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6a9b048"} 
[2026-11-04 18:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:38: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-11-04 18:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"6":206,"27":54016,"24":11,"16":20799538772049920},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16]} 
[2026-11-04 18:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:38:15] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 18:38:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20799538772049920,"km_value":20799538772049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:38:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_6":206,"unknown_27":54016,"ignition":11,"odometer":null}} 
[2026-11-04 18:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":232745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:38:16] local.INFO: GPS data processed {"connection_id":232745,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:38:16] local.INFO: Acknowledgment sent {"connection_id":232745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:38:43] local.INFO: TCP Data received {"connection_id":229586,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:38:43] local.INFO: Processing buffer {"connection_id":229586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:38:43] local.INFO: Packet analysis {"connection_id":229586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:38:43] local.INFO: Extracted packet for processing {"connection_id":229586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212107520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:43] 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-11-04 18:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793797596000,"timestamp_ms":1793797596000,"timestamp_seconds":1793797596,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ab2360"} 
[2026-11-04 18:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:38: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-11-04 18: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-11-04 18:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212107520001,"66":25702,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212107520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:38:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212107520001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":229586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:38:44] local.INFO: GPS data processed {"connection_id":229586,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:38:44] local.INFO: Acknowledgment sent {"connection_id":229586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:38:48] local.INFO: TCP Data received {"connection_id":232745,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6aa0250012cb2548007749d88000e00d42b..."} 
[2026-11-04 18:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6aa0250012cb2548007749d88000e00d42b..."} 
[2026-11-04 18:38:48] local.INFO: Processing buffer {"connection_id":232745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6aa0250012cb2548007749d88000e00d42b..."} 
[2026-11-04 18:38:48] local.INFO: Packet analysis {"connection_id":232745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6aa"} 
[2026-11-04 18:38:48] local.INFO: Extracted packet for processing {"connection_id":232745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6aa"} 
[2026-11-04 18:38:48] local.INFO: GPS Element Parsed {"raw_longitude":749884544,"raw_latitude":125083016,"longitude_deg":74.9884544,"latitude_deg":12.5083016,"altitude":14,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2cb25480","hex_latitude":"07749d88","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212160256001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20799538772049920,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5596707667405076480,"note":"Value kept but may cause issues"} 
[2026-11-04 18:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793797522000,"timestamp_ms":1793797522000,"timestamp_seconds":1793797522,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6aa0250"} 
[2026-11-04 18:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":232745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":232745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212160256001,"66":27821,"6":206,"27":54016,"24":0,"16":20799538772049920,"44":-5596707667405076480},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,27,24,16,44]} 
[2026-11-04 18:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212160256001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:38:49] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-11-04 18:38:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20799538772049920,"km_value":20799538772049.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:38:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5596707667405076480,"description":"Unknown IO ID 44"} 
[2026-11-04 18:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212160256001,"power":27821,"unknown_6":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5596707667405076480}} 
[2026-11-04 18:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":232745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:38:49] local.INFO: GPS data processed {"connection_id":232745,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:38:49] local.INFO: Acknowledgment sent {"connection_id":232745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:39:05] local.INFO: TCP Data received {"connection_id":232746,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:39:05] local.INFO: Processing buffer {"connection_id":232746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:39:05] local.INFO: IMEI packet received {"connection_id":232746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":232746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:39:08] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:08] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:08] local.INFO: IMEI packet received {"connection_id":229110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":229110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:39:10] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:10] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:10] local.INFO: IMEI packet received {"connection_id":229110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":229110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:39:11] local.INFO: TCP Data received {"connection_id":232746,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:39:11] local.INFO: Processing buffer {"connection_id":232746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:39:11] local.INFO: IMEI packet received {"connection_id":232746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":232746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:39:12] local.INFO: TCP Data received {"connection_id":232746,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:39:12] local.INFO: Processing buffer {"connection_id":232746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ab2360012d34c90006aa43f80007003e26..."} 
[2026-11-04 18:39:12] local.INFO: Packet analysis {"connection_id":232746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:39:12] local.INFO: Extracted packet for processing {"connection_id":232746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ab"} 
[2026-11-04 18:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":38,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212107520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:12] 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-11-04 18:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797596000,"timestamp_ms":1793797596000,"timestamp_seconds":1793797596,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ab2360"} 
[2026-11-04 18:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:39: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-11-04 18: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-11-04 18:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212107520001,"66":25702,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212107520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:39:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212107520001,"power":25702,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":232746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:39:12] local.INFO: GPS data processed {"connection_id":232746,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:39:12] local.INFO: Acknowledgment sent {"connection_id":232746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:39:13] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:13] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:39:13] local.INFO: IMEI packet received {"connection_id":229110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":229110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:39:14] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ac86d8012cb3c28007751f18002000242a..."} 
[2026-11-04 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ac86d8012cb3c28007751f18002000242a..."} 
[2026-11-04 18:39:14] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ac86d8012cb3c28007751f18002000242a..."} 
[2026-11-04 18:39:14] local.INFO: Packet analysis {"connection_id":229110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ac"} 
[2026-11-04 18:39:14] local.INFO: Extracted packet for processing {"connection_id":229110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ac"} 
[2026-11-04 18:39:14] local.INFO: GPS Element Parsed {"raw_longitude":749978240,"raw_latitude":125116184,"longitude_deg":74.997824,"latitude_deg":12.5116184,"altitude":32,"angle":36,"satellites":42,"speed":20,"hex_longitude":"2cb3c280","hex_latitude":"07751f18","is_valid_coordinates":true} 
[2026-11-04 18:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212203520001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20802072802754560,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5500302487875018752,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793797687000,"timestamp_ms":1793797687000,"timestamp_seconds":1793797687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ac86d8"} 
[2026-11-04 18:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 18:39:14] 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-11-04 18:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212203520001,"66":27952,"100":206,"27":54016,"24":20,"16":20802072802754560,"44":-5500302487875018752},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-11-04 18:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212203520001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:39:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 18:39:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20802072802754560,"km_value":20802072802754.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:39:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5500302487875018752,"description":"Unknown IO ID 44"} 
[2026-11-04 18:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212203520001,"power":27952,"unknown_100":206,"unknown_27":54016,"ignition":20,"odometer":null,"unknown_44":-5500302487875018752}} 
[2026-11-04 18:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":229110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:39:14] local.INFO: GPS data processed {"connection_id":229110,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:39:14] local.INFO: Acknowledgment sent {"connection_id":229110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:39:46] local.INFO: TCP Data received {"connection_id":229110,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6acbd88012cb3d90007753c680023002429..."} 
[2026-11-04 18:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6acbd88012cb3d90007753c680023002429..."} 
[2026-11-04 18:39:46] local.INFO: Processing buffer {"connection_id":229110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6acbd88012cb3d90007753c680023002429..."} 
[2026-11-04 18:39:46] local.INFO: Packet analysis {"connection_id":229110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ac"} 
[2026-11-04 18:39:46] local.INFO: Extracted packet for processing {"connection_id":229110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ac"} 
[2026-11-04 18:39:46] local.INFO: GPS Element Parsed {"raw_longitude":749984000,"raw_latitude":125123688,"longitude_deg":74.9984,"latitude_deg":12.5123688,"altitude":35,"angle":36,"satellites":41,"speed":33,"hex_longitude":"2cb3d900","hex_latitude":"07753c68","is_valid_coordinates":true} 
[2026-11-04 18:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212207872001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20802528069287936,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5493687825920485376,"note":"Value kept but may cause issues"} 
[2026-11-04 18:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793797701000,"timestamp_ms":1793797701000,"timestamp_seconds":1793797701,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6acbd88"} 
[2026-11-04 18:39:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:39:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 18:39: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-11-04 18:39:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:39:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212207872001,"66":27908,"100":206,"27":54016,"24":33,"16":20802528069287936,"44":-5493687825920485376},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-11-04 18:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212207872001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:39:46] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 18:39:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20802528069287936,"km_value":20802528069287.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:39:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5493687825920485376,"description":"Unknown IO ID 44"} 
[2026-11-04 18:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212207872001,"power":27908,"unknown_100":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-5493687825920485376}} 
[2026-11-04 18:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":229110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:39:47] local.INFO: GPS data processed {"connection_id":229110,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:39:47] local.INFO: Acknowledgment sent {"connection_id":229110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:40:08] local.INFO: TCP Data received {"connection_id":232747,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:08] local.INFO: Processing buffer {"connection_id":232747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:08] local.INFO: IMEI packet received {"connection_id":232747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":232747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:40:12] local.INFO: TCP Data received {"connection_id":232747,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:12] local.INFO: Processing buffer {"connection_id":232747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:12] local.INFO: IMEI packet received {"connection_id":232747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":232747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:40:13] local.INFO: TCP Data received {"connection_id":232747,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:13] local.INFO: Processing buffer {"connection_id":232747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:40:13] local.INFO: IMEI packet received {"connection_id":232747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":232747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:40:14] local.INFO: TCP Data received {"connection_id":232747,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ace880012cb3f080077559b00022002c2b..."} 
[2026-11-04 18:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ace880012cb3f080077559b00022002c2b..."} 
[2026-11-04 18:40:14] local.INFO: Processing buffer {"connection_id":232747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ace880012cb3f080077559b00022002c2b..."} 
[2026-11-04 18:40:14] local.INFO: Packet analysis {"connection_id":232747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ac"} 
[2026-11-04 18:40:14] local.INFO: Extracted packet for processing {"connection_id":232747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ac"} 
[2026-11-04 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":749990016,"raw_latitude":125131184,"longitude_deg":74.9990016,"latitude_deg":12.5131184,"altitude":34,"angle":44,"satellites":43,"speed":33,"hex_longitude":"2cb3f080","hex_latitude":"077559b0","is_valid_coordinates":true} 
[2026-11-04 18:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212211456001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20802987630788608,"note":"Value kept but may cause issues"} 
[2026-11-04 18:40:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5487354638942574592,"note":"Value kept but may cause issues"} 
[2026-11-04 18:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793797712000,"timestamp_ms":1793797712000,"timestamp_seconds":1793797712,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ace880"} 
[2026-11-04 18:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 18:40: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-11-04 18:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212211456001,"66":27050,"100":206,"27":54016,"24":33,"16":20802987630788608,"44":-5487354638942574592},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-11-04 18:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212211456001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:40:14] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 18:40:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20802987630788608,"km_value":20802987630788.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:40:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5487354638942574592,"description":"Unknown IO ID 44"} 
[2026-11-04 18:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212211456001,"power":27050,"unknown_100":206,"unknown_27":54016,"ignition":33,"odometer":null,"unknown_44":-5487354638942574592}} 
[2026-11-04 18:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":232747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:40:14] local.INFO: GPS data processed {"connection_id":232747,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:40:14] local.INFO: Acknowledgment sent {"connection_id":232747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:40:45] local.INFO: TCP Data received {"connection_id":232747,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ad0ba8012cb4064007756b58002100392c..."} 
[2026-11-04 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ad0ba8012cb4064007756b58002100392c..."} 
[2026-11-04 18:40:45] local.INFO: Processing buffer {"connection_id":232747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ad0ba8012cb4064007756b58002100392c..."} 
[2026-11-04 18:40:45] local.INFO: Packet analysis {"connection_id":232747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:40:45] local.INFO: Extracted packet for processing {"connection_id":232747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:40:45] local.INFO: GPS Element Parsed {"raw_longitude":749995584,"raw_latitude":125135704,"longitude_deg":74.9995584,"latitude_deg":12.5135704,"altitude":33,"angle":57,"satellites":44,"speed":35,"hex_longitude":"2cb40640","hex_latitude":"07756b58","is_valid_coordinates":true} 
[2026-11-04 18:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212214272001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20803331228172288,"note":"Value kept but may cause issues"} 
[2026-11-04 18:40:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5480739976987955200,"note":"Value kept but may cause issues"} 
[2026-11-04 18:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793797721000,"timestamp_ms":1793797721000,"timestamp_seconds":1793797721,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ad0ba8"} 
[2026-11-04 18:40:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:40:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-11-04 18:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:40:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:40:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212214272001,"66":27952,"5":206,"27":54016,"24":35,"16":20803331228172288,"44":-5480739976987955200},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-11-04 18:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212214272001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:40:45] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-04 18:40:45] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20803331228172288,"km_value":20803331228172.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:40:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5480739976987955200,"description":"Unknown IO ID 44"} 
[2026-11-04 18:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212214272001,"power":27952,"unknown_5":206,"unknown_27":54016,"ignition":35,"odometer":null,"unknown_44":-5480739976987955200}} 
[2026-11-04 18:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":232747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:40:46] local.INFO: GPS data processed {"connection_id":232747,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:40:46] local.INFO: Acknowledgment sent {"connection_id":232747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:41:12] local.INFO: TCP Data received {"connection_id":229111,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:12] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:12] local.INFO: IMEI packet received {"connection_id":229111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":229111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:41:13] local.INFO: TCP Data received {"connection_id":229111,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:13] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:13] local.INFO: IMEI packet received {"connection_id":229111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":229111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:41:18] local.INFO: TCP Data received {"connection_id":229111,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:18] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:41:18] local.INFO: IMEI packet received {"connection_id":229111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":229111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:41:19] local.INFO: TCP Data received {"connection_id":229111,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ad1f30012cb417c007757460002300442b..."} 
[2026-11-04 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ad1f30012cb417c007757460002300442b..."} 
[2026-11-04 18:41:19] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ad1f30012cb417c007757460002300442b..."} 
[2026-11-04 18:41:19] local.INFO: Packet analysis {"connection_id":229111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:41:19] local.INFO: Extracted packet for processing {"connection_id":229111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":750000064,"raw_latitude":125138016,"longitude_deg":75.0000064,"latitude_deg":12.5138016,"altitude":35,"angle":68,"satellites":43,"speed":42,"hex_longitude":"2cb417c0","hex_latitude":"07757460","is_valid_coordinates":true} 
[2026-11-04 18:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212216576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20803571746340864,"note":"Value kept but may cause issues"} 
[2026-11-04 18:41:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5474617896243341312,"note":"Value kept but may cause issues"} 
[2026-11-04 18:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793797726000,"timestamp_ms":1793797726000,"timestamp_seconds":1793797726,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ad1f30"} 
[2026-11-04 18:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 18:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212216576001,"66":27908,"5":206,"27":54016,"24":42,"16":20803571746340864,"44":-5474617896243341312},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-11-04 18:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212216576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:41:19] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-04 18:41:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20803571746340864,"km_value":20803571746340.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:41:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5474617896243341312,"description":"Unknown IO ID 44"} 
[2026-11-04 18:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212216576001,"power":27908,"unknown_5":206,"unknown_27":54016,"ignition":42,"odometer":null,"unknown_44":-5474617896243341312}} 
[2026-11-04 18:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":229111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:41:20] local.INFO: GPS data processed {"connection_id":229111,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:41:20] local.INFO: Acknowledgment sent {"connection_id":229111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:41:24] local.INFO: TCP Data received {"connection_id":229111,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ad36a0012cb4300007757ac8002700502b..."} 
[2026-11-04 18:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ad36a0012cb4300007757ac8002700502b..."} 
[2026-11-04 18:41:24] local.INFO: Processing buffer {"connection_id":229111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ad36a0012cb4300007757ac8002700502b..."} 
[2026-11-04 18:41:24] local.INFO: Packet analysis {"connection_id":229111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:41:24] local.INFO: Extracted packet for processing {"connection_id":229111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":750006272,"raw_latitude":125139656,"longitude_deg":75.0006272,"latitude_deg":12.5139656,"altitude":39,"angle":80,"satellites":43,"speed":41,"hex_longitude":"2cb43000","hex_latitude":"07757ac8","is_valid_coordinates":true} 
[2026-11-04 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212217856001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20803876689018880,"note":"Value kept but may cause issues"} 
[2026-11-04 18:41:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5469692084150312960,"note":"Value kept but may cause issues"} 
[2026-11-04 18:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793797732000,"timestamp_ms":1793797732000,"timestamp_seconds":1793797732,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ad36a0"} 
[2026-11-04 18:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 18:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212217856001,"66":27419,"5":206,"27":54016,"24":41,"16":20803876689018880,"44":-5469692084150312960},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16,44]} 
[2026-11-04 18:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212217856001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:41:24] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-04 18:41:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20803876689018880,"km_value":20803876689018.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:41:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5469692084150312960,"description":"Unknown IO ID 44"} 
[2026-11-04 18:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212217856001,"power":27419,"unknown_5":206,"unknown_27":54016,"ignition":41,"odometer":null,"unknown_44":-5469692084150312960}} 
[2026-11-04 18:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":229111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:41:24] local.INFO: GPS data processed {"connection_id":229111,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:41:24] local.INFO: Acknowledgment sent {"connection_id":229111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:42:08] local.INFO: TCP Data received {"connection_id":229587,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:42:08] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:42:08] local.INFO: IMEI packet received {"connection_id":229587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":229587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:42:13] local.INFO: TCP Data received {"connection_id":229587,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:42:13] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:42:13] local.INFO: IMEI packet received {"connection_id":229587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":229587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:42:15] local.INFO: TCP Data received {"connection_id":229587,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ae19300100000000000000000000000000..."} 
[2026-11-04 18:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ae19300100000000000000000000000000..."} 
[2026-11-04 18:42:15] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ae19300100000000000000000000000000..."} 
[2026-11-04 18:42:15] local.INFO: Packet analysis {"connection_id":229587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ae"} 
[2026-11-04 18:42:15] local.INFO: Extracted packet for processing {"connection_id":229587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ae"} 
[2026-11-04 18:42: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-11-04 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212219392001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:42:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5462866315964659712,"note":"Value kept but may cause issues"} 
[2026-11-04 18:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793797790000,"timestamp_ms":1793797790000,"timestamp_seconds":1793797790,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ae1930"} 
[2026-11-04 18:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-11-04 18:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":976,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":229587,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:42:15] local.INFO: GPS data processed {"connection_id":229587,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:42:15] local.INFO: Acknowledgment sent {"connection_id":229587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:42:18] local.INFO: TCP Data received {"connection_id":229587,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ad9078012cb48600077566a8002e007f2c..."} 
[2026-11-04 18:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ad9078012cb48600077566a8002e007f2c..."} 
[2026-11-04 18:42:18] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ad9078012cb48600077566a8002e007f2c..."} 
[2026-11-04 18:42:18] local.INFO: Packet analysis {"connection_id":229587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:42:18] local.INFO: Extracted packet for processing {"connection_id":229587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:42:18] local.INFO: GPS Element Parsed {"raw_longitude":750028288,"raw_latitude":125134504,"longitude_deg":75.0028288,"latitude_deg":12.5134504,"altitude":46,"angle":127,"satellites":44,"speed":40,"hex_longitude":"2cb48600","hex_latitude":"077566a8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:42:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793797755000,"timestamp_ms":1793797755000,"timestamp_seconds":1793797755,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ad9078"} 
[2026-11-04 18:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27343,"5":206,"27":54016,"24":40,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,27,24,16]} 
[2026-11-04 18:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:42:18] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-11-04 18:42:18] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:42:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27343,"unknown_5":206,"unknown_27":54016,"ignition":40,"odometer":null}} 
[2026-11-04 18:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":229587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:42:18] local.INFO: GPS data processed {"connection_id":229587,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:42:18] local.INFO: Acknowledgment sent {"connection_id":229587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:42:50] local.INFO: TCP Data received {"connection_id":229587,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6add6c8012cb4c4c007754ca0002d00552d..."} 
[2026-11-04 18:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6add6c8012cb4c4c007754ca0002d00552d..."} 
[2026-11-04 18:42:50] local.INFO: Processing buffer {"connection_id":229587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6add6c8012cb4c4c007754ca0002d00552d..."} 
[2026-11-04 18:42:50] local.INFO: Packet analysis {"connection_id":229587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:42:50] local.INFO: Extracted packet for processing {"connection_id":229587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ad"} 
[2026-11-04 18:42:50] local.INFO: GPS Element Parsed {"raw_longitude":750044352,"raw_latitude":125127840,"longitude_deg":75.0044352,"latitude_deg":12.512784,"altitude":45,"angle":85,"satellites":45,"speed":27,"hex_longitude":"2cb4c4c0","hex_latitude":"07754ca0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212225280001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5438659467968862208,"note":"Value kept but may cause issues"} 
[2026-11-04 18:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793797773000,"timestamp_ms":1793797773000,"timestamp_seconds":1793797773,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6add6c8"} 
[2026-11-04 18:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-11-04 18:42:50] 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-11-04 18: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-11-04 18:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212225280001,"66":27952,"41":206,"27":54016,"24":27,"16":20804074257514496,"44":-5438659467968862208},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-11-04 18:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212225280001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:42:50] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 18:42:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5438659467968862208,"description":"Unknown IO ID 44"} 
[2026-11-04 18:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212225280001,"power":27952,"unknown_41":206,"unknown_27":54016,"ignition":27,"odometer":null,"unknown_44":-5438659467968862208}} 
[2026-11-04 18:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":229587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:42:50] local.INFO: GPS data processed {"connection_id":229587,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:42:50] local.INFO: Acknowledgment sent {"connection_id":229587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:43:01] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:43:01] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:43:01] local.INFO: IMEI packet received {"connection_id":229112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":229112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:43:06] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:43:06] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:43:06] local.INFO: IMEI packet received {"connection_id":229112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":229112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:43:07] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:43:07] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:43:07] local.INFO: Packet analysis {"connection_id":229112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:43:07] local.INFO: Extracted packet for processing {"connection_id":229112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:07] 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-11-04 18:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:43: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-11-04 18:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":229112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":229112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":229112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:43:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:43:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":229112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:43:07] local.INFO: GPS data processed {"connection_id":229112,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:43:07] local.INFO: Acknowledgment sent {"connection_id":229112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:43:08] local.INFO: TCP Data received {"connection_id":232748,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:43:08] local.INFO: Processing buffer {"connection_id":232748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:43:08] local.INFO: IMEI packet received {"connection_id":232748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":232748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:43:13] local.INFO: TCP Data received {"connection_id":232748,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:43:13] local.INFO: Processing buffer {"connection_id":232748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:43:13] local.INFO: IMEI packet received {"connection_id":232748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":232748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:43:14] local.INFO: TCP Data received {"connection_id":232748,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ae28d0012cb4c4c007754ca0002d00552d..."} 
[2026-11-04 18:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ae28d0012cb4c4c007754ca0002d00552d..."} 
[2026-11-04 18:43:14] local.INFO: Processing buffer {"connection_id":232748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ae28d0012cb4c4c007754ca0002d00552d..."} 
[2026-11-04 18:43:14] local.INFO: Packet analysis {"connection_id":232748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ae"} 
[2026-11-04 18:43:14] local.INFO: Extracted packet for processing {"connection_id":232748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ae"} 
[2026-11-04 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":750044352,"raw_latitude":125127840,"longitude_deg":75.0044352,"latitude_deg":12.512784,"altitude":45,"angle":85,"satellites":45,"speed":0,"hex_longitude":"2cb4c4c0","hex_latitude":"07754ca0","is_valid_coordinates":true} 
[2026-11-04 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212229888001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5420996913181974528,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793797794000,"timestamp_ms":1793797794000,"timestamp_seconds":1793797794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ae28d0"} 
[2026-11-04 18:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 18:43: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-11-04 18:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212229888001,"66":27767,"41":206,"27":54016,"24":0,"16":20804074257514496,"44":-5420996913181974528},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-11-04 18:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212229888001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:43:14] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 18:43:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:43:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5420996913181974528,"description":"Unknown IO ID 44"} 
[2026-11-04 18:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212229888001,"power":27767,"unknown_41":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5420996913181974528}} 
[2026-11-04 18:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":232748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:43:14] local.INFO: GPS data processed {"connection_id":232748,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:43:14] local.INFO: Acknowledgment sent {"connection_id":232748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:43:39] local.INFO: TCP Data received {"connection_id":229112,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:43:39] local.INFO: Processing buffer {"connection_id":229112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:43:39] local.INFO: Packet analysis {"connection_id":229112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:43:39] local.INFO: Extracted packet for processing {"connection_id":229112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:39] 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-11-04 18:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:43:39] 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-11-04 18:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":229112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":229112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":229112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:43:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":229112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:43:39] local.INFO: GPS data processed {"connection_id":229112,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:43:39] local.INFO: Acknowledgment sent {"connection_id":229112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:43:46] local.INFO: TCP Data received {"connection_id":232748,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ae6368012cb4ea8007755e28003500342d..."} 
[2026-11-04 18:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ae6368012cb4ea8007755e28003500342d..."} 
[2026-11-04 18:43:46] local.INFO: Processing buffer {"connection_id":232748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ae6368012cb4ea8007755e28003500342d..."} 
[2026-11-04 18:43:46] local.INFO: Packet analysis {"connection_id":232748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ae"} 
[2026-11-04 18:43:46] local.INFO: Extracted packet for processing {"connection_id":232748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ae"} 
[2026-11-04 18:43:46] local.INFO: GPS Element Parsed {"raw_longitude":750054016,"raw_latitude":125132328,"longitude_deg":75.0054016,"latitude_deg":12.5132328,"altitude":53,"angle":52,"satellites":45,"speed":14,"hex_longitude":"2cb4ea80","hex_latitude":"07755e28","is_valid_coordinates":true} 
[2026-11-04 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212235264001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5420996913181974528,"note":"Value kept but may cause issues"} 
[2026-11-04 18:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793797809000,"timestamp_ms":1793797809000,"timestamp_seconds":1793797809,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ae6368"} 
[2026-11-04 18:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212235264001,"66":27767,"41":206,"27":54016,"24":14,"16":20804074257514496,"44":-5420996913181974528},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,27,24,16,44]} 
[2026-11-04 18:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212235264001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:43:46] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-11-04 18:43:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:43:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5420996913181974528,"description":"Unknown IO ID 44"} 
[2026-11-04 18:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212235264001,"power":27767,"unknown_41":206,"unknown_27":54016,"ignition":14,"odometer":null,"unknown_44":-5420996913181974528}} 
[2026-11-04 18:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":232748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:43:46] local.INFO: GPS data processed {"connection_id":232748,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:43:46] local.INFO: Acknowledgment sent {"connection_id":232748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:44:08] local.INFO: TCP Data received {"connection_id":229114,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:44:08] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:44:08] local.INFO: IMEI packet received {"connection_id":229114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":229114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:44:13] local.INFO: TCP Data received {"connection_id":229114,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:44:13] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:44:13] local.INFO: IMEI packet received {"connection_id":229114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":229114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:44:14] local.INFO: TCP Data received {"connection_id":229114,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6af45f80100000000000000000000000000..."} 
[2026-11-04 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6af45f80100000000000000000000000000..."} 
[2026-11-04 18:44:14] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6af45f80100000000000000000000000000..."} 
[2026-11-04 18:44:14] local.INFO: Packet analysis {"connection_id":229114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:44:14] local.INFO: Extracted packet for processing {"connection_id":229114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:44: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-11-04 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212239104001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5410371232809998336,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793797867000,"timestamp_ms":1793797867000,"timestamp_seconds":1793797867,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6af45f8"} 
[2026-11-04 18:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:44: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-11-04 18:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":229114,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:44:14] local.INFO: GPS data processed {"connection_id":229114,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:44:14] local.INFO: Acknowledgment sent {"connection_id":229114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:44:14] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:44:14] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:44:14] local.INFO: IMEI packet received {"connection_id":229113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":229113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:44:16] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:44:16] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:44:16] local.INFO: IMEI packet received {"connection_id":229113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":229113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:44:17] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:44:17] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:44:17] local.INFO: Packet analysis {"connection_id":229113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:44:17] local.INFO: Extracted packet for processing {"connection_id":229113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:17] 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-11-04 18:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:44: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-11-04 18:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:44:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":229113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:44:17] local.INFO: GPS data processed {"connection_id":229113,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:44:17] local.INFO: Acknowledgment sent {"connection_id":229113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:44:22] local.INFO: TCP Data received {"connection_id":229113,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:44:22] local.INFO: Processing buffer {"connection_id":229113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:44:22] local.INFO: Packet analysis {"connection_id":229113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:44:22] local.INFO: Extracted packet for processing {"connection_id":229113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:22] 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-11-04 18:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:44:22] 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-11-04 18: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-11-04 18:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:44:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:44:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":229113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:44:22] local.INFO: GPS data processed {"connection_id":229113,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:44:22] local.INFO: Acknowledgment sent {"connection_id":229113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:44:46] local.INFO: TCP Data received {"connection_id":229114,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b15168012cb7e10007758ff0003c00762d..."} 
[2026-11-04 18:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b15168012cb7e10007758ff0003c00762d..."} 
[2026-11-04 18:44:46] local.INFO: Processing buffer {"connection_id":229114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b15168012cb7e10007758ff0003c00762d..."} 
[2026-11-04 18:44:46] local.INFO: Packet analysis {"connection_id":229114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b1"} 
[2026-11-04 18:44:46] local.INFO: Extracted packet for processing {"connection_id":229114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b1"} 
[2026-11-04 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":750248192,"raw_latitude":125145072,"longitude_deg":75.0248192,"latitude_deg":12.5145072,"altitude":60,"angle":118,"satellites":45,"speed":0,"hex_longitude":"2cb7e100","hex_latitude":"07758ff0","is_valid_coordinates":true} 
[2026-11-04 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212282880001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5220938573478055936,"note":"Value kept but may cause issues"} 
[2026-11-04 18:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798001000,"timestamp_ms":1793798001000,"timestamp_seconds":1793798001,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b15168"} 
[2026-11-04 18:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212282880001,"66":27767,"3":206,"27":54016,"24":0,"16":20804074257514496,"44":-5220938573478055936},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-11-04 18:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212282880001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:44:46] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 18:44:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:44:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5220938573478055936,"description":"Unknown IO ID 44"} 
[2026-11-04 18:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212282880001,"power":27767,"unknown_3":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5220938573478055936}} 
[2026-11-04 18:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":229114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:44:46] local.INFO: GPS data processed {"connection_id":229114,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:44:46] local.INFO: Acknowledgment sent {"connection_id":229114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:45:06] local.INFO: TCP Data received {"connection_id":230893,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:45:06] local.INFO: Processing buffer {"connection_id":230893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:45:06] local.INFO: IMEI packet received {"connection_id":230893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":230893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:45:11] local.INFO: TCP Data received {"connection_id":230894,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:11] local.INFO: Processing buffer {"connection_id":230894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:11] local.INFO: IMEI packet received {"connection_id":230894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":230894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:45:11] local.INFO: TCP Data received {"connection_id":230893,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:45:11] local.INFO: Processing buffer {"connection_id":230893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:45:11] local.INFO: IMEI packet received {"connection_id":230893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":230893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:45:12] local.INFO: TCP Data received {"connection_id":230894,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:12] local.INFO: Processing buffer {"connection_id":230894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:12] local.INFO: IMEI packet received {"connection_id":230894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":230894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:45:12] local.INFO: TCP Data received {"connection_id":230893,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:45:12] local.INFO: Processing buffer {"connection_id":230893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:45:12] local.INFO: Packet analysis {"connection_id":230893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:45:12] local.INFO: Extracted packet for processing {"connection_id":230893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:12] 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-11-04 18:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:45: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-11-04 18: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-11-04 18:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:45:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":230893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:45:12] local.INFO: GPS data processed {"connection_id":230893,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:45:12] local.INFO: Acknowledgment sent {"connection_id":230893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:45:13] local.INFO: TCP Data received {"connection_id":230894,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:13] local.INFO: Processing buffer {"connection_id":230894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:45:13] local.INFO: IMEI packet received {"connection_id":230894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":230894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:45:14] local.INFO: TCP Data received {"connection_id":230894,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b233f80100000000000000000000000000..."} 
[2026-11-04 18:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b233f80100000000000000000000000000..."} 
[2026-11-04 18:45:14] local.INFO: Processing buffer {"connection_id":230894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b233f80100000000000000000000000000..."} 
[2026-11-04 18:45:14] local.INFO: Packet analysis {"connection_id":230894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:45:14] local.INFO: Extracted packet for processing {"connection_id":230894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:45: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-11-04 18:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212288256001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5196872462971703296,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798059000,"timestamp_ms":1793798059000,"timestamp_seconds":1793798059,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b233f8"} 
[2026-11-04 18:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:45: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-11-04 18:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":230894,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:45:14] local.INFO: GPS data processed {"connection_id":230894,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:45:14] local.INFO: Acknowledgment sent {"connection_id":230894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:45:44] local.INFO: TCP Data received {"connection_id":230893,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:45:44] local.INFO: Processing buffer {"connection_id":230893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:45:44] local.INFO: Packet analysis {"connection_id":230893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:45:44] local.INFO: Extracted packet for processing {"connection_id":230893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:44] 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-11-04 18:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:45: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-11-04 18: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-11-04 18:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:45:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":230893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:45:44] local.INFO: GPS data processed {"connection_id":230893,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:45:44] local.INFO: Acknowledgment sent {"connection_id":230893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:45:46] local.INFO: TCP Data received {"connection_id":230894,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b1bae0012cb883c007753ac0004000662e..."} 
[2026-11-04 18:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b1bae0012cb883c007753ac0004000662e..."} 
[2026-11-04 18:45:46] local.INFO: Processing buffer {"connection_id":230894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b1bae0012cb883c007753ac0004000662e..."} 
[2026-11-04 18:45:46] local.INFO: Packet analysis {"connection_id":230894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b1"} 
[2026-11-04 18:45:46] local.INFO: Extracted packet for processing {"connection_id":230894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b1"} 
[2026-11-04 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":750289856,"raw_latitude":125123264,"longitude_deg":75.0289856,"latitude_deg":12.5123264,"altitude":64,"angle":102,"satellites":46,"speed":59,"hex_longitude":"2cb883c0","hex_latitude":"07753ac0","is_valid_coordinates":true} 
[2026-11-04 18:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:45:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,3,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798028000,"timestamp_ms":1793798028000,"timestamp_seconds":1793798028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b1bae0"} 
[2026-11-04 18:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 18:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"3":206,"27":54016,"24":59,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16]} 
[2026-11-04 18:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:45:46] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 18:45:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:45:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_3":206,"unknown_27":54016,"ignition":59,"odometer":null}} 
[2026-11-04 18:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":230894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:45:46] local.INFO: GPS data processed {"connection_id":230894,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:45:46] local.INFO: Acknowledgment sent {"connection_id":230894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:46:06] local.INFO: TCP Data received {"connection_id":232749,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:46:06] local.INFO: Processing buffer {"connection_id":232749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:46:06] local.INFO: IMEI packet received {"connection_id":232749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":232749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:46:11] local.INFO: TCP Data received {"connection_id":232749,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:46:11] local.INFO: Processing buffer {"connection_id":232749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:46:11] local.INFO: IMEI packet received {"connection_id":232749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":232749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:46:12] local.INFO: TCP Data received {"connection_id":232749,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:46:12] local.INFO: Processing buffer {"connection_id":232749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:46:12] local.INFO: Packet analysis {"connection_id":232749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:46:12] local.INFO: Extracted packet for processing {"connection_id":232749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:12] 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-11-04 18:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:46: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-11-04 18: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-11-04 18:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:46:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":232749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:46:12] local.INFO: GPS data processed {"connection_id":232749,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:46:12] local.INFO: Acknowledgment sent {"connection_id":232749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:46:13] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:46:13] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:46:13] local.INFO: IMEI packet received {"connection_id":229115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":229115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:46:18] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:46:18] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:46:18] local.INFO: IMEI packet received {"connection_id":229115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":229115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:46:19] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b20ce8012cb8de00077525d0004500682d..."} 
[2026-11-04 18:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b20ce8012cb8de00077525d0004500682d..."} 
[2026-11-04 18:46:19] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b20ce8012cb8de00077525d0004500682d..."} 
[2026-11-04 18:46:19] local.INFO: Packet analysis {"connection_id":229115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:46:19] local.INFO: Extracted packet for processing {"connection_id":229115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:46:19] local.INFO: GPS Element Parsed {"raw_longitude":750312960,"raw_latitude":125117904,"longitude_deg":75.031296,"latitude_deg":12.5117904,"altitude":69,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2cb8de00","hex_latitude":"077525d0","is_valid_coordinates":true} 
[2026-11-04 18:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212295168001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5151062410517626880,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793798049000,"timestamp_ms":1793798049000,"timestamp_seconds":1793798049,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b20ce8"} 
[2026-11-04 18:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 18:46:19] 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-11-04 18:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212295168001,"66":27767,"3":206,"27":54016,"24":0,"16":20804074257514496,"44":-5151062410517626880},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,27,24,16,44]} 
[2026-11-04 18:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212295168001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:46:19] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-11-04 18:46:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5151062410517626880,"description":"Unknown IO ID 44"} 
[2026-11-04 18:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212295168001,"power":27767,"unknown_3":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5151062410517626880}} 
[2026-11-04 18:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":229115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:46:19] local.INFO: GPS data processed {"connection_id":229115,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:46:19] local.INFO: Acknowledgment sent {"connection_id":229115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:46:24] local.INFO: TCP Data received {"connection_id":229115,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b2ef780100000000000000000000000000..."} 
[2026-11-04 18:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b2ef780100000000000000000000000000..."} 
[2026-11-04 18:46:24] local.INFO: Processing buffer {"connection_id":229115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b2ef780100000000000000000000000000..."} 
[2026-11-04 18:46:24] local.INFO: Packet analysis {"connection_id":229115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:46:24] local.INFO: Extracted packet for processing {"connection_id":229115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:46:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212300544001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5125659293870862336,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793798107000,"timestamp_ms":1793798107000,"timestamp_seconds":1793798107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b2ef78"} 
[2026-11-04 18:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":229115,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:46:24] local.INFO: GPS data processed {"connection_id":229115,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:46:24] local.INFO: Acknowledgment sent {"connection_id":229115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:46:44] local.INFO: TCP Data received {"connection_id":232749,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:46:44] local.INFO: Processing buffer {"connection_id":232749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:46:44] local.INFO: Packet analysis {"connection_id":232749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:46:44] local.INFO: Extracted packet for processing {"connection_id":232749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:46:44] 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-11-04 18:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:46: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-11-04 18: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-11-04 18:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:46:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":232749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:46:44] local.INFO: GPS data processed {"connection_id":232749,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:46:44] local.INFO: Acknowledgment sent {"connection_id":232749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:47:05] local.INFO: TCP Data received {"connection_id":232750,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:47:06] local.INFO: Processing buffer {"connection_id":232750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:47:06] local.INFO: IMEI packet received {"connection_id":232750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":232750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:47:08] local.INFO: TCP Data received {"connection_id":232751,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:08] local.INFO: Processing buffer {"connection_id":232751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:08] local.INFO: IMEI packet received {"connection_id":232751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":232751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:47:11] local.INFO: TCP Data received {"connection_id":232750,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:47:11] local.INFO: Processing buffer {"connection_id":232750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:47:11] local.INFO: IMEI packet received {"connection_id":232750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":232750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:47:11] local.INFO: TCP Data received {"connection_id":232751,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:11] local.INFO: Processing buffer {"connection_id":232751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:11] local.INFO: IMEI packet received {"connection_id":232751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":232751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:47:12] local.INFO: TCP Data received {"connection_id":232750,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:47:12] local.INFO: Processing buffer {"connection_id":232750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6afbb28012d34c90006aa43f80007003e20..."} 
[2026-11-04 18:47:12] local.INFO: Packet analysis {"connection_id":232750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:47:12] local.INFO: Extracted packet for processing {"connection_id":232750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6af"} 
[2026-11-04 18:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":32,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212184576001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:12] 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-11-04 18:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793797897000,"timestamp_ms":1793797897000,"timestamp_seconds":1793797897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6afbb28"} 
[2026-11-04 18:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 18:47: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-11-04 18:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212184576001,"66":25647,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212184576001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:47:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:47:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212184576001,"power":25647,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":232750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:47:12] local.INFO: GPS data processed {"connection_id":232750,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:47:12] local.INFO: Acknowledgment sent {"connection_id":232750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:47:13] local.INFO: TCP Data received {"connection_id":232751,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:13] local.INFO: Processing buffer {"connection_id":232751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:47:13] local.INFO: IMEI packet received {"connection_id":232751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":232751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:47:14] local.INFO: TCP Data received {"connection_id":232751,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b27660012cb98bc00774f4f0004e005f2f..."} 
[2026-11-04 18:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b27660012cb98bc00774f4f0004e005f2f..."} 
[2026-11-04 18:47:14] local.INFO: Processing buffer {"connection_id":232751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b27660012cb98bc00774f4f0004e005f2f..."} 
[2026-11-04 18:47:14] local.INFO: Packet analysis {"connection_id":232751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:47:14] local.INFO: Extracted packet for processing {"connection_id":232751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:47:14] local.INFO: GPS Element Parsed {"raw_longitude":750357440,"raw_latitude":125105392,"longitude_deg":75.035744,"latitude_deg":12.5105392,"altitude":78,"angle":95,"satellites":47,"speed":58,"hex_longitude":"2cb98bc0","hex_latitude":"0774f4f0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:14] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,27,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-04 18:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798076000,"timestamp_ms":1793798076000,"timestamp_seconds":1793798076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b27660"} 
[2026-11-04 18:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 18:47: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-11-04 18: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-11-04 18:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"27":54016,"24":58,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16]} 
[2026-11-04 18:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:47:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:47:14] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":27745,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-11-04 18:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":232751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:47:14] local.INFO: GPS data processed {"connection_id":232751,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:47:14] local.INFO: Acknowledgment sent {"connection_id":232751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:47:43] local.INFO: TCP Data received {"connection_id":232750,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:47:43] local.INFO: Processing buffer {"connection_id":232750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:47:43] local.INFO: Packet analysis {"connection_id":232750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:47:43] local.INFO: Extracted packet for processing {"connection_id":232750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:43] 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-11-04 18:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:47:43] 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-11-04 18: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-11-04 18:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:47:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":232750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:47:43] local.INFO: GPS data processed {"connection_id":232750,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:47:43] local.INFO: Acknowledgment sent {"connection_id":232750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:47:46] local.INFO: TCP Data received {"connection_id":232751,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b2c868012cb9ea800774ee600048005d2d..."} 
[2026-11-04 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b2c868012cb9ea800774ee600048005d2d..."} 
[2026-11-04 18:47:46] local.INFO: Processing buffer {"connection_id":232751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b2c868012cb9ea800774ee600048005d2d..."} 
[2026-11-04 18:47:46] local.INFO: Packet analysis {"connection_id":232751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:47:46] local.INFO: Extracted packet for processing {"connection_id":232751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b2"} 
[2026-11-04 18:47:46] local.INFO: GPS Element Parsed {"raw_longitude":750381696,"raw_latitude":125103712,"longitude_deg":75.0381696,"latitude_deg":12.5103712,"altitude":72,"angle":93,"satellites":45,"speed":0,"hex_longitude":"2cb9ea80","hex_latitude":"0774ee60","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212307456001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5076753016670588928,"note":"Value kept but may cause issues"} 
[2026-11-04 18:47:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798097000,"timestamp_ms":1793798097000,"timestamp_seconds":1793798097,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b2c868"} 
[2026-11-04 18:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212307456001,"66":27789,"27":54016,"24":0,"16":20804074257514496,"44":-5076753016670588928},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16,44]} 
[2026-11-04 18:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212307456001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:47:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5076753016670588928,"description":"Unknown IO ID 44"} 
[2026-11-04 18:47:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459212307456001,"power":27789,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-5076753016670588928}} 
[2026-11-04 18:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":232751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:47:46] local.INFO: GPS data processed {"connection_id":232751,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:47:46] local.INFO: Acknowledgment sent {"connection_id":232751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:48:11] local.INFO: TCP Data received {"connection_id":232752,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:48:11] local.INFO: Processing buffer {"connection_id":232752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:48:11] local.INFO: IMEI packet received {"connection_id":232752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":232752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:48:13] local.INFO: TCP Data received {"connection_id":230895,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:13] local.INFO: Processing buffer {"connection_id":230895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:13] local.INFO: IMEI packet received {"connection_id":230895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":230895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:48:15] local.INFO: TCP Data received {"connection_id":230895,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:15] local.INFO: Processing buffer {"connection_id":230895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:15] local.INFO: IMEI packet received {"connection_id":230895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":230895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:48:16] local.INFO: TCP Data received {"connection_id":232752,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:48:16] local.INFO: Processing buffer {"connection_id":232752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:48:16] local.INFO: IMEI packet received {"connection_id":232752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":232752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:48:17] local.INFO: TCP Data received {"connection_id":232752,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:48:17] local.INFO: Processing buffer {"connection_id":232752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:48:17] local.INFO: Packet analysis {"connection_id":232752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:48:17] local.INFO: Extracted packet for processing {"connection_id":232752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:48:17] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:17] 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-11-04 18:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:48: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-11-04 18: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-11-04 18:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:48:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:48:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":232752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:48:17] local.INFO: GPS data processed {"connection_id":232752,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:48:17] local.INFO: Acknowledgment sent {"connection_id":232752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:48:18] local.INFO: TCP Data received {"connection_id":230895,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:18] local.INFO: Processing buffer {"connection_id":230895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:48:18] local.INFO: IMEI packet received {"connection_id":230895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":230895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:48:19] local.INFO: TCP Data received {"connection_id":230895,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b3aaf80100000000000000000000000000..."} 
[2026-11-04 18:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b3aaf80100000000000000000000000000..."} 
[2026-11-04 18:48:19] local.INFO: Processing buffer {"connection_id":230895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b3aaf80100000000000000000000000000..."} 
[2026-11-04 18:48:19] local.INFO: Packet analysis {"connection_id":230895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b3"} 
[2026-11-04 18:48:19] local.INFO: Extracted packet for processing {"connection_id":230895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b3"} 
[2026-11-04 18: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-11-04 18: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-11-04 18:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212312832001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5050083262627684352,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,27,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793798155000,"timestamp_ms":1793798155000,"timestamp_seconds":1793798155,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b3aaf8"} 
[2026-11-04 18:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 18:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":230895,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:48:19] local.INFO: GPS data processed {"connection_id":230895,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:48:19] local.INFO: Acknowledgment sent {"connection_id":230895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:48:22] local.INFO: TCP Data received {"connection_id":232752,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:48:22] local.INFO: Processing buffer {"connection_id":232752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:48:22] local.INFO: Packet analysis {"connection_id":232752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:48:22] local.INFO: Extracted packet for processing {"connection_id":232752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:48:22] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:22] 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-11-04 18:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:48: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-11-04 18:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:48:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:48:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":232752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:48:22] local.INFO: GPS data processed {"connection_id":232752,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:48:22] local.INFO: Acknowledgment sent {"connection_id":232752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:48:50] local.INFO: TCP Data received {"connection_id":230895,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b331e0012cbaa3800774e160004c005d2f..."} 
[2026-11-04 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b331e0012cbaa3800774e160004c005d2f..."} 
[2026-11-04 18:48:50] local.INFO: Processing buffer {"connection_id":230895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b331e0012cbaa3800774e160004c005d2f..."} 
[2026-11-04 18:48:50] local.INFO: Packet analysis {"connection_id":230895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b3"} 
[2026-11-04 18:48:50] local.INFO: Extracted packet for processing {"connection_id":230895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b3"} 
[2026-11-04 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":750429056,"raw_latitude":125100384,"longitude_deg":75.0429056,"latitude_deg":12.5100384,"altitude":76,"angle":93,"satellites":47,"speed":58,"hex_longitude":"2cbaa380","hex_latitude":"0774e160","is_valid_coordinates":true} 
[2026-11-04 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:48:50] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,27,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-11-04 18:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793798124000,"timestamp_ms":1793798124000,"timestamp_seconds":1793798124,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b331e0"} 
[2026-11-04 18:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 18:48: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-11-04 18:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"27":54016,"24":58,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,24,16]} 
[2026-11-04 18:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:48:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:48:50] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":27767,"unknown_27":54016,"ignition":58,"odometer":null}} 
[2026-11-04 18:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":230895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:48:51] local.INFO: GPS data processed {"connection_id":230895,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:48:51] local.INFO: Acknowledgment sent {"connection_id":230895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:49:06] local.INFO: TCP Data received {"connection_id":232753,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:49:06] local.INFO: Processing buffer {"connection_id":232753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:49:06] local.INFO: IMEI packet received {"connection_id":232753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":232753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:49:08] local.INFO: TCP Data received {"connection_id":232754,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:49:08] local.INFO: Processing buffer {"connection_id":232754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:49:08] local.INFO: IMEI packet received {"connection_id":232754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":232754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:49:11] local.INFO: TCP Data received {"connection_id":232753,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:49:11] local.INFO: Processing buffer {"connection_id":232753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:49:11] local.INFO: IMEI packet received {"connection_id":232753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":232753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:49:12] local.INFO: TCP Data received {"connection_id":232753,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:49:12] local.INFO: Processing buffer {"connection_id":232753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:49:12] local.INFO: Packet analysis {"connection_id":232753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:49:12] local.INFO: Extracted packet for processing {"connection_id":232753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:12] 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-11-04 18:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:49: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-11-04 18: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-11-04 18:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:49:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":232753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:49:12] local.INFO: GPS data processed {"connection_id":232753,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:49:12] local.INFO: Acknowledgment sent {"connection_id":232753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:49:13] local.INFO: TCP Data received {"connection_id":232754,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:49:13] local.INFO: Processing buffer {"connection_id":232754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:49:13] local.INFO: IMEI packet received {"connection_id":232754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":232754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:49:14] local.INFO: TCP Data received {"connection_id":232754,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b383e8012cbb00800774db800050005a2f..."} 
[2026-11-04 18:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b383e8012cbb00800774db800050005a2f..."} 
[2026-11-04 18:49:14] local.INFO: Processing buffer {"connection_id":232754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b383e8012cbb00800774db800050005a2f..."} 
[2026-11-04 18:49:14] local.INFO: Packet analysis {"connection_id":232754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b3"} 
[2026-11-04 18:49:14] local.INFO: Extracted packet for processing {"connection_id":232754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b3"} 
[2026-11-04 18:49:14] local.INFO: GPS Element Parsed {"raw_longitude":750452864,"raw_latitude":125098880,"longitude_deg":75.0452864,"latitude_deg":12.509888,"altitude":80,"angle":90,"satellites":47,"speed":0,"hex_longitude":"2cbb0080","hex_latitude":"0774db80","is_valid_coordinates":true} 
[2026-11-04 18:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212319744001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4998010391937064960,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798145000,"timestamp_ms":1793798145000,"timestamp_seconds":1793798145,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b383e8"} 
[2026-11-04 18:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:49: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-11-04 18:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212319744001,"66":27767,"56":206,"27":54016,"24":0,"16":20804074257514496,"44":-4998010391937064960},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,27,24,16,44]} 
[2026-11-04 18:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212319744001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:49:14] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-11-04 18:49:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:49:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4998010391937064960,"description":"Unknown IO ID 44"} 
[2026-11-04 18:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212319744001,"power":27767,"unknown_56":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4998010391937064960}} 
[2026-11-04 18:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":232754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:49:14] local.INFO: GPS data processed {"connection_id":232754,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:49:14] local.INFO: Acknowledgment sent {"connection_id":232754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:49:44] local.INFO: TCP Data received {"connection_id":232753,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:49:44] local.INFO: Processing buffer {"connection_id":232753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:49:44] local.INFO: Packet analysis {"connection_id":232753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:49:44] local.INFO: Extracted packet for processing {"connection_id":232753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:44] 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-11-04 18:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:49: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-11-04 18: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-11-04 18:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:49:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":232753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:49:44] local.INFO: GPS data processed {"connection_id":232753,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:49:44] local.INFO: Acknowledgment sent {"connection_id":232753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:49:46] local.INFO: TCP Data received {"connection_id":232754,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b466780100000000000000000000000000..."} 
[2026-11-04 18:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b466780100000000000000000000000000..."} 
[2026-11-04 18:49:46] local.INFO: Processing buffer {"connection_id":232754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b466780100000000000000000000000000..."} 
[2026-11-04 18:49:46] local.INFO: Packet analysis {"connection_id":232754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:49:46] local.INFO: Extracted packet for processing {"connection_id":232754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:49: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-11-04 18:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212325120001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4971833219103358976,"note":"Value kept but may cause issues"} 
[2026-11-04 18:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798203000,"timestamp_ms":1793798203000,"timestamp_seconds":1793798203,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b46678"} 
[2026-11-04 18:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":232754,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:49:46] local.INFO: GPS data processed {"connection_id":232754,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:49:46] local.INFO: Acknowledgment sent {"connection_id":232754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:50:05] local.INFO: TCP Data received {"connection_id":230896,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:50:05] local.INFO: Processing buffer {"connection_id":230896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:50:05] local.INFO: IMEI packet received {"connection_id":230896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":230896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:50:08] local.INFO: TCP Data received {"connection_id":229116,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:50:08] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:50:08] local.INFO: IMEI packet received {"connection_id":229116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":229116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:50:11] local.INFO: TCP Data received {"connection_id":230896,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:50:11] local.INFO: Processing buffer {"connection_id":230896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:50:11] local.INFO: IMEI packet received {"connection_id":230896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":230896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:50:12] local.INFO: TCP Data received {"connection_id":230896,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:50:12] local.INFO: Processing buffer {"connection_id":230896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:50:12] local.INFO: Packet analysis {"connection_id":230896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:50:12] local.INFO: Extracted packet for processing {"connection_id":230896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:12] 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-11-04 18:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:50: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-11-04 18: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-11-04 18:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:50:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":230896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:50:12] local.INFO: GPS data processed {"connection_id":230896,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:50:12] local.INFO: Acknowledgment sent {"connection_id":230896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:50:13] local.INFO: TCP Data received {"connection_id":229116,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:50:13] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:50:13] local.INFO: IMEI packet received {"connection_id":229116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":229116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:50:15] local.INFO: TCP Data received {"connection_id":229116,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b729800100000000000000000000000000..."} 
[2026-11-04 18:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b729800100000000000000000000000000..."} 
[2026-11-04 18:50:15] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b729800100000000000000000000000000..."} 
[2026-11-04 18:50:15] local.INFO: Packet analysis {"connection_id":229116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:50:15] local.INFO: Extracted packet for processing {"connection_id":229116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:50: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-11-04 18:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212371456001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4898720093930018816,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793798384000,"timestamp_ms":1793798384000,"timestamp_seconds":1793798384,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b72980"} 
[2026-11-04 18:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 18:50:15] 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-11-04 18:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":229116,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:50:15] local.INFO: GPS data processed {"connection_id":229116,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:50:15] local.INFO: Acknowledgment sent {"connection_id":229116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:50:44] local.INFO: TCP Data received {"connection_id":230896,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:50:44] local.INFO: Processing buffer {"connection_id":230896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:50:44] local.INFO: Packet analysis {"connection_id":230896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:50:44] local.INFO: Extracted packet for processing {"connection_id":230896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:44] 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-11-04 18:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:50: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-11-04 18: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-11-04 18:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:50:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:50:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":230896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:50:44] local.INFO: GPS data processed {"connection_id":230896,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:50:44] local.INFO: Acknowledgment sent {"connection_id":230896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:50:47] local.INFO: TCP Data received {"connection_id":229116,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b69ce0012cbbd7c007730e30001a00a52f..."} 
[2026-11-04 18:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b69ce0012cbbd7c007730e30001a00a52f..."} 
[2026-11-04 18:50:47] local.INFO: Processing buffer {"connection_id":229116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b69ce0012cbbd7c007730e30001a00a52f..."} 
[2026-11-04 18:50:47] local.INFO: Packet analysis {"connection_id":229116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b6"} 
[2026-11-04 18:50:47] local.INFO: Extracted packet for processing {"connection_id":229116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b6"} 
[2026-11-04 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":750507968,"raw_latitude":124980784,"longitude_deg":75.0507968,"latitude_deg":12.4980784,"altitude":26,"angle":165,"satellites":47,"speed":41,"hex_longitude":"2cbbd7c0","hex_latitude":"07730e30","is_valid_coordinates":true} 
[2026-11-04 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:50:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793798348000,"timestamp_ms":1793798348000,"timestamp_seconds":1793798348,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b69ce0"} 
[2026-11-04 18:50:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:50:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:50:47] 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-11-04 18:50:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:50:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:50:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":26984,"104":206,"27":54016,"24":41,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16]} 
[2026-11-04 18:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:50:47] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:50:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:50:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:50:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":26984,"unknown_104":206,"unknown_27":54016,"ignition":41,"odometer":null}} 
[2026-11-04 18:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":229116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:50:47] local.INFO: GPS data processed {"connection_id":229116,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:50:47] local.INFO: Acknowledgment sent {"connection_id":229116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:51:05] local.INFO: TCP Data received {"connection_id":230897,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:51:05] local.INFO: Processing buffer {"connection_id":230897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:51:05] local.INFO: IMEI packet received {"connection_id":230897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":230897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:51:11] local.INFO: TCP Data received {"connection_id":230897,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:51:11] local.INFO: Processing buffer {"connection_id":230897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:51:11] local.INFO: IMEI packet received {"connection_id":230897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":230897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:51:12] local.INFO: TCP Data received {"connection_id":230897,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:51:12] local.INFO: Processing buffer {"connection_id":230897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:51:12] local.INFO: Packet analysis {"connection_id":230897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:51:12] local.INFO: Extracted packet for processing {"connection_id":230897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:12] 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-11-04 18:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:51: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-11-04 18: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-11-04 18:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:51:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":230897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:51:12] local.INFO: GPS data processed {"connection_id":230897,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:51:12] local.INFO: Acknowledgment sent {"connection_id":230897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:51:13] local.INFO: TCP Data received {"connection_id":229588,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:51:13] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:51:13] local.INFO: IMEI packet received {"connection_id":229588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":229588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:51:18] local.INFO: TCP Data received {"connection_id":229588,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:51:18] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:51:18] local.INFO: IMEI packet received {"connection_id":229588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":229588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:51:19] local.INFO: TCP Data received {"connection_id":229588,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b6eb00012cbc2f0007730950001200642e..."} 
[2026-11-04 18:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b6eb00012cbc2f0007730950001200642e..."} 
[2026-11-04 18:51:19] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b6eb00012cbc2f0007730950001200642e..."} 
[2026-11-04 18:51:19] local.INFO: Packet analysis {"connection_id":229588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b6"} 
[2026-11-04 18:51:19] local.INFO: Extracted packet for processing {"connection_id":229588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b6"} 
[2026-11-04 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":750530304,"raw_latitude":124979536,"longitude_deg":75.0530304,"latitude_deg":12.4979536,"altitude":18,"angle":100,"satellites":46,"speed":57,"hex_longitude":"2cbc2f00","hex_latitude":"07730950","is_valid_coordinates":true} 
[2026-11-04 18:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212377088001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4911245730396622848,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793798368000,"timestamp_ms":1793798368000,"timestamp_seconds":1793798368,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b6eb00"} 
[2026-11-04 18:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 18:51:19] 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-11-04 18:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212377088001,"66":27876,"104":206,"27":54016,"24":57,"16":20804074257514496,"44":-4911245730396622848},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-11-04 18:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212377088001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:51:19] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:51:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:51:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4911245730396622848,"description":"Unknown IO ID 44"} 
[2026-11-04 18:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212377088001,"power":27876,"unknown_104":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4911245730396622848}} 
[2026-11-04 18:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":229588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:51:20] local.INFO: GPS data processed {"connection_id":229588,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:51:20] local.INFO: Acknowledgment sent {"connection_id":229588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:51:23] local.INFO: TCP Data received {"connection_id":229588,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b73d08012cbc8c400772f980000b00682e..."} 
[2026-11-04 18:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b73d08012cbc8c400772f980000b00682e..."} 
[2026-11-04 18:51:23] local.INFO: Processing buffer {"connection_id":229588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b73d08012cbc8c400772f980000b00682e..."} 
[2026-11-04 18:51:23] local.INFO: Packet analysis {"connection_id":229588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:51:23] local.INFO: Extracted packet for processing {"connection_id":229588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:51:23] local.INFO: GPS Element Parsed {"raw_longitude":750554176,"raw_latitude":124975488,"longitude_deg":75.0554176,"latitude_deg":12.4975488,"altitude":11,"angle":104,"satellites":46,"speed":0,"hex_longitude":"2cbc8c40","hex_latitude":"0772f980","is_valid_coordinates":true} 
[2026-11-04 18:51: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-11-04 18:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212382208001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4886687038678937600,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793798389000,"timestamp_ms":1793798389000,"timestamp_seconds":1793798389,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b73d08"} 
[2026-11-04 18:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:51: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":228,"data_length":795,"current_offset":136} 
[2026-11-04 18:51:23] 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-11-04 18:51: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-11-04 18:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212382208001,"66":27745,"104":206,"27":54016,"24":0,"16":20804074257514496,"44":-4886687038678937600},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-11-04 18:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212382208001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:51:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4886687038678937600,"description":"Unknown IO ID 44"} 
[2026-11-04 18:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212382208001,"power":27745,"unknown_104":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4886687038678937600}} 
[2026-11-04 18:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":229588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:51:23] local.INFO: GPS data processed {"connection_id":229588,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:51:23] local.INFO: Acknowledgment sent {"connection_id":229588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:51:44] local.INFO: TCP Data received {"connection_id":230897,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:51:44] local.INFO: Processing buffer {"connection_id":230897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:51:44] local.INFO: Packet analysis {"connection_id":230897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:51:44] local.INFO: Extracted packet for processing {"connection_id":230897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:51:44] 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-11-04 18:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:51: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-11-04 18:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:51:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":230897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:51:44] local.INFO: GPS data processed {"connection_id":230897,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:51:44] local.INFO: Acknowledgment sent {"connection_id":230897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:52:08] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:52:08] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:52:08] local.INFO: IMEI packet received {"connection_id":229117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":229117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:52:11] local.INFO: TCP Data received {"connection_id":229118,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:52:11] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:52:11] local.INFO: IMEI packet received {"connection_id":229118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":229118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:52:13] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:52:13] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:52:13] local.INFO: IMEI packet received {"connection_id":229117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":229117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:52:14] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b773b8012cbcb0000772c5b0000b009b31..."} 
[2026-11-04 18:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b773b8012cbcb0000772c5b0000b009b31..."} 
[2026-11-04 18:52:14] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b773b8012cbcb0000772c5b0000b009b31..."} 
[2026-11-04 18:52:14] local.INFO: Packet analysis {"connection_id":229117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:52:14] local.INFO: Extracted packet for processing {"connection_id":229117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:52:14] local.INFO: GPS Element Parsed {"raw_longitude":750563328,"raw_latitude":124962224,"longitude_deg":75.0563328,"latitude_deg":12.4962224,"altitude":11,"angle":155,"satellites":49,"speed":32,"hex_longitude":"2cbcb000","hex_latitude":"0772c5b0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212387584001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4860439497101705216,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798403000,"timestamp_ms":1793798403000,"timestamp_seconds":1793798403,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b773b8"} 
[2026-11-04 18:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:52:14] 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-11-04 18: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-11-04 18:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212387584001,"66":27887,"104":206,"27":54016,"24":32,"16":20804074257514496,"44":-4860439497101705216},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,27,24,16,44]} 
[2026-11-04 18:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212387584001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:52:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 18:52:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:52:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4860439497101705216,"description":"Unknown IO ID 44"} 
[2026-11-04 18:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212387584001,"power":27887,"unknown_104":206,"unknown_27":54016,"ignition":32,"odometer":null,"unknown_44":-4860439497101705216}} 
[2026-11-04 18:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":229117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:52:14] local.INFO: GPS data processed {"connection_id":229117,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:52:14] local.INFO: Acknowledgment sent {"connection_id":229117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:52:16] local.INFO: TCP Data received {"connection_id":229118,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:52:16] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:52:16] local.INFO: IMEI packet received {"connection_id":229118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":229118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:52:17] local.INFO: TCP Data received {"connection_id":229118,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:52:17] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b452f0012d34c90006aa43f80007003e25..."} 
[2026-11-04 18:52:17] local.INFO: Packet analysis {"connection_id":229118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:52:17] local.INFO: Extracted packet for processing {"connection_id":229118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b4"} 
[2026-11-04 18:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":37,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212261632001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:17] 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-11-04 18:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793798198000,"timestamp_ms":1793798198000,"timestamp_seconds":1793798198,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b452f0"} 
[2026-11-04 18:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-11-04 18:52: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-11-04 18:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212261632001,"66":25549,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212261632001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:52:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212261632001,"power":25549,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":229118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:52:17] local.INFO: GPS data processed {"connection_id":229118,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:52:17] local.INFO: Acknowledgment sent {"connection_id":229118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:52:18] local.INFO: TCP Data received {"connection_id":229118,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:52:18] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:52:18] local.INFO: Packet analysis {"connection_id":229118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:52:18] local.INFO: Extracted packet for processing {"connection_id":229118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":40,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212338688001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:18] 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-11-04 18:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793798499000,"timestamp_ms":1793798499000,"timestamp_seconds":1793798499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b8eab8"} 
[2026-11-04 18:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:52: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-11-04 18:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212338688001,"66":25495,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212338688001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:52:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212338688001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":229118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:52:18] local.INFO: GPS data processed {"connection_id":229118,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:52:18] local.INFO: Acknowledgment sent {"connection_id":229118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:52:46] local.INFO: TCP Data received {"connection_id":229117,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b7c1d8012cbcb880077279f8000d00bb30..."} 
[2026-11-04 18:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b7c1d8012cbcb880077279f8000d00bb30..."} 
[2026-11-04 18:52:46] local.INFO: Processing buffer {"connection_id":229117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b7c1d8012cbcb880077279f8000d00bb30..."} 
[2026-11-04 18:52:46] local.INFO: Packet analysis {"connection_id":229117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:52:46] local.INFO: Extracted packet for processing {"connection_id":229117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b7"} 
[2026-11-04 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":750565504,"raw_latitude":124942840,"longitude_deg":75.0565504,"latitude_deg":12.494284,"altitude":13,"angle":187,"satellites":48,"speed":48,"hex_longitude":"2cbcb880","hex_latitude":"077279f8","is_valid_coordinates":true} 
[2026-11-04 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212391168001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4850376766687694848,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798423000,"timestamp_ms":1793798423000,"timestamp_seconds":1793798423,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b7c1d8"} 
[2026-11-04 18:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 18:52: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-11-04 18:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212391168001,"66":27604,"105":206,"27":54016,"24":48,"16":20804074257514496,"44":-4850376766687694848},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-11-04 18:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212391168001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:52:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:52:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:52:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4850376766687694848,"description":"Unknown IO ID 44"} 
[2026-11-04 18:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212391168001,"power":27604,"unknown_105":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4850376766687694848}} 
[2026-11-04 18:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":229117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:52:47] local.INFO: GPS data processed {"connection_id":229117,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:52:47] local.INFO: Acknowledgment sent {"connection_id":229117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:52:50] local.INFO: TCP Data received {"connection_id":229118,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:52:50] local.INFO: Processing buffer {"connection_id":229118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:52:50] local.INFO: Packet analysis {"connection_id":229118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:52:50] local.INFO: Extracted packet for processing {"connection_id":229118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":40,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212338688001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:52:50] 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-11-04 18:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793798499000,"timestamp_ms":1793798499000,"timestamp_seconds":1793798499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b8eab8"} 
[2026-11-04 18:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:52: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-11-04 18:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212338688001,"66":25495,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212338688001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:52:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212338688001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":229118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:52:50] local.INFO: GPS data processed {"connection_id":229118,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:52:50] local.INFO: Acknowledgment sent {"connection_id":229118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:53:06] local.INFO: TCP Data received {"connection_id":230898,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:06] local.INFO: Processing buffer {"connection_id":230898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:06] local.INFO: IMEI packet received {"connection_id":230898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":230898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:53:07] local.INFO: TCP Data received {"connection_id":232755,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:53:07] local.INFO: Processing buffer {"connection_id":232755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:53:07] local.INFO: IMEI packet received {"connection_id":232755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":232755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:53:08] local.INFO: TCP Data received {"connection_id":230898,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:08] local.INFO: Processing buffer {"connection_id":230898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:08] local.INFO: IMEI packet received {"connection_id":230898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":230898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:53:11] local.INFO: TCP Data received {"connection_id":232755,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:53:11] local.INFO: Processing buffer {"connection_id":232755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:53:11] local.INFO: IMEI packet received {"connection_id":232755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":232755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:53:12] local.INFO: TCP Data received {"connection_id":232755,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:53:12] local.INFO: Processing buffer {"connection_id":232755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:53:12] local.INFO: Packet analysis {"connection_id":232755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:12] local.INFO: Extracted packet for processing {"connection_id":232755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":40,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212338688001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:12] 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-11-04 18:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798499000,"timestamp_ms":1793798499000,"timestamp_seconds":1793798499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b8eab8"} 
[2026-11-04 18:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:53: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-11-04 18: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-11-04 18:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212338688001,"66":25495,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212338688001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:53:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212338688001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":232755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:53:12] local.INFO: GPS data processed {"connection_id":232755,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:53:12] local.INFO: Acknowledgment sent {"connection_id":232755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:53:13] local.INFO: TCP Data received {"connection_id":230898,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:13] local.INFO: Processing buffer {"connection_id":230898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:53:13] local.INFO: IMEI packet received {"connection_id":230898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":230898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:53:15] local.INFO: TCP Data received {"connection_id":230898,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b813e0012cbcafc0077236f0000d00b331..."} 
[2026-11-04 18:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b813e0012cbcafc0077236f0000d00b331..."} 
[2026-11-04 18:53:15] local.INFO: Processing buffer {"connection_id":230898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b813e0012cbcafc0077236f0000d00b331..."} 
[2026-11-04 18:53:15] local.INFO: Packet analysis {"connection_id":230898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:15] local.INFO: Extracted packet for processing {"connection_id":230898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":750563264,"raw_latitude":124925680,"longitude_deg":75.0563264,"latitude_deg":12.492568,"altitude":13,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2cbcafc0","hex_latitude":"077236f0","is_valid_coordinates":true} 
[2026-11-04 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212396288001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4847984229390616576,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793798444000,"timestamp_ms":1793798444000,"timestamp_seconds":1793798444,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b813e0"} 
[2026-11-04 18:53:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:53:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 18:53:15] 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-11-04 18:53:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:53:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212396288001,"66":27767,"105":206,"27":54016,"24":0,"16":20804074257514496,"44":-4847984229390616576},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-11-04 18:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212396288001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:53:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:53:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:53:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4847984229390616576,"description":"Unknown IO ID 44"} 
[2026-11-04 18:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212396288001,"power":27767,"unknown_105":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4847984229390616576}} 
[2026-11-04 18:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":230898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:53:15] local.INFO: GPS data processed {"connection_id":230898,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:53:15] local.INFO: Acknowledgment sent {"connection_id":230898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:53:44] local.INFO: TCP Data received {"connection_id":232755,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:53:44] local.INFO: Processing buffer {"connection_id":232755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b8eab8012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:53:44] local.INFO: Packet analysis {"connection_id":232755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:44] local.INFO: Extracted packet for processing {"connection_id":232755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":40,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212338688001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:44] 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-11-04 18:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798499000,"timestamp_ms":1793798499000,"timestamp_seconds":1793798499,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b8eab8"} 
[2026-11-04 18:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 18:53: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-11-04 18: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-11-04 18:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212338688001,"66":25495,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212338688001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:53:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:53:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212338688001,"power":25495,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":232755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:53:44] local.INFO: GPS data processed {"connection_id":232755,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:53:44] local.INFO: Acknowledgment sent {"connection_id":232755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:53:47] local.INFO: TCP Data received {"connection_id":230898,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b86200012cbc99c00771f550000e00e82c..."} 
[2026-11-04 18:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b86200012cbc99c00771f550000e00e82c..."} 
[2026-11-04 18:53:47] local.INFO: Processing buffer {"connection_id":230898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b86200012cbc99c00771f550000e00e82c..."} 
[2026-11-04 18:53:47] local.INFO: Packet analysis {"connection_id":230898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:47] local.INFO: Extracted packet for processing {"connection_id":230898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:53:47] local.INFO: GPS Element Parsed {"raw_longitude":750557632,"raw_latitude":124908880,"longitude_deg":75.0557632,"latitude_deg":12.490888,"altitude":14,"angle":232,"satellites":44,"speed":46,"hex_longitude":"2cbc99c0","hex_latitude":"0771f550","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212401664001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4850447135441227776,"note":"Value kept but may cause issues"} 
[2026-11-04 18:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793798464000,"timestamp_ms":1793798464000,"timestamp_seconds":1793798464,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b86200"} 
[2026-11-04 18:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212401664001,"66":27908,"105":206,"27":54016,"24":46,"16":20804074257514496,"44":-4850447135441227776},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-11-04 18:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212401664001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:53:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:53:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:53:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4850447135441227776,"description":"Unknown IO ID 44"} 
[2026-11-04 18:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212401664001,"power":27908,"unknown_105":206,"unknown_27":54016,"ignition":46,"odometer":null,"unknown_44":-4850447135441227776}} 
[2026-11-04 18:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":230898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:53:47] local.INFO: GPS data processed {"connection_id":230898,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:53:47] local.INFO: Acknowledgment sent {"connection_id":230898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:54:05] local.INFO: TCP Data received {"connection_id":230899,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:54:05] local.INFO: Processing buffer {"connection_id":230899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:54:05] local.INFO: IMEI packet received {"connection_id":230899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":230899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:54:08] local.INFO: TCP Data received {"connection_id":229119,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:08] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:08] local.INFO: IMEI packet received {"connection_id":229119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":229119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:54:11] local.INFO: TCP Data received {"connection_id":229119,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:11] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:11] local.INFO: IMEI packet received {"connection_id":229119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":229119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:54:11] local.INFO: TCP Data received {"connection_id":230899,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:54:11] local.INFO: Processing buffer {"connection_id":230899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:54:11] local.INFO: IMEI packet received {"connection_id":230899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":230899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:54:12] local.INFO: TCP Data received {"connection_id":230899,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ba7158012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ba7158012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:54:12] local.INFO: Processing buffer {"connection_id":230899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ba7158012d34c90006aa43f80007003e28..."} 
[2026-11-04 18:54:12] local.INFO: Packet analysis {"connection_id":230899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ba"} 
[2026-11-04 18:54:12] local.INFO: Extracted packet for processing {"connection_id":230899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ba"} 
[2026-11-04 18:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111821816,"longitude_deg":75.8434048,"latitude_deg":11.1821816,"altitude":7,"angle":62,"satellites":40,"speed":0,"hex_longitude":"2d34c900","hex_latitude":"06aa43f8","is_valid_coordinates":true} 
[2026-11-04 18:54: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-11-04 18:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212415744001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:12] 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-11-04 18:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798599000,"timestamp_ms":1793798599000,"timestamp_seconds":1793798599,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ba7158"} 
[2026-11-04 18:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 18: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":151,"data_length":795,"current_offset":136} 
[2026-11-04 18:54: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-11-04 18: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-11-04 18:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212415744001,"66":25430,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212415744001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:54:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212415744001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":230899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:54:12] local.INFO: GPS data processed {"connection_id":230899,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:54:12] local.INFO: Acknowledgment sent {"connection_id":230899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:54:13] local.INFO: TCP Data received {"connection_id":229119,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:13] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:54:13] local.INFO: IMEI packet received {"connection_id":229119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":229119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:54:14] local.INFO: TCP Data received {"connection_id":229119,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b8a468012cbc7cc00771b698001200862d..."} 
[2026-11-04 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b8a468012cbc7cc00771b698001200862d..."} 
[2026-11-04 18:54:14] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b8a468012cbc7cc00771b698001200862d..."} 
[2026-11-04 18:54:14] local.INFO: Packet analysis {"connection_id":229119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:54:14] local.INFO: Extracted packet for processing {"connection_id":229119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":750550208,"raw_latitude":124892824,"longitude_deg":75.0550208,"latitude_deg":12.4892824,"altitude":18,"angle":134,"satellites":45,"speed":45,"hex_longitude":"2cbc7cc0","hex_latitude":"0771b698","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212406784001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4856639584933163008,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798481000,"timestamp_ms":1793798481000,"timestamp_seconds":1793798481,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b8a468"} 
[2026-11-04 18:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 18:54: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-11-04 18: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-11-04 18:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212406784001,"66":27821,"105":206,"27":54016,"24":45,"16":20804074257514496,"44":-4856639584933163008},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-11-04 18:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212406784001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:54:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:54:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:54:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4856639584933163008,"description":"Unknown IO ID 44"} 
[2026-11-04 18:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212406784001,"power":27821,"unknown_105":206,"unknown_27":54016,"ignition":45,"odometer":null,"unknown_44":-4856639584933163008}} 
[2026-11-04 18:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":229119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:54:14] local.INFO: GPS data processed {"connection_id":229119,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:54:14] local.INFO: Acknowledgment sent {"connection_id":229119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:54:17] local.INFO: TCP Data received {"connection_id":229119,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b8eea0012cbcb5c00771b660001f005f2f..."} 
[2026-11-04 18:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b8eea0012cbcb5c00771b660001f005f2f..."} 
[2026-11-04 18:54:17] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b8eea0012cbcb5c00771b660001f005f2f..."} 
[2026-11-04 18:54:17] local.INFO: Packet analysis {"connection_id":229119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:54:17] local.INFO: Extracted packet for processing {"connection_id":229119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b8"} 
[2026-11-04 18:54:17] local.INFO: GPS Element Parsed {"raw_longitude":750564800,"raw_latitude":124892768,"longitude_deg":75.05648,"latitude_deg":12.4892768,"altitude":31,"angle":95,"satellites":47,"speed":23,"hex_longitude":"2cbcb5c0","hex_latitude":"0771b660","is_valid_coordinates":true} 
[2026-11-04 18:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212411136001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4864802359261882368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793798500000,"timestamp_ms":1793798500000,"timestamp_seconds":1793798500,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b8eea0"} 
[2026-11-04 18:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 18:54: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-11-04 18:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212411136001,"66":27876,"105":206,"27":54016,"24":23,"16":20804074257514496,"44":-4864802359261882368},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,27,24,16,44]} 
[2026-11-04 18:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212411136001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:54:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:54:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:54:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4864802359261882368,"description":"Unknown IO ID 44"} 
[2026-11-04 18:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212411136001,"power":27876,"unknown_105":206,"unknown_27":54016,"ignition":23,"odometer":null,"unknown_44":-4864802359261882368}} 
[2026-11-04 18:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":229119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:54:17] local.INFO: GPS data processed {"connection_id":229119,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:54:17] local.INFO: Acknowledgment sent {"connection_id":229119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:54:44] local.INFO: TCP Data received {"connection_id":230899,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bad300012d34c88006aa44080007003d27..."} 
[2026-11-04 18:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bad300012d34c88006aa44080007003d27..."} 
[2026-11-04 18:54:44] local.INFO: Processing buffer {"connection_id":230899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bad300012d34c88006aa44080007003d27..."} 
[2026-11-04 18:54:44] local.INFO: Packet analysis {"connection_id":230899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ba"} 
[2026-11-04 18:54:44] local.INFO: Extracted packet for processing {"connection_id":230899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ba"} 
[2026-11-04 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111821832,"longitude_deg":75.843392,"latitude_deg":11.1821832,"altitude":7,"angle":61,"satellites":39,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa4408","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212441344001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388917479424,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:44] 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-11-04 18:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798624000,"timestamp_ms":1793798624000,"timestamp_seconds":1793798624,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bad300"} 
[2026-11-04 18:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 18:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212441344001,"66":27984,"105":206,"28":21760,"24":0,"16":39296451087433728,"45":3803571388917479424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 18:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212441344001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:54:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 18:54:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388917479424,"description":"Unknown IO ID 45"} 
[2026-11-04 18:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212441344001,"power":27984,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803571388917479424}} 
[2026-11-04 18:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":230899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:54:44] local.INFO: GPS data processed {"connection_id":230899,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:54:44] local.INFO: Acknowledgment sent {"connection_id":230899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:54:49] local.INFO: TCP Data received {"connection_id":229119,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6b9d1300100000000000000000000000000..."} 
[2026-11-04 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6b9d1300100000000000000000000000000..."} 
[2026-11-04 18:54:49] local.INFO: Processing buffer {"connection_id":229119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6b9d1300100000000000000000000000000..."} 
[2026-11-04 18:54:49] local.INFO: Packet analysis {"connection_id":229119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6b9"} 
[2026-11-04 18:54:49] local.INFO: Extracted packet for processing {"connection_id":229119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6b9"} 
[2026-11-04 18:54: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-11-04 18: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-11-04 18:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212416000001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4848758285589389312,"note":"Value kept but may cause issues"} 
[2026-11-04 18:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793798558000,"timestamp_ms":1793798558000,"timestamp_seconds":1793798558,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6b9d130"} 
[2026-11-04 18:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 18:54: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-11-04 18:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":229119,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:54:49] local.INFO: GPS data processed {"connection_id":229119,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:54:49] local.INFO: Acknowledgment sent {"connection_id":229119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:55:08] local.INFO: TCP Data received {"connection_id":232756,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:55:08] local.INFO: Processing buffer {"connection_id":232756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:55:08] local.INFO: IMEI packet received {"connection_id":232756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":232756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:55:10] local.INFO: TCP Data received {"connection_id":230900,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:55:10] local.INFO: Processing buffer {"connection_id":230900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:55:10] local.INFO: IMEI packet received {"connection_id":230900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":230900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:55:13] local.INFO: TCP Data received {"connection_id":232756,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:55:13] local.INFO: Processing buffer {"connection_id":232756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:55:13] local.INFO: IMEI packet received {"connection_id":232756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":232756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:55:15] local.INFO: TCP Data received {"connection_id":232756,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb1568012cbccd400770cff8005400aa30..."} 
[2026-11-04 18:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb1568012cbccd400770cff8005400aa30..."} 
[2026-11-04 18:55:15] local.INFO: Processing buffer {"connection_id":232756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb1568012cbccd400770cff8005400aa30..."} 
[2026-11-04 18:55:15] local.INFO: Packet analysis {"connection_id":232756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55:15] local.INFO: Extracted packet for processing {"connection_id":232756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55:15] local.INFO: GPS Element Parsed {"raw_longitude":750570816,"raw_latitude":124833784,"longitude_deg":75.0570816,"latitude_deg":12.4833784,"altitude":84,"angle":170,"satellites":48,"speed":27,"hex_longitude":"2cbccd40","hex_latitude":"0770cff8","is_valid_coordinates":true} 
[2026-11-04 18:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,194,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793798641000,"timestamp_ms":1793798641000,"timestamp_seconds":1793798641,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb1568"} 
[2026-11-04 18:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-11-04 18:55:15] 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-11-04 18:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"194":206,"27":54016,"24":27,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16]} 
[2026-11-04 18:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:55:15] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-11-04 18:55:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:55:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_194":206,"unknown_27":54016,"ignition":27,"odometer":null}} 
[2026-11-04 18:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":232756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:55:15] local.INFO: GPS data processed {"connection_id":232756,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:55:15] local.INFO: Acknowledgment sent {"connection_id":232756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:55:16] local.INFO: TCP Data received {"connection_id":230900,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:55:16] local.INFO: Processing buffer {"connection_id":230900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:55:16] local.INFO: IMEI packet received {"connection_id":230900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":230900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:55:17] local.INFO: TCP Data received {"connection_id":230900,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb2508012d34c88006aa44080007003d27..."} 
[2026-11-04 18:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb2508012d34c88006aa44080007003d27..."} 
[2026-11-04 18:55:17] local.INFO: Processing buffer {"connection_id":230900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb2508012d34c88006aa44080007003d27..."} 
[2026-11-04 18:55:17] local.INFO: Packet analysis {"connection_id":230900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55:17] local.INFO: Extracted packet for processing {"connection_id":230900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758433920,"raw_latitude":111821832,"longitude_deg":75.843392,"latitude_deg":11.1821832,"altitude":7,"angle":61,"satellites":39,"speed":0,"hex_longitude":"2d34c880","hex_latitude":"06aa4408","is_valid_coordinates":true} 
[2026-11-04 18:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212447744001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296451087433728,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429128192,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793798645000,"timestamp_ms":1793798645000,"timestamp_seconds":1793798645,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb2508"} 
[2026-11-04 18:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 18:55: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-11-04 18:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212447744001,"66":27745,"106":206,"28":21760,"24":0,"16":39296451087433728,"45":3803430651429128192},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212447744001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:55:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:55:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296451087433728,"km_value":39296451087433.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429128192,"description":"Unknown IO ID 45"} 
[2026-11-04 18:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212447744001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803430651429128192}} 
[2026-11-04 18:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":230900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:55:17] local.INFO: GPS data processed {"connection_id":230900,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:55:17] local.INFO: Acknowledgment sent {"connection_id":230900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:55:22] local.INFO: TCP Data received {"connection_id":230900,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb3c78012d34c6c006aa42f8000c00f926..."} 
[2026-11-04 18:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb3c78012d34c6c006aa42f8000c00f926..."} 
[2026-11-04 18:55:22] local.INFO: Processing buffer {"connection_id":230900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb3c78012d34c6c006aa42f8000c00f926..."} 
[2026-11-04 18:55:22] local.INFO: Packet analysis {"connection_id":230900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55:22] local.INFO: Extracted packet for processing {"connection_id":230900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111821560,"longitude_deg":75.8433472,"latitude_deg":11.182156,"altitude":12,"angle":249,"satellites":38,"speed":3,"hex_longitude":"2d34c6c0","hex_latitude":"06aa42f8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212453120001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296476857237504,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803430651429128192,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793798651000,"timestamp_ms":1793798651000,"timestamp_seconds":1793798651,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb3c78"} 
[2026-11-04 18:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212453120001,"66":27843,"106":206,"28":21760,"24":3,"16":39296476857237504,"45":3803430651429128192},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212453120001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:55:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:55:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296476857237504,"km_value":39296476857237.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803430651429128192,"description":"Unknown IO ID 45"} 
[2026-11-04 18:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212453120001,"power":27843,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3803430651429128192}} 
[2026-11-04 18:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":230900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:55:22] local.INFO: GPS data processed {"connection_id":230900,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:55:22] local.INFO: Acknowledgment sent {"connection_id":230900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:55:46] local.INFO: TCP Data received {"connection_id":232756,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bbf7f80100000000000000000000000000..."} 
[2026-11-04 18:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bbf7f80100000000000000000000000000..."} 
[2026-11-04 18:55:46] local.INFO: Processing buffer {"connection_id":232756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bbf7f80100000000000000000000000000..."} 
[2026-11-04 18:55:46] local.INFO: Packet analysis {"connection_id":232756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55:46] local.INFO: Extracted packet for processing {"connection_id":232756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:55: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-11-04 18:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212452096001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4842143623651788800,"note":"Value kept but may cause issues"} 
[2026-11-04 18:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798699000,"timestamp_ms":1793798699000,"timestamp_seconds":1793798699,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bbf7f8"} 
[2026-11-04 18:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":232756,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:55:46] local.INFO: GPS data processed {"connection_id":232756,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:55:46] local.INFO: Acknowledgment sent {"connection_id":232756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:56:06] local.INFO: TCP Data received {"connection_id":229589,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:56:06] local.INFO: Processing buffer {"connection_id":229589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:56:06] local.INFO: IMEI packet received {"connection_id":229589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":229589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:56:08] local.INFO: TCP Data received {"connection_id":229590,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:56:08] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:56:08] local.INFO: IMEI packet received {"connection_id":229590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":229590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:56:10] local.INFO: TCP Data received {"connection_id":229589,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:56:10] local.INFO: Processing buffer {"connection_id":229589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:56:10] local.INFO: IMEI packet received {"connection_id":229589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":229589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:56:12] local.INFO: TCP Data received {"connection_id":229589,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb5fa0012d34c28006aa4180000c010428..."} 
[2026-11-04 18:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb5fa0012d34c28006aa4180000c010428..."} 
[2026-11-04 18:56:12] local.INFO: Processing buffer {"connection_id":229589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb5fa0012d34c28006aa4180000c010428..."} 
[2026-11-04 18:56:12] local.INFO: Packet analysis {"connection_id":229589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:56:12] local.INFO: Extracted packet for processing {"connection_id":229589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758432384,"raw_latitude":111821184,"longitude_deg":75.8432384,"latitude_deg":11.1821184,"altitude":12,"angle":260,"satellites":40,"speed":5,"hex_longitude":"2d34c280","hex_latitude":"06aa4180","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212454656001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296532691812352,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070219814912,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798660000,"timestamp_ms":1793798660000,"timestamp_seconds":1793798660,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb5fa0"} 
[2026-11-04 18:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 18:56: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-11-04 18: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-11-04 18:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212454656001,"66":27745,"106":206,"28":21760,"24":5,"16":39296532691812352,"45":3802938070219814912},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212454656001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:56:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296532691812352,"km_value":39296532691812.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070219814912,"description":"Unknown IO ID 45"} 
[2026-11-04 18:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212454656001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3802938070219814912}} 
[2026-11-04 18:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":229589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:56:12] local.INFO: GPS data processed {"connection_id":229589,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:56:12] local.INFO: Acknowledgment sent {"connection_id":229589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:56:13] local.INFO: TCP Data received {"connection_id":229590,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:56:13] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:56:13] local.INFO: IMEI packet received {"connection_id":229590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":229590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:56:14] local.INFO: TCP Data received {"connection_id":229590,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb6b58012cbce18007709788005b00a030..."} 
[2026-11-04 18:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb6b58012cbce18007709788005b00a030..."} 
[2026-11-04 18:56:14] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb6b58012cbce18007709788005b00a030..."} 
[2026-11-04 18:56:14] local.INFO: Packet analysis {"connection_id":229590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:56:14] local.INFO: Extracted packet for processing {"connection_id":229590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":750576000,"raw_latitude":124819336,"longitude_deg":75.0576,"latitude_deg":12.4819336,"altitude":91,"angle":160,"satellites":48,"speed":27,"hex_longitude":"2cbce180","hex_latitude":"07709788","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,194,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798663000,"timestamp_ms":1793798663000,"timestamp_seconds":1793798663,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb6b58"} 
[2026-11-04 18:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:56:14] 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-11-04 18: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-11-04 18:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"194":206,"27":54016,"24":27,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,27,24,16]} 
[2026-11-04 18:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:56:14] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-11-04 18:56:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:56:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_194":206,"unknown_27":54016,"ignition":27,"odometer":null}} 
[2026-11-04 18:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":229590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:56:14] local.INFO: GPS data processed {"connection_id":229590,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:56:14] local.INFO: Acknowledgment sent {"connection_id":229590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:56:44] local.INFO: TCP Data received {"connection_id":229589,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:56:44] local.INFO: Processing buffer {"connection_id":229589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:56:44] local.INFO: Packet analysis {"connection_id":229589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:56:44] local.INFO: Extracted packet for processing {"connection_id":229589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821072,"longitude_deg":75.8431808,"latitude_deg":11.1821072,"altitude":11,"angle":257,"satellites":44,"speed":1,"hex_longitude":"2d34c040","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-11-04 18:56: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-11-04 18:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212456960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568698368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798666000,"timestamp_ms":1793798666000,"timestamp_seconds":1793798666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb7710"} 
[2026-11-04 18:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:56: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-11-04 18:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212456960001,"66":27767,"106":206,"28":21760,"24":1,"16":39296558461616128,"45":3801741801568698368},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212456960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:56:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:56:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568698368,"description":"Unknown IO ID 45"} 
[2026-11-04 18:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212456960001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801741801568698368}} 
[2026-11-04 18:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":229589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:56:44] local.INFO: GPS data processed {"connection_id":229589,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:56:44] local.INFO: Acknowledgment sent {"connection_id":229589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:56:46] local.INFO: TCP Data received {"connection_id":229590,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bc4de80100000000000000000000000000..."} 
[2026-11-04 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bc4de80100000000000000000000000000..."} 
[2026-11-04 18:56:46] local.INFO: Processing buffer {"connection_id":229590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bc4de80100000000000000000000000000..."} 
[2026-11-04 18:56:46] local.INFO: Packet analysis {"connection_id":229590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:56:46] local.INFO: Extracted packet for processing {"connection_id":229590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:56: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-11-04 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212457728001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4836443755377096704,"note":"Value kept but may cause issues"} 
[2026-11-04 18:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798721000,"timestamp_ms":1793798721000,"timestamp_seconds":1793798721,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bc4de8"} 
[2026-11-04 18:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 18:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":229590,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:56:46] local.INFO: GPS data processed {"connection_id":229590,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:56:46] local.INFO: Acknowledgment sent {"connection_id":229590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:57:06] local.INFO: TCP Data received {"connection_id":232757,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:57:06] local.INFO: Processing buffer {"connection_id":232757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:57:06] local.INFO: IMEI packet received {"connection_id":232757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":232757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:57:08] local.INFO: TCP Data received {"connection_id":232758,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:08] local.INFO: Processing buffer {"connection_id":232758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:08] local.INFO: IMEI packet received {"connection_id":232758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":232758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:57:09] local.INFO: TCP Data received {"connection_id":232758,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:09] local.INFO: Processing buffer {"connection_id":232758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:09] local.INFO: IMEI packet received {"connection_id":232758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":232758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:57:10] local.INFO: TCP Data received {"connection_id":232757,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:57:10] local.INFO: Processing buffer {"connection_id":232757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:57:10] local.INFO: IMEI packet received {"connection_id":232757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":232757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:57:12] local.INFO: TCP Data received {"connection_id":232757,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:57:12] local.INFO: Processing buffer {"connection_id":232757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:57:12] local.INFO: Packet analysis {"connection_id":232757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:57:12] local.INFO: Extracted packet for processing {"connection_id":232757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821072,"longitude_deg":75.8431808,"latitude_deg":11.1821072,"altitude":11,"angle":257,"satellites":44,"speed":1,"hex_longitude":"2d34c040","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-11-04 18:57: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-11-04 18:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212456960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568698368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798666000,"timestamp_ms":1793798666000,"timestamp_seconds":1793798666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb7710"} 
[2026-11-04 18:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:57: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-11-04 18: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-11-04 18:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212456960001,"66":27767,"106":206,"28":21760,"24":1,"16":39296558461616128,"45":3801741801568698368},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212456960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:57:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568698368,"description":"Unknown IO ID 45"} 
[2026-11-04 18:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212456960001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801741801568698368}} 
[2026-11-04 18:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":232757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:57:12] local.INFO: GPS data processed {"connection_id":232757,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:57:12] local.INFO: Acknowledgment sent {"connection_id":232757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:57:13] local.INFO: TCP Data received {"connection_id":232758,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:13] local.INFO: Processing buffer {"connection_id":232758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:57:13] local.INFO: IMEI packet received {"connection_id":232758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":232758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:57:15] local.INFO: TCP Data received {"connection_id":232758,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bbc148012cbcf10007705d90006100ae30..."} 
[2026-11-04 18:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bbc148012cbcf10007705d90006100ae30..."} 
[2026-11-04 18:57:15] local.INFO: Processing buffer {"connection_id":232758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bbc148012cbcf10007705d90006100ae30..."} 
[2026-11-04 18:57:15] local.INFO: Packet analysis {"connection_id":232758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:57:15] local.INFO: Extracted packet for processing {"connection_id":232758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":750579968,"raw_latitude":124804496,"longitude_deg":75.0579968,"latitude_deg":12.4804496,"altitude":97,"angle":174,"satellites":48,"speed":29,"hex_longitude":"2cbcf100","hex_latitude":"07705d90","is_valid_coordinates":true} 
[2026-11-04 18:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,195,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793798685000,"timestamp_ms":1793798685000,"timestamp_seconds":1793798685,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bbc148"} 
[2026-11-04 18:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 18:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"195":206,"27":54016,"24":29,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16]} 
[2026-11-04 18:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:57:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 18:57:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:57:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_195":206,"unknown_27":54016,"ignition":29,"odometer":null}} 
[2026-11-04 18:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":232758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:57:15] local.INFO: GPS data processed {"connection_id":232758,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:57:15] local.INFO: Acknowledgment sent {"connection_id":232758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:57:44] local.INFO: TCP Data received {"connection_id":232757,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:57:44] local.INFO: Processing buffer {"connection_id":232757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:57:44] local.INFO: Packet analysis {"connection_id":232757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:57:44] local.INFO: Extracted packet for processing {"connection_id":232757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821072,"longitude_deg":75.8431808,"latitude_deg":11.1821072,"altitude":11,"angle":257,"satellites":44,"speed":1,"hex_longitude":"2d34c040","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-11-04 18:57: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-11-04 18:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212456960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568698368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798666000,"timestamp_ms":1793798666000,"timestamp_seconds":1793798666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb7710"} 
[2026-11-04 18:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:57: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-11-04 18: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-11-04 18:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212456960001,"66":27767,"106":206,"28":21760,"24":1,"16":39296558461616128,"45":3801741801568698368},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212456960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:57:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:57:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568698368,"description":"Unknown IO ID 45"} 
[2026-11-04 18:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212456960001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801741801568698368}} 
[2026-11-04 18:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":232757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:57:44] local.INFO: GPS data processed {"connection_id":232757,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:57:44] local.INFO: Acknowledgment sent {"connection_id":232757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:57:48] local.INFO: TCP Data received {"connection_id":232758,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bc1350012cbcf900077010e0006100ab2f..."} 
[2026-11-04 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bc1350012cbcf900077010e0006100ab2f..."} 
[2026-11-04 18:57:48] local.INFO: Processing buffer {"connection_id":232758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bc1350012cbcf900077010e0006100ab2f..."} 
[2026-11-04 18:57:48] local.INFO: Packet analysis {"connection_id":232758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:57:48] local.INFO: Extracted packet for processing {"connection_id":232758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":750582016,"raw_latitude":124784864,"longitude_deg":75.0582016,"latitude_deg":12.4784864,"altitude":97,"angle":171,"satellites":47,"speed":0,"hex_longitude":"2cbcf900","hex_latitude":"077010e0","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212463360001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4832080893241880576,"note":"Value kept but may cause issues"} 
[2026-11-04 18:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793798706000,"timestamp_ms":1793798706000,"timestamp_seconds":1793798706,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bc1350"} 
[2026-11-04 18:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 18:57:48] 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-11-04 18: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-11-04 18:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212463360001,"66":27691,"195":206,"27":54016,"24":0,"16":20804074257514496,"44":-4832080893241880576},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,27,24,16,44]} 
[2026-11-04 18:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212463360001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:57:48] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-11-04 18:57:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4832080893241880576,"description":"Unknown IO ID 44"} 
[2026-11-04 18:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212463360001,"power":27691,"unknown_195":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4832080893241880576}} 
[2026-11-04 18:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":232758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:57:48] local.INFO: GPS data processed {"connection_id":232758,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:57:48] local.INFO: Acknowledgment sent {"connection_id":232758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:58:05] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:58:05] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:58:05] local.INFO: IMEI packet received {"connection_id":229120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":229120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:58:08] local.INFO: TCP Data received {"connection_id":229591,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:58:08] local.INFO: Processing buffer {"connection_id":229591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:58:08] local.INFO: IMEI packet received {"connection_id":229591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":229591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:58:10] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:58:10] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:58:10] local.INFO: IMEI packet received {"connection_id":229120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":229120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:58:12] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:58:12] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:58:12] local.INFO: Packet analysis {"connection_id":229120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:58:12] local.INFO: Extracted packet for processing {"connection_id":229120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821072,"longitude_deg":75.8431808,"latitude_deg":11.1821072,"altitude":11,"angle":257,"satellites":44,"speed":1,"hex_longitude":"2d34c040","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-11-04 18:58: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-11-04 18:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212456960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568698368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798666000,"timestamp_ms":1793798666000,"timestamp_seconds":1793798666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb7710"} 
[2026-11-04 18:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:58: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-11-04 18: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-11-04 18:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212456960001,"66":27767,"106":206,"28":21760,"24":1,"16":39296558461616128,"45":3801741801568698368},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212456960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:58:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568698368,"description":"Unknown IO ID 45"} 
[2026-11-04 18:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212456960001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801741801568698368}} 
[2026-11-04 18:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":229120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:58:12] local.INFO: GPS data processed {"connection_id":229120,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:58:12] local.INFO: Acknowledgment sent {"connection_id":229120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:58:13] local.INFO: TCP Data received {"connection_id":229591,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:58:13] local.INFO: Processing buffer {"connection_id":229591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:58:13] local.INFO: IMEI packet received {"connection_id":229591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":229591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:58:14] local.INFO: TCP Data received {"connection_id":229591,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bc6558012cbd0780076fb4a0005a00aa32..."} 
[2026-11-04 18:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bc6558012cbd0780076fb4a0005a00aa32..."} 
[2026-11-04 18:58:14] local.INFO: Processing buffer {"connection_id":229591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bc6558012cbd0780076fb4a0005a00aa32..."} 
[2026-11-04 18:58:14] local.INFO: Packet analysis {"connection_id":229591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:58:14] local.INFO: Extracted packet for processing {"connection_id":229591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":750585728,"raw_latitude":124761248,"longitude_deg":75.0585728,"latitude_deg":12.4761248,"altitude":90,"angle":170,"satellites":50,"speed":0,"hex_longitude":"2cbd0780","hex_latitude":"076fb4a0","is_valid_coordinates":true} 
[2026-11-04 18:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 18:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212468736001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4829829093433221120,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798727000,"timestamp_ms":1793798727000,"timestamp_seconds":1793798727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bc6558"} 
[2026-11-04 18:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 18:58:14] 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-11-04 18:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212468736001,"66":27441,"74":206,"27":54016,"24":0,"16":20804074257514496,"44":-4829829093433221120},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-11-04 18:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212468736001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:58:14] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-11-04 18:58:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:58:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4829829093433221120,"description":"Unknown IO ID 44"} 
[2026-11-04 18:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212468736001,"power":27441,"unknown_74":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4829829093433221120}} 
[2026-11-04 18:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":229591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:58:14] local.INFO: GPS data processed {"connection_id":229591,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:58:14] local.INFO: Acknowledgment sent {"connection_id":229591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:58:44] local.INFO: TCP Data received {"connection_id":229120,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:58:44] local.INFO: Processing buffer {"connection_id":229120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:58:44] local.INFO: Packet analysis {"connection_id":229120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:58:44] local.INFO: Extracted packet for processing {"connection_id":229120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821072,"longitude_deg":75.8431808,"latitude_deg":11.1821072,"altitude":11,"angle":257,"satellites":44,"speed":1,"hex_longitude":"2d34c040","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-11-04 18:58: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-11-04 18:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212456960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568698368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798666000,"timestamp_ms":1793798666000,"timestamp_seconds":1793798666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb7710"} 
[2026-11-04 18:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:58: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-11-04 18: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-11-04 18:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212456960001,"66":27767,"106":206,"28":21760,"24":1,"16":39296558461616128,"45":3801741801568698368},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212456960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:58:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568698368,"description":"Unknown IO ID 45"} 
[2026-11-04 18:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212456960001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801741801568698368}} 
[2026-11-04 18:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":229120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:58:44] local.INFO: GPS data processed {"connection_id":229120,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:58:44] local.INFO: Acknowledgment sent {"connection_id":229120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:58:47] local.INFO: TCP Data received {"connection_id":229591,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bd47e80100000000000000000000000000..."} 
[2026-11-04 18:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bd47e80100000000000000000000000000..."} 
[2026-11-04 18:58:47] local.INFO: Processing buffer {"connection_id":229591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bd47e80100000000000000000000000000..."} 
[2026-11-04 18:58:47] local.INFO: Packet analysis {"connection_id":229591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 18:58:47] local.INFO: Extracted packet for processing {"connection_id":229591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 18:58: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-11-04 18: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-11-04 18:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212474112001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4825747706276962304,"note":"Value kept but may cause issues"} 
[2026-11-04 18:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793798785000,"timestamp_ms":1793798785000,"timestamp_seconds":1793798785,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bd47e8"} 
[2026-11-04 18:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-11-04 18:58:47] 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-11-04 18: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-11-04 18:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":229591,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 18:58:47] local.INFO: GPS data processed {"connection_id":229591,"processed":0,"errors":0,"total":1} 
[2026-11-04 18:58:47] local.INFO: Acknowledgment sent {"connection_id":229591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:59:06] local.INFO: TCP Data received {"connection_id":230901,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:59:06] local.INFO: Processing buffer {"connection_id":230901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:59:06] local.INFO: IMEI packet received {"connection_id":230901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 18:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":230901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:59:10] local.INFO: TCP Data received {"connection_id":230901,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:59:10] local.INFO: Processing buffer {"connection_id":230901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 18:59:10] local.INFO: IMEI packet received {"connection_id":230901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 18:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":230901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:59:11] local.INFO: TCP Data received {"connection_id":230901,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:59:11] local.INFO: Processing buffer {"connection_id":230901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:59:11] local.INFO: Packet analysis {"connection_id":230901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:59:11] local.INFO: Extracted packet for processing {"connection_id":230901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821072,"longitude_deg":75.8431808,"latitude_deg":11.1821072,"altitude":11,"angle":257,"satellites":44,"speed":1,"hex_longitude":"2d34c040","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-11-04 18:59: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-11-04 18:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212456960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568698368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793798666000,"timestamp_ms":1793798666000,"timestamp_seconds":1793798666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb7710"} 
[2026-11-04 18:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212456960001,"66":27767,"106":206,"28":21760,"24":1,"16":39296558461616128,"45":3801741801568698368},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212456960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:59:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568698368,"description":"Unknown IO ID 45"} 
[2026-11-04 18:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212456960001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801741801568698368}} 
[2026-11-04 18:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":230901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:59:11] local.INFO: GPS data processed {"connection_id":230901,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:59:11] local.INFO: Acknowledgment sent {"connection_id":230901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:59:13] local.INFO: TCP Data received {"connection_id":232759,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:59:13] local.INFO: Processing buffer {"connection_id":232759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:59:13] local.INFO: IMEI packet received {"connection_id":232759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 18:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":232759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 18:59:17] local.INFO: TCP Data received {"connection_id":232759,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:59:17] local.INFO: Processing buffer {"connection_id":232759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 18:59:17] local.INFO: IMEI packet received {"connection_id":232759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 18:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":232759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 18:59:19] local.INFO: TCP Data received {"connection_id":232759,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bcced0012cbd0040076f1028005200d02e..."} 
[2026-11-04 18:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bcced0012cbd0040076f1028005200d02e..."} 
[2026-11-04 18:59:19] local.INFO: Processing buffer {"connection_id":232759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bcced0012cbd0040076f1028005200d02e..."} 
[2026-11-04 18:59:19] local.INFO: Packet analysis {"connection_id":232759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:59:19] local.INFO: Extracted packet for processing {"connection_id":232759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bc"} 
[2026-11-04 18:59:19] local.INFO: GPS Element Parsed {"raw_longitude":750583872,"raw_latitude":124719144,"longitude_deg":75.0583872,"latitude_deg":12.4719144,"altitude":82,"angle":208,"satellites":46,"speed":59,"hex_longitude":"2cbd0040","hex_latitude":"076f1028","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,74,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 18:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793798754000,"timestamp_ms":1793798754000,"timestamp_seconds":1793798754,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bcced0"} 
[2026-11-04 18:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-11-04 18:59:19] 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-11-04 18: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-11-04 18:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"74":206,"27":54016,"24":59,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16]} 
[2026-11-04 18:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 18:59:19] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-11-04 18:59:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:59:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_74":206,"unknown_27":54016,"ignition":59,"odometer":null}} 
[2026-11-04 18:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":232759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:59:19] local.INFO: GPS data processed {"connection_id":232759,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:59:19] local.INFO: Acknowledgment sent {"connection_id":232759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:59:21] local.INFO: TCP Data received {"connection_id":232759,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bd0d50012cbcebc0076eb6a8004c00b131..."} 
[2026-11-04 18:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bd0d50012cbcebc0076eb6a8004c00b131..."} 
[2026-11-04 18:59:21] local.INFO: Processing buffer {"connection_id":232759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bd0d50012cbcebc0076eb6a8004c00b131..."} 
[2026-11-04 18:59:21] local.INFO: Packet analysis {"connection_id":232759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 18:59:21] local.INFO: Extracted packet for processing {"connection_id":232759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 18:59:21] local.INFO: GPS Element Parsed {"raw_longitude":750578624,"raw_latitude":124696232,"longitude_deg":75.0578624,"latitude_deg":12.4696232,"altitude":76,"angle":177,"satellites":49,"speed":58,"hex_longitude":"2cbcebc0","hex_latitude":"076eb6a8","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212481024001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4827788399868893184,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793798770000,"timestamp_ms":1793798770000,"timestamp_seconds":1793798770,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bd0d50"} 
[2026-11-04 18:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 18:59: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-11-04 18: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-11-04 18:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212481024001,"66":27745,"74":206,"27":54016,"24":58,"16":20804074257514496,"44":-4827788399868893184},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,27,24,16,44]} 
[2026-11-04 18:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212481024001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:59:21] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-11-04 18:59:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4827788399868893184,"description":"Unknown IO ID 44"} 
[2026-11-04 18:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212481024001,"power":27745,"unknown_74":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4827788399868893184}} 
[2026-11-04 18:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":232759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:59:21] local.INFO: GPS data processed {"connection_id":232759,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:59:21] local.INFO: Acknowledgment sent {"connection_id":232759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:59:43] local.INFO: TCP Data received {"connection_id":230901,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:59:43] local.INFO: Processing buffer {"connection_id":230901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bb7710012d34c04006aa4110000b01012c..."} 
[2026-11-04 18:59:43] local.INFO: Packet analysis {"connection_id":230901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:59:43] local.INFO: Extracted packet for processing {"connection_id":230901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bb"} 
[2026-11-04 18:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821072,"longitude_deg":75.8431808,"latitude_deg":11.1821072,"altitude":11,"angle":257,"satellites":44,"speed":1,"hex_longitude":"2d34c040","hex_latitude":"06aa4110","is_valid_coordinates":true} 
[2026-11-04 18:59: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-11-04 18:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212456960001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801741801568698368,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793798666000,"timestamp_ms":1793798666000,"timestamp_seconds":1793798666,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bb7710"} 
[2026-11-04 18:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:59:43] 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-11-04 18:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 18:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 18:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 18:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 18:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212456960001,"66":27767,"106":206,"28":21760,"24":1,"16":39296558461616128,"45":3801741801568698368},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 18:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 18:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 18:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212456960001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:59:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 18:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 18:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801741801568698368,"description":"Unknown IO ID 45"} 
[2026-11-04 18:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212456960001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801741801568698368}} 
[2026-11-04 18:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":230901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:59:43] local.INFO: GPS data processed {"connection_id":230901,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:59:43] local.INFO: Acknowledgment sent {"connection_id":230901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 18:59:55] local.INFO: TCP Data received {"connection_id":232759,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bd5f58012cbcfd40076e5c98004800a730..."} 
[2026-11-04 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bd5f58012cbcfd40076e5c98004800a730..."} 
[2026-11-04 18:59:55] local.INFO: Processing buffer {"connection_id":232759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bd5f58012cbcfd40076e5c98004800a730..."} 
[2026-11-04 18:59:55] local.INFO: Packet analysis {"connection_id":232759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 18:59:55] local.INFO: Extracted packet for processing {"connection_id":232759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":750583104,"raw_latitude":124673176,"longitude_deg":75.0583104,"latitude_deg":12.4673176,"altitude":72,"angle":167,"satellites":48,"speed":0,"hex_longitude":"2cbcfd40","hex_latitude":"076e5c98","is_valid_coordinates":true} 
[2026-11-04 18: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-11-04 18:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212485120001,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4833558636897327104,"note":"Value kept but may cause issues"} 
[2026-11-04 18:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 18:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793798791000,"timestamp_ms":1793798791000,"timestamp_seconds":1793798791,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bd5f58"} 
[2026-11-04 18:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 18:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 18:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 18:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 18: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-11-04 18:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 18:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 18:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":232759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 18:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":232759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":232759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 18:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 18:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 18:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 18:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212485120001,"66":27713,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4833558636897327104},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 18:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 18:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212485120001,"description":"Unknown IO ID 0"} 
[2026-11-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 18:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 18:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4833558636897327104,"description":"Unknown IO ID 44"} 
[2026-11-04 18:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212485120001,"power":27713,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4833558636897327104}} 
[2026-11-04 18:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":232759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 18:59:55] local.INFO: GPS data processed {"connection_id":232759,"processed":1,"errors":0,"total":1} 
[2026-11-04 18:59:55] local.INFO: Acknowledgment sent {"connection_id":232759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:00:05] local.INFO: TCP Data received {"connection_id":230903,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:05] local.INFO: Processing buffer {"connection_id":230903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:05] local.INFO: IMEI packet received {"connection_id":230903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":230903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:00:07] local.INFO: TCP Data received {"connection_id":230903,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:07] local.INFO: Processing buffer {"connection_id":230903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:07] local.INFO: IMEI packet received {"connection_id":230903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":230903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:00:08] local.INFO: TCP Data received {"connection_id":230902,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:00:08] local.INFO: Processing buffer {"connection_id":230902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:00:08] local.INFO: IMEI packet received {"connection_id":230902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":230902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:00:11] local.INFO: TCP Data received {"connection_id":230903,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:11] local.INFO: Processing buffer {"connection_id":230903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:00:11] local.INFO: IMEI packet received {"connection_id":230903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":230903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:00:13] local.INFO: TCP Data received {"connection_id":230903,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:00:13] local.INFO: Processing buffer {"connection_id":230903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:00:13] local.INFO: Packet analysis {"connection_id":230903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:00:13] local.INFO: Extracted packet for processing {"connection_id":230903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:00:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:00:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":230903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:00:13] local.INFO: GPS data processed {"connection_id":230903,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:00:13] local.INFO: Acknowledgment sent {"connection_id":230903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:00:13] local.INFO: TCP Data received {"connection_id":230902,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:00:13] local.INFO: Processing buffer {"connection_id":230902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:00:13] local.INFO: IMEI packet received {"connection_id":230902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":230902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:00:15] local.INFO: TCP Data received {"connection_id":230902,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bd8a50012cbcfcc0076e0180004200bb2f..."} 
[2026-11-04 19:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bd8a50012cbcfcc0076e0180004200bb2f..."} 
[2026-11-04 19:00:15] local.INFO: Processing buffer {"connection_id":230902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bd8a50012cbcfcc0076e0180004200bb2f..."} 
[2026-11-04 19:00:15] local.INFO: Packet analysis {"connection_id":230902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 19:00:15] local.INFO: Extracted packet for processing {"connection_id":230902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 19:00:15] local.INFO: GPS Element Parsed {"raw_longitude":750582976,"raw_latitude":124649856,"longitude_deg":75.0582976,"latitude_deg":12.4649856,"altitude":66,"angle":187,"satellites":47,"speed":57,"hex_longitude":"2cbcfcc0","hex_latitude":"076e0180","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212490496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828632824810792960,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793798802000,"timestamp_ms":1793798802000,"timestamp_seconds":1793798802,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bd8a50"} 
[2026-11-04 19:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:00:15] 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-11-04 19: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-11-04 19:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212490496001,"66":27887,"75":206,"27":54016,"24":57,"16":20804074257514496,"44":-4828632824810792960},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212490496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:00:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:00:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828632824810792960,"description":"Unknown IO ID 44"} 
[2026-11-04 19:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212490496001,"power":27887,"unknown_75":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4828632824810792960}} 
[2026-11-04 19:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":230902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:00:15] local.INFO: GPS data processed {"connection_id":230902,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:00:15] local.INFO: Acknowledgment sent {"connection_id":230902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:00:44] local.INFO: TCP Data received {"connection_id":230903,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:00:44] local.INFO: Processing buffer {"connection_id":230903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:00:44] local.INFO: Packet analysis {"connection_id":230903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:00:44] local.INFO: Extracted packet for processing {"connection_id":230903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:00:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":230903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:00:44] local.INFO: GPS data processed {"connection_id":230903,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:00:44] local.INFO: Acknowledgment sent {"connection_id":230903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:00:46] local.INFO: TCP Data received {"connection_id":230902,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bddc58012cbcf400076da700004500b42b..."} 
[2026-11-04 19:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bddc58012cbcf400076da700004500b42b..."} 
[2026-11-04 19:00:46] local.INFO: Processing buffer {"connection_id":230902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bddc58012cbcf400076da700004500b42b..."} 
[2026-11-04 19:00:46] local.INFO: Packet analysis {"connection_id":230902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 19:00:46] local.INFO: Extracted packet for processing {"connection_id":230902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bd"} 
[2026-11-04 19:00:46] local.INFO: GPS Element Parsed {"raw_longitude":750580736,"raw_latitude":124626688,"longitude_deg":75.0580736,"latitude_deg":12.4626688,"altitude":69,"angle":180,"satellites":43,"speed":0,"hex_longitude":"2cbcf400","hex_latitude":"076da700","is_valid_coordinates":true} 
[2026-11-04 19:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212493312001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828773562305118208,"note":"Value kept but may cause issues"} 
[2026-11-04 19:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798823000,"timestamp_ms":1793798823000,"timestamp_seconds":1793798823,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bddc58"} 
[2026-11-04 19:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 19:00: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-11-04 19:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":230902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":230902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":230902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212493312001,"66":27767,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4828773562305118208},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212493312001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:00:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:00:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:00:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828773562305118208,"description":"Unknown IO ID 44"} 
[2026-11-04 19:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212493312001,"power":27767,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4828773562305118208}} 
[2026-11-04 19:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":230902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:00:47] local.INFO: GPS data processed {"connection_id":230902,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:00:47] local.INFO: Acknowledgment sent {"connection_id":230902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:01:06] local.INFO: TCP Data received {"connection_id":229592,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:01:06] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:01:06] local.INFO: IMEI packet received {"connection_id":229592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":229592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:01:08] local.INFO: TCP Data received {"connection_id":232760,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:01:08] local.INFO: Processing buffer {"connection_id":232760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:01:08] local.INFO: IMEI packet received {"connection_id":232760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":232760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:01:10] local.INFO: TCP Data received {"connection_id":229592,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:01:10] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:01:10] local.INFO: IMEI packet received {"connection_id":229592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":229592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:01:11] local.INFO: TCP Data received {"connection_id":229592,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:01:11] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:01:11] local.INFO: Packet analysis {"connection_id":229592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:01:11] local.INFO: Extracted packet for processing {"connection_id":229592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:01:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":229592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:01:11] local.INFO: GPS data processed {"connection_id":229592,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:01:11] local.INFO: Acknowledgment sent {"connection_id":229592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:01:13] local.INFO: TCP Data received {"connection_id":232760,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:01:13] local.INFO: Processing buffer {"connection_id":232760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:01:13] local.INFO: IMEI packet received {"connection_id":232760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":232760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:01:15] local.INFO: TCP Data received {"connection_id":232760,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6be0750012cbcfc80076d4bc0004400a730..."} 
[2026-11-04 19:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6be0750012cbcfc80076d4bc0004400a730..."} 
[2026-11-04 19:01:15] local.INFO: Processing buffer {"connection_id":232760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6be0750012cbcfc80076d4bc0004400a730..."} 
[2026-11-04 19:01:15] local.INFO: Packet analysis {"connection_id":232760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:01:15] local.INFO: Extracted packet for processing {"connection_id":232760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":750582912,"raw_latitude":124603328,"longitude_deg":75.0582912,"latitude_deg":12.4603328,"altitude":68,"angle":167,"satellites":48,"speed":58,"hex_longitude":"2cbcfc80","hex_latitude":"076d4bc0","is_valid_coordinates":true} 
[2026-11-04 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212498688001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4831236468357267456,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793798834000,"timestamp_ms":1793798834000,"timestamp_seconds":1793798834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6be0750"} 
[2026-11-04 19:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212498688001,"66":27843,"75":206,"27":54016,"24":58,"16":20804074257514496,"44":-4831236468357267456},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212498688001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:01:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:01:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:01:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4831236468357267456,"description":"Unknown IO ID 44"} 
[2026-11-04 19:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212498688001,"power":27843,"unknown_75":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4831236468357267456}} 
[2026-11-04 19:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":232760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:01:15] local.INFO: GPS data processed {"connection_id":232760,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:01:15] local.INFO: Acknowledgment sent {"connection_id":232760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:01:43] local.INFO: TCP Data received {"connection_id":229592,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:01:43] local.INFO: Processing buffer {"connection_id":229592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:01:43] local.INFO: Packet analysis {"connection_id":229592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:01:43] local.INFO: Extracted packet for processing {"connection_id":229592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:01:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":229592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:01:43] local.INFO: GPS data processed {"connection_id":229592,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:01:43] local.INFO: Acknowledgment sent {"connection_id":229592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:01:48] local.INFO: TCP Data received {"connection_id":232760,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6be5958012cbd1340076cf380003f00a52f..."} 
[2026-11-04 19:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6be5958012cbd1340076cf380003f00a52f..."} 
[2026-11-04 19:01:48] local.INFO: Processing buffer {"connection_id":232760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6be5958012cbd1340076cf380003f00a52f..."} 
[2026-11-04 19:01:48] local.INFO: Packet analysis {"connection_id":232760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:01:48] local.INFO: Extracted packet for processing {"connection_id":232760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:01:48] local.INFO: GPS Element Parsed {"raw_longitude":750588736,"raw_latitude":124580736,"longitude_deg":75.0588736,"latitude_deg":12.4580736,"altitude":63,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2cbd1340","hex_latitude":"076cf380","is_valid_coordinates":true} 
[2026-11-04 19:01: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-11-04 19:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212501504001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4828843931061207040,"note":"Value kept but may cause issues"} 
[2026-11-04 19:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793798855000,"timestamp_ms":1793798855000,"timestamp_seconds":1793798855,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6be5958"} 
[2026-11-04 19:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:01: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-11-04 19:01: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-11-04 19:01: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-11-04 19:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212501504001,"66":28082,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4828843931061207040},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212501504001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:01:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:01:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:01:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4828843931061207040,"description":"Unknown IO ID 44"} 
[2026-11-04 19:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212501504001,"power":28082,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4828843931061207040}} 
[2026-11-04 19:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":232760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:01:48] local.INFO: GPS data processed {"connection_id":232760,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:01:48] local.INFO: Acknowledgment sent {"connection_id":232760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:02:05] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:02:05] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:02:05] local.INFO: IMEI packet received {"connection_id":229121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":229121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:02:08] local.INFO: TCP Data received {"connection_id":229593,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:02:08] local.INFO: Processing buffer {"connection_id":229593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:02:08] local.INFO: IMEI packet received {"connection_id":229593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":229593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:02:11] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:02:11] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:02:11] local.INFO: IMEI packet received {"connection_id":229121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":229121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:02:11] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:02:12] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:02:12] local.INFO: Packet analysis {"connection_id":229121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:02:12] local.INFO: Extracted packet for processing {"connection_id":229121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:02: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-11-04 19: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-11-04 19:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:02:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":229121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:02:12] local.INFO: GPS data processed {"connection_id":229121,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:02:12] local.INFO: Acknowledgment sent {"connection_id":229121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:02:13] local.INFO: TCP Data received {"connection_id":229593,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:02:13] local.INFO: Processing buffer {"connection_id":229593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:02:13] local.INFO: IMEI packet received {"connection_id":229593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":229593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:02:14] local.INFO: TCP Data received {"connection_id":229593,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6beab60012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6beab60012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:02:14] local.INFO: Processing buffer {"connection_id":229593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6beab60012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:02:14] local.INFO: Packet analysis {"connection_id":229593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:02:14] local.INFO: Extracted packet for processing {"connection_id":229593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212506880001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4822440375346823168,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798876000,"timestamp_ms":1793798876000,"timestamp_seconds":1793798876,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6beab60"} 
[2026-11-04 19:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:02:14] 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-11-04 19:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212506880001,"66":28224,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4822440375346823168},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212506880001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:02:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:02:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:02:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4822440375346823168,"description":"Unknown IO ID 44"} 
[2026-11-04 19:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212506880001,"power":28224,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4822440375346823168}} 
[2026-11-04 19:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":229593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:02:14] local.INFO: GPS data processed {"connection_id":229593,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:02:14] local.INFO: Acknowledgment sent {"connection_id":229593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:02:43] local.INFO: TCP Data received {"connection_id":229121,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:02:43] local.INFO: Processing buffer {"connection_id":229121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:02:43] local.INFO: Packet analysis {"connection_id":229121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:02:43] local.INFO: Extracted packet for processing {"connection_id":229121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:02:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":229121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:02:43] local.INFO: GPS data processed {"connection_id":229121,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:02:43] local.INFO: Acknowledgment sent {"connection_id":229121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:02:46] local.INFO: TCP Data received {"connection_id":229593,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6befd68012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6befd68012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:02:46] local.INFO: Processing buffer {"connection_id":229593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6befd68012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:02:46] local.INFO: Packet analysis {"connection_id":229593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:02:46] local.INFO: Extracted packet for processing {"connection_id":229593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6be"} 
[2026-11-04 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212512256001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798897000,"timestamp_ms":1793798897000,"timestamp_seconds":1793798897,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6befd68"} 
[2026-11-04 19:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 19:02:46] 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-11-04 19:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212512256001,"66":28148,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212512256001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:02:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:02:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212512256001,"power":28148,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":229593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:02:46] local.INFO: GPS data processed {"connection_id":229593,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:02:46] local.INFO: Acknowledgment sent {"connection_id":229593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:03:06] local.INFO: TCP Data received {"connection_id":229594,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:03:06] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:03:06] local.INFO: IMEI packet received {"connection_id":229594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":229594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:03:08] local.INFO: TCP Data received {"connection_id":232761,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:03:08] local.INFO: Processing buffer {"connection_id":232761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:03:08] local.INFO: IMEI packet received {"connection_id":232761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":232761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:03:11] local.INFO: TCP Data received {"connection_id":229594,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:03:11] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:03:11] local.INFO: IMEI packet received {"connection_id":229594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":229594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:03:12] local.INFO: TCP Data received {"connection_id":229594,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:03:12] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:03:12] local.INFO: Packet analysis {"connection_id":229594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:03:12] local.INFO: Extracted packet for processing {"connection_id":229594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:03: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-11-04 19: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-11-04 19:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:03:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":229594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:03:12] local.INFO: GPS data processed {"connection_id":229594,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:03:12] local.INFO: Acknowledgment sent {"connection_id":229594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:03:13] local.INFO: TCP Data received {"connection_id":232761,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:03:13] local.INFO: Processing buffer {"connection_id":232761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:03:13] local.INFO: IMEI packet received {"connection_id":232761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":232761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:03:14] local.INFO: TCP Data received {"connection_id":232761,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bf4f70012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bf4f70012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:03:14] local.INFO: Processing buffer {"connection_id":232761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bf4f70012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:03:14] local.INFO: Packet analysis {"connection_id":232761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bf"} 
[2026-11-04 19:03:14] local.INFO: Extracted packet for processing {"connection_id":232761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bf"} 
[2026-11-04 19:03:14] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212517632001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793798918000,"timestamp_ms":1793798918000,"timestamp_seconds":1793798918,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bf4f70"} 
[2026-11-04 19:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-11-04 19:03:14] 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-11-04 19:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212517632001,"66":28104,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212517632001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:03:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:03:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:03:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212517632001,"power":28104,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":232761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:03:15] local.INFO: GPS data processed {"connection_id":232761,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:03:15] local.INFO: Acknowledgment sent {"connection_id":232761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:03:44] local.INFO: TCP Data received {"connection_id":229594,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:03:44] local.INFO: Processing buffer {"connection_id":229594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:03:44] local.INFO: Packet analysis {"connection_id":229594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:03:44] local.INFO: Extracted packet for processing {"connection_id":229594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:03:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":229594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:03:44] local.INFO: GPS data processed {"connection_id":229594,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:03:44] local.INFO: Acknowledgment sent {"connection_id":229594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:03:46] local.INFO: TCP Data received {"connection_id":232761,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6bfa178012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6bfa178012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:03:46] local.INFO: Processing buffer {"connection_id":232761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6bfa178012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:03:46] local.INFO: Packet analysis {"connection_id":232761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6bf"} 
[2026-11-04 19:03:46] local.INFO: Extracted packet for processing {"connection_id":232761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6bf"} 
[2026-11-04 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212523008001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793798939000,"timestamp_ms":1793798939000,"timestamp_seconds":1793798939,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6bfa178"} 
[2026-11-04 19:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 19:03:46] 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-11-04 19:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212523008001,"66":28028,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212523008001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:03:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:03:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:03:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212523008001,"power":28028,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":232761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:03:46] local.INFO: GPS data processed {"connection_id":232761,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:03:46] local.INFO: Acknowledgment sent {"connection_id":232761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:04:06] local.INFO: TCP Data received {"connection_id":229122,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:04:06] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:04:06] local.INFO: IMEI packet received {"connection_id":229122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":229122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:04:10] local.INFO: TCP Data received {"connection_id":229595,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:10] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:10] local.INFO: IMEI packet received {"connection_id":229595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":229595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:04:11] local.INFO: TCP Data received {"connection_id":229122,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:04:11] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:04:11] local.INFO: IMEI packet received {"connection_id":229122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":229122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:04:12] local.INFO: TCP Data received {"connection_id":229122,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:04:12] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:04:12] local.INFO: Packet analysis {"connection_id":229122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:04:12] local.INFO: Extracted packet for processing {"connection_id":229122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:04: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-11-04 19: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-11-04 19:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:04:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":229122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:04:12] local.INFO: GPS data processed {"connection_id":229122,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:04:12] local.INFO: Acknowledgment sent {"connection_id":229122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:04:13] local.INFO: TCP Data received {"connection_id":229595,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:13] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:13] local.INFO: IMEI packet received {"connection_id":229595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":229595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:04:18] local.INFO: TCP Data received {"connection_id":229595,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:18] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:04:18] local.INFO: IMEI packet received {"connection_id":229595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":229595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:04:19] local.INFO: TCP Data received {"connection_id":229595,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c327d0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c327d0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:04:19] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c327d0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:04:19] local.INFO: Packet analysis {"connection_id":229595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c3"} 
[2026-11-04 19:04:19] local.INFO: Extracted packet for processing {"connection_id":229595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c3"} 
[2026-11-04 19:04:19] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212582144001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793799170000,"timestamp_ms":1793799170000,"timestamp_seconds":1793799170,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c327d0"} 
[2026-11-04 19:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 19:04:19] 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-11-04 19:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212582144001,"66":28234,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212582144001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:04:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:04:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212582144001,"power":28234,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":229595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:04:19] local.INFO: GPS data processed {"connection_id":229595,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:04:19] local.INFO: Acknowledgment sent {"connection_id":229595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:04:44] local.INFO: TCP Data received {"connection_id":229122,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:04:44] local.INFO: Processing buffer {"connection_id":229122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c016a8012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:04:44] local.INFO: Packet analysis {"connection_id":229122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:04:44] local.INFO: Extracted packet for processing {"connection_id":229122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c0"} 
[2026-11-04 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212458496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871070720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793798969000,"timestamp_ms":1793798969000,"timestamp_seconds":1793798969,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c016a8"} 
[2026-11-04 19:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212458496001,"66":26006,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801108482871070720},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212458496001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:04:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871070720,"description":"Unknown IO ID 45"} 
[2026-11-04 19:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212458496001,"power":26006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801108482871070720}} 
[2026-11-04 19:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":229122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:04:44] local.INFO: GPS data processed {"connection_id":229122,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:04:44] local.INFO: Acknowledgment sent {"connection_id":229122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:04:50] local.INFO: TCP Data received {"connection_id":229595,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c379d8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c379d8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:04:50] local.INFO: Processing buffer {"connection_id":229595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c379d8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:04:50] local.INFO: Packet analysis {"connection_id":229595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c3"} 
[2026-11-04 19:04:50] local.INFO: Extracted packet for processing {"connection_id":229595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c3"} 
[2026-11-04 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212587520001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793799191000,"timestamp_ms":1793799191000,"timestamp_seconds":1793799191,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c379d8"} 
[2026-11-04 19:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-11-04 19:04:50] 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-11-04 19:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212587520001,"66":28115,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212587520001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:04:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:04:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212587520001,"power":28115,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":229595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:04:50] local.INFO: GPS data processed {"connection_id":229595,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:04:50] local.INFO: Acknowledgment sent {"connection_id":229595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:05:07] local.INFO: TCP Data received {"connection_id":232762,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:07] local.INFO: Processing buffer {"connection_id":232762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:07] local.INFO: IMEI packet received {"connection_id":232762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":232762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:05:09] local.INFO: TCP Data received {"connection_id":230904,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:05:09] local.INFO: Processing buffer {"connection_id":230904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:05:09] local.INFO: IMEI packet received {"connection_id":230904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":230904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:05:11] local.INFO: TCP Data received {"connection_id":232762,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:11] local.INFO: Processing buffer {"connection_id":232762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:11] local.INFO: IMEI packet received {"connection_id":232762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":232762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:05:14] local.INFO: TCP Data received {"connection_id":230904,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:05:14] local.INFO: Processing buffer {"connection_id":230904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:05:14] local.INFO: IMEI packet received {"connection_id":230904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":230904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:05:15] local.INFO: TCP Data received {"connection_id":230904,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c3cbe0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c3cbe0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:05:15] local.INFO: Processing buffer {"connection_id":230904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c3cbe0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:05:15] local.INFO: Packet analysis {"connection_id":230904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c3"} 
[2026-11-04 19:05:15] local.INFO: Extracted packet for processing {"connection_id":230904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c3"} 
[2026-11-04 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212592896001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799212000,"timestamp_ms":1793799212000,"timestamp_seconds":1793799212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c3cbe0"} 
[2026-11-04 19:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 19:05:15] 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-11-04 19:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212592896001,"66":28300,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212592896001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:05:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:05:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:05:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212592896001,"power":28300,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":230904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:05:15] local.INFO: GPS data processed {"connection_id":230904,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:05:15] local.INFO: Acknowledgment sent {"connection_id":230904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:05:16] local.INFO: TCP Data received {"connection_id":232762,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:16] local.INFO: Processing buffer {"connection_id":232762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:05:16] local.INFO: IMEI packet received {"connection_id":232762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":232762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:05:17] local.INFO: TCP Data received {"connection_id":232762,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:05:17] local.INFO: Processing buffer {"connection_id":232762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:05:17] local.INFO: Packet analysis {"connection_id":232762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:05:17] local.INFO: Extracted packet for processing {"connection_id":232762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:05: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-11-04 19:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:05:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":232762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:05:18] local.INFO: GPS data processed {"connection_id":232762,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:05:18] local.INFO: Acknowledgment sent {"connection_id":232762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:05:22] local.INFO: TCP Data received {"connection_id":232762,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:05:22] local.INFO: Processing buffer {"connection_id":232762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:05:22] local.INFO: Packet analysis {"connection_id":232762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:05:22] local.INFO: Extracted packet for processing {"connection_id":232762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:05:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:05:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":232762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:05:22] local.INFO: GPS data processed {"connection_id":232762,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:05:22] local.INFO: Acknowledgment sent {"connection_id":232762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:05:49] local.INFO: TCP Data received {"connection_id":230904,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c41de8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c41de8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:05:49] local.INFO: Processing buffer {"connection_id":230904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c41de8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:05:49] local.INFO: Packet analysis {"connection_id":230904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:05:49] local.INFO: Extracted packet for processing {"connection_id":230904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:05:49] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212598272001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793799233000,"timestamp_ms":1793799233000,"timestamp_seconds":1793799233,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c41de8"} 
[2026-11-04 19:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 19:05:49] 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-11-04 19: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-11-04 19:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":230904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":230904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":230904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212598272001,"66":28202,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212598272001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:05:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:05:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:05:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212598272001,"power":28202,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":230904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:05:49] local.INFO: GPS data processed {"connection_id":230904,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:05:49] local.INFO: Acknowledgment sent {"connection_id":230904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:06:05] local.INFO: TCP Data received {"connection_id":229596,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:06:05] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:06:05] local.INFO: IMEI packet received {"connection_id":229596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":229596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:06:08] local.INFO: TCP Data received {"connection_id":229123,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:06:08] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:06:08] local.INFO: IMEI packet received {"connection_id":229123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":229123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:06:11] local.INFO: TCP Data received {"connection_id":229596,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:06:11] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:06:11] local.INFO: IMEI packet received {"connection_id":229596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":229596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:06:12] local.INFO: TCP Data received {"connection_id":229596,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:06:12] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:06:12] local.INFO: Packet analysis {"connection_id":229596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:12] local.INFO: Extracted packet for processing {"connection_id":229596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:06:12] 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-11-04 19: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-11-04 19:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:06:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":229596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:06:12] local.INFO: GPS data processed {"connection_id":229596,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:06:12] local.INFO: Acknowledgment sent {"connection_id":229596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:06:13] local.INFO: TCP Data received {"connection_id":229123,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:06:13] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:06:13] local.INFO: IMEI packet received {"connection_id":229123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":229123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:06:15] local.INFO: TCP Data received {"connection_id":229123,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c46ff0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c46ff0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:06:15] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c46ff0012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:06:15] local.INFO: Packet analysis {"connection_id":229123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:15] local.INFO: Extracted packet for processing {"connection_id":229123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:15] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212603648001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799254000,"timestamp_ms":1793799254000,"timestamp_seconds":1793799254,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c46ff0"} 
[2026-11-04 19:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 19:06:15] 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-11-04 19:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212603648001,"66":28234,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212603648001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:06:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:06:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:06:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212603648001,"power":28234,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":229123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:06:15] local.INFO: GPS data processed {"connection_id":229123,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:06:15] local.INFO: Acknowledgment sent {"connection_id":229123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:06:44] local.INFO: TCP Data received {"connection_id":229596,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:06:44] local.INFO: Processing buffer {"connection_id":229596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:06:44] local.INFO: Packet analysis {"connection_id":229596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:44] local.INFO: Extracted packet for processing {"connection_id":229596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:06: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-11-04 19:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:06:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":229596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:06:44] local.INFO: GPS data processed {"connection_id":229596,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:06:44] local.INFO: Acknowledgment sent {"connection_id":229596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:06:48] local.INFO: TCP Data received {"connection_id":229123,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4c1f8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4c1f8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:06:48] local.INFO: Processing buffer {"connection_id":229123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4c1f8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:06:48] local.INFO: Packet analysis {"connection_id":229123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:48] local.INFO: Extracted packet for processing {"connection_id":229123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:06:48] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212609024001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793799275000,"timestamp_ms":1793799275000,"timestamp_seconds":1793799275,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4c1f8"} 
[2026-11-04 19:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":74,"data_length":795,"current_offset":136} 
[2026-11-04 19:06:48] 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-11-04 19: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-11-04 19:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212609024001,"66":28104,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212609024001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:06:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:06:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:06:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212609024001,"power":28104,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":229123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:06:48] local.INFO: GPS data processed {"connection_id":229123,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:06:48] local.INFO: Acknowledgment sent {"connection_id":229123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:07:06] local.INFO: TCP Data received {"connection_id":230905,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:07:06] local.INFO: Processing buffer {"connection_id":230905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:07:06] local.INFO: IMEI packet received {"connection_id":230905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":230905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:07:08] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:07:08] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:07:08] local.INFO: IMEI packet received {"connection_id":229124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":229124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:07:11] local.INFO: TCP Data received {"connection_id":230905,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:07:11] local.INFO: Processing buffer {"connection_id":230905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:07:11] local.INFO: IMEI packet received {"connection_id":230905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":230905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:07:13] local.INFO: TCP Data received {"connection_id":230905,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:07:13] local.INFO: Processing buffer {"connection_id":230905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:07:13] local.INFO: Packet analysis {"connection_id":230905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:07:13] local.INFO: Extracted packet for processing {"connection_id":230905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:07:13] 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-11-04 19: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-11-04 19:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:07:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:07:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":230905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:07:13] local.INFO: GPS data processed {"connection_id":230905,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:07:13] local.INFO: Acknowledgment sent {"connection_id":230905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:07:13] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:07:13] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:07:13] local.INFO: IMEI packet received {"connection_id":229124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":229124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:07:15] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c51400012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c51400012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:07:15] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c51400012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:07:15] local.INFO: Packet analysis {"connection_id":229124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c5"} 
[2026-11-04 19:07:15] local.INFO: Extracted packet for processing {"connection_id":229124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c5"} 
[2026-11-04 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212614400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799296000,"timestamp_ms":1793799296000,"timestamp_seconds":1793799296,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c51400"} 
[2026-11-04 19:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-11-04 19:07:15] 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-11-04 19:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212614400001,"66":28050,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212614400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:07:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:07:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:07:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212614400001,"power":28050,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":229124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:07:15] local.INFO: GPS data processed {"connection_id":229124,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:07:15] local.INFO: Acknowledgment sent {"connection_id":229124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:07:44] local.INFO: TCP Data received {"connection_id":230905,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:07:44] local.INFO: Processing buffer {"connection_id":230905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:07:44] local.INFO: Packet analysis {"connection_id":230905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:07:44] local.INFO: Extracted packet for processing {"connection_id":230905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:07: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-11-04 19: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-11-04 19:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:07:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:07:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":230905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:07:45] local.INFO: GPS data processed {"connection_id":230905,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:07:45] local.INFO: Acknowledgment sent {"connection_id":230905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:07:50] local.INFO: TCP Data received {"connection_id":229124,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c56608012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c56608012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:07:50] local.INFO: Processing buffer {"connection_id":229124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c56608012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:07:50] local.INFO: Packet analysis {"connection_id":229124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c5"} 
[2026-11-04 19:07:50] local.INFO: Extracted packet for processing {"connection_id":229124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c5"} 
[2026-11-04 19:07:50] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793799317000,"timestamp_ms":1793799317000,"timestamp_seconds":1793799317,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c56608"} 
[2026-11-04 19:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-11-04 19:07:50] 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-11-04 19:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212619776001,"66":27832,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:07:50] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:07:50] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212619776001,"power":27832,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":229124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:07:50] local.INFO: GPS data processed {"connection_id":229124,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:07:50] local.INFO: Acknowledgment sent {"connection_id":229124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:08:11] local.INFO: TCP Data received {"connection_id":232763,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:08:11] local.INFO: Processing buffer {"connection_id":232763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:08:11] local.INFO: IMEI packet received {"connection_id":232763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":232763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:08:13] local.INFO: TCP Data received {"connection_id":229597,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:08:13] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:08:13] local.INFO: IMEI packet received {"connection_id":229597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":229597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:08:16] local.INFO: TCP Data received {"connection_id":232763,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:08:16] local.INFO: Processing buffer {"connection_id":232763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:08:16] local.INFO: IMEI packet received {"connection_id":232763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":232763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:08:18] local.INFO: TCP Data received {"connection_id":229597,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:08:18] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:08:18] local.INFO: IMEI packet received {"connection_id":229597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":229597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:08:18] local.INFO: TCP Data received {"connection_id":232763,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:08:18] local.INFO: Processing buffer {"connection_id":232763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:08:18] local.INFO: Packet analysis {"connection_id":232763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:08:18] local.INFO: Extracted packet for processing {"connection_id":232763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:08:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:08:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":232763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:08:18] local.INFO: GPS data processed {"connection_id":232763,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:08:18] local.INFO: Acknowledgment sent {"connection_id":232763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:08:19] local.INFO: TCP Data received {"connection_id":229597,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c5b810012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c5b810012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:08:19] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c5b810012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:08:19] local.INFO: Packet analysis {"connection_id":229597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c5"} 
[2026-11-04 19:08:19] local.INFO: Extracted packet for processing {"connection_id":229597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c5"} 
[2026-11-04 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212625152001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793799338000,"timestamp_ms":1793799338000,"timestamp_seconds":1793799338,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c5b810"} 
[2026-11-04 19:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 19:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":229597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":229597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":229597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212625152001,"66":27365,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212625152001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:08:19] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:08:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212625152001,"power":27365,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":229597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:08:19] local.INFO: GPS data processed {"connection_id":229597,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:08:19] local.INFO: Acknowledgment sent {"connection_id":229597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:08:22] local.INFO: TCP Data received {"connection_id":229597,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c60a18012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c60a18012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:08:22] local.INFO: Processing buffer {"connection_id":229597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c60a18012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:08:22] local.INFO: Packet analysis {"connection_id":229597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c6"} 
[2026-11-04 19:08:22] local.INFO: Extracted packet for processing {"connection_id":229597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c6"} 
[2026-11-04 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212630528001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793799359000,"timestamp_ms":1793799359000,"timestamp_seconds":1793799359,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c60a18"} 
[2026-11-04 19:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-11-04 19:08:22] 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-11-04 19: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-11-04 19:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229597,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212630528001,"66":27984,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212630528001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212630528001,"power":27984,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:08:22] local.INFO: TCP Data received {"connection_id":232763,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:08:22] local.INFO: Processing buffer {"connection_id":232763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:08:22] local.INFO: Packet analysis {"connection_id":232763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:08:22] local.INFO: Extracted packet for processing {"connection_id":232763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":232763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:08:22] local.INFO: GPS data processed {"connection_id":232763,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:08:22] local.INFO: Acknowledgment sent {"connection_id":232763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":229597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:08:22] local.INFO: GPS data processed {"connection_id":229597,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:08:22] local.INFO: Acknowledgment sent {"connection_id":229597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:09:06] local.INFO: TCP Data received {"connection_id":230906,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:09:06] local.INFO: Processing buffer {"connection_id":230906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:09:06] local.INFO: IMEI packet received {"connection_id":230906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":230906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:09:09] local.INFO: TCP Data received {"connection_id":232764,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:09:09] local.INFO: Processing buffer {"connection_id":232764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:09:09] local.INFO: IMEI packet received {"connection_id":232764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":232764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:09:11] local.INFO: TCP Data received {"connection_id":230906,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:09:11] local.INFO: Processing buffer {"connection_id":230906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:09:11] local.INFO: IMEI packet received {"connection_id":230906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":230906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:09:13] local.INFO: TCP Data received {"connection_id":230906,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:09:13] local.INFO: Processing buffer {"connection_id":230906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:09:13] local.INFO: Packet analysis {"connection_id":230906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:09:13] local.INFO: Extracted packet for processing {"connection_id":230906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:09:13] 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-11-04 19: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-11-04 19:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:09:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:09:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":230906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:09:13] local.INFO: GPS data processed {"connection_id":230906,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:09:13] local.INFO: Acknowledgment sent {"connection_id":230906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:09:13] local.INFO: TCP Data received {"connection_id":232764,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:09:13] local.INFO: Processing buffer {"connection_id":232764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:09:13] local.INFO: IMEI packet received {"connection_id":232764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":232764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:09:14] local.INFO: TCP Data received {"connection_id":232764,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c65c20012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c65c20012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:09:14] local.INFO: Processing buffer {"connection_id":232764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c65c20012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:09:14] local.INFO: Packet analysis {"connection_id":232764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c6"} 
[2026-11-04 19:09:14] local.INFO: Extracted packet for processing {"connection_id":232764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c6"} 
[2026-11-04 19:09:14] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212635904001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793799380000,"timestamp_ms":1793799380000,"timestamp_seconds":1793799380,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c65c20"} 
[2026-11-04 19:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:09:14] 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-11-04 19:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212635904001,"66":27952,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212635904001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:09:14] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:09:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:09:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212635904001,"power":27952,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":232764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:09:14] local.INFO: GPS data processed {"connection_id":232764,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:09:14] local.INFO: Acknowledgment sent {"connection_id":232764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:09:45] local.INFO: TCP Data received {"connection_id":230906,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:09:45] local.INFO: Processing buffer {"connection_id":230906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c4ae70012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:09:45] local.INFO: Packet analysis {"connection_id":230906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:09:45] local.INFO: Extracted packet for processing {"connection_id":230906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c4"} 
[2026-11-04 19:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212536064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793799270000,"timestamp_ms":1793799270000,"timestamp_seconds":1793799270,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c4ae70"} 
[2026-11-04 19:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-11-04 19:09: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-11-04 19:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212536064001,"66":25778,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212536064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:09:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212536064001,"power":25778,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":230906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:09:45] local.INFO: GPS data processed {"connection_id":230906,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:09:45] local.INFO: Acknowledgment sent {"connection_id":230906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:09:47] local.INFO: TCP Data received {"connection_id":232764,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c6ae28012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c6ae28012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:09:47] local.INFO: Processing buffer {"connection_id":232764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c6ae28012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:09:47] local.INFO: Packet analysis {"connection_id":232764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c6"} 
[2026-11-04 19:09:47] local.INFO: Extracted packet for processing {"connection_id":232764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c6"} 
[2026-11-04 19:09:47] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212641280001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793799401000,"timestamp_ms":1793799401000,"timestamp_seconds":1793799401,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c6ae28"} 
[2026-11-04 19:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 19:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232764,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212641280001,"66":28300,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212641280001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:09:47] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:09:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:09:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212641280001,"power":28300,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":232764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:09:47] local.INFO: GPS data processed {"connection_id":232764,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:09:47] local.INFO: Acknowledgment sent {"connection_id":232764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:10:06] local.INFO: TCP Data received {"connection_id":229598,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:10:06] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:10:06] local.INFO: IMEI packet received {"connection_id":229598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":229598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:10:07] local.INFO: TCP Data received {"connection_id":229125,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:07] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:07] local.INFO: IMEI packet received {"connection_id":229125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":229125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:10:08] local.INFO: TCP Data received {"connection_id":229125,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:08] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:08] local.INFO: IMEI packet received {"connection_id":229125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":229125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:10:09] local.INFO: TCP Data received {"connection_id":229598,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:10:09] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:10:09] local.INFO: IMEI packet received {"connection_id":229598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":229598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:10:11] local.INFO: TCP Data received {"connection_id":229598,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:10:11] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:10:11] local.INFO: Packet analysis {"connection_id":229598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:10:11] local.INFO: Extracted packet for processing {"connection_id":229598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:10: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-11-04 19:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":229598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:10:11] local.INFO: GPS data processed {"connection_id":229598,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:10:11] local.INFO: Acknowledgment sent {"connection_id":229598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:10:13] local.INFO: TCP Data received {"connection_id":229125,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:13] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:10:13] local.INFO: IMEI packet received {"connection_id":229125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":229125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:10:15] local.INFO: TCP Data received {"connection_id":229125,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c70030012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c70030012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:10:15] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c70030012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:10:15] local.INFO: Packet analysis {"connection_id":229125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:10:15] local.INFO: Extracted packet for processing {"connection_id":229125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:10:15] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212646656001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799422000,"timestamp_ms":1793799422000,"timestamp_seconds":1793799422,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c70030"} 
[2026-11-04 19:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:10:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 19:10: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-11-04 19:10:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212646656001,"66":28354,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212646656001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:10:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:10:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:10:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212646656001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":229125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:10:15] local.INFO: GPS data processed {"connection_id":229125,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:10:15] local.INFO: Acknowledgment sent {"connection_id":229125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:10:43] local.INFO: TCP Data received {"connection_id":229598,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:10:43] local.INFO: Processing buffer {"connection_id":229598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:10:43] local.INFO: Packet analysis {"connection_id":229598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:10:43] local.INFO: Extracted packet for processing {"connection_id":229598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:10: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-11-04 19: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-11-04 19:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":229598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:10:43] local.INFO: GPS data processed {"connection_id":229598,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:10:43] local.INFO: Acknowledgment sent {"connection_id":229598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:10:49] local.INFO: TCP Data received {"connection_id":229125,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c75238012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c75238012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:10:49] local.INFO: Processing buffer {"connection_id":229125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c75238012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:10:49] local.INFO: Packet analysis {"connection_id":229125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:10:49] local.INFO: Extracted packet for processing {"connection_id":229125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212652032001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793799443000,"timestamp_ms":1793799443000,"timestamp_seconds":1793799443,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c75238"} 
[2026-11-04 19:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-11-04 19:10: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-11-04 19: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-11-04 19:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229125,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212652032001,"66":28224,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212652032001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:10:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:10:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:10:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212652032001,"power":28224,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":229125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:10:49] local.INFO: GPS data processed {"connection_id":229125,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:10:49] local.INFO: Acknowledgment sent {"connection_id":229125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:11:05] local.INFO: TCP Data received {"connection_id":229599,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:11:05] local.INFO: Processing buffer {"connection_id":229599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:11:05] local.INFO: IMEI packet received {"connection_id":229599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":229599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:11:08] local.INFO: TCP Data received {"connection_id":232765,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:08] local.INFO: Processing buffer {"connection_id":232765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:08] local.INFO: IMEI packet received {"connection_id":232765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":232765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:11:10] local.INFO: TCP Data received {"connection_id":232765,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:10] local.INFO: Processing buffer {"connection_id":232765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:10] local.INFO: IMEI packet received {"connection_id":232765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":232765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:11:11] local.INFO: TCP Data received {"connection_id":229599,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:11:11] local.INFO: Processing buffer {"connection_id":229599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:11:11] local.INFO: IMEI packet received {"connection_id":229599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:11:12] local.INFO: TCP Data received {"connection_id":229599,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:11:12] local.INFO: Processing buffer {"connection_id":229599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:11:12] local.INFO: Packet analysis {"connection_id":229599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:11:12] local.INFO: Extracted packet for processing {"connection_id":229599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:11: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-11-04 19: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-11-04 19:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:11:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":229599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:11:13] local.INFO: GPS data processed {"connection_id":229599,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:11:13] local.INFO: Acknowledgment sent {"connection_id":229599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:11:13] local.INFO: TCP Data received {"connection_id":232765,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:13] local.INFO: Processing buffer {"connection_id":232765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:11:13] local.INFO: IMEI packet received {"connection_id":232765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":232765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:11:15] local.INFO: TCP Data received {"connection_id":232765,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c7a440012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c7a440012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:11:15] local.INFO: Processing buffer {"connection_id":232765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c7a440012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:11:15] local.INFO: Packet analysis {"connection_id":232765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:11:15] local.INFO: Extracted packet for processing {"connection_id":232765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212657408001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799464000,"timestamp_ms":1793799464000,"timestamp_seconds":1793799464,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c7a440"} 
[2026-11-04 19:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-11-04 19:11:15] 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-11-04 19:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212657408001,"66":27604,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212657408001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:11:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:11:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212657408001,"power":27604,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":232765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:11:15] local.INFO: GPS data processed {"connection_id":232765,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:11:15] local.INFO: Acknowledgment sent {"connection_id":232765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:11:44] local.INFO: TCP Data received {"connection_id":229599,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:11:44] local.INFO: Processing buffer {"connection_id":229599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:11:44] local.INFO: Packet analysis {"connection_id":229599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:11:44] local.INFO: Extracted packet for processing {"connection_id":229599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:11:44] 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-11-04 19: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-11-04 19:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:11:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:11:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":229599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:11:44] local.INFO: GPS data processed {"connection_id":229599,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:11:44] local.INFO: Acknowledgment sent {"connection_id":229599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:11:46] local.INFO: TCP Data received {"connection_id":232765,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c7f648012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c7f648012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:11:46] local.INFO: Processing buffer {"connection_id":232765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c7f648012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:11:46] local.INFO: Packet analysis {"connection_id":232765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:11:46] local.INFO: Extracted packet for processing {"connection_id":232765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c7"} 
[2026-11-04 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212662784001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793799485000,"timestamp_ms":1793799485000,"timestamp_seconds":1793799485,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c7f648"} 
[2026-11-04 19:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 19:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212662784001,"66":28256,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212662784001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:11:46] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:11:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:11:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212662784001,"power":28256,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":232765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:11:46] local.INFO: GPS data processed {"connection_id":232765,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:11:46] local.INFO: Acknowledgment sent {"connection_id":232765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:12:11] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:12:11] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:12:11] local.INFO: IMEI packet received {"connection_id":229126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":229126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:12:13] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:13] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:13] local.INFO: IMEI packet received {"connection_id":229127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":229127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:12:13] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:13] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:13] local.INFO: IMEI packet received {"connection_id":229127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":229127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:12:16] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:12:16] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:12:16] local.INFO: IMEI packet received {"connection_id":229126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":229126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:12:17] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:12:17] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:12:17] local.INFO: Packet analysis {"connection_id":229126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:12:17] local.INFO: Extracted packet for processing {"connection_id":229126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:12: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-11-04 19:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:12:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":229126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:12:17] local.INFO: GPS data processed {"connection_id":229126,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:12:17] local.INFO: Acknowledgment sent {"connection_id":229126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:12:18] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:18] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:12:18] local.INFO: IMEI packet received {"connection_id":229127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":229127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:12:20] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c84850012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c84850012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:12:20] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c84850012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:12:20] local.INFO: Packet analysis {"connection_id":229127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c8"} 
[2026-11-04 19:12:20] local.INFO: Extracted packet for processing {"connection_id":229127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c8"} 
[2026-11-04 19:12:20] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212668160001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793799506000,"timestamp_ms":1793799506000,"timestamp_seconds":1793799506,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c84850"} 
[2026-11-04 19:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-11-04 19:12:20] 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-11-04 19:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212668160001,"66":28300,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212668160001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:12:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:12:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212668160001,"power":28300,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":229127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:12:20] local.INFO: GPS data processed {"connection_id":229127,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:12:20] local.INFO: Acknowledgment sent {"connection_id":229127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:12:22] local.INFO: TCP Data received {"connection_id":229126,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:12:22] local.INFO: Processing buffer {"connection_id":229126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:12:22] local.INFO: Packet analysis {"connection_id":229126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:12:22] local.INFO: Extracted packet for processing {"connection_id":229126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:12:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:12:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:12:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":229126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:12:22] local.INFO: GPS data processed {"connection_id":229126,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:12:22] local.INFO: Acknowledgment sent {"connection_id":229126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:12:24] local.INFO: TCP Data received {"connection_id":229127,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c89a58012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c89a58012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:12:24] local.INFO: Processing buffer {"connection_id":229127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c89a58012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:12:24] local.INFO: Packet analysis {"connection_id":229127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c8"} 
[2026-11-04 19:12:24] local.INFO: Extracted packet for processing {"connection_id":229127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c8"} 
[2026-11-04 19:12:24] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212673536001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793799527000,"timestamp_ms":1793799527000,"timestamp_seconds":1793799527,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c89a58"} 
[2026-11-04 19:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-11-04 19:12:24] 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-11-04 19: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-11-04 19:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212673536001,"66":28137,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212673536001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:12:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:12:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:12:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212673536001,"power":28137,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":229127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:12:24] local.INFO: GPS data processed {"connection_id":229127,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:12:24] local.INFO: Acknowledgment sent {"connection_id":229127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:13:06] local.INFO: TCP Data received {"connection_id":229600,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:13:06] local.INFO: Processing buffer {"connection_id":229600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:13:06] local.INFO: IMEI packet received {"connection_id":229600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":229600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:13:08] local.INFO: TCP Data received {"connection_id":232766,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:13:08] local.INFO: Processing buffer {"connection_id":232766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:13:08] local.INFO: IMEI packet received {"connection_id":232766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":232766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:13:11] local.INFO: TCP Data received {"connection_id":229600,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:13:11] local.INFO: Processing buffer {"connection_id":229600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:13:11] local.INFO: IMEI packet received {"connection_id":229600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":229600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:13:12] local.INFO: TCP Data received {"connection_id":229600,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:13:12] local.INFO: Processing buffer {"connection_id":229600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:13:12] local.INFO: Packet analysis {"connection_id":229600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:13:12] local.INFO: Extracted packet for processing {"connection_id":229600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:13: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-11-04 19: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-11-04 19:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":229600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:13:12] local.INFO: GPS data processed {"connection_id":229600,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:13:12] local.INFO: Acknowledgment sent {"connection_id":229600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:13:13] local.INFO: TCP Data received {"connection_id":232766,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:13:13] local.INFO: Processing buffer {"connection_id":232766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:13:13] local.INFO: IMEI packet received {"connection_id":232766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":232766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:13:15] local.INFO: TCP Data received {"connection_id":232766,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c8ec60012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c8ec60012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:13:15] local.INFO: Processing buffer {"connection_id":232766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c8ec60012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:13:15] local.INFO: Packet analysis {"connection_id":232766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c8"} 
[2026-11-04 19:13:15] local.INFO: Extracted packet for processing {"connection_id":232766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c8"} 
[2026-11-04 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212678912001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799548000,"timestamp_ms":1793799548000,"timestamp_seconds":1793799548,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c8ec60"} 
[2026-11-04 19:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 19:13:15] 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-11-04 19:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212678912001,"66":28354,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212678912001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:13:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:13:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:13:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212678912001,"power":28354,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":232766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60281,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:13:15] local.INFO: GPS data processed {"connection_id":232766,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:13:15] local.INFO: Acknowledgment sent {"connection_id":232766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:13:43] local.INFO: TCP Data received {"connection_id":229600,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:13:43] local.INFO: Processing buffer {"connection_id":229600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:13:43] local.INFO: Packet analysis {"connection_id":229600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:13:43] local.INFO: Extracted packet for processing {"connection_id":229600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:13: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-11-04 19: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-11-04 19:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":229600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:13:43] local.INFO: GPS data processed {"connection_id":229600,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:13:43] local.INFO: Acknowledgment sent {"connection_id":229600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:13:47] local.INFO: TCP Data received {"connection_id":232766,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c93e68012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c93e68012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:13:47] local.INFO: Processing buffer {"connection_id":232766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c93e68012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:13:47] local.INFO: Packet analysis {"connection_id":232766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:13:47] local.INFO: Extracted packet for processing {"connection_id":232766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:13:47] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:13: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-11-04 19:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212684288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793799569000,"timestamp_ms":1793799569000,"timestamp_seconds":1793799569,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c93e68"} 
[2026-11-04 19:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:13: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":194,"data_length":795,"current_offset":136} 
[2026-11-04 19:13:47] 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-11-04 19:13: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-11-04 19:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212684288001,"66":28082,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212684288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:13:47] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:13:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:13:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212684288001,"power":28082,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":232766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:13:47] local.INFO: GPS data processed {"connection_id":232766,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:13:47] local.INFO: Acknowledgment sent {"connection_id":232766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:14:05] local.INFO: TCP Data received {"connection_id":230907,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:14:05] local.INFO: Processing buffer {"connection_id":230907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:14:05] local.INFO: IMEI packet received {"connection_id":230907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":230907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:14:08] local.INFO: TCP Data received {"connection_id":229601,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:14:08] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:14:08] local.INFO: IMEI packet received {"connection_id":229601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":229601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:14:11] local.INFO: TCP Data received {"connection_id":230907,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:14:11] local.INFO: Processing buffer {"connection_id":230907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:14:11] local.INFO: IMEI packet received {"connection_id":230907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":230907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:14:12] local.INFO: TCP Data received {"connection_id":230907,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:14:12] local.INFO: Processing buffer {"connection_id":230907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:14:12] local.INFO: Packet analysis {"connection_id":230907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:12] local.INFO: Extracted packet for processing {"connection_id":230907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:14: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-11-04 19: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-11-04 19:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:14:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":230907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:14:12] local.INFO: GPS data processed {"connection_id":230907,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:14:12] local.INFO: Acknowledgment sent {"connection_id":230907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:14:13] local.INFO: TCP Data received {"connection_id":229601,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:14:13] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:14:13] local.INFO: IMEI packet received {"connection_id":229601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":229601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:14:15] local.INFO: TCP Data received {"connection_id":229601,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c99070012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c99070012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:14:15] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c99070012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:14:15] local.INFO: Packet analysis {"connection_id":229601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:15] local.INFO: Extracted packet for processing {"connection_id":229601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212689664001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799590000,"timestamp_ms":1793799590000,"timestamp_seconds":1793799590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c99070"} 
[2026-11-04 19:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:14:15] 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-11-04 19:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212689664001,"66":28006,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212689664001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:14:15] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:14:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:14:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212689664001,"power":28006,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":229601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:14:15] local.INFO: GPS data processed {"connection_id":229601,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:14:15] local.INFO: Acknowledgment sent {"connection_id":229601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:14:44] local.INFO: TCP Data received {"connection_id":230907,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:14:44] local.INFO: Processing buffer {"connection_id":230907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c94638012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:14:44] local.INFO: Packet analysis {"connection_id":230907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:44] local.INFO: Extracted packet for processing {"connection_id":230907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212613120001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793799571000,"timestamp_ms":1793799571000,"timestamp_seconds":1793799571,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c94638"} 
[2026-11-04 19:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":178,"data_length":795,"current_offset":136} 
[2026-11-04 19:14:44] 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-11-04 19: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-11-04 19:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212613120001,"66":25680,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212613120001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:14:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:14:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212613120001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":230907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:14:44] local.INFO: GPS data processed {"connection_id":230907,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:14:44] local.INFO: Acknowledgment sent {"connection_id":230907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:14:47] local.INFO: TCP Data received {"connection_id":229601,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6c9e278012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6c9e278012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:14:47] local.INFO: Processing buffer {"connection_id":229601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6c9e278012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:14:47] local.INFO: Packet analysis {"connection_id":229601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:47] local.INFO: Extracted packet for processing {"connection_id":229601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6c9"} 
[2026-11-04 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212695040001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793799611000,"timestamp_ms":1793799611000,"timestamp_seconds":1793799611,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6c9e278"} 
[2026-11-04 19:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-11-04 19:14: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-11-04 19:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212695040001,"66":28126,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212695040001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:14:47] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:14:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:14:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212695040001,"power":28126,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":229601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:14:47] local.INFO: GPS data processed {"connection_id":229601,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:14:47] local.INFO: Acknowledgment sent {"connection_id":229601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:15:06] local.INFO: TCP Data received {"connection_id":230908,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:15:06] local.INFO: Processing buffer {"connection_id":230908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:15:06] local.INFO: IMEI packet received {"connection_id":230908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":230908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:15:08] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:15:08] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:15:08] local.INFO: IMEI packet received {"connection_id":229128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":229128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:15:10] local.INFO: TCP Data received {"connection_id":230908,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:15:10] local.INFO: Processing buffer {"connection_id":230908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:15:10] local.INFO: IMEI packet received {"connection_id":230908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":230908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:15:12] local.INFO: TCP Data received {"connection_id":230908,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:15:12] local.INFO: Processing buffer {"connection_id":230908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:15:12] local.INFO: Packet analysis {"connection_id":230908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:15:12] local.INFO: Extracted packet for processing {"connection_id":230908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:15: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-11-04 19: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-11-04 19:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:15:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:15:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":230908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:15:12] local.INFO: GPS data processed {"connection_id":230908,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:15:12] local.INFO: Acknowledgment sent {"connection_id":230908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:15:13] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:15:13] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:15:13] local.INFO: IMEI packet received {"connection_id":229128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":229128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:15:16] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ca3480012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ca3480012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:15:16] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ca3480012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:15:16] local.INFO: Packet analysis {"connection_id":229128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ca"} 
[2026-11-04 19:15:16] local.INFO: Extracted packet for processing {"connection_id":229128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ca"} 
[2026-11-04 19:15:16] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212700416001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793799632000,"timestamp_ms":1793799632000,"timestamp_seconds":1793799632,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ca3480"} 
[2026-11-04 19:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-11-04 19:15:16] 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-11-04 19: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-11-04 19:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212700416001,"66":28115,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212700416001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:15:16] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:15:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:15:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212700416001,"power":28115,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":229128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:15:16] local.INFO: GPS data processed {"connection_id":229128,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:15:16] local.INFO: Acknowledgment sent {"connection_id":229128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:15:43] local.INFO: TCP Data received {"connection_id":230908,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:15:43] local.INFO: Processing buffer {"connection_id":230908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:15:43] local.INFO: Packet analysis {"connection_id":230908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:15:43] local.INFO: Extracted packet for processing {"connection_id":230908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:15:43] 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-11-04 19: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-11-04 19:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:15:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":230908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:15:43] local.INFO: GPS data processed {"connection_id":230908,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:15:43] local.INFO: Acknowledgment sent {"connection_id":230908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:15:49] local.INFO: TCP Data received {"connection_id":229128,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdbad8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdbad8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:15:49] local.INFO: Processing buffer {"connection_id":229128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdbad8012cbd1ec0076ccd50003c00a932..."} 
[2026-11-04 19:15:49] local.INFO: Packet analysis {"connection_id":229128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:15:49] local.INFO: Extracted packet for processing {"connection_id":229128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":750591680,"raw_latitude":124570960,"longitude_deg":75.059168,"latitude_deg":12.457096,"altitude":60,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2cbd1ec0","hex_latitude":"076ccd50","is_valid_coordinates":true} 
[2026-11-04 19:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212759552001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793799863000,"timestamp_ms":1793799863000,"timestamp_seconds":1793799863,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdbad8"} 
[2026-11-04 19:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 19:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212759552001,"66":27767,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212759552001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:15:49] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:15:49] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:15:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212759552001,"power":27767,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":229128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:15:49] local.INFO: GPS data processed {"connection_id":229128,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:15:49] local.INFO: Acknowledgment sent {"connection_id":229128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:16:06] local.INFO: TCP Data received {"connection_id":229602,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:16:06] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:16:06] local.INFO: IMEI packet received {"connection_id":229602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":229602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:16:11] local.INFO: TCP Data received {"connection_id":229602,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:16:11] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:16:11] local.INFO: IMEI packet received {"connection_id":229602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":229602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:16:13] local.INFO: TCP Data received {"connection_id":232767,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:16:13] local.INFO: Processing buffer {"connection_id":232767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:16:13] local.INFO: IMEI packet received {"connection_id":232767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":232767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:16:13] local.INFO: TCP Data received {"connection_id":229602,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:13] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:13] local.INFO: Packet analysis {"connection_id":229602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:16:13] local.INFO: Extracted packet for processing {"connection_id":229602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:16:13] 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-11-04 19: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-11-04 19:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:16:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:16:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":229602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:16:13] local.INFO: GPS data processed {"connection_id":229602,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:16:13] local.INFO: Acknowledgment sent {"connection_id":229602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:16:17] local.INFO: TCP Data received {"connection_id":229602,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:17] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:17] local.INFO: Packet analysis {"connection_id":229602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:16:17] local.INFO: Extracted packet for processing {"connection_id":229602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:16: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-11-04 19: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-11-04 19:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:16:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":229602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:16:17] local.INFO: GPS data processed {"connection_id":229602,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:16:17] local.INFO: Acknowledgment sent {"connection_id":229602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:16:18] local.INFO: TCP Data received {"connection_id":232767,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:16:18] local.INFO: Processing buffer {"connection_id":232767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:16:18] local.INFO: IMEI packet received {"connection_id":232767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":232767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:16:20] local.INFO: TCP Data received {"connection_id":232767,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ce0ce0012cbd2a40076c8458003a00a830..."} 
[2026-11-04 19:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ce0ce0012cbd2a40076c8458003a00a830..."} 
[2026-11-04 19:16:20] local.INFO: Processing buffer {"connection_id":232767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ce0ce0012cbd2a40076c8458003a00a830..."} 
[2026-11-04 19:16:20] local.INFO: Packet analysis {"connection_id":232767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:16:20] local.INFO: Extracted packet for processing {"connection_id":232767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":750594624,"raw_latitude":124552280,"longitude_deg":75.0594624,"latitude_deg":12.455228,"altitude":58,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2cbd2a40","hex_latitude":"076c8458","is_valid_coordinates":true} 
[2026-11-04 19:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212764928001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4819203413117153280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793799884000,"timestamp_ms":1793799884000,"timestamp_seconds":1793799884,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ce0ce0"} 
[2026-11-04 19:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":232767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":232767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":232767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212764928001,"66":27604,"75":206,"27":54016,"24":0,"16":20804074257514496,"44":-4819203413117153280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,27,24,16,44]} 
[2026-11-04 19:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212764928001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:16:20] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-11-04 19:16:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4819203413117153280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212764928001,"power":27604,"unknown_75":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4819203413117153280}} 
[2026-11-04 19:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":232767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:16:20] local.INFO: GPS data processed {"connection_id":232767,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:16:20] local.INFO: Acknowledgment sent {"connection_id":232767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:16:23] local.INFO: TCP Data received {"connection_id":232767,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ceef700100000000000000000000000000..."} 
[2026-11-04 19:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ceef700100000000000000000000000000..."} 
[2026-11-04 19:16:23] local.INFO: Processing buffer {"connection_id":232767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ceef700100000000000000000000000000..."} 
[2026-11-04 19:16:23] local.INFO: Packet analysis {"connection_id":232767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:16:23] local.INFO: Extracted packet for processing {"connection_id":232767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:16: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-11-04 19: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-11-04 19:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212770304001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4815966450889762816,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793799942000,"timestamp_ms":1793799942000,"timestamp_seconds":1793799942,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ceef70"} 
[2026-11-04 19:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 19:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":232767,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:16:23] local.INFO: GPS data processed {"connection_id":232767,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:16:23] local.INFO: Acknowledgment sent {"connection_id":232767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:16:49] local.INFO: TCP Data received {"connection_id":229602,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:49] local.INFO: Processing buffer {"connection_id":229602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:16:49] local.INFO: Packet analysis {"connection_id":229602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:16:49] local.INFO: Extracted packet for processing {"connection_id":229602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:16:49] 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-11-04 19:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:16:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:16:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":229602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:16:49] local.INFO: GPS data processed {"connection_id":229602,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:16:49] local.INFO: Acknowledgment sent {"connection_id":229602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:17:06] local.INFO: TCP Data received {"connection_id":229129,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:17:06] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:17:06] local.INFO: IMEI packet received {"connection_id":229129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":229129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:17:11] local.INFO: TCP Data received {"connection_id":229129,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:17:11] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:17:11] local.INFO: IMEI packet received {"connection_id":229129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":229129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:17:12] local.INFO: TCP Data received {"connection_id":230909,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:17:12] local.INFO: Processing buffer {"connection_id":230909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:17:12] local.INFO: IMEI packet received {"connection_id":230909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":230909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:17:12] local.INFO: TCP Data received {"connection_id":229129,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:17:12] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:17:12] local.INFO: Packet analysis {"connection_id":229129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:17:12] local.INFO: Extracted packet for processing {"connection_id":229129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:17: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-11-04 19: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-11-04 19:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:17:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":229129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:17:12] local.INFO: GPS data processed {"connection_id":229129,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:17:12] local.INFO: Acknowledgment sent {"connection_id":229129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:17:13] local.INFO: TCP Data received {"connection_id":230909,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:17:13] local.INFO: Processing buffer {"connection_id":230909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:17:13] local.INFO: IMEI packet received {"connection_id":230909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":230909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:17:14] local.INFO: TCP Data received {"connection_id":230909,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ce7a40012cbd4dc0076bd980003c009a30..."} 
[2026-11-04 19:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ce7a40012cbd4dc0076bd980003c009a30..."} 
[2026-11-04 19:17:14] local.INFO: Processing buffer {"connection_id":230909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ce7a40012cbd4dc0076bd980003c009a30..."} 
[2026-11-04 19:17:14] local.INFO: Packet analysis {"connection_id":230909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:17:14] local.INFO: Extracted packet for processing {"connection_id":230909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:17:14] local.INFO: GPS Element Parsed {"raw_longitude":750603712,"raw_latitude":124508544,"longitude_deg":75.0603712,"latitude_deg":12.4508544,"altitude":60,"angle":154,"satellites":48,"speed":57,"hex_longitude":"2cbd4dc0","hex_latitude":"076bd980","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,122,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793799912000,"timestamp_ms":1793799912000,"timestamp_seconds":1793799912,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ce7a40"} 
[2026-11-04 19:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:17:14] 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-11-04 19: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-11-04 19:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"122":206,"27":54016,"24":57,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16]} 
[2026-11-04 19:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:17:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-04 19:17:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:17:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_122":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-11-04 19:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":230909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:17:14] local.INFO: GPS data processed {"connection_id":230909,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:17:14] local.INFO: Acknowledgment sent {"connection_id":230909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:17:15] local.INFO: TCP Data received {"connection_id":230909,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ceb8c0012cbd88c0076b9268003f008530..."} 
[2026-11-04 19:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ceb8c0012cbd88c0076b9268003f008530..."} 
[2026-11-04 19:17:15] local.INFO: Processing buffer {"connection_id":230909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ceb8c0012cbd88c0076b9268003f008530..."} 
[2026-11-04 19:17:15] local.INFO: Packet analysis {"connection_id":230909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:17:15] local.INFO: Extracted packet for processing {"connection_id":230909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:17:15] local.INFO: GPS Element Parsed {"raw_longitude":750618816,"raw_latitude":124490344,"longitude_deg":75.0618816,"latitude_deg":12.4490344,"altitude":63,"angle":133,"satellites":48,"speed":58,"hex_longitude":"2cbd88c0","hex_latitude":"076b9268","is_valid_coordinates":true} 
[2026-11-04 19:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212777472001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4805974089227730944,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793799928000,"timestamp_ms":1793799928000,"timestamp_seconds":1793799928,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ceb8c0"} 
[2026-11-04 19:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:17:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 19:17:15] 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-11-04 19:17:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:17:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212777472001,"66":27767,"122":206,"27":54016,"24":58,"16":20804074257514496,"44":-4805974089227730944},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-11-04 19:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212777472001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:17:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-04 19:17:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:17:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4805974089227730944,"description":"Unknown IO ID 44"} 
[2026-11-04 19:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212777472001,"power":27767,"unknown_122":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4805974089227730944}} 
[2026-11-04 19:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":230909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:17:15] local.INFO: GPS data processed {"connection_id":230909,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:17:15] local.INFO: Acknowledgment sent {"connection_id":230909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:17:44] local.INFO: TCP Data received {"connection_id":229129,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:17:44] local.INFO: Processing buffer {"connection_id":229129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:17:44] local.INFO: Packet analysis {"connection_id":229129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:17:44] local.INFO: Extracted packet for processing {"connection_id":229129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:17:44] 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-11-04 19: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-11-04 19:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:17:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:17:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":229129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:17:44] local.INFO: GPS data processed {"connection_id":229129,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:17:44] local.INFO: Acknowledgment sent {"connection_id":229129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:17:48] local.INFO: TCP Data received {"connection_id":230909,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cef740012cbdbd00076b4a980042009b32..."} 
[2026-11-04 19:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cef740012cbdbd00076b4a980042009b32..."} 
[2026-11-04 19:17:48] local.INFO: Processing buffer {"connection_id":230909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cef740012cbdbd00076b4a980042009b32..."} 
[2026-11-04 19:17:48] local.INFO: Packet analysis {"connection_id":230909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:17:48] local.INFO: Extracted packet for processing {"connection_id":230909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ce"} 
[2026-11-04 19:17:48] local.INFO: GPS Element Parsed {"raw_longitude":750632192,"raw_latitude":124471960,"longitude_deg":75.0632192,"latitude_deg":12.447196,"altitude":66,"angle":155,"satellites":50,"speed":58,"hex_longitude":"2cbdbd00","hex_latitude":"076b4a98","is_valid_coordinates":true} 
[2026-11-04 19:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212781568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4789367065606461440,"note":"Value kept but may cause issues"} 
[2026-11-04 19:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793799944000,"timestamp_ms":1793799944000,"timestamp_seconds":1793799944,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cef740"} 
[2026-11-04 19:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:17:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212781568001,"66":26984,"122":206,"27":54016,"24":58,"16":20804074257514496,"44":-4789367065606461440},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-11-04 19:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212781568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:17:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-04 19:17:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:17:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4789367065606461440,"description":"Unknown IO ID 44"} 
[2026-11-04 19:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212781568001,"power":26984,"unknown_122":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4789367065606461440}} 
[2026-11-04 19:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":230909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:17:48] local.INFO: GPS data processed {"connection_id":230909,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:17:48] local.INFO: Acknowledgment sent {"connection_id":230909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:18:06] local.INFO: TCP Data received {"connection_id":230910,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:18:06] local.INFO: Processing buffer {"connection_id":230910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:18:06] local.INFO: IMEI packet received {"connection_id":230910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":230910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:18:09] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:18:09] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:18:09] local.INFO: IMEI packet received {"connection_id":229130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":229130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:18:11] local.INFO: TCP Data received {"connection_id":230910,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:18:11] local.INFO: Processing buffer {"connection_id":230910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:18:11] local.INFO: IMEI packet received {"connection_id":230910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":230910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:18:12] local.INFO: TCP Data received {"connection_id":230910,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:18:12] local.INFO: Processing buffer {"connection_id":230910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:18:12] local.INFO: Packet analysis {"connection_id":230910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:18:12] local.INFO: Extracted packet for processing {"connection_id":230910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:18: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-11-04 19: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-11-04 19:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":230910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:18:12] local.INFO: GPS data processed {"connection_id":230910,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:18:12] local.INFO: Acknowledgment sent {"connection_id":230910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:18:13] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:18:13] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:18:13] local.INFO: IMEI packet received {"connection_id":229130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":229130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:18:14] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cf35c0012cbdcd40076af060004300b532..."} 
[2026-11-04 19:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cf35c0012cbdcd40076af060004300b532..."} 
[2026-11-04 19:18:14] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cf35c0012cbdcd40076af060004300b532..."} 
[2026-11-04 19:18:14] local.INFO: Packet analysis {"connection_id":229130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cf"} 
[2026-11-04 19:18:14] local.INFO: Extracted packet for processing {"connection_id":229130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cf"} 
[2026-11-04 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":750636352,"raw_latitude":124448864,"longitude_deg":75.0636352,"latitude_deg":12.4448864,"altitude":67,"angle":181,"satellites":50,"speed":58,"hex_longitude":"2cbdcd40","hex_latitude":"076af060","is_valid_coordinates":true} 
[2026-11-04 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212785664001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4774659998078035968,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793799960000,"timestamp_ms":1793799960000,"timestamp_seconds":1793799960,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cf35c0"} 
[2026-11-04 19:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-11-04 19:18:14] 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-11-04 19:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212785664001,"66":27821,"122":206,"27":54016,"24":58,"16":20804074257514496,"44":-4774659998078035968},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-11-04 19:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212785664001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:18:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-04 19:18:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:18:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4774659998078035968,"description":"Unknown IO ID 44"} 
[2026-11-04 19:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212785664001,"power":27821,"unknown_122":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4774659998078035968}} 
[2026-11-04 19:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":229130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:18:15] local.INFO: GPS data processed {"connection_id":229130,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:18:15] local.INFO: Acknowledgment sent {"connection_id":229130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:18:45] local.INFO: TCP Data received {"connection_id":230910,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:18:45] local.INFO: Processing buffer {"connection_id":230910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:18:45] local.INFO: Packet analysis {"connection_id":230910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:18:45] local.INFO: Extracted packet for processing {"connection_id":230910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:18: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-11-04 19: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-11-04 19:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:18:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":230910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:18:45] local.INFO: GPS data processed {"connection_id":230910,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:18:45] local.INFO: Acknowledgment sent {"connection_id":230910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:18:48] local.INFO: TCP Data received {"connection_id":229130,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cf87c8012cbdc8c0076a9540004300b632..."} 
[2026-11-04 19:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cf87c8012cbdc8c0076a9540004300b632..."} 
[2026-11-04 19:18:48] local.INFO: Processing buffer {"connection_id":229130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cf87c8012cbdc8c0076a9540004300b632..."} 
[2026-11-04 19:18:48] local.INFO: Packet analysis {"connection_id":229130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cf"} 
[2026-11-04 19:18:48] local.INFO: Extracted packet for processing {"connection_id":229130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cf"} 
[2026-11-04 19:18:48] local.INFO: GPS Element Parsed {"raw_longitude":750635200,"raw_latitude":124425536,"longitude_deg":75.06352,"latitude_deg":12.4425536,"altitude":67,"angle":182,"satellites":50,"speed":0,"hex_longitude":"2cbdc8c0","hex_latitude":"076a9540","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212789760001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4770086029712400384,"note":"Value kept but may cause issues"} 
[2026-11-04 19:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793799981000,"timestamp_ms":1793799981000,"timestamp_seconds":1793799981,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cf87c8"} 
[2026-11-04 19:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 19:18: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-11-04 19: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-11-04 19:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212789760001,"66":27713,"122":206,"27":54016,"24":0,"16":20804074257514496,"44":-4770086029712400384},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-11-04 19:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212789760001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:18:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-04 19:18:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:18:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4770086029712400384,"description":"Unknown IO ID 44"} 
[2026-11-04 19:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212789760001,"power":27713,"unknown_122":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4770086029712400384}} 
[2026-11-04 19:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":229130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:18:48] local.INFO: GPS data processed {"connection_id":229130,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:18:48] local.INFO: Acknowledgment sent {"connection_id":229130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:19:06] local.INFO: TCP Data received {"connection_id":229603,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:19:06] local.INFO: Processing buffer {"connection_id":229603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:19:06] local.INFO: IMEI packet received {"connection_id":229603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":229603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:19:08] local.INFO: TCP Data received {"connection_id":229604,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:19:08] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:19:08] local.INFO: IMEI packet received {"connection_id":229604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":229604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:19:11] local.INFO: TCP Data received {"connection_id":229603,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:19:11] local.INFO: Processing buffer {"connection_id":229603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:19:11] local.INFO: IMEI packet received {"connection_id":229603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":229603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:19:12] local.INFO: TCP Data received {"connection_id":229603,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:19:12] local.INFO: Processing buffer {"connection_id":229603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:19:12] local.INFO: Packet analysis {"connection_id":229603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:19:12] local.INFO: Extracted packet for processing {"connection_id":229603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:19:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":229603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:19:12] local.INFO: GPS data processed {"connection_id":229603,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:19:12] local.INFO: Acknowledgment sent {"connection_id":229603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:19:13] local.INFO: TCP Data received {"connection_id":229604,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:19:13] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:19:13] local.INFO: IMEI packet received {"connection_id":229604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":229604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:19:14] local.INFO: TCP Data received {"connection_id":229604,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cfb2c0012cbdcec0076a3ba0004400a732..."} 
[2026-11-04 19:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cfb2c0012cbdcec0076a3ba0004400a732..."} 
[2026-11-04 19:19:14] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cfb2c0012cbdcec0076a3ba0004400a732..."} 
[2026-11-04 19:19:14] local.INFO: Packet analysis {"connection_id":229604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cf"} 
[2026-11-04 19:19:14] local.INFO: Extracted packet for processing {"connection_id":229604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cf"} 
[2026-11-04 19:19:14] local.INFO: GPS Element Parsed {"raw_longitude":750636736,"raw_latitude":124402592,"longitude_deg":75.0636736,"latitude_deg":12.4402592,"altitude":68,"angle":167,"satellites":50,"speed":56,"hex_longitude":"2cbdcec0","hex_latitude":"076a3ba0","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212795136001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4771352667113570304,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793799992000,"timestamp_ms":1793799992000,"timestamp_seconds":1793799992,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cfb2c0"} 
[2026-11-04 19:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:19:14] 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-11-04 19: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-11-04 19:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212795136001,"66":27767,"122":206,"27":54016,"24":56,"16":20804074257514496,"44":-4771352667113570304},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-11-04 19:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212795136001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:19:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-04 19:19:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:19:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4771352667113570304,"description":"Unknown IO ID 44"} 
[2026-11-04 19:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212795136001,"power":27767,"unknown_122":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4771352667113570304}} 
[2026-11-04 19:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":229604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:19:15] local.INFO: GPS data processed {"connection_id":229604,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:19:15] local.INFO: Acknowledgment sent {"connection_id":229604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:19:44] local.INFO: TCP Data received {"connection_id":229603,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:19:44] local.INFO: Processing buffer {"connection_id":229603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6cdde00012d34c14006aa4118000a01012c..."} 
[2026-11-04 19:19:44] local.INFO: Packet analysis {"connection_id":229603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:19:44] local.INFO: Extracted packet for processing {"connection_id":229603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6cd"} 
[2026-11-04 19:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212690176001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793799872000,"timestamp_ms":1793799872000,"timestamp_seconds":1793799872,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6cdde00"} 
[2026-11-04 19:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-11-04 19:19:44] 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-11-04 19: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-11-04 19:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212690176001,"66":25615,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212690176001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:19:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212690176001,"power":25615,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":229603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:19:44] local.INFO: GPS data processed {"connection_id":229603,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:19:44] local.INFO: Acknowledgment sent {"connection_id":229603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:19:46] local.INFO: TCP Data received {"connection_id":229604,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d004c8012cbde1000769e688004600aa32..."} 
[2026-11-04 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d004c8012cbde1000769e688004600aa32..."} 
[2026-11-04 19:19:46] local.INFO: Processing buffer {"connection_id":229604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d004c8012cbde1000769e688004600aa32..."} 
[2026-11-04 19:19:46] local.INFO: Packet analysis {"connection_id":229604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:19:46] local.INFO: Extracted packet for processing {"connection_id":229604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":750641408,"raw_latitude":124380808,"longitude_deg":75.0641408,"latitude_deg":12.4380808,"altitude":70,"angle":170,"satellites":50,"speed":0,"hex_longitude":"2cbde100","hex_latitude":"0769e688","is_valid_coordinates":true} 
[2026-11-04 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212797952001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4769663817259180032,"note":"Value kept but may cause issues"} 
[2026-11-04 19:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793800013000,"timestamp_ms":1793800013000,"timestamp_seconds":1793800013,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d004c8"} 
[2026-11-04 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212797952001,"66":27821,"122":206,"27":54016,"24":0,"16":20804074257514496,"44":-4769663817259180032},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,27,24,16,44]} 
[2026-11-04 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212797952001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:19:46] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-11-04 19:19:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:19:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4769663817259180032,"description":"Unknown IO ID 44"} 
[2026-11-04 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212797952001,"power":27821,"unknown_122":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4769663817259180032}} 
[2026-11-04 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":229604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:19:46] local.INFO: GPS data processed {"connection_id":229604,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:19:46] local.INFO: Acknowledgment sent {"connection_id":229604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:20:11] local.INFO: TCP Data received {"connection_id":230911,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:11] local.INFO: Processing buffer {"connection_id":230911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:11] local.INFO: IMEI packet received {"connection_id":230911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":230911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:20:11] local.INFO: TCP Data received {"connection_id":232768,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:11] local.INFO: Processing buffer {"connection_id":232768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:11] local.INFO: IMEI packet received {"connection_id":232768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":232768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:20:11] local.INFO: TCP Data received {"connection_id":232768,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:11] local.INFO: Processing buffer {"connection_id":232768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:11] local.INFO: IMEI packet received {"connection_id":232768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":232768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:20:13] local.INFO: TCP Data received {"connection_id":230911,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:13] local.INFO: Processing buffer {"connection_id":230911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:13] local.INFO: IMEI packet received {"connection_id":230911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":230911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:20:16] local.INFO: TCP Data received {"connection_id":232768,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:16] local.INFO: Processing buffer {"connection_id":232768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:20:16] local.INFO: IMEI packet received {"connection_id":232768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":232768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:20:17] local.INFO: TCP Data received {"connection_id":232768,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:20:17] local.INFO: Processing buffer {"connection_id":232768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:20:17] local.INFO: Packet analysis {"connection_id":232768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:20:17] local.INFO: Extracted packet for processing {"connection_id":232768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:20:17] 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-11-04 19:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:20:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:20:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":232768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:20:17] local.INFO: GPS data processed {"connection_id":232768,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:20:17] local.INFO: Acknowledgment sent {"connection_id":232768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:20:18] local.INFO: TCP Data received {"connection_id":230911,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:18] local.INFO: Processing buffer {"connection_id":230911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:20:18] local.INFO: IMEI packet received {"connection_id":230911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":230911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:20:20] local.INFO: TCP Data received {"connection_id":230911,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d0e7580100000000000000000000000000..."} 
[2026-11-04 19:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d0e7580100000000000000000000000000..."} 
[2026-11-04 19:20:20] local.INFO: Processing buffer {"connection_id":230911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d0e7580100000000000000000000000000..."} 
[2026-11-04 19:20:20] local.INFO: Packet analysis {"connection_id":230911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:20:20] local.INFO: Extracted packet for processing {"connection_id":230911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:20: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-11-04 19:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212803328001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4764526898939787264,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793800071000,"timestamp_ms":1793800071000,"timestamp_seconds":1793800071,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d0e758"} 
[2026-11-04 19:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 19:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":230911,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:20:20] local.INFO: GPS data processed {"connection_id":230911,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:20:20] local.INFO: Acknowledgment sent {"connection_id":230911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:20:22] local.INFO: TCP Data received {"connection_id":232768,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:20:22] local.INFO: Processing buffer {"connection_id":232768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:20:22] local.INFO: Packet analysis {"connection_id":232768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:20:22] local.INFO: Extracted packet for processing {"connection_id":232768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:20:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:20:22] 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-11-04 19:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:20:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:20:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":232768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:20:22] local.INFO: GPS data processed {"connection_id":232768,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:20:22] local.INFO: Acknowledgment sent {"connection_id":232768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:20:23] local.INFO: TCP Data received {"connection_id":230911,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d06e40012cbe2a40076941d00041008531..."} 
[2026-11-04 19:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d06e40012cbe2a40076941d00041008531..."} 
[2026-11-04 19:20:23] local.INFO: Processing buffer {"connection_id":230911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d06e40012cbe2a40076941d00041008531..."} 
[2026-11-04 19:20:23] local.INFO: Packet analysis {"connection_id":230911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:20:23] local.INFO: Extracted packet for processing {"connection_id":230911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:20:23] local.INFO: GPS Element Parsed {"raw_longitude":750660160,"raw_latitude":124338640,"longitude_deg":75.066016,"latitude_deg":12.433864,"altitude":65,"angle":133,"satellites":49,"speed":57,"hex_longitude":"2cbe2a40","hex_latitude":"076941d0","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:20:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793800040000,"timestamp_ms":1793800040000,"timestamp_seconds":1793800040,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d06e40"} 
[2026-11-04 19:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":230911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":230911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":230911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"121":206,"27":54016,"24":57,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16]} 
[2026-11-04 19:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:20:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-04 19:20:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:20:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_121":206,"unknown_27":54016,"ignition":57,"odometer":null}} 
[2026-11-04 19:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":230911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:20:24] local.INFO: GPS data processed {"connection_id":230911,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:20:24] local.INFO: Acknowledgment sent {"connection_id":230911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:21:04] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:04] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:04] local.INFO: IMEI packet received {"connection_id":229131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":229131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:21:06] local.INFO: TCP Data received {"connection_id":232769,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:21:06] local.INFO: Processing buffer {"connection_id":232769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:21:06] local.INFO: IMEI packet received {"connection_id":232769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":232769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:21:08] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:08] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:08] local.INFO: IMEI packet received {"connection_id":229131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":229131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:21:10] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:10] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:21:10] local.INFO: IMEI packet received {"connection_id":229131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":229131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:21:11] local.INFO: TCP Data received {"connection_id":232769,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:21:11] local.INFO: Processing buffer {"connection_id":232769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:21:11] local.INFO: IMEI packet received {"connection_id":232769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":232769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:21:12] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d0c048012cbe6c40076901a0003f008931..."} 
[2026-11-04 19:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d0c048012cbe6c40076901a0003f008931..."} 
[2026-11-04 19:21:12] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d0c048012cbe6c40076901a0003f008931..."} 
[2026-11-04 19:21:12] local.INFO: Packet analysis {"connection_id":229131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:21:12] local.INFO: Extracted packet for processing {"connection_id":229131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:21:12] local.INFO: GPS Element Parsed {"raw_longitude":750677056,"raw_latitude":124322208,"longitude_deg":75.0677056,"latitude_deg":12.4322208,"altitude":63,"angle":137,"satellites":49,"speed":0,"hex_longitude":"2cbe6c40","hex_latitude":"076901a0","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212810240001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4743908856906526720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800061000,"timestamp_ms":1793800061000,"timestamp_seconds":1793800061,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d0c048"} 
[2026-11-04 19:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:21: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-11-04 19: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-11-04 19:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212810240001,"66":27745,"121":206,"27":54016,"24":0,"16":20804074257514496,"44":-4743908856906526720},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-11-04 19:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212810240001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:21:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-04 19:21:12] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4743908856906526720,"description":"Unknown IO ID 44"} 
[2026-11-04 19:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212810240001,"power":27745,"unknown_121":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4743908856906526720}} 
[2026-11-04 19:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":229131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:21:12] local.INFO: GPS data processed {"connection_id":229131,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:21:12] local.INFO: Acknowledgment sent {"connection_id":229131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:21:13] local.INFO: TCP Data received {"connection_id":232769,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:21:13] local.INFO: Processing buffer {"connection_id":232769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:21:13] local.INFO: Packet analysis {"connection_id":232769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:21:13] local.INFO: Extracted packet for processing {"connection_id":232769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:21:13] 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-11-04 19: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-11-04 19:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:21:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":232769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:21:13] local.INFO: GPS data processed {"connection_id":232769,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:21:13] local.INFO: Acknowledgment sent {"connection_id":232769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:21:15] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d0eb40012cbeae000768c6a00045007532..."} 
[2026-11-04 19:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d0eb40012cbeae000768c6a00045007532..."} 
[2026-11-04 19:21:15] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d0eb40012cbeae000768c6a00045007532..."} 
[2026-11-04 19:21:15] local.INFO: Packet analysis {"connection_id":229131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:21:15] local.INFO: Extracted packet for processing {"connection_id":229131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d0"} 
[2026-11-04 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":750693888,"raw_latitude":124307104,"longitude_deg":75.0693888,"latitude_deg":12.4307104,"altitude":69,"angle":117,"satellites":50,"speed":55,"hex_longitude":"2cbeae00","hex_latitude":"0768c6a0","is_valid_coordinates":true} 
[2026-11-04 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212815616001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4725331508447830016,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793800072000,"timestamp_ms":1793800072000,"timestamp_seconds":1793800072,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d0eb40"} 
[2026-11-04 19:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:21:15] 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-11-04 19:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212815616001,"66":27876,"121":206,"27":54016,"24":55,"16":20804074257514496,"44":-4725331508447830016},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-11-04 19:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212815616001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:21:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-04 19:21:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:21:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4725331508447830016,"description":"Unknown IO ID 44"} 
[2026-11-04 19:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212815616001,"power":27876,"unknown_121":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4725331508447830016}} 
[2026-11-04 19:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":229131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:21:15] local.INFO: GPS data processed {"connection_id":229131,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:21:15] local.INFO: Acknowledgment sent {"connection_id":229131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:21:45] local.INFO: TCP Data received {"connection_id":232769,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:21:45] local.INFO: Processing buffer {"connection_id":232769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:21:45] local.INFO: Packet analysis {"connection_id":232769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:21:45] local.INFO: Extracted packet for processing {"connection_id":232769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:21:45] 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-11-04 19:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:21:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":232769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:21:45] local.INFO: GPS data processed {"connection_id":232769,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:21:45] local.INFO: Acknowledgment sent {"connection_id":232769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:21:46] local.INFO: TCP Data received {"connection_id":229131,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d129c0012cbf03800768af28004b006732..."} 
[2026-11-04 19:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d129c0012cbf03800768af28004b006732..."} 
[2026-11-04 19:21:46] local.INFO: Processing buffer {"connection_id":229131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d129c0012cbf03800768af28004b006732..."} 
[2026-11-04 19:21:46] local.INFO: Packet analysis {"connection_id":229131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d1"} 
[2026-11-04 19:21:46] local.INFO: Extracted packet for processing {"connection_id":229131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d1"} 
[2026-11-04 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":750715776,"raw_latitude":124301096,"longitude_deg":75.0715776,"latitude_deg":12.4301096,"altitude":75,"angle":103,"satellites":50,"speed":55,"hex_longitude":"2cbf0380","hex_latitude":"0768af28","is_valid_coordinates":true} 
[2026-11-04 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212818432001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4706824528732971008,"note":"Value kept but may cause issues"} 
[2026-11-04 19:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793800088000,"timestamp_ms":1793800088000,"timestamp_seconds":1793800088,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d129c0"} 
[2026-11-04 19:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 19:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212818432001,"66":27908,"121":206,"27":54016,"24":55,"16":20804074257514496,"44":-4706824528732971008},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-11-04 19:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212818432001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:21:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-04 19:21:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4706824528732971008,"description":"Unknown IO ID 44"} 
[2026-11-04 19:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212818432001,"power":27908,"unknown_121":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4706824528732971008}} 
[2026-11-04 19:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":229131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:21:47] local.INFO: GPS data processed {"connection_id":229131,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:21:47] local.INFO: Acknowledgment sent {"connection_id":229131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:22:05] local.INFO: TCP Data received {"connection_id":229605,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:22:05] local.INFO: Processing buffer {"connection_id":229605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:22:05] local.INFO: IMEI packet received {"connection_id":229605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":229605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:22:08] local.INFO: TCP Data received {"connection_id":229606,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:22:08] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:22:08] local.INFO: IMEI packet received {"connection_id":229606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":229606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:22:11] local.INFO: TCP Data received {"connection_id":229605,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:22:11] local.INFO: Processing buffer {"connection_id":229605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:22:11] local.INFO: IMEI packet received {"connection_id":229605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:22:12] local.INFO: TCP Data received {"connection_id":229605,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:22:12] local.INFO: Processing buffer {"connection_id":229605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:22:12] local.INFO: Packet analysis {"connection_id":229605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:22:12] local.INFO: Extracted packet for processing {"connection_id":229605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:22:12] 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-11-04 19: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-11-04 19:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:22:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":229605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:22:12] local.INFO: GPS data processed {"connection_id":229605,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:22:12] local.INFO: Acknowledgment sent {"connection_id":229605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:22:13] local.INFO: TCP Data received {"connection_id":229606,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:22:13] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:22:13] local.INFO: IMEI packet received {"connection_id":229606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":229606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:22:16] local.INFO: TCP Data received {"connection_id":229606,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d16840012cbf56c007688d78004c007c32..."} 
[2026-11-04 19:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d16840012cbf56c007688d78004c007c32..."} 
[2026-11-04 19:22:16] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d16840012cbf56c007688d78004c007c32..."} 
[2026-11-04 19:22:16] local.INFO: Packet analysis {"connection_id":229606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d1"} 
[2026-11-04 19:22:16] local.INFO: Extracted packet for processing {"connection_id":229606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d1"} 
[2026-11-04 19:22:16] local.INFO: GPS Element Parsed {"raw_longitude":750737088,"raw_latitude":124292472,"longitude_deg":75.0737088,"latitude_deg":12.4292472,"altitude":76,"angle":124,"satellites":50,"speed":58,"hex_longitude":"2cbf56c0","hex_latitude":"07688d78","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212822528001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4682758418225747968,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793800104000,"timestamp_ms":1793800104000,"timestamp_seconds":1793800104,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d16840"} 
[2026-11-04 19:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 19:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212822528001,"66":27930,"121":206,"27":54016,"24":58,"16":20804074257514496,"44":-4682758418225747968},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,27,24,16,44]} 
[2026-11-04 19:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212822528001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:22:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-11-04 19:22:16] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:22:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4682758418225747968,"description":"Unknown IO ID 44"} 
[2026-11-04 19:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212822528001,"power":27930,"unknown_121":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4682758418225747968}} 
[2026-11-04 19:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":229606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:22:16] local.INFO: GPS data processed {"connection_id":229606,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:22:16] local.INFO: Acknowledgment sent {"connection_id":229606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:22:43] local.INFO: TCP Data received {"connection_id":229605,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:22:43] local.INFO: Processing buffer {"connection_id":229605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:22:43] local.INFO: Packet analysis {"connection_id":229605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:22:43] local.INFO: Extracted packet for processing {"connection_id":229605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:22:43] 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-11-04 19: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-11-04 19:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":229605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:22:43] local.INFO: GPS data processed {"connection_id":229605,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:22:43] local.INFO: Acknowledgment sent {"connection_id":229605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:22:48] local.INFO: TCP Data received {"connection_id":229606,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d42b48012cc22b000765ea18004e009b32..."} 
[2026-11-04 19:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d42b48012cc22b000765ea18004e009b32..."} 
[2026-11-04 19:22:48] local.INFO: Processing buffer {"connection_id":229606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d42b48012cc22b000765ea18004e009b32..."} 
[2026-11-04 19:22:48] local.INFO: Packet analysis {"connection_id":229606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:22:48] local.INFO: Extracted packet for processing {"connection_id":229606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:22:48] local.INFO: GPS Element Parsed {"raw_longitude":750922496,"raw_latitude":124119576,"longitude_deg":75.0922496,"latitude_deg":12.4119576,"altitude":78,"angle":155,"satellites":50,"speed":0,"hex_longitude":"2cc22b00","hex_latitude":"0765ea18","is_valid_coordinates":true} 
[2026-11-04 19:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212867584001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4466515267408791552,"note":"Value kept but may cause issues"} 
[2026-11-04 19:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793800285000,"timestamp_ms":1793800285000,"timestamp_seconds":1793800285,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d42b48"} 
[2026-11-04 19:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-11-04 19:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212867584001,"66":27680,"37":206,"27":54016,"24":0,"16":20804074257514496,"44":-4466515267408791552},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-11-04 19:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212867584001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:22:48] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 19:22:48] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:22:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4466515267408791552,"description":"Unknown IO ID 44"} 
[2026-11-04 19:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212867584001,"power":27680,"unknown_37":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4466515267408791552}} 
[2026-11-04 19:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":229606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:22:48] local.INFO: GPS data processed {"connection_id":229606,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:22:48] local.INFO: Acknowledgment sent {"connection_id":229606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:23:06] local.INFO: TCP Data received {"connection_id":232770,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:23:06] local.INFO: Processing buffer {"connection_id":232770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:23:06] local.INFO: IMEI packet received {"connection_id":232770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":232770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:23:06] local.INFO: TCP Data received {"connection_id":232771,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:06] local.INFO: Processing buffer {"connection_id":232771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:06] local.INFO: IMEI packet received {"connection_id":232771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":232771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:23:08] local.INFO: TCP Data received {"connection_id":232771,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:08] local.INFO: Processing buffer {"connection_id":232771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:08] local.INFO: IMEI packet received {"connection_id":232771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":232771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:23:11] local.INFO: TCP Data received {"connection_id":232770,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:23:11] local.INFO: Processing buffer {"connection_id":232770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:23:11] local.INFO: IMEI packet received {"connection_id":232770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":232770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:23:12] local.INFO: TCP Data received {"connection_id":232770,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:23:12] local.INFO: Processing buffer {"connection_id":232770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:23:12] local.INFO: Packet analysis {"connection_id":232770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:23:12] local.INFO: Extracted packet for processing {"connection_id":232770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:23:12] 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-11-04 19: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-11-04 19:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:23:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":232770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:23:12] local.INFO: GPS data processed {"connection_id":232770,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:23:12] local.INFO: Acknowledgment sent {"connection_id":232770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:23:13] local.INFO: TCP Data received {"connection_id":232771,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:13] local.INFO: Processing buffer {"connection_id":232771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:23:13] local.INFO: IMEI packet received {"connection_id":232771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":232771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:23:14] local.INFO: TCP Data received {"connection_id":232771,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d45640012cc256800765a9b0004f008133..."} 
[2026-11-04 19:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d45640012cc256800765a9b0004f008133..."} 
[2026-11-04 19:23:14] local.INFO: Processing buffer {"connection_id":232771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d45640012cc256800765a9b0004f008133..."} 
[2026-11-04 19:23:14] local.INFO: Packet analysis {"connection_id":232771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:23:14] local.INFO: Extracted packet for processing {"connection_id":232771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":750933632,"raw_latitude":124103088,"longitude_deg":75.0933632,"latitude_deg":12.4103088,"altitude":79,"angle":129,"satellites":51,"speed":37,"hex_longitude":"2cc25680","hex_latitude":"0765a9b0","is_valid_coordinates":true} 
[2026-11-04 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212872960001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4455467374578362368,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793800296000,"timestamp_ms":1793800296000,"timestamp_seconds":1793800296,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d45640"} 
[2026-11-04 19:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-11-04 19:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1026,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212872960001,"66":27887,"37":206,"27":54016,"24":37,"16":20804074257514496,"44":-4455467374578362368},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,27,24,16,44]} 
[2026-11-04 19:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212872960001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:23:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-11-04 19:23:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:23:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4455467374578362368,"description":"Unknown IO ID 44"} 
[2026-11-04 19:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212872960001,"power":27887,"unknown_37":206,"unknown_27":54016,"ignition":37,"odometer":null,"unknown_44":-4455467374578362368}} 
[2026-11-04 19:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":232771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:23:15] local.INFO: GPS data processed {"connection_id":232771,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:23:15] local.INFO: Acknowledgment sent {"connection_id":232771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:23:44] local.INFO: TCP Data received {"connection_id":232770,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:23:44] local.INFO: Processing buffer {"connection_id":232770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:23:44] local.INFO: Packet analysis {"connection_id":232770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:23:44] local.INFO: Extracted packet for processing {"connection_id":232770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:23:44] 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-11-04 19: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-11-04 19:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:23:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:23:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":232770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:23:44] local.INFO: GPS data processed {"connection_id":232770,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:23:44] local.INFO: Acknowledgment sent {"connection_id":232770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:23:47] local.INFO: TCP Data received {"connection_id":232771,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d4a078012cc29180076571d00052008c31..."} 
[2026-11-04 19:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d4a078012cc29180076571d00052008c31..."} 
[2026-11-04 19:23:47] local.INFO: Processing buffer {"connection_id":232771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d4a078012cc29180076571d00052008c31..."} 
[2026-11-04 19:23:47] local.INFO: Packet analysis {"connection_id":232771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:23:47] local.INFO: Extracted packet for processing {"connection_id":232771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:23:47] local.INFO: GPS Element Parsed {"raw_longitude":750948736,"raw_latitude":124088784,"longitude_deg":75.0948736,"latitude_deg":12.4088784,"altitude":82,"angle":140,"satellites":49,"speed":48,"hex_longitude":"2cc29180","hex_latitude":"076571d0","is_valid_coordinates":true} 
[2026-11-04 19:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212875776001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4443223213095669760,"note":"Value kept but may cause issues"} 
[2026-11-04 19:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793800315000,"timestamp_ms":1793800315000,"timestamp_seconds":1793800315,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d4a078"} 
[2026-11-04 19:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 19:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212875776001,"66":27995,"228":206,"27":54016,"24":48,"16":20804074257514496,"44":-4443223213095669760},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-11-04 19:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212875776001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:23:47] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-11-04 19:23:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:23:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4443223213095669760,"description":"Unknown IO ID 44"} 
[2026-11-04 19:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212875776001,"power":27995,"unknown_228":206,"unknown_27":54016,"ignition":48,"odometer":null,"unknown_44":-4443223213095669760}} 
[2026-11-04 19:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":232771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:23:47] local.INFO: GPS data processed {"connection_id":232771,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:23:47] local.INFO: Acknowledgment sent {"connection_id":232771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:24:08] local.INFO: TCP Data received {"connection_id":229607,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:08] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:08] local.INFO: IMEI packet received {"connection_id":229607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":229607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:24:10] local.INFO: TCP Data received {"connection_id":229607,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:10] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:10] local.INFO: IMEI packet received {"connection_id":229607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":229607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:24:11] local.INFO: TCP Data received {"connection_id":230912,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:24:11] local.INFO: Processing buffer {"connection_id":230912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:24:11] local.INFO: IMEI packet received {"connection_id":230912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":230912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:24:13] local.INFO: TCP Data received {"connection_id":229607,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:13] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:24:13] local.INFO: IMEI packet received {"connection_id":229607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":229607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:24:14] local.INFO: TCP Data received {"connection_id":229607,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d4f280012cc2c8c007652a880051009232..."} 
[2026-11-04 19:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d4f280012cc2c8c007652a880051009232..."} 
[2026-11-04 19:24:14] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d4f280012cc2c8c007652a880051009232..."} 
[2026-11-04 19:24:14] local.INFO: Packet analysis {"connection_id":229607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:24:14] local.INFO: Extracted packet for processing {"connection_id":229607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d4"} 
[2026-11-04 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":750962880,"raw_latitude":124070536,"longitude_deg":75.096288,"latitude_deg":12.4070536,"altitude":81,"angle":146,"satellites":50,"speed":0,"hex_longitude":"2cc2c8c0","hex_latitude":"07652a88","is_valid_coordinates":true} 
[2026-11-04 19:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212880640001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426616189473402880,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793800336000,"timestamp_ms":1793800336000,"timestamp_seconds":1793800336,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d4f280"} 
[2026-11-04 19:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-11-04 19:24: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-11-04 19:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212880640001,"66":27908,"228":206,"27":54016,"24":0,"16":20804074257514496,"44":-4426616189473402880},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-11-04 19:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212880640001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:24:14] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-11-04 19:24:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:24:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426616189473402880,"description":"Unknown IO ID 44"} 
[2026-11-04 19:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212880640001,"power":27908,"unknown_228":206,"unknown_27":54016,"ignition":0,"odometer":null,"unknown_44":-4426616189473402880}} 
[2026-11-04 19:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":229607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:24:14] local.INFO: GPS data processed {"connection_id":229607,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:24:14] local.INFO: Acknowledgment sent {"connection_id":229607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:24:16] local.INFO: TCP Data received {"connection_id":230912,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:24:16] local.INFO: Processing buffer {"connection_id":230912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:24:16] local.INFO: IMEI packet received {"connection_id":230912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":230912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:24:17] local.INFO: TCP Data received {"connection_id":230912,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:24:17] local.INFO: Processing buffer {"connection_id":230912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:24:17] local.INFO: Packet analysis {"connection_id":230912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:24:17] local.INFO: Extracted packet for processing {"connection_id":230912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:24:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:24:17] 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-11-04 19: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-11-04 19:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:24:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:24:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":230912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:24:17] local.INFO: GPS data processed {"connection_id":230912,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:24:17] local.INFO: Acknowledgment sent {"connection_id":230912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:24:22] local.INFO: TCP Data received {"connection_id":230912,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:24:22] local.INFO: Processing buffer {"connection_id":230912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d275c8012d34c14006aa4118000a01012b..."} 
[2026-11-04 19:24:22] local.INFO: Packet analysis {"connection_id":230912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:24:22] local.INFO: Extracted packet for processing {"connection_id":230912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d2"} 
[2026-11-04 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212767232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793800173000,"timestamp_ms":1793800173000,"timestamp_seconds":1793800173,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d275c8"} 
[2026-11-04 19:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-11-04 19:24:22] 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-11-04 19: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-11-04 19:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212767232001,"66":25549,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212767232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:24:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:24:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212767232001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":230912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:24:22] local.INFO: GPS data processed {"connection_id":230912,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:24:22] local.INFO: Acknowledgment sent {"connection_id":230912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:24:46] local.INFO: TCP Data received {"connection_id":229607,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d52160012cc2d9000764d2d8004c00b431..."} 
[2026-11-04 19:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d52160012cc2d9000764d2d8004c00b431..."} 
[2026-11-04 19:24:46] local.INFO: Processing buffer {"connection_id":229607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d52160012cc2d9000764d2d8004c00b431..."} 
[2026-11-04 19:24:46] local.INFO: Packet analysis {"connection_id":229607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:24:46] local.INFO: Extracted packet for processing {"connection_id":229607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":750967040,"raw_latitude":124048088,"longitude_deg":75.096704,"latitude_deg":12.4048088,"altitude":76,"angle":180,"satellites":49,"speed":58,"hex_longitude":"2cc2d900","hex_latitude":"0764d2d8","is_valid_coordinates":true} 
[2026-11-04 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212886016001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4411064697014810624,"note":"Value kept but may cause issues"} 
[2026-11-04 19:24:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793800348000,"timestamp_ms":1793800348000,"timestamp_seconds":1793800348,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d52160"} 
[2026-11-04 19:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:24:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 19:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212886016001,"66":27821,"228":206,"27":54016,"24":58,"16":20804074257514496,"44":-4411064697014810624},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-11-04 19:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212886016001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:24:46] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-11-04 19:24:46] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4411064697014810624,"description":"Unknown IO ID 44"} 
[2026-11-04 19:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212886016001,"power":27821,"unknown_228":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4411064697014810624}} 
[2026-11-04 19:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":229607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:24:46] local.INFO: GPS data processed {"connection_id":229607,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:24:46] local.INFO: Acknowledgment sent {"connection_id":229607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:25:06] local.INFO: TCP Data received {"connection_id":230913,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:25:06] local.INFO: Processing buffer {"connection_id":230913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:25:06] local.INFO: IMEI packet received {"connection_id":230913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":230913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:25:08] local.INFO: TCP Data received {"connection_id":232772,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:25:08] local.INFO: Processing buffer {"connection_id":232772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:25:08] local.INFO: IMEI packet received {"connection_id":232772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":232772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:25:11] local.INFO: TCP Data received {"connection_id":230913,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:25:11] local.INFO: Processing buffer {"connection_id":230913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:25:11] local.INFO: IMEI packet received {"connection_id":230913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":230913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:25:12] local.INFO: TCP Data received {"connection_id":230913,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:25:12] local.INFO: Processing buffer {"connection_id":230913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:25:12] local.INFO: Packet analysis {"connection_id":230913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:25:12] local.INFO: Extracted packet for processing {"connection_id":230913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":230913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:25:12] local.INFO: GPS data processed {"connection_id":230913,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:25:12] local.INFO: Acknowledgment sent {"connection_id":230913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:25:13] local.INFO: TCP Data received {"connection_id":232772,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:25:13] local.INFO: Processing buffer {"connection_id":232772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:25:13] local.INFO: IMEI packet received {"connection_id":232772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":232772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:25:15] local.INFO: TCP Data received {"connection_id":232772,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d55fe0012cc2e2c0076479700050009e32..."} 
[2026-11-04 19:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d55fe0012cc2e2c0076479700050009e32..."} 
[2026-11-04 19:25:15] local.INFO: Processing buffer {"connection_id":232772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d55fe0012cc2e2c0076479700050009e32..."} 
[2026-11-04 19:25:15] local.INFO: Packet analysis {"connection_id":232772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:25:15] local.INFO: Extracted packet for processing {"connection_id":232772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:25:15] local.INFO: GPS Element Parsed {"raw_longitude":750969536,"raw_latitude":124025200,"longitude_deg":75.0969536,"latitude_deg":12.40252,"altitude":80,"angle":158,"satellites":50,"speed":56,"hex_longitude":"2cc2e2c0","hex_latitude":"07647970","is_valid_coordinates":true} 
[2026-11-04 19:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212889088001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406490728649009152,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793800364000,"timestamp_ms":1793800364000,"timestamp_seconds":1793800364,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d55fe0"} 
[2026-11-04 19:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 19:25:15] 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-11-04 19:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212889088001,"66":27832,"228":206,"27":54016,"24":56,"16":20804074257514496,"44":-4406490728649009152},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-11-04 19:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212889088001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:25:15] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-11-04 19:25:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:25:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406490728649009152,"description":"Unknown IO ID 44"} 
[2026-11-04 19:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212889088001,"power":27832,"unknown_228":206,"unknown_27":54016,"ignition":56,"odometer":null,"unknown_44":-4406490728649009152}} 
[2026-11-04 19:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":232772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:25:15] local.INFO: GPS data processed {"connection_id":232772,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:25:15] local.INFO: Acknowledgment sent {"connection_id":232772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:25:43] local.INFO: TCP Data received {"connection_id":230913,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:25:43] local.INFO: Processing buffer {"connection_id":230913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:25:43] local.INFO: Packet analysis {"connection_id":230913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:25:43] local.INFO: Extracted packet for processing {"connection_id":230913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 19:25: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-11-04 19: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-11-04 19:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":230913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:25:43] local.INFO: GPS data processed {"connection_id":230913,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:25:43] local.INFO: Acknowledgment sent {"connection_id":230913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:25:47] local.INFO: TCP Data received {"connection_id":232772,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d59e60012cc2f80007642168005000b232..."} 
[2026-11-04 19:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d59e60012cc2f80007642168005000b232..."} 
[2026-11-04 19:25:47] local.INFO: Processing buffer {"connection_id":232772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d59e60012cc2f80007642168005000b232..."} 
[2026-11-04 19:25:47] local.INFO: Packet analysis {"connection_id":232772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:25:47] local.INFO: Extracted packet for processing {"connection_id":232772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":750974976,"raw_latitude":124002664,"longitude_deg":75.0974976,"latitude_deg":12.4002664,"altitude":80,"angle":178,"satellites":50,"speed":60,"hex_longitude":"2cc2f800","hex_latitude":"07642168","is_valid_coordinates":true} 
[2026-11-04 19:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212893184001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4403746347631939584,"note":"Value kept but may cause issues"} 
[2026-11-04 19:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793800380000,"timestamp_ms":1793800380000,"timestamp_seconds":1793800380,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d59e60"} 
[2026-11-04 19:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 19:25:47] 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-11-04 19:25:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":232772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":232772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":232772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212893184001,"66":27745,"228":206,"27":54016,"24":60,"16":20804074257514496,"44":-4403746347631939584},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,27,24,16,44]} 
[2026-11-04 19:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212893184001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:25:47] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-11-04 19:25:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:25:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4403746347631939584,"description":"Unknown IO ID 44"} 
[2026-11-04 19:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212893184001,"power":27745,"unknown_228":206,"unknown_27":54016,"ignition":60,"odometer":null,"unknown_44":-4403746347631939584}} 
[2026-11-04 19:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":232772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:25:47] local.INFO: GPS data processed {"connection_id":232772,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:25:47] local.INFO: Acknowledgment sent {"connection_id":232772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:26:05] local.INFO: TCP Data received {"connection_id":232773,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:26:05] local.INFO: Processing buffer {"connection_id":232773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:26:05] local.INFO: IMEI packet received {"connection_id":232773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":232773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:26:11] local.INFO: TCP Data received {"connection_id":232773,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:26:11] local.INFO: Processing buffer {"connection_id":232773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:26:11] local.INFO: IMEI packet received {"connection_id":232773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":232773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:26:12] local.INFO: TCP Data received {"connection_id":232773,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:26:12] local.INFO: Processing buffer {"connection_id":232773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:26:12] local.INFO: Packet analysis {"connection_id":232773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:26:12] local.INFO: Extracted packet for processing {"connection_id":232773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:26:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 19:26: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-11-04 19: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-11-04 19:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:26:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":232773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:26:12] local.INFO: GPS data processed {"connection_id":232773,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:26:12] local.INFO: Acknowledgment sent {"connection_id":232773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:26:12] local.INFO: TCP Data received {"connection_id":232774,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:12] local.INFO: Processing buffer {"connection_id":232774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:12] local.INFO: IMEI packet received {"connection_id":232774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":232774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:26:13] local.INFO: TCP Data received {"connection_id":232774,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:13] local.INFO: Processing buffer {"connection_id":232774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:13] local.INFO: IMEI packet received {"connection_id":232774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":232774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:26:18] local.INFO: TCP Data received {"connection_id":232774,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:18] local.INFO: Processing buffer {"connection_id":232774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:26:18] local.INFO: IMEI packet received {"connection_id":232774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":232774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:26:19] local.INFO: TCP Data received {"connection_id":232774,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d5dce0012cc2e4800763c808004e00c531..."} 
[2026-11-04 19:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d5dce0012cc2e4800763c808004e00c531..."} 
[2026-11-04 19:26:19] local.INFO: Processing buffer {"connection_id":232774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d5dce0012cc2e4800763c808004e00c531..."} 
[2026-11-04 19:26:19] local.INFO: Packet analysis {"connection_id":232774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:26:19] local.INFO: Extracted packet for processing {"connection_id":232774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d5"} 
[2026-11-04 19:26:19] local.INFO: GPS Element Parsed {"raw_longitude":750969984,"raw_latitude":123979784,"longitude_deg":75.0969984,"latitude_deg":12.3979784,"altitude":78,"angle":197,"satellites":49,"speed":57,"hex_longitude":"2cc2e480","hex_latitude":"0763c808","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212897280001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4397765004382607360,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793800396000,"timestamp_ms":1793800396000,"timestamp_seconds":1793800396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d5dce0"} 
[2026-11-04 19:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212897280001,"66":27626,"98":206,"27":54016,"24":57,"16":20804074257514496,"44":-4397765004382607360},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,27,24,16,44]} 
[2026-11-04 19:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212897280001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:26:19] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 19:26:19] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4397765004382607360,"description":"Unknown IO ID 44"} 
[2026-11-04 19:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212897280001,"power":27626,"unknown_98":206,"unknown_27":54016,"ignition":57,"odometer":null,"unknown_44":-4397765004382607360}} 
[2026-11-04 19:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":232774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:26:19] local.INFO: GPS data processed {"connection_id":232774,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:26:19] local.INFO: Acknowledgment sent {"connection_id":232774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:26:24] local.INFO: TCP Data received {"connection_id":232774,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d61b60012cc2d90007636df8005000b032..."} 
[2026-11-04 19:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d61b60012cc2d90007636df8005000b032..."} 
[2026-11-04 19:26:24] local.INFO: Processing buffer {"connection_id":232774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d61b60012cc2d90007636df8005000b032..."} 
[2026-11-04 19:26:24] local.INFO: Packet analysis {"connection_id":232774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:26:24] local.INFO: Extracted packet for processing {"connection_id":232774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":750967040,"raw_latitude":123956728,"longitude_deg":75.096704,"latitude_deg":12.3956728,"altitude":80,"angle":176,"satellites":50,"speed":58,"hex_longitude":"2cc2d900","hex_latitude":"07636df8","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212901376001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4403253766434322432,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793800412000,"timestamp_ms":1793800412000,"timestamp_seconds":1793800412,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d61b60"} 
[2026-11-04 19:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 19:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212901376001,"66":27800,"98":206,"27":54016,"24":58,"16":20804074257514496,"44":-4403253766434322432},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,27,24,16,44]} 
[2026-11-04 19:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212901376001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-11-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:26:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4403253766434322432,"description":"Unknown IO ID 44"} 
[2026-11-04 19:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212901376001,"power":27800,"unknown_98":206,"unknown_27":54016,"ignition":58,"odometer":null,"unknown_44":-4403253766434322432}} 
[2026-11-04 19:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":232774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:26:24] local.INFO: GPS data processed {"connection_id":232774,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:26:24] local.INFO: Acknowledgment sent {"connection_id":232774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:26:43] local.INFO: TCP Data received {"connection_id":232773,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:26:43] local.INFO: Processing buffer {"connection_id":232773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:26:43] local.INFO: Packet analysis {"connection_id":232773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:26:43] local.INFO: Extracted packet for processing {"connection_id":232773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 19:26: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-11-04 19: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-11-04 19:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:26:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:26:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":232773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:26:43] local.INFO: GPS data processed {"connection_id":232773,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:26:43] local.INFO: Acknowledgment sent {"connection_id":232773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:27:06] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:27:06] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:27:06] local.INFO: IMEI packet received {"connection_id":229132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":229132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:27:08] local.INFO: TCP Data received {"connection_id":229608,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:27:08] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:27:08] local.INFO: IMEI packet received {"connection_id":229608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":229608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:27:11] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:27:11] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:27:11] local.INFO: IMEI packet received {"connection_id":229132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":229132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:27:12] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:27:12] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:27:12] local.INFO: Packet analysis {"connection_id":229132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:27:12] local.INFO: Extracted packet for processing {"connection_id":229132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:27:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:27:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":229132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:27:12] local.INFO: GPS data processed {"connection_id":229132,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:27:12] local.INFO: Acknowledgment sent {"connection_id":229132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:27:18] local.INFO: TCP Data received {"connection_id":229608,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:27:18] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:27:18] local.INFO: IMEI packet received {"connection_id":229608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":229608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:27:27] local.INFO: TCP Data received {"connection_id":229608,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d659e0012cc2f180076319b00051008831..."} 
[2026-11-04 19:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d659e0012cc2f180076319b00051008831..."} 
[2026-11-04 19:27:27] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d659e0012cc2f180076319b00051008831..."} 
[2026-11-04 19:27:27] local.INFO: Packet analysis {"connection_id":229608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:27:27] local.INFO: Extracted packet for processing {"connection_id":229608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":750973312,"raw_latitude":123935152,"longitude_deg":75.0973312,"latitude_deg":12.3935152,"altitude":81,"angle":136,"satellites":49,"speed":53,"hex_longitude":"2cc2f180","hex_latitude":"076319b0","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212905472001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406490728672397312,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1793800428000,"timestamp_ms":1793800428000,"timestamp_seconds":1793800428,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d659e0"} 
[2026-11-04 19:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 19:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":229608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":229608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":229608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212905472001,"66":27745,"227":206,"27":54016,"24":53,"16":20804074257514496,"44":-4406490728672397312},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-11-04 19:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212905472001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:27:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406490728672397312,"description":"Unknown IO ID 44"} 
[2026-11-04 19:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212905472001,"power":27745,"unknown_227":206,"unknown_27":54016,"ignition":53,"odometer":null,"unknown_44":-4406490728672397312}} 
[2026-11-04 19:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":229608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:27:27] local.INFO: GPS data processed {"connection_id":229608,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:27:27] local.INFO: Acknowledgment sent {"connection_id":229608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:27:44] local.INFO: TCP Data received {"connection_id":229132,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:27:44] local.INFO: Processing buffer {"connection_id":229132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:27:44] local.INFO: Packet analysis {"connection_id":229132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:27:44] local.INFO: Extracted packet for processing {"connection_id":229132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:27:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:27:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":229132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:27:44] local.INFO: GPS data processed {"connection_id":229132,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:27:44] local.INFO: Acknowledgment sent {"connection_id":229132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:27:54] local.INFO: TCP Data received {"connection_id":229608,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d69860012cc3454007630348004e005f33..."} 
[2026-11-04 19:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d69860012cc3454007630348004e005f33..."} 
[2026-11-04 19:27:54] local.INFO: Processing buffer {"connection_id":229608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d69860012cc3454007630348004e005f33..."} 
[2026-11-04 19:27:54] local.INFO: Packet analysis {"connection_id":229608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:27:54] local.INFO: Extracted packet for processing {"connection_id":229608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:27:54] local.INFO: GPS Element Parsed {"raw_longitude":750994752,"raw_latitude":123929416,"longitude_deg":75.0994752,"latitude_deg":12.3929416,"altitude":78,"angle":95,"satellites":51,"speed":55,"hex_longitude":"2cc34540","hex_latitude":"07630348","is_valid_coordinates":true} 
[2026-11-04 19:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212909568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4399594591748509696,"note":"Value kept but may cause issues"} 
[2026-11-04 19:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793800444000,"timestamp_ms":1793800444000,"timestamp_seconds":1793800444,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d69860"} 
[2026-11-04 19:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212909568001,"66":27800,"227":206,"27":54016,"24":55,"16":20804074257514496,"44":-4399594591748509696},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-11-04 19:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212909568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:27:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 19:27:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:27:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4399594591748509696,"description":"Unknown IO ID 44"} 
[2026-11-04 19:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212909568001,"power":27800,"unknown_227":206,"unknown_27":54016,"ignition":55,"odometer":null,"unknown_44":-4399594591748509696}} 
[2026-11-04 19:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":229608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:27:54] local.INFO: GPS data processed {"connection_id":229608,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:27:54] local.INFO: Acknowledgment sent {"connection_id":229608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:28:08] local.INFO: TCP Data received {"connection_id":230914,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:08] local.INFO: Processing buffer {"connection_id":230914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:08] local.INFO: IMEI packet received {"connection_id":230914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":230914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:28:10] local.INFO: TCP Data received {"connection_id":230914,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:10] local.INFO: Processing buffer {"connection_id":230914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:10] local.INFO: IMEI packet received {"connection_id":230914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":230914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:28:11] local.INFO: TCP Data received {"connection_id":230915,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:28:11] local.INFO: Processing buffer {"connection_id":230915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:28:11] local.INFO: IMEI packet received {"connection_id":230915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":230915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:28:13] local.INFO: TCP Data received {"connection_id":230914,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:13] local.INFO: Processing buffer {"connection_id":230914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:28:13] local.INFO: IMEI packet received {"connection_id":230914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":230914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:28:14] local.INFO: TCP Data received {"connection_id":230914,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d6d6e0012cc386000762cee00048009f33..."} 
[2026-11-04 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d6d6e0012cc386000762cee00048009f33..."} 
[2026-11-04 19:28:14] local.INFO: Processing buffer {"connection_id":230914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d6d6e0012cc386000762cee00048009f33..."} 
[2026-11-04 19:28:14] local.INFO: Packet analysis {"connection_id":230914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:28:14] local.INFO: Extracted packet for processing {"connection_id":230914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d6"} 
[2026-11-04 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":751011328,"raw_latitude":123916000,"longitude_deg":75.1011328,"latitude_deg":12.3916,"altitude":72,"angle":159,"satellites":51,"speed":59,"hex_longitude":"2cc38600","hex_latitude":"0762cee0","is_valid_coordinates":true} 
[2026-11-04 19:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212913664001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4376021062450460672,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793800460000,"timestamp_ms":1793800460000,"timestamp_seconds":1793800460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d6d6e0"} 
[2026-11-04 19:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 19:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:28:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212913664001,"66":27843,"227":206,"27":54016,"24":59,"16":20804074257514496,"44":-4376021062450460672},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,27,24,16,44]} 
[2026-11-04 19:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212913664001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:28:14] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-11-04 19:28:14] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:28:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4376021062450460672,"description":"Unknown IO ID 44"} 
[2026-11-04 19:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212913664001,"power":27843,"unknown_227":206,"unknown_27":54016,"ignition":59,"odometer":null,"unknown_44":-4376021062450460672}} 
[2026-11-04 19:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":230914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:28:14] local.INFO: GPS data processed {"connection_id":230914,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:28:14] local.INFO: Acknowledgment sent {"connection_id":230914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:28:16] local.INFO: TCP Data received {"connection_id":230915,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:28:16] local.INFO: Processing buffer {"connection_id":230915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:28:16] local.INFO: IMEI packet received {"connection_id":230915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":230915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:28:17] local.INFO: TCP Data received {"connection_id":230915,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:28:17] local.INFO: Processing buffer {"connection_id":230915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:28:17] local.INFO: Packet analysis {"connection_id":230915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:17] local.INFO: Extracted packet for processing {"connection_id":230915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":205,"data_length":795,"current_offset":136} 
[2026-11-04 19:28: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-11-04 19: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-11-04 19:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:28:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:28:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":230915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:28:17] local.INFO: GPS data processed {"connection_id":230915,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:28:17] local.INFO: Acknowledgment sent {"connection_id":230915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:28:20] local.INFO: TCP Data received {"connection_id":230914,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d71560012cc3a44007627c90004600ab31..."} 
[2026-11-04 19:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d71560012cc3a44007627c90004600ab31..."} 
[2026-11-04 19:28:20] local.INFO: Processing buffer {"connection_id":230914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d71560012cc3a44007627c90004600ab31..."} 
[2026-11-04 19:28:20] local.INFO: Packet analysis {"connection_id":230914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:20] local.INFO: Extracted packet for processing {"connection_id":230914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":751019072,"raw_latitude":123894928,"longitude_deg":75.1019072,"latitude_deg":12.3894928,"altitude":70,"angle":171,"satellites":49,"speed":52,"hex_longitude":"2cc3a440","hex_latitude":"07627c90","is_valid_coordinates":true} 
[2026-11-04 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212917760001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357795557711880192,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793800476000,"timestamp_ms":1793800476000,"timestamp_seconds":1793800476,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d71560"} 
[2026-11-04 19:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-11-04 19:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":230914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":230914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":230914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212917760001,"66":27908,"24":52,"27":54016,"16":20804074257514496,"44":-4357795557711880192},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-11-04 19:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212917760001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:28:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4357795557711880192,"description":"Unknown IO ID 44"} 
[2026-11-04 19:28:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459212917760001,"power":27908,"ignition":52,"unknown_27":54016,"odometer":null,"unknown_44":-4357795557711880192}} 
[2026-11-04 19:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":230914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:28:20] local.INFO: GPS data processed {"connection_id":230914,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:28:20] local.INFO: Acknowledgment sent {"connection_id":230914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:28:22] local.INFO: TCP Data received {"connection_id":230915,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:28:22] local.INFO: Processing buffer {"connection_id":230915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:28:22] local.INFO: Packet analysis {"connection_id":230915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:22] local.INFO: Extracted packet for processing {"connection_id":230915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 19:28: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-11-04 19:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:28:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":230915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:28:22] local.INFO: GPS data processed {"connection_id":230915,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:28:22] local.INFO: Acknowledgment sent {"connection_id":230915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:28:51] local.INFO: TCP Data received {"connection_id":230914,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d757c8012cc399c007623c80004400d230..."} 
[2026-11-04 19:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d757c8012cc399c007623c80004400d230..."} 
[2026-11-04 19:28:51] local.INFO: Processing buffer {"connection_id":230914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d757c8012cc399c007623c80004400d230..."} 
[2026-11-04 19:28:51] local.INFO: Packet analysis {"connection_id":230914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:51] local.INFO: Extracted packet for processing {"connection_id":230914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:28:51] local.INFO: GPS Element Parsed {"raw_longitude":751016384,"raw_latitude":123878528,"longitude_deg":75.1016384,"latitude_deg":12.3878528,"altitude":68,"angle":210,"satellites":48,"speed":23,"hex_longitude":"2cc399c0","hex_latitude":"07623c80","is_valid_coordinates":true} 
[2026-11-04 19:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921856001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4349280939671777280,"note":"Value kept but may cause issues"} 
[2026-11-04 19:28:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793800493000,"timestamp_ms":1793800493000,"timestamp_seconds":1793800493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d757c8"} 
[2026-11-04 19:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 19:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921856001,"66":27713,"24":23,"27":54016,"16":20804074257514496,"44":-4349280939671777280},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-11-04 19:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921856001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:28:51] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4349280939671777280,"description":"Unknown IO ID 44"} 
[2026-11-04 19:28:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459212921856001,"power":27713,"ignition":23,"unknown_27":54016,"odometer":null,"unknown_44":-4349280939671777280}} 
[2026-11-04 19:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":230914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:28:52] local.INFO: GPS data processed {"connection_id":230914,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:28:52] local.INFO: Acknowledgment sent {"connection_id":230914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:29:06] local.INFO: TCP Data received {"connection_id":230916,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:29:06] local.INFO: Processing buffer {"connection_id":230916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:29:06] local.INFO: IMEI packet received {"connection_id":230916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":230916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:29:08] local.INFO: TCP Data received {"connection_id":230917,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:29:08] local.INFO: Processing buffer {"connection_id":230917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:29:08] local.INFO: IMEI packet received {"connection_id":230917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":230917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:29:11] local.INFO: TCP Data received {"connection_id":230916,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:29:11] local.INFO: Processing buffer {"connection_id":230916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:29:11] local.INFO: IMEI packet received {"connection_id":230916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":230916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:29:12] local.INFO: TCP Data received {"connection_id":230916,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:29:12] local.INFO: Processing buffer {"connection_id":230916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:29:12] local.INFO: Packet analysis {"connection_id":230916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:29:12] local.INFO: Extracted packet for processing {"connection_id":230916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 19: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-11-04 19:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":230916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:29:12] local.INFO: GPS data processed {"connection_id":230916,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:29:12] local.INFO: Acknowledgment sent {"connection_id":230916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:29:13] local.INFO: TCP Data received {"connection_id":230917,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:29:13] local.INFO: Processing buffer {"connection_id":230917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:29:13] local.INFO: IMEI packet received {"connection_id":230917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":230917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:29:15] local.INFO: TCP Data received {"connection_id":230917,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d7a5e8012cc388800761f170004000bc30..."} 
[2026-11-04 19:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d7a5e8012cc388800761f170004000bc30..."} 
[2026-11-04 19:29:15] local.INFO: Processing buffer {"connection_id":230917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d7a5e8012cc388800761f170004000bc30..."} 
[2026-11-04 19:29:15] local.INFO: Packet analysis {"connection_id":230917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:29:15] local.INFO: Extracted packet for processing {"connection_id":230917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":751011968,"raw_latitude":123859312,"longitude_deg":75.1011968,"latitude_deg":12.3859312,"altitude":64,"angle":188,"satellites":48,"speed":40,"hex_longitude":"2cc38880","hex_latitude":"0761f170","is_valid_coordinates":true} 
[2026-11-04 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212926208001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4352236426931437568,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,27,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793800513000,"timestamp_ms":1793800513000,"timestamp_seconds":1793800513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d7a5e8"} 
[2026-11-04 19:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:29:15] 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-11-04 19:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":230917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":230917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":230917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212926208001,"66":27865,"24":40,"27":54016,"16":20804074257514496,"44":-4352236426931437568},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,27,16,44]} 
[2026-11-04 19:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212926208001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:29:15] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:29:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4352236426931437568,"description":"Unknown IO ID 44"} 
[2026-11-04 19:29:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459212926208001,"power":27865,"ignition":40,"unknown_27":54016,"odometer":null,"unknown_44":-4352236426931437568}} 
[2026-11-04 19:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":230917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:29:15] local.INFO: GPS data processed {"connection_id":230917,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:29:15] local.INFO: Acknowledgment sent {"connection_id":230917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:29:44] local.INFO: TCP Data received {"connection_id":230916,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:29:44] local.INFO: Processing buffer {"connection_id":230916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:29:44] local.INFO: Packet analysis {"connection_id":230916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:29:44] local.INFO: Extracted packet for processing {"connection_id":230916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:29:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:29:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":230916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:29:44] local.INFO: GPS data processed {"connection_id":230916,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:29:44] local.INFO: Acknowledgment sent {"connection_id":230916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:29:47] local.INFO: TCP Data received {"connection_id":230917,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6da8060012cc334c0075e8760000c00bf2c..."} 
[2026-11-04 19:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6da8060012cc334c0075e8760000c00bf2c..."} 
[2026-11-04 19:29:47] local.INFO: Processing buffer {"connection_id":230917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6da8060012cc334c0075e8760000c00bf2c..."} 
[2026-11-04 19:29:47] local.INFO: Packet analysis {"connection_id":230917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6da"} 
[2026-11-04 19:29:47] local.INFO: Extracted packet for processing {"connection_id":230917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6da"} 
[2026-11-04 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":750990528,"raw_latitude":123635552,"longitude_deg":75.0990528,"latitude_deg":12.3635552,"altitude":12,"angle":191,"satellites":44,"speed":55,"hex_longitude":"2cc334c0","hex_latitude":"075e8760","is_valid_coordinates":true} 
[2026-11-04 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:29:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793800700000,"timestamp_ms":1793800700000,"timestamp_seconds":1793800700,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6da8060"} 
[2026-11-04 19:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 19:29: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-11-04 19:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"100":206,"27":54016,"24":55,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16]} 
[2026-11-04 19:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:29:47] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 19:29:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:29:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_100":206,"unknown_27":54016,"ignition":55,"odometer":null}} 
[2026-11-04 19:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":230917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:29:47] local.INFO: GPS data processed {"connection_id":230917,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:29:47] local.INFO: Acknowledgment sent {"connection_id":230917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:30:06] local.INFO: TCP Data received {"connection_id":229133,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:30:06] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:30:06] local.INFO: IMEI packet received {"connection_id":229133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":229133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:30:08] local.INFO: TCP Data received {"connection_id":232775,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:30:08] local.INFO: Processing buffer {"connection_id":232775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:30:08] local.INFO: IMEI packet received {"connection_id":232775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":232775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:30:11] local.INFO: TCP Data received {"connection_id":229133,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:30:11] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:30:11] local.INFO: IMEI packet received {"connection_id":229133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":229133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:30:13] local.INFO: TCP Data received {"connection_id":229133,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:30:13] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6d70d90012d34c14006aa4118000a010128..."} 
[2026-11-04 19:30:13] local.INFO: Packet analysis {"connection_id":229133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:30:13] local.INFO: Extracted packet for processing {"connection_id":229133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6d7"} 
[2026-11-04 19:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212844288001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793800474000,"timestamp_ms":1793800474000,"timestamp_seconds":1793800474,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6d70d90"} 
[2026-11-04 19:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-11-04 19:30: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-11-04 19: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-11-04 19:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212844288001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212844288001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:30:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:30:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212844288001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":229133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:30:13] local.INFO: GPS data processed {"connection_id":229133,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:30:13] local.INFO: Acknowledgment sent {"connection_id":229133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:30:13] local.INFO: TCP Data received {"connection_id":232775,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:30:13] local.INFO: Processing buffer {"connection_id":232775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:30:13] local.INFO: IMEI packet received {"connection_id":232775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":232775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:30:23] local.INFO: TCP Data received {"connection_id":232775,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dabee0012cc31840075e3c90000e00e32d..."} 
[2026-11-04 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dabee0012cc31840075e3c90000e00e32d..."} 
[2026-11-04 19:30:23] local.INFO: Processing buffer {"connection_id":232775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dabee0012cc31840075e3c90000e00e32d..."} 
[2026-11-04 19:30:23] local.INFO: Packet analysis {"connection_id":232775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6da"} 
[2026-11-04 19:30:23] local.INFO: Extracted packet for processing {"connection_id":232775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6da"} 
[2026-11-04 19:30:23] local.INFO: GPS Element Parsed {"raw_longitude":750983232,"raw_latitude":123616400,"longitude_deg":75.0983232,"latitude_deg":12.36164,"altitude":14,"angle":227,"satellites":45,"speed":49,"hex_longitude":"2cc31840","hex_latitude":"075e3c90","is_valid_coordinates":true} 
[2026-11-04 19:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212979200001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380665399641415680,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,27,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793800716000,"timestamp_ms":1793800716000,"timestamp_seconds":1793800716,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dabee0"} 
[2026-11-04 19:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":232775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":232775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":232775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212979200001,"66":27789,"100":206,"27":54016,"24":49,"16":20804074257514496,"44":-4380665399641415680},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,27,24,16,44]} 
[2026-11-04 19:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212979200001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:30:23] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-11-04 19:30:23] local.INFO: Unknown IO ID detected {"io_id":27,"value":54016,"description":"Unknown IO ID 27"} 
[2026-11-04 19:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:30:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380665399641415680,"description":"Unknown IO ID 44"} 
[2026-11-04 19:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212979200001,"power":27789,"unknown_100":206,"unknown_27":54016,"ignition":49,"odometer":null,"unknown_44":-4380665399641415680}} 
[2026-11-04 19:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":232775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:30:23] local.INFO: GPS data processed {"connection_id":232775,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:30:23] local.INFO: Acknowledgment sent {"connection_id":232775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:30:44] local.INFO: TCP Data received {"connection_id":229133,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:30:44] local.INFO: Processing buffer {"connection_id":229133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:30:44] local.INFO: Packet analysis {"connection_id":229133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:30:44] local.INFO: Extracted packet for processing {"connection_id":229133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:30: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-11-04 19: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-11-04 19:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:30:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":229133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:30:44] local.INFO: GPS data processed {"connection_id":229133,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:30:44] local.INFO: Acknowledgment sent {"connection_id":229133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:31:11] local.INFO: TCP Data received {"connection_id":229609,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:31:11] local.INFO: Processing buffer {"connection_id":229609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:31:11] local.INFO: IMEI packet received {"connection_id":229609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":229609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:31:12] local.INFO: TCP Data received {"connection_id":230918,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:12] local.INFO: Processing buffer {"connection_id":230918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:12] local.INFO: IMEI packet received {"connection_id":230918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":230918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:31:13] local.INFO: TCP Data received {"connection_id":230918,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:13] local.INFO: Processing buffer {"connection_id":230918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:13] local.INFO: IMEI packet received {"connection_id":230918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":230918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:31:18] local.INFO: TCP Data received {"connection_id":230918,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:18] local.INFO: Processing buffer {"connection_id":230918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:31:18] local.INFO: IMEI packet received {"connection_id":230918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":230918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:31:19] local.INFO: TCP Data received {"connection_id":229609,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:31:19] local.INFO: Processing buffer {"connection_id":229609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:31:19] local.INFO: IMEI packet received {"connection_id":229609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":229609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:31:19] local.INFO: TCP Data received {"connection_id":230918,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6db0148012cc2c940075e0d70000c00f02a..."} 
[2026-11-04 19:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6db0148012cc2c940075e0d70000c00f02a..."} 
[2026-11-04 19:31:19] local.INFO: Processing buffer {"connection_id":230918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6db0148012cc2c940075e0d70000c00f02a..."} 
[2026-11-04 19:31:19] local.INFO: Packet analysis {"connection_id":230918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:19] local.INFO: Extracted packet for processing {"connection_id":230918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:19] local.INFO: GPS Element Parsed {"raw_longitude":750963008,"raw_latitude":123604336,"longitude_deg":75.0963008,"latitude_deg":12.3604336,"altitude":12,"angle":240,"satellites":42,"speed":59,"hex_longitude":"2cc2c940","hex_latitude":"075e0d70","is_valid_coordinates":true} 
[2026-11-04 19:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212983296001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4388687436482572288,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:19] 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-11-04 19:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793800733000,"timestamp_ms":1793800733000,"timestamp_seconds":1793800733,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6db0148"} 
[2026-11-04 19:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 19:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":230918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":230918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":230918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212983296001,"66":27821,"64":206,"2":54016,"24":59,"16":20804074257514496,"44":-4388687436482572288},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-11-04 19:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212983296001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:31:19] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-04 19:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:31:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4388687436482572288,"description":"Unknown IO ID 44"} 
[2026-11-04 19:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212983296001,"power":27821,"unknown_64":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-4388687436482572288}} 
[2026-11-04 19:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":230918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:31:20] local.INFO: GPS data processed {"connection_id":230918,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:31:20] local.INFO: Acknowledgment sent {"connection_id":230918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:31:20] local.INFO: TCP Data received {"connection_id":229609,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:31:20] local.INFO: Processing buffer {"connection_id":229609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:31:20] local.INFO: Packet analysis {"connection_id":229609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:20] local.INFO: Extracted packet for processing {"connection_id":229609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:31:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:31:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":229609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:31:20] local.INFO: GPS data processed {"connection_id":229609,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:31:20] local.INFO: Acknowledgment sent {"connection_id":229609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:31:21] local.INFO: TCP Data received {"connection_id":229609,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:31:21] local.INFO: Processing buffer {"connection_id":229609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:31:21] local.INFO: Packet analysis {"connection_id":229609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:21] local.INFO: Extracted packet for processing {"connection_id":229609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:31: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-11-04 19: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-11-04 19:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:31:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:31:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":229609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:31:21] local.INFO: GPS data processed {"connection_id":229609,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:31:21] local.INFO: Acknowledgment sent {"connection_id":229609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:31:51] local.INFO: TCP Data received {"connection_id":230918,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6db3fc8012cc28500075dd050000b00cd2a..."} 
[2026-11-04 19:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6db3fc8012cc28500075dd050000b00cd2a..."} 
[2026-11-04 19:31:51] local.INFO: Processing buffer {"connection_id":230918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6db3fc8012cc28500075dd050000b00cd2a..."} 
[2026-11-04 19:31:51] local.INFO: Packet analysis {"connection_id":230918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:51] local.INFO: Extracted packet for processing {"connection_id":230918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":750945536,"raw_latitude":123588688,"longitude_deg":75.0945536,"latitude_deg":12.3588688,"altitude":11,"angle":205,"satellites":42,"speed":58,"hex_longitude":"2cc28500","hex_latitude":"075dd050","is_valid_coordinates":true} 
[2026-11-04 19:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212987648001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4410923959645802496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:31:51] 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-11-04 19:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1793800749000,"timestamp_ms":1793800749000,"timestamp_seconds":1793800749,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6db3fc8"} 
[2026-11-04 19:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 19:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":230918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":230918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":230918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212987648001,"66":27310,"64":206,"2":54016,"24":58,"16":20804074257514496,"44":-4410923959645802496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-11-04 19:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212987648001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:31:51] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-04 19:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4410923959645802496,"description":"Unknown IO ID 44"} 
[2026-11-04 19:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212987648001,"power":27310,"unknown_64":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-4410923959645802496}} 
[2026-11-04 19:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":230918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:31:52] local.INFO: GPS data processed {"connection_id":230918,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:31:52] local.INFO: Acknowledgment sent {"connection_id":230918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:32:06] local.INFO: TCP Data received {"connection_id":232776,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:32:06] local.INFO: Processing buffer {"connection_id":232776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:32:06] local.INFO: IMEI packet received {"connection_id":232776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":232776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:32:08] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:32:08] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:32:08] local.INFO: IMEI packet received {"connection_id":229134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":229134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:32:11] local.INFO: TCP Data received {"connection_id":232776,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:32:11] local.INFO: Processing buffer {"connection_id":232776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:32:11] local.INFO: IMEI packet received {"connection_id":232776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":232776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:32:12] local.INFO: TCP Data received {"connection_id":232776,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:32:12] local.INFO: Processing buffer {"connection_id":232776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:32:12] local.INFO: Packet analysis {"connection_id":232776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:12] local.INFO: Extracted packet for processing {"connection_id":232776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:32: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-11-04 19: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-11-04 19:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:32:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":232776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:32:12] local.INFO: GPS data processed {"connection_id":232776,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:32:12] local.INFO: Acknowledgment sent {"connection_id":232776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:32:13] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:32:13] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:32:13] local.INFO: IMEI packet received {"connection_id":229134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":229134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:32:15] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6db7e48012cc27400075d7668000b00af2a..."} 
[2026-11-04 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6db7e48012cc27400075d7668000b00af2a..."} 
[2026-11-04 19:32:15] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6db7e48012cc27400075d7668000b00af2a..."} 
[2026-11-04 19:32:15] local.INFO: Packet analysis {"connection_id":229134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:15] local.INFO: Extracted packet for processing {"connection_id":229134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":750941184,"raw_latitude":123565672,"longitude_deg":75.0941184,"latitude_deg":12.3565672,"altitude":11,"angle":175,"satellites":42,"speed":58,"hex_longitude":"2cc27400","hex_latitude":"075d7668","is_valid_coordinates":true} 
[2026-11-04 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212991744001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4430134626810310656,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:15] 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-11-04 19:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793800765000,"timestamp_ms":1793800765000,"timestamp_seconds":1793800765,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6db7e48"} 
[2026-11-04 19:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-11-04 19:32:15] 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-11-04 19:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212991744001,"66":27376,"64":206,"2":54016,"24":58,"16":20804074257514496,"44":-4430134626810310656},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-11-04 19:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212991744001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:32:15] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-04 19:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:32:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4430134626810310656,"description":"Unknown IO ID 44"} 
[2026-11-04 19:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212991744001,"power":27376,"unknown_64":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-4430134626810310656}} 
[2026-11-04 19:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":229134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:32:15] local.INFO: GPS data processed {"connection_id":229134,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:32:15] local.INFO: Acknowledgment sent {"connection_id":229134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:32:44] local.INFO: TCP Data received {"connection_id":232776,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:32:44] local.INFO: Processing buffer {"connection_id":232776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:32:44] local.INFO: Packet analysis {"connection_id":232776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:44] local.INFO: Extracted packet for processing {"connection_id":232776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:32: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-11-04 19: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-11-04 19:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:32:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:32:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":232776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:32:44] local.INFO: GPS data processed {"connection_id":232776,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:32:44] local.INFO: Acknowledgment sent {"connection_id":232776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:32:47] local.INFO: TCP Data received {"connection_id":229134,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dbbcc8012cc2a400075d2ad0000f00872f..."} 
[2026-11-04 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dbbcc8012cc2a400075d2ad0000f00872f..."} 
[2026-11-04 19:32:47] local.INFO: Processing buffer {"connection_id":229134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dbbcc8012cc2a400075d2ad0000f00872f..."} 
[2026-11-04 19:32:47] local.INFO: Packet analysis {"connection_id":229134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:47] local.INFO: Extracted packet for processing {"connection_id":229134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":750953472,"raw_latitude":123546320,"longitude_deg":75.0953472,"latitude_deg":12.354632,"altitude":15,"angle":135,"satellites":47,"speed":57,"hex_longitude":"2cc2a400","hex_latitude":"075d2ad0","is_valid_coordinates":true} 
[2026-11-04 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212995840001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4434919701420283904,"note":"Value kept but may cause issues"} 
[2026-11-04 19:32:47] 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-11-04 19:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793800781000,"timestamp_ms":1793800781000,"timestamp_seconds":1793800781,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dbbcc8"} 
[2026-11-04 19:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-11-04 19:32:47] 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-11-04 19:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212995840001,"66":27245,"64":206,"2":54016,"24":57,"16":20804074257514496,"44":-4434919701420283904},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-11-04 19:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212995840001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:32:47] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-11-04 19:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4434919701420283904,"description":"Unknown IO ID 44"} 
[2026-11-04 19:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212995840001,"power":27245,"unknown_64":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-4434919701420283904}} 
[2026-11-04 19:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":229134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:32:47] local.INFO: GPS data processed {"connection_id":229134,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:32:47] local.INFO: Acknowledgment sent {"connection_id":229134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:33:06] local.INFO: TCP Data received {"connection_id":229610,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:33:06] local.INFO: Processing buffer {"connection_id":229610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:33:06] local.INFO: IMEI packet received {"connection_id":229610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":229610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:33:08] local.INFO: TCP Data received {"connection_id":229611,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:33:08] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:33:08] local.INFO: IMEI packet received {"connection_id":229611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":229611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:33:11] local.INFO: TCP Data received {"connection_id":229610,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:33:11] local.INFO: Processing buffer {"connection_id":229610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:33:11] local.INFO: IMEI packet received {"connection_id":229610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":229610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:33:12] local.INFO: TCP Data received {"connection_id":229610,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:33:12] local.INFO: Processing buffer {"connection_id":229610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:33:12] local.INFO: Packet analysis {"connection_id":229610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:33:12] local.INFO: Extracted packet for processing {"connection_id":229610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:33: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-11-04 19: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-11-04 19:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:33:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":229610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:33:12] local.INFO: GPS data processed {"connection_id":229610,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:33:12] local.INFO: Acknowledgment sent {"connection_id":229610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:33:16] local.INFO: TCP Data received {"connection_id":229611,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:33:16] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:33:16] local.INFO: IMEI packet received {"connection_id":229611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":229611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:33:22] local.INFO: TCP Data received {"connection_id":229611,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dbfb48012cc2eec0075cf6e8000a007731..."} 
[2026-11-04 19:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dbfb48012cc2eec0075cf6e8000a007731..."} 
[2026-11-04 19:33:22] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dbfb48012cc2eec0075cf6e8000a007731..."} 
[2026-11-04 19:33:22] local.INFO: Packet analysis {"connection_id":229611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:33:22] local.INFO: Extracted packet for processing {"connection_id":229611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:33:22] local.INFO: GPS Element Parsed {"raw_longitude":750972608,"raw_latitude":123533032,"longitude_deg":75.0972608,"latitude_deg":12.3533032,"altitude":10,"angle":119,"satellites":49,"speed":57,"hex_longitude":"2cc2eec0","hex_latitude":"075cf6e8","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212999936001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4421408902543126528,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793800797000,"timestamp_ms":1793800797000,"timestamp_seconds":1793800797,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dbfb48"} 
[2026-11-04 19:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-11-04 19:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212999936001,"66":27800,"117":206,"2":54016,"24":57,"16":20804074257514496,"44":-4421408902543126528},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-11-04 19:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212999936001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:33:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-11-04 19:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:33:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4421408902543126528,"description":"Unknown IO ID 44"} 
[2026-11-04 19:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212999936001,"power":27800,"unknown_117":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-4421408902543126528}} 
[2026-11-04 19:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":229611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:33:22] local.INFO: GPS data processed {"connection_id":229611,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:33:22] local.INFO: Acknowledgment sent {"connection_id":229611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:33:23] local.INFO: TCP Data received {"connection_id":229611,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dc39c8012cc32080075caf880006009d2f..."} 
[2026-11-04 19:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dc39c8012cc32080075caf880006009d2f..."} 
[2026-11-04 19:33:23] local.INFO: Processing buffer {"connection_id":229611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dc39c8012cc32080075caf880006009d2f..."} 
[2026-11-04 19:33:23] local.INFO: Packet analysis {"connection_id":229611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6dc"} 
[2026-11-04 19:33:23] local.INFO: Extracted packet for processing {"connection_id":229611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6dc"} 
[2026-11-04 19:33:23] local.INFO: GPS Element Parsed {"raw_longitude":750985344,"raw_latitude":123514760,"longitude_deg":75.0985344,"latitude_deg":12.351476,"altitude":6,"angle":157,"satellites":47,"speed":55,"hex_longitude":"2cc32080","hex_latitude":"075caf88","is_valid_coordinates":true} 
[2026-11-04 19:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213004032001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4400368648037406720,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793800813000,"timestamp_ms":1793800813000,"timestamp_seconds":1793800813,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dc39c8"} 
[2026-11-04 19:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 19:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213004032001,"66":27821,"117":206,"2":54016,"24":55,"16":20804074257514496,"44":-4400368648037406720},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,2,24,16,44]} 
[2026-11-04 19:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213004032001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:33:23] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-11-04 19:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:33:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4400368648037406720,"description":"Unknown IO ID 44"} 
[2026-11-04 19:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213004032001,"power":27821,"unknown_117":206,"power_alt":54016,"ignition":55,"odometer":null,"unknown_44":-4400368648037406720}} 
[2026-11-04 19:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":229611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:33:23] local.INFO: GPS data processed {"connection_id":229611,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:33:23] local.INFO: Acknowledgment sent {"connection_id":229611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:33:44] local.INFO: TCP Data received {"connection_id":229610,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:33:44] local.INFO: Processing buffer {"connection_id":229610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:33:44] local.INFO: Packet analysis {"connection_id":229610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:33:44] local.INFO: Extracted packet for processing {"connection_id":229610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:33: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-11-04 19: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-11-04 19:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:33:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":229610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:33:44] local.INFO: GPS data processed {"connection_id":229610,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:33:44] local.INFO: Acknowledgment sent {"connection_id":229610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:34:05] local.INFO: TCP Data received {"connection_id":230919,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:34:05] local.INFO: Processing buffer {"connection_id":230919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:34:05] local.INFO: IMEI packet received {"connection_id":230919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":230919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:34:09] local.INFO: TCP Data received {"connection_id":232777,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:09] local.INFO: Processing buffer {"connection_id":232777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:09] local.INFO: IMEI packet received {"connection_id":232777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":232777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:34:11] local.INFO: TCP Data received {"connection_id":230919,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:34:11] local.INFO: Processing buffer {"connection_id":230919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:34:11] local.INFO: IMEI packet received {"connection_id":230919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":230919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:34:12] local.INFO: TCP Data received {"connection_id":230919,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:34:12] local.INFO: Processing buffer {"connection_id":230919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:34:12] local.INFO: Packet analysis {"connection_id":230919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:34:12] local.INFO: Extracted packet for processing {"connection_id":230919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:34: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-11-04 19: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-11-04 19:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:34:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":230919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:34:12] local.INFO: GPS data processed {"connection_id":230919,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:34:12] local.INFO: Acknowledgment sent {"connection_id":230919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:34:13] local.INFO: TCP Data received {"connection_id":232777,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:13] local.INFO: Processing buffer {"connection_id":232777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:13] local.INFO: IMEI packet received {"connection_id":232777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":232777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:34:18] local.INFO: TCP Data received {"connection_id":232777,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:18] local.INFO: Processing buffer {"connection_id":232777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:34:18] local.INFO: IMEI packet received {"connection_id":232777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":232777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:34:19] local.INFO: TCP Data received {"connection_id":232777,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dc8bd0012cc34100075c6150000d00992f..."} 
[2026-11-04 19:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dc8bd0012cc34100075c6150000d00992f..."} 
[2026-11-04 19:34:19] local.INFO: Processing buffer {"connection_id":232777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dc8bd0012cc34100075c6150000d00992f..."} 
[2026-11-04 19:34:19] local.INFO: Packet analysis {"connection_id":232777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6dc"} 
[2026-11-04 19:34:19] local.INFO: Extracted packet for processing {"connection_id":232777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6dc"} 
[2026-11-04 19:34:19] local.INFO: GPS Element Parsed {"raw_longitude":750993664,"raw_latitude":123494736,"longitude_deg":75.0993664,"latitude_deg":12.3494736,"altitude":13,"angle":153,"satellites":47,"speed":0,"hex_longitude":"2cc34100","hex_latitude":"075c6150","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213008128001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4386365267950729216,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793800834000,"timestamp_ms":1793800834000,"timestamp_seconds":1793800834,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dc8bd0"} 
[2026-11-04 19:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":173,"data_length":795,"current_offset":136} 
[2026-11-04 19:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213008128001,"66":27821,"176":206,"2":54016,"24":0,"16":20804074257514496,"44":-4386365267950729216},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-11-04 19:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213008128001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:34:19] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-11-04 19:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4386365267950729216,"description":"Unknown IO ID 44"} 
[2026-11-04 19:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213008128001,"power":27821,"unknown_176":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4386365267950729216}} 
[2026-11-04 19:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":232777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:34:20] local.INFO: GPS data processed {"connection_id":232777,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:34:20] local.INFO: Acknowledgment sent {"connection_id":232777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:34:24] local.INFO: TCP Data received {"connection_id":232777,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dcbab0012cc37740075c1f180015008b2f..."} 
[2026-11-04 19:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dcbab0012cc37740075c1f180015008b2f..."} 
[2026-11-04 19:34:24] local.INFO: Processing buffer {"connection_id":232777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dcbab0012cc37740075c1f180015008b2f..."} 
[2026-11-04 19:34:24] local.INFO: Packet analysis {"connection_id":232777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6dc"} 
[2026-11-04 19:34:24] local.INFO: Extracted packet for processing {"connection_id":232777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6dc"} 
[2026-11-04 19:34:24] local.INFO: GPS Element Parsed {"raw_longitude":751007552,"raw_latitude":123477784,"longitude_deg":75.1007552,"latitude_deg":12.3477784,"altitude":21,"angle":139,"satellites":47,"speed":49,"hex_longitude":"2cc37740","hex_latitude":"075c1f18","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213013504001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4377217331212759040,"note":"Value kept but may cause issues"} 
[2026-11-04 19:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793800846000,"timestamp_ms":1793800846000,"timestamp_seconds":1793800846,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dcbab0"} 
[2026-11-04 19:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 19:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":232777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":232777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":232777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213013504001,"66":27767,"176":206,"2":54016,"24":49,"16":20804074257514496,"44":-4377217331212759040},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,2,24,16,44]} 
[2026-11-04 19:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213013504001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:34:24] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-11-04 19:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:34:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4377217331212759040,"description":"Unknown IO ID 44"} 
[2026-11-04 19:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213013504001,"power":27767,"unknown_176":206,"power_alt":54016,"ignition":49,"odometer":null,"unknown_44":-4377217331212759040}} 
[2026-11-04 19:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":232777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:34:24] local.INFO: GPS data processed {"connection_id":232777,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:34:24] local.INFO: Acknowledgment sent {"connection_id":232777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:35:08] local.INFO: TCP Data received {"connection_id":229135,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:08] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:08] local.INFO: IMEI packet received {"connection_id":229135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":229135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:35:08] local.INFO: TCP Data received {"connection_id":229135,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:08] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:08] local.INFO: IMEI packet received {"connection_id":229135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":229135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:35:13] local.INFO: TCP Data received {"connection_id":229135,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:13] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:35:13] local.INFO: IMEI packet received {"connection_id":229135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":229135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:35:14] local.INFO: TCP Data received {"connection_id":229135,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6df81a0012cc4d4c00758f218001d00c52d..."} 
[2026-11-04 19:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6df81a0012cc4d4c00758f218001d00c52d..."} 
[2026-11-04 19:35:14] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6df81a0012cc4d4c00758f218001d00c52d..."} 
[2026-11-04 19:35:14] local.INFO: Packet analysis {"connection_id":229135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6df"} 
[2026-11-04 19:35:14] local.INFO: Extracted packet for processing {"connection_id":229135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6df"} 
[2026-11-04 19:35:14] local.INFO: GPS Element Parsed {"raw_longitude":751097024,"raw_latitude":123269656,"longitude_deg":75.1097024,"latitude_deg":12.3269656,"altitude":29,"angle":197,"satellites":45,"speed":56,"hex_longitude":"2cc4d4c0","hex_latitude":"0758f218","is_valid_coordinates":true} 
[2026-11-04 19:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213058816001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4258012678627676160,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793801028000,"timestamp_ms":1793801028000,"timestamp_seconds":1793801028,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6df81a0"} 
[2026-11-04 19:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:35:14] 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-11-04 19:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213058816001,"66":27832,"177":206,"2":54016,"24":56,"16":20804074257514496,"44":-4258012678627676160},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-11-04 19:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213058816001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:35:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 19:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:35:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4258012678627676160,"description":"Unknown IO ID 44"} 
[2026-11-04 19:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213058816001,"power":27832,"unknown_177":206,"power_alt":54016,"ignition":56,"odometer":null,"unknown_44":-4258012678627676160}} 
[2026-11-04 19:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":229135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:35:14] local.INFO: GPS data processed {"connection_id":229135,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:35:14] local.INFO: Acknowledgment sent {"connection_id":229135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:35:49] local.INFO: TCP Data received {"connection_id":229135,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dfd3a8012cc4b8800758a000001700c72d..."} 
[2026-11-04 19:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dfd3a8012cc4b8800758a000001700c72d..."} 
[2026-11-04 19:35:49] local.INFO: Processing buffer {"connection_id":229135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dfd3a8012cc4b8800758a000001700c72d..."} 
[2026-11-04 19:35:49] local.INFO: Packet analysis {"connection_id":229135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6df"} 
[2026-11-04 19:35:49] local.INFO: Extracted packet for processing {"connection_id":229135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6df"} 
[2026-11-04 19:35:49] local.INFO: GPS Element Parsed {"raw_longitude":751089792,"raw_latitude":123248640,"longitude_deg":75.1089792,"latitude_deg":12.324864,"altitude":23,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2cc4b880","hex_latitude":"0758a000","is_valid_coordinates":true} 
[2026-11-04 19:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213063168001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4263571809423452160,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793801049000,"timestamp_ms":1793801049000,"timestamp_seconds":1793801049,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dfd3a8"} 
[2026-11-04 19:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 19:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229135,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213063168001,"66":27876,"177":206,"2":54016,"24":0,"16":20804074257514496,"44":-4263571809423452160},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,2,24,16,44]} 
[2026-11-04 19:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213063168001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:35:49] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-11-04 19:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4263571809423452160,"description":"Unknown IO ID 44"} 
[2026-11-04 19:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213063168001,"power":27876,"unknown_177":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4263571809423452160}} 
[2026-11-04 19:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":229135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:35:49] local.INFO: GPS data processed {"connection_id":229135,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:35:49] local.INFO: Acknowledgment sent {"connection_id":229135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:35:55] local.INFO: TCP Data received {"connection_id":230919,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:35:55] local.INFO: Processing buffer {"connection_id":230919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6dba558012d34c14006aa4118000a010129..."} 
[2026-11-04 19:35:55] local.INFO: Packet analysis {"connection_id":230919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:35:55] local.INFO: Extracted packet for processing {"connection_id":230919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6db"} 
[2026-11-04 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212921344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1793800775000,"timestamp_ms":1793800775000,"timestamp_seconds":1793800775,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6dba558"} 
[2026-11-04 19:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":230919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":230919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":230919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212921344001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212921344001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212921344001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":230919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:35:55] local.INFO: GPS data processed {"connection_id":230919,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:35:55] local.INFO: Acknowledgment sent {"connection_id":230919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:36:05] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:36:05] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:36:05] local.INFO: IMEI packet received {"connection_id":229137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":229137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:36:08] local.INFO: TCP Data received {"connection_id":229136,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:36:08] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:36:08] local.INFO: IMEI packet received {"connection_id":229136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":229136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:36:10] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:36:10] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:36:10] local.INFO: IMEI packet received {"connection_id":229137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":229137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:36:11] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:36:11] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:36:11] local.INFO: Packet analysis {"connection_id":229137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:11] local.INFO: Extracted packet for processing {"connection_id":229137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:11] 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-11-04 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19: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-11-04 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":229137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:36:11] local.INFO: GPS data processed {"connection_id":229137,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:36:11] local.INFO: Acknowledgment sent {"connection_id":229137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:36:13] local.INFO: TCP Data received {"connection_id":229136,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:36:13] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:36:13] local.INFO: IMEI packet received {"connection_id":229136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":229136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:36:14] local.INFO: TCP Data received {"connection_id":229136,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e0b6380100000000000000000000000000..."} 
[2026-11-04 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e0b6380100000000000000000000000000..."} 
[2026-11-04 19:36:14] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e0b6380100000000000000000000000000..."} 
[2026-11-04 19:36:14] local.INFO: Packet analysis {"connection_id":229136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:14] local.INFO: Extracted packet for processing {"connection_id":229136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 19:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213068544001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4271523477520908288,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:14] 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-11-04 19:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793801107000,"timestamp_ms":1793801107000,"timestamp_seconds":1793801107,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e0b638"} 
[2026-11-04 19:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 19:36: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-11-04 19:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":229136,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:36:14] local.INFO: GPS data processed {"connection_id":229136,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:36:14] local.INFO: Acknowledgment sent {"connection_id":229136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:36:43] local.INFO: TCP Data received {"connection_id":229137,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:36:43] local.INFO: Processing buffer {"connection_id":229137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:36:43] local.INFO: Packet analysis {"connection_id":229137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:43] local.INFO: Extracted packet for processing {"connection_id":229137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:43] 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-11-04 19:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:36: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-11-04 19: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-11-04 19:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:36:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":229137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:36:43] local.INFO: GPS data processed {"connection_id":229137,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:36:43] local.INFO: Acknowledgment sent {"connection_id":229137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:36:46] local.INFO: TCP Data received {"connection_id":229136,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012cc470c00757f818001c00c52f..."} 
[2026-11-04 19:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012cc470c00757f818001c00c52f..."} 
[2026-11-04 19:36:46] local.INFO: Processing buffer {"connection_id":229136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012cc470c00757f818001c00c52f..."} 
[2026-11-04 19:36:46] local.INFO: Packet analysis {"connection_id":229136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:46] local.INFO: Extracted packet for processing {"connection_id":229136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:36:46] local.INFO: GPS Element Parsed {"raw_longitude":751071424,"raw_latitude":123205656,"longitude_deg":75.1071424,"latitude_deg":12.3205656,"altitude":28,"angle":197,"satellites":47,"speed":57,"hex_longitude":"2cc470c0","hex_latitude":"0757f818","is_valid_coordinates":true} 
[2026-11-04 19:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:36:46] 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-11-04 19:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 19:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"2":54016,"24":57,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16]} 
[2026-11-04 19:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:36:46] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":27713,"power_alt":54016,"ignition":57,"odometer":null}} 
[2026-11-04 19:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":229136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:36:46] local.INFO: GPS data processed {"connection_id":229136,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:36:46] local.INFO: Acknowledgment sent {"connection_id":229136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:37:06] local.INFO: TCP Data received {"connection_id":230920,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:37:06] local.INFO: Processing buffer {"connection_id":230920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:37:06] local.INFO: IMEI packet received {"connection_id":230920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:37:08] local.INFO: TCP Data received {"connection_id":230921,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:08] local.INFO: Processing buffer {"connection_id":230921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:08] local.INFO: IMEI packet received {"connection_id":230921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":230921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:37:08] local.INFO: TCP Data received {"connection_id":230921,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:08] local.INFO: Processing buffer {"connection_id":230921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:08] local.INFO: IMEI packet received {"connection_id":230921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":230921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:37:11] local.INFO: TCP Data received {"connection_id":230920,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:37:11] local.INFO: Processing buffer {"connection_id":230920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:37:11] local.INFO: IMEI packet received {"connection_id":230920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":230920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:37:13] local.INFO: TCP Data received {"connection_id":230920,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:37:13] local.INFO: Processing buffer {"connection_id":230920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:37:13] local.INFO: Packet analysis {"connection_id":230920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:37:13] local.INFO: Extracted packet for processing {"connection_id":230920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:13] 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-11-04 19:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:37: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-11-04 19:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:37:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:37:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":230920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:37:13] local.INFO: GPS data processed {"connection_id":230920,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:37:13] local.INFO: Acknowledgment sent {"connection_id":230920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:37:17] local.INFO: TCP Data received {"connection_id":230921,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:17] local.INFO: Processing buffer {"connection_id":230921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:37:17] local.INFO: IMEI packet received {"connection_id":230921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":230921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:37:18] local.INFO: TCP Data received {"connection_id":230921,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e08f28012cc456000757a020001700c130..."} 
[2026-11-04 19:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e08f28012cc456000757a020001700c130..."} 
[2026-11-04 19:37:18] local.INFO: Processing buffer {"connection_id":230921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e08f28012cc456000757a020001700c130..."} 
[2026-11-04 19:37:18] local.INFO: Packet analysis {"connection_id":230921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:37:18] local.INFO: Extracted packet for processing {"connection_id":230921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":751064576,"raw_latitude":123183136,"longitude_deg":75.1064576,"latitude_deg":12.3183136,"altitude":23,"angle":193,"satellites":48,"speed":0,"hex_longitude":"2cc45600","hex_latitude":"0757a020","is_valid_coordinates":true} 
[2026-11-04 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4291719307110901760,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:18] 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-11-04 19:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793801097000,"timestamp_ms":1793801097000,"timestamp_seconds":1793801097,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e08f28"} 
[2026-11-04 19:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":230921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":230921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":230921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":27767,"2":54016,"24":0,"16":20804074257514496,"44":-4291719307110901760},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-11-04 19:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:37:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4291719307110901760,"description":"Unknown IO ID 44"} 
[2026-11-04 19:37:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459213075456001,"power":27767,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4291719307110901760}} 
[2026-11-04 19:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":230921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:37:18] local.INFO: GPS data processed {"connection_id":230921,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:37:18] local.INFO: Acknowledgment sent {"connection_id":230921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:37:44] local.INFO: TCP Data received {"connection_id":230920,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:37:44] local.INFO: Processing buffer {"connection_id":230920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:37:44] local.INFO: Packet analysis {"connection_id":230920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:37:44] local.INFO: Extracted packet for processing {"connection_id":230920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:44] 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-11-04 19:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:37: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-11-04 19: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-11-04 19:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:37:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":230920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:37:44] local.INFO: GPS data processed {"connection_id":230920,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:37:44] local.INFO: Acknowledgment sent {"connection_id":230920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:37:50] local.INFO: TCP Data received {"connection_id":230921,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e171b80100000000000000000000000000..."} 
[2026-11-04 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e171b80100000000000000000000000000..."} 
[2026-11-04 19:37:50] local.INFO: Processing buffer {"connection_id":230921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e171b80100000000000000000000000000..."} 
[2026-11-04 19:37:50] local.INFO: Packet analysis {"connection_id":230921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:37:50] local.INFO: Extracted packet for processing {"connection_id":230921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19: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-11-04 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213080832001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4299248762743676928,"note":"Value kept but may cause issues"} 
[2026-11-04 19:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793801155000,"timestamp_ms":1793801155000,"timestamp_seconds":1793801155,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e171b8"} 
[2026-11-04 19:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":230921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":230921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":230921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":230921,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:37:50] local.INFO: GPS data processed {"connection_id":230921,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:37:50] local.INFO: Acknowledgment sent {"connection_id":230921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:38:05] local.INFO: TCP Data received {"connection_id":229138,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:38:05] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:38:05] local.INFO: IMEI packet received {"connection_id":229138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":229138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:38:08] local.INFO: TCP Data received {"connection_id":232778,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:38:08] local.INFO: Processing buffer {"connection_id":232778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:38:08] local.INFO: IMEI packet received {"connection_id":232778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":232778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:38:11] local.INFO: TCP Data received {"connection_id":229138,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:38:11] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:38:11] local.INFO: IMEI packet received {"connection_id":229138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":229138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:38:13] local.INFO: TCP Data received {"connection_id":232778,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:38:13] local.INFO: Processing buffer {"connection_id":232778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:38:13] local.INFO: IMEI packet received {"connection_id":232778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":232778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:38:13] local.INFO: TCP Data received {"connection_id":229138,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:38:13] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:38:13] local.INFO: Packet analysis {"connection_id":229138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:38:13] local.INFO: Extracted packet for processing {"connection_id":229138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:13] 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-11-04 19:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:38: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-11-04 19:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:38:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:38:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":229138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:38:13] local.INFO: GPS data processed {"connection_id":229138,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:38:13] local.INFO: Acknowledgment sent {"connection_id":229138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:38:14] local.INFO: TCP Data received {"connection_id":232778,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e10070012cc42e400756fca8001400c82f..."} 
[2026-11-04 19:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e10070012cc42e400756fca8001400c82f..."} 
[2026-11-04 19:38:14] local.INFO: Processing buffer {"connection_id":232778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e10070012cc42e400756fca8001400c82f..."} 
[2026-11-04 19:38:14] local.INFO: Packet analysis {"connection_id":232778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:38:14] local.INFO: Extracted packet for processing {"connection_id":232778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:38:14] local.INFO: GPS Element Parsed {"raw_longitude":751054400,"raw_latitude":123141288,"longitude_deg":75.10544,"latitude_deg":12.3141288,"altitude":20,"angle":200,"satellites":47,"speed":55,"hex_longitude":"2cc42e40","hex_latitude":"0756fca8","is_valid_coordinates":true} 
[2026-11-04 19:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,212,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793801126000,"timestamp_ms":1793801126000,"timestamp_seconds":1793801126,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e10070"} 
[2026-11-04 19:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-11-04 19:38:14] 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-11-04 19:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":232778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":232778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":232778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"212":206,"2":54016,"24":55,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16]} 
[2026-11-04 19:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:38:14] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 19:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:38:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_212":206,"power_alt":54016,"ignition":55,"odometer":null}} 
[2026-11-04 19:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":232778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:38:15] local.INFO: GPS data processed {"connection_id":232778,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:38:15] local.INFO: Acknowledgment sent {"connection_id":232778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:38:45] local.INFO: TCP Data received {"connection_id":229138,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:38:45] local.INFO: Processing buffer {"connection_id":229138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:38:45] local.INFO: Packet analysis {"connection_id":229138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:38:45] local.INFO: Extracted packet for processing {"connection_id":229138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:45] 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-11-04 19:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:38:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:38:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":229138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:38:45] local.INFO: GPS data processed {"connection_id":229138,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:38:45] local.INFO: Acknowledgment sent {"connection_id":229138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:38:46] local.INFO: TCP Data received {"connection_id":232778,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e13ef0012cc40c800756a428000c00bd2f..."} 
[2026-11-04 19:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e13ef0012cc40c800756a428000c00bd2f..."} 
[2026-11-04 19:38:46] local.INFO: Processing buffer {"connection_id":232778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e13ef0012cc40c800756a428000c00bd2f..."} 
[2026-11-04 19:38:46] local.INFO: Packet analysis {"connection_id":232778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:38:46] local.INFO: Extracted packet for processing {"connection_id":232778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":751045760,"raw_latitude":123118632,"longitude_deg":75.104576,"latitude_deg":12.3118632,"altitude":12,"angle":189,"satellites":47,"speed":60,"hex_longitude":"2cc40c80","hex_latitude":"0756a428","is_valid_coordinates":true} 
[2026-11-04 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:38:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213088256001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4310437393078638592,"note":"Value kept but may cause issues"} 
[2026-11-04 19:38:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:38:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793801142000,"timestamp_ms":1793801142000,"timestamp_seconds":1793801142,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e13ef0"} 
[2026-11-04 19:38:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:38:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:38:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 19:38:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:38:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:38:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:38:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:38:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:38:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:38:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:38:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:38:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:38:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:38:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213088256001,"66":27930,"212":206,"2":54016,"24":60,"16":20804074257514496,"44":-4310437393078638592},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-11-04 19:38:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:38:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:38:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213088256001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:38:46] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 19:38:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:38:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4310437393078638592,"description":"Unknown IO ID 44"} 
[2026-11-04 19:38:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213088256001,"power":27930,"unknown_212":206,"power_alt":54016,"ignition":60,"odometer":null,"unknown_44":-4310437393078638592}} 
[2026-11-04 19:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":232778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:38:46] local.INFO: GPS data processed {"connection_id":232778,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:38:46] local.INFO: Acknowledgment sent {"connection_id":232778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:39:05] local.INFO: TCP Data received {"connection_id":229612,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:39:05] local.INFO: Processing buffer {"connection_id":229612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:39:05] local.INFO: IMEI packet received {"connection_id":229612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":229612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:39:11] local.INFO: TCP Data received {"connection_id":229612,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:39:11] local.INFO: Processing buffer {"connection_id":229612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:39:11] local.INFO: IMEI packet received {"connection_id":229612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":229612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:39:12] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:12] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:12] local.INFO: IMEI packet received {"connection_id":229139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":229139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:39:12] local.INFO: TCP Data received {"connection_id":229612,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:39:12] local.INFO: Processing buffer {"connection_id":229612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:39:12] local.INFO: Packet analysis {"connection_id":229612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:39:12] local.INFO: Extracted packet for processing {"connection_id":229612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:12] 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-11-04 19:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:39: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-11-04 19: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-11-04 19:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:39:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":229612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:39:12] local.INFO: GPS data processed {"connection_id":229612,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:39:12] local.INFO: Acknowledgment sent {"connection_id":229612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:39:13] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:13] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:13] local.INFO: IMEI packet received {"connection_id":229139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":229139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:39:18] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:18] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:39:18] local.INFO: IMEI packet received {"connection_id":229139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":229139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:39:23] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e17d70012cc413c007564888000b00aa31..."} 
[2026-11-04 19:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e17d70012cc413c007564888000b00aa31..."} 
[2026-11-04 19:39:23] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e17d70012cc413c007564888000b00aa31..."} 
[2026-11-04 19:39:23] local.INFO: Packet analysis {"connection_id":229139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:39:23] local.INFO: Extracted packet for processing {"connection_id":229139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:39:23] local.INFO: GPS Element Parsed {"raw_longitude":751047616,"raw_latitude":123095176,"longitude_deg":75.1047616,"latitude_deg":12.3095176,"altitude":11,"angle":170,"satellites":49,"speed":58,"hex_longitude":"2cc413c0","hex_latitude":"07564888","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213092352001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4319937173548423168,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793801158000,"timestamp_ms":1793801158000,"timestamp_seconds":1793801158,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e17d70"} 
[2026-11-04 19:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-11-04 19:39:23] 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-11-04 19: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-11-04 19:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213092352001,"66":27800,"212":206,"2":54016,"24":58,"16":20804074257514496,"44":-4319937173548423168},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-11-04 19:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213092352001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:39:23] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 19:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:39:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4319937173548423168,"description":"Unknown IO ID 44"} 
[2026-11-04 19:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213092352001,"power":27800,"unknown_212":206,"power_alt":54016,"ignition":58,"odometer":null,"unknown_44":-4319937173548423168}} 
[2026-11-04 19:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":229139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:39:23] local.INFO: GPS data processed {"connection_id":229139,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:39:23] local.INFO: Acknowledgment sent {"connection_id":229139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:39:25] local.INFO: TCP Data received {"connection_id":229139,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e1cf78012cc429000755f160001200a530..."} 
[2026-11-04 19:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e1cf78012cc429000755f160001200a530..."} 
[2026-11-04 19:39:25] local.INFO: Processing buffer {"connection_id":229139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e1cf78012cc429000755f160001200a530..."} 
[2026-11-04 19:39:25] local.INFO: Packet analysis {"connection_id":229139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:39:25] local.INFO: Extracted packet for processing {"connection_id":229139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:39:25] local.INFO: GPS Element Parsed {"raw_longitude":751053056,"raw_latitude":123072864,"longitude_deg":75.1053056,"latitude_deg":12.3072864,"altitude":18,"angle":165,"satellites":48,"speed":0,"hex_longitude":"2cc42900","hex_latitude":"0755f160","is_valid_coordinates":true} 
[2026-11-04 19:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213096448001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4317896479973275648,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793801179000,"timestamp_ms":1793801179000,"timestamp_seconds":1793801179,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e1cf78"} 
[2026-11-04 19:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 19:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213096448001,"66":27800,"212":206,"2":54016,"24":0,"16":20804074257514496,"44":-4317896479973275648},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-11-04 19:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213096448001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:39:25] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-11-04 19:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4317896479973275648,"description":"Unknown IO ID 44"} 
[2026-11-04 19:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213096448001,"power":27800,"unknown_212":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4317896479973275648}} 
[2026-11-04 19:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":229139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:39:25] local.INFO: GPS data processed {"connection_id":229139,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:39:25] local.INFO: Acknowledgment sent {"connection_id":229139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:39:44] local.INFO: TCP Data received {"connection_id":229612,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:39:44] local.INFO: Processing buffer {"connection_id":229612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:39:44] local.INFO: Packet analysis {"connection_id":229612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:39:44] local.INFO: Extracted packet for processing {"connection_id":229612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:39:44] 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-11-04 19:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:39: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-11-04 19: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-11-04 19:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:39:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:39:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":229612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:39:44] local.INFO: GPS data processed {"connection_id":229612,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:39:44] local.INFO: Acknowledgment sent {"connection_id":229612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:40:06] local.INFO: TCP Data received {"connection_id":232780,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:40:06] local.INFO: Processing buffer {"connection_id":232780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:40:06] local.INFO: IMEI packet received {"connection_id":232780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":232780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:40:06] local.INFO: TCP Data received {"connection_id":232779,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:06] local.INFO: Processing buffer {"connection_id":232779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:06] local.INFO: IMEI packet received {"connection_id":232779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":232779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:40:08] local.INFO: TCP Data received {"connection_id":232779,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:08] local.INFO: Processing buffer {"connection_id":232779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:08] local.INFO: IMEI packet received {"connection_id":232779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":232779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:40:11] local.INFO: TCP Data received {"connection_id":232780,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:40:11] local.INFO: Processing buffer {"connection_id":232780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:40:11] local.INFO: IMEI packet received {"connection_id":232780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":232780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:40:12] local.INFO: TCP Data received {"connection_id":232780,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:40:12] local.INFO: Processing buffer {"connection_id":232780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e03d20012d34c14006aa4118000a010129..."} 
[2026-11-04 19:40:12] local.INFO: Packet analysis {"connection_id":232780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:40:12] local.INFO: Extracted packet for processing {"connection_id":232780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e0"} 
[2026-11-04 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459212998400001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:12] 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-11-04 19:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801076000,"timestamp_ms":1793801076000,"timestamp_seconds":1793801076,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e03d20"} 
[2026-11-04 19:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459212998400001,"66":25473,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459212998400001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:40:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459212998400001,"power":25473,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":232780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:40:12] local.INFO: GPS data processed {"connection_id":232780,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:40:12] local.INFO: Acknowledgment sent {"connection_id":232780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:40:13] local.INFO: TCP Data received {"connection_id":232779,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:13] local.INFO: Processing buffer {"connection_id":232779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:40:13] local.INFO: IMEI packet received {"connection_id":232779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":232779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:40:15] local.INFO: TCP Data received {"connection_id":232779,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e1fa70012cc43440075599b8001200be31..."} 
[2026-11-04 19:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e1fa70012cc43440075599b8001200be31..."} 
[2026-11-04 19:40:15] local.INFO: Processing buffer {"connection_id":232779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e1fa70012cc43440075599b8001200be31..."} 
[2026-11-04 19:40:15] local.INFO: Packet analysis {"connection_id":232779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:40:15] local.INFO: Extracted packet for processing {"connection_id":232779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e1"} 
[2026-11-04 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":751055936,"raw_latitude":123050424,"longitude_deg":75.1055936,"latitude_deg":12.3050424,"altitude":18,"angle":190,"satellites":49,"speed":53,"hex_longitude":"2cc43440","hex_latitude":"075599b8","is_valid_coordinates":true} 
[2026-11-04 19:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213101824001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4311915136723886080,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793801190000,"timestamp_ms":1793801190000,"timestamp_seconds":1793801190,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e1fa70"} 
[2026-11-04 19:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 19:40:15] 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-11-04 19:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213101824001,"66":27713,"213":206,"2":54016,"24":53,"16":20804074257514496,"44":-4311915136723886080},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-11-04 19:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213101824001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:40:15] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 19:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:40:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4311915136723886080,"description":"Unknown IO ID 44"} 
[2026-11-04 19:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213101824001,"power":27713,"unknown_213":206,"power_alt":54016,"ignition":53,"odometer":null,"unknown_44":-4311915136723886080}} 
[2026-11-04 19:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":232779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:40:15] local.INFO: GPS data processed {"connection_id":232779,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:40:15] local.INFO: Acknowledgment sent {"connection_id":232779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:40:52] local.INFO: TCP Data received {"connection_id":232779,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e24c78012cc42a8007554520000b00b830..."} 
[2026-11-04 19:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e24c78012cc42a8007554520000b00b830..."} 
[2026-11-04 19:40:52] local.INFO: Processing buffer {"connection_id":232779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e24c78012cc42a8007554520000b00b830..."} 
[2026-11-04 19:40:52] local.INFO: Packet analysis {"connection_id":232779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e2"} 
[2026-11-04 19:40:52] local.INFO: Extracted packet for processing {"connection_id":232779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e2"} 
[2026-11-04 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":751053440,"raw_latitude":123028768,"longitude_deg":75.105344,"latitude_deg":12.3028768,"altitude":11,"angle":184,"satellites":48,"speed":0,"hex_longitude":"2cc42a80","hex_latitude":"07554520","is_valid_coordinates":true} 
[2026-11-04 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213104640001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4308748543241635840,"note":"Value kept but may cause issues"} 
[2026-11-04 19:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793801211000,"timestamp_ms":1793801211000,"timestamp_seconds":1793801211,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e24c78"} 
[2026-11-04 19:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:40:52] 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-11-04 19:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213104640001,"66":27571,"213":206,"2":54016,"24":0,"16":20804074257514496,"44":-4308748543241635840},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-11-04 19:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213104640001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:40:52] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-11-04 19:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4308748543241635840,"description":"Unknown IO ID 44"} 
[2026-11-04 19:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213104640001,"power":27571,"unknown_213":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4308748543241635840}} 
[2026-11-04 19:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":232779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:40:52] local.INFO: GPS data processed {"connection_id":232779,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:40:52] local.INFO: Acknowledgment sent {"connection_id":232779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:41:08] local.INFO: TCP Data received {"connection_id":232781,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:41:08] local.INFO: Processing buffer {"connection_id":232781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:41:08] local.INFO: IMEI packet received {"connection_id":232781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":232781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:41:13] local.INFO: TCP Data received {"connection_id":232781,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:41:13] local.INFO: Processing buffer {"connection_id":232781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:41:13] local.INFO: IMEI packet received {"connection_id":232781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":232781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:41:14] local.INFO: TCP Data received {"connection_id":232781,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e503c8012cc4bd800751b0480009009d33..."} 
[2026-11-04 19:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e503c8012cc4bd800751b0480009009d33..."} 
[2026-11-04 19:41:15] local.INFO: Processing buffer {"connection_id":232781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e503c8012cc4bd800751b0480009009d33..."} 
[2026-11-04 19:41:15] local.INFO: Packet analysis {"connection_id":232781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:41:15] local.INFO: Extracted packet for processing {"connection_id":232781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":751091072,"raw_latitude":122794056,"longitude_deg":75.1091072,"latitude_deg":12.2794056,"altitude":9,"angle":157,"satellites":51,"speed":0,"hex_longitude":"2cc4bd80","hex_latitude":"0751b048","is_valid_coordinates":true} 
[2026-11-04 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213150208001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:41:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4279897358188804096,"note":"Value kept but may cause issues"} 
[2026-11-04 19:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793801389000,"timestamp_ms":1793801389000,"timestamp_seconds":1793801389,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e503c8"} 
[2026-11-04 19:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-11-04 19:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213150208001,"66":27789,"244":206,"2":54016,"24":0,"16":20804074257514496,"44":-4279897358188804096},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,2,24,16,44]} 
[2026-11-04 19:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213150208001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:41:15] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-11-04 19:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:41:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4279897358188804096,"description":"Unknown IO ID 44"} 
[2026-11-04 19:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213150208001,"power":27789,"unknown_244":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4279897358188804096}} 
[2026-11-04 19:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":232781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:41:15] local.INFO: GPS data processed {"connection_id":232781,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:41:15] local.INFO: Acknowledgment sent {"connection_id":232781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:41:46] local.INFO: TCP Data received {"connection_id":232781,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e5e6580100000000000000000000000000..."} 
[2026-11-04 19:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e5e6580100000000000000000000000000..."} 
[2026-11-04 19:41:46] local.INFO: Processing buffer {"connection_id":232781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e5e6580100000000000000000000000000..."} 
[2026-11-04 19:41:46] local.INFO: Packet analysis {"connection_id":232781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:41:46] local.INFO: Extracted packet for processing {"connection_id":232781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:41: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-11-04 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213155584001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:41:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4270116102753728512,"note":"Value kept but may cause issues"} 
[2026-11-04 19:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793801447000,"timestamp_ms":1793801447000,"timestamp_seconds":1793801447,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e5e658"} 
[2026-11-04 19:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 19:41:46] 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-11-04 19:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":232781,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:41:46] local.INFO: GPS data processed {"connection_id":232781,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:41:46] local.INFO: Acknowledgment sent {"connection_id":232781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:42:08] local.INFO: TCP Data received {"connection_id":229613,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:42:08] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:42:08] local.INFO: IMEI packet received {"connection_id":229613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":229613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:42:13] local.INFO: TCP Data received {"connection_id":229613,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:42:13] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:42:13] local.INFO: IMEI packet received {"connection_id":229613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":229613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:42:14] local.INFO: TCP Data received {"connection_id":229613,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e56d40012cc4f94007511c80000700a02e..."} 
[2026-11-04 19:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e56d40012cc4f94007511c80000700a02e..."} 
[2026-11-04 19:42:14] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e56d40012cc4f94007511c80000700a02e..."} 
[2026-11-04 19:42:14] local.INFO: Packet analysis {"connection_id":229613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:42:14] local.INFO: Extracted packet for processing {"connection_id":229613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":751106368,"raw_latitude":122756224,"longitude_deg":75.1106368,"latitude_deg":12.2756224,"altitude":7,"angle":160,"satellites":46,"speed":22,"hex_longitude":"2cc4f940","hex_latitude":"07511c80","is_valid_coordinates":true} 
[2026-11-04 19:42: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-11-04 19:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,1,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793801416000,"timestamp_ms":1793801416000,"timestamp_seconds":1793801416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e56d40"} 
[2026-11-04 19:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:42: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-11-04 19:42: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-11-04 19:42: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-11-04 19:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"1":206,"2":54016,"24":22,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16]} 
[2026-11-04 19:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:42:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"imei":206,"power_alt":54016,"ignition":22,"odometer":null}} 
[2026-11-04 19:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":229613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:42:15] local.INFO: GPS data processed {"connection_id":229613,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:42:15] local.INFO: Acknowledgment sent {"connection_id":229613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:42:26] local.INFO: TCP Data received {"connection_id":229614,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:42:26] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:42:26] local.INFO: IMEI packet received {"connection_id":229614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":229614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:42:31] local.INFO: TCP Data received {"connection_id":229614,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:42:31] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:42:31] local.INFO: IMEI packet received {"connection_id":229614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":229614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:42:32] local.INFO: TCP Data received {"connection_id":229614,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:42:32] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:42:32] local.INFO: Packet analysis {"connection_id":229614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:42:32] local.INFO: Extracted packet for processing {"connection_id":229614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1793801377000,"timestamp_ms":1793801377000,"timestamp_seconds":1793801377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e4d4e8"} 
[2026-11-04 19:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-04 19:42: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-11-04 19: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-11-04 19:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":229614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":229614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":229614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:42:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213075456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":229614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:42:32] local.INFO: GPS data processed {"connection_id":229614,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:42:32] local.INFO: Acknowledgment sent {"connection_id":229614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:42:36] local.INFO: TCP Data received {"connection_id":229614,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:42:36] local.INFO: Processing buffer {"connection_id":229614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:42:36] local.INFO: Packet analysis {"connection_id":229614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:42:36] local.INFO: Extracted packet for processing {"connection_id":229614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1793801377000,"timestamp_ms":1793801377000,"timestamp_seconds":1793801377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e4d4e8"} 
[2026-11-04 19:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-04 19:42:36] 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-11-04 19: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-11-04 19:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":229614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":229614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":229614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:42:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213075456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":229614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:42:36] local.INFO: GPS data processed {"connection_id":229614,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:42:36] local.INFO: Acknowledgment sent {"connection_id":229614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:42:46] local.INFO: TCP Data received {"connection_id":229613,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e653b80100000000000000000000000000..."} 
[2026-11-04 19:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e653b80100000000000000000000000000..."} 
[2026-11-04 19:42:46] local.INFO: Processing buffer {"connection_id":229613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e653b80100000000000000000000000000..."} 
[2026-11-04 19:42:46] local.INFO: Packet analysis {"connection_id":229613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:42:46] local.INFO: Extracted packet for processing {"connection_id":229613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:42: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-11-04 19:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213162496001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4253297972904951808,"note":"Value kept but may cause issues"} 
[2026-11-04 19:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793801475000,"timestamp_ms":1793801475000,"timestamp_seconds":1793801475,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e653b8"} 
[2026-11-04 19:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229613,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":229613,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:42:46] local.INFO: GPS data processed {"connection_id":229613,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:42:46] local.INFO: Acknowledgment sent {"connection_id":229613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:43:06] local.INFO: TCP Data received {"connection_id":232782,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:43:06] local.INFO: Processing buffer {"connection_id":232782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:43:06] local.INFO: IMEI packet received {"connection_id":232782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":232782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:43:08] local.INFO: TCP Data received {"connection_id":232783,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:43:08] local.INFO: Processing buffer {"connection_id":232783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:43:08] local.INFO: IMEI packet received {"connection_id":232783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":232783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:43:11] local.INFO: TCP Data received {"connection_id":232782,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:43:11] local.INFO: Processing buffer {"connection_id":232782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:43:11] local.INFO: IMEI packet received {"connection_id":232782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":232782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:43:12] local.INFO: TCP Data received {"connection_id":232782,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:43:12] local.INFO: Processing buffer {"connection_id":232782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:43:12] local.INFO: Packet analysis {"connection_id":232782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:43:12] local.INFO: Extracted packet for processing {"connection_id":232782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801377000,"timestamp_ms":1793801377000,"timestamp_seconds":1793801377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e4d4e8"} 
[2026-11-04 19:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-04 19:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:43:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213075456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":232782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:43:12] local.INFO: GPS data processed {"connection_id":232782,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:43:12] local.INFO: Acknowledgment sent {"connection_id":232782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:43:13] local.INFO: TCP Data received {"connection_id":232783,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:43:13] local.INFO: Processing buffer {"connection_id":232783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:43:13] local.INFO: IMEI packet received {"connection_id":232783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":232783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:43:15] local.INFO: TCP Data received {"connection_id":232783,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e5c718012cc509c00750dcf8000a00a02f..."} 
[2026-11-04 19:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e5c718012cc509c00750dcf8000a00a02f..."} 
[2026-11-04 19:43:15] local.INFO: Processing buffer {"connection_id":232783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e5c718012cc509c00750dcf8000a00a02f..."} 
[2026-11-04 19:43:15] local.INFO: Packet analysis {"connection_id":232783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:43:15] local.INFO: Extracted packet for processing {"connection_id":232783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e5"} 
[2026-11-04 19:43:15] local.INFO: GPS Element Parsed {"raw_longitude":751110592,"raw_latitude":122739960,"longitude_deg":75.1110592,"latitude_deg":12.273996,"altitude":10,"angle":160,"satellites":47,"speed":32,"hex_longitude":"2cc509c0","hex_latitude":"0750dcf8","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,1,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793801439000,"timestamp_ms":1793801439000,"timestamp_seconds":1793801439,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e5c718"} 
[2026-11-04 19:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 19:43:15] 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-11-04 19: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-11-04 19:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"1":206,"2":54016,"24":32,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16]} 
[2026-11-04 19:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:43:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"imei":206,"power_alt":54016,"ignition":32,"odometer":null}} 
[2026-11-04 19:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":232783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:43:15] local.INFO: GPS data processed {"connection_id":232783,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:43:15] local.INFO: Acknowledgment sent {"connection_id":232783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:43:43] local.INFO: TCP Data received {"connection_id":232782,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:43:43] local.INFO: Processing buffer {"connection_id":232782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:43:43] local.INFO: Packet analysis {"connection_id":232782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:43:43] local.INFO: Extracted packet for processing {"connection_id":232782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793801377000,"timestamp_ms":1793801377000,"timestamp_seconds":1793801377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e4d4e8"} 
[2026-11-04 19:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-04 19:43: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-11-04 19:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213075456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":232782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:43:43] local.INFO: GPS data processed {"connection_id":232782,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:43:43] local.INFO: Acknowledgment sent {"connection_id":232782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:43:48] local.INFO: TCP Data received {"connection_id":232783,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e61920012cc51e8007509d40000c00a030..."} 
[2026-11-04 19:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e61920012cc51e8007509d40000c00a030..."} 
[2026-11-04 19:43:48] local.INFO: Processing buffer {"connection_id":232783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e61920012cc51e8007509d40000c00a030..."} 
[2026-11-04 19:43:48] local.INFO: Packet analysis {"connection_id":232783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:43:48] local.INFO: Extracted packet for processing {"connection_id":232783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:43:48] local.INFO: GPS Element Parsed {"raw_longitude":751115904,"raw_latitude":122723648,"longitude_deg":75.1115904,"latitude_deg":12.2723648,"altitude":12,"angle":160,"satellites":48,"speed":0,"hex_longitude":"2cc51e80","hex_latitude":"07509d40","is_valid_coordinates":true} 
[2026-11-04 19:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213168384001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4248653635793389568,"note":"Value kept but may cause issues"} 
[2026-11-04 19:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793801460000,"timestamp_ms":1793801460000,"timestamp_seconds":1793801460,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e61920"} 
[2026-11-04 19:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 19:43:48] 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-11-04 19:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213168384001,"66":27767,"254":206,"2":54016,"24":0,"16":20804074257514496,"44":-4248653635793389568},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-11-04 19:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213168384001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:43:48] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-11-04 19:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:43:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4248653635793389568,"description":"Unknown IO ID 44"} 
[2026-11-04 19:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213168384001,"power":27767,"unknown_254":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4248653635793389568}} 
[2026-11-04 19:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":232783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:43:48] local.INFO: GPS data processed {"connection_id":232783,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:43:48] local.INFO: Acknowledgment sent {"connection_id":232783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:44:06] local.INFO: TCP Data received {"connection_id":232784,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:44:06] local.INFO: Processing buffer {"connection_id":232784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:44:06] local.INFO: IMEI packet received {"connection_id":232784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":232784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:44:11] local.INFO: TCP Data received {"connection_id":232784,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:44:11] local.INFO: Processing buffer {"connection_id":232784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:44:11] local.INFO: IMEI packet received {"connection_id":232784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":232784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:44:12] local.INFO: TCP Data received {"connection_id":232784,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:44:12] local.INFO: Processing buffer {"connection_id":232784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:44:12] local.INFO: Packet analysis {"connection_id":232784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:44:12] local.INFO: Extracted packet for processing {"connection_id":232784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:44:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801377000,"timestamp_ms":1793801377000,"timestamp_seconds":1793801377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e4d4e8"} 
[2026-11-04 19:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":129,"data_length":795,"current_offset":136} 
[2026-11-04 19:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:44:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213075456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":232784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:44:12] local.INFO: GPS data processed {"connection_id":232784,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:44:12] local.INFO: Acknowledgment sent {"connection_id":232784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:44:13] local.INFO: TCP Data received {"connection_id":232785,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:44:13] local.INFO: Processing buffer {"connection_id":232785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:44:13] local.INFO: IMEI packet received {"connection_id":232785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":232785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:44:14] local.INFO: TCP Data received {"connection_id":232785,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:44:14] local.INFO: Processing buffer {"connection_id":232785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:44:14] local.INFO: IMEI packet received {"connection_id":232785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":232785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:44:16] local.INFO: TCP Data received {"connection_id":232785,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e66b28012cc53940075063080010009d30..."} 
[2026-11-04 19:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e66b28012cc53940075063080010009d30..."} 
[2026-11-04 19:44:16] local.INFO: Processing buffer {"connection_id":232785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e66b28012cc53940075063080010009d30..."} 
[2026-11-04 19:44:16] local.INFO: Packet analysis {"connection_id":232785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:44:16] local.INFO: Extracted packet for processing {"connection_id":232785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:44:16] local.INFO: GPS Element Parsed {"raw_longitude":751122752,"raw_latitude":122708744,"longitude_deg":75.1122752,"latitude_deg":12.2708744,"altitude":16,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2cc53940","hex_latitude":"07506308","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213173760001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4242813030030819328,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793801481000,"timestamp_ms":1793801481000,"timestamp_seconds":1793801481,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e66b28"} 
[2026-11-04 19:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:44: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-11-04 19: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-11-04 19:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213173760001,"66":27713,"254":206,"2":54016,"24":0,"16":20804074257514496,"44":-4242813030030819328},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-11-04 19:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213173760001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:44:16] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-11-04 19:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:44:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4242813030030819328,"description":"Unknown IO ID 44"} 
[2026-11-04 19:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213173760001,"power":27713,"unknown_254":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4242813030030819328}} 
[2026-11-04 19:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":232785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:44:16] local.INFO: GPS data processed {"connection_id":232785,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:44:16] local.INFO: Acknowledgment sent {"connection_id":232785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:44:18] local.INFO: TCP Data received {"connection_id":232785,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e6bd30012cc54bc007502f20000f00a130..."} 
[2026-11-04 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e6bd30012cc54bc007502f20000f00a130..."} 
[2026-11-04 19:44:18] local.INFO: Processing buffer {"connection_id":232785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e6bd30012cc54bc007502f20000f00a130..."} 
[2026-11-04 19:44:18] local.INFO: Packet analysis {"connection_id":232785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:44:18] local.INFO: Extracted packet for processing {"connection_id":232785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e6"} 
[2026-11-04 19:44:18] local.INFO: GPS Element Parsed {"raw_longitude":751127488,"raw_latitude":122695456,"longitude_deg":75.1127488,"latitude_deg":12.2695456,"altitude":15,"angle":161,"satellites":48,"speed":26,"hex_longitude":"2cc54bc0","hex_latitude":"07502f20","is_valid_coordinates":true} 
[2026-11-04 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213179136001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4235283574407624704,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793801502000,"timestamp_ms":1793801502000,"timestamp_seconds":1793801502,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e6bd30"} 
[2026-11-04 19:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":232785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":232785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":232785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213179136001,"66":27713,"255":206,"2":54016,"24":26,"16":20804074257514496,"44":-4235283574407624704},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-11-04 19:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213179136001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:44:18] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-04 19:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:44:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4235283574407624704,"description":"Unknown IO ID 44"} 
[2026-11-04 19:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213179136001,"power":27713,"unknown_255":206,"power_alt":54016,"ignition":26,"odometer":null,"unknown_44":-4235283574407624704}} 
[2026-11-04 19:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":232785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:44:18] local.INFO: GPS data processed {"connection_id":232785,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:44:18] local.INFO: Acknowledgment sent {"connection_id":232785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:44:43] local.INFO: TCP Data received {"connection_id":232784,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:44:43] local.INFO: Processing buffer {"connection_id":232784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:44:43] local.INFO: Packet analysis {"connection_id":232784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:44:43] local.INFO: Extracted packet for processing {"connection_id":232784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793801377000,"timestamp_ms":1793801377000,"timestamp_seconds":1793801377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e4d4e8"} 
[2026-11-04 19:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":129,"data_length":795,"current_offset":136} 
[2026-11-04 19:44: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-11-04 19: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-11-04 19:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:44:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213075456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":232784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:44:43] local.INFO: GPS data processed {"connection_id":232784,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:44:43] local.INFO: Acknowledgment sent {"connection_id":232784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:44:50] local.INFO: TCP Data received {"connection_id":232785,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e79fc00100000000000000000000000000..."} 
[2026-11-04 19:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e79fc00100000000000000000000000000..."} 
[2026-11-04 19:44:50] local.INFO: Processing buffer {"connection_id":232785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e79fc00100000000000000000000000000..."} 
[2026-11-04 19:44:50] local.INFO: Packet analysis {"connection_id":232785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e7"} 
[2026-11-04 19:44:50] local.INFO: Extracted packet for processing {"connection_id":232785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e7"} 
[2026-11-04 19:44: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-11-04 19:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213184512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4230076287341879296,"note":"Value kept but may cause issues"} 
[2026-11-04 19:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793801560000,"timestamp_ms":1793801560000,"timestamp_seconds":1793801560,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e79fc0"} 
[2026-11-04 19:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":232785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":232785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":232785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":232785,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:44:50] local.INFO: GPS data processed {"connection_id":232785,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:44:50] local.INFO: Acknowledgment sent {"connection_id":232785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:45:05] local.INFO: TCP Data received {"connection_id":230922,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:45:05] local.INFO: Processing buffer {"connection_id":230922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:45:05] local.INFO: IMEI packet received {"connection_id":230922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":230922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:45:08] local.INFO: TCP Data received {"connection_id":229615,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:45:08] local.INFO: Processing buffer {"connection_id":229615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:45:08] local.INFO: IMEI packet received {"connection_id":229615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":229615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:45:11] local.INFO: TCP Data received {"connection_id":230922,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:45:11] local.INFO: Processing buffer {"connection_id":230922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:45:11] local.INFO: IMEI packet received {"connection_id":230922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":230922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:45:12] local.INFO: TCP Data received {"connection_id":230922,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:45:12] local.INFO: Processing buffer {"connection_id":230922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e4d4e8012d34c14006aa4118000a010127..."} 
[2026-11-04 19:45:12] local.INFO: Packet analysis {"connection_id":230922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:45:12] local.INFO: Extracted packet for processing {"connection_id":230922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e4"} 
[2026-11-04 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213075456001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801377000,"timestamp_ms":1793801377000,"timestamp_seconds":1793801377,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e4d4e8"} 
[2026-11-04 19:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-11-04 19:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213075456001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 19:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213075456001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:45:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 19:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213075456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":230922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:45:12] local.INFO: GPS data processed {"connection_id":230922,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:45:12] local.INFO: Acknowledgment sent {"connection_id":230922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:45:13] local.INFO: TCP Data received {"connection_id":229615,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:45:13] local.INFO: Processing buffer {"connection_id":229615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:45:13] local.INFO: IMEI packet received {"connection_id":229615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":229615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:45:14] local.INFO: TCP Data received {"connection_id":229615,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e71320012cc56300074ff6e8000c009a30..."} 
[2026-11-04 19:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e71320012cc56300074ff6e8000c009a30..."} 
[2026-11-04 19:45:14] local.INFO: Processing buffer {"connection_id":229615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e71320012cc56300074ff6e8000c009a30..."} 
[2026-11-04 19:45:14] local.INFO: Packet analysis {"connection_id":229615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e7"} 
[2026-11-04 19:45:14] local.INFO: Extracted packet for processing {"connection_id":229615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e7"} 
[2026-11-04 19:45:14] local.INFO: GPS Element Parsed {"raw_longitude":751133440,"raw_latitude":122681064,"longitude_deg":75.113344,"latitude_deg":12.2681064,"altitude":12,"angle":154,"satellites":48,"speed":27,"hex_longitude":"2cc56300","hex_latitude":"074ff6e8","is_valid_coordinates":true} 
[2026-11-04 19:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,255,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793801524000,"timestamp_ms":1793801524000,"timestamp_seconds":1793801524,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e71320"} 
[2026-11-04 19:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 19:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27626,"255":206,"2":54016,"24":27,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16]} 
[2026-11-04 19:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:45:14] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-04 19:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:45:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27626,"unknown_255":206,"power_alt":54016,"ignition":27,"odometer":null}} 
[2026-11-04 19:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":229615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:45:14] local.INFO: GPS data processed {"connection_id":229615,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:45:14] local.INFO: Acknowledgment sent {"connection_id":229615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:45:43] local.INFO: TCP Data received {"connection_id":230922,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:45:43] local.INFO: Processing buffer {"connection_id":230922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:45:43] local.INFO: Packet analysis {"connection_id":230922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:45:43] local.INFO: Extracted packet for processing {"connection_id":230922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:43] 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-11-04 19:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:45: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-11-04 19:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:45:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":230922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:45:43] local.INFO: GPS data processed {"connection_id":230922,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:45:43] local.INFO: Acknowledgment sent {"connection_id":230922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:45:46] local.INFO: TCP Data received {"connection_id":229615,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e76528012cc57fc0074fbd48000a009a30..."} 
[2026-11-04 19:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e76528012cc57fc0074fbd48000a009a30..."} 
[2026-11-04 19:45:46] local.INFO: Processing buffer {"connection_id":229615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e76528012cc57fc0074fbd48000a009a30..."} 
[2026-11-04 19:45:46] local.INFO: Packet analysis {"connection_id":229615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e7"} 
[2026-11-04 19:45:46] local.INFO: Extracted packet for processing {"connection_id":229615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e7"} 
[2026-11-04 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":751140800,"raw_latitude":122666312,"longitude_deg":75.11408,"latitude_deg":12.2666312,"altitude":10,"angle":154,"satellites":48,"speed":35,"hex_longitude":"2cc57fc0","hex_latitude":"074fbd48","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213190144001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4223531994137040896,"note":"Value kept but may cause issues"} 
[2026-11-04 19:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793801545000,"timestamp_ms":1793801545000,"timestamp_seconds":1793801545,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e76528"} 
[2026-11-04 19:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-11-04 19:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213190144001,"66":27713,"255":206,"2":54016,"24":35,"16":20804074257514496,"44":-4223531994137040896},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,2,24,16,44]} 
[2026-11-04 19:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213190144001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:45:46] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-11-04 19:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:45:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4223531994137040896,"description":"Unknown IO ID 44"} 
[2026-11-04 19:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213190144001,"power":27713,"unknown_255":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-4223531994137040896}} 
[2026-11-04 19:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":229615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:45:46] local.INFO: GPS data processed {"connection_id":229615,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:45:46] local.INFO: Acknowledgment sent {"connection_id":229615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:46:08] local.INFO: TCP Data received {"connection_id":232786,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:46:08] local.INFO: Processing buffer {"connection_id":232786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:46:08] local.INFO: IMEI packet received {"connection_id":232786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":232786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:46:11] local.INFO: TCP Data received {"connection_id":232787,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:46:11] local.INFO: Processing buffer {"connection_id":232787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:46:11] local.INFO: IMEI packet received {"connection_id":232787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":232787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:46:13] local.INFO: TCP Data received {"connection_id":232786,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:46:13] local.INFO: Processing buffer {"connection_id":232786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:46:13] local.INFO: IMEI packet received {"connection_id":232786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":232786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:46:15] local.INFO: TCP Data received {"connection_id":232786,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e84ba00100000000000000000000000000..."} 
[2026-11-04 19:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e84ba00100000000000000000000000000..."} 
[2026-11-04 19:46:15] local.INFO: Processing buffer {"connection_id":232786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e84ba00100000000000000000000000000..."} 
[2026-11-04 19:46:15] local.INFO: Packet analysis {"connection_id":232786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e8"} 
[2026-11-04 19:46:15] local.INFO: Extracted packet for processing {"connection_id":232786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e8"} 
[2026-11-04 19:46: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-11-04 19:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213195520001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4215439588560386048,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793801604000,"timestamp_ms":1793801604000,"timestamp_seconds":1793801604,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e84ba0"} 
[2026-11-04 19:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:46:15] 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-11-04 19:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":232786,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:46:15] local.INFO: GPS data processed {"connection_id":232786,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:46:15] local.INFO: Acknowledgment sent {"connection_id":232786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:46:16] local.INFO: TCP Data received {"connection_id":232787,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:46:16] local.INFO: Processing buffer {"connection_id":232787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:46:16] local.INFO: IMEI packet received {"connection_id":232787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":232787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:46:17] local.INFO: TCP Data received {"connection_id":232787,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:46:17] local.INFO: Processing buffer {"connection_id":232787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:46:17] local.INFO: Packet analysis {"connection_id":232787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:46:17] local.INFO: Extracted packet for processing {"connection_id":232787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:17] 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-11-04 19:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:46: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-11-04 19:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:46:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:46:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":232787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:46:17] local.INFO: GPS data processed {"connection_id":232787,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:46:17] local.INFO: Acknowledgment sent {"connection_id":232787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:46:21] local.INFO: TCP Data received {"connection_id":232787,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:46:21] local.INFO: Processing buffer {"connection_id":232787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:46:21] local.INFO: Packet analysis {"connection_id":232787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:46:21] local.INFO: Extracted packet for processing {"connection_id":232787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:46:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:21] 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-11-04 19:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:46: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-11-04 19:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:46:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:46:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":232787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:46:21] local.INFO: GPS data processed {"connection_id":232787,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:46:21] local.INFO: Acknowledgment sent {"connection_id":232787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:46:46] local.INFO: TCP Data received {"connection_id":232786,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ea0cd8012cc696c0074da350000600662f..."} 
[2026-11-04 19:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ea0cd8012cc696c0074da350000600662f..."} 
[2026-11-04 19:46:46] local.INFO: Processing buffer {"connection_id":232786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ea0cd8012cc696c0074da350000600662f..."} 
[2026-11-04 19:46:46] local.INFO: Packet analysis {"connection_id":232786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ea"} 
[2026-11-04 19:46:46] local.INFO: Extracted packet for processing {"connection_id":232786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ea"} 
[2026-11-04 19:46:46] local.INFO: GPS Element Parsed {"raw_longitude":751212224,"raw_latitude":122528592,"longitude_deg":75.1212224,"latitude_deg":12.2528592,"altitude":6,"angle":102,"satellites":47,"speed":46,"hex_longitude":"2cc696c0","hex_latitude":"074da350","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213237248001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4159214961995059200,"note":"Value kept but may cause issues"} 
[2026-11-04 19:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793801719000,"timestamp_ms":1793801719000,"timestamp_seconds":1793801719,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ea0cd8"} 
[2026-11-04 19:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213237248001,"66":27713,"164":206,"2":54016,"24":46,"16":20804074257514496,"44":-4159214961995059200},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-11-04 19:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213237248001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:46:46] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 19:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:46:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4159214961995059200,"description":"Unknown IO ID 44"} 
[2026-11-04 19:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213237248001,"power":27713,"unknown_164":206,"power_alt":54016,"ignition":46,"odometer":null,"unknown_44":-4159214961995059200}} 
[2026-11-04 19:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":232786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60406,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:46:46] local.INFO: GPS data processed {"connection_id":232786,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:46:46] local.INFO: Acknowledgment sent {"connection_id":232786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:47:06] local.INFO: TCP Data received {"connection_id":230923,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:47:06] local.INFO: Processing buffer {"connection_id":230923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:47:06] local.INFO: IMEI packet received {"connection_id":230923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":230923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:47:08] local.INFO: TCP Data received {"connection_id":229140,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:47:08] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:47:08] local.INFO: IMEI packet received {"connection_id":229140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":229140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:47:11] local.INFO: TCP Data received {"connection_id":230923,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:47:11] local.INFO: Processing buffer {"connection_id":230923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:47:11] local.INFO: IMEI packet received {"connection_id":230923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":230923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:47:12] local.INFO: TCP Data received {"connection_id":230923,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:47:12] local.INFO: Processing buffer {"connection_id":230923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:47:12] local.INFO: Packet analysis {"connection_id":230923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:47:12] local.INFO: Extracted packet for processing {"connection_id":230923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:12] 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-11-04 19:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:47: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-11-04 19: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-11-04 19:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:47:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:47:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":230923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:47:12] local.INFO: GPS data processed {"connection_id":230923,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:47:12] local.INFO: Acknowledgment sent {"connection_id":230923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:47:13] local.INFO: TCP Data received {"connection_id":229140,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:47:13] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:47:13] local.INFO: IMEI packet received {"connection_id":229140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":229140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:47:14] local.INFO: TCP Data received {"connection_id":229140,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ea5af8012cc6d6c0074d86680004007831..."} 
[2026-11-04 19:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ea5af8012cc6d6c0074d86680004007831..."} 
[2026-11-04 19:47:14] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ea5af8012cc6d6c0074d86680004007831..."} 
[2026-11-04 19:47:14] local.INFO: Packet analysis {"connection_id":229140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ea"} 
[2026-11-04 19:47:14] local.INFO: Extracted packet for processing {"connection_id":229140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ea"} 
[2026-11-04 19:47:14] local.INFO: GPS Element Parsed {"raw_longitude":751228608,"raw_latitude":122521192,"longitude_deg":75.1228608,"latitude_deg":12.2521192,"altitude":4,"angle":120,"satellites":49,"speed":41,"hex_longitude":"2cc6d6c0","hex_latitude":"074d8668","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213240064001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4136908070093369344,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793801739000,"timestamp_ms":1793801739000,"timestamp_seconds":1793801739,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ea5af8"} 
[2026-11-04 19:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-11-04 19:47:14] 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-11-04 19: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-11-04 19:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213240064001,"66":27463,"164":206,"2":54016,"24":41,"16":20804074257514496,"44":-4136908070093369344},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-11-04 19:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213240064001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:47:14] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 19:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:47:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4136908070093369344,"description":"Unknown IO ID 44"} 
[2026-11-04 19:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213240064001,"power":27463,"unknown_164":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-4136908070093369344}} 
[2026-11-04 19:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":229140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:47:15] local.INFO: GPS data processed {"connection_id":229140,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:47:15] local.INFO: Acknowledgment sent {"connection_id":229140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:47:45] local.INFO: TCP Data received {"connection_id":230923,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:47:45] local.INFO: Processing buffer {"connection_id":230923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:47:45] local.INFO: Packet analysis {"connection_id":230923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:47:45] local.INFO: Extracted packet for processing {"connection_id":230923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:45] 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-11-04 19:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:47: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-11-04 19: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-11-04 19:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:47:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":230923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:47:45] local.INFO: GPS data processed {"connection_id":230923,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:47:45] local.INFO: Acknowledgment sent {"connection_id":230923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:47:47] local.INFO: TCP Data received {"connection_id":229140,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6eaad00012cc70dc0074d66480006007a2c..."} 
[2026-11-04 19:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6eaad00012cc70dc0074d66480006007a2c..."} 
[2026-11-04 19:47:47] local.INFO: Processing buffer {"connection_id":229140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6eaad00012cc70dc0074d66480006007a2c..."} 
[2026-11-04 19:47:47] local.INFO: Packet analysis {"connection_id":229140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ea"} 
[2026-11-04 19:47:47] local.INFO: Extracted packet for processing {"connection_id":229140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ea"} 
[2026-11-04 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":751242688,"raw_latitude":122512968,"longitude_deg":75.1242688,"latitude_deg":12.2512968,"altitude":6,"angle":122,"satellites":44,"speed":0,"hex_longitude":"2cc70dc0","hex_latitude":"074d6648","is_valid_coordinates":true} 
[2026-11-04 19:47: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-11-04 19:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213245184001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4118893671585781760,"note":"Value kept but may cause issues"} 
[2026-11-04 19:47:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793801760000,"timestamp_ms":1793801760000,"timestamp_seconds":1793801760,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6eaad00"} 
[2026-11-04 19:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-11-04 19:47:47] 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-11-04 19:47: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-11-04 19:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":229140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":229140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":229140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213245184001,"66":27832,"164":206,"2":54016,"24":0,"16":20804074257514496,"44":-4118893671585781760},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16,44]} 
[2026-11-04 19:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213245184001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:47:47] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 19:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:47:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4118893671585781760,"description":"Unknown IO ID 44"} 
[2026-11-04 19:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213245184001,"power":27832,"unknown_164":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-4118893671585781760}} 
[2026-11-04 19:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":229140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:47:47] local.INFO: GPS data processed {"connection_id":229140,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:47:47] local.INFO: Acknowledgment sent {"connection_id":229140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:48:06] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:48:06] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:48:06] local.INFO: IMEI packet received {"connection_id":229141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":229141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:48:11] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:48:11] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:48:11] local.INFO: IMEI packet received {"connection_id":229141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":229141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:48:12] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:48:12] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:48:12] local.INFO: Packet analysis {"connection_id":229141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:48:12] local.INFO: Extracted packet for processing {"connection_id":229141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:12] 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-11-04 19:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:48: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-11-04 19: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-11-04 19:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:48:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":229141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:48:12] local.INFO: GPS data processed {"connection_id":229141,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:48:12] local.INFO: Acknowledgment sent {"connection_id":229141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:48:13] local.INFO: TCP Data received {"connection_id":230924,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:48:13] local.INFO: Processing buffer {"connection_id":230924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:48:13] local.INFO: IMEI packet received {"connection_id":230924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":230924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:48:40] local.INFO: TCP Data received {"connection_id":230924,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:48:40] local.INFO: Processing buffer {"connection_id":230924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:48:40] local.INFO: IMEI packet received {"connection_id":230924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":230924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:48:43] local.INFO: TCP Data received {"connection_id":229141,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:48:43] local.INFO: Processing buffer {"connection_id":229141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:48:43] local.INFO: Packet analysis {"connection_id":229141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:48:43] local.INFO: Extracted packet for processing {"connection_id":229141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:43] 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-11-04 19:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:48: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-11-04 19:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:48:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:48:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":229141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:48:43] local.INFO: GPS data processed {"connection_id":229141,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:48:43] local.INFO: Acknowledgment sent {"connection_id":229141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:48:45] local.INFO: TCP Data received {"connection_id":230924,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6eb8f900100000000000000000000000000..."} 
[2026-11-04 19:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6eb8f900100000000000000000000000000..."} 
[2026-11-04 19:48:45] local.INFO: Processing buffer {"connection_id":230924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6eb8f900100000000000000000000000000..."} 
[2026-11-04 19:48:45] local.INFO: Packet analysis {"connection_id":230924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6eb"} 
[2026-11-04 19:48:45] local.INFO: Extracted packet for processing {"connection_id":230924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6eb"} 
[2026-11-04 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 19:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213250560001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4103412547868801024,"note":"Value kept but may cause issues"} 
[2026-11-04 19:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793801818000,"timestamp_ms":1793801818000,"timestamp_seconds":1793801818,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6eb8f90"} 
[2026-11-04 19:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 19:48: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-11-04 19:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":230924,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:48:45] local.INFO: GPS data processed {"connection_id":230924,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:48:45] local.INFO: Acknowledgment sent {"connection_id":230924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:49:05] local.INFO: TCP Data received {"connection_id":230925,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:49:05] local.INFO: Processing buffer {"connection_id":230925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:49:05] local.INFO: IMEI packet received {"connection_id":230925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":230925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:49:10] local.INFO: TCP Data received {"connection_id":229616,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:10] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:10] local.INFO: IMEI packet received {"connection_id":229616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":229616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:49:11] local.INFO: TCP Data received {"connection_id":230925,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:49:11] local.INFO: Processing buffer {"connection_id":230925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:49:11] local.INFO: IMEI packet received {"connection_id":230925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":230925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:49:12] local.INFO: TCP Data received {"connection_id":230925,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:49:12] local.INFO: Processing buffer {"connection_id":230925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:49:12] local.INFO: Packet analysis {"connection_id":230925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:49:12] local.INFO: Extracted packet for processing {"connection_id":230925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:49:12] 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-11-04 19:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19: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-11-04 19: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-11-04 19:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:49:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":230925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:49:12] local.INFO: GPS data processed {"connection_id":230925,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:49:12] local.INFO: Acknowledgment sent {"connection_id":230925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:49:14] local.INFO: TCP Data received {"connection_id":229616,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:14] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:14] local.INFO: IMEI packet received {"connection_id":229616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":229616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:49:16] local.INFO: TCP Data received {"connection_id":229616,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:16] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:16] local.INFO: IMEI packet received {"connection_id":229616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":229616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:49:19] local.INFO: TCP Data received {"connection_id":229616,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:19] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:49:19] local.INFO: IMEI packet received {"connection_id":229616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":229616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:49:22] local.INFO: TCP Data received {"connection_id":229616,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6eb1290012cc73740074d4e30000900782d..."} 
[2026-11-04 19:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6eb1290012cc73740074d4e30000900782d..."} 
[2026-11-04 19:49:22] local.INFO: Processing buffer {"connection_id":229616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6eb1290012cc73740074d4e30000900782d..."} 
[2026-11-04 19:49:22] local.INFO: Packet analysis {"connection_id":229616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6eb"} 
[2026-11-04 19:49:22] local.INFO: Extracted packet for processing {"connection_id":229616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6eb"} 
[2026-11-04 19:49:22] local.INFO: GPS Element Parsed {"raw_longitude":751253312,"raw_latitude":122506800,"longitude_deg":75.1253312,"latitude_deg":12.25068,"altitude":9,"angle":120,"satellites":45,"speed":22,"hex_longitude":"2cc73740","hex_latitude":"074d4e30","is_valid_coordinates":true} 
[2026-11-04 19:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:49:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,164,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793801786000,"timestamp_ms":1793801786000,"timestamp_seconds":1793801786,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6eb1290"} 
[2026-11-04 19:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-11-04 19:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:49:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229616,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27713,"164":206,"2":54016,"24":22,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,2,24,16]} 
[2026-11-04 19:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:49:22] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-11-04 19:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:49:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27713,"unknown_164":206,"power_alt":54016,"ignition":22,"odometer":null}} 
[2026-11-04 19:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":229616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:49:22] local.INFO: GPS data processed {"connection_id":229616,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:49:22] local.INFO: Acknowledgment sent {"connection_id":229616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:49:44] local.INFO: TCP Data received {"connection_id":230925,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:49:44] local.INFO: Processing buffer {"connection_id":230925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:49:44] local.INFO: Packet analysis {"connection_id":230925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:49:44] local.INFO: Extracted packet for processing {"connection_id":230925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:49:44] 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-11-04 19:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:49: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-11-04 19:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:49:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":230925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:49:44] local.INFO: GPS data processed {"connection_id":230925,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:49:44] local.INFO: Acknowledgment sent {"connection_id":230925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:50:05] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:50:05] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:50:05] local.INFO: IMEI packet received {"connection_id":229142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":229142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:50:11] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:50:11] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:50:11] local.INFO: IMEI packet received {"connection_id":229142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":229142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:50:12] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:50:12] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6e96cb0012d34c14006aa4118000a010127..."} 
[2026-11-04 19:50:12] local.INFO: Packet analysis {"connection_id":229142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:50:12] local.INFO: Extracted packet for processing {"connection_id":229142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6e9"} 
[2026-11-04 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213152512001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:12] 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-11-04 19:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801678000,"timestamp_ms":1793801678000,"timestamp_seconds":1793801678,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6e96cb0"} 
[2026-11-04 19:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 19:50: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-11-04 19: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-11-04 19:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213152512001,"66":25419,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213152512001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:50:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213152512001,"power":25419,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":229142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:50:12] local.INFO: GPS data processed {"connection_id":229142,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:50:12] local.INFO: Acknowledgment sent {"connection_id":229142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:50:18] local.INFO: TCP Data received {"connection_id":229617,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:18] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:18] local.INFO: IMEI packet received {"connection_id":229617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":229617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:50:19] local.INFO: TCP Data received {"connection_id":229617,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:19] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:19] local.INFO: IMEI packet received {"connection_id":229617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":229617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:50:23] local.INFO: TCP Data received {"connection_id":229617,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:23] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:50:23] local.INFO: IMEI packet received {"connection_id":229617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":229617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:50:24] local.INFO: TCP Data received {"connection_id":229617,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ed8b60012cc99540074c5180000b00552e..."} 
[2026-11-04 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ed8b60012cc99540074c5180000b00552e..."} 
[2026-11-04 19:50:24] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ed8b60012cc99540074c5180000b00552e..."} 
[2026-11-04 19:50:24] local.INFO: Packet analysis {"connection_id":229617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ed"} 
[2026-11-04 19:50:24] local.INFO: Extracted packet for processing {"connection_id":229617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ed"} 
[2026-11-04 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":751408448,"raw_latitude":122442112,"longitude_deg":75.1408448,"latitude_deg":12.2442112,"altitude":11,"angle":85,"satellites":46,"speed":57,"hex_longitude":"2cc99540","hex_latitude":"074c5180","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213294592001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3945645823442544640,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1793801948000,"timestamp_ms":1793801948000,"timestamp_seconds":1793801948,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ed8b60"} 
[2026-11-04 19:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19: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-11-04 19:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":229617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":229617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":229617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213294592001,"66":27876,"160":206,"2":54016,"24":57,"16":20804074257514496,"44":-3945645823442544640},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,2,24,16,44]} 
[2026-11-04 19:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213294592001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:50:24] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-11-04 19:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3945645823442544640,"description":"Unknown IO ID 44"} 
[2026-11-04 19:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213294592001,"power":27876,"unknown_160":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-3945645823442544640}} 
[2026-11-04 19:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":229617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:50:24] local.INFO: GPS data processed {"connection_id":229617,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:50:24] local.INFO: Acknowledgment sent {"connection_id":229617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:50:29] local.INFO: TCP Data received {"connection_id":229617,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6edc9e0012cc9ed00074c3720000f006f2d..."} 
[2026-11-04 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6edc9e0012cc9ed00074c3720000f006f2d..."} 
[2026-11-04 19:50:29] local.INFO: Processing buffer {"connection_id":229617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6edc9e0012cc9ed00074c3720000f006f2d..."} 
[2026-11-04 19:50:29] local.INFO: Packet analysis {"connection_id":229617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ed"} 
[2026-11-04 19:50:29] local.INFO: Extracted packet for processing {"connection_id":229617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ed"} 
[2026-11-04 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":751430912,"raw_latitude":122435360,"longitude_deg":75.1430912,"latitude_deg":12.243536,"altitude":15,"angle":111,"satellites":45,"speed":57,"hex_longitude":"2cc9ed00","hex_latitude":"074c3720","is_valid_coordinates":true} 
[2026-11-04 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213298688001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3921157500466790400,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:29] 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-11-04 19:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793801964000,"timestamp_ms":1793801964000,"timestamp_seconds":1793801964,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6edc9e0"} 
[2026-11-04 19:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 19:50: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-11-04 19:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":229617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":229617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":229617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213298688001,"66":27745,"159":206,"2":54016,"24":57,"16":20804074257514496,"44":-3921157500466790400},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-11-04 19:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213298688001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:50:29] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-11-04 19:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3921157500466790400,"description":"Unknown IO ID 44"} 
[2026-11-04 19:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213298688001,"power":27745,"unknown_159":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-3921157500466790400}} 
[2026-11-04 19:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":229617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:50:29] local.INFO: GPS data processed {"connection_id":229617,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:50:29] local.INFO: Acknowledgment sent {"connection_id":229617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:50:43] local.INFO: TCP Data received {"connection_id":229142,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:50:43] local.INFO: Processing buffer {"connection_id":229142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:50:43] local.INFO: Packet analysis {"connection_id":229142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:50:43] local.INFO: Extracted packet for processing {"connection_id":229142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:50:43] 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-11-04 19:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:50: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-11-04 19:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:50:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":229142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:50:43] local.INFO: GPS data processed {"connection_id":229142,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:50:43] local.INFO: Acknowledgment sent {"connection_id":229142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:51:06] local.INFO: TCP Data received {"connection_id":229618,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:51:06] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:51:06] local.INFO: IMEI packet received {"connection_id":229618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":229618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:51:11] local.INFO: TCP Data received {"connection_id":229618,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:51:11] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:51:11] local.INFO: IMEI packet received {"connection_id":229618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":229618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:51:13] local.INFO: TCP Data received {"connection_id":229618,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:51:13] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:51:13] local.INFO: Packet analysis {"connection_id":229618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:51:13] local.INFO: Extracted packet for processing {"connection_id":229618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:51:13] 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-11-04 19:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:51:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:51:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":229618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:51:13] local.INFO: GPS data processed {"connection_id":229618,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:51:13] local.INFO: Acknowledgment sent {"connection_id":229618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:51:45] local.INFO: TCP Data received {"connection_id":229618,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:51:45] local.INFO: Processing buffer {"connection_id":229618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:51:45] local.INFO: Packet analysis {"connection_id":229618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:51:45] local.INFO: Extracted packet for processing {"connection_id":229618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:51:45] 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-11-04 19:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:51:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":229618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:51:45] local.INFO: GPS data processed {"connection_id":229618,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:51:45] local.INFO: Acknowledgment sent {"connection_id":229618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:51:51] local.INFO: TCP Data received {"connection_id":229619,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:51:51] local.INFO: Processing buffer {"connection_id":229619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:51:51] local.INFO: IMEI packet received {"connection_id":229619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":229619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:52:06] local.INFO: TCP Data received {"connection_id":230926,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:52:06] local.INFO: Processing buffer {"connection_id":230926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:52:06] local.INFO: IMEI packet received {"connection_id":230926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":230926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:52:10] local.INFO: TCP Data received {"connection_id":230926,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:52:10] local.INFO: Processing buffer {"connection_id":230926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:52:10] local.INFO: IMEI packet received {"connection_id":230926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":230926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:52:12] local.INFO: TCP Data received {"connection_id":230926,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:52:12] local.INFO: Processing buffer {"connection_id":230926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:52:12] local.INFO: Packet analysis {"connection_id":230926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:52:12] local.INFO: Extracted packet for processing {"connection_id":230926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:52:12] 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-11-04 19:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:52: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-11-04 19: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-11-04 19:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:52:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":230926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:52:12] local.INFO: GPS data processed {"connection_id":230926,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:52:12] local.INFO: Acknowledgment sent {"connection_id":230926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:52:18] local.INFO: TCP Data received {"connection_id":229619,"ip":"117.224.108.44","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229619,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 19:52:18] local.INFO: Processing buffer {"connection_id":229619,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-11-04 19:52:18] local.INFO: IMEI packet received {"connection_id":229619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":229619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:52:44] local.INFO: TCP Data received {"connection_id":230926,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:52:44] local.INFO: Processing buffer {"connection_id":230926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:52:44] local.INFO: Packet analysis {"connection_id":230926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:52:44] local.INFO: Extracted packet for processing {"connection_id":230926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:52:44] 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-11-04 19:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:52: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-11-04 19:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:52:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":230926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:52:44] local.INFO: GPS data processed {"connection_id":230926,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:52:44] local.INFO: Acknowledgment sent {"connection_id":230926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:53:05] local.INFO: TCP Data received {"connection_id":230927,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:53:05] local.INFO: Processing buffer {"connection_id":230927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:53:05] local.INFO: IMEI packet received {"connection_id":230927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":230927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:53:11] local.INFO: TCP Data received {"connection_id":230927,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:53:11] local.INFO: Processing buffer {"connection_id":230927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:53:11] local.INFO: IMEI packet received {"connection_id":230927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":230927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:53:12] local.INFO: TCP Data received {"connection_id":230927,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:53:12] local.INFO: Processing buffer {"connection_id":230927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:53:12] local.INFO: Packet analysis {"connection_id":230927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:53:12] local.INFO: Extracted packet for processing {"connection_id":230927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:53:12] 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-11-04 19:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:53: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-11-04 19: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-11-04 19:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:53:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":230927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:53:12] local.INFO: GPS data processed {"connection_id":230927,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:53:12] local.INFO: Acknowledgment sent {"connection_id":230927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:53:44] local.INFO: TCP Data received {"connection_id":230927,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:53:44] local.INFO: Processing buffer {"connection_id":230927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:53:44] local.INFO: Packet analysis {"connection_id":230927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:53:44] local.INFO: Extracted packet for processing {"connection_id":230927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:53:44] 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-11-04 19:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:53: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-11-04 19: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-11-04 19:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:53:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:53:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":230927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:53:44] local.INFO: GPS data processed {"connection_id":230927,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:53:44] local.INFO: Acknowledgment sent {"connection_id":230927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:54:05] local.INFO: TCP Data received {"connection_id":229620,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:54:05] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:54:05] local.INFO: IMEI packet received {"connection_id":229620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":229620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:54:11] local.INFO: TCP Data received {"connection_id":229620,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:54:11] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:54:11] local.INFO: IMEI packet received {"connection_id":229620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":229620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:54:12] local.INFO: TCP Data received {"connection_id":229620,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:54:12] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:54:12] local.INFO: Packet analysis {"connection_id":229620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:54:12] local.INFO: Extracted packet for processing {"connection_id":229620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:54:12] 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-11-04 19:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:54: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-11-04 19: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-11-04 19:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:54:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":229620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:54:12] local.INFO: GPS data processed {"connection_id":229620,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:54:12] local.INFO: Acknowledgment sent {"connection_id":229620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:54:43] local.INFO: TCP Data received {"connection_id":229620,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:54:43] local.INFO: Processing buffer {"connection_id":229620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:54:43] local.INFO: Packet analysis {"connection_id":229620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:54:43] local.INFO: Extracted packet for processing {"connection_id":229620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:54:43] 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-11-04 19:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:54: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-11-04 19: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-11-04 19:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:54:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":229620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:54:43] local.INFO: GPS data processed {"connection_id":229620,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:54:43] local.INFO: Acknowledgment sent {"connection_id":229620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:55:11] local.INFO: TCP Data received {"connection_id":229621,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:55:11] local.INFO: Processing buffer {"connection_id":229621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:55:11] local.INFO: IMEI packet received {"connection_id":229621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":229621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:55:16] local.INFO: TCP Data received {"connection_id":229621,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:55:16] local.INFO: Processing buffer {"connection_id":229621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:55:16] local.INFO: IMEI packet received {"connection_id":229621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":229621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:55:17] local.INFO: TCP Data received {"connection_id":229621,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:55:17] local.INFO: Processing buffer {"connection_id":229621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6ee0478012d34c14006aa4118000a010128..."} 
[2026-11-04 19:55:17] local.INFO: Packet analysis {"connection_id":229621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:55:17] local.INFO: Extracted packet for processing {"connection_id":229621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6ee"} 
[2026-11-04 19:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213229568001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:17] 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-11-04 19:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793801979000,"timestamp_ms":1793801979000,"timestamp_seconds":1793801979,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6ee0478"} 
[2026-11-04 19:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 19:55: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-11-04 19:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213229568001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213229568001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:55:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:55:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213229568001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":229621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:55:17] local.INFO: GPS data processed {"connection_id":229621,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:55:17] local.INFO: Acknowledgment sent {"connection_id":229621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:55:18] local.INFO: TCP Data received {"connection_id":229621,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:55:18] local.INFO: Processing buffer {"connection_id":229621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:55:18] local.INFO: Packet analysis {"connection_id":229621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:55:18] local.INFO: Extracted packet for processing {"connection_id":229621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:18] 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-11-04 19:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:55:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:55:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":229621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:55:18] local.INFO: GPS data processed {"connection_id":229621,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:55:18] local.INFO: Acknowledgment sent {"connection_id":229621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:55:50] local.INFO: TCP Data received {"connection_id":229621,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:55:50] local.INFO: Processing buffer {"connection_id":229621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:55:50] local.INFO: Packet analysis {"connection_id":229621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:55:50] local.INFO: Extracted packet for processing {"connection_id":229621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:55:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:55:50] 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-11-04 19:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":229621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":229621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":229621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:55:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:55:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":229621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:55:50] local.INFO: GPS data processed {"connection_id":229621,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:55:50] local.INFO: Acknowledgment sent {"connection_id":229621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:56:05] local.INFO: TCP Data received {"connection_id":230928,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:56:05] local.INFO: Processing buffer {"connection_id":230928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:56:05] local.INFO: IMEI packet received {"connection_id":230928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":230928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:56:11] local.INFO: TCP Data received {"connection_id":230928,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:56:11] local.INFO: Processing buffer {"connection_id":230928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:56:11] local.INFO: IMEI packet received {"connection_id":230928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":230928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:56:12] local.INFO: TCP Data received {"connection_id":230928,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:56:12] local.INFO: Processing buffer {"connection_id":230928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:56:12] local.INFO: Packet analysis {"connection_id":230928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:56:12] local.INFO: Extracted packet for processing {"connection_id":230928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:12] 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-11-04 19:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:56: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-11-04 19: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-11-04 19:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:56:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":230928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:56:12] local.INFO: GPS data processed {"connection_id":230928,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:56:12] local.INFO: Acknowledgment sent {"connection_id":230928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:56:38] local.INFO: TCP Data received {"connection_id":230929,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:56:38] local.INFO: Processing buffer {"connection_id":230929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:56:38] local.INFO: IMEI packet received {"connection_id":230929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":230929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:56:40] local.INFO: TCP Data received {"connection_id":230929,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f3e0780100000000000000000000000000..."} 
[2026-11-04 19:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f3e0780100000000000000000000000000..."} 
[2026-11-04 19:56:40] local.INFO: Processing buffer {"connection_id":230929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f3e0780100000000000000000000000000..."} 
[2026-11-04 19:56:40] local.INFO: Packet analysis {"connection_id":230929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f3"} 
[2026-11-04 19:56:40] local.INFO: Extracted packet for processing {"connection_id":230929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f3"} 
[2026-11-04 19:56: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-11-04 19:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213389824001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3725884235447871488,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793802363000,"timestamp_ms":1793802363000,"timestamp_seconds":1793802363,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f3e078"} 
[2026-11-04 19:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-11-04 19:56:40] 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-11-04 19:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":230929,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:56:40] local.INFO: GPS data processed {"connection_id":230929,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:56:40] local.INFO: Acknowledgment sent {"connection_id":230929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:56:44] local.INFO: TCP Data received {"connection_id":230928,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:56:44] local.INFO: Processing buffer {"connection_id":230928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:56:44] local.INFO: Packet analysis {"connection_id":230928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:56:44] local.INFO: Extracted packet for processing {"connection_id":230928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:56:44] 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-11-04 19:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:56: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-11-04 19: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-11-04 19:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:56:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:56:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":230928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:56:44] local.INFO: GPS data processed {"connection_id":230928,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:56:44] local.INFO: Acknowledgment sent {"connection_id":230928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:57:05] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:57:05] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:57:05] local.INFO: IMEI packet received {"connection_id":229145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":229145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:57:11] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:57:11] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:57:11] local.INFO: IMEI packet received {"connection_id":229145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":229145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:57:13] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:57:13] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:57:13] local.INFO: Packet analysis {"connection_id":229145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:57:13] local.INFO: Extracted packet for processing {"connection_id":229145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:13] 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-11-04 19:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:57: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-11-04 19:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:57:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":229145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:57:13] local.INFO: GPS data processed {"connection_id":229145,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:57:13] local.INFO: Acknowledgment sent {"connection_id":229145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:57:18] local.INFO: TCP Data received {"connection_id":232788,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:57:18] local.INFO: Processing buffer {"connection_id":232788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:57:18] local.INFO: IMEI packet received {"connection_id":232788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":232788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:57:25] local.INFO: TCP Data received {"connection_id":232788,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:57:25] local.INFO: Processing buffer {"connection_id":232788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:57:25] local.INFO: IMEI packet received {"connection_id":232788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":232788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:57:28] local.INFO: TCP Data received {"connection_id":232788,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f357c0012ccc59000747bfd80003009c2f..."} 
[2026-11-04 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f357c0012ccc59000747bfd80003009c2f..."} 
[2026-11-04 19:57:28] local.INFO: Processing buffer {"connection_id":232788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f357c0012ccc59000747bfd80003009c2f..."} 
[2026-11-04 19:57:28] local.INFO: Packet analysis {"connection_id":232788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f3"} 
[2026-11-04 19:57:28] local.INFO: Extracted packet for processing {"connection_id":232788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f3"} 
[2026-11-04 19:57:28] local.INFO: GPS Element Parsed {"raw_longitude":751589632,"raw_latitude":122142680,"longitude_deg":75.1589632,"latitude_deg":12.214268,"altitude":3,"angle":156,"satellites":47,"speed":5,"hex_longitude":"2ccc5900","hex_latitude":"0747bfd8","is_valid_coordinates":true} 
[2026-11-04 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-11-04 19:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,60,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1793802328000,"timestamp_ms":1793802328000,"timestamp_seconds":1793802328,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f357c0"} 
[2026-11-04 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-11-04 19:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-11-04 19:57: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-11-04 19: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-11-04 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-11-04 19:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":232788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":232788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":232788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"60":206,"2":54016,"24":5,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,2,24,16]} 
[2026-11-04 19:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:57:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-11-04 19:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:57:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_60":206,"power_alt":54016,"ignition":5,"odometer":null}} 
[2026-11-04 19:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":232788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:57:28] local.INFO: GPS data processed {"connection_id":232788,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:57:28] local.INFO: Acknowledgment sent {"connection_id":232788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:57:29] local.INFO: TCP Data received {"connection_id":232788,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f3a9c8012ccc59000747bfd80003009c2f..."} 
[2026-11-04 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f3a9c8012ccc59000747bfd80003009c2f..."} 
[2026-11-04 19:57:29] local.INFO: Processing buffer {"connection_id":232788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f3a9c8012ccc59000747bfd80003009c2f..."} 
[2026-11-04 19:57:29] local.INFO: Packet analysis {"connection_id":232788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f3"} 
[2026-11-04 19:57:29] local.INFO: Extracted packet for processing {"connection_id":232788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f3"} 
[2026-11-04 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":751589632,"raw_latitude":122142680,"longitude_deg":75.1589632,"latitude_deg":12.214268,"altitude":3,"angle":156,"satellites":47,"speed":0,"hex_longitude":"2ccc5900","hex_latitude":"0747bfd8","is_valid_coordinates":true} 
[2026-11-04 19:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213395968001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721943585776478208,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1793802349000,"timestamp_ms":1793802349000,"timestamp_seconds":1793802349,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f3a9c8"} 
[2026-11-04 19:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 19:57: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-11-04 19:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":232788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":232788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":232788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213395968001,"66":27876,"59":206,"2":54016,"24":0,"16":20804074257514496,"44":-3721943585776478208},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-11-04 19:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213395968001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:57:29] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-04 19:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721943585776478208,"description":"Unknown IO ID 44"} 
[2026-11-04 19:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213395968001,"power":27876,"unknown_59":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-3721943585776478208}} 
[2026-11-04 19:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":232788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:57:29] local.INFO: GPS data processed {"connection_id":232788,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:57:29] local.INFO: Acknowledgment sent {"connection_id":232788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:57:45] local.INFO: TCP Data received {"connection_id":229145,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:57:45] local.INFO: Processing buffer {"connection_id":229145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:57:45] local.INFO: Packet analysis {"connection_id":229145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:57:45] local.INFO: Extracted packet for processing {"connection_id":229145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:57:45] 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-11-04 19:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:57: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-11-04 19:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:57:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":229145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:57:45] local.INFO: GPS data processed {"connection_id":229145,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:57:45] local.INFO: Acknowledgment sent {"connection_id":229145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:58:05] local.INFO: TCP Data received {"connection_id":232790,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:58:05] local.INFO: Processing buffer {"connection_id":232790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:58:05] local.INFO: IMEI packet received {"connection_id":232790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":232790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:58:08] local.INFO: TCP Data received {"connection_id":232789,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:58:08] local.INFO: Processing buffer {"connection_id":232789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:58:08] local.INFO: IMEI packet received {"connection_id":232789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":232789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:58:11] local.INFO: TCP Data received {"connection_id":232790,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:58:11] local.INFO: Processing buffer {"connection_id":232790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:58:11] local.INFO: IMEI packet received {"connection_id":232790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":232790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:58:12] local.INFO: TCP Data received {"connection_id":232790,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:58:12] local.INFO: Processing buffer {"connection_id":232790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:58:12] local.INFO: Packet analysis {"connection_id":232790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:58:12] local.INFO: Extracted packet for processing {"connection_id":232790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:12] 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-11-04 19:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:58: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-11-04 19:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:58:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":232790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:58:12] local.INFO: GPS data processed {"connection_id":232790,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:58:12] local.INFO: Acknowledgment sent {"connection_id":232790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:58:14] local.INFO: TCP Data received {"connection_id":232789,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:58:14] local.INFO: Processing buffer {"connection_id":232789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:58:14] local.INFO: IMEI packet received {"connection_id":232789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":232789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:58:15] local.INFO: TCP Data received {"connection_id":232789,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f48c580100000000000000000000000000..."} 
[2026-11-04 19:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f48c580100000000000000000000000000..."} 
[2026-11-04 19:58:15] local.INFO: Processing buffer {"connection_id":232789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f48c580100000000000000000000000000..."} 
[2026-11-04 19:58:15] local.INFO: Packet analysis {"connection_id":232789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 19:58:15] local.INFO: Extracted packet for processing {"connection_id":232789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 19:58: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-11-04 19: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-11-04 19:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213401344001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721943585776478208,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 19:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793802407000,"timestamp_ms":1793802407000,"timestamp_seconds":1793802407,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f48c58"} 
[2026-11-04 19:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 19:58: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-11-04 19: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-11-04 19:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":232789,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 19:58:15] local.INFO: GPS data processed {"connection_id":232789,"processed":0,"errors":0,"total":1} 
[2026-11-04 19:58:15] local.INFO: Acknowledgment sent {"connection_id":232789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:58:43] local.INFO: TCP Data received {"connection_id":232790,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:58:43] local.INFO: Processing buffer {"connection_id":232790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:58:43] local.INFO: Packet analysis {"connection_id":232790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:58:43] local.INFO: Extracted packet for processing {"connection_id":232790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:43] 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-11-04 19:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:58:43] 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-11-04 19: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-11-04 19:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:58:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:58:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":232790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:58:43] local.INFO: GPS data processed {"connection_id":232790,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:58:43] local.INFO: Acknowledgment sent {"connection_id":232790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:58:48] local.INFO: TCP Data received {"connection_id":232789,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f403a0012ccc6ac007478670000700a32c..."} 
[2026-11-04 19:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f403a0012ccc6ac007478670000700a32c..."} 
[2026-11-04 19:58:48] local.INFO: Processing buffer {"connection_id":232789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f403a0012ccc6ac007478670000700a32c..."} 
[2026-11-04 19:58:48] local.INFO: Packet analysis {"connection_id":232789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 19:58:48] local.INFO: Extracted packet for processing {"connection_id":232789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 19:58:48] local.INFO: GPS Element Parsed {"raw_longitude":751594176,"raw_latitude":122127984,"longitude_deg":75.1594176,"latitude_deg":12.2127984,"altitude":7,"angle":163,"satellites":44,"speed":32,"hex_longitude":"2ccc6ac0","hex_latitude":"07478670","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:58:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,59,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793802372000,"timestamp_ms":1793802372000,"timestamp_seconds":1793802372,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f403a0"} 
[2026-11-04 19:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 19:58:48] 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-11-04 19: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-11-04 19:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"59":206,"2":54016,"24":32,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16]} 
[2026-11-04 19:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 19:58:48] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-11-04 19:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:58:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_59":206,"power_alt":54016,"ignition":32,"odometer":null}} 
[2026-11-04 19:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":232789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:58:48] local.INFO: GPS data processed {"connection_id":232789,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:58:48] local.INFO: Acknowledgment sent {"connection_id":232789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:59:11] local.INFO: TCP Data received {"connection_id":232791,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:59:11] local.INFO: Processing buffer {"connection_id":232791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:59:11] local.INFO: IMEI packet received {"connection_id":232791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 19:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":232791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:59:13] local.INFO: TCP Data received {"connection_id":229146,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:59:13] local.INFO: Processing buffer {"connection_id":229146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:59:13] local.INFO: IMEI packet received {"connection_id":229146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 19:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":229146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 19:59:16] local.INFO: TCP Data received {"connection_id":232791,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:59:16] local.INFO: Processing buffer {"connection_id":232791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 19:59:16] local.INFO: IMEI packet received {"connection_id":232791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 19:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":232791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:59:17] local.INFO: TCP Data received {"connection_id":232791,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:59:17] local.INFO: Processing buffer {"connection_id":232791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:59:17] local.INFO: Packet analysis {"connection_id":232791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:59:17] local.INFO: Extracted packet for processing {"connection_id":232791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:17] 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-11-04 19:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:59: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-11-04 19:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:59:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":232791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:59:17] local.INFO: GPS data processed {"connection_id":232791,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:59:17] local.INFO: Acknowledgment sent {"connection_id":232791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:59:20] local.INFO: TCP Data received {"connection_id":229146,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:59:20] local.INFO: Processing buffer {"connection_id":229146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 19:59:20] local.INFO: IMEI packet received {"connection_id":229146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 19:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":229146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 19:59:21] local.INFO: TCP Data received {"connection_id":232791,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:59:21] local.INFO: Processing buffer {"connection_id":232791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 19:59:21] local.INFO: Packet analysis {"connection_id":232791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:59:21] local.INFO: Extracted packet for processing {"connection_id":232791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 19:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 19: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-11-04 19:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:21] 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-11-04 19:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 19:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 19: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 19:59: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-11-04 19: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-11-04 19:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 19:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 19:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 19:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 19:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 19:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 19:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:59:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 19:59:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 19:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 19:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 19:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":232791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:59:21] local.INFO: GPS data processed {"connection_id":232791,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:59:21] local.INFO: Acknowledgment sent {"connection_id":232791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 19:59:23] local.INFO: TCP Data received {"connection_id":229146,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f455a8012ccc778007473b80000700ae2f..."} 
[2026-11-04 19:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f455a8012ccc778007473b80000700ae2f..."} 
[2026-11-04 19:59:23] local.INFO: Processing buffer {"connection_id":229146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f455a8012ccc778007473b80000700ae2f..."} 
[2026-11-04 19:59:23] local.INFO: Packet analysis {"connection_id":229146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 19:59:23] local.INFO: Extracted packet for processing {"connection_id":229146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 19:59:23] local.INFO: GPS Element Parsed {"raw_longitude":751597440,"raw_latitude":122108800,"longitude_deg":75.159744,"latitude_deg":12.21088,"altitude":7,"angle":174,"satellites":47,"speed":0,"hex_longitude":"2ccc7780","hex_latitude":"07473b80","is_valid_coordinates":true} 
[2026-11-04 19:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 19:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213407232001,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3716947404943626240,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 19:59:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 19:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1793802393000,"timestamp_ms":1793802393000,"timestamp_seconds":1793802393,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f455a8"} 
[2026-11-04 19:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 19:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 19:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-11-04 19:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 19:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 19:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 19:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 19:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":229146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 19:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":229146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":229146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 19:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 19:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 19:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 19:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213407232001,"66":27887,"44":-3716947404943626240,"2":54016,"24":0,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-11-04 19:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 19:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 19:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213407232001,"description":"Unknown IO ID 0"} 
[2026-11-04 19:59:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3716947404943626240,"description":"Unknown IO ID 44"} 
[2026-11-04 19:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 19:59:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459213407232001,"power":27887,"unknown_44":-3716947404943626240,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-11-04 19:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":229146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 19:59:24] local.INFO: GPS data processed {"connection_id":229146,"processed":1,"errors":0,"total":1} 
[2026-11-04 19:59:24] local.INFO: Acknowledgment sent {"connection_id":229146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:00:06] local.INFO: TCP Data received {"connection_id":230930,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:00:06] local.INFO: Processing buffer {"connection_id":230930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:00:06] local.INFO: IMEI packet received {"connection_id":230930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":230930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:00:08] local.INFO: TCP Data received {"connection_id":229622,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:00:08] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:00:08] local.INFO: IMEI packet received {"connection_id":229622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":229622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:00:11] local.INFO: TCP Data received {"connection_id":230930,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:00:11] local.INFO: Processing buffer {"connection_id":230930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:00:11] local.INFO: IMEI packet received {"connection_id":230930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":230930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:00:12] local.INFO: TCP Data received {"connection_id":230930,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:00:12] local.INFO: Processing buffer {"connection_id":230930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f29c40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:00:12] local.INFO: Packet analysis {"connection_id":230930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 20:00:12] local.INFO: Extracted packet for processing {"connection_id":230930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f2"} 
[2026-11-04 20:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213306624001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:12] 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-11-04 20:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802280000,"timestamp_ms":1793802280000,"timestamp_seconds":1793802280,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f29c40"} 
[2026-11-04 20:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:00: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-11-04 20:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213306624001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213306624001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:00:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213306624001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":230930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:00:12] local.INFO: GPS data processed {"connection_id":230930,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:00:12] local.INFO: Acknowledgment sent {"connection_id":230930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:00:13] local.INFO: TCP Data received {"connection_id":229622,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:00:13] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:00:13] local.INFO: IMEI packet received {"connection_id":229622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":229622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:00:15] local.INFO: TCP Data received {"connection_id":229622,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f4a7b0012ccc7f800746ef68000d00ad2c..."} 
[2026-11-04 20:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f4a7b0012ccc7f800746ef68000d00ad2c..."} 
[2026-11-04 20:00:15] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f4a7b0012ccc7f800746ef68000d00ad2c..."} 
[2026-11-04 20:00:15] local.INFO: Packet analysis {"connection_id":229622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 20:00:15] local.INFO: Extracted packet for processing {"connection_id":229622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 20:00:15] local.INFO: GPS Element Parsed {"raw_longitude":751599488,"raw_latitude":122089320,"longitude_deg":75.1599488,"latitude_deg":12.208932,"altitude":13,"angle":173,"satellites":44,"speed":0,"hex_longitude":"2ccc7f80","hex_latitude":"0746ef68","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213412608001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3713358598995476480,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 20:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793802414000,"timestamp_ms":1793802414000,"timestamp_seconds":1793802414,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f4a7b0"} 
[2026-11-04 20:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-11-04 20:00: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-11-04 20: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-11-04 20:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213412608001,"66":27745,"44":-3713358598995476480,"2":54016,"24":0,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-11-04 20:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213412608001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:00:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3713358598995476480,"description":"Unknown IO ID 44"} 
[2026-11-04 20:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:00:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":459213412608001,"power":27745,"unknown_44":-3713358598995476480,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-11-04 20:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":229622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:00:15] local.INFO: GPS data processed {"connection_id":229622,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:00:15] local.INFO: Acknowledgment sent {"connection_id":229622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:00:44] local.INFO: TCP Data received {"connection_id":230930,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:00:44] local.INFO: Processing buffer {"connection_id":230930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:00:44] local.INFO: Packet analysis {"connection_id":230930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:00:44] local.INFO: Extracted packet for processing {"connection_id":230930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:44] 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-11-04 20:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:00: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-11-04 20: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-11-04 20:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:00:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":230930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:00:44] local.INFO: GPS data processed {"connection_id":230930,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:00:44] local.INFO: Acknowledgment sent {"connection_id":230930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:00:56] local.INFO: TCP Data received {"connection_id":229622,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f4f9b8012ccc88c00746aa58001600ab2c..."} 
[2026-11-04 20:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f4f9b8012ccc88c00746aa58001600ab2c..."} 
[2026-11-04 20:00:56] local.INFO: Processing buffer {"connection_id":229622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f4f9b8012ccc88c00746aa58001600ab2c..."} 
[2026-11-04 20:00:56] local.INFO: Packet analysis {"connection_id":229622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 20:00:56] local.INFO: Extracted packet for processing {"connection_id":229622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f4"} 
[2026-11-04 20:00:56] local.INFO: GPS Element Parsed {"raw_longitude":751601856,"raw_latitude":122071640,"longitude_deg":75.1601856,"latitude_deg":12.207164,"altitude":22,"angle":171,"satellites":44,"speed":0,"hex_longitude":"2ccc88c0","hex_latitude":"0746aa58","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213417984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3711106799186778112,"note":"Value kept but may cause issues"} 
[2026-11-04 20:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793802435000,"timestamp_ms":1793802435000,"timestamp_seconds":1793802435,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f4f9b8"} 
[2026-11-04 20:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213417984001,"66":27604,"127":206,"2":54016,"24":0,"16":20804074257514496,"44":-3711106799186778112},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-11-04 20:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213417984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:00:56] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-04 20:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:00:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3711106799186778112,"description":"Unknown IO ID 44"} 
[2026-11-04 20:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213417984001,"power":27604,"unknown_127":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-3711106799186778112}} 
[2026-11-04 20:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":229622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:00:56] local.INFO: GPS data processed {"connection_id":229622,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:00:56] local.INFO: Acknowledgment sent {"connection_id":229622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:01:05] local.INFO: TCP Data received {"connection_id":229147,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:01:05] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:01:05] local.INFO: IMEI packet received {"connection_id":229147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":229147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:01:11] local.INFO: TCP Data received {"connection_id":229147,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:01:11] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:01:11] local.INFO: IMEI packet received {"connection_id":229147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":229147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:01:13] local.INFO: TCP Data received {"connection_id":229147,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:01:13] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:01:13] local.INFO: Packet analysis {"connection_id":229147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:01:13] local.INFO: Extracted packet for processing {"connection_id":229147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:13] 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-11-04 20:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:01: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-11-04 20: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-11-04 20:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:01:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:01:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":229147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:01:13] local.INFO: GPS data processed {"connection_id":229147,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:01:13] local.INFO: Acknowledgment sent {"connection_id":229147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:01:13] local.INFO: TCP Data received {"connection_id":232792,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:01:13] local.INFO: Processing buffer {"connection_id":232792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:01:13] local.INFO: IMEI packet received {"connection_id":232792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":232792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:01:18] local.INFO: TCP Data received {"connection_id":232792,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:01:18] local.INFO: Processing buffer {"connection_id":232792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:01:18] local.INFO: IMEI packet received {"connection_id":232792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":232792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:01:21] local.INFO: TCP Data received {"connection_id":232792,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f524b0012ccc9d00074662600018009231..."} 
[2026-11-04 20:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f524b0012ccc9d00074662600018009231..."} 
[2026-11-04 20:01:21] local.INFO: Processing buffer {"connection_id":232792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f524b0012ccc9d00074662600018009231..."} 
[2026-11-04 20:01:21] local.INFO: Packet analysis {"connection_id":232792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f5"} 
[2026-11-04 20:01:21] local.INFO: Extracted packet for processing {"connection_id":232792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f5"} 
[2026-11-04 20:01:21] local.INFO: GPS Element Parsed {"raw_longitude":751607040,"raw_latitude":122053216,"longitude_deg":75.160704,"latitude_deg":12.2053216,"altitude":24,"angle":146,"satellites":49,"speed":47,"hex_longitude":"2ccc9d00","hex_latitude":"07466260","is_valid_coordinates":true} 
[2026-11-04 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213423360001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3708503155656730624,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793802446000,"timestamp_ms":1793802446000,"timestamp_seconds":1793802446,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f524b0"} 
[2026-11-04 20:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 20:01:21] 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-11-04 20:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213423360001,"66":27908,"127":206,"2":54016,"24":47,"16":20804074257514496,"44":-3708503155656730624},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-11-04 20:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213423360001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:01:21] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-11-04 20:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3708503155656730624,"description":"Unknown IO ID 44"} 
[2026-11-04 20:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213423360001,"power":27908,"unknown_127":206,"power_alt":54016,"ignition":47,"odometer":null,"unknown_44":-3708503155656730624}} 
[2026-11-04 20:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":232792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:01:21] local.INFO: GPS data processed {"connection_id":232792,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:01:21] local.INFO: Acknowledgment sent {"connection_id":232792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:01:44] local.INFO: TCP Data received {"connection_id":229147,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:01:44] local.INFO: Processing buffer {"connection_id":229147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:01:44] local.INFO: Packet analysis {"connection_id":229147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:01:44] local.INFO: Extracted packet for processing {"connection_id":229147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:44] 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-11-04 20:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:01: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-11-04 20: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-11-04 20:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:01:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":229147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:01:44] local.INFO: GPS data processed {"connection_id":229147,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:01:44] local.INFO: Acknowledgment sent {"connection_id":229147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:01:53] local.INFO: TCP Data received {"connection_id":232792,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f7d818012ccf1f800743fb50000d008b2f..."} 
[2026-11-04 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f7d818012ccf1f800743fb50000d008b2f..."} 
[2026-11-04 20:01:53] local.INFO: Processing buffer {"connection_id":232792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f7d818012ccf1f800743fb50000d008b2f..."} 
[2026-11-04 20:01:53] local.INFO: Packet analysis {"connection_id":232792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:01:53] local.INFO: Extracted packet for processing {"connection_id":232792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":751771520,"raw_latitude":121895760,"longitude_deg":75.177152,"latitude_deg":12.189576,"altitude":13,"angle":139,"satellites":47,"speed":59,"hex_longitude":"2ccf1f80","hex_latitude":"0743fb50","is_valid_coordinates":true} 
[2026-11-04 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213467392001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3544966194230685696,"note":"Value kept but may cause issues"} 
[2026-11-04 20:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1793802623000,"timestamp_ms":1793802623000,"timestamp_seconds":1793802623,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f7d818"} 
[2026-11-04 20:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 20:01:53] 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-11-04 20:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":232792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":232792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":232792,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213467392001,"66":27876,"171":206,"2":54016,"24":59,"16":20804074257514496,"44":-3544966194230685696},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,2,24,16,44]} 
[2026-11-04 20:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213467392001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:01:53] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-11-04 20:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3544966194230685696,"description":"Unknown IO ID 44"} 
[2026-11-04 20:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213467392001,"power":27876,"unknown_171":206,"power_alt":54016,"ignition":59,"odometer":null,"unknown_44":-3544966194230685696}} 
[2026-11-04 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":232792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:01:53] local.INFO: GPS data processed {"connection_id":232792,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:01:53] local.INFO: Acknowledgment sent {"connection_id":232792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:02:08] local.INFO: TCP Data received {"connection_id":232793,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:02:08] local.INFO: Processing buffer {"connection_id":232793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:02:08] local.INFO: IMEI packet received {"connection_id":232793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":232793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:02:11] local.INFO: TCP Data received {"connection_id":232794,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:02:11] local.INFO: Processing buffer {"connection_id":232794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:02:11] local.INFO: IMEI packet received {"connection_id":232794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":232794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:02:13] local.INFO: TCP Data received {"connection_id":232793,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:02:13] local.INFO: Processing buffer {"connection_id":232793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:02:13] local.INFO: IMEI packet received {"connection_id":232793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":232793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:02:15] local.INFO: TCP Data received {"connection_id":232793,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f82a20012ccf56400743b080000900912e..."} 
[2026-11-04 20:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f82a20012ccf56400743b080000900912e..."} 
[2026-11-04 20:02:15] local.INFO: Processing buffer {"connection_id":232793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f82a20012ccf56400743b080000900912e..."} 
[2026-11-04 20:02:15] local.INFO: Packet analysis {"connection_id":232793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f8"} 
[2026-11-04 20:02:15] local.INFO: Extracted packet for processing {"connection_id":232793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f8"} 
[2026-11-04 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":751785536,"raw_latitude":121876608,"longitude_deg":75.1785536,"latitude_deg":12.1876608,"altitude":9,"angle":145,"satellites":46,"speed":0,"hex_longitude":"2ccf5640","hex_latitude":"0743b080","is_valid_coordinates":true} 
[2026-11-04 20:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213471488001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3521955614886768640,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793802644000,"timestamp_ms":1793802644000,"timestamp_seconds":1793802644,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f82a20"} 
[2026-11-04 20:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-11-04 20:02: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-11-04 20:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":232793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":232793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":232793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213471488001,"66":27713,"189":206,"2":54016,"24":0,"16":20804074257514496,"44":-3521955614886768640},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,2,24,16,44]} 
[2026-11-04 20:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213471488001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:02:15] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-11-04 20:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:02:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3521955614886768640,"description":"Unknown IO ID 44"} 
[2026-11-04 20:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213471488001,"power":27713,"unknown_189":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-3521955614886768640}} 
[2026-11-04 20:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":232793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60451,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:02:15] local.INFO: GPS data processed {"connection_id":232793,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:02:15] local.INFO: Acknowledgment sent {"connection_id":232793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:02:16] local.INFO: TCP Data received {"connection_id":232794,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:02:16] local.INFO: Processing buffer {"connection_id":232794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:02:16] local.INFO: IMEI packet received {"connection_id":232794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":232794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:02:17] local.INFO: TCP Data received {"connection_id":232794,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:02:17] local.INFO: Processing buffer {"connection_id":232794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:02:17] local.INFO: Packet analysis {"connection_id":232794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:02:17] local.INFO: Extracted packet for processing {"connection_id":232794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:17] 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-11-04 20:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:02: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-11-04 20: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-11-04 20:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:02:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":232794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:02:17] local.INFO: GPS data processed {"connection_id":232794,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:02:17] local.INFO: Acknowledgment sent {"connection_id":232794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:02:21] local.INFO: TCP Data received {"connection_id":232794,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:02:21] local.INFO: Processing buffer {"connection_id":232794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:02:21] local.INFO: Packet analysis {"connection_id":232794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:02:21] local.INFO: Extracted packet for processing {"connection_id":232794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:21] 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-11-04 20:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:02: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-11-04 20: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-11-04 20:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:02:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":232794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:02:21] local.INFO: GPS data processed {"connection_id":232794,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:02:21] local.INFO: Acknowledgment sent {"connection_id":232794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:02:46] local.INFO: TCP Data received {"connection_id":232793,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f85518012ccf948007436ce0000a007e31..."} 
[2026-11-04 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f85518012ccf948007436ce0000a007e31..."} 
[2026-11-04 20:02:46] local.INFO: Processing buffer {"connection_id":232793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f85518012ccf948007436ce0000a007e31..."} 
[2026-11-04 20:02:46] local.INFO: Packet analysis {"connection_id":232793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f8"} 
[2026-11-04 20:02:46] local.INFO: Extracted packet for processing {"connection_id":232793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f8"} 
[2026-11-04 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":751801472,"raw_latitude":121859296,"longitude_deg":75.1801472,"latitude_deg":12.1859296,"altitude":10,"angle":126,"satellites":49,"speed":57,"hex_longitude":"2ccf9480","hex_latitude":"07436ce0","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213476864001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3506544859916763136,"note":"Value kept but may cause issues"} 
[2026-11-04 20:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793802655000,"timestamp_ms":1793802655000,"timestamp_seconds":1793802655,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f85518"} 
[2026-11-04 20:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20: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":65,"data_length":795,"current_offset":136} 
[2026-11-04 20:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":232793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":232793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":232793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213476864001,"66":27821,"107":206,"2":54016,"24":57,"16":20804074257514496,"44":-3506544859916763136},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-11-04 20:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213476864001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:02:46] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 20:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:02:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3506544859916763136,"description":"Unknown IO ID 44"} 
[2026-11-04 20:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213476864001,"power":27821,"unknown_107":206,"power_alt":54016,"ignition":57,"odometer":null,"unknown_44":-3506544859916763136}} 
[2026-11-04 20:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":232793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:02:47] local.INFO: GPS data processed {"connection_id":232793,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:02:47] local.INFO: Acknowledgment sent {"connection_id":232793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:03:06] local.INFO: TCP Data received {"connection_id":230931,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:03:06] local.INFO: Processing buffer {"connection_id":230931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:03:06] local.INFO: IMEI packet received {"connection_id":230931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":230931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:03:08] local.INFO: TCP Data received {"connection_id":230932,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:08] local.INFO: Processing buffer {"connection_id":230932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:08] local.INFO: IMEI packet received {"connection_id":230932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":230932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:03:09] local.INFO: TCP Data received {"connection_id":230932,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:09] local.INFO: Processing buffer {"connection_id":230932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:09] local.INFO: IMEI packet received {"connection_id":230932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":230932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:03:11] local.INFO: TCP Data received {"connection_id":230931,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:03:11] local.INFO: Processing buffer {"connection_id":230931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:03:11] local.INFO: IMEI packet received {"connection_id":230931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":230931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:03:12] local.INFO: TCP Data received {"connection_id":230931,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:03:12] local.INFO: Processing buffer {"connection_id":230931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:03:12] local.INFO: Packet analysis {"connection_id":230931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:03:12] local.INFO: Extracted packet for processing {"connection_id":230931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:12] 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-11-04 20:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:03: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-11-04 20: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-11-04 20:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:03:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":230931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:03:12] local.INFO: GPS data processed {"connection_id":230931,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:03:12] local.INFO: Acknowledgment sent {"connection_id":230931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:03:13] local.INFO: TCP Data received {"connection_id":230932,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:13] local.INFO: Processing buffer {"connection_id":230932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:03:13] local.INFO: IMEI packet received {"connection_id":230932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":230932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:03:14] local.INFO: TCP Data received {"connection_id":230932,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f8a720012ccfddc007433908000f007c30..."} 
[2026-11-04 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f8a720012ccfddc007433908000f007c30..."} 
[2026-11-04 20:03:14] local.INFO: Processing buffer {"connection_id":230932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f8a720012ccfddc007433908000f007c30..."} 
[2026-11-04 20:03:14] local.INFO: Packet analysis {"connection_id":230932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f8"} 
[2026-11-04 20:03:14] local.INFO: Extracted packet for processing {"connection_id":230932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f8"} 
[2026-11-04 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":751820224,"raw_latitude":121846024,"longitude_deg":75.1820224,"latitude_deg":12.1846024,"altitude":15,"angle":124,"satellites":48,"speed":0,"hex_longitude":"2ccfddc0","hex_latitude":"07433908","is_valid_coordinates":true} 
[2026-11-04 20:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213479680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3489023042620956672,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793802676000,"timestamp_ms":1793802676000,"timestamp_seconds":1793802676,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f8a720"} 
[2026-11-04 20:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-11-04 20:03: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-11-04 20:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":230932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":230932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":230932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213479680001,"66":27800,"107":206,"2":54016,"24":0,"16":20804074257514496,"44":-3489023042620956672},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-11-04 20:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213479680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:03:14] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 20:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:03:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3489023042620956672,"description":"Unknown IO ID 44"} 
[2026-11-04 20:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213479680001,"power":27800,"unknown_107":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-3489023042620956672}} 
[2026-11-04 20:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":230932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:03:14] local.INFO: GPS data processed {"connection_id":230932,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:03:14] local.INFO: Acknowledgment sent {"connection_id":230932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:03:47] local.INFO: TCP Data received {"connection_id":230932,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f989b00100000000000000000000000000..."} 
[2026-11-04 20:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f989b00100000000000000000000000000..."} 
[2026-11-04 20:03:47] local.INFO: Processing buffer {"connection_id":230932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f989b00100000000000000000000000000..."} 
[2026-11-04 20:03:47] local.INFO: Packet analysis {"connection_id":230932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:03:47] local.INFO: Extracted packet for processing {"connection_id":230932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:03: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-11-04 20:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213485056001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3468405000580298752,"note":"Value kept but may cause issues"} 
[2026-11-04 20:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1793802734000,"timestamp_ms":1793802734000,"timestamp_seconds":1793802734,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f989b0"} 
[2026-11-04 20:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 20:03:47] 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-11-04 20:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":230932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":230932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":230932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":230932,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 20:03:47] local.INFO: GPS data processed {"connection_id":230932,"processed":0,"errors":0,"total":1} 
[2026-11-04 20:03:47] local.INFO: Acknowledgment sent {"connection_id":230932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:04:16] local.INFO: TCP Data received {"connection_id":232795,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:04:16] local.INFO: Processing buffer {"connection_id":232795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:04:16] local.INFO: IMEI packet received {"connection_id":232795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":232795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:04:18] local.INFO: TCP Data received {"connection_id":232795,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:04:18] local.INFO: Processing buffer {"connection_id":232795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:04:18] local.INFO: IMEI packet received {"connection_id":232795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":232795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:04:19] local.INFO: TCP Data received {"connection_id":232795,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f91098012cd076400742ce70000c007e30..."} 
[2026-11-04 20:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f91098012cd076400742ce70000c007e30..."} 
[2026-11-04 20:04:19] local.INFO: Processing buffer {"connection_id":232795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f91098012cd076400742ce70000c007e30..."} 
[2026-11-04 20:04:19] local.INFO: Packet analysis {"connection_id":232795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:04:19] local.INFO: Extracted packet for processing {"connection_id":232795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:04:19] local.INFO: GPS Element Parsed {"raw_longitude":751859264,"raw_latitude":121818736,"longitude_deg":75.1859264,"latitude_deg":12.1818736,"altitude":12,"angle":126,"satellites":48,"speed":58,"hex_longitude":"2cd07640","hex_latitude":"0742ce70","is_valid_coordinates":true} 
[2026-11-04 20:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,107,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 20:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793802703000,"timestamp_ms":1793802703000,"timestamp_seconds":1793802703,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f91098"} 
[2026-11-04 20:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 20:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":232795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":232795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":232795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"107":206,"2":54016,"24":58,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16]} 
[2026-11-04 20:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 20:04:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 20:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:04:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_107":206,"power_alt":54016,"ignition":58,"odometer":null}} 
[2026-11-04 20:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":232795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:04:19] local.INFO: GPS data processed {"connection_id":232795,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:04:19] local.INFO: Acknowledgment sent {"connection_id":232795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:04:21] local.INFO: TCP Data received {"connection_id":232795,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f962a0012cd0c08007429838000d007f31..."} 
[2026-11-04 20:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f962a0012cd0c08007429838000d007f31..."} 
[2026-11-04 20:04:21] local.INFO: Processing buffer {"connection_id":232795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f962a0012cd0c08007429838000d007f31..."} 
[2026-11-04 20:04:21] local.INFO: Packet analysis {"connection_id":232795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:04:21] local.INFO: Extracted packet for processing {"connection_id":232795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:04:21] local.INFO: GPS Element Parsed {"raw_longitude":751878272,"raw_latitude":121804856,"longitude_deg":75.1878272,"latitude_deg":12.1804856,"altitude":13,"angle":127,"satellites":49,"speed":0,"hex_longitude":"2cd0c080","hex_latitude":"07429838","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213491968001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3425480066638909440,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793802724000,"timestamp_ms":1793802724000,"timestamp_seconds":1793802724,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f962a0"} 
[2026-11-04 20:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 20:04:21] 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-11-04 20: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-11-04 20:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213491968001,"66":27832,"107":206,"2":54016,"24":0,"16":20804074257514496,"44":-3425480066638909440},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,2,24,16,44]} 
[2026-11-04 20:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213491968001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:04:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-11-04 20:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3425480066638909440,"description":"Unknown IO ID 44"} 
[2026-11-04 20:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213491968001,"power":27832,"unknown_107":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-3425480066638909440}} 
[2026-11-04 20:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":232795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:04:21] local.INFO: GPS data processed {"connection_id":232795,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:04:21] local.INFO: Acknowledgment sent {"connection_id":232795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:04:40] local.INFO: TCP Data received {"connection_id":230931,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:04:40] local.INFO: Processing buffer {"connection_id":230931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:04:40] local.INFO: Packet analysis {"connection_id":230931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:04:40] local.INFO: Extracted packet for processing {"connection_id":230931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:40] 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-11-04 20:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":230931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":230931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":230931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:04:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":230931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:04:40] local.INFO: GPS data processed {"connection_id":230931,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:04:40] local.INFO: Acknowledgment sent {"connection_id":230931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:04:52] local.INFO: TCP Data received {"connection_id":232795,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fa45300100000000000000000000000000..."} 
[2026-11-04 20:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fa45300100000000000000000000000000..."} 
[2026-11-04 20:04:52] local.INFO: Processing buffer {"connection_id":232795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fa45300100000000000000000000000000..."} 
[2026-11-04 20:04:52] local.INFO: Packet analysis {"connection_id":232795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fa"} 
[2026-11-04 20:04:52] local.INFO: Extracted packet for processing {"connection_id":232795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fa"} 
[2026-11-04 20:04:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 20:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213497344001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3404580549621696512,"note":"Value kept but may cause issues"} 
[2026-11-04 20:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1793802782000,"timestamp_ms":1793802782000,"timestamp_seconds":1793802782,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fa4530"} 
[2026-11-04 20:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-11-04 20:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":232795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":232795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":232795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":232795,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 20:04:52] local.INFO: GPS data processed {"connection_id":232795,"processed":0,"errors":0,"total":1} 
[2026-11-04 20:04:52] local.INFO: Acknowledgment sent {"connection_id":232795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:05:08] local.INFO: TCP Data received {"connection_id":230934,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:05:08] local.INFO: Processing buffer {"connection_id":230934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:05:08] local.INFO: IMEI packet received {"connection_id":230934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":230934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:05:11] local.INFO: TCP Data received {"connection_id":230934,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:05:11] local.INFO: Processing buffer {"connection_id":230934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:05:11] local.INFO: IMEI packet received {"connection_id":230934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":230934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:05:11] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:05:11] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:05:11] local.INFO: IMEI packet received {"connection_id":229148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":229148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:05:12] local.INFO: TCP Data received {"connection_id":230934,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f9cc18012cd14a4007421fc0000f008c2e..."} 
[2026-11-04 20:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f9cc18012cd14a4007421fc0000f008c2e..."} 
[2026-11-04 20:05:12] local.INFO: Processing buffer {"connection_id":230934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f9cc18012cd14a4007421fc0000f008c2e..."} 
[2026-11-04 20:05:12] local.INFO: Packet analysis {"connection_id":230934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:05:12] local.INFO: Extracted packet for processing {"connection_id":230934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f9"} 
[2026-11-04 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":751913536,"raw_latitude":121774016,"longitude_deg":75.1913536,"latitude_deg":12.1774016,"altitude":15,"angle":140,"satellites":46,"speed":58,"hex_longitude":"2cd14a40","hex_latitude":"07421fc0","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 20:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802751000,"timestamp_ms":1793802751000,"timestamp_seconds":1793802751,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f9cc18"} 
[2026-11-04 20:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20: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":37,"data_length":795,"current_offset":136} 
[2026-11-04 20:05: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-11-04 20: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-11-04 20:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"104":206,"2":54016,"24":58,"16":20804074257514496},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,2,24,16]} 
[2026-11-04 20:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 20:05:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-11-04 20:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:05:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_104":206,"power_alt":54016,"ignition":58,"odometer":null}} 
[2026-11-04 20:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":230934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:05:12] local.INFO: GPS data processed {"connection_id":230934,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:05:12] local.INFO: Acknowledgment sent {"connection_id":230934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:05:16] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:05:16] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:05:16] local.INFO: IMEI packet received {"connection_id":229148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":229148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:05:17] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:05:17] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6f73408012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:05:17] local.INFO: Packet analysis {"connection_id":229148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:05:17] local.INFO: Extracted packet for processing {"connection_id":229148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6f7"} 
[2026-11-04 20:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213383680001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:17] 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-11-04 20:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793802581000,"timestamp_ms":1793802581000,"timestamp_seconds":1793802581,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6f73408"} 
[2026-11-04 20:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:05: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-11-04 20: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-11-04 20:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213383680001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213383680001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:05:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213383680001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":229148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:05:17] local.INFO: GPS data processed {"connection_id":229148,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:05:17] local.INFO: Acknowledgment sent {"connection_id":229148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:05:20] local.INFO: TCP Data received {"connection_id":229148,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:05:20] local.INFO: Processing buffer {"connection_id":229148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:05:20] local.INFO: Packet analysis {"connection_id":229148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:05:20] local.INFO: Extracted packet for processing {"connection_id":229148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:20] 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-11-04 20:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":229148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":229148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":229148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:05:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:05:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":229148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:05:20] local.INFO: GPS data processed {"connection_id":229148,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:05:20] local.INFO: Acknowledgment sent {"connection_id":229148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:05:54] local.INFO: TCP Data received {"connection_id":230934,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fa1e20012cd183400741d7d8000d00902d..."} 
[2026-11-04 20:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fa1e20012cd183400741d7d8000d00902d..."} 
[2026-11-04 20:05:54] local.INFO: Processing buffer {"connection_id":230934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fa1e20012cd183400741d7d8000d00902d..."} 
[2026-11-04 20:05:54] local.INFO: Packet analysis {"connection_id":230934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fa"} 
[2026-11-04 20:05:54] local.INFO: Extracted packet for processing {"connection_id":230934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fa"} 
[2026-11-04 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":751928128,"raw_latitude":121755608,"longitude_deg":75.1928128,"latitude_deg":12.1755608,"altitude":13,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2cd18340","hex_latitude":"0741d7d8","is_valid_coordinates":true} 
[2026-11-04 20:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213504256001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3365807371587698688,"note":"Value kept but may cause issues"} 
[2026-11-04 20:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1793802772000,"timestamp_ms":1793802772000,"timestamp_seconds":1793802772,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fa1e20"} 
[2026-11-04 20:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-11-04 20:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:05:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":230934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":230934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":230934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213504256001,"66":27745,"105":206,"2":54016,"24":0,"16":20804074257514496,"44":-3365807371587698688},"client_ip":"117.224.108.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,44]} 
[2026-11-04 20:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213504256001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:05:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:05:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3365807371587698688,"description":"Unknown IO ID 44"} 
[2026-11-04 20:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213504256001,"power":27745,"unknown_105":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-3365807371587698688}} 
[2026-11-04 20:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":230934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:05:54] local.INFO: GPS data processed {"connection_id":230934,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:05:54] local.INFO: Acknowledgment sent {"connection_id":230934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:06:05] local.INFO: TCP Data received {"connection_id":229149,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:06:05] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:06:05] local.INFO: IMEI packet received {"connection_id":229149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":229149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:06:08] local.INFO: TCP Data received {"connection_id":229623,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:08] local.INFO: Processing buffer {"connection_id":229623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:08] local.INFO: IMEI packet received {"connection_id":229623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":229623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:06:09] local.INFO: TCP Data received {"connection_id":229623,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:09] local.INFO: Processing buffer {"connection_id":229623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:09] local.INFO: IMEI packet received {"connection_id":229623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":229623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:06:11] local.INFO: TCP Data received {"connection_id":229149,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:06:11] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:06:11] local.INFO: IMEI packet received {"connection_id":229149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":229149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:06:12] local.INFO: TCP Data received {"connection_id":229149,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:06:12] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:06:12] local.INFO: Packet analysis {"connection_id":229149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:06:12] local.INFO: Extracted packet for processing {"connection_id":229149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:06:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:12] 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-11-04 20:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:06:12] 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-11-04 20: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-11-04 20:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:06:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":229149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:06:12] local.INFO: GPS data processed {"connection_id":229149,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:06:12] local.INFO: Acknowledgment sent {"connection_id":229149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:06:13] local.INFO: TCP Data received {"connection_id":229623,"ip":"117.224.108.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:13] local.INFO: Processing buffer {"connection_id":229623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:06:13] local.INFO: IMEI packet received {"connection_id":229623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":229623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:06:15] local.INFO: TCP Data received {"connection_id":229623,"ip":"117.224.108.44","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fb00b00100000000000000000000000000..."} 
[2026-11-04 20:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fb00b00100000000000000000000000000..."} 
[2026-11-04 20:06:15] local.INFO: Processing buffer {"connection_id":229623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fb00b00100000000000000000000000000..."} 
[2026-11-04 20:06:15] local.INFO: Packet analysis {"connection_id":229623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:06:15] local.INFO: Extracted packet for processing {"connection_id":229623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-11-04 20:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213509632001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3349763297919903744,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1793802830000,"timestamp_ms":1793802830000,"timestamp_seconds":1793802830,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fb00b0"} 
[2026-11-04 20:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:06:15] 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-11-04 20:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":229623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":229623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":229623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.108.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":229623,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 20:06:15] local.INFO: GPS data processed {"connection_id":229623,"processed":0,"errors":0,"total":1} 
[2026-11-04 20:06:15] local.INFO: Acknowledgment sent {"connection_id":229623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:06:44] local.INFO: TCP Data received {"connection_id":229149,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:06:44] local.INFO: Processing buffer {"connection_id":229149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:06:44] local.INFO: Packet analysis {"connection_id":229149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:06:44] local.INFO: Extracted packet for processing {"connection_id":229149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:06:44] 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-11-04 20:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:06:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":229149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:06:44] local.INFO: GPS data processed {"connection_id":229149,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:06:44] local.INFO: Acknowledgment sent {"connection_id":229149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:07:15] local.INFO: TCP Data received {"connection_id":230935,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:07:15] local.INFO: Processing buffer {"connection_id":230935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:07:15] local.INFO: IMEI packet received {"connection_id":230935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":230935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:07:21] local.INFO: TCP Data received {"connection_id":230935,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:07:21] local.INFO: Processing buffer {"connection_id":230935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:07:21] local.INFO: IMEI packet received {"connection_id":230935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":230935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:07:22] local.INFO: TCP Data received {"connection_id":230935,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:07:22] local.INFO: Processing buffer {"connection_id":230935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:07:22] local.INFO: Packet analysis {"connection_id":230935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:07:22] local.INFO: Extracted packet for processing {"connection_id":230935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:07:22] 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-11-04 20:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:07:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:07:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":230935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:07:22] local.INFO: GPS data processed {"connection_id":230935,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:07:22] local.INFO: Acknowledgment sent {"connection_id":230935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:08:05] local.INFO: TCP Data received {"connection_id":232796,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:08:05] local.INFO: Processing buffer {"connection_id":232796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:08:05] local.INFO: IMEI packet received {"connection_id":232796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":232796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:08:11] local.INFO: TCP Data received {"connection_id":232796,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:08:11] local.INFO: Processing buffer {"connection_id":232796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:08:11] local.INFO: IMEI packet received {"connection_id":232796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":232796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:08:12] local.INFO: TCP Data received {"connection_id":232796,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:08:12] local.INFO: Processing buffer {"connection_id":232796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:08:12] local.INFO: Packet analysis {"connection_id":232796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:08:12] local.INFO: Extracted packet for processing {"connection_id":232796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:08:12] 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-11-04 20:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:08:12] 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-11-04 20:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:08:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":232796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:08:12] local.INFO: GPS data processed {"connection_id":232796,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:08:12] local.INFO: Acknowledgment sent {"connection_id":232796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:08:44] local.INFO: TCP Data received {"connection_id":232796,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:08:44] local.INFO: Processing buffer {"connection_id":232796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:08:44] local.INFO: Packet analysis {"connection_id":232796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:08:44] local.INFO: Extracted packet for processing {"connection_id":232796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:08:44] 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-11-04 20:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:08:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:08:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":232796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:08:44] local.INFO: GPS data processed {"connection_id":232796,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:08:44] local.INFO: Acknowledgment sent {"connection_id":232796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:09:05] local.INFO: TCP Data received {"connection_id":229624,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:09:05] local.INFO: Processing buffer {"connection_id":229624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:09:05] local.INFO: IMEI packet received {"connection_id":229624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":229624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:09:11] local.INFO: TCP Data received {"connection_id":229624,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:09:11] local.INFO: Processing buffer {"connection_id":229624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:09:11] local.INFO: IMEI packet received {"connection_id":229624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":229624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:09:12] local.INFO: TCP Data received {"connection_id":229624,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:09:12] local.INFO: Processing buffer {"connection_id":229624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:09:12] local.INFO: Packet analysis {"connection_id":229624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:09:12] local.INFO: Extracted packet for processing {"connection_id":229624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:09:12] 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-11-04 20:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:09:12] 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-11-04 20: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-11-04 20:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:09:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":229624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:09:12] local.INFO: GPS data processed {"connection_id":229624,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:09:12] local.INFO: Acknowledgment sent {"connection_id":229624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:09:44] local.INFO: TCP Data received {"connection_id":229624,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:09:44] local.INFO: Processing buffer {"connection_id":229624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:09:44] local.INFO: Packet analysis {"connection_id":229624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:09:44] local.INFO: Extracted packet for processing {"connection_id":229624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:09:44] 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-11-04 20:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:09:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:09:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":229624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:09:44] local.INFO: GPS data processed {"connection_id":229624,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:09:44] local.INFO: Acknowledgment sent {"connection_id":229624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:10:11] local.INFO: TCP Data received {"connection_id":230936,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:10:11] local.INFO: Processing buffer {"connection_id":230936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:10:11] local.INFO: IMEI packet received {"connection_id":230936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":230936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:10:15] local.INFO: TCP Data received {"connection_id":230936,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:10:15] local.INFO: Processing buffer {"connection_id":230936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:10:15] local.INFO: IMEI packet received {"connection_id":230936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":230936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:10:17] local.INFO: TCP Data received {"connection_id":230936,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:10:17] local.INFO: Processing buffer {"connection_id":230936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:10:17] local.INFO: Packet analysis {"connection_id":230936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:10:17] local.INFO: Extracted packet for processing {"connection_id":230936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:10:17] 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-11-04 20:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:10:17] 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-11-04 20:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:10:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":230936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:10:17] local.INFO: GPS data processed {"connection_id":230936,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:10:17] local.INFO: Acknowledgment sent {"connection_id":230936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:10:21] local.INFO: TCP Data received {"connection_id":230936,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:10:21] local.INFO: Processing buffer {"connection_id":230936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a6fbcbd0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:10:21] local.INFO: Packet analysis {"connection_id":230936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:10:21] local.INFO: Extracted packet for processing {"connection_id":230936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a6fb"} 
[2026-11-04 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213460736001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:10:21] 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-11-04 20:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793802882000,"timestamp_ms":1793802882000,"timestamp_seconds":1793802882,"priority":1,"record_length":96,"hex_timestamp":"000001a1a6fbcbd0"} 
[2026-11-04 20:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213460736001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213460736001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:10:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:10:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213460736001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":230936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:10:21] local.INFO: GPS data processed {"connection_id":230936,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:10:21] local.INFO: Acknowledgment sent {"connection_id":230936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:10:38] local.INFO: TCP Data received {"connection_id":232797,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:10:38] local.INFO: Processing buffer {"connection_id":232797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:10:38] local.INFO: IMEI packet received {"connection_id":232797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":232797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:11:05] local.INFO: TCP Data received {"connection_id":229625,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:11:05] local.INFO: Processing buffer {"connection_id":229625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:11:05] local.INFO: IMEI packet received {"connection_id":229625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":229625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:11:08] local.INFO: TCP Data received {"connection_id":232798,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:11:08] local.INFO: Processing buffer {"connection_id":232798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:11:08] local.INFO: IMEI packet received {"connection_id":232798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":232798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:11:11] local.INFO: TCP Data received {"connection_id":229625,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:11:11] local.INFO: Processing buffer {"connection_id":229625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:11:11] local.INFO: IMEI packet received {"connection_id":229625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:11:12] local.INFO: TCP Data received {"connection_id":229625,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:11:12] local.INFO: Processing buffer {"connection_id":229625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:11:12] local.INFO: Packet analysis {"connection_id":229625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:11:12] local.INFO: Extracted packet for processing {"connection_id":229625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:11:12] 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-11-04 20:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:11: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-11-04 20: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-11-04 20:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:11:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:11:12] local.INFO: GPS data processed {"connection_id":229625,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:11:12] local.INFO: Acknowledgment sent {"connection_id":229625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:11:44] local.INFO: TCP Data received {"connection_id":229625,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:11:44] local.INFO: Processing buffer {"connection_id":229625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:11:44] local.INFO: Packet analysis {"connection_id":229625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:11:44] local.INFO: Extracted packet for processing {"connection_id":229625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:11:44] 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-11-04 20:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:11: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-11-04 20: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-11-04 20:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:11:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:11:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":229625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:11:44] local.INFO: GPS data processed {"connection_id":229625,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:11:44] local.INFO: Acknowledgment sent {"connection_id":229625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:12:05] local.INFO: TCP Data received {"connection_id":230938,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:12:05] local.INFO: Processing buffer {"connection_id":230938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:12:05] local.INFO: IMEI packet received {"connection_id":230938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":230938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:12:11] local.INFO: TCP Data received {"connection_id":230938,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:12:11] local.INFO: Processing buffer {"connection_id":230938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:12:11] local.INFO: IMEI packet received {"connection_id":230938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":230938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:12:12] local.INFO: TCP Data received {"connection_id":230938,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:12:12] local.INFO: Processing buffer {"connection_id":230938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:12:12] local.INFO: Packet analysis {"connection_id":230938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:12:12] local.INFO: Extracted packet for processing {"connection_id":230938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:12:12] 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-11-04 20:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:12: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-11-04 20: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-11-04 20:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:12:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":230938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:12:12] local.INFO: GPS data processed {"connection_id":230938,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:12:12] local.INFO: Acknowledgment sent {"connection_id":230938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:12:44] local.INFO: TCP Data received {"connection_id":230938,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:12:44] local.INFO: Processing buffer {"connection_id":230938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:12:44] local.INFO: Packet analysis {"connection_id":230938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:12:44] local.INFO: Extracted packet for processing {"connection_id":230938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:12:44] 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-11-04 20:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:12: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-11-04 20:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:12:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":230938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:12:44] local.INFO: GPS data processed {"connection_id":230938,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:12:44] local.INFO: Acknowledgment sent {"connection_id":230938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:13:05] local.INFO: TCP Data received {"connection_id":232799,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:13:05] local.INFO: Processing buffer {"connection_id":232799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:13:05] local.INFO: IMEI packet received {"connection_id":232799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":232799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:13:11] local.INFO: TCP Data received {"connection_id":232799,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:13:11] local.INFO: Processing buffer {"connection_id":232799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:13:11] local.INFO: IMEI packet received {"connection_id":232799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":232799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:13:12] local.INFO: TCP Data received {"connection_id":232799,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:13:12] local.INFO: Processing buffer {"connection_id":232799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:13:12] local.INFO: Packet analysis {"connection_id":232799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:13:12] local.INFO: Extracted packet for processing {"connection_id":232799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:13:12] 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-11-04 20:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20: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-11-04 20: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-11-04 20:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:13:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":232799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:13:12] local.INFO: GPS data processed {"connection_id":232799,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:13:12] local.INFO: Acknowledgment sent {"connection_id":232799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:13:44] local.INFO: TCP Data received {"connection_id":232799,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:13:44] local.INFO: Processing buffer {"connection_id":232799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:13:44] local.INFO: Packet analysis {"connection_id":232799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:13:44] local.INFO: Extracted packet for processing {"connection_id":232799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:13:44] 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-11-04 20:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20: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-11-04 20: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-11-04 20:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:13:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:13:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":232799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:13:44] local.INFO: GPS data processed {"connection_id":232799,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:13:44] local.INFO: Acknowledgment sent {"connection_id":232799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:14:11] local.INFO: TCP Data received {"connection_id":232801,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:14:11] local.INFO: Processing buffer {"connection_id":232801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:14:11] local.INFO: IMEI packet received {"connection_id":232801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":232801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:14:16] local.INFO: TCP Data received {"connection_id":232801,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:14:16] local.INFO: Processing buffer {"connection_id":232801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:14:16] local.INFO: IMEI packet received {"connection_id":232801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":232801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:14:17] local.INFO: TCP Data received {"connection_id":232801,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:14:17] local.INFO: Processing buffer {"connection_id":232801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:14:17] local.INFO: Packet analysis {"connection_id":232801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:14:17] local.INFO: Extracted packet for processing {"connection_id":232801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:14:17] 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-11-04 20:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:14: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-11-04 20:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:14:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:14:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":232801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:14:17] local.INFO: GPS data processed {"connection_id":232801,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:14:17] local.INFO: Acknowledgment sent {"connection_id":232801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:14:21] local.INFO: TCP Data received {"connection_id":232801,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:14:21] local.INFO: Processing buffer {"connection_id":232801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:14:21] local.INFO: Packet analysis {"connection_id":232801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:14:21] local.INFO: Extracted packet for processing {"connection_id":232801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:14:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:14:21] 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-11-04 20:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:14: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-11-04 20: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-11-04 20:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:14:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:14:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":232801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:14:21] local.INFO: GPS data processed {"connection_id":232801,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:14:21] local.INFO: Acknowledgment sent {"connection_id":232801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:15:06] local.INFO: TCP Data received {"connection_id":229626,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:15:06] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:15:06] local.INFO: IMEI packet received {"connection_id":229626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":229626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:15:11] local.INFO: TCP Data received {"connection_id":229626,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:15:11] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:15:11] local.INFO: IMEI packet received {"connection_id":229626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":229626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:15:12] local.INFO: TCP Data received {"connection_id":229626,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:15:12] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7005fb0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:15:12] local.INFO: Packet analysis {"connection_id":229626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:15:12] local.INFO: Extracted packet for processing {"connection_id":229626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a700"} 
[2026-11-04 20:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213537792001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:15:12] 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-11-04 20:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803182000,"timestamp_ms":1793803182000,"timestamp_seconds":1793803182,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7005fb0"} 
[2026-11-04 20:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 20:15: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-11-04 20:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213537792001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213537792001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:15:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:15:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213537792001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":229626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:15:12] local.INFO: GPS data processed {"connection_id":229626,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:15:12] local.INFO: Acknowledgment sent {"connection_id":229626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:15:43] local.INFO: TCP Data received {"connection_id":229626,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:15:43] local.INFO: Processing buffer {"connection_id":229626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:15:43] local.INFO: Packet analysis {"connection_id":229626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:15:43] local.INFO: Extracted packet for processing {"connection_id":229626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:15:43] 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-11-04 20:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:15:43] 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-11-04 20: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-11-04 20:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:15:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":229626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:15:43] local.INFO: GPS data processed {"connection_id":229626,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:15:43] local.INFO: Acknowledgment sent {"connection_id":229626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:16:05] local.INFO: TCP Data received {"connection_id":229627,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:16:05] local.INFO: Processing buffer {"connection_id":229627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:16:05] local.INFO: IMEI packet received {"connection_id":229627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":229627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:16:11] local.INFO: TCP Data received {"connection_id":229627,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:16:11] local.INFO: Processing buffer {"connection_id":229627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:16:11] local.INFO: IMEI packet received {"connection_id":229627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":229627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:16:12] local.INFO: TCP Data received {"connection_id":229627,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:16:12] local.INFO: Processing buffer {"connection_id":229627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:16:12] local.INFO: Packet analysis {"connection_id":229627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:16:12] local.INFO: Extracted packet for processing {"connection_id":229627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:16:12] 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-11-04 20:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:16: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-11-04 20: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-11-04 20:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:16:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":229627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:16:12] local.INFO: GPS data processed {"connection_id":229627,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:16:12] local.INFO: Acknowledgment sent {"connection_id":229627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:16:44] local.INFO: TCP Data received {"connection_id":229627,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:16:44] local.INFO: Processing buffer {"connection_id":229627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:16:44] local.INFO: Packet analysis {"connection_id":229627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:16:44] local.INFO: Extracted packet for processing {"connection_id":229627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:16:44] 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-11-04 20:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:16: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-11-04 20: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-11-04 20:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:16:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":229627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:16:44] local.INFO: GPS data processed {"connection_id":229627,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:16:44] local.INFO: Acknowledgment sent {"connection_id":229627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:16:48] local.INFO: TCP Data received {"connection_id":229150,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:16:48] local.INFO: Processing buffer {"connection_id":229150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:16:48] local.INFO: IMEI packet received {"connection_id":229150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":229150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:17:05] local.INFO: TCP Data received {"connection_id":232803,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:17:05] local.INFO: Processing buffer {"connection_id":232803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:17:05] local.INFO: IMEI packet received {"connection_id":232803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":232803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:17:11] local.INFO: TCP Data received {"connection_id":232803,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:17:11] local.INFO: Processing buffer {"connection_id":232803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:17:11] local.INFO: IMEI packet received {"connection_id":232803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":232803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:17:13] local.INFO: TCP Data received {"connection_id":232803,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:17:13] local.INFO: Processing buffer {"connection_id":232803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:17:13] local.INFO: Packet analysis {"connection_id":232803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:17:13] local.INFO: Extracted packet for processing {"connection_id":232803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:17:13] 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-11-04 20:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:17: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-11-04 20: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-11-04 20:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:17:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:17:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":232803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:17:13] local.INFO: GPS data processed {"connection_id":232803,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:17:13] local.INFO: Acknowledgment sent {"connection_id":232803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:17:19] local.INFO: TCP Data received {"connection_id":229628,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:17:19] local.INFO: Processing buffer {"connection_id":229628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:17:19] local.INFO: IMEI packet received {"connection_id":229628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":229628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:17:45] local.INFO: TCP Data received {"connection_id":232803,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:17:45] local.INFO: Processing buffer {"connection_id":232803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:17:45] local.INFO: Packet analysis {"connection_id":232803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:17:45] local.INFO: Extracted packet for processing {"connection_id":232803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:17:45] 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-11-04 20:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:17: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-11-04 20: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-11-04 20:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:17:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:17:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":232803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:17:45] local.INFO: GPS data processed {"connection_id":232803,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:17:45] local.INFO: Acknowledgment sent {"connection_id":232803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:18:11] local.INFO: TCP Data received {"connection_id":229629,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:18:11] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:18:11] local.INFO: IMEI packet received {"connection_id":229629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":229629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:18:16] local.INFO: TCP Data received {"connection_id":229629,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:18:16] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:18:16] local.INFO: IMEI packet received {"connection_id":229629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":229629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:18:17] local.INFO: TCP Data received {"connection_id":229629,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:18:17] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:18:17] local.INFO: Packet analysis {"connection_id":229629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:18:17] local.INFO: Extracted packet for processing {"connection_id":229629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:18:17] 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-11-04 20:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:18: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-11-04 20: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-11-04 20:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:18:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":229629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:18:17] local.INFO: GPS data processed {"connection_id":229629,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:18:17] local.INFO: Acknowledgment sent {"connection_id":229629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:18:21] local.INFO: TCP Data received {"connection_id":229629,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:18:21] local.INFO: Processing buffer {"connection_id":229629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:18:21] local.INFO: Packet analysis {"connection_id":229629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:18:21] local.INFO: Extracted packet for processing {"connection_id":229629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:18:21] 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-11-04 20:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:18: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-11-04 20:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:18:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":229629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:18:21] local.INFO: GPS data processed {"connection_id":229629,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:18:21] local.INFO: Acknowledgment sent {"connection_id":229629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:19:06] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:19:06] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:19:06] local.INFO: IMEI packet received {"connection_id":229151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":229151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:19:11] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:19:11] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:19:11] local.INFO: IMEI packet received {"connection_id":229151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":229151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:19:14] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:19:14] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:19:14] local.INFO: Packet analysis {"connection_id":229151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:19:14] local.INFO: Extracted packet for processing {"connection_id":229151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:19:14] 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-11-04 20:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:19:14] 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-11-04 20: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-11-04 20:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:19:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":229151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:19:14] local.INFO: GPS data processed {"connection_id":229151,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:19:14] local.INFO: Acknowledgment sent {"connection_id":229151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:19:46] local.INFO: TCP Data received {"connection_id":229151,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:19:46] local.INFO: Processing buffer {"connection_id":229151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:19:46] local.INFO: Packet analysis {"connection_id":229151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:19:46] local.INFO: Extracted packet for processing {"connection_id":229151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:19:46] 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-11-04 20:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":229151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":229151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":229151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:19:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":229151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:19:46] local.INFO: GPS data processed {"connection_id":229151,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:19:46] local.INFO: Acknowledgment sent {"connection_id":229151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:20:05] local.INFO: TCP Data received {"connection_id":229630,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:20:05] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:20:05] local.INFO: IMEI packet received {"connection_id":229630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":229630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:20:11] local.INFO: TCP Data received {"connection_id":229630,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:20:11] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:20:11] local.INFO: IMEI packet received {"connection_id":229630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":229630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:20:12] local.INFO: TCP Data received {"connection_id":229630,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:20:12] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a704fb60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:20:12] local.INFO: Packet analysis {"connection_id":229630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:20:12] local.INFO: Extracted packet for processing {"connection_id":229630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a704"} 
[2026-11-04 20:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213614592001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:20:12] 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-11-04 20:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803484000,"timestamp_ms":1793803484000,"timestamp_seconds":1793803484,"priority":1,"record_length":96,"hex_timestamp":"000001a1a704fb60"} 
[2026-11-04 20:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:20: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-11-04 20:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213614592001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 20:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213614592001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:20:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 20:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213614592001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":229630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:20:12] local.INFO: GPS data processed {"connection_id":229630,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:20:12] local.INFO: Acknowledgment sent {"connection_id":229630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:20:43] local.INFO: TCP Data received {"connection_id":229630,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:20:43] local.INFO: Processing buffer {"connection_id":229630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:20:43] local.INFO: Packet analysis {"connection_id":229630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:20:43] local.INFO: Extracted packet for processing {"connection_id":229630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:20: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-11-04 20:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:20:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":229630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:20:43] local.INFO: GPS data processed {"connection_id":229630,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:20:43] local.INFO: Acknowledgment sent {"connection_id":229630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:21:05] local.INFO: TCP Data received {"connection_id":230942,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:21:05] local.INFO: Processing buffer {"connection_id":230942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:21:05] local.INFO: IMEI packet received {"connection_id":230942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":230942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:21:11] local.INFO: TCP Data received {"connection_id":230942,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:21:11] local.INFO: Processing buffer {"connection_id":230942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:21:11] local.INFO: IMEI packet received {"connection_id":230942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":230942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:21:12] local.INFO: TCP Data received {"connection_id":230942,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:21:12] local.INFO: Processing buffer {"connection_id":230942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:21:12] local.INFO: Packet analysis {"connection_id":230942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:21:12] local.INFO: Extracted packet for processing {"connection_id":230942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:21: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-11-04 20: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-11-04 20:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:21:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":230942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:21:12] local.INFO: GPS data processed {"connection_id":230942,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:21:12] local.INFO: Acknowledgment sent {"connection_id":230942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:21:44] local.INFO: TCP Data received {"connection_id":230942,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:21:44] local.INFO: Processing buffer {"connection_id":230942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:21:44] local.INFO: Packet analysis {"connection_id":230942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:21:44] local.INFO: Extracted packet for processing {"connection_id":230942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:21: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-11-04 20: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-11-04 20:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:21:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:21:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":230942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:21:44] local.INFO: GPS data processed {"connection_id":230942,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:21:44] local.INFO: Acknowledgment sent {"connection_id":230942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:22:11] local.INFO: TCP Data received {"connection_id":229632,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:22:11] local.INFO: Processing buffer {"connection_id":229632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:22:11] local.INFO: IMEI packet received {"connection_id":229632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:22:16] local.INFO: TCP Data received {"connection_id":229632,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:22:16] local.INFO: Processing buffer {"connection_id":229632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:22:16] local.INFO: IMEI packet received {"connection_id":229632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":229632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:22:17] local.INFO: TCP Data received {"connection_id":229632,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:22:17] local.INFO: Processing buffer {"connection_id":229632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:22:17] local.INFO: Packet analysis {"connection_id":229632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:22:17] local.INFO: Extracted packet for processing {"connection_id":229632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:22: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-11-04 20:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:22:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:22:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":229632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:22:17] local.INFO: GPS data processed {"connection_id":229632,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:22:17] local.INFO: Acknowledgment sent {"connection_id":229632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:22:21] local.INFO: TCP Data received {"connection_id":229632,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:22:21] local.INFO: Processing buffer {"connection_id":229632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:22:21] local.INFO: Packet analysis {"connection_id":229632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:22:21] local.INFO: Extracted packet for processing {"connection_id":229632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:22: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-11-04 20: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-11-04 20:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:22:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:22:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":229632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:22:21] local.INFO: GPS data processed {"connection_id":229632,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:22:21] local.INFO: Acknowledgment sent {"connection_id":229632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:23:06] local.INFO: TCP Data received {"connection_id":229152,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:23:06] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:23:06] local.INFO: IMEI packet received {"connection_id":229152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":229152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:23:08] local.INFO: TCP Data received {"connection_id":232807,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:23:08] local.INFO: Processing buffer {"connection_id":232807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:23:08] local.INFO: IMEI packet received {"connection_id":232807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":232807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:23:11] local.INFO: TCP Data received {"connection_id":229152,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:23:11] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:23:11] local.INFO: IMEI packet received {"connection_id":229152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":229152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:23:12] local.INFO: TCP Data received {"connection_id":229152,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:23:12] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:23:12] local.INFO: Packet analysis {"connection_id":229152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:23:12] local.INFO: Extracted packet for processing {"connection_id":229152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:23: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-11-04 20: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-11-04 20:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:23:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":229152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:23:12] local.INFO: GPS data processed {"connection_id":229152,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:23:12] local.INFO: Acknowledgment sent {"connection_id":229152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:23:45] local.INFO: TCP Data received {"connection_id":229152,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:23:45] local.INFO: Processing buffer {"connection_id":229152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:23:45] local.INFO: Packet analysis {"connection_id":229152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:23:45] local.INFO: Extracted packet for processing {"connection_id":229152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:23: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-11-04 20: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-11-04 20:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:23:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":229152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:23:45] local.INFO: GPS data processed {"connection_id":229152,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:23:45] local.INFO: Acknowledgment sent {"connection_id":229152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:24:05] local.INFO: TCP Data received {"connection_id":229633,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:24:05] local.INFO: Processing buffer {"connection_id":229633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:24:05] local.INFO: IMEI packet received {"connection_id":229633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":229633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:24:11] local.INFO: TCP Data received {"connection_id":229633,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:24:11] local.INFO: Processing buffer {"connection_id":229633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:24:11] local.INFO: IMEI packet received {"connection_id":229633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":229633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:24:12] local.INFO: TCP Data received {"connection_id":229633,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:24:12] local.INFO: Processing buffer {"connection_id":229633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:24:12] local.INFO: Packet analysis {"connection_id":229633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:24:12] local.INFO: Extracted packet for processing {"connection_id":229633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:24: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-11-04 20: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-11-04 20:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:24:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":229633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:24:12] local.INFO: GPS data processed {"connection_id":229633,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:24:12] local.INFO: Acknowledgment sent {"connection_id":229633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:24:44] local.INFO: TCP Data received {"connection_id":229633,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:24:44] local.INFO: Processing buffer {"connection_id":229633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:24:44] local.INFO: Packet analysis {"connection_id":229633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:24:44] local.INFO: Extracted packet for processing {"connection_id":229633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:24: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-11-04 20: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-11-04 20:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:24:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:24:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":229633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:24:44] local.INFO: GPS data processed {"connection_id":229633,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:24:44] local.INFO: Acknowledgment sent {"connection_id":229633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:25:05] local.INFO: TCP Data received {"connection_id":232808,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:25:05] local.INFO: Processing buffer {"connection_id":232808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:25:05] local.INFO: IMEI packet received {"connection_id":232808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":232808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:25:11] local.INFO: TCP Data received {"connection_id":232808,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:25:11] local.INFO: Processing buffer {"connection_id":232808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:25:11] local.INFO: IMEI packet received {"connection_id":232808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":232808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:25:13] local.INFO: TCP Data received {"connection_id":232808,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:25:13] local.INFO: Processing buffer {"connection_id":232808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7098f40012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:25:13] local.INFO: Packet analysis {"connection_id":232808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:25:13] local.INFO: Extracted packet for processing {"connection_id":232808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a709"} 
[2026-11-04 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213691904001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793803784000,"timestamp_ms":1793803784000,"timestamp_seconds":1793803784,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7098f40"} 
[2026-11-04 20:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:25: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-11-04 20:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213691904001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213691904001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:25:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213691904001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":232808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:25:13] local.INFO: GPS data processed {"connection_id":232808,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:25:13] local.INFO: Acknowledgment sent {"connection_id":232808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:25:45] local.INFO: TCP Data received {"connection_id":232808,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:25:45] local.INFO: Processing buffer {"connection_id":232808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:25:45] local.INFO: Packet analysis {"connection_id":232808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:25:45] local.INFO: Extracted packet for processing {"connection_id":232808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:25: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-11-04 20: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-11-04 20:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:25:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":232808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:25:45] local.INFO: GPS data processed {"connection_id":232808,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:25:45] local.INFO: Acknowledgment sent {"connection_id":232808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:26:05] local.INFO: TCP Data received {"connection_id":229634,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:26:05] local.INFO: Processing buffer {"connection_id":229634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:26:05] local.INFO: IMEI packet received {"connection_id":229634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":229634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:26:11] local.INFO: TCP Data received {"connection_id":229634,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:26:11] local.INFO: Processing buffer {"connection_id":229634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:26:11] local.INFO: IMEI packet received {"connection_id":229634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":229634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:26:12] local.INFO: TCP Data received {"connection_id":229634,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:26:12] local.INFO: Processing buffer {"connection_id":229634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:26:12] local.INFO: Packet analysis {"connection_id":229634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:26:12] local.INFO: Extracted packet for processing {"connection_id":229634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:26: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-11-04 20: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-11-04 20:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:26:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":229634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:26:12] local.INFO: GPS data processed {"connection_id":229634,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:26:12] local.INFO: Acknowledgment sent {"connection_id":229634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:26:44] local.INFO: TCP Data received {"connection_id":229634,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:26:44] local.INFO: Processing buffer {"connection_id":229634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:26:44] local.INFO: Packet analysis {"connection_id":229634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:26:44] local.INFO: Extracted packet for processing {"connection_id":229634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:26: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-11-04 20:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:26:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":229634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:26:44] local.INFO: GPS data processed {"connection_id":229634,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:26:44] local.INFO: Acknowledgment sent {"connection_id":229634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:27:06] local.INFO: TCP Data received {"connection_id":230943,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:27:06] local.INFO: Processing buffer {"connection_id":230943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:27:06] local.INFO: IMEI packet received {"connection_id":230943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":230943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:27:11] local.INFO: TCP Data received {"connection_id":230943,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:27:11] local.INFO: Processing buffer {"connection_id":230943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:27:11] local.INFO: IMEI packet received {"connection_id":230943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":230943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:27:13] local.INFO: TCP Data received {"connection_id":230943,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:27:13] local.INFO: Processing buffer {"connection_id":230943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:27:13] local.INFO: Packet analysis {"connection_id":230943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:27:13] local.INFO: Extracted packet for processing {"connection_id":230943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:27: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-11-04 20: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-11-04 20:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:27:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:27:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":230943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:27:13] local.INFO: GPS data processed {"connection_id":230943,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:27:13] local.INFO: Acknowledgment sent {"connection_id":230943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:27:45] local.INFO: TCP Data received {"connection_id":230943,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:27:45] local.INFO: Processing buffer {"connection_id":230943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:27:45] local.INFO: Packet analysis {"connection_id":230943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:27:45] local.INFO: Extracted packet for processing {"connection_id":230943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:27: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-11-04 20:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":230943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":230943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":230943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:27:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":230943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:27:45] local.INFO: GPS data processed {"connection_id":230943,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:27:45] local.INFO: Acknowledgment sent {"connection_id":230943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:28:05] local.INFO: TCP Data received {"connection_id":230944,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:28:05] local.INFO: Processing buffer {"connection_id":230944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:28:05] local.INFO: IMEI packet received {"connection_id":230944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":230944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:28:11] local.INFO: TCP Data received {"connection_id":230944,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:28:11] local.INFO: Processing buffer {"connection_id":230944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:28:11] local.INFO: IMEI packet received {"connection_id":230944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":230944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:28:12] local.INFO: TCP Data received {"connection_id":230944,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:28:12] local.INFO: Processing buffer {"connection_id":230944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:28:12] local.INFO: Packet analysis {"connection_id":230944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:28:12] local.INFO: Extracted packet for processing {"connection_id":230944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20: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-11-04 20: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-11-04 20:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:28:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":230944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:28:12] local.INFO: GPS data processed {"connection_id":230944,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:28:12] local.INFO: Acknowledgment sent {"connection_id":230944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:28:37] local.INFO: TCP Data received {"connection_id":229635,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:28:37] local.INFO: Processing buffer {"connection_id":229635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:28:37] local.INFO: IMEI packet received {"connection_id":229635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":229635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:28:44] local.INFO: TCP Data received {"connection_id":230944,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:28:44] local.INFO: Processing buffer {"connection_id":230944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:28:44] local.INFO: Packet analysis {"connection_id":230944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:28:44] local.INFO: Extracted packet for processing {"connection_id":230944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:28: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-11-04 20: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-11-04 20:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:28:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:28:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":230944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:28:44] local.INFO: GPS data processed {"connection_id":230944,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:28:44] local.INFO: Acknowledgment sent {"connection_id":230944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:29:05] local.INFO: TCP Data received {"connection_id":229636,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:29:05] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:29:05] local.INFO: IMEI packet received {"connection_id":229636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":229636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:29:08] local.INFO: TCP Data received {"connection_id":229155,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:08] local.INFO: Processing buffer {"connection_id":229155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:08] local.INFO: IMEI packet received {"connection_id":229155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":229155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:29:11] local.INFO: TCP Data received {"connection_id":229636,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:29:11] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:29:11] local.INFO: IMEI packet received {"connection_id":229636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":229636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:29:12] local.INFO: TCP Data received {"connection_id":229636,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:29:12] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:29:12] local.INFO: Packet analysis {"connection_id":229636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:29:12] local.INFO: Extracted packet for processing {"connection_id":229636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20: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-11-04 20: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-11-04 20:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":229636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:29:12] local.INFO: GPS data processed {"connection_id":229636,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:29:12] local.INFO: Acknowledgment sent {"connection_id":229636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:29:13] local.INFO: TCP Data received {"connection_id":229155,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:13] local.INFO: Processing buffer {"connection_id":229155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:13] local.INFO: IMEI packet received {"connection_id":229155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 20:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":229155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:29:14] local.INFO: TCP Data received {"connection_id":229155,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7108098012ce187c007318a100025004d30..."} 
[2026-11-04 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7108098012ce187c007318a100025004d30..."} 
[2026-11-04 20:29:14] local.INFO: Processing buffer {"connection_id":229155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7108098012ce187c007318a100025004d30..."} 
[2026-11-04 20:29:14] local.INFO: Packet analysis {"connection_id":229155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a710"} 
[2026-11-04 20:29:14] local.INFO: Extracted packet for processing {"connection_id":229155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a710"} 
[2026-11-04 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":752977856,"raw_latitude":120687120,"longitude_deg":75.2977856,"latitude_deg":12.068712,"altitude":37,"angle":77,"satellites":48,"speed":58,"hex_longitude":"2ce187c0","hex_latitude":"07318a10","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213881088001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2221330116559849472,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1793804239000,"timestamp_ms":1793804239000,"timestamp_seconds":1793804239,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7108098"} 
[2026-11-04 20:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 20: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-11-04 20:29: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-11-04 20: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-11-04 20:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":229155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":229155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":229155,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 20:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 20:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 20:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213881088001,"66":27876,"181":206,"83":44032,"24":58,"16":20804074257514496,"44":-2221330116559849472},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,83,24,16,44]} 
[2026-11-04 20:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 20:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 20:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213881088001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:29:14] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-11-04 20:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-11-04 20:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:29:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2221330116559849472,"description":"Unknown IO ID 44"} 
[2026-11-04 20:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213881088001,"power":27876,"unknown_181":206,"unknown_83":44032,"ignition":58,"odometer":null,"unknown_44":-2221330116559849472}} 
[2026-11-04 20:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":229155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:29:14] local.INFO: GPS data processed {"connection_id":229155,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:29:14] local.INFO: Acknowledgment sent {"connection_id":229155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:29:45] local.INFO: TCP Data received {"connection_id":229636,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:29:45] local.INFO: Processing buffer {"connection_id":229636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:29:45] local.INFO: Packet analysis {"connection_id":229636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:29:45] local.INFO: Extracted packet for processing {"connection_id":229636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:29: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-11-04 20: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-11-04 20:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:29:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":229636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:29:45] local.INFO: GPS data processed {"connection_id":229636,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:29:45] local.INFO: Acknowledgment sent {"connection_id":229636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:29:58] local.INFO: TCP Data received {"connection_id":229637,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:58] local.INFO: Processing buffer {"connection_id":229637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:29:58] local.INFO: IMEI packet received {"connection_id":229637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":229637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:30:05] local.INFO: TCP Data received {"connection_id":229638,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:30:05] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:30:05] local.INFO: IMEI packet received {"connection_id":229638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":229638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:30:11] local.INFO: TCP Data received {"connection_id":229638,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:30:11] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:30:11] local.INFO: IMEI packet received {"connection_id":229638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":229638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:30:12] local.INFO: TCP Data received {"connection_id":229638,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:30:12] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a70e2708012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:30:12] local.INFO: Packet analysis {"connection_id":229638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:30:12] local.INFO: Extracted packet for processing {"connection_id":229638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a70e"} 
[2026-11-04 20:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213768704001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804085000,"timestamp_ms":1793804085000,"timestamp_seconds":1793804085,"priority":1,"record_length":96,"hex_timestamp":"000001a1a70e2708"} 
[2026-11-04 20:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:30: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-11-04 20: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-11-04 20:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213768704001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213768704001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:30:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213768704001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":229638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:30:12] local.INFO: GPS data processed {"connection_id":229638,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:30:12] local.INFO: Acknowledgment sent {"connection_id":229638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:30:43] local.INFO: TCP Data received {"connection_id":229638,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:30:43] local.INFO: Processing buffer {"connection_id":229638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:30:43] local.INFO: Packet analysis {"connection_id":229638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:30:43] local.INFO: Extracted packet for processing {"connection_id":229638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:30:43] 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-11-04 20: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-11-04 20:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":229638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:30:43] local.INFO: GPS data processed {"connection_id":229638,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:30:43] local.INFO: Acknowledgment sent {"connection_id":229638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:31:05] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:31:05] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:31:05] local.INFO: IMEI packet received {"connection_id":229156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":229156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:31:11] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:31:11] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:31:11] local.INFO: IMEI packet received {"connection_id":229156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":229156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:31:13] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:31:13] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:31:13] local.INFO: Packet analysis {"connection_id":229156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:31:13] local.INFO: Extracted packet for processing {"connection_id":229156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:31:13] 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-11-04 20: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-11-04 20:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:31:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:31:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":229156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:31:13] local.INFO: GPS data processed {"connection_id":229156,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:31:13] local.INFO: Acknowledgment sent {"connection_id":229156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:31:45] local.INFO: TCP Data received {"connection_id":229156,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:31:45] local.INFO: Processing buffer {"connection_id":229156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:31:45] local.INFO: Packet analysis {"connection_id":229156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:31:45] local.INFO: Extracted packet for processing {"connection_id":229156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:31:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:31:45] 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-11-04 20:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:31:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:31:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":229156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:31:45] local.INFO: GPS data processed {"connection_id":229156,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:31:45] local.INFO: Acknowledgment sent {"connection_id":229156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:32:05] local.INFO: TCP Data received {"connection_id":232812,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:32:05] local.INFO: Processing buffer {"connection_id":232812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:32:05] local.INFO: IMEI packet received {"connection_id":232812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":232812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:32:11] local.INFO: TCP Data received {"connection_id":232812,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:32:11] local.INFO: Processing buffer {"connection_id":232812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:32:11] local.INFO: IMEI packet received {"connection_id":232812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":232812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:32:12] local.INFO: TCP Data received {"connection_id":232812,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:32:12] local.INFO: Processing buffer {"connection_id":232812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:32:12] local.INFO: Packet analysis {"connection_id":232812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:32:12] local.INFO: Extracted packet for processing {"connection_id":232812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:32:12] 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-11-04 20:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:32:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":232812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:32:12] local.INFO: GPS data processed {"connection_id":232812,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:32:12] local.INFO: Acknowledgment sent {"connection_id":232812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:32:44] local.INFO: TCP Data received {"connection_id":232812,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:32:44] local.INFO: Processing buffer {"connection_id":232812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:32:44] local.INFO: Packet analysis {"connection_id":232812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:32:44] local.INFO: Extracted packet for processing {"connection_id":232812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:32:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:32:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":232812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:32:44] local.INFO: GPS data processed {"connection_id":232812,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:32:44] local.INFO: Acknowledgment sent {"connection_id":232812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:33:05] local.INFO: TCP Data received {"connection_id":232813,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:33:05] local.INFO: Processing buffer {"connection_id":232813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:33:05] local.INFO: IMEI packet received {"connection_id":232813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":232813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:33:11] local.INFO: TCP Data received {"connection_id":232813,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:33:11] local.INFO: Processing buffer {"connection_id":232813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:33:11] local.INFO: IMEI packet received {"connection_id":232813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":232813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:33:12] local.INFO: TCP Data received {"connection_id":232813,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:33:12] local.INFO: Processing buffer {"connection_id":232813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:33:12] local.INFO: Packet analysis {"connection_id":232813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:33:12] local.INFO: Extracted packet for processing {"connection_id":232813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:33:12] 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-11-04 20: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-11-04 20:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:33:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":232813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:33:12] local.INFO: GPS data processed {"connection_id":232813,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:33:12] local.INFO: Acknowledgment sent {"connection_id":232813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:33:44] local.INFO: TCP Data received {"connection_id":232813,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:33:44] local.INFO: Processing buffer {"connection_id":232813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:33:44] local.INFO: Packet analysis {"connection_id":232813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:33:44] local.INFO: Extracted packet for processing {"connection_id":232813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:33:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":232813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:33:44] local.INFO: GPS data processed {"connection_id":232813,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:33:44] local.INFO: Acknowledgment sent {"connection_id":232813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:34:11] local.INFO: TCP Data received {"connection_id":230946,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:34:11] local.INFO: Processing buffer {"connection_id":230946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:34:11] local.INFO: IMEI packet received {"connection_id":230946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":230946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:34:16] local.INFO: TCP Data received {"connection_id":230946,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:34:16] local.INFO: Processing buffer {"connection_id":230946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:34:16] local.INFO: IMEI packet received {"connection_id":230946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":230946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:34:17] local.INFO: TCP Data received {"connection_id":230946,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:34:17] local.INFO: Processing buffer {"connection_id":230946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:34:17] local.INFO: Packet analysis {"connection_id":230946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:34:17] local.INFO: Extracted packet for processing {"connection_id":230946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:34:17] 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-11-04 20: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-11-04 20:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:34:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:34:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":230946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:34:17] local.INFO: GPS data processed {"connection_id":230946,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:34:17] local.INFO: Acknowledgment sent {"connection_id":230946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:34:21] local.INFO: TCP Data received {"connection_id":230946,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:34:22] local.INFO: Processing buffer {"connection_id":230946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:34:22] local.INFO: Packet analysis {"connection_id":230946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:34:22] local.INFO: Extracted packet for processing {"connection_id":230946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:34:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:34:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:34:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":230946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:34:22] local.INFO: GPS data processed {"connection_id":230946,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:34:22] local.INFO: Acknowledgment sent {"connection_id":230946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:35:06] local.INFO: TCP Data received {"connection_id":232815,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:35:06] local.INFO: Processing buffer {"connection_id":232815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:35:06] local.INFO: IMEI packet received {"connection_id":232815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":232815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:35:11] local.INFO: TCP Data received {"connection_id":232815,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:35:11] local.INFO: Processing buffer {"connection_id":232815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:35:11] local.INFO: IMEI packet received {"connection_id":232815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":232815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:35:13] local.INFO: TCP Data received {"connection_id":232815,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:35:13] local.INFO: Processing buffer {"connection_id":232815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a712bed0012d34c14006aa4118000a01012c..."} 
[2026-11-04 20:35:13] local.INFO: Packet analysis {"connection_id":232815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:35:13] local.INFO: Extracted packet for processing {"connection_id":232815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a712"} 
[2026-11-04 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213845760001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793804386000,"timestamp_ms":1793804386000,"timestamp_seconds":1793804386,"priority":1,"record_length":96,"hex_timestamp":"000001a1a712bed0"} 
[2026-11-04 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:35:13] 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-11-04 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213845760001,"66":25451,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213845760001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:35:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:35:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213845760001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":232815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:35:13] local.INFO: GPS data processed {"connection_id":232815,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:35:13] local.INFO: Acknowledgment sent {"connection_id":232815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:35:13] local.INFO: TCP Data received {"connection_id":229639,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:35:13] local.INFO: Processing buffer {"connection_id":229639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:35:13] local.INFO: IMEI packet received {"connection_id":229639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":229639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:35:45] local.INFO: TCP Data received {"connection_id":232815,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:35:45] local.INFO: Processing buffer {"connection_id":232815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:35:45] local.INFO: Packet analysis {"connection_id":232815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:35:45] local.INFO: Extracted packet for processing {"connection_id":232815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:35:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:35:45] 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-11-04 20:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:35:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:35:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":232815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:35:45] local.INFO: GPS data processed {"connection_id":232815,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:35:45] local.INFO: Acknowledgment sent {"connection_id":232815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:36:06] local.INFO: TCP Data received {"connection_id":229640,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:36:06] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:36:06] local.INFO: IMEI packet received {"connection_id":229640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":229640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:36:11] local.INFO: TCP Data received {"connection_id":229640,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:36:11] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:36:11] local.INFO: IMEI packet received {"connection_id":229640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:36:12] local.INFO: TCP Data received {"connection_id":229640,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:12] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:12] local.INFO: Packet analysis {"connection_id":229640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:36:12] local.INFO: Extracted packet for processing {"connection_id":229640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:36:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:36:12] 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-11-04 20: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-11-04 20:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:36:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":229640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:36:12] local.INFO: GPS data processed {"connection_id":229640,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:36:12] local.INFO: Acknowledgment sent {"connection_id":229640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:36:17] local.INFO: TCP Data received {"connection_id":229640,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:17] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:17] local.INFO: Packet analysis {"connection_id":229640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:36:17] local.INFO: Extracted packet for processing {"connection_id":229640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:36:17] 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-11-04 20:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:36:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":229640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:36:17] local.INFO: GPS data processed {"connection_id":229640,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:36:17] local.INFO: Acknowledgment sent {"connection_id":229640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:36:49] local.INFO: TCP Data received {"connection_id":229640,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:49] local.INFO: Processing buffer {"connection_id":229640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:36:49] local.INFO: Packet analysis {"connection_id":229640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:36:49] local.INFO: Extracted packet for processing {"connection_id":229640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:36:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:36:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":229640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:36:49] local.INFO: GPS data processed {"connection_id":229640,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:36:49] local.INFO: Acknowledgment sent {"connection_id":229640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:37:06] local.INFO: TCP Data received {"connection_id":230947,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:37:06] local.INFO: Processing buffer {"connection_id":230947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:37:06] local.INFO: IMEI packet received {"connection_id":230947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":230947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:37:11] local.INFO: TCP Data received {"connection_id":230947,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:37:11] local.INFO: Processing buffer {"connection_id":230947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:37:11] local.INFO: IMEI packet received {"connection_id":230947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":230947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:37:12] local.INFO: TCP Data received {"connection_id":230947,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:37:12] local.INFO: Processing buffer {"connection_id":230947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:37:12] local.INFO: Packet analysis {"connection_id":230947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:37:12] local.INFO: Extracted packet for processing {"connection_id":230947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:37:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:37:12] 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-11-04 20: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-11-04 20:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:37:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":230947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:37:12] local.INFO: GPS data processed {"connection_id":230947,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:37:12] local.INFO: Acknowledgment sent {"connection_id":230947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:37:44] local.INFO: TCP Data received {"connection_id":230947,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:37:44] local.INFO: Processing buffer {"connection_id":230947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:37:44] local.INFO: Packet analysis {"connection_id":230947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:37:44] local.INFO: Extracted packet for processing {"connection_id":230947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:37:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":230947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:37:44] local.INFO: GPS data processed {"connection_id":230947,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:37:44] local.INFO: Acknowledgment sent {"connection_id":230947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:38:05] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:38:05] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:38:05] local.INFO: IMEI packet received {"connection_id":229159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":229159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:38:11] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:38:11] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:38:11] local.INFO: IMEI packet received {"connection_id":229159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":229159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:38:12] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:38:12] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:38:12] local.INFO: Packet analysis {"connection_id":229159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:38:12] local.INFO: Extracted packet for processing {"connection_id":229159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:38:12] 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-11-04 20: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-11-04 20:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:38:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":229159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:38:12] local.INFO: GPS data processed {"connection_id":229159,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:38:12] local.INFO: Acknowledgment sent {"connection_id":229159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:38:44] local.INFO: TCP Data received {"connection_id":229159,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:38:44] local.INFO: Processing buffer {"connection_id":229159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:38:44] local.INFO: Packet analysis {"connection_id":229159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:38:44] local.INFO: Extracted packet for processing {"connection_id":229159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:38:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:38:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":229159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:38:44] local.INFO: GPS data processed {"connection_id":229159,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:38:44] local.INFO: Acknowledgment sent {"connection_id":229159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:39:05] local.INFO: TCP Data received {"connection_id":232816,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:39:05] local.INFO: Processing buffer {"connection_id":232816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:39:05] local.INFO: IMEI packet received {"connection_id":232816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":232816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:39:11] local.INFO: TCP Data received {"connection_id":232816,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:39:11] local.INFO: Processing buffer {"connection_id":232816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:39:11] local.INFO: IMEI packet received {"connection_id":232816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":232816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:39:13] local.INFO: TCP Data received {"connection_id":232816,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:39:13] local.INFO: Processing buffer {"connection_id":232816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:39:13] local.INFO: Packet analysis {"connection_id":232816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:39:13] local.INFO: Extracted packet for processing {"connection_id":232816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:39:13] 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-11-04 20: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-11-04 20:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:39:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:39:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":232816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:39:13] local.INFO: GPS data processed {"connection_id":232816,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:39:13] local.INFO: Acknowledgment sent {"connection_id":232816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:39:44] local.INFO: TCP Data received {"connection_id":232816,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:39:44] local.INFO: Processing buffer {"connection_id":232816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:39:44] local.INFO: Packet analysis {"connection_id":232816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:39:44] local.INFO: Extracted packet for processing {"connection_id":232816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:39:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:39:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:39:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:39:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:39:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":232816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:39:44] local.INFO: GPS data processed {"connection_id":232816,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:39:44] local.INFO: Acknowledgment sent {"connection_id":232816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:40:11] local.INFO: TCP Data received {"connection_id":229642,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:40:11] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:40:11] local.INFO: IMEI packet received {"connection_id":229642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":229642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:40:16] local.INFO: TCP Data received {"connection_id":229642,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:40:16] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:40:16] local.INFO: IMEI packet received {"connection_id":229642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":229642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:40:17] local.INFO: TCP Data received {"connection_id":229642,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:40:17] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:40:17] local.INFO: Packet analysis {"connection_id":229642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:40:17] local.INFO: Extracted packet for processing {"connection_id":229642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:40:17] 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-11-04 20:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:40:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":229642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:40:17] local.INFO: GPS data processed {"connection_id":229642,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:40:17] local.INFO: Acknowledgment sent {"connection_id":229642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:40:22] local.INFO: TCP Data received {"connection_id":229642,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:40:22] local.INFO: Processing buffer {"connection_id":229642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7175698012d34c14006aa4118000a010129..."} 
[2026-11-04 20:40:22] local.INFO: Packet analysis {"connection_id":229642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:40:22] local.INFO: Extracted packet for processing {"connection_id":229642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a717"} 
[2026-11-04 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213922816001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793804687000,"timestamp_ms":1793804687000,"timestamp_seconds":1793804687,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7175698"} 
[2026-11-04 20:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 20:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213922816001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213922816001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:40:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213922816001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":229642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:40:22] local.INFO: GPS data processed {"connection_id":229642,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:40:22] local.INFO: Acknowledgment sent {"connection_id":229642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:40:38] local.INFO: TCP Data received {"connection_id":232818,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:40:38] local.INFO: Processing buffer {"connection_id":232818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:40:38] local.INFO: IMEI packet received {"connection_id":232818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":232818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:41:06] local.INFO: TCP Data received {"connection_id":232819,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:41:06] local.INFO: Processing buffer {"connection_id":232819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:41:06] local.INFO: IMEI packet received {"connection_id":232819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":232819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:41:11] local.INFO: TCP Data received {"connection_id":232819,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:41:11] local.INFO: Processing buffer {"connection_id":232819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:41:11] local.INFO: IMEI packet received {"connection_id":232819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":232819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:41:12] local.INFO: TCP Data received {"connection_id":232819,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:41:12] local.INFO: Processing buffer {"connection_id":232819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:41:12] local.INFO: Packet analysis {"connection_id":232819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:41:12] local.INFO: Extracted packet for processing {"connection_id":232819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:41: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-11-04 20: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-11-04 20:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:41:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":232819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:41:12] local.INFO: GPS data processed {"connection_id":232819,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:41:12] local.INFO: Acknowledgment sent {"connection_id":232819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:41:43] local.INFO: TCP Data received {"connection_id":229160,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:41:43] local.INFO: Processing buffer {"connection_id":229160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:41:43] local.INFO: IMEI packet received {"connection_id":229160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":229160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:41:44] local.INFO: TCP Data received {"connection_id":232819,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:41:44] local.INFO: Processing buffer {"connection_id":232819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:41:44] local.INFO: Packet analysis {"connection_id":232819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:41:44] local.INFO: Extracted packet for processing {"connection_id":232819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:41: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-11-04 20: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-11-04 20:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:41:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:41:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":232819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:41:44] local.INFO: GPS data processed {"connection_id":232819,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:41:44] local.INFO: Acknowledgment sent {"connection_id":232819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:42:05] local.INFO: TCP Data received {"connection_id":230949,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:42:05] local.INFO: Processing buffer {"connection_id":230949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:42:05] local.INFO: IMEI packet received {"connection_id":230949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":230949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:42:11] local.INFO: TCP Data received {"connection_id":230949,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:42:11] local.INFO: Processing buffer {"connection_id":230949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:42:11] local.INFO: IMEI packet received {"connection_id":230949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":230949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:42:13] local.INFO: TCP Data received {"connection_id":230949,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:42:13] local.INFO: Processing buffer {"connection_id":230949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:42:13] local.INFO: Packet analysis {"connection_id":230949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:42:13] local.INFO: Extracted packet for processing {"connection_id":230949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:42: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-11-04 20: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-11-04 20:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:42:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:42:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":230949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:42:13] local.INFO: GPS data processed {"connection_id":230949,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:42:13] local.INFO: Acknowledgment sent {"connection_id":230949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:42:44] local.INFO: TCP Data received {"connection_id":230949,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:42:44] local.INFO: Processing buffer {"connection_id":230949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:42:44] local.INFO: Packet analysis {"connection_id":230949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:42:44] local.INFO: Extracted packet for processing {"connection_id":230949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:42: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-11-04 20: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-11-04 20:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:42:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":230949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:42:44] local.INFO: GPS data processed {"connection_id":230949,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:42:44] local.INFO: Acknowledgment sent {"connection_id":230949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:43:05] local.INFO: TCP Data received {"connection_id":229643,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:43:05] local.INFO: Processing buffer {"connection_id":229643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:43:05] local.INFO: IMEI packet received {"connection_id":229643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":229643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:43:11] local.INFO: TCP Data received {"connection_id":229643,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:43:11] local.INFO: Processing buffer {"connection_id":229643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:43:11] local.INFO: IMEI packet received {"connection_id":229643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":229643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:43:13] local.INFO: TCP Data received {"connection_id":229643,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:43:13] local.INFO: Processing buffer {"connection_id":229643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:43:13] local.INFO: Packet analysis {"connection_id":229643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:43:13] local.INFO: Extracted packet for processing {"connection_id":229643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:43:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:43: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-11-04 20: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-11-04 20:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:43:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:43:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":229643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:43:13] local.INFO: GPS data processed {"connection_id":229643,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:43:13] local.INFO: Acknowledgment sent {"connection_id":229643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:43:45] local.INFO: TCP Data received {"connection_id":229643,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:43:45] local.INFO: Processing buffer {"connection_id":229643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:43:45] local.INFO: Packet analysis {"connection_id":229643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:43:45] local.INFO: Extracted packet for processing {"connection_id":229643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:43: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-11-04 20: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-11-04 20:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:43:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":229643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:43:45] local.INFO: GPS data processed {"connection_id":229643,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:43:45] local.INFO: Acknowledgment sent {"connection_id":229643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:44:11] local.INFO: TCP Data received {"connection_id":232820,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:44:11] local.INFO: Processing buffer {"connection_id":232820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:44:11] local.INFO: IMEI packet received {"connection_id":232820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":232820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:44:16] local.INFO: TCP Data received {"connection_id":232820,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:44:16] local.INFO: Processing buffer {"connection_id":232820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:44:16] local.INFO: IMEI packet received {"connection_id":232820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":232820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:44:17] local.INFO: TCP Data received {"connection_id":232820,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:44:17] local.INFO: Processing buffer {"connection_id":232820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:44:17] local.INFO: Packet analysis {"connection_id":232820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:44:17] local.INFO: Extracted packet for processing {"connection_id":232820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:44:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:44: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-11-04 20:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:44:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":232820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:44:17] local.INFO: GPS data processed {"connection_id":232820,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:44:17] local.INFO: Acknowledgment sent {"connection_id":232820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:44:22] local.INFO: TCP Data received {"connection_id":232820,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:44:22] local.INFO: Processing buffer {"connection_id":232820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:44:22] local.INFO: Packet analysis {"connection_id":232820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:44:22] local.INFO: Extracted packet for processing {"connection_id":232820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:44:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:44:22] 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-11-04 20: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-11-04 20:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:44:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:44:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":232820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:44:22] local.INFO: GPS data processed {"connection_id":232820,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:44:22] local.INFO: Acknowledgment sent {"connection_id":232820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:45:06] local.INFO: TCP Data received {"connection_id":230950,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:45:06] local.INFO: Processing buffer {"connection_id":230950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:45:06] local.INFO: IMEI packet received {"connection_id":230950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":230950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:45:10] local.INFO: TCP Data received {"connection_id":230950,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:45:10] local.INFO: Processing buffer {"connection_id":230950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:45:10] local.INFO: IMEI packet received {"connection_id":230950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":230950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:45:12] local.INFO: TCP Data received {"connection_id":230950,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:45:12] local.INFO: Processing buffer {"connection_id":230950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a71bee60012d34c14006aa4118000a010129..."} 
[2026-11-04 20:45:12] local.INFO: Packet analysis {"connection_id":230950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:45:12] local.INFO: Extracted packet for processing {"connection_id":230950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a71b"} 
[2026-11-04 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459213999872001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793804988000,"timestamp_ms":1793804988000,"timestamp_seconds":1793804988,"priority":1,"record_length":96,"hex_timestamp":"000001a1a71bee60"} 
[2026-11-04 20:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:45: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-11-04 20:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459213999872001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459213999872001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:45:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459213999872001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":230950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:45:12] local.INFO: GPS data processed {"connection_id":230950,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:45:12] local.INFO: Acknowledgment sent {"connection_id":230950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:45:44] local.INFO: TCP Data received {"connection_id":230950,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:45:44] local.INFO: Processing buffer {"connection_id":230950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:45:44] local.INFO: Packet analysis {"connection_id":230950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:45:44] local.INFO: Extracted packet for processing {"connection_id":230950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:45: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-11-04 20: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-11-04 20:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:45:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":230950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:45:44] local.INFO: GPS data processed {"connection_id":230950,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:45:44] local.INFO: Acknowledgment sent {"connection_id":230950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:46:11] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:46:11] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:46:11] local.INFO: IMEI packet received {"connection_id":229164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":229164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:46:16] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:46:16] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:46:16] local.INFO: IMEI packet received {"connection_id":229164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":229164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:46:18] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:46:18] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:46:18] local.INFO: Packet analysis {"connection_id":229164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:46:18] local.INFO: Extracted packet for processing {"connection_id":229164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:46:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:46:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":229164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:46:18] local.INFO: GPS data processed {"connection_id":229164,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:46:18] local.INFO: Acknowledgment sent {"connection_id":229164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:46:22] local.INFO: TCP Data received {"connection_id":229164,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:46:22] local.INFO: Processing buffer {"connection_id":229164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:46:22] local.INFO: Packet analysis {"connection_id":229164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:46:22] local.INFO: Extracted packet for processing {"connection_id":229164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:46:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:46:22] 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-11-04 20: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-11-04 20:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:46:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:46:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":229164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:46:22] local.INFO: GPS data processed {"connection_id":229164,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:46:22] local.INFO: Acknowledgment sent {"connection_id":229164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:46:48] local.INFO: TCP Data received {"connection_id":229163,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:46:48] local.INFO: Processing buffer {"connection_id":229163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:46:48] local.INFO: IMEI packet received {"connection_id":229163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":229163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:47:06] local.INFO: TCP Data received {"connection_id":232822,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:47:06] local.INFO: Processing buffer {"connection_id":232822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:47:06] local.INFO: IMEI packet received {"connection_id":232822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":232822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:47:08] local.INFO: TCP Data received {"connection_id":232823,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:47:08] local.INFO: Processing buffer {"connection_id":232823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:47:08] local.INFO: IMEI packet received {"connection_id":232823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":232823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:47:11] local.INFO: TCP Data received {"connection_id":232822,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:47:11] local.INFO: Processing buffer {"connection_id":232822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:47:11] local.INFO: IMEI packet received {"connection_id":232822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":232822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:47:13] local.INFO: TCP Data received {"connection_id":232822,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:47:13] local.INFO: Processing buffer {"connection_id":232822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:47:13] local.INFO: Packet analysis {"connection_id":232822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:47:13] local.INFO: Extracted packet for processing {"connection_id":232822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:47: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-11-04 20: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-11-04 20:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:47:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":232822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:47:13] local.INFO: GPS data processed {"connection_id":232822,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:47:13] local.INFO: Acknowledgment sent {"connection_id":232822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:47:45] local.INFO: TCP Data received {"connection_id":232822,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:47:45] local.INFO: Processing buffer {"connection_id":232822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:47:45] local.INFO: Packet analysis {"connection_id":232822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:47:45] local.INFO: Extracted packet for processing {"connection_id":232822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:47: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-11-04 20:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:47:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:47:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":232822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:47:45] local.INFO: GPS data processed {"connection_id":232822,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:47:45] local.INFO: Acknowledgment sent {"connection_id":232822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:48:06] local.INFO: TCP Data received {"connection_id":230952,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:48:06] local.INFO: Processing buffer {"connection_id":230952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:48:06] local.INFO: IMEI packet received {"connection_id":230952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":230952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:48:11] local.INFO: TCP Data received {"connection_id":230952,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:48:11] local.INFO: Processing buffer {"connection_id":230952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:48:11] local.INFO: IMEI packet received {"connection_id":230952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":230952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:48:13] local.INFO: TCP Data received {"connection_id":230952,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:48:13] local.INFO: Processing buffer {"connection_id":230952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:48:13] local.INFO: Packet analysis {"connection_id":230952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:48:13] local.INFO: Extracted packet for processing {"connection_id":230952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20:48: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-11-04 20: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-11-04 20:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:48:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:48:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":230952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:48:13] local.INFO: GPS data processed {"connection_id":230952,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:48:13] local.INFO: Acknowledgment sent {"connection_id":230952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:48:44] local.INFO: TCP Data received {"connection_id":230952,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:48:44] local.INFO: Processing buffer {"connection_id":230952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:48:44] local.INFO: Packet analysis {"connection_id":230952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:48:44] local.INFO: Extracted packet for processing {"connection_id":230952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20: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-11-04 20: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-11-04 20:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:48:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:48:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":230952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:48:44] local.INFO: GPS data processed {"connection_id":230952,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:48:44] local.INFO: Acknowledgment sent {"connection_id":230952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:49:05] local.INFO: TCP Data received {"connection_id":230953,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:49:05] local.INFO: Processing buffer {"connection_id":230953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:49:05] local.INFO: IMEI packet received {"connection_id":230953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":230953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:49:11] local.INFO: TCP Data received {"connection_id":230953,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:49:11] local.INFO: Processing buffer {"connection_id":230953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:49:11] local.INFO: IMEI packet received {"connection_id":230953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":230953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:49:12] local.INFO: TCP Data received {"connection_id":230953,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:49:12] local.INFO: Processing buffer {"connection_id":230953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:49:12] local.INFO: Packet analysis {"connection_id":230953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:49:12] local.INFO: Extracted packet for processing {"connection_id":230953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20: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-11-04 20: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-11-04 20:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:49:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":230953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:49:13] local.INFO: GPS data processed {"connection_id":230953,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:49:13] local.INFO: Acknowledgment sent {"connection_id":230953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:49:44] local.INFO: TCP Data received {"connection_id":230953,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:49:44] local.INFO: Processing buffer {"connection_id":230953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:49:44] local.INFO: Packet analysis {"connection_id":230953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:49:44] local.INFO: Extracted packet for processing {"connection_id":230953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 20: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-11-04 20:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:49:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":230953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:49:44] local.INFO: GPS data processed {"connection_id":230953,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:49:44] local.INFO: Acknowledgment sent {"connection_id":230953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:50:05] local.INFO: TCP Data received {"connection_id":232825,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:50:05] local.INFO: Processing buffer {"connection_id":232825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:50:05] local.INFO: IMEI packet received {"connection_id":232825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":232825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:50:11] local.INFO: TCP Data received {"connection_id":232825,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:50:11] local.INFO: Processing buffer {"connection_id":232825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:50:11] local.INFO: IMEI packet received {"connection_id":232825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":232825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:50:13] local.INFO: TCP Data received {"connection_id":232825,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:50:13] local.INFO: Processing buffer {"connection_id":232825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7208628012d34c14006aa4118000a01012a..."} 
[2026-11-04 20:50:13] local.INFO: Packet analysis {"connection_id":232825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:50:13] local.INFO: Extracted packet for processing {"connection_id":232825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a720"} 
[2026-11-04 20:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214076928001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793805289000,"timestamp_ms":1793805289000,"timestamp_seconds":1793805289,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7208628"} 
[2026-11-04 20:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20: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-11-04 20: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-11-04 20:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214076928001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214076928001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:50:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:50:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214076928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":232825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:50:13] local.INFO: GPS data processed {"connection_id":232825,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:50:13] local.INFO: Acknowledgment sent {"connection_id":232825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:50:44] local.INFO: TCP Data received {"connection_id":232825,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:50:44] local.INFO: Processing buffer {"connection_id":232825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:50:44] local.INFO: Packet analysis {"connection_id":232825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:50:44] local.INFO: Extracted packet for processing {"connection_id":232825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:50:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:50:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":232825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:50:44] local.INFO: GPS data processed {"connection_id":232825,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:50:44] local.INFO: Acknowledgment sent {"connection_id":232825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:51:06] local.INFO: TCP Data received {"connection_id":229644,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:51:06] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:51:06] local.INFO: IMEI packet received {"connection_id":229644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":229644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:51:11] local.INFO: TCP Data received {"connection_id":229644,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:51:11] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:51:11] local.INFO: IMEI packet received {"connection_id":229644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":229644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:51:12] local.INFO: TCP Data received {"connection_id":229644,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:51:12] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:51:12] local.INFO: Packet analysis {"connection_id":229644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:51:12] local.INFO: Extracted packet for processing {"connection_id":229644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:51: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-11-04 20: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-11-04 20:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:51:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":229644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:51:12] local.INFO: GPS data processed {"connection_id":229644,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:51:12] local.INFO: Acknowledgment sent {"connection_id":229644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:51:44] local.INFO: TCP Data received {"connection_id":229644,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:51:44] local.INFO: Processing buffer {"connection_id":229644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:51:44] local.INFO: Packet analysis {"connection_id":229644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:51:44] local.INFO: Extracted packet for processing {"connection_id":229644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:51:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":229644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:51:44] local.INFO: GPS data processed {"connection_id":229644,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:51:44] local.INFO: Acknowledgment sent {"connection_id":229644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:52:05] local.INFO: TCP Data received {"connection_id":229166,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:52:05] local.INFO: Processing buffer {"connection_id":229166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:52:05] local.INFO: IMEI packet received {"connection_id":229166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":229166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:52:11] local.INFO: TCP Data received {"connection_id":229166,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:52:11] local.INFO: Processing buffer {"connection_id":229166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:52:11] local.INFO: IMEI packet received {"connection_id":229166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":229166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:52:12] local.INFO: TCP Data received {"connection_id":229166,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:52:12] local.INFO: Processing buffer {"connection_id":229166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:52:12] local.INFO: Packet analysis {"connection_id":229166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:52:12] local.INFO: Extracted packet for processing {"connection_id":229166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:52: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-11-04 20: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-11-04 20:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:52:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":229166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:52:12] local.INFO: GPS data processed {"connection_id":229166,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:52:12] local.INFO: Acknowledgment sent {"connection_id":229166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:52:23] local.INFO: TCP Data received {"connection_id":232826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:52:23] local.INFO: Processing buffer {"connection_id":232826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:52:23] local.INFO: IMEI packet received {"connection_id":232826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":232826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:52:44] local.INFO: TCP Data received {"connection_id":229166,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:52:44] local.INFO: Processing buffer {"connection_id":229166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:52:44] local.INFO: Packet analysis {"connection_id":229166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:52:44] local.INFO: Extracted packet for processing {"connection_id":229166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:52:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":229166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:52:44] local.INFO: GPS data processed {"connection_id":229166,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:52:44] local.INFO: Acknowledgment sent {"connection_id":229166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:53:05] local.INFO: TCP Data received {"connection_id":230955,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:53:05] local.INFO: Processing buffer {"connection_id":230955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:53:05] local.INFO: IMEI packet received {"connection_id":230955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":230955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:53:08] local.INFO: TCP Data received {"connection_id":229646,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:53:08] local.INFO: Processing buffer {"connection_id":229646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:53:08] local.INFO: IMEI packet received {"connection_id":229646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":229646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:53:11] local.INFO: TCP Data received {"connection_id":230955,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:53:11] local.INFO: Processing buffer {"connection_id":230955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:53:11] local.INFO: IMEI packet received {"connection_id":230955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":230955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:53:12] local.INFO: TCP Data received {"connection_id":230955,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:53:12] local.INFO: Processing buffer {"connection_id":230955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:53:12] local.INFO: Packet analysis {"connection_id":230955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:53:12] local.INFO: Extracted packet for processing {"connection_id":230955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:53: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-11-04 20: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-11-04 20:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:53:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":230955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:53:12] local.INFO: GPS data processed {"connection_id":230955,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:53:12] local.INFO: Acknowledgment sent {"connection_id":230955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:53:43] local.INFO: TCP Data received {"connection_id":230955,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:53:43] local.INFO: Processing buffer {"connection_id":230955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:53:43] local.INFO: Packet analysis {"connection_id":230955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:53:43] local.INFO: Extracted packet for processing {"connection_id":230955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:53: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-11-04 20:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:53:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":230955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:53:43] local.INFO: GPS data processed {"connection_id":230955,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:53:43] local.INFO: Acknowledgment sent {"connection_id":230955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:54:05] local.INFO: TCP Data received {"connection_id":232827,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:54:05] local.INFO: Processing buffer {"connection_id":232827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:54:05] local.INFO: IMEI packet received {"connection_id":232827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":232827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:54:11] local.INFO: TCP Data received {"connection_id":232827,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:54:11] local.INFO: Processing buffer {"connection_id":232827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:54:11] local.INFO: IMEI packet received {"connection_id":232827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":232827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:54:13] local.INFO: TCP Data received {"connection_id":232827,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:54:13] local.INFO: Processing buffer {"connection_id":232827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:54:13] local.INFO: Packet analysis {"connection_id":232827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:54:13] local.INFO: Extracted packet for processing {"connection_id":232827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:54: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-11-04 20:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:54:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:54:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":232827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:54:13] local.INFO: GPS data processed {"connection_id":232827,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:54:13] local.INFO: Acknowledgment sent {"connection_id":232827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:54:45] local.INFO: TCP Data received {"connection_id":232827,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:54:45] local.INFO: Processing buffer {"connection_id":232827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:54:45] local.INFO: Packet analysis {"connection_id":232827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:54:45] local.INFO: Extracted packet for processing {"connection_id":232827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:54: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-11-04 20: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-11-04 20:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:54:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:54:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":232827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:54:45] local.INFO: GPS data processed {"connection_id":232827,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:54:45] local.INFO: Acknowledgment sent {"connection_id":232827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:55:11] local.INFO: TCP Data received {"connection_id":230957,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:55:11] local.INFO: Processing buffer {"connection_id":230957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:55:11] local.INFO: IMEI packet received {"connection_id":230957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":230957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:55:16] local.INFO: TCP Data received {"connection_id":230957,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:55:16] local.INFO: Processing buffer {"connection_id":230957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:55:16] local.INFO: IMEI packet received {"connection_id":230957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":230957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:55:17] local.INFO: TCP Data received {"connection_id":230957,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:55:17] local.INFO: Processing buffer {"connection_id":230957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:55:17] local.INFO: Packet analysis {"connection_id":230957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:55:17] local.INFO: Extracted packet for processing {"connection_id":230957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:55:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:55: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-11-04 20:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:55:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:55:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":230957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:55:17] local.INFO: GPS data processed {"connection_id":230957,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:55:17] local.INFO: Acknowledgment sent {"connection_id":230957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:55:22] local.INFO: TCP Data received {"connection_id":230957,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:55:22] local.INFO: Processing buffer {"connection_id":230957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7251df0012d34c14006aa4118000a010129..."} 
[2026-11-04 20:55:22] local.INFO: Packet analysis {"connection_id":230957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:55:22] local.INFO: Extracted packet for processing {"connection_id":230957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a725"} 
[2026-11-04 20:55:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 20:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214153984001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793805590000,"timestamp_ms":1793805590000,"timestamp_seconds":1793805590,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7251df0"} 
[2026-11-04 20:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 20:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 20:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":230957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":230957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":230957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214153984001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214153984001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:55:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:55:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214153984001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":230957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:55:22] local.INFO: GPS data processed {"connection_id":230957,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:55:22] local.INFO: Acknowledgment sent {"connection_id":230957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:56:05] local.INFO: TCP Data received {"connection_id":232828,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:56:05] local.INFO: Processing buffer {"connection_id":232828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:56:05] local.INFO: IMEI packet received {"connection_id":232828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":232828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:56:11] local.INFO: TCP Data received {"connection_id":232828,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:56:11] local.INFO: Processing buffer {"connection_id":232828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:56:11] local.INFO: IMEI packet received {"connection_id":232828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":232828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:56:12] local.INFO: TCP Data received {"connection_id":232828,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:56:12] local.INFO: Processing buffer {"connection_id":232828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:56:12] local.INFO: Packet analysis {"connection_id":232828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:56:12] local.INFO: Extracted packet for processing {"connection_id":232828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:56: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-11-04 20: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-11-04 20:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:56:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":232828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:56:12] local.INFO: GPS data processed {"connection_id":232828,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:56:12] local.INFO: Acknowledgment sent {"connection_id":232828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:56:44] local.INFO: TCP Data received {"connection_id":232828,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:56:44] local.INFO: Processing buffer {"connection_id":232828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:56:44] local.INFO: Packet analysis {"connection_id":232828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:56:44] local.INFO: Extracted packet for processing {"connection_id":232828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:56:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:56:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:56:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:56: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-11-04 20: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-11-04 20:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:56:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:56:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:56:44] local.INFO: DEBUG: GPS processor result {"connection_id":232828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:56:44] local.INFO: GPS data processed {"connection_id":232828,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:56:44] local.INFO: Acknowledgment sent {"connection_id":232828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:57:05] local.INFO: TCP Data received {"connection_id":229649,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:57:05] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:57:05] local.INFO: IMEI packet received {"connection_id":229649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":229649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:57:11] local.INFO: TCP Data received {"connection_id":229649,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:57:11] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:57:11] local.INFO: IMEI packet received {"connection_id":229649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":229649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:57:12] local.INFO: TCP Data received {"connection_id":229649,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:57:12] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:57:12] local.INFO: Packet analysis {"connection_id":229649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:57:12] local.INFO: Extracted packet for processing {"connection_id":229649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:57: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-11-04 20: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-11-04 20:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:57:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":229649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:57:12] local.INFO: GPS data processed {"connection_id":229649,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:57:12] local.INFO: Acknowledgment sent {"connection_id":229649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:57:44] local.INFO: TCP Data received {"connection_id":229649,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:57:44] local.INFO: Processing buffer {"connection_id":229649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:57:44] local.INFO: Packet analysis {"connection_id":229649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:57:44] local.INFO: Extracted packet for processing {"connection_id":229649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:57: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-11-04 20: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-11-04 20:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:57:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":229649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:57:45] local.INFO: GPS data processed {"connection_id":229649,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:57:45] local.INFO: Acknowledgment sent {"connection_id":229649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:58:11] local.INFO: TCP Data received {"connection_id":230958,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:58:11] local.INFO: Processing buffer {"connection_id":230958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:58:11] local.INFO: IMEI packet received {"connection_id":230958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":230958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:58:16] local.INFO: TCP Data received {"connection_id":230958,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:58:16] local.INFO: Processing buffer {"connection_id":230958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:58:16] local.INFO: IMEI packet received {"connection_id":230958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":230958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:58:17] local.INFO: TCP Data received {"connection_id":230958,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:58:17] local.INFO: Processing buffer {"connection_id":230958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:58:17] local.INFO: Packet analysis {"connection_id":230958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:58:17] local.INFO: Extracted packet for processing {"connection_id":230958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:58: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-11-04 20: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-11-04 20:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:58:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":230958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:58:17] local.INFO: GPS data processed {"connection_id":230958,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:58:17] local.INFO: Acknowledgment sent {"connection_id":230958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:58:21] local.INFO: TCP Data received {"connection_id":230958,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:58:21] local.INFO: Processing buffer {"connection_id":230958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:58:21] local.INFO: Packet analysis {"connection_id":230958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:58:21] local.INFO: Extracted packet for processing {"connection_id":230958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:58: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-11-04 20: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-11-04 20:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:58:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:58:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":230958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:58:21] local.INFO: GPS data processed {"connection_id":230958,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:58:21] local.INFO: Acknowledgment sent {"connection_id":230958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:58:25] local.INFO: TCP Data received {"connection_id":232829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:58:25] local.INFO: Processing buffer {"connection_id":232829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 20:58:25] local.INFO: IMEI packet received {"connection_id":232829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 20:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":232829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:59:06] local.INFO: TCP Data received {"connection_id":229651,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:59:06] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:59:06] local.INFO: IMEI packet received {"connection_id":229651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 20:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":229651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 20:59:11] local.INFO: TCP Data received {"connection_id":229651,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:59:11] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 20:59:11] local.INFO: IMEI packet received {"connection_id":229651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 20:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":229651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 20:59:12] local.INFO: TCP Data received {"connection_id":229651,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:59:12] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:59:12] local.INFO: Packet analysis {"connection_id":229651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:59:12] local.INFO: Extracted packet for processing {"connection_id":229651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 20: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-11-04 20:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:59:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":229651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:59:12] local.INFO: GPS data processed {"connection_id":229651,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:59:12] local.INFO: Acknowledgment sent {"connection_id":229651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 20:59:44] local.INFO: TCP Data received {"connection_id":229651,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:59:44] local.INFO: Processing buffer {"connection_id":229651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 20:59:44] local.INFO: Packet analysis {"connection_id":229651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:59:44] local.INFO: Extracted packet for processing {"connection_id":229651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 20:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 20: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-11-04 20:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 20:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 20:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 20:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 20:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 20:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 20:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 20: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 20:59: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-11-04 20: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-11-04 20:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 20:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 20:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 20:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 20:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 20:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 20:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 20:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 20:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 20:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 20:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 20:59:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 20:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 20:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 20:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 20:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 20:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":229651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 20:59:44] local.INFO: GPS data processed {"connection_id":229651,"processed":1,"errors":0,"total":1} 
[2026-11-04 20:59:44] local.INFO: Acknowledgment sent {"connection_id":229651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:00:06] local.INFO: TCP Data received {"connection_id":232830,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:00:06] local.INFO: Processing buffer {"connection_id":232830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:00:06] local.INFO: IMEI packet received {"connection_id":232830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":232830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:00:11] local.INFO: TCP Data received {"connection_id":232830,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:00:11] local.INFO: Processing buffer {"connection_id":232830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:00:11] local.INFO: IMEI packet received {"connection_id":232830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":232830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:00:12] local.INFO: TCP Data received {"connection_id":232830,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 21:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 21:00:12] local.INFO: Processing buffer {"connection_id":232830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a729b5b8012d34c14006aa4118000a010129..."} 
[2026-11-04 21:00:12] local.INFO: Packet analysis {"connection_id":232830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 21:00:12] local.INFO: Extracted packet for processing {"connection_id":232830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a729"} 
[2026-11-04 21:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214231040001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793805891000,"timestamp_ms":1793805891000,"timestamp_seconds":1793805891,"priority":1,"record_length":96,"hex_timestamp":"000001a1a729b5b8"} 
[2026-11-04 21:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:00: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-11-04 21:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214231040001,"66":25462,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214231040001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:00:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214231040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":232830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:00:12] local.INFO: GPS data processed {"connection_id":232830,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:00:12] local.INFO: Acknowledgment sent {"connection_id":232830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:00:44] local.INFO: TCP Data received {"connection_id":232830,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:00:44] local.INFO: Processing buffer {"connection_id":232830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:00:44] local.INFO: Packet analysis {"connection_id":232830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:00:44] local.INFO: Extracted packet for processing {"connection_id":232830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:00:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":232830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:00:44] local.INFO: GPS data processed {"connection_id":232830,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:00:44] local.INFO: Acknowledgment sent {"connection_id":232830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:01:05] local.INFO: TCP Data received {"connection_id":230959,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:01:05] local.INFO: Processing buffer {"connection_id":230959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:01:05] local.INFO: IMEI packet received {"connection_id":230959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":230959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:01:11] local.INFO: TCP Data received {"connection_id":230959,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:01:11] local.INFO: Processing buffer {"connection_id":230959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:01:11] local.INFO: IMEI packet received {"connection_id":230959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":230959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:01:12] local.INFO: TCP Data received {"connection_id":230959,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:01:12] local.INFO: Processing buffer {"connection_id":230959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:01:12] local.INFO: Packet analysis {"connection_id":230959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:01:12] local.INFO: Extracted packet for processing {"connection_id":230959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:01:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:01: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-11-04 21: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-11-04 21:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:01:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:01:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":230959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:01:12] local.INFO: GPS data processed {"connection_id":230959,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:01:12] local.INFO: Acknowledgment sent {"connection_id":230959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:01:44] local.INFO: TCP Data received {"connection_id":230959,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:01:44] local.INFO: Processing buffer {"connection_id":230959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:01:44] local.INFO: Packet analysis {"connection_id":230959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:01:44] local.INFO: Extracted packet for processing {"connection_id":230959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:01:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":230959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:01:44] local.INFO: GPS data processed {"connection_id":230959,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:01:44] local.INFO: Acknowledgment sent {"connection_id":230959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:02:11] local.INFO: TCP Data received {"connection_id":229170,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:02:11] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:02:11] local.INFO: IMEI packet received {"connection_id":229170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":229170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:02:16] local.INFO: TCP Data received {"connection_id":229170,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:02:16] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:02:16] local.INFO: IMEI packet received {"connection_id":229170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":229170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:02:17] local.INFO: TCP Data received {"connection_id":229170,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:02:17] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:02:17] local.INFO: Packet analysis {"connection_id":229170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:02:17] local.INFO: Extracted packet for processing {"connection_id":229170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:02: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-11-04 21:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:02:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":229170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:02:17] local.INFO: GPS data processed {"connection_id":229170,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:02:17] local.INFO: Acknowledgment sent {"connection_id":229170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:02:21] local.INFO: TCP Data received {"connection_id":229170,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:02:21] local.INFO: Processing buffer {"connection_id":229170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:02:21] local.INFO: Packet analysis {"connection_id":229170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:02:21] local.INFO: Extracted packet for processing {"connection_id":229170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21: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-11-04 21:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:02:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":229170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:02:21] local.INFO: GPS data processed {"connection_id":229170,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:02:21] local.INFO: Acknowledgment sent {"connection_id":229170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:03:06] local.INFO: TCP Data received {"connection_id":229172,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:03:06] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:03:06] local.INFO: IMEI packet received {"connection_id":229172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":229172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:03:11] local.INFO: TCP Data received {"connection_id":229172,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:03:11] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:03:11] local.INFO: IMEI packet received {"connection_id":229172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":229172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:03:12] local.INFO: TCP Data received {"connection_id":229172,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:03:12] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:03:12] local.INFO: Packet analysis {"connection_id":229172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:03:12] local.INFO: Extracted packet for processing {"connection_id":229172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21: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-11-04 21: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-11-04 21:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:03:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":229172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:03:12] local.INFO: GPS data processed {"connection_id":229172,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:03:12] local.INFO: Acknowledgment sent {"connection_id":229172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:03:44] local.INFO: TCP Data received {"connection_id":229172,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:03:44] local.INFO: Processing buffer {"connection_id":229172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:03:44] local.INFO: Packet analysis {"connection_id":229172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:03:44] local.INFO: Extracted packet for processing {"connection_id":229172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:03:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":229172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:03:44] local.INFO: GPS data processed {"connection_id":229172,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:03:44] local.INFO: Acknowledgment sent {"connection_id":229172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:03:48] local.INFO: TCP Data received {"connection_id":229173,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:03:48] local.INFO: Processing buffer {"connection_id":229173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:03:48] local.INFO: IMEI packet received {"connection_id":229173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":229173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:04:05] local.INFO: TCP Data received {"connection_id":232832,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:04:05] local.INFO: Processing buffer {"connection_id":232832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:04:05] local.INFO: IMEI packet received {"connection_id":232832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":232832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:04:07] local.INFO: TCP Data received {"connection_id":230960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:07] local.INFO: Processing buffer {"connection_id":230960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:07] local.INFO: IMEI packet received {"connection_id":230960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":230960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:04:11] local.INFO: TCP Data received {"connection_id":232832,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:04:11] local.INFO: Processing buffer {"connection_id":232832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:04:11] local.INFO: IMEI packet received {"connection_id":232832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":232832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:04:12] local.INFO: TCP Data received {"connection_id":232832,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:04:12] local.INFO: Processing buffer {"connection_id":232832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:04:12] local.INFO: Packet analysis {"connection_id":232832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:04:12] local.INFO: Extracted packet for processing {"connection_id":232832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:04: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-11-04 21: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-11-04 21:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:04:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":232832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:04:12] local.INFO: GPS data processed {"connection_id":232832,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:04:12] local.INFO: Acknowledgment sent {"connection_id":232832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:04:16] local.INFO: TCP Data received {"connection_id":230960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:16] local.INFO: Processing buffer {"connection_id":230960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:16] local.INFO: IMEI packet received {"connection_id":230960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 21:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":230960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:04:23] local.INFO: TCP Data received {"connection_id":230960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:23] local.INFO: Processing buffer {"connection_id":230960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:04:23] local.INFO: IMEI packet received {"connection_id":230960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 21:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":230960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:04:44] local.INFO: TCP Data received {"connection_id":232832,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:04:44] local.INFO: Processing buffer {"connection_id":232832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:04:44] local.INFO: Packet analysis {"connection_id":232832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:04:44] local.INFO: Extracted packet for processing {"connection_id":232832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21: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-11-04 21:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:04:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":232832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:04:44] local.INFO: GPS data processed {"connection_id":232832,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:04:44] local.INFO: Acknowledgment sent {"connection_id":232832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:05:05] local.INFO: TCP Data received {"connection_id":230961,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:05:05] local.INFO: Processing buffer {"connection_id":230961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:05:05] local.INFO: IMEI packet received {"connection_id":230961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":230961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:05:11] local.INFO: TCP Data received {"connection_id":230961,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:05:11] local.INFO: Processing buffer {"connection_id":230961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:05:11] local.INFO: IMEI packet received {"connection_id":230961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":230961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:05:13] local.INFO: TCP Data received {"connection_id":230961,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:05:13] local.INFO: Processing buffer {"connection_id":230961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a72e4d80012d34c14006aa4118000a010129..."} 
[2026-11-04 21:05:13] local.INFO: Packet analysis {"connection_id":230961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:05:13] local.INFO: Extracted packet for processing {"connection_id":230961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a72e"} 
[2026-11-04 21:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214308096001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793806192000,"timestamp_ms":1793806192000,"timestamp_seconds":1793806192,"priority":1,"record_length":96,"hex_timestamp":"000001a1a72e4d80"} 
[2026-11-04 21:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:05: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-11-04 21:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":230961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":230961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":230961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214308096001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214308096001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:05:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:05:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214308096001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":230961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:05:13] local.INFO: GPS data processed {"connection_id":230961,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:05:13] local.INFO: Acknowledgment sent {"connection_id":230961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:05:44] local.INFO: TCP Data received {"connection_id":230961,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:05:44] local.INFO: Processing buffer {"connection_id":230961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:05:44] local.INFO: Packet analysis {"connection_id":230961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:05:44] local.INFO: Extracted packet for processing {"connection_id":230961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:05: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-11-04 21:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:05:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:05:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":230961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:05:45] local.INFO: GPS data processed {"connection_id":230961,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:05:45] local.INFO: Acknowledgment sent {"connection_id":230961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:06:06] local.INFO: TCP Data received {"connection_id":229174,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:06:06] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:06:06] local.INFO: IMEI packet received {"connection_id":229174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":229174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:06:11] local.INFO: TCP Data received {"connection_id":229174,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:06:11] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:06:11] local.INFO: IMEI packet received {"connection_id":229174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":229174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:06:13] local.INFO: TCP Data received {"connection_id":229174,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:13] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:13] local.INFO: Packet analysis {"connection_id":229174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:06:13] local.INFO: Extracted packet for processing {"connection_id":229174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:06: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-11-04 21: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-11-04 21:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:06:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:06:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":229174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:06:13] local.INFO: GPS data processed {"connection_id":229174,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:06:13] local.INFO: Acknowledgment sent {"connection_id":229174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:06:17] local.INFO: TCP Data received {"connection_id":229174,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:17] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:17] local.INFO: Packet analysis {"connection_id":229174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:06:17] local.INFO: Extracted packet for processing {"connection_id":229174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:06:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:06: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-11-04 21:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:06:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:06:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":229174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:06:17] local.INFO: GPS data processed {"connection_id":229174,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:06:17] local.INFO: Acknowledgment sent {"connection_id":229174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:06:48] local.INFO: TCP Data received {"connection_id":229174,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:48] local.INFO: Processing buffer {"connection_id":229174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:06:48] local.INFO: Packet analysis {"connection_id":229174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:06:48] local.INFO: Extracted packet for processing {"connection_id":229174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:06:48] 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-11-04 21: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-11-04 21:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:06:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":229174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:06:48] local.INFO: GPS data processed {"connection_id":229174,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:06:48] local.INFO: Acknowledgment sent {"connection_id":229174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:07:06] local.INFO: TCP Data received {"connection_id":229653,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:07:06] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:07:06] local.INFO: IMEI packet received {"connection_id":229653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":229653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:07:11] local.INFO: TCP Data received {"connection_id":229653,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:07:11] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:07:11] local.INFO: IMEI packet received {"connection_id":229653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":229653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:07:12] local.INFO: TCP Data received {"connection_id":229653,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:07:12] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:07:12] local.INFO: Packet analysis {"connection_id":229653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:07:12] local.INFO: Extracted packet for processing {"connection_id":229653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:07: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-11-04 21:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:07:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":229653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:07:12] local.INFO: GPS data processed {"connection_id":229653,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:07:12] local.INFO: Acknowledgment sent {"connection_id":229653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:07:43] local.INFO: TCP Data received {"connection_id":229653,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:07:43] local.INFO: Processing buffer {"connection_id":229653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:07:43] local.INFO: Packet analysis {"connection_id":229653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:07:43] local.INFO: Extracted packet for processing {"connection_id":229653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:07:43] 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-11-04 21: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-11-04 21:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":229653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:07:43] local.INFO: GPS data processed {"connection_id":229653,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:07:43] local.INFO: Acknowledgment sent {"connection_id":229653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:08:05] local.INFO: TCP Data received {"connection_id":229655,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:08:05] local.INFO: Processing buffer {"connection_id":229655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:08:05] local.INFO: IMEI packet received {"connection_id":229655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":229655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:08:11] local.INFO: TCP Data received {"connection_id":229655,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:08:11] local.INFO: Processing buffer {"connection_id":229655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:08:11] local.INFO: IMEI packet received {"connection_id":229655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":229655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:08:12] local.INFO: TCP Data received {"connection_id":229655,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:08:12] local.INFO: Processing buffer {"connection_id":229655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:08:12] local.INFO: Packet analysis {"connection_id":229655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:08:12] local.INFO: Extracted packet for processing {"connection_id":229655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:08: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-11-04 21:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":229655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:08:12] local.INFO: GPS data processed {"connection_id":229655,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:08:12] local.INFO: Acknowledgment sent {"connection_id":229655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:08:44] local.INFO: TCP Data received {"connection_id":229655,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:08:44] local.INFO: Processing buffer {"connection_id":229655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:08:44] local.INFO: Packet analysis {"connection_id":229655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:08:44] local.INFO: Extracted packet for processing {"connection_id":229655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:08: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-11-04 21:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:08:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:08:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":229655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:08:44] local.INFO: GPS data processed {"connection_id":229655,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:08:44] local.INFO: Acknowledgment sent {"connection_id":229655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:09:05] local.INFO: TCP Data received {"connection_id":229657,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:09:05] local.INFO: Processing buffer {"connection_id":229657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:09:05] local.INFO: IMEI packet received {"connection_id":229657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":229657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:09:11] local.INFO: TCP Data received {"connection_id":229657,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:09:11] local.INFO: Processing buffer {"connection_id":229657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:09:11] local.INFO: IMEI packet received {"connection_id":229657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":229657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:09:12] local.INFO: TCP Data received {"connection_id":229657,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:09:12] local.INFO: Processing buffer {"connection_id":229657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:09:12] local.INFO: Packet analysis {"connection_id":229657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:09:12] local.INFO: Extracted packet for processing {"connection_id":229657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:09: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-11-04 21: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-11-04 21:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":229657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:09:13] local.INFO: GPS data processed {"connection_id":229657,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:09:13] local.INFO: Acknowledgment sent {"connection_id":229657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:09:23] local.INFO: TCP Data received {"connection_id":229175,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:09:23] local.INFO: Processing buffer {"connection_id":229175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:09:23] local.INFO: IMEI packet received {"connection_id":229175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":229175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:09:44] local.INFO: TCP Data received {"connection_id":229657,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:09:44] local.INFO: Processing buffer {"connection_id":229657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:09:44] local.INFO: Packet analysis {"connection_id":229657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:09:44] local.INFO: Extracted packet for processing {"connection_id":229657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:09:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:09: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-11-04 21: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-11-04 21:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:09:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:09:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":229657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:09:44] local.INFO: GPS data processed {"connection_id":229657,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:09:44] local.INFO: Acknowledgment sent {"connection_id":229657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:10:05] local.INFO: TCP Data received {"connection_id":229176,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:10:05] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:10:05] local.INFO: IMEI packet received {"connection_id":229176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":229176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:10:11] local.INFO: TCP Data received {"connection_id":229176,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:10:11] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:10:11] local.INFO: IMEI packet received {"connection_id":229176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":229176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:10:12] local.INFO: TCP Data received {"connection_id":229176,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:10:12] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a732e548012d34c14006aa4118000a010129..."} 
[2026-11-04 21:10:12] local.INFO: Packet analysis {"connection_id":229176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:10:12] local.INFO: Extracted packet for processing {"connection_id":229176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a732"} 
[2026-11-04 21:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214385152001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806493000,"timestamp_ms":1793806493000,"timestamp_seconds":1793806493,"priority":1,"record_length":96,"hex_timestamp":"000001a1a732e548"} 
[2026-11-04 21:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:10: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-11-04 21: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-11-04 21:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214385152001,"66":25441,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214385152001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214385152001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":229176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:10:12] local.INFO: GPS data processed {"connection_id":229176,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:10:12] local.INFO: Acknowledgment sent {"connection_id":229176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:10:13] local.INFO: TCP Data received {"connection_id":229658,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:10:13] local.INFO: Processing buffer {"connection_id":229658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:10:13] local.INFO: IMEI packet received {"connection_id":229658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":229658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:10:44] local.INFO: TCP Data received {"connection_id":229176,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:10:44] local.INFO: Processing buffer {"connection_id":229176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:10:44] local.INFO: Packet analysis {"connection_id":229176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:10:44] local.INFO: Extracted packet for processing {"connection_id":229176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:10: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-11-04 21: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-11-04 21:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:10:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:10:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":229176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:10:44] local.INFO: GPS data processed {"connection_id":229176,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:10:44] local.INFO: Acknowledgment sent {"connection_id":229176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:11:06] local.INFO: TCP Data received {"connection_id":232833,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:11:06] local.INFO: Processing buffer {"connection_id":232833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:11:06] local.INFO: IMEI packet received {"connection_id":232833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":232833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:11:11] local.INFO: TCP Data received {"connection_id":232833,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:11:11] local.INFO: Processing buffer {"connection_id":232833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:11:11] local.INFO: IMEI packet received {"connection_id":232833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":232833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:11:12] local.INFO: TCP Data received {"connection_id":232833,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:11:12] local.INFO: Processing buffer {"connection_id":232833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:11:12] local.INFO: Packet analysis {"connection_id":232833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:11:12] local.INFO: Extracted packet for processing {"connection_id":232833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:11: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-11-04 21: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-11-04 21:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:11:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":232833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:11:12] local.INFO: GPS data processed {"connection_id":232833,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:11:12] local.INFO: Acknowledgment sent {"connection_id":232833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:11:44] local.INFO: TCP Data received {"connection_id":232833,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:11:44] local.INFO: Processing buffer {"connection_id":232833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:11:44] local.INFO: Packet analysis {"connection_id":232833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:11:44] local.INFO: Extracted packet for processing {"connection_id":232833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:11: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-11-04 21: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-11-04 21:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:11:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:11:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":232833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:11:44] local.INFO: GPS data processed {"connection_id":232833,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:11:44] local.INFO: Acknowledgment sent {"connection_id":232833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:12:05] local.INFO: TCP Data received {"connection_id":232834,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:12:05] local.INFO: Processing buffer {"connection_id":232834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:12:05] local.INFO: IMEI packet received {"connection_id":232834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":232834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:12:11] local.INFO: TCP Data received {"connection_id":232834,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:12:11] local.INFO: Processing buffer {"connection_id":232834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:12:11] local.INFO: IMEI packet received {"connection_id":232834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":232834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:12:12] local.INFO: TCP Data received {"connection_id":232834,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:12:12] local.INFO: Processing buffer {"connection_id":232834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:12:12] local.INFO: Packet analysis {"connection_id":232834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:12:12] local.INFO: Extracted packet for processing {"connection_id":232834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:12: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-11-04 21: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-11-04 21:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:12:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":232834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:12:12] local.INFO: GPS data processed {"connection_id":232834,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:12:12] local.INFO: Acknowledgment sent {"connection_id":232834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:12:43] local.INFO: TCP Data received {"connection_id":232834,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:12:43] local.INFO: Processing buffer {"connection_id":232834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:12:43] local.INFO: Packet analysis {"connection_id":232834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:12:43] local.INFO: Extracted packet for processing {"connection_id":232834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:12:43] 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-11-04 21: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-11-04 21:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":232834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:12:43] local.INFO: GPS data processed {"connection_id":232834,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:12:43] local.INFO: Acknowledgment sent {"connection_id":232834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:13:05] local.INFO: TCP Data received {"connection_id":232835,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:13:05] local.INFO: Processing buffer {"connection_id":232835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:13:05] local.INFO: IMEI packet received {"connection_id":232835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":232835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:13:11] local.INFO: TCP Data received {"connection_id":232835,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:13:11] local.INFO: Processing buffer {"connection_id":232835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:13:11] local.INFO: IMEI packet received {"connection_id":232835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":232835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:13:12] local.INFO: TCP Data received {"connection_id":232835,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:13:12] local.INFO: Processing buffer {"connection_id":232835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:13:12] local.INFO: Packet analysis {"connection_id":232835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:13:12] local.INFO: Extracted packet for processing {"connection_id":232835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:13: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-11-04 21: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-11-04 21:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:13:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":232835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:13:12] local.INFO: GPS data processed {"connection_id":232835,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:13:12] local.INFO: Acknowledgment sent {"connection_id":232835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:13:43] local.INFO: TCP Data received {"connection_id":232835,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:13:43] local.INFO: Processing buffer {"connection_id":232835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:13:43] local.INFO: Packet analysis {"connection_id":232835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:13:43] local.INFO: Extracted packet for processing {"connection_id":232835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:13:43] 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-11-04 21: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-11-04 21:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":232835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:13:43] local.INFO: GPS data processed {"connection_id":232835,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:13:43] local.INFO: Acknowledgment sent {"connection_id":232835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:14:10] local.INFO: TCP Data received {"connection_id":230964,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:14:10] local.INFO: Processing buffer {"connection_id":230964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:14:10] local.INFO: IMEI packet received {"connection_id":230964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":230964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:14:16] local.INFO: TCP Data received {"connection_id":230964,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:14:16] local.INFO: Processing buffer {"connection_id":230964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:14:16] local.INFO: IMEI packet received {"connection_id":230964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":230964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:14:17] local.INFO: TCP Data received {"connection_id":230964,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:14:17] local.INFO: Processing buffer {"connection_id":230964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:14:17] local.INFO: Packet analysis {"connection_id":230964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:14:17] local.INFO: Extracted packet for processing {"connection_id":230964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:14:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:14: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-11-04 21:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:14:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:14:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":230964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:14:17] local.INFO: GPS data processed {"connection_id":230964,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:14:17] local.INFO: Acknowledgment sent {"connection_id":230964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:14:48] local.INFO: TCP Data received {"connection_id":230964,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:14:48] local.INFO: Processing buffer {"connection_id":230964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:14:48] local.INFO: Packet analysis {"connection_id":230964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:14:48] local.INFO: Extracted packet for processing {"connection_id":230964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:14:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:14:48] 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-11-04 21:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":230964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":230964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":230964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:14:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":230964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:14:48] local.INFO: GPS data processed {"connection_id":230964,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:14:48] local.INFO: Acknowledgment sent {"connection_id":230964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:15:11] local.INFO: TCP Data received {"connection_id":232837,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:15:11] local.INFO: Processing buffer {"connection_id":232837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:15:11] local.INFO: IMEI packet received {"connection_id":232837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":232837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:15:16] local.INFO: TCP Data received {"connection_id":232837,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:15:16] local.INFO: Processing buffer {"connection_id":232837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:15:16] local.INFO: IMEI packet received {"connection_id":232837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":232837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:15:17] local.INFO: TCP Data received {"connection_id":232837,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:15:17] local.INFO: Processing buffer {"connection_id":232837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:15:17] local.INFO: Packet analysis {"connection_id":232837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:15:17] local.INFO: Extracted packet for processing {"connection_id":232837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:15: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-11-04 21:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:15:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:15:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":232837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:15:17] local.INFO: GPS data processed {"connection_id":232837,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:15:17] local.INFO: Acknowledgment sent {"connection_id":232837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:15:21] local.INFO: TCP Data received {"connection_id":232837,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:15:21] local.INFO: Processing buffer {"connection_id":232837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7377d10012d34c14006aa4118000a010127..."} 
[2026-11-04 21:15:21] local.INFO: Packet analysis {"connection_id":232837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:15:21] local.INFO: Extracted packet for processing {"connection_id":232837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a737"} 
[2026-11-04 21:15:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214462208001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 21:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793806794000,"timestamp_ms":1793806794000,"timestamp_seconds":1793806794,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7377d10"} 
[2026-11-04 21:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:15: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-11-04 21: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-11-04 21:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214462208001,"66":25430,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 21:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214462208001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:15:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 21:15:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214462208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":232837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:15:21] local.INFO: GPS data processed {"connection_id":232837,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:15:21] local.INFO: Acknowledgment sent {"connection_id":232837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:15:38] local.INFO: TCP Data received {"connection_id":229660,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:15:38] local.INFO: Processing buffer {"connection_id":229660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:15:38] local.INFO: IMEI packet received {"connection_id":229660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":229660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:16:05] local.INFO: TCP Data received {"connection_id":229661,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:16:05] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:16:05] local.INFO: IMEI packet received {"connection_id":229661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":229661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:16:07] local.INFO: TCP Data received {"connection_id":229179,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:16:07] local.INFO: Processing buffer {"connection_id":229179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:16:07] local.INFO: IMEI packet received {"connection_id":229179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":229179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:16:11] local.INFO: TCP Data received {"connection_id":229661,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:16:11] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:16:11] local.INFO: IMEI packet received {"connection_id":229661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":229661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:16:12] local.INFO: TCP Data received {"connection_id":229661,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:16:12] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:16:12] local.INFO: Packet analysis {"connection_id":229661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:16:12] local.INFO: Extracted packet for processing {"connection_id":229661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:16:12] 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-11-04 21:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:16: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-11-04 21: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-11-04 21:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:16:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":229661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:16:12] local.INFO: GPS data processed {"connection_id":229661,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:16:12] local.INFO: Acknowledgment sent {"connection_id":229661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:16:13] local.INFO: TCP Data received {"connection_id":229179,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:16:13] local.INFO: Processing buffer {"connection_id":229179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:16:13] local.INFO: IMEI packet received {"connection_id":229179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 21:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":229179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:16:18] local.INFO: TCP Data received {"connection_id":229179,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a1a722d018012cec75400729a4e0002300c12d..."} 
[2026-11-04 21:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a722d018012cec75400729a4e0002300c12d..."} 
[2026-11-04 21:16:18] local.INFO: Processing buffer {"connection_id":229179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a722d018012cec75400729a4e0002300c12d..."} 
[2026-11-04 21:16:18] local.INFO: Packet analysis {"connection_id":229179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a722"} 
[2026-11-04 21:16:18] local.INFO: Extracted packet for processing {"connection_id":229179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a722"} 
[2026-11-04 21:16:18] local.INFO: GPS Element Parsed {"raw_longitude":753694016,"raw_latitude":120169696,"longitude_deg":75.3694016,"latitude_deg":12.0169696,"altitude":35,"angle":193,"satellites":45,"speed":36,"hex_longitude":"2cec7540","hex_latitude":"0729a4e0","is_valid_coordinates":true} 
[2026-11-04 21:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 21:16:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,226,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-11-04 21:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1793805439000,"timestamp_ms":1793805439000,"timestamp_seconds":1793805439,"priority":1,"record_length":96,"hex_timestamp":"000001a1a722d018"} 
[2026-11-04 21:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 21:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-11-04 21:16:18] 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-11-04 21:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":229179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":229179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 21:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":229179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 21:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 21:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 21:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"226":206,"83":44032,"24":36,"16":20804074257514496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,83,24,16]} 
[2026-11-04 21:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-11-04 21:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-11-04 21:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-11-04 21:16:18] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-11-04 21:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":44032,"description":"Unknown IO ID 83"} 
[2026-11-04 21:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":20804074257514496,"km_value":20804074257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:16:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_226":206,"unknown_83":44032,"ignition":36,"odometer":null}} 
[2026-11-04 21:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":229179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:16:19] local.INFO: GPS data processed {"connection_id":229179,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:16:19] local.INFO: Acknowledgment sent {"connection_id":229179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:16:43] local.INFO: TCP Data received {"connection_id":229661,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:16:43] local.INFO: Processing buffer {"connection_id":229661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:16:43] local.INFO: Packet analysis {"connection_id":229661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:16:43] local.INFO: Extracted packet for processing {"connection_id":229661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:16:43] 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-11-04 21:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:16: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-11-04 21: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-11-04 21:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:16:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":229661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:16:43] local.INFO: GPS data processed {"connection_id":229661,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:16:43] local.INFO: Acknowledgment sent {"connection_id":229661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:17:05] local.INFO: TCP Data received {"connection_id":229663,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:17:05] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:17:05] local.INFO: IMEI packet received {"connection_id":229663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":229663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:17:08] local.INFO: TCP Data received {"connection_id":229662,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:17:08] local.INFO: Processing buffer {"connection_id":229662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:17:08] local.INFO: IMEI packet received {"connection_id":229662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":229662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:17:11] local.INFO: TCP Data received {"connection_id":229663,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:17:11] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:17:11] local.INFO: IMEI packet received {"connection_id":229663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":229663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:17:12] local.INFO: TCP Data received {"connection_id":229663,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:17:12] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:17:12] local.INFO: Packet analysis {"connection_id":229663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:17:12] local.INFO: Extracted packet for processing {"connection_id":229663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:17:12] 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-11-04 21:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:17: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-11-04 21: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-11-04 21:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:17:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":229663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:17:12] local.INFO: GPS data processed {"connection_id":229663,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:17:12] local.INFO: Acknowledgment sent {"connection_id":229663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:17:43] local.INFO: TCP Data received {"connection_id":229663,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:17:43] local.INFO: Processing buffer {"connection_id":229663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:17:43] local.INFO: Packet analysis {"connection_id":229663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:17:43] local.INFO: Extracted packet for processing {"connection_id":229663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:17:43] 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-11-04 21:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:17: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-11-04 21:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:17:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":229663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:17:43] local.INFO: GPS data processed {"connection_id":229663,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:17:43] local.INFO: Acknowledgment sent {"connection_id":229663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:18:11] local.INFO: TCP Data received {"connection_id":230966,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:18:11] local.INFO: Processing buffer {"connection_id":230966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:18:11] local.INFO: IMEI packet received {"connection_id":230966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":230966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:18:16] local.INFO: TCP Data received {"connection_id":230966,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:18:16] local.INFO: Processing buffer {"connection_id":230966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:18:16] local.INFO: IMEI packet received {"connection_id":230966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":230966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:18:17] local.INFO: TCP Data received {"connection_id":230966,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:18:17] local.INFO: Processing buffer {"connection_id":230966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:18:17] local.INFO: Packet analysis {"connection_id":230966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:18:17] local.INFO: Extracted packet for processing {"connection_id":230966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:18:17] 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-11-04 21:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:18: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-11-04 21:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:18:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":230966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:18:17] local.INFO: GPS data processed {"connection_id":230966,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:18:17] local.INFO: Acknowledgment sent {"connection_id":230966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:18:21] local.INFO: TCP Data received {"connection_id":230966,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:18:21] local.INFO: Processing buffer {"connection_id":230966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:18:21] local.INFO: Packet analysis {"connection_id":230966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:18:21] local.INFO: Extracted packet for processing {"connection_id":230966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:18:21] 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-11-04 21:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:18: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-11-04 21:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:18:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":230966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:18:21] local.INFO: GPS data processed {"connection_id":230966,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:18:21] local.INFO: Acknowledgment sent {"connection_id":230966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:19:06] local.INFO: TCP Data received {"connection_id":232838,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:19:06] local.INFO: Processing buffer {"connection_id":232838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:19:06] local.INFO: IMEI packet received {"connection_id":232838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":232838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:19:11] local.INFO: TCP Data received {"connection_id":232838,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:19:11] local.INFO: Processing buffer {"connection_id":232838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:19:11] local.INFO: IMEI packet received {"connection_id":232838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":232838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:19:12] local.INFO: TCP Data received {"connection_id":232838,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:19:12] local.INFO: Processing buffer {"connection_id":232838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:19:12] local.INFO: Packet analysis {"connection_id":232838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:19:12] local.INFO: Extracted packet for processing {"connection_id":232838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:19:12] 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-11-04 21:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:19: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-11-04 21: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-11-04 21:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:19:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":232838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:19:12] local.INFO: GPS data processed {"connection_id":232838,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:19:12] local.INFO: Acknowledgment sent {"connection_id":232838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:19:43] local.INFO: TCP Data received {"connection_id":232838,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:19:43] local.INFO: Processing buffer {"connection_id":232838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:19:43] local.INFO: Packet analysis {"connection_id":232838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:19:43] local.INFO: Extracted packet for processing {"connection_id":232838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:19:43] 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-11-04 21:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:19: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-11-04 21:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:19:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":232838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:19:43] local.INFO: GPS data processed {"connection_id":232838,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:19:43] local.INFO: Acknowledgment sent {"connection_id":232838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:20:06] local.INFO: TCP Data received {"connection_id":229180,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:20:06] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:20:06] local.INFO: IMEI packet received {"connection_id":229180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":229180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:20:11] local.INFO: TCP Data received {"connection_id":229180,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:20:11] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:20:11] local.INFO: IMEI packet received {"connection_id":229180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":229180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:20:12] local.INFO: TCP Data received {"connection_id":229180,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:20:12] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a73c14d8012d34c14006aa4118000a010128..."} 
[2026-11-04 21:20:12] local.INFO: Packet analysis {"connection_id":229180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:20:12] local.INFO: Extracted packet for processing {"connection_id":229180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a73c"} 
[2026-11-04 21:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214539264001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:20:12] 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-11-04 21:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807095000,"timestamp_ms":1793807095000,"timestamp_seconds":1793807095,"priority":1,"record_length":96,"hex_timestamp":"000001a1a73c14d8"} 
[2026-11-04 21:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:20: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-11-04 21:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214539264001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214539264001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:20:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214539264001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":229180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:20:12] local.INFO: GPS data processed {"connection_id":229180,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:20:12] local.INFO: Acknowledgment sent {"connection_id":229180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:20:43] local.INFO: TCP Data received {"connection_id":229180,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:20:43] local.INFO: Processing buffer {"connection_id":229180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:20:43] local.INFO: Packet analysis {"connection_id":229180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:20:43] local.INFO: Extracted packet for processing {"connection_id":229180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:20:43] 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-11-04 21:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:20:43] 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-11-04 21:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:20:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":229180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:20:43] local.INFO: GPS data processed {"connection_id":229180,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:20:43] local.INFO: Acknowledgment sent {"connection_id":229180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:21:05] local.INFO: TCP Data received {"connection_id":229665,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:21:05] local.INFO: Processing buffer {"connection_id":229665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:21:05] local.INFO: IMEI packet received {"connection_id":229665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":229665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:21:11] local.INFO: TCP Data received {"connection_id":229665,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:21:11] local.INFO: Processing buffer {"connection_id":229665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:21:11] local.INFO: IMEI packet received {"connection_id":229665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":229665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:21:12] local.INFO: TCP Data received {"connection_id":229665,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:21:12] local.INFO: Processing buffer {"connection_id":229665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:21:12] local.INFO: Packet analysis {"connection_id":229665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:21:12] local.INFO: Extracted packet for processing {"connection_id":229665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:21:12] 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-11-04 21:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:21: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-11-04 21: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-11-04 21:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:21:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":229665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:21:12] local.INFO: GPS data processed {"connection_id":229665,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:21:12] local.INFO: Acknowledgment sent {"connection_id":229665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:21:43] local.INFO: TCP Data received {"connection_id":229665,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:21:43] local.INFO: Processing buffer {"connection_id":229665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:21:43] local.INFO: Packet analysis {"connection_id":229665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:21:43] local.INFO: Extracted packet for processing {"connection_id":229665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:21:43] 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-11-04 21:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:21:43] 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-11-04 21:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:21:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":229665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:21:43] local.INFO: GPS data processed {"connection_id":229665,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:21:43] local.INFO: Acknowledgment sent {"connection_id":229665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:22:11] local.INFO: TCP Data received {"connection_id":229667,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:22:11] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:22:11] local.INFO: IMEI packet received {"connection_id":229667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:22:16] local.INFO: TCP Data received {"connection_id":229667,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:22:16] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:22:16] local.INFO: IMEI packet received {"connection_id":229667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":229667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:22:17] local.INFO: TCP Data received {"connection_id":229667,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:22:17] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:22:17] local.INFO: Packet analysis {"connection_id":229667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:22:17] local.INFO: Extracted packet for processing {"connection_id":229667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:22:17] 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-11-04 21:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:22: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-11-04 21:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:22:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:22:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":229667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:22:17] local.INFO: GPS data processed {"connection_id":229667,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:22:17] local.INFO: Acknowledgment sent {"connection_id":229667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:22:21] local.INFO: TCP Data received {"connection_id":229667,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:22:21] local.INFO: Processing buffer {"connection_id":229667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:22:21] local.INFO: Packet analysis {"connection_id":229667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:22:21] local.INFO: Extracted packet for processing {"connection_id":229667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:22:21] 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-11-04 21:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:22: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-11-04 21: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-11-04 21:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:22:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:22:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":229667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:22:21] local.INFO: GPS data processed {"connection_id":229667,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:22:21] local.INFO: Acknowledgment sent {"connection_id":229667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:22:38] local.INFO: TCP Data received {"connection_id":229666,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:22:38] local.INFO: Processing buffer {"connection_id":229666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:22:38] local.INFO: IMEI packet received {"connection_id":229666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":229666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:23:06] local.INFO: TCP Data received {"connection_id":230967,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:23:06] local.INFO: Processing buffer {"connection_id":230967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:23:06] local.INFO: IMEI packet received {"connection_id":230967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":230967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:23:07] local.INFO: TCP Data received {"connection_id":230968,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:23:07] local.INFO: Processing buffer {"connection_id":230968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:23:07] local.INFO: IMEI packet received {"connection_id":230968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":230968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:23:11] local.INFO: TCP Data received {"connection_id":230967,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:23:11] local.INFO: Processing buffer {"connection_id":230967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:23:11] local.INFO: IMEI packet received {"connection_id":230967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":230967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:23:12] local.INFO: TCP Data received {"connection_id":230967,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:23:12] local.INFO: Processing buffer {"connection_id":230967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:23:12] local.INFO: Packet analysis {"connection_id":230967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:23:12] local.INFO: Extracted packet for processing {"connection_id":230967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:23:12] 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-11-04 21:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:23: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-11-04 21: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-11-04 21:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:23:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":230967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:23:12] local.INFO: GPS data processed {"connection_id":230967,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:23:12] local.INFO: Acknowledgment sent {"connection_id":230967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:23:43] local.INFO: TCP Data received {"connection_id":230967,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:23:43] local.INFO: Processing buffer {"connection_id":230967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:23:43] local.INFO: Packet analysis {"connection_id":230967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:23:43] local.INFO: Extracted packet for processing {"connection_id":230967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:23:43] 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-11-04 21:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:23:43] 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-11-04 21: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-11-04 21:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:23:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":230967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:23:43] local.INFO: GPS data processed {"connection_id":230967,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:23:43] local.INFO: Acknowledgment sent {"connection_id":230967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:24:06] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:24:06] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:24:06] local.INFO: IMEI packet received {"connection_id":229668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":229668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:24:11] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:24:11] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:24:11] local.INFO: IMEI packet received {"connection_id":229668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":229668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:24:12] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:24:12] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:24:12] local.INFO: Packet analysis {"connection_id":229668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:24:12] local.INFO: Extracted packet for processing {"connection_id":229668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:24:12] 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-11-04 21:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:24: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-11-04 21: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-11-04 21:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:24:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":229668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:24:12] local.INFO: GPS data processed {"connection_id":229668,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:24:12] local.INFO: Acknowledgment sent {"connection_id":229668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:24:43] local.INFO: TCP Data received {"connection_id":229668,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:24:43] local.INFO: Processing buffer {"connection_id":229668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:24:43] local.INFO: Packet analysis {"connection_id":229668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:24:43] local.INFO: Extracted packet for processing {"connection_id":229668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:24:43] 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-11-04 21:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:24:43] 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-11-04 21: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-11-04 21:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:24:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":229668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:24:43] local.INFO: GPS data processed {"connection_id":229668,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:24:43] local.INFO: Acknowledgment sent {"connection_id":229668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:25:05] local.INFO: TCP Data received {"connection_id":230970,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:25:05] local.INFO: Processing buffer {"connection_id":230970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:25:05] local.INFO: IMEI packet received {"connection_id":230970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":230970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:25:11] local.INFO: TCP Data received {"connection_id":230970,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:25:11] local.INFO: Processing buffer {"connection_id":230970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:25:11] local.INFO: IMEI packet received {"connection_id":230970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":230970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:25:11] local.INFO: TCP Data received {"connection_id":230970,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:25:11] local.INFO: Processing buffer {"connection_id":230970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a740aca0012d34c14006aa4118000a010125..."} 
[2026-11-04 21:25:11] local.INFO: Packet analysis {"connection_id":230970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:25:11] local.INFO: Extracted packet for processing {"connection_id":230970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a740"} 
[2026-11-04 21:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214616320001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:25:11] 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-11-04 21:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793807396000,"timestamp_ms":1793807396000,"timestamp_seconds":1793807396,"priority":1,"record_length":96,"hex_timestamp":"000001a1a740aca0"} 
[2026-11-04 21:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214616320001,"66":25451,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214616320001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:25:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214616320001,"power":25451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":230970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:25:11] local.INFO: GPS data processed {"connection_id":230970,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:25:11] local.INFO: Acknowledgment sent {"connection_id":230970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:25:43] local.INFO: TCP Data received {"connection_id":230970,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:25:43] local.INFO: Processing buffer {"connection_id":230970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:25:43] local.INFO: Packet analysis {"connection_id":230970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:25:43] local.INFO: Extracted packet for processing {"connection_id":230970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:25:43] 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-11-04 21:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:25:43] 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-11-04 21: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-11-04 21:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:25:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":230970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:25:43] local.INFO: GPS data processed {"connection_id":230970,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:25:43] local.INFO: Acknowledgment sent {"connection_id":230970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:26:11] local.INFO: TCP Data received {"connection_id":232841,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:26:11] local.INFO: Processing buffer {"connection_id":232841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:26:11] local.INFO: IMEI packet received {"connection_id":232841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":232841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:26:16] local.INFO: TCP Data received {"connection_id":232841,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:26:16] local.INFO: Processing buffer {"connection_id":232841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:26:16] local.INFO: IMEI packet received {"connection_id":232841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":232841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:26:16] local.INFO: TCP Data received {"connection_id":232841,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:26:16] local.INFO: Processing buffer {"connection_id":232841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:26:16] local.INFO: Packet analysis {"connection_id":232841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:26:16] local.INFO: Extracted packet for processing {"connection_id":232841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:26:16] 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-11-04 21:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:26:16] 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-11-04 21: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-11-04 21:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:26:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":232841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:26:16] local.INFO: GPS data processed {"connection_id":232841,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:26:16] local.INFO: Acknowledgment sent {"connection_id":232841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:26:48] local.INFO: TCP Data received {"connection_id":232841,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:26:48] local.INFO: Processing buffer {"connection_id":232841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:26:48] local.INFO: Packet analysis {"connection_id":232841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:26:48] local.INFO: Extracted packet for processing {"connection_id":232841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:26:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:26:48] 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-11-04 21:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:26:48] 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-11-04 21:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":232841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":232841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":232841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:26:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":232841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:26:48] local.INFO: GPS data processed {"connection_id":232841,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:26:48] local.INFO: Acknowledgment sent {"connection_id":232841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:27:06] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:27:06] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:27:06] local.INFO: IMEI packet received {"connection_id":229183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":229183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:27:10] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:27:10] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:27:10] local.INFO: IMEI packet received {"connection_id":229183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":229183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:27:11] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:27:11] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:27:11] local.INFO: Packet analysis {"connection_id":229183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:27:11] local.INFO: Extracted packet for processing {"connection_id":229183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:27:11] 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-11-04 21:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:27:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":229183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:27:11] local.INFO: GPS data processed {"connection_id":229183,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:27:11] local.INFO: Acknowledgment sent {"connection_id":229183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:27:43] local.INFO: TCP Data received {"connection_id":229183,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:27:43] local.INFO: Processing buffer {"connection_id":229183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:27:43] local.INFO: Packet analysis {"connection_id":229183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:27:43] local.INFO: Extracted packet for processing {"connection_id":229183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:27:43] 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-11-04 21:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:27:43] 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-11-04 21: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-11-04 21:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:27:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":229183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:27:43] local.INFO: GPS data processed {"connection_id":229183,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:27:43] local.INFO: Acknowledgment sent {"connection_id":229183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:28:05] local.INFO: TCP Data received {"connection_id":229669,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:28:05] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:28:05] local.INFO: IMEI packet received {"connection_id":229669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":229669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:28:11] local.INFO: TCP Data received {"connection_id":229669,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:28:11] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:28:11] local.INFO: IMEI packet received {"connection_id":229669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":229669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:28:12] local.INFO: TCP Data received {"connection_id":229669,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:28:12] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:28:12] local.INFO: Packet analysis {"connection_id":229669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:28:12] local.INFO: Extracted packet for processing {"connection_id":229669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:28:12] 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-11-04 21:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:28:12] 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-11-04 21:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:28:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":229669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:28:12] local.INFO: GPS data processed {"connection_id":229669,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:28:12] local.INFO: Acknowledgment sent {"connection_id":229669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:28:38] local.INFO: TCP Data received {"connection_id":232842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:28:38] local.INFO: Processing buffer {"connection_id":232842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:28:38] local.INFO: IMEI packet received {"connection_id":232842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":232842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:28:43] local.INFO: TCP Data received {"connection_id":229669,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:28:43] local.INFO: Processing buffer {"connection_id":229669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:28:43] local.INFO: Packet analysis {"connection_id":229669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:28:43] local.INFO: Extracted packet for processing {"connection_id":229669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:28:43] 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-11-04 21:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:28:43] 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-11-04 21: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-11-04 21:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:28:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:28:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":229669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:28:43] local.INFO: GPS data processed {"connection_id":229669,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:28:43] local.INFO: Acknowledgment sent {"connection_id":229669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:29:05] local.INFO: TCP Data received {"connection_id":232843,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:29:05] local.INFO: Processing buffer {"connection_id":232843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:29:05] local.INFO: IMEI packet received {"connection_id":232843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":232843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:29:07] local.INFO: TCP Data received {"connection_id":229184,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:29:07] local.INFO: Processing buffer {"connection_id":229184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:29:07] local.INFO: IMEI packet received {"connection_id":229184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":229184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:29:11] local.INFO: TCP Data received {"connection_id":232843,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:29:11] local.INFO: Processing buffer {"connection_id":232843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:29:11] local.INFO: IMEI packet received {"connection_id":232843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":232843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:29:11] local.INFO: TCP Data received {"connection_id":232843,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:29:12] local.INFO: Processing buffer {"connection_id":232843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:29:12] local.INFO: Packet analysis {"connection_id":232843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:29:12] local.INFO: Extracted packet for processing {"connection_id":232843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:29:12] 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-11-04 21:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:29:12] 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-11-04 21: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-11-04 21:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:29:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":232843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:29:12] local.INFO: GPS data processed {"connection_id":232843,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:29:12] local.INFO: Acknowledgment sent {"connection_id":232843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:29:43] local.INFO: TCP Data received {"connection_id":232843,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:29:43] local.INFO: Processing buffer {"connection_id":232843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:29:43] local.INFO: Packet analysis {"connection_id":232843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:29:43] local.INFO: Extracted packet for processing {"connection_id":232843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:29:43] 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-11-04 21:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:29:43] 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-11-04 21:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:29:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":232843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:29:43] local.INFO: GPS data processed {"connection_id":232843,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:29:43] local.INFO: Acknowledgment sent {"connection_id":232843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:30:05] local.INFO: TCP Data received {"connection_id":229670,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:30:05] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:30:05] local.INFO: IMEI packet received {"connection_id":229670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":229670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:30:11] local.INFO: TCP Data received {"connection_id":229670,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:30:11] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:30:11] local.INFO: IMEI packet received {"connection_id":229670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":229670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:30:11] local.INFO: TCP Data received {"connection_id":229670,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:30:11] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7454468012d34c14006aa4118000a010125..."} 
[2026-11-04 21:30:11] local.INFO: Packet analysis {"connection_id":229670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:30:11] local.INFO: Extracted packet for processing {"connection_id":229670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a745"} 
[2026-11-04 21:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":37,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214693376001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:30:11] 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-11-04 21:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793807697000,"timestamp_ms":1793807697000,"timestamp_seconds":1793807697,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7454468"} 
[2026-11-04 21:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-11-04 21:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21: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-11-04 21:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214693376001,"66":25462,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214693376001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:30:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214693376001,"power":25462,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":229670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:30:11] local.INFO: GPS data processed {"connection_id":229670,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:30:11] local.INFO: Acknowledgment sent {"connection_id":229670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:30:43] local.INFO: TCP Data received {"connection_id":229670,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:30:43] local.INFO: Processing buffer {"connection_id":229670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:30:43] local.INFO: Packet analysis {"connection_id":229670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:30:43] local.INFO: Extracted packet for processing {"connection_id":229670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:30:43] 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-11-04 21:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:30: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-11-04 21: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-11-04 21:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:30:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":229670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:30:43] local.INFO: GPS data processed {"connection_id":229670,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:30:43] local.INFO: Acknowledgment sent {"connection_id":229670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:31:11] local.INFO: TCP Data received {"connection_id":229672,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:31:11] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:31:11] local.INFO: IMEI packet received {"connection_id":229672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":229672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:31:16] local.INFO: TCP Data received {"connection_id":229672,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:31:16] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:31:16] local.INFO: IMEI packet received {"connection_id":229672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":229672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:31:16] local.INFO: TCP Data received {"connection_id":229672,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:31:16] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:31:16] local.INFO: Packet analysis {"connection_id":229672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:31:16] local.INFO: Extracted packet for processing {"connection_id":229672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:31:16] 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-11-04 21:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:31: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-11-04 21: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-11-04 21:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:31:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":229672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:31:16] local.INFO: GPS data processed {"connection_id":229672,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:31:16] local.INFO: Acknowledgment sent {"connection_id":229672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:31:48] local.INFO: TCP Data received {"connection_id":229672,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:31:48] local.INFO: Processing buffer {"connection_id":229672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:31:48] local.INFO: Packet analysis {"connection_id":229672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:31:48] local.INFO: Extracted packet for processing {"connection_id":229672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:31:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:31:48] 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-11-04 21:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:31: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-11-04 21:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:31:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":229672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:31:48] local.INFO: GPS data processed {"connection_id":229672,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:31:48] local.INFO: Acknowledgment sent {"connection_id":229672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:32:06] local.INFO: TCP Data received {"connection_id":232844,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:32:06] local.INFO: Processing buffer {"connection_id":232844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:32:06] local.INFO: IMEI packet received {"connection_id":232844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":232844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:32:11] local.INFO: TCP Data received {"connection_id":232844,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:32:11] local.INFO: Processing buffer {"connection_id":232844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:32:11] local.INFO: IMEI packet received {"connection_id":232844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":232844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:32:12] local.INFO: TCP Data received {"connection_id":232844,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:32:12] local.INFO: Processing buffer {"connection_id":232844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:32:12] local.INFO: Packet analysis {"connection_id":232844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:32:12] local.INFO: Extracted packet for processing {"connection_id":232844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:32:12] 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-11-04 21:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:32: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-11-04 21: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-11-04 21:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:32:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":232844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:32:12] local.INFO: GPS data processed {"connection_id":232844,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:32:12] local.INFO: Acknowledgment sent {"connection_id":232844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:32:43] local.INFO: TCP Data received {"connection_id":232844,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:32:43] local.INFO: Processing buffer {"connection_id":232844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:32:43] local.INFO: Packet analysis {"connection_id":232844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:32:43] local.INFO: Extracted packet for processing {"connection_id":232844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:32:43] 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-11-04 21:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:32: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-11-04 21: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-11-04 21:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:32:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:32:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":232844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:32:43] local.INFO: GPS data processed {"connection_id":232844,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:32:43] local.INFO: Acknowledgment sent {"connection_id":232844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:33:05] local.INFO: TCP Data received {"connection_id":229185,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:33:05] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:33:05] local.INFO: IMEI packet received {"connection_id":229185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":229185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:33:11] local.INFO: TCP Data received {"connection_id":229185,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:33:11] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:33:11] local.INFO: IMEI packet received {"connection_id":229185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":229185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:33:12] local.INFO: TCP Data received {"connection_id":229185,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:33:12] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:33:12] local.INFO: Packet analysis {"connection_id":229185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:33:12] local.INFO: Extracted packet for processing {"connection_id":229185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:33:12] 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-11-04 21:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:33: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-11-04 21: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-11-04 21:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:33:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":229185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:33:12] local.INFO: GPS data processed {"connection_id":229185,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:33:12] local.INFO: Acknowledgment sent {"connection_id":229185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:33:44] local.INFO: TCP Data received {"connection_id":229185,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:33:44] local.INFO: Processing buffer {"connection_id":229185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:33:44] local.INFO: Packet analysis {"connection_id":229185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:33:44] local.INFO: Extracted packet for processing {"connection_id":229185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:33:44] 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-11-04 21:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:33:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:33:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":229185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:33:44] local.INFO: GPS data processed {"connection_id":229185,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:33:44] local.INFO: Acknowledgment sent {"connection_id":229185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:34:05] local.INFO: TCP Data received {"connection_id":230975,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:34:05] local.INFO: Processing buffer {"connection_id":230975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:34:05] local.INFO: IMEI packet received {"connection_id":230975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":230975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:34:11] local.INFO: TCP Data received {"connection_id":230975,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:34:11] local.INFO: Processing buffer {"connection_id":230975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:34:11] local.INFO: IMEI packet received {"connection_id":230975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":230975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:34:12] local.INFO: TCP Data received {"connection_id":230975,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:34:12] local.INFO: Processing buffer {"connection_id":230975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:34:12] local.INFO: Packet analysis {"connection_id":230975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:34:12] local.INFO: Extracted packet for processing {"connection_id":230975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:34:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:34:12] 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-11-04 21:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:34: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-11-04 21: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-11-04 21:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:34:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":230975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:34:12] local.INFO: GPS data processed {"connection_id":230975,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:34:12] local.INFO: Acknowledgment sent {"connection_id":230975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:34:32] local.INFO: TCP Data received {"connection_id":230976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:34:32] local.INFO: Processing buffer {"connection_id":230976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:34:32] local.INFO: IMEI packet received {"connection_id":230976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":230976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:34:44] local.INFO: TCP Data received {"connection_id":230975,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:34:44] local.INFO: Processing buffer {"connection_id":230975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:34:44] local.INFO: Packet analysis {"connection_id":230975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:34:44] local.INFO: Extracted packet for processing {"connection_id":230975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:34:44] 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-11-04 21:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:34:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":230975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:34:44] local.INFO: GPS data processed {"connection_id":230975,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:34:44] local.INFO: Acknowledgment sent {"connection_id":230975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:35:08] local.INFO: TCP Data received {"connection_id":229186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:35:08] local.INFO: Processing buffer {"connection_id":229186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:35:08] local.INFO: IMEI packet received {"connection_id":229186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":229186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:35:11] local.INFO: TCP Data received {"connection_id":229673,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:35:11] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:35:11] local.INFO: IMEI packet received {"connection_id":229673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":229673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:35:15] local.INFO: TCP Data received {"connection_id":229673,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:35:15] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:35:15] local.INFO: IMEI packet received {"connection_id":229673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":229673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:35:16] local.INFO: TCP Data received {"connection_id":229673,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:35:16] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:35:16] local.INFO: Packet analysis {"connection_id":229673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:35:16] local.INFO: Extracted packet for processing {"connection_id":229673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:35:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:35:16] 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-11-04 21:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:35: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-11-04 21: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-11-04 21:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:35:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:35:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":229673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:35:16] local.INFO: GPS data processed {"connection_id":229673,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:35:16] local.INFO: Acknowledgment sent {"connection_id":229673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:35:21] local.INFO: TCP Data received {"connection_id":229673,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:35:21] local.INFO: Processing buffer {"connection_id":229673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a749dc30012d34c14006aa4118000a010127..."} 
[2026-11-04 21:35:21] local.INFO: Packet analysis {"connection_id":229673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:35:21] local.INFO: Extracted packet for processing {"connection_id":229673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a749"} 
[2026-11-04 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214770432001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:35:21] 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-11-04 21:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793807998000,"timestamp_ms":1793807998000,"timestamp_seconds":1793807998,"priority":1,"record_length":96,"hex_timestamp":"000001a1a749dc30"} 
[2026-11-04 21:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":118,"data_length":795,"current_offset":136} 
[2026-11-04 21:35: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-11-04 21: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-11-04 21:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214770432001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214770432001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:35:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214770432001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":229673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:35:21] local.INFO: GPS data processed {"connection_id":229673,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:35:21] local.INFO: Acknowledgment sent {"connection_id":229673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:36:06] local.INFO: TCP Data received {"connection_id":229674,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:36:06] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:36:06] local.INFO: IMEI packet received {"connection_id":229674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":229674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:36:11] local.INFO: TCP Data received {"connection_id":229674,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:36:11] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:36:11] local.INFO: IMEI packet received {"connection_id":229674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":229674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:36:12] local.INFO: TCP Data received {"connection_id":229674,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:36:12] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:36:12] local.INFO: Packet analysis {"connection_id":229674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:36:12] local.INFO: Extracted packet for processing {"connection_id":229674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:36:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:36:12] 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-11-04 21:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:36: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-11-04 21:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:36:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":229674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:36:12] local.INFO: GPS data processed {"connection_id":229674,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:36:12] local.INFO: Acknowledgment sent {"connection_id":229674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:36:43] local.INFO: TCP Data received {"connection_id":229674,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:36:43] local.INFO: Processing buffer {"connection_id":229674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:36:43] local.INFO: Packet analysis {"connection_id":229674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:36:43] local.INFO: Extracted packet for processing {"connection_id":229674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:36:43] 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-11-04 21:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:36:43] 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-11-04 21: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-11-04 21:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:36:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":229674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:36:43] local.INFO: GPS data processed {"connection_id":229674,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:36:43] local.INFO: Acknowledgment sent {"connection_id":229674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:37:05] local.INFO: TCP Data received {"connection_id":232845,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:37:05] local.INFO: Processing buffer {"connection_id":232845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:37:05] local.INFO: IMEI packet received {"connection_id":232845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":232845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:37:11] local.INFO: TCP Data received {"connection_id":232845,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:37:11] local.INFO: Processing buffer {"connection_id":232845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:37:11] local.INFO: IMEI packet received {"connection_id":232845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":232845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:37:13] local.INFO: TCP Data received {"connection_id":232845,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:37:13] local.INFO: Processing buffer {"connection_id":232845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:37:13] local.INFO: Packet analysis {"connection_id":232845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:37:13] local.INFO: Extracted packet for processing {"connection_id":232845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:37:13] 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-11-04 21:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:37: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-11-04 21:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:37:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:37:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":232845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:37:13] local.INFO: GPS data processed {"connection_id":232845,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:37:13] local.INFO: Acknowledgment sent {"connection_id":232845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:37:44] local.INFO: TCP Data received {"connection_id":232845,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:37:44] local.INFO: Processing buffer {"connection_id":232845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:37:44] local.INFO: Packet analysis {"connection_id":232845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:37:44] local.INFO: Extracted packet for processing {"connection_id":232845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:37:44] 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-11-04 21:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:37: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-11-04 21:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:37:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":232845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:37:44] local.INFO: GPS data processed {"connection_id":232845,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:37:44] local.INFO: Acknowledgment sent {"connection_id":232845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:38:05] local.INFO: TCP Data received {"connection_id":229188,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:38:05] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:38:05] local.INFO: IMEI packet received {"connection_id":229188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":229188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:38:11] local.INFO: TCP Data received {"connection_id":229188,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:38:11] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:38:11] local.INFO: IMEI packet received {"connection_id":229188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":229188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:38:12] local.INFO: TCP Data received {"connection_id":229188,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:38:12] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:38:12] local.INFO: Packet analysis {"connection_id":229188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:38:12] local.INFO: Extracted packet for processing {"connection_id":229188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:38:12] 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-11-04 21:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:38: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-11-04 21: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-11-04 21:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:38:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":229188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:38:12] local.INFO: GPS data processed {"connection_id":229188,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:38:12] local.INFO: Acknowledgment sent {"connection_id":229188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:38:43] local.INFO: TCP Data received {"connection_id":229188,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:38:43] local.INFO: Processing buffer {"connection_id":229188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:38:43] local.INFO: Packet analysis {"connection_id":229188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:38:43] local.INFO: Extracted packet for processing {"connection_id":229188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:38:43] 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-11-04 21:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:38:43] 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-11-04 21: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-11-04 21:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:38:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":229188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:38:43] local.INFO: GPS data processed {"connection_id":229188,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:38:43] local.INFO: Acknowledgment sent {"connection_id":229188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:39:05] local.INFO: TCP Data received {"connection_id":230978,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:39:05] local.INFO: Processing buffer {"connection_id":230978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:39:05] local.INFO: IMEI packet received {"connection_id":230978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":230978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:39:11] local.INFO: TCP Data received {"connection_id":230978,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:39:11] local.INFO: Processing buffer {"connection_id":230978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:39:11] local.INFO: IMEI packet received {"connection_id":230978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":230978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:39:12] local.INFO: TCP Data received {"connection_id":230978,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:39:12] local.INFO: Processing buffer {"connection_id":230978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:39:12] local.INFO: Packet analysis {"connection_id":230978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:39:12] local.INFO: Extracted packet for processing {"connection_id":230978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:39:12] 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-11-04 21:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:39: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-11-04 21: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-11-04 21:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:39:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":230978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:39:12] local.INFO: GPS data processed {"connection_id":230978,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:39:12] local.INFO: Acknowledgment sent {"connection_id":230978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:39:43] local.INFO: TCP Data received {"connection_id":230978,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:39:43] local.INFO: Processing buffer {"connection_id":230978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:39:43] local.INFO: Packet analysis {"connection_id":230978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:39:43] local.INFO: Extracted packet for processing {"connection_id":230978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:39:43] 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-11-04 21:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:39:43] 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-11-04 21: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-11-04 21:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:39:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":230978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:39:43] local.INFO: GPS data processed {"connection_id":230978,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:39:43] local.INFO: Acknowledgment sent {"connection_id":230978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:40:11] local.INFO: TCP Data received {"connection_id":229189,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:40:11] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:40:11] local.INFO: IMEI packet received {"connection_id":229189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":229189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:40:16] local.INFO: TCP Data received {"connection_id":229189,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:40:16] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:40:16] local.INFO: IMEI packet received {"connection_id":229189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":229189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:40:17] local.INFO: TCP Data received {"connection_id":229189,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:40:17] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:40:17] local.INFO: Packet analysis {"connection_id":229189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:40:17] local.INFO: Extracted packet for processing {"connection_id":229189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:40:17] 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-11-04 21:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:40: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-11-04 21:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:40:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":229189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:40:17] local.INFO: GPS data processed {"connection_id":229189,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:40:17] local.INFO: Acknowledgment sent {"connection_id":229189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:40:18] local.INFO: TCP Data received {"connection_id":232847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:40:18] local.INFO: Processing buffer {"connection_id":232847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:40:18] local.INFO: IMEI packet received {"connection_id":232847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":232847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:40:21] local.INFO: TCP Data received {"connection_id":229189,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:40:21] local.INFO: Processing buffer {"connection_id":229189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a74e73f8012d34c14006aa4118000a010127..."} 
[2026-11-04 21:40:21] local.INFO: Packet analysis {"connection_id":229189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:40:21] local.INFO: Extracted packet for processing {"connection_id":229189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a74e"} 
[2026-11-04 21:40:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214847488001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:40:21] 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-11-04 21:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793808299000,"timestamp_ms":1793808299000,"timestamp_seconds":1793808299,"priority":1,"record_length":96,"hex_timestamp":"000001a1a74e73f8"} 
[2026-11-04 21:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:40: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-11-04 21:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214847488001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214847488001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:40:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:40:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214847488001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":229189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:40:21] local.INFO: GPS data processed {"connection_id":229189,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:40:21] local.INFO: Acknowledgment sent {"connection_id":229189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:41:06] local.INFO: TCP Data received {"connection_id":229676,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:41:06] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:41:06] local.INFO: IMEI packet received {"connection_id":229676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":229676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:41:11] local.INFO: TCP Data received {"connection_id":229676,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:41:11] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:41:11] local.INFO: IMEI packet received {"connection_id":229676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":229676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:41:12] local.INFO: TCP Data received {"connection_id":229676,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:41:12] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:41:12] local.INFO: Packet analysis {"connection_id":229676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:41:12] local.INFO: Extracted packet for processing {"connection_id":229676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:41:12] 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-11-04 21:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:41: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-11-04 21:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:41:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":229676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:41:12] local.INFO: GPS data processed {"connection_id":229676,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:41:12] local.INFO: Acknowledgment sent {"connection_id":229676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:41:43] local.INFO: TCP Data received {"connection_id":229676,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:41:43] local.INFO: Processing buffer {"connection_id":229676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:41:43] local.INFO: Packet analysis {"connection_id":229676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:41:43] local.INFO: Extracted packet for processing {"connection_id":229676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:41:43] 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-11-04 21:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:41:43] 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-11-04 21: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-11-04 21:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:41:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:41:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":229676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:41:43] local.INFO: GPS data processed {"connection_id":229676,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:41:43] local.INFO: Acknowledgment sent {"connection_id":229676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:42:05] local.INFO: TCP Data received {"connection_id":232849,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:42:05] local.INFO: Processing buffer {"connection_id":232849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:42:05] local.INFO: IMEI packet received {"connection_id":232849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":232849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:42:11] local.INFO: TCP Data received {"connection_id":232849,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:42:11] local.INFO: Processing buffer {"connection_id":232849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:42:11] local.INFO: IMEI packet received {"connection_id":232849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":232849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:42:11] local.INFO: TCP Data received {"connection_id":232849,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:42:11] local.INFO: Processing buffer {"connection_id":232849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:42:11] local.INFO: Packet analysis {"connection_id":232849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:42:11] local.INFO: Extracted packet for processing {"connection_id":232849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:42:11] 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-11-04 21:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:42:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":232849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:42:11] local.INFO: GPS data processed {"connection_id":232849,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:42:11] local.INFO: Acknowledgment sent {"connection_id":232849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:42:43] local.INFO: TCP Data received {"connection_id":232849,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:42:43] local.INFO: Processing buffer {"connection_id":232849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:42:43] local.INFO: Packet analysis {"connection_id":232849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:42:43] local.INFO: Extracted packet for processing {"connection_id":232849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:42:43] 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-11-04 21:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:42:43] 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-11-04 21: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-11-04 21:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":232849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:42:43] local.INFO: GPS data processed {"connection_id":232849,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:42:43] local.INFO: Acknowledgment sent {"connection_id":232849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:43:05] local.INFO: TCP Data received {"connection_id":229677,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:43:05] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:43:05] local.INFO: IMEI packet received {"connection_id":229677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":229677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:43:11] local.INFO: TCP Data received {"connection_id":229677,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:43:11] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:43:11] local.INFO: IMEI packet received {"connection_id":229677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":229677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:43:12] local.INFO: TCP Data received {"connection_id":229677,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:43:12] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:43:12] local.INFO: Packet analysis {"connection_id":229677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:43:12] local.INFO: Extracted packet for processing {"connection_id":229677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:43:12] 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-11-04 21:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:43: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-11-04 21:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:43:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":229677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:43:12] local.INFO: GPS data processed {"connection_id":229677,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:43:12] local.INFO: Acknowledgment sent {"connection_id":229677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:43:43] local.INFO: TCP Data received {"connection_id":229677,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:43:43] local.INFO: Processing buffer {"connection_id":229677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:43:43] local.INFO: Packet analysis {"connection_id":229677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:43:43] local.INFO: Extracted packet for processing {"connection_id":229677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:43:43] 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-11-04 21:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:43:43] 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-11-04 21:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:43:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":229677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:43:43] local.INFO: GPS data processed {"connection_id":229677,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:43:43] local.INFO: Acknowledgment sent {"connection_id":229677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:44:05] local.INFO: TCP Data received {"connection_id":232850,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:44:05] local.INFO: Processing buffer {"connection_id":232850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:44:05] local.INFO: IMEI packet received {"connection_id":232850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":232850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:44:11] local.INFO: TCP Data received {"connection_id":232850,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:44:11] local.INFO: Processing buffer {"connection_id":232850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:44:11] local.INFO: IMEI packet received {"connection_id":232850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":232850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:44:12] local.INFO: TCP Data received {"connection_id":232850,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:44:12] local.INFO: Processing buffer {"connection_id":232850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:44:12] local.INFO: Packet analysis {"connection_id":232850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:44:12] local.INFO: Extracted packet for processing {"connection_id":232850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:44:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:44:12] 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-11-04 21:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:44: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-11-04 21: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-11-04 21:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:44:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":232850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:44:12] local.INFO: GPS data processed {"connection_id":232850,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:44:12] local.INFO: Acknowledgment sent {"connection_id":232850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:44:43] local.INFO: TCP Data received {"connection_id":232850,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:44:43] local.INFO: Processing buffer {"connection_id":232850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:44:43] local.INFO: Packet analysis {"connection_id":232850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:44:43] local.INFO: Extracted packet for processing {"connection_id":232850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:44:43] 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-11-04 21:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:44:43] 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-11-04 21: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-11-04 21:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:44:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":232850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:44:43] local.INFO: GPS data processed {"connection_id":232850,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:44:43] local.INFO: Acknowledgment sent {"connection_id":232850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:45:11] local.INFO: TCP Data received {"connection_id":232851,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:45:11] local.INFO: Processing buffer {"connection_id":232851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:45:11] local.INFO: IMEI packet received {"connection_id":232851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":232851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:45:15] local.INFO: TCP Data received {"connection_id":232851,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:45:15] local.INFO: Processing buffer {"connection_id":232851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:45:15] local.INFO: IMEI packet received {"connection_id":232851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":232851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:45:17] local.INFO: TCP Data received {"connection_id":232851,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:45:17] local.INFO: Processing buffer {"connection_id":232851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:45:17] local.INFO: Packet analysis {"connection_id":232851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:45:17] local.INFO: Extracted packet for processing {"connection_id":232851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:45:17] 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-11-04 21:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:45: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-11-04 21: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-11-04 21:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:45:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":232851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:45:17] local.INFO: GPS data processed {"connection_id":232851,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:45:17] local.INFO: Acknowledgment sent {"connection_id":232851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:45:21] local.INFO: TCP Data received {"connection_id":232851,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:45:21] local.INFO: Processing buffer {"connection_id":232851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7530bc0012d34c14006aa4118000a010128..."} 
[2026-11-04 21:45:21] local.INFO: Packet analysis {"connection_id":232851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:45:21] local.INFO: Extracted packet for processing {"connection_id":232851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a753"} 
[2026-11-04 21:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459214924544001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:45:21] 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-11-04 21:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793808600000,"timestamp_ms":1793808600000,"timestamp_seconds":1793808600,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7530bc0"} 
[2026-11-04 21:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:45: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-11-04 21: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-11-04 21:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459214924544001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459214924544001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:45:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:45:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459214924544001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":232851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:45:21] local.INFO: GPS data processed {"connection_id":232851,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:45:21] local.INFO: Acknowledgment sent {"connection_id":232851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:46:06] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:46:06] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:46:06] local.INFO: IMEI packet received {"connection_id":229191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":229191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:46:07] local.INFO: TCP Data received {"connection_id":229192,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:46:07] local.INFO: Processing buffer {"connection_id":229192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:46:07] local.INFO: IMEI packet received {"connection_id":229192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":229192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:46:11] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:46:11] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:46:11] local.INFO: IMEI packet received {"connection_id":229191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":229191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:46:12] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:46:12] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:46:12] local.INFO: Packet analysis {"connection_id":229191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:46:12] local.INFO: Extracted packet for processing {"connection_id":229191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:46:12] 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-11-04 21:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:46: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-11-04 21: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-11-04 21:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:46:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":229191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:46:12] local.INFO: GPS data processed {"connection_id":229191,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:46:12] local.INFO: Acknowledgment sent {"connection_id":229191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:46:43] local.INFO: TCP Data received {"connection_id":229191,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:46:43] local.INFO: Processing buffer {"connection_id":229191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:46:43] local.INFO: Packet analysis {"connection_id":229191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:46:43] local.INFO: Extracted packet for processing {"connection_id":229191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:46:43] 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-11-04 21:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:46:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:46: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-11-04 21: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-11-04 21:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:46:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":229191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:46:43] local.INFO: GPS data processed {"connection_id":229191,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:46:43] local.INFO: Acknowledgment sent {"connection_id":229191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:47:05] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:47:05] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:47:05] local.INFO: IMEI packet received {"connection_id":229193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":229193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:47:11] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:47:11] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:47:11] local.INFO: IMEI packet received {"connection_id":229193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":229193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:47:11] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:47:11] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:47:11] local.INFO: Packet analysis {"connection_id":229193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:47:11] local.INFO: Extracted packet for processing {"connection_id":229193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:47:11] 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-11-04 21:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:47: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-11-04 21:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:47:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":229193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:47:11] local.INFO: GPS data processed {"connection_id":229193,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:47:11] local.INFO: Acknowledgment sent {"connection_id":229193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:47:43] local.INFO: TCP Data received {"connection_id":229193,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:47:43] local.INFO: Processing buffer {"connection_id":229193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:47:43] local.INFO: Packet analysis {"connection_id":229193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:47:43] local.INFO: Extracted packet for processing {"connection_id":229193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:47:43] 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-11-04 21:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:47: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-11-04 21: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-11-04 21:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:47:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":229193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:47:43] local.INFO: GPS data processed {"connection_id":229193,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:47:43] local.INFO: Acknowledgment sent {"connection_id":229193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:48:05] local.INFO: TCP Data received {"connection_id":229681,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:48:05] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:48:05] local.INFO: IMEI packet received {"connection_id":229681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":229681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:48:11] local.INFO: TCP Data received {"connection_id":229681,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:48:11] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:48:11] local.INFO: IMEI packet received {"connection_id":229681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":229681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:48:11] local.INFO: TCP Data received {"connection_id":229681,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:48:12] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:48:12] local.INFO: Packet analysis {"connection_id":229681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:48:12] local.INFO: Extracted packet for processing {"connection_id":229681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:48:12] 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-11-04 21:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21: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-11-04 21: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-11-04 21:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:48:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":229681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:48:12] local.INFO: GPS data processed {"connection_id":229681,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:48:12] local.INFO: Acknowledgment sent {"connection_id":229681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:48:56] local.INFO: TCP Data received {"connection_id":229681,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:48:56] local.INFO: Processing buffer {"connection_id":229681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:48:56] local.INFO: Packet analysis {"connection_id":229681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:48:56] local.INFO: Extracted packet for processing {"connection_id":229681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 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-11-04 21:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:48:56] 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-11-04 21:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 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-11-04 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:48: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-11-04 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-11-04 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-11-04 21:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":229681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":229681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:48:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:48:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":229681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:48:56] local.INFO: GPS data processed {"connection_id":229681,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:48:56] local.INFO: Acknowledgment sent {"connection_id":229681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:49:05] local.INFO: TCP Data received {"connection_id":232852,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:49:05] local.INFO: Processing buffer {"connection_id":232852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:49:05] local.INFO: IMEI packet received {"connection_id":232852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":232852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:49:11] local.INFO: TCP Data received {"connection_id":232852,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:49:11] local.INFO: Processing buffer {"connection_id":232852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:49:11] local.INFO: IMEI packet received {"connection_id":232852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":232852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:49:12] local.INFO: TCP Data received {"connection_id":232852,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:49:12] local.INFO: Processing buffer {"connection_id":232852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:49:12] local.INFO: Packet analysis {"connection_id":232852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:49:12] local.INFO: Extracted packet for processing {"connection_id":232852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:49:12] 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-11-04 21:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:49: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-11-04 21: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-11-04 21:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:49:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":232852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:49:12] local.INFO: GPS data processed {"connection_id":232852,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:49:12] local.INFO: Acknowledgment sent {"connection_id":232852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:49:44] local.INFO: TCP Data received {"connection_id":232852,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:49:44] local.INFO: Processing buffer {"connection_id":232852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:49:44] local.INFO: Packet analysis {"connection_id":232852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:49:44] local.INFO: Extracted packet for processing {"connection_id":232852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:49:44] 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-11-04 21:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:49: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-11-04 21: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-11-04 21:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:49:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":232852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:49:44] local.INFO: GPS data processed {"connection_id":232852,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:49:44] local.INFO: Acknowledgment sent {"connection_id":232852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:50:11] local.INFO: TCP Data received {"connection_id":230981,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:50:11] local.INFO: Processing buffer {"connection_id":230981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:50:11] local.INFO: IMEI packet received {"connection_id":230981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":230981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:50:16] local.INFO: TCP Data received {"connection_id":230981,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:50:16] local.INFO: Processing buffer {"connection_id":230981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:50:16] local.INFO: IMEI packet received {"connection_id":230981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":230981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:50:17] local.INFO: TCP Data received {"connection_id":230981,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:50:17] local.INFO: Processing buffer {"connection_id":230981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:50:17] local.INFO: Packet analysis {"connection_id":230981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:50:17] local.INFO: Extracted packet for processing {"connection_id":230981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:50:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:50:17] 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-11-04 21:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:50: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-11-04 21:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:50:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:50:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":230981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:50:17] local.INFO: GPS data processed {"connection_id":230981,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:50:17] local.INFO: Acknowledgment sent {"connection_id":230981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:50:21] local.INFO: TCP Data received {"connection_id":230981,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:50:21] local.INFO: Processing buffer {"connection_id":230981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a757a388012d34c14006aa4118000a010127..."} 
[2026-11-04 21:50:21] local.INFO: Packet analysis {"connection_id":230981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:50:21] local.INFO: Extracted packet for processing {"connection_id":230981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a757"} 
[2026-11-04 21:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215001600001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:50:21] 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-11-04 21:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793808901000,"timestamp_ms":1793808901000,"timestamp_seconds":1793808901,"priority":1,"record_length":96,"hex_timestamp":"000001a1a757a388"} 
[2026-11-04 21:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:50: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-11-04 21: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-11-04 21:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215001600001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215001600001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:50:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:50:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215001600001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":230981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:50:21] local.INFO: GPS data processed {"connection_id":230981,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:50:21] local.INFO: Acknowledgment sent {"connection_id":230981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:51:26] local.INFO: TCP Data received {"connection_id":232855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:51:26] local.INFO: Processing buffer {"connection_id":232855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:51:26] local.INFO: IMEI packet received {"connection_id":232855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":232855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:52:15] local.INFO: TCP Data received {"connection_id":229194,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:52:15] local.INFO: Processing buffer {"connection_id":229194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:52:15] local.INFO: IMEI packet received {"connection_id":229194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":229194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:52:21] local.INFO: TCP Data received {"connection_id":229194,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:52:21] local.INFO: Processing buffer {"connection_id":229194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:52:21] local.INFO: IMEI packet received {"connection_id":229194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":229194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:52:22] local.INFO: TCP Data received {"connection_id":229194,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:52:22] local.INFO: Processing buffer {"connection_id":229194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:52:22] local.INFO: Packet analysis {"connection_id":229194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:52:22] local.INFO: Extracted packet for processing {"connection_id":229194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:52:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215078656001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:52:22] 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-11-04 21:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793809202000,"timestamp_ms":1793809202000,"timestamp_seconds":1793809202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a75c3b50"} 
[2026-11-04 21:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:52:22] 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-11-04 21: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-11-04 21:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":229194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":229194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":229194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215078656001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215078656001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:52:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:52:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215078656001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":229194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:52:22] local.INFO: GPS data processed {"connection_id":229194,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:52:22] local.INFO: Acknowledgment sent {"connection_id":229194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:53:05] local.INFO: TCP Data received {"connection_id":232856,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:53:05] local.INFO: Processing buffer {"connection_id":232856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:53:05] local.INFO: IMEI packet received {"connection_id":232856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":232856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:53:11] local.INFO: TCP Data received {"connection_id":232856,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:53:11] local.INFO: Processing buffer {"connection_id":232856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:53:11] local.INFO: IMEI packet received {"connection_id":232856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":232856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:53:12] local.INFO: TCP Data received {"connection_id":232856,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:53:12] local.INFO: Processing buffer {"connection_id":232856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:53:12] local.INFO: Packet analysis {"connection_id":232856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:53:12] local.INFO: Extracted packet for processing {"connection_id":232856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215078656001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:53:12] 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-11-04 21:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793809202000,"timestamp_ms":1793809202000,"timestamp_seconds":1793809202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a75c3b50"} 
[2026-11-04 21:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21: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-11-04 21: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-11-04 21:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215078656001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215078656001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:53:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215078656001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":232856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:53:12] local.INFO: GPS data processed {"connection_id":232856,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:53:12] local.INFO: Acknowledgment sent {"connection_id":232856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:53:44] local.INFO: TCP Data received {"connection_id":232856,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:53:44] local.INFO: Processing buffer {"connection_id":232856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:53:44] local.INFO: Packet analysis {"connection_id":232856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:53:44] local.INFO: Extracted packet for processing {"connection_id":232856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215078656001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:53:44] 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-11-04 21:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793809202000,"timestamp_ms":1793809202000,"timestamp_seconds":1793809202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a75c3b50"} 
[2026-11-04 21:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:53: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-11-04 21: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-11-04 21:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215078656001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215078656001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:53:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:53:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215078656001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":232856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:53:44] local.INFO: GPS data processed {"connection_id":232856,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:53:44] local.INFO: Acknowledgment sent {"connection_id":232856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:54:05] local.INFO: TCP Data received {"connection_id":229684,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:54:05] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:54:05] local.INFO: IMEI packet received {"connection_id":229684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":229684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:54:11] local.INFO: TCP Data received {"connection_id":229684,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:54:11] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:54:11] local.INFO: IMEI packet received {"connection_id":229684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":229684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:54:12] local.INFO: TCP Data received {"connection_id":229684,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:54:12] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:54:12] local.INFO: Packet analysis {"connection_id":229684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:54:12] local.INFO: Extracted packet for processing {"connection_id":229684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215078656001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:54:12] 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-11-04 21:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793809202000,"timestamp_ms":1793809202000,"timestamp_seconds":1793809202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a75c3b50"} 
[2026-11-04 21:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:54: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-11-04 21: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-11-04 21:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215078656001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215078656001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:54:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215078656001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":229684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:54:12] local.INFO: GPS data processed {"connection_id":229684,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:54:12] local.INFO: Acknowledgment sent {"connection_id":229684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:54:43] local.INFO: TCP Data received {"connection_id":229684,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:54:43] local.INFO: Processing buffer {"connection_id":229684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:54:43] local.INFO: Packet analysis {"connection_id":229684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:54:43] local.INFO: Extracted packet for processing {"connection_id":229684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215078656001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:54:43] 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-11-04 21:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793809202000,"timestamp_ms":1793809202000,"timestamp_seconds":1793809202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a75c3b50"} 
[2026-11-04 21:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:54:43] 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-11-04 21: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-11-04 21:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215078656001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215078656001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:54:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215078656001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":229684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:54:43] local.INFO: GPS data processed {"connection_id":229684,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:54:43] local.INFO: Acknowledgment sent {"connection_id":229684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:55:11] local.INFO: TCP Data received {"connection_id":232858,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:55:11] local.INFO: Processing buffer {"connection_id":232858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:55:11] local.INFO: IMEI packet received {"connection_id":232858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":232858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:55:15] local.INFO: TCP Data received {"connection_id":232858,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:55:15] local.INFO: Processing buffer {"connection_id":232858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:55:15] local.INFO: IMEI packet received {"connection_id":232858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":232858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:55:16] local.INFO: TCP Data received {"connection_id":232858,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:55:16] local.INFO: Processing buffer {"connection_id":232858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:55:16] local.INFO: Packet analysis {"connection_id":232858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:55:16] local.INFO: Extracted packet for processing {"connection_id":232858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215078656001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:55:16] 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-11-04 21:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793809202000,"timestamp_ms":1793809202000,"timestamp_seconds":1793809202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a75c3b50"} 
[2026-11-04 21:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:55:16] 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-11-04 21:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215078656001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215078656001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:55:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:55:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215078656001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":232858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:55:16] local.INFO: GPS data processed {"connection_id":232858,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:55:16] local.INFO: Acknowledgment sent {"connection_id":232858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:55:21] local.INFO: TCP Data received {"connection_id":232858,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:55:21] local.INFO: Processing buffer {"connection_id":232858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a75c3b50012d34c14006aa4118000a010128..."} 
[2026-11-04 21:55:21] local.INFO: Packet analysis {"connection_id":232858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:55:21] local.INFO: Extracted packet for processing {"connection_id":232858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a75c"} 
[2026-11-04 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215078656001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:55:21] 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-11-04 21:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793809202000,"timestamp_ms":1793809202000,"timestamp_seconds":1793809202,"priority":1,"record_length":96,"hex_timestamp":"000001a1a75c3b50"} 
[2026-11-04 21:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 21:55: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-11-04 21:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215078656001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215078656001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:55:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:55:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215078656001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":232858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:55:21] local.INFO: GPS data processed {"connection_id":232858,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:55:21] local.INFO: Acknowledgment sent {"connection_id":232858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:56:05] local.INFO: TCP Data received {"connection_id":230983,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:56:05] local.INFO: Processing buffer {"connection_id":230983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:56:05] local.INFO: IMEI packet received {"connection_id":230983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":230983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:56:11] local.INFO: TCP Data received {"connection_id":230983,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:56:11] local.INFO: Processing buffer {"connection_id":230983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:56:11] local.INFO: IMEI packet received {"connection_id":230983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":230983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:56:11] local.INFO: TCP Data received {"connection_id":230983,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:56:11] local.INFO: Processing buffer {"connection_id":230983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:56:11] local.INFO: Packet analysis {"connection_id":230983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:56:11] local.INFO: Extracted packet for processing {"connection_id":230983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:11] 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-11-04 21:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:56:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":230983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:56:11] local.INFO: GPS data processed {"connection_id":230983,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:56:11] local.INFO: Acknowledgment sent {"connection_id":230983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:56:37] local.INFO: TCP Data received {"connection_id":230984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:56:37] local.INFO: Processing buffer {"connection_id":230984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:56:37] local.INFO: IMEI packet received {"connection_id":230984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":230984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:56:43] local.INFO: TCP Data received {"connection_id":230983,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:56:43] local.INFO: Processing buffer {"connection_id":230983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:56:43] local.INFO: Packet analysis {"connection_id":230983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:56:43] local.INFO: Extracted packet for processing {"connection_id":230983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:43] 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-11-04 21:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:56: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-11-04 21: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-11-04 21:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:56:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":230983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:56:43] local.INFO: GPS data processed {"connection_id":230983,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:56:43] local.INFO: Acknowledgment sent {"connection_id":230983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:56:51] local.INFO: TCP Data received {"connection_id":232859,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232859,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:51] local.INFO: Processing buffer {"connection_id":232859,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:51] local.INFO: Packet analysis {"connection_id":232859,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56:51] local.INFO: Extracted packet for processing {"connection_id":232859,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56: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-11-04 21:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-11-04 21:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:51] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-11-04 21:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-11-04 21:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-11-04 21:56:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":232859,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-11-04 21:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":232859,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":232859,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":232859,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 21:56:51] local.INFO: GPS data processed {"connection_id":232859,"processed":0,"errors":0,"total":1} 
[2026-11-04 21:56:51] local.INFO: Acknowledgment sent {"connection_id":232859,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:56:51] local.INFO: TCP Data received {"connection_id":229196,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229196,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:51] local.INFO: Processing buffer {"connection_id":229196,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:51] local.INFO: Packet analysis {"connection_id":229196,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56:51] local.INFO: Extracted packet for processing {"connection_id":229196,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56: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-11-04 21:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-11-04 21:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:51] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-11-04 21:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-11-04 21:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-11-04 21:56:51] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":229196,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-11-04 21:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":229196,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":229196,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":229196,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 21:56:51] local.INFO: GPS data processed {"connection_id":229196,"processed":0,"errors":0,"total":1} 
[2026-11-04 21:56:51] local.INFO: Acknowledgment sent {"connection_id":229196,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:56:54] local.INFO: TCP Data received {"connection_id":229197,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229197,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:54] local.INFO: Processing buffer {"connection_id":229197,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:54] local.INFO: Packet analysis {"connection_id":229197,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56:54] local.INFO: Extracted packet for processing {"connection_id":229197,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56: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-11-04 21:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-11-04 21:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:54] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-11-04 21:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-11-04 21:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-11-04 21:56:54] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":229197,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-11-04 21:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":229197,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":229197,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":229197,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 21:56:54] local.INFO: GPS data processed {"connection_id":229197,"processed":0,"errors":0,"total":1} 
[2026-11-04 21:56:54] local.INFO: Acknowledgment sent {"connection_id":229197,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:56:54] local.INFO: TCP Data received {"connection_id":232860,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232860,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:54] local.INFO: Processing buffer {"connection_id":232860,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-11-04 21:56:54] local.INFO: Packet analysis {"connection_id":232860,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56:54] local.INFO: Extracted packet for processing {"connection_id":232860,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-11-04 21:56: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-11-04 21:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-11-04 21:56:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-11-04 21:56:54] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-11-04 21:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-11-04 21:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-11-04 21:56:54] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":232860,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-11-04 21:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":232860,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":232860,"device_imei":null,"avl_records_count":1} 
[2026-11-04 21:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":232860,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 21:56:54] local.INFO: GPS data processed {"connection_id":232860,"processed":0,"errors":0,"total":1} 
[2026-11-04 21:56:54] local.INFO: Acknowledgment sent {"connection_id":232860,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:57:05] local.INFO: TCP Data received {"connection_id":230985,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:57:05] local.INFO: Processing buffer {"connection_id":230985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:57:05] local.INFO: IMEI packet received {"connection_id":230985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":230985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:57:11] local.INFO: TCP Data received {"connection_id":230985,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:57:11] local.INFO: Processing buffer {"connection_id":230985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:57:11] local.INFO: IMEI packet received {"connection_id":230985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":230985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:57:11] local.INFO: TCP Data received {"connection_id":230985,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:57:11] local.INFO: Processing buffer {"connection_id":230985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:57:11] local.INFO: Packet analysis {"connection_id":230985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:57:11] local.INFO: Extracted packet for processing {"connection_id":230985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:57:11] 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-11-04 21:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:57:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":230985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:57:11] local.INFO: GPS data processed {"connection_id":230985,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:57:11] local.INFO: Acknowledgment sent {"connection_id":230985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:57:17] local.INFO: TCP Data received {"connection_id":230986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:57:17] local.INFO: Processing buffer {"connection_id":230986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 21:57:17] local.INFO: IMEI packet received {"connection_id":230986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 21:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":230986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:57:43] local.INFO: TCP Data received {"connection_id":230985,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:57:43] local.INFO: Processing buffer {"connection_id":230985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:57:43] local.INFO: Packet analysis {"connection_id":230985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:57:43] local.INFO: Extracted packet for processing {"connection_id":230985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:57:43] 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-11-04 21:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:57: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-11-04 21: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-11-04 21:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:57:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":230985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:57:43] local.INFO: GPS data processed {"connection_id":230985,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:57:43] local.INFO: Acknowledgment sent {"connection_id":230985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:58:05] local.INFO: TCP Data received {"connection_id":229685,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:58:05] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:58:05] local.INFO: IMEI packet received {"connection_id":229685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":229685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:58:11] local.INFO: TCP Data received {"connection_id":229685,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:58:11] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:58:11] local.INFO: IMEI packet received {"connection_id":229685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":229685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:58:12] local.INFO: TCP Data received {"connection_id":229685,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:58:12] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:58:12] local.INFO: Packet analysis {"connection_id":229685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:58:12] local.INFO: Extracted packet for processing {"connection_id":229685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:58:12] 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-11-04 21:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21: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-11-04 21:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:58:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":229685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:58:12] local.INFO: GPS data processed {"connection_id":229685,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:58:12] local.INFO: Acknowledgment sent {"connection_id":229685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:58:44] local.INFO: TCP Data received {"connection_id":229685,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:58:44] local.INFO: Processing buffer {"connection_id":229685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:58:44] local.INFO: Packet analysis {"connection_id":229685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:58:44] local.INFO: Extracted packet for processing {"connection_id":229685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 21:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:58:44] 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-11-04 21:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 21:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 21:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:58:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":229685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:58:44] local.INFO: GPS data processed {"connection_id":229685,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:58:44] local.INFO: Acknowledgment sent {"connection_id":229685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:59:11] local.INFO: TCP Data received {"connection_id":232861,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:59:11] local.INFO: Processing buffer {"connection_id":232861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:59:11] local.INFO: IMEI packet received {"connection_id":232861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 21:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":232861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 21:59:16] local.INFO: TCP Data received {"connection_id":232861,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:59:16] local.INFO: Processing buffer {"connection_id":232861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 21:59:16] local.INFO: IMEI packet received {"connection_id":232861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 21:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":232861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 21:59:16] local.INFO: TCP Data received {"connection_id":232861,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:59:16] local.INFO: Processing buffer {"connection_id":232861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:59:16] local.INFO: Packet analysis {"connection_id":232861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:59:16] local.INFO: Extracted packet for processing {"connection_id":232861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:59:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:59:16] 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-11-04 21:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:59: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-11-04 21: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-11-04 21:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:59:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:59:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":232861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:59:16] local.INFO: GPS data processed {"connection_id":232861,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:59:16] local.INFO: Acknowledgment sent {"connection_id":232861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 21:59:21] local.INFO: TCP Data received {"connection_id":232861,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:59:21] local.INFO: Processing buffer {"connection_id":232861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 21:59:21] local.INFO: Packet analysis {"connection_id":232861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:59:21] local.INFO: Extracted packet for processing {"connection_id":232861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 21: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-11-04 21:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 21:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 21:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 21:59:21] 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-11-04 21:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 21:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 21: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 21:59: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-11-04 21: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-11-04 21:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 21:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 21:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 21:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 21:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 21:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 21:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 21:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 21:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 21:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 21:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 21:59:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 21:59:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 21:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 21:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 21:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 21:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":232861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 21:59:21] local.INFO: GPS data processed {"connection_id":232861,"processed":1,"errors":0,"total":1} 
[2026-11-04 21:59:21] local.INFO: Acknowledgment sent {"connection_id":232861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:00:06] local.INFO: TCP Data received {"connection_id":232862,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:00:06] local.INFO: Processing buffer {"connection_id":232862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:00:06] local.INFO: IMEI packet received {"connection_id":232862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":232862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:00:11] local.INFO: TCP Data received {"connection_id":232862,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:00:11] local.INFO: Processing buffer {"connection_id":232862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:00:11] local.INFO: IMEI packet received {"connection_id":232862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":232862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:00:11] local.INFO: TCP Data received {"connection_id":232862,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 22:00:11] local.INFO: Processing buffer {"connection_id":232862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 22:00:11] local.INFO: Packet analysis {"connection_id":232862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 22:00:11] local.INFO: Extracted packet for processing {"connection_id":232862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:00:11] 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-11-04 22:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 22:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:00:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":232862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:00:11] local.INFO: GPS data processed {"connection_id":232862,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:00:11] local.INFO: Acknowledgment sent {"connection_id":232862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:00:43] local.INFO: TCP Data received {"connection_id":232862,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 22:00:43] local.INFO: Processing buffer {"connection_id":232862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a760d318012d34c14006aa4118000a010129..."} 
[2026-11-04 22:00:43] local.INFO: Packet analysis {"connection_id":232862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 22:00:43] local.INFO: Extracted packet for processing {"connection_id":232862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a760"} 
[2026-11-04 22:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215155712001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:00:43] 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-11-04 22:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793809503000,"timestamp_ms":1793809503000,"timestamp_seconds":1793809503,"priority":1,"record_length":96,"hex_timestamp":"000001a1a760d318"} 
[2026-11-04 22:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:00: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-11-04 22: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-11-04 22:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215155712001,"66":25441,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215155712001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:00:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215155712001,"power":25441,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":232862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:00:43] local.INFO: GPS data processed {"connection_id":232862,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:00:43] local.INFO: Acknowledgment sent {"connection_id":232862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:01:05] local.INFO: TCP Data received {"connection_id":229198,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:01:05] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:01:05] local.INFO: IMEI packet received {"connection_id":229198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":229198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:01:10] local.INFO: TCP Data received {"connection_id":229198,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:01:10] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:01:10] local.INFO: IMEI packet received {"connection_id":229198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":229198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:01:11] local.INFO: TCP Data received {"connection_id":229198,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:01:11] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:01:11] local.INFO: Packet analysis {"connection_id":229198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:01:11] local.INFO: Extracted packet for processing {"connection_id":229198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:01:11] 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-11-04 22:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:01:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":229198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:01:11] local.INFO: GPS data processed {"connection_id":229198,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:01:11] local.INFO: Acknowledgment sent {"connection_id":229198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:01:42] local.INFO: TCP Data received {"connection_id":229198,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:01:42] local.INFO: Processing buffer {"connection_id":229198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:01:42] local.INFO: Packet analysis {"connection_id":229198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:01:42] local.INFO: Extracted packet for processing {"connection_id":229198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:01:42] 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-11-04 22:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:01:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":229198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:01:42] local.INFO: GPS data processed {"connection_id":229198,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:01:42] local.INFO: Acknowledgment sent {"connection_id":229198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:02:11] local.INFO: TCP Data received {"connection_id":232863,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:02:11] local.INFO: Processing buffer {"connection_id":232863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:02:11] local.INFO: IMEI packet received {"connection_id":232863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":232863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:02:16] local.INFO: TCP Data received {"connection_id":232863,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:02:16] local.INFO: Processing buffer {"connection_id":232863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:02:16] local.INFO: IMEI packet received {"connection_id":232863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":232863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:02:16] local.INFO: TCP Data received {"connection_id":232863,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:02:16] local.INFO: Processing buffer {"connection_id":232863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:02:16] local.INFO: Packet analysis {"connection_id":232863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:02:16] local.INFO: Extracted packet for processing {"connection_id":232863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:02:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:02:16] 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-11-04 22:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:02:16] 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-11-04 22:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:02:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:02:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":232863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:02:16] local.INFO: GPS data processed {"connection_id":232863,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:02:16] local.INFO: Acknowledgment sent {"connection_id":232863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:02:21] local.INFO: TCP Data received {"connection_id":232863,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:02:21] local.INFO: Processing buffer {"connection_id":232863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:02:21] local.INFO: Packet analysis {"connection_id":232863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:02:21] local.INFO: Extracted packet for processing {"connection_id":232863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:02:21] 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-11-04 22:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:02: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-11-04 22: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-11-04 22:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:02:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":232863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:02:21] local.INFO: GPS data processed {"connection_id":232863,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:02:21] local.INFO: Acknowledgment sent {"connection_id":232863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:02:37] local.INFO: TCP Data received {"connection_id":229687,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:02:37] local.INFO: Processing buffer {"connection_id":229687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:02:37] local.INFO: IMEI packet received {"connection_id":229687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":229687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:03:06] local.INFO: TCP Data received {"connection_id":230989,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:03:06] local.INFO: Processing buffer {"connection_id":230989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:03:06] local.INFO: IMEI packet received {"connection_id":230989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":230989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:03:11] local.INFO: TCP Data received {"connection_id":230989,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:03:11] local.INFO: Processing buffer {"connection_id":230989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:03:11] local.INFO: IMEI packet received {"connection_id":230989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":230989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:03:12] local.INFO: TCP Data received {"connection_id":230989,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:03:12] local.INFO: Processing buffer {"connection_id":230989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:03:12] local.INFO: Packet analysis {"connection_id":230989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:03:12] local.INFO: Extracted packet for processing {"connection_id":230989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:03:12] 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-11-04 22:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:03: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-11-04 22:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:03:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":230989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:03:12] local.INFO: GPS data processed {"connection_id":230989,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:03:12] local.INFO: Acknowledgment sent {"connection_id":230989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:03:12] local.INFO: TCP Data received {"connection_id":230990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:03:12] local.INFO: Processing buffer {"connection_id":230990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:03:12] local.INFO: IMEI packet received {"connection_id":230990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":230990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:03:43] local.INFO: TCP Data received {"connection_id":230989,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:03:43] local.INFO: Processing buffer {"connection_id":230989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:03:43] local.INFO: Packet analysis {"connection_id":230989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:03:43] local.INFO: Extracted packet for processing {"connection_id":230989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:03:43] 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-11-04 22:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:03:43] 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-11-04 22:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:03:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":230989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:03:43] local.INFO: GPS data processed {"connection_id":230989,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:03:43] local.INFO: Acknowledgment sent {"connection_id":230989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:04:05] local.INFO: TCP Data received {"connection_id":229688,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:04:05] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:04:05] local.INFO: IMEI packet received {"connection_id":229688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":229688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:04:11] local.INFO: TCP Data received {"connection_id":229688,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:04:11] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:04:11] local.INFO: IMEI packet received {"connection_id":229688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":229688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:04:12] local.INFO: TCP Data received {"connection_id":229688,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:04:12] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:04:12] local.INFO: Packet analysis {"connection_id":229688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:04:12] local.INFO: Extracted packet for processing {"connection_id":229688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:04:12] 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-11-04 22:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:04: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-11-04 22: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-11-04 22:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:04:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":229688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:04:12] local.INFO: GPS data processed {"connection_id":229688,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:04:12] local.INFO: Acknowledgment sent {"connection_id":229688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:04:43] local.INFO: TCP Data received {"connection_id":229688,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:04:43] local.INFO: Processing buffer {"connection_id":229688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:04:43] local.INFO: Packet analysis {"connection_id":229688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:04:43] local.INFO: Extracted packet for processing {"connection_id":229688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:04:43] 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-11-04 22:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:04:43] 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-11-04 22: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-11-04 22:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:04:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":229688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:04:43] local.INFO: GPS data processed {"connection_id":229688,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:04:43] local.INFO: Acknowledgment sent {"connection_id":229688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:05:05] local.INFO: TCP Data received {"connection_id":230991,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:05:05] local.INFO: Processing buffer {"connection_id":230991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:05:05] local.INFO: IMEI packet received {"connection_id":230991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":230991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:05:11] local.INFO: TCP Data received {"connection_id":230991,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:05:11] local.INFO: Processing buffer {"connection_id":230991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:05:11] local.INFO: IMEI packet received {"connection_id":230991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":230991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:05:11] local.INFO: TCP Data received {"connection_id":230991,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:05:11] local.INFO: Processing buffer {"connection_id":230991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:05:11] local.INFO: Packet analysis {"connection_id":230991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:05:11] local.INFO: Extracted packet for processing {"connection_id":230991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:05:11] 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-11-04 22:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:05:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":230991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:05:11] local.INFO: GPS data processed {"connection_id":230991,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:05:11] local.INFO: Acknowledgment sent {"connection_id":230991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:05:42] local.INFO: TCP Data received {"connection_id":230991,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:05:42] local.INFO: Processing buffer {"connection_id":230991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7656ae0012d34c14006aa4118000a010126..."} 
[2026-11-04 22:05:42] local.INFO: Packet analysis {"connection_id":230991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:05:42] local.INFO: Extracted packet for processing {"connection_id":230991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a765"} 
[2026-11-04 22:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215232768001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:05:42] 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-11-04 22:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793809804000,"timestamp_ms":1793809804000,"timestamp_seconds":1793809804,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7656ae0"} 
[2026-11-04 22:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-11-04 22:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":230991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":230991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":230991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215232768001,"66":25147,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215232768001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:05:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215232768001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":230991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:05:42] local.INFO: GPS data processed {"connection_id":230991,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:05:42] local.INFO: Acknowledgment sent {"connection_id":230991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:06:11] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:06:11] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:06:11] local.INFO: IMEI packet received {"connection_id":229689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":229689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:06:16] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:06:16] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:06:16] local.INFO: IMEI packet received {"connection_id":229689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":229689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:06:16] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:06:16] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:06:16] local.INFO: Packet analysis {"connection_id":229689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:06:16] local.INFO: Extracted packet for processing {"connection_id":229689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:06:16] 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-11-04 22:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:06:16] 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-11-04 22: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-11-04 22:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:06:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:06:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":229689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:06:16] local.INFO: GPS data processed {"connection_id":229689,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:06:16] local.INFO: Acknowledgment sent {"connection_id":229689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:06:21] local.INFO: TCP Data received {"connection_id":229689,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:06:21] local.INFO: Processing buffer {"connection_id":229689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:06:21] local.INFO: Packet analysis {"connection_id":229689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:06:21] local.INFO: Extracted packet for processing {"connection_id":229689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:06:21] 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-11-04 22:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:06:21] 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-11-04 22: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-11-04 22:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:06:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:06:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":229689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:06:21] local.INFO: GPS data processed {"connection_id":229689,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:06:21] local.INFO: Acknowledgment sent {"connection_id":229689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:07:06] local.INFO: TCP Data received {"connection_id":232865,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:07:06] local.INFO: Processing buffer {"connection_id":232865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:07:06] local.INFO: IMEI packet received {"connection_id":232865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":232865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:07:11] local.INFO: TCP Data received {"connection_id":232865,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:07:11] local.INFO: Processing buffer {"connection_id":232865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:07:11] local.INFO: IMEI packet received {"connection_id":232865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":232865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:07:12] local.INFO: TCP Data received {"connection_id":232865,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:07:12] local.INFO: Processing buffer {"connection_id":232865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:07:12] local.INFO: Packet analysis {"connection_id":232865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:07:12] local.INFO: Extracted packet for processing {"connection_id":232865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:07:12] 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-11-04 22:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:07:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":232865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:07:12] local.INFO: GPS data processed {"connection_id":232865,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:07:12] local.INFO: Acknowledgment sent {"connection_id":232865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:07:43] local.INFO: TCP Data received {"connection_id":232865,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:07:43] local.INFO: Processing buffer {"connection_id":232865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:07:43] local.INFO: Packet analysis {"connection_id":232865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:07:43] local.INFO: Extracted packet for processing {"connection_id":232865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:07:43] 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-11-04 22:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:07:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":232865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:07:43] local.INFO: GPS data processed {"connection_id":232865,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:07:43] local.INFO: Acknowledgment sent {"connection_id":232865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:08:05] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:08:05] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:08:05] local.INFO: IMEI packet received {"connection_id":229203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":229203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:08:11] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:08:11] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:08:11] local.INFO: IMEI packet received {"connection_id":229203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":229203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:08:11] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:08:11] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:08:11] local.INFO: Packet analysis {"connection_id":229203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:08:11] local.INFO: Extracted packet for processing {"connection_id":229203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:08:11] 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-11-04 22:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:08:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":229203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:08:11] local.INFO: GPS data processed {"connection_id":229203,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:08:11] local.INFO: Acknowledgment sent {"connection_id":229203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:08:32] local.INFO: TCP Data received {"connection_id":229204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:08:32] local.INFO: Processing buffer {"connection_id":229204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:08:32] local.INFO: IMEI packet received {"connection_id":229204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":229204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:08:44] local.INFO: TCP Data received {"connection_id":229203,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:08:44] local.INFO: Processing buffer {"connection_id":229203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:08:44] local.INFO: Packet analysis {"connection_id":229203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:08:44] local.INFO: Extracted packet for processing {"connection_id":229203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:08:44] 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-11-04 22:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:08:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:08:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":229203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:08:44] local.INFO: GPS data processed {"connection_id":229203,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:08:44] local.INFO: Acknowledgment sent {"connection_id":229203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:09:05] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:09:05] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:09:05] local.INFO: IMEI packet received {"connection_id":229205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":229205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:09:09] local.INFO: TCP Data received {"connection_id":229206,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:09:09] local.INFO: Processing buffer {"connection_id":229206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:09:09] local.INFO: IMEI packet received {"connection_id":229206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":229206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:09:11] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:09:11] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:09:11] local.INFO: IMEI packet received {"connection_id":229205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":229205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:09:17] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:09:17] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:09:17] local.INFO: Packet analysis {"connection_id":229205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:09:17] local.INFO: Extracted packet for processing {"connection_id":229205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:09:17] 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-11-04 22:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:09:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:09:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":229205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:09:17] local.INFO: GPS data processed {"connection_id":229205,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:09:17] local.INFO: Acknowledgment sent {"connection_id":229205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:09:49] local.INFO: TCP Data received {"connection_id":229205,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:09:49] local.INFO: Processing buffer {"connection_id":229205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:09:49] local.INFO: Packet analysis {"connection_id":229205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:09:49] local.INFO: Extracted packet for processing {"connection_id":229205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:09:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:09:49] 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-11-04 22:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:09: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-11-04 22: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-11-04 22:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":229205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":229205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":229205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:09:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:09:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":229205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:09:49] local.INFO: GPS data processed {"connection_id":229205,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:09:49] local.INFO: Acknowledgment sent {"connection_id":229205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:10:11] local.INFO: TCP Data received {"connection_id":230992,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:10:11] local.INFO: Processing buffer {"connection_id":230992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:10:11] local.INFO: IMEI packet received {"connection_id":230992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":230992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:10:16] local.INFO: TCP Data received {"connection_id":230992,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:10:16] local.INFO: Processing buffer {"connection_id":230992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:10:16] local.INFO: IMEI packet received {"connection_id":230992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":230992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:10:17] local.INFO: TCP Data received {"connection_id":230992,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:10:17] local.INFO: Processing buffer {"connection_id":230992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:10:17] local.INFO: Packet analysis {"connection_id":230992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:10:17] local.INFO: Extracted packet for processing {"connection_id":230992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:10:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:10:17] 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-11-04 22:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":230992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":230992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":230992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:10:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":230992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:10:17] local.INFO: GPS data processed {"connection_id":230992,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:10:17] local.INFO: Acknowledgment sent {"connection_id":230992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:10:21] local.INFO: TCP Data received {"connection_id":230992,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:10:21] local.INFO: Processing buffer {"connection_id":230992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76a02a8012d34c14006aa4118000a010127..."} 
[2026-11-04 22:10:21] local.INFO: Packet analysis {"connection_id":230992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:10:21] local.INFO: Extracted packet for processing {"connection_id":230992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76a"} 
[2026-11-04 22:10:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215309824001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:10:21] 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-11-04 22:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793810105000,"timestamp_ms":1793810105000,"timestamp_seconds":1793810105,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76a02a8"} 
[2026-11-04 22:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-11-04 22:10:21] 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-11-04 22:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":230992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":230992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":230992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215309824001,"66":25093,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215309824001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:10:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:10:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215309824001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":230992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:10:21] local.INFO: GPS data processed {"connection_id":230992,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:10:21] local.INFO: Acknowledgment sent {"connection_id":230992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:11:06] local.INFO: TCP Data received {"connection_id":229207,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:11:06] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:11:06] local.INFO: IMEI packet received {"connection_id":229207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":229207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:11:11] local.INFO: TCP Data received {"connection_id":229207,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:11:11] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:11:11] local.INFO: IMEI packet received {"connection_id":229207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":229207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:11:12] local.INFO: TCP Data received {"connection_id":229207,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:11:12] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:11:12] local.INFO: Packet analysis {"connection_id":229207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:11:12] local.INFO: Extracted packet for processing {"connection_id":229207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:11:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:11:12] local.INFO: GPS data processed {"connection_id":229207,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:11:12] local.INFO: Acknowledgment sent {"connection_id":229207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:11:44] local.INFO: TCP Data received {"connection_id":229207,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:11:44] local.INFO: Processing buffer {"connection_id":229207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:11:44] local.INFO: Packet analysis {"connection_id":229207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:11:44] local.INFO: Extracted packet for processing {"connection_id":229207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:11:44] 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-11-04 22: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-11-04 22:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:11:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:11:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":229207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:11:44] local.INFO: GPS data processed {"connection_id":229207,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:11:44] local.INFO: Acknowledgment sent {"connection_id":229207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:12:05] local.INFO: TCP Data received {"connection_id":230993,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:12:05] local.INFO: Processing buffer {"connection_id":230993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:12:05] local.INFO: IMEI packet received {"connection_id":230993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":230993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:12:11] local.INFO: TCP Data received {"connection_id":230993,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:12:11] local.INFO: Processing buffer {"connection_id":230993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:12:11] local.INFO: IMEI packet received {"connection_id":230993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":230993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:12:11] local.INFO: TCP Data received {"connection_id":230993,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:12:11] local.INFO: Processing buffer {"connection_id":230993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:12:11] local.INFO: Packet analysis {"connection_id":230993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:12:11] local.INFO: Extracted packet for processing {"connection_id":230993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:12:11] 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-11-04 22:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:12:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":230993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:12:11] local.INFO: GPS data processed {"connection_id":230993,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:12:11] local.INFO: Acknowledgment sent {"connection_id":230993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:12:43] local.INFO: TCP Data received {"connection_id":230993,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:12:43] local.INFO: Processing buffer {"connection_id":230993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:12:43] local.INFO: Packet analysis {"connection_id":230993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:12:43] local.INFO: Extracted packet for processing {"connection_id":230993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:12:43] 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-11-04 22: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-11-04 22:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":230993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:12:43] local.INFO: GPS data processed {"connection_id":230993,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:12:43] local.INFO: Acknowledgment sent {"connection_id":230993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:13:05] local.INFO: TCP Data received {"connection_id":232868,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:13:05] local.INFO: Processing buffer {"connection_id":232868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:13:05] local.INFO: IMEI packet received {"connection_id":232868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":232868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:13:11] local.INFO: TCP Data received {"connection_id":232868,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:13:11] local.INFO: Processing buffer {"connection_id":232868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:13:11] local.INFO: IMEI packet received {"connection_id":232868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":232868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:13:12] local.INFO: TCP Data received {"connection_id":232868,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:13:12] local.INFO: Processing buffer {"connection_id":232868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:13:12] local.INFO: Packet analysis {"connection_id":232868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:13:12] local.INFO: Extracted packet for processing {"connection_id":232868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:13:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":232868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:13:12] local.INFO: GPS data processed {"connection_id":232868,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:13:12] local.INFO: Acknowledgment sent {"connection_id":232868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:13:44] local.INFO: TCP Data received {"connection_id":232868,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:13:44] local.INFO: Processing buffer {"connection_id":232868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:13:44] local.INFO: Packet analysis {"connection_id":232868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:13:44] local.INFO: Extracted packet for processing {"connection_id":232868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:13:44] 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-11-04 22: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-11-04 22:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:13:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:13:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":232868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:13:44] local.INFO: GPS data processed {"connection_id":232868,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:13:44] local.INFO: Acknowledgment sent {"connection_id":232868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:14:05] local.INFO: TCP Data received {"connection_id":232870,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:14:05] local.INFO: Processing buffer {"connection_id":232870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:14:05] local.INFO: IMEI packet received {"connection_id":232870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":232870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:14:11] local.INFO: TCP Data received {"connection_id":232870,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:14:11] local.INFO: Processing buffer {"connection_id":232870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:14:11] local.INFO: IMEI packet received {"connection_id":232870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":232870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:14:11] local.INFO: TCP Data received {"connection_id":232870,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:14:11] local.INFO: Processing buffer {"connection_id":232870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:14:11] local.INFO: Packet analysis {"connection_id":232870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:14:11] local.INFO: Extracted packet for processing {"connection_id":232870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:14:11] 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-11-04 22:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":232870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:14:11] local.INFO: GPS data processed {"connection_id":232870,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:14:11] local.INFO: Acknowledgment sent {"connection_id":232870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:14:28] local.INFO: TCP Data received {"connection_id":229691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:14:28] local.INFO: Processing buffer {"connection_id":229691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:14:28] local.INFO: IMEI packet received {"connection_id":229691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":229691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:14:43] local.INFO: TCP Data received {"connection_id":232870,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:14:43] local.INFO: Processing buffer {"connection_id":232870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:14:43] local.INFO: Packet analysis {"connection_id":232870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:14:43] local.INFO: Extracted packet for processing {"connection_id":232870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:14:43] 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-11-04 22: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-11-04 22:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":232870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:14:43] local.INFO: GPS data processed {"connection_id":232870,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:14:43] local.INFO: Acknowledgment sent {"connection_id":232870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:15:07] local.INFO: TCP Data received {"connection_id":229208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:07] local.INFO: Processing buffer {"connection_id":229208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:07] local.INFO: IMEI packet received {"connection_id":229208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":229208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:15:11] local.INFO: TCP Data received {"connection_id":229209,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:15:11] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:15:11] local.INFO: IMEI packet received {"connection_id":229209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":229209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:15:13] local.INFO: TCP Data received {"connection_id":229208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:13] local.INFO: Processing buffer {"connection_id":229208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:13] local.INFO: IMEI packet received {"connection_id":229208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":229208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:15:16] local.INFO: TCP Data received {"connection_id":229209,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:15:16] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:15:16] local.INFO: IMEI packet received {"connection_id":229209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":229209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:15:16] local.INFO: TCP Data received {"connection_id":229209,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:15:16] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a76e9a70012d34c14006aa4118000a010129..."} 
[2026-11-04 22:15:16] local.INFO: Packet analysis {"connection_id":229209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:15:16] local.INFO: Extracted packet for processing {"connection_id":229209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a76e"} 
[2026-11-04 22:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215386880001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793810406000,"timestamp_ms":1793810406000,"timestamp_seconds":1793810406,"priority":1,"record_length":96,"hex_timestamp":"000001a1a76e9a70"} 
[2026-11-04 22:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-11-04 22:15:16] 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-11-04 22: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-11-04 22:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215386880001,"66":25419,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215386880001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:15:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215386880001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":229209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:15:16] local.INFO: GPS data processed {"connection_id":229209,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:15:16] local.INFO: Acknowledgment sent {"connection_id":229209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:15:22] local.INFO: TCP Data received {"connection_id":229208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:22] local.INFO: Processing buffer {"connection_id":229208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:15:22] local.INFO: IMEI packet received {"connection_id":229208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":229208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:15:48] local.INFO: TCP Data received {"connection_id":229209,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:15:48] local.INFO: Processing buffer {"connection_id":229209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:15:48] local.INFO: Packet analysis {"connection_id":229209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:15:48] local.INFO: Extracted packet for processing {"connection_id":229209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:15: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-11-04 22:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:15: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-11-04 22:15: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-11-04 22:15: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-11-04 22:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:15:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:15:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":229209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:15:48] local.INFO: GPS data processed {"connection_id":229209,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:15:48] local.INFO: Acknowledgment sent {"connection_id":229209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:16:05] local.INFO: TCP Data received {"connection_id":229692,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:16:05] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:16:05] local.INFO: IMEI packet received {"connection_id":229692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":229692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:16:11] local.INFO: TCP Data received {"connection_id":229692,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:16:11] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:16:11] local.INFO: IMEI packet received {"connection_id":229692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":229692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:16:11] local.INFO: TCP Data received {"connection_id":229692,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:16:11] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:16:11] local.INFO: Packet analysis {"connection_id":229692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:16:11] local.INFO: Extracted packet for processing {"connection_id":229692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":229692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:16:11] local.INFO: GPS data processed {"connection_id":229692,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:16:11] local.INFO: Acknowledgment sent {"connection_id":229692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:16:27] local.INFO: TCP Data received {"connection_id":232871,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:16:27] local.INFO: Processing buffer {"connection_id":232871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:16:27] local.INFO: IMEI packet received {"connection_id":232871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":232871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:16:43] local.INFO: TCP Data received {"connection_id":229692,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:16:43] local.INFO: Processing buffer {"connection_id":229692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:16:43] local.INFO: Packet analysis {"connection_id":229692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:16:43] local.INFO: Extracted packet for processing {"connection_id":229692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:16: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-11-04 22: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-11-04 22:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:16:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":229692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:16:43] local.INFO: GPS data processed {"connection_id":229692,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:16:43] local.INFO: Acknowledgment sent {"connection_id":229692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:17:05] local.INFO: TCP Data received {"connection_id":230996,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:17:05] local.INFO: Processing buffer {"connection_id":230996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:17:05] local.INFO: IMEI packet received {"connection_id":230996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":230996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:17:07] local.INFO: TCP Data received {"connection_id":232872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:17:07] local.INFO: Processing buffer {"connection_id":232872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:17:07] local.INFO: IMEI packet received {"connection_id":232872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":232872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:17:11] local.INFO: TCP Data received {"connection_id":230996,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:17:11] local.INFO: Processing buffer {"connection_id":230996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:17:11] local.INFO: IMEI packet received {"connection_id":230996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":230996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:17:12] local.INFO: TCP Data received {"connection_id":230996,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:17:12] local.INFO: Processing buffer {"connection_id":230996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:17:12] local.INFO: Packet analysis {"connection_id":230996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:17:12] local.INFO: Extracted packet for processing {"connection_id":230996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:17: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-11-04 22: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-11-04 22:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":230996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":230996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":230996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:17:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":230996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:17:12] local.INFO: GPS data processed {"connection_id":230996,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:17:12] local.INFO: Acknowledgment sent {"connection_id":230996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:17:44] local.INFO: TCP Data received {"connection_id":230996,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:17:44] local.INFO: Processing buffer {"connection_id":230996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:17:44] local.INFO: Packet analysis {"connection_id":230996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:17:44] local.INFO: Extracted packet for processing {"connection_id":230996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:17: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-11-04 22: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-11-04 22:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":230996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":230996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":230996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:17:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:17:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":230996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:17:44] local.INFO: GPS data processed {"connection_id":230996,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:17:44] local.INFO: Acknowledgment sent {"connection_id":230996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:18:11] local.INFO: TCP Data received {"connection_id":229693,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:18:11] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:18:11] local.INFO: IMEI packet received {"connection_id":229693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":229693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:18:16] local.INFO: TCP Data received {"connection_id":229693,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:18:16] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:18:16] local.INFO: IMEI packet received {"connection_id":229693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":229693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:18:17] local.INFO: TCP Data received {"connection_id":229693,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:18:17] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:18:17] local.INFO: Packet analysis {"connection_id":229693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:18:17] local.INFO: Extracted packet for processing {"connection_id":229693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:18:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:18: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-11-04 22: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-11-04 22:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:18:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":229693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:18:17] local.INFO: GPS data processed {"connection_id":229693,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:18:17] local.INFO: Acknowledgment sent {"connection_id":229693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:18:21] local.INFO: TCP Data received {"connection_id":229693,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:18:21] local.INFO: Processing buffer {"connection_id":229693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:18:21] local.INFO: Packet analysis {"connection_id":229693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:18:21] local.INFO: Extracted packet for processing {"connection_id":229693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:18: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-11-04 22:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:18:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":229693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:18:21] local.INFO: GPS data processed {"connection_id":229693,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:18:21] local.INFO: Acknowledgment sent {"connection_id":229693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:19:06] local.INFO: TCP Data received {"connection_id":232874,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:19:06] local.INFO: Processing buffer {"connection_id":232874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:19:06] local.INFO: IMEI packet received {"connection_id":232874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":232874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:19:11] local.INFO: TCP Data received {"connection_id":232874,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:19:11] local.INFO: Processing buffer {"connection_id":232874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:19:11] local.INFO: IMEI packet received {"connection_id":232874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":232874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:19:13] local.INFO: TCP Data received {"connection_id":232874,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:19:13] local.INFO: Processing buffer {"connection_id":232874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:19:13] local.INFO: Packet analysis {"connection_id":232874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:19:13] local.INFO: Extracted packet for processing {"connection_id":232874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:19: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-11-04 22:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:19:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:19:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":232874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:19:13] local.INFO: GPS data processed {"connection_id":232874,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:19:13] local.INFO: Acknowledgment sent {"connection_id":232874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:19:45] local.INFO: TCP Data received {"connection_id":232874,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:19:45] local.INFO: Processing buffer {"connection_id":232874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:19:45] local.INFO: Packet analysis {"connection_id":232874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:19:45] local.INFO: Extracted packet for processing {"connection_id":232874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:19: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-11-04 22: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-11-04 22:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:19:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":232874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:19:45] local.INFO: GPS data processed {"connection_id":232874,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:19:45] local.INFO: Acknowledgment sent {"connection_id":232874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:20:05] local.INFO: TCP Data received {"connection_id":230997,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:20:05] local.INFO: Processing buffer {"connection_id":230997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:20:05] local.INFO: IMEI packet received {"connection_id":230997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":230997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:20:10] local.INFO: TCP Data received {"connection_id":230997,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:20:11] local.INFO: Processing buffer {"connection_id":230997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:20:11] local.INFO: IMEI packet received {"connection_id":230997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":230997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:20:11] local.INFO: TCP Data received {"connection_id":230997,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:20:11] local.INFO: Processing buffer {"connection_id":230997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:20:11] local.INFO: Packet analysis {"connection_id":230997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:20:11] local.INFO: Extracted packet for processing {"connection_id":230997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":230997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":230997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":230997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:20:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":230997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:20:11] local.INFO: GPS data processed {"connection_id":230997,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:20:11] local.INFO: Acknowledgment sent {"connection_id":230997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:20:43] local.INFO: TCP Data received {"connection_id":230997,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":230997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:20:43] local.INFO: Processing buffer {"connection_id":230997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7733238012d34c14006aa4118000a010126..."} 
[2026-11-04 22:20:43] local.INFO: Packet analysis {"connection_id":230997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:20:43] local.INFO: Extracted packet for processing {"connection_id":230997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a773"} 
[2026-11-04 22:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215463936001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793810707000,"timestamp_ms":1793810707000,"timestamp_seconds":1793810707,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7733238"} 
[2026-11-04 22:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-11-04 22:20: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-11-04 22:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":230997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":230997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":230997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215463936001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215463936001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:20:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215463936001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":230997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:20:43] local.INFO: GPS data processed {"connection_id":230997,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:20:43] local.INFO: Acknowledgment sent {"connection_id":230997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:21:11] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:21:11] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:21:11] local.INFO: IMEI packet received {"connection_id":229211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":229211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:21:16] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:21:16] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:21:16] local.INFO: IMEI packet received {"connection_id":229211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":229211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:21:17] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:21:17] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:21:17] local.INFO: Packet analysis {"connection_id":229211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:21:17] local.INFO: Extracted packet for processing {"connection_id":229211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:21:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:21: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-11-04 22:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:21:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":229211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:21:17] local.INFO: GPS data processed {"connection_id":229211,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:21:17] local.INFO: Acknowledgment sent {"connection_id":229211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:21:21] local.INFO: TCP Data received {"connection_id":229211,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:21:21] local.INFO: Processing buffer {"connection_id":229211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:21:21] local.INFO: Packet analysis {"connection_id":229211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:21:21] local.INFO: Extracted packet for processing {"connection_id":229211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:21:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:21: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-11-04 22:21: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-11-04 22:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:21:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:21:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":229211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:21:21] local.INFO: GPS data processed {"connection_id":229211,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:21:21] local.INFO: Acknowledgment sent {"connection_id":229211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:22:06] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:22:06] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:22:06] local.INFO: IMEI packet received {"connection_id":229212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":229212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:22:11] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:22:11] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:22:11] local.INFO: IMEI packet received {"connection_id":229212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":229212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:22:12] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:22:12] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:22:12] local.INFO: Packet analysis {"connection_id":229212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:22:12] local.INFO: Extracted packet for processing {"connection_id":229212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:22:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":229212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:22:12] local.INFO: GPS data processed {"connection_id":229212,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:22:12] local.INFO: Acknowledgment sent {"connection_id":229212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:22:12] local.INFO: TCP Data received {"connection_id":229213,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:22:12] local.INFO: Processing buffer {"connection_id":229213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:22:12] local.INFO: IMEI packet received {"connection_id":229213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":229213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:22:43] local.INFO: TCP Data received {"connection_id":229212,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:22:43] local.INFO: Processing buffer {"connection_id":229212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:22:43] local.INFO: Packet analysis {"connection_id":229212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:22:43] local.INFO: Extracted packet for processing {"connection_id":229212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:22: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-11-04 22: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-11-04 22:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":229212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:22:43] local.INFO: GPS data processed {"connection_id":229212,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:22:43] local.INFO: Acknowledgment sent {"connection_id":229212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:23:11] local.INFO: TCP Data received {"connection_id":229694,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:23:11] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:23:11] local.INFO: IMEI packet received {"connection_id":229694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":229694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:23:16] local.INFO: TCP Data received {"connection_id":229694,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:23:16] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:23:16] local.INFO: IMEI packet received {"connection_id":229694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":229694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:23:17] local.INFO: TCP Data received {"connection_id":229694,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:23:17] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:23:17] local.INFO: Packet analysis {"connection_id":229694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:23:17] local.INFO: Extracted packet for processing {"connection_id":229694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:23: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-11-04 22:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:23:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":229694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:23:17] local.INFO: GPS data processed {"connection_id":229694,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:23:17] local.INFO: Acknowledgment sent {"connection_id":229694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:23:21] local.INFO: TCP Data received {"connection_id":229694,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:23:21] local.INFO: Processing buffer {"connection_id":229694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:23:21] local.INFO: Packet analysis {"connection_id":229694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:23:21] local.INFO: Extracted packet for processing {"connection_id":229694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:23: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-11-04 22: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-11-04 22:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:23:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:23:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":229694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:23:21] local.INFO: GPS data processed {"connection_id":229694,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:23:21] local.INFO: Acknowledgment sent {"connection_id":229694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:24:06] local.INFO: TCP Data received {"connection_id":231000,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:24:06] local.INFO: Processing buffer {"connection_id":231000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:24:06] local.INFO: IMEI packet received {"connection_id":231000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":231000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:24:11] local.INFO: TCP Data received {"connection_id":231000,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:24:11] local.INFO: Processing buffer {"connection_id":231000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:24:11] local.INFO: IMEI packet received {"connection_id":231000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":231000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:24:11] local.INFO: TCP Data received {"connection_id":231000,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:24:11] local.INFO: Processing buffer {"connection_id":231000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:24:11] local.INFO: Packet analysis {"connection_id":231000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:24:11] local.INFO: Extracted packet for processing {"connection_id":231000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:24: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-11-04 22: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-11-04 22:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":231000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:24:12] local.INFO: GPS data processed {"connection_id":231000,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:24:12] local.INFO: Acknowledgment sent {"connection_id":231000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:24:43] local.INFO: TCP Data received {"connection_id":231000,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:24:43] local.INFO: Processing buffer {"connection_id":231000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:24:43] local.INFO: Packet analysis {"connection_id":231000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:24:43] local.INFO: Extracted packet for processing {"connection_id":231000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:24: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-11-04 22: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-11-04 22:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:24:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":231000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:24:43] local.INFO: GPS data processed {"connection_id":231000,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:24:43] local.INFO: Acknowledgment sent {"connection_id":231000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:25:05] local.INFO: TCP Data received {"connection_id":232876,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:25:05] local.INFO: Processing buffer {"connection_id":232876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:25:05] local.INFO: IMEI packet received {"connection_id":232876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":232876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:25:11] local.INFO: TCP Data received {"connection_id":232876,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:25:11] local.INFO: Processing buffer {"connection_id":232876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:25:11] local.INFO: IMEI packet received {"connection_id":232876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":232876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:25:13] local.INFO: TCP Data received {"connection_id":232876,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:25:13] local.INFO: Processing buffer {"connection_id":232876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:25:13] local.INFO: Packet analysis {"connection_id":232876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:25:13] local.INFO: Extracted packet for processing {"connection_id":232876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:25: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-11-04 22: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-11-04 22:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:25:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":232876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:25:13] local.INFO: GPS data processed {"connection_id":232876,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:25:13] local.INFO: Acknowledgment sent {"connection_id":232876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:25:45] local.INFO: TCP Data received {"connection_id":232876,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:25:45] local.INFO: Processing buffer {"connection_id":232876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a777ca00012d34c14006aa4118000a010128..."} 
[2026-11-04 22:25:45] local.INFO: Packet analysis {"connection_id":232876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:25:45] local.INFO: Extracted packet for processing {"connection_id":232876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a777"} 
[2026-11-04 22:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215540992001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793811008000,"timestamp_ms":1793811008000,"timestamp_seconds":1793811008,"priority":1,"record_length":96,"hex_timestamp":"000001a1a777ca00"} 
[2026-11-04 22:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:25: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-11-04 22: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-11-04 22:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215540992001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215540992001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:25:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215540992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":232876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:25:45] local.INFO: GPS data processed {"connection_id":232876,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:25:45] local.INFO: Acknowledgment sent {"connection_id":232876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:26:05] local.INFO: TCP Data received {"connection_id":229696,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:26:05] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:26:05] local.INFO: IMEI packet received {"connection_id":229696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":229696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:26:11] local.INFO: TCP Data received {"connection_id":229696,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:26:11] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:26:11] local.INFO: IMEI packet received {"connection_id":229696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":229696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:26:11] local.INFO: TCP Data received {"connection_id":229696,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:26:11] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:26:11] local.INFO: Packet analysis {"connection_id":229696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:26:11] local.INFO: Extracted packet for processing {"connection_id":229696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":229696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:26:11] local.INFO: GPS data processed {"connection_id":229696,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:26:11] local.INFO: Acknowledgment sent {"connection_id":229696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:26:43] local.INFO: TCP Data received {"connection_id":229696,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:26:43] local.INFO: Processing buffer {"connection_id":229696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:26:43] local.INFO: Packet analysis {"connection_id":229696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:26:43] local.INFO: Extracted packet for processing {"connection_id":229696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:26:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:26:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:26:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":229696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:26:43] local.INFO: GPS data processed {"connection_id":229696,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:26:43] local.INFO: Acknowledgment sent {"connection_id":229696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:27:05] local.INFO: TCP Data received {"connection_id":229215,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:27:05] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:27:05] local.INFO: IMEI packet received {"connection_id":229215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":229215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:27:11] local.INFO: TCP Data received {"connection_id":229215,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:27:11] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:27:11] local.INFO: IMEI packet received {"connection_id":229215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":229215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:27:12] local.INFO: TCP Data received {"connection_id":229215,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:27:12] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:27:12] local.INFO: Packet analysis {"connection_id":229215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:27:12] local.INFO: Extracted packet for processing {"connection_id":229215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:27:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:27:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":229215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:27:12] local.INFO: GPS data processed {"connection_id":229215,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:27:12] local.INFO: Acknowledgment sent {"connection_id":229215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:27:43] local.INFO: TCP Data received {"connection_id":229215,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:27:43] local.INFO: Processing buffer {"connection_id":229215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:27:43] local.INFO: Packet analysis {"connection_id":229215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:27:43] local.INFO: Extracted packet for processing {"connection_id":229215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:27:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":229215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:27:43] local.INFO: GPS data processed {"connection_id":229215,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:27:43] local.INFO: Acknowledgment sent {"connection_id":229215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:27:47] local.INFO: TCP Data received {"connection_id":229216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:27:47] local.INFO: Processing buffer {"connection_id":229216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:27:47] local.INFO: IMEI packet received {"connection_id":229216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":229216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:28:07] local.INFO: TCP Data received {"connection_id":231002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:07] local.INFO: Processing buffer {"connection_id":231002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:07] local.INFO: IMEI packet received {"connection_id":231002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":231002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:28:10] local.INFO: TCP Data received {"connection_id":231003,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:28:10] local.INFO: Processing buffer {"connection_id":231003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:28:10] local.INFO: IMEI packet received {"connection_id":231003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":231003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:28:16] local.INFO: TCP Data received {"connection_id":231003,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:28:16] local.INFO: Processing buffer {"connection_id":231003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:28:16] local.INFO: IMEI packet received {"connection_id":231003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":231003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:28:16] local.INFO: TCP Data received {"connection_id":231003,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:28:16] local.INFO: Processing buffer {"connection_id":231003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:28:16] local.INFO: Packet analysis {"connection_id":231003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:28:16] local.INFO: Extracted packet for processing {"connection_id":231003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:28:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:28:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:28:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:28:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":231003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:28:16] local.INFO: GPS data processed {"connection_id":231003,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:28:16] local.INFO: Acknowledgment sent {"connection_id":231003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:28:20] local.INFO: TCP Data received {"connection_id":231002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:20] local.INFO: Processing buffer {"connection_id":231002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:20] local.INFO: IMEI packet received {"connection_id":231002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":231002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:28:21] local.INFO: TCP Data received {"connection_id":231002,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:21] local.INFO: Processing buffer {"connection_id":231002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:28:21] local.INFO: IMEI packet received {"connection_id":231002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":231002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:28:21] local.INFO: TCP Data received {"connection_id":231003,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:28:21] local.INFO: Processing buffer {"connection_id":231003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:28:21] local.INFO: Packet analysis {"connection_id":231003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:28:21] local.INFO: Extracted packet for processing {"connection_id":231003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:28:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:28:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:28:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":231003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:28:21] local.INFO: GPS data processed {"connection_id":231003,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:28:21] local.INFO: Acknowledgment sent {"connection_id":231003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:29:06] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:29:06] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:29:06] local.INFO: IMEI packet received {"connection_id":229217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":229217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:29:11] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:29:11] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:29:11] local.INFO: IMEI packet received {"connection_id":229217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":229217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:29:13] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:29:13] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:29:13] local.INFO: Packet analysis {"connection_id":229217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:29:13] local.INFO: Extracted packet for processing {"connection_id":229217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:29:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:29:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":229217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:29:13] local.INFO: GPS data processed {"connection_id":229217,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:29:13] local.INFO: Acknowledgment sent {"connection_id":229217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:29:45] local.INFO: TCP Data received {"connection_id":229217,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:29:45] local.INFO: Processing buffer {"connection_id":229217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:29:45] local.INFO: Packet analysis {"connection_id":229217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:29:45] local.INFO: Extracted packet for processing {"connection_id":229217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:29:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:29:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":229217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:29:45] local.INFO: GPS data processed {"connection_id":229217,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:29:45] local.INFO: Acknowledgment sent {"connection_id":229217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:30:05] local.INFO: TCP Data received {"connection_id":232877,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:30:05] local.INFO: Processing buffer {"connection_id":232877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:30:05] local.INFO: IMEI packet received {"connection_id":232877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":232877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:30:11] local.INFO: TCP Data received {"connection_id":232877,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:30:11] local.INFO: Processing buffer {"connection_id":232877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:30:11] local.INFO: IMEI packet received {"connection_id":232877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":232877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:30:13] local.INFO: TCP Data received {"connection_id":232877,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:30:13] local.INFO: Processing buffer {"connection_id":232877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:30:13] local.INFO: Packet analysis {"connection_id":232877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:30:13] local.INFO: Extracted packet for processing {"connection_id":232877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":232877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:30:13] local.INFO: GPS data processed {"connection_id":232877,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:30:13] local.INFO: Acknowledgment sent {"connection_id":232877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:30:44] local.INFO: TCP Data received {"connection_id":232877,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:30:44] local.INFO: Processing buffer {"connection_id":232877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a77c61c8012d34c14006aa4118000a010128..."} 
[2026-11-04 22:30:44] local.INFO: Packet analysis {"connection_id":232877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:30:44] local.INFO: Extracted packet for processing {"connection_id":232877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a77c"} 
[2026-11-04 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215618048001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793811309000,"timestamp_ms":1793811309000,"timestamp_seconds":1793811309,"priority":1,"record_length":96,"hex_timestamp":"000001a1a77c61c8"} 
[2026-11-04 22:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 22:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215618048001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215618048001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:30:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:30:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215618048001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":232877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:30:44] local.INFO: GPS data processed {"connection_id":232877,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:30:44] local.INFO: Acknowledgment sent {"connection_id":232877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:31:05] local.INFO: TCP Data received {"connection_id":232878,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:31:05] local.INFO: Processing buffer {"connection_id":232878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:31:05] local.INFO: IMEI packet received {"connection_id":232878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":232878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:31:11] local.INFO: TCP Data received {"connection_id":232878,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:31:11] local.INFO: Processing buffer {"connection_id":232878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:31:11] local.INFO: IMEI packet received {"connection_id":232878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":232878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:31:12] local.INFO: TCP Data received {"connection_id":232878,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:31:12] local.INFO: Processing buffer {"connection_id":232878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:31:12] local.INFO: Packet analysis {"connection_id":232878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:31:12] local.INFO: Extracted packet for processing {"connection_id":232878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:31:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":232878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:31:12] local.INFO: GPS data processed {"connection_id":232878,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:31:12] local.INFO: Acknowledgment sent {"connection_id":232878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:31:44] local.INFO: TCP Data received {"connection_id":232878,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:31:44] local.INFO: Processing buffer {"connection_id":232878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:31:44] local.INFO: Packet analysis {"connection_id":232878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:31:44] local.INFO: Extracted packet for processing {"connection_id":232878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:31:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:31:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":232878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:31:44] local.INFO: GPS data processed {"connection_id":232878,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:31:44] local.INFO: Acknowledgment sent {"connection_id":232878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:32:10] local.INFO: TCP Data received {"connection_id":229699,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:32:10] local.INFO: Processing buffer {"connection_id":229699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:32:10] local.INFO: IMEI packet received {"connection_id":229699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":229699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:32:15] local.INFO: TCP Data received {"connection_id":229699,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:32:15] local.INFO: Processing buffer {"connection_id":229699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:32:15] local.INFO: IMEI packet received {"connection_id":229699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":229699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:32:17] local.INFO: TCP Data received {"connection_id":229699,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:32:17] local.INFO: Processing buffer {"connection_id":229699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:32:17] local.INFO: Packet analysis {"connection_id":229699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:32:17] local.INFO: Extracted packet for processing {"connection_id":229699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:32:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:32: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-11-04 22:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:32:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":229699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:32:17] local.INFO: GPS data processed {"connection_id":229699,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:32:17] local.INFO: Acknowledgment sent {"connection_id":229699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:32:21] local.INFO: TCP Data received {"connection_id":229699,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:32:21] local.INFO: Processing buffer {"connection_id":229699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:32:21] local.INFO: Packet analysis {"connection_id":229699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:32:21] local.INFO: Extracted packet for processing {"connection_id":229699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:32:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:32:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":229699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:32:21] local.INFO: GPS data processed {"connection_id":229699,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:32:21] local.INFO: Acknowledgment sent {"connection_id":229699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:33:05] local.INFO: TCP Data received {"connection_id":229218,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:33:05] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:33:05] local.INFO: IMEI packet received {"connection_id":229218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":229218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:33:10] local.INFO: TCP Data received {"connection_id":229218,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:33:10] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:33:10] local.INFO: IMEI packet received {"connection_id":229218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":229218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:33:11] local.INFO: TCP Data received {"connection_id":229218,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:33:11] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:33:11] local.INFO: Packet analysis {"connection_id":229218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:33:11] local.INFO: Extracted packet for processing {"connection_id":229218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:33:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":229218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:33:11] local.INFO: GPS data processed {"connection_id":229218,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:33:11] local.INFO: Acknowledgment sent {"connection_id":229218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:33:22] local.INFO: TCP Data received {"connection_id":229219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:22] local.INFO: Processing buffer {"connection_id":229219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:22] local.INFO: IMEI packet received {"connection_id":229219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":229219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:33:29] local.INFO: TCP Data received {"connection_id":229219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:29] local.INFO: Processing buffer {"connection_id":229219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:29] local.INFO: IMEI packet received {"connection_id":229219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":229219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:33:32] local.INFO: TCP Data received {"connection_id":229219,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:32] local.INFO: Processing buffer {"connection_id":229219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:33:32] local.INFO: IMEI packet received {"connection_id":229219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":229219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:33:43] local.INFO: TCP Data received {"connection_id":229218,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:33:43] local.INFO: Processing buffer {"connection_id":229218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:33:43] local.INFO: Packet analysis {"connection_id":229218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:33:43] local.INFO: Extracted packet for processing {"connection_id":229218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:33: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-11-04 22: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-11-04 22:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:33:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":229218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:33:43] local.INFO: GPS data processed {"connection_id":229218,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:33:43] local.INFO: Acknowledgment sent {"connection_id":229218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:34:06] local.INFO: TCP Data received {"connection_id":229701,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:34:06] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:34:06] local.INFO: IMEI packet received {"connection_id":229701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":229701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:34:10] local.INFO: TCP Data received {"connection_id":229701,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:34:10] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:34:10] local.INFO: IMEI packet received {"connection_id":229701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":229701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:34:11] local.INFO: TCP Data received {"connection_id":229701,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:34:11] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:34:11] local.INFO: Packet analysis {"connection_id":229701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:34:11] local.INFO: Extracted packet for processing {"connection_id":229701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:34:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":229701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:34:11] local.INFO: GPS data processed {"connection_id":229701,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:34:11] local.INFO: Acknowledgment sent {"connection_id":229701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:34:27] local.INFO: TCP Data received {"connection_id":231005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:34:27] local.INFO: Processing buffer {"connection_id":231005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:34:27] local.INFO: IMEI packet received {"connection_id":231005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":231005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:34:43] local.INFO: TCP Data received {"connection_id":229701,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:34:43] local.INFO: Processing buffer {"connection_id":229701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:34:43] local.INFO: Packet analysis {"connection_id":229701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:34:43] local.INFO: Extracted packet for processing {"connection_id":229701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:34: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-11-04 22: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-11-04 22:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:34:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":229701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:34:43] local.INFO: GPS data processed {"connection_id":229701,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:34:43] local.INFO: Acknowledgment sent {"connection_id":229701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:35:05] local.INFO: TCP Data received {"connection_id":229702,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:35:05] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:35:05] local.INFO: IMEI packet received {"connection_id":229702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":229702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:35:10] local.INFO: TCP Data received {"connection_id":229702,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:35:11] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:35:11] local.INFO: IMEI packet received {"connection_id":229702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":229702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:35:12] local.INFO: TCP Data received {"connection_id":229702,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:35:12] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:35:12] local.INFO: Packet analysis {"connection_id":229702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:35:12] local.INFO: Extracted packet for processing {"connection_id":229702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:35:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:35:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":229702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:35:12] local.INFO: GPS data processed {"connection_id":229702,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:35:12] local.INFO: Acknowledgment sent {"connection_id":229702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:35:43] local.INFO: TCP Data received {"connection_id":229702,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:35:43] local.INFO: Processing buffer {"connection_id":229702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a780f990012d34c14006aa4118000a010127..."} 
[2026-11-04 22:35:43] local.INFO: Packet analysis {"connection_id":229702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:35:43] local.INFO: Extracted packet for processing {"connection_id":229702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a780"} 
[2026-11-04 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215695104001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811610000,"timestamp_ms":1793811610000,"timestamp_seconds":1793811610,"priority":1,"record_length":96,"hex_timestamp":"000001a1a780f990"} 
[2026-11-04 22:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:35: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-11-04 22: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-11-04 22:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215695104001,"66":25299,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215695104001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:35:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:35:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215695104001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":229702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:35:43] local.INFO: GPS data processed {"connection_id":229702,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:35:43] local.INFO: Acknowledgment sent {"connection_id":229702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:36:10] local.INFO: TCP Data received {"connection_id":229220,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:36:10] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:36:10] local.INFO: IMEI packet received {"connection_id":229220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":229220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:36:15] local.INFO: TCP Data received {"connection_id":229220,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:36:15] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:36:15] local.INFO: IMEI packet received {"connection_id":229220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":229220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:36:17] local.INFO: TCP Data received {"connection_id":229220,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:36:17] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:36:17] local.INFO: Packet analysis {"connection_id":229220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:36:17] local.INFO: Extracted packet for processing {"connection_id":229220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:36:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:36:17] 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-11-04 22:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:36: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-11-04 22: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-11-04 22:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:36:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":229220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:36:17] local.INFO: GPS data processed {"connection_id":229220,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:36:17] local.INFO: Acknowledgment sent {"connection_id":229220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:36:21] local.INFO: TCP Data received {"connection_id":229220,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:36:21] local.INFO: Processing buffer {"connection_id":229220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:36:21] local.INFO: Packet analysis {"connection_id":229220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:36:21] local.INFO: Extracted packet for processing {"connection_id":229220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:36:21] 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-11-04 22:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:36:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:36:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":229220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:36:21] local.INFO: GPS data processed {"connection_id":229220,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:36:21] local.INFO: Acknowledgment sent {"connection_id":229220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:37:05] local.INFO: TCP Data received {"connection_id":229221,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:37:05] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:37:05] local.INFO: IMEI packet received {"connection_id":229221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":229221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:37:11] local.INFO: TCP Data received {"connection_id":229221,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:37:11] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:37:11] local.INFO: IMEI packet received {"connection_id":229221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":229221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:37:12] local.INFO: TCP Data received {"connection_id":229221,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:37:12] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:37:12] local.INFO: Packet analysis {"connection_id":229221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:37:12] local.INFO: Extracted packet for processing {"connection_id":229221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:37:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:37:12] 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-11-04 22:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:37: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-11-04 22: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-11-04 22:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:37:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":229221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:37:12] local.INFO: GPS data processed {"connection_id":229221,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:37:12] local.INFO: Acknowledgment sent {"connection_id":229221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:37:43] local.INFO: TCP Data received {"connection_id":229221,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:37:43] local.INFO: Processing buffer {"connection_id":229221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:37:43] local.INFO: Packet analysis {"connection_id":229221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:37:43] local.INFO: Extracted packet for processing {"connection_id":229221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:37:43] 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-11-04 22:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:37: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-11-04 22: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-11-04 22:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:37:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":229221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:37:43] local.INFO: GPS data processed {"connection_id":229221,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:37:43] local.INFO: Acknowledgment sent {"connection_id":229221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:38:06] local.INFO: TCP Data received {"connection_id":232880,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:38:06] local.INFO: Processing buffer {"connection_id":232880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:38:06] local.INFO: IMEI packet received {"connection_id":232880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":232880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:38:10] local.INFO: TCP Data received {"connection_id":232880,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:38:10] local.INFO: Processing buffer {"connection_id":232880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:38:10] local.INFO: IMEI packet received {"connection_id":232880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":232880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:38:12] local.INFO: TCP Data received {"connection_id":232880,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:38:12] local.INFO: Processing buffer {"connection_id":232880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:38:12] local.INFO: Packet analysis {"connection_id":232880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:38:12] local.INFO: Extracted packet for processing {"connection_id":232880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:38:12] 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-11-04 22:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:38: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-11-04 22: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-11-04 22:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:38:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":232880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:38:12] local.INFO: GPS data processed {"connection_id":232880,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:38:12] local.INFO: Acknowledgment sent {"connection_id":232880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:38:43] local.INFO: TCP Data received {"connection_id":232880,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:38:43] local.INFO: Processing buffer {"connection_id":232880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:38:43] local.INFO: Packet analysis {"connection_id":232880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:38:43] local.INFO: Extracted packet for processing {"connection_id":232880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:38:43] 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-11-04 22:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:38: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-11-04 22: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-11-04 22:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:38:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":232880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:38:43] local.INFO: GPS data processed {"connection_id":232880,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:38:43] local.INFO: Acknowledgment sent {"connection_id":232880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:39:05] local.INFO: TCP Data received {"connection_id":231009,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:39:05] local.INFO: Processing buffer {"connection_id":231009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:39:05] local.INFO: IMEI packet received {"connection_id":231009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":231009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:39:11] local.INFO: TCP Data received {"connection_id":231009,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:39:11] local.INFO: Processing buffer {"connection_id":231009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:39:11] local.INFO: IMEI packet received {"connection_id":231009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":231009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:39:12] local.INFO: TCP Data received {"connection_id":231009,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:39:12] local.INFO: Processing buffer {"connection_id":231009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:39:12] local.INFO: Packet analysis {"connection_id":231009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:39:12] local.INFO: Extracted packet for processing {"connection_id":231009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:39:12] 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-11-04 22:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:39: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-11-04 22: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-11-04 22:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:39:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":231009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:39:12] local.INFO: GPS data processed {"connection_id":231009,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:39:12] local.INFO: Acknowledgment sent {"connection_id":231009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:39:39] local.INFO: TCP Data received {"connection_id":229703,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:39:39] local.INFO: Processing buffer {"connection_id":229703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:39:39] local.INFO: IMEI packet received {"connection_id":229703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":229703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:39:43] local.INFO: TCP Data received {"connection_id":231009,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:39:43] local.INFO: Processing buffer {"connection_id":231009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:39:43] local.INFO: Packet analysis {"connection_id":231009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:39:43] local.INFO: Extracted packet for processing {"connection_id":231009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:39:43] 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-11-04 22:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:39: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-11-04 22: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-11-04 22:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:39:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":231009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:39:43] local.INFO: GPS data processed {"connection_id":231009,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:39:43] local.INFO: Acknowledgment sent {"connection_id":231009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:40:05] local.INFO: TCP Data received {"connection_id":232881,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:40:05] local.INFO: Processing buffer {"connection_id":232881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:40:05] local.INFO: IMEI packet received {"connection_id":232881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":232881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:40:08] local.INFO: TCP Data received {"connection_id":229704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:08] local.INFO: Processing buffer {"connection_id":229704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:08] local.INFO: IMEI packet received {"connection_id":229704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":229704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:40:10] local.INFO: TCP Data received {"connection_id":232881,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:40:10] local.INFO: Processing buffer {"connection_id":232881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:40:10] local.INFO: IMEI packet received {"connection_id":232881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":232881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:40:12] local.INFO: TCP Data received {"connection_id":232881,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:40:12] local.INFO: Processing buffer {"connection_id":232881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:40:12] local.INFO: Packet analysis {"connection_id":232881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:40:12] local.INFO: Extracted packet for processing {"connection_id":232881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:12] 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-11-04 22:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:40:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":232881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:40:12] local.INFO: GPS data processed {"connection_id":232881,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:40:12] local.INFO: Acknowledgment sent {"connection_id":232881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:40:12] local.INFO: TCP Data received {"connection_id":229704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:12] local.INFO: Processing buffer {"connection_id":229704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:12] local.INFO: IMEI packet received {"connection_id":229704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":229704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:40:13] local.INFO: TCP Data received {"connection_id":229704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78794f80100000000000000000000000000..."} 
[2026-11-04 22:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78794f80100000000000000000000000000..."} 
[2026-11-04 22:40:13] local.INFO: Processing buffer {"connection_id":229704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78794f80100000000000000000000000000..."} 
[2026-11-04 22:40:13] local.INFO: Packet analysis {"connection_id":229704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a787"} 
[2026-11-04 22:40:13] local.INFO: Extracted packet for processing {"connection_id":229704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a787"} 
[2026-11-04 22:40: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-11-04 22: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-11-04 22:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215867904001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":20804074257514496,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":312648360427909120,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793812043000,"timestamp_ms":1793812043000,"timestamp_seconds":1793812043,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78794f8"} 
[2026-11-04 22:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-11-04 22: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-11-04 22:40: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-11-04 22: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-11-04 22:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 22:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-11-04 22:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-11-04 22:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-11-04 22:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":229704,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-11-04 22:40:13] local.INFO: GPS data processed {"connection_id":229704,"processed":0,"errors":0,"total":1} 
[2026-11-04 22:40:13] local.INFO: Acknowledgment sent {"connection_id":229704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:40:43] local.INFO: TCP Data received {"connection_id":232881,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:40:43] local.INFO: Processing buffer {"connection_id":232881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7859158012d34c14006aa4118000a010129..."} 
[2026-11-04 22:40:43] local.INFO: Packet analysis {"connection_id":232881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:40:43] local.INFO: Extracted packet for processing {"connection_id":232881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a785"} 
[2026-11-04 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215772160001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:40:43] 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-11-04 22:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793811911000,"timestamp_ms":1793811911000,"timestamp_seconds":1793811911,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7859158"} 
[2026-11-04 22:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-11-04 22:40: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-11-04 22: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-11-04 22:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215772160001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215772160001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:40:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215772160001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":232881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:40:43] local.INFO: GPS data processed {"connection_id":232881,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:40:43] local.INFO: Acknowledgment sent {"connection_id":232881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:40:45] local.INFO: TCP Data received {"connection_id":229222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:45] local.INFO: Processing buffer {"connection_id":229222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:40:45] local.INFO: IMEI packet received {"connection_id":229222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":229222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:41:10] local.INFO: TCP Data received {"connection_id":229223,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:41:10] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:41:10] local.INFO: IMEI packet received {"connection_id":229223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":229223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:41:15] local.INFO: TCP Data received {"connection_id":229223,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:41:15] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:41:15] local.INFO: IMEI packet received {"connection_id":229223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":229223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:41:17] local.INFO: TCP Data received {"connection_id":229223,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:41:17] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:41:17] local.INFO: Packet analysis {"connection_id":229223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:41:17] local.INFO: Extracted packet for processing {"connection_id":229223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:41:17] 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-11-04 22:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:41:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:41:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":229223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:41:17] local.INFO: GPS data processed {"connection_id":229223,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:41:17] local.INFO: Acknowledgment sent {"connection_id":229223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:41:27] local.INFO: TCP Data received {"connection_id":232882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:41:27] local.INFO: Processing buffer {"connection_id":232882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:41:27] local.INFO: IMEI packet received {"connection_id":232882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":232882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:41:48] local.INFO: TCP Data received {"connection_id":229223,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:41:48] local.INFO: Processing buffer {"connection_id":229223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:41:48] local.INFO: Packet analysis {"connection_id":229223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:41:48] local.INFO: Extracted packet for processing {"connection_id":229223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:41:48] 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-11-04 22:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:41: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-11-04 22: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-11-04 22:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:41:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:41:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":229223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:41:48] local.INFO: GPS data processed {"connection_id":229223,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:41:48] local.INFO: Acknowledgment sent {"connection_id":229223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:42:06] local.INFO: TCP Data received {"connection_id":231010,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:42:06] local.INFO: Processing buffer {"connection_id":231010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:42:06] local.INFO: IMEI packet received {"connection_id":231010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":231010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:42:11] local.INFO: TCP Data received {"connection_id":231010,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:42:11] local.INFO: Processing buffer {"connection_id":231010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:42:11] local.INFO: IMEI packet received {"connection_id":231010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":231010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:42:12] local.INFO: TCP Data received {"connection_id":231010,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:42:12] local.INFO: Processing buffer {"connection_id":231010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:42:12] local.INFO: Packet analysis {"connection_id":231010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:42:12] local.INFO: Extracted packet for processing {"connection_id":231010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:42:12] 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-11-04 22:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:42: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-11-04 22: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-11-04 22:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:42:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":231010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:42:12] local.INFO: GPS data processed {"connection_id":231010,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:42:12] local.INFO: Acknowledgment sent {"connection_id":231010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:42:44] local.INFO: TCP Data received {"connection_id":231010,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:42:44] local.INFO: Processing buffer {"connection_id":231010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:42:44] local.INFO: Packet analysis {"connection_id":231010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:42:44] local.INFO: Extracted packet for processing {"connection_id":231010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:42:44] 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-11-04 22:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:42: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-11-04 22:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:42:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":231010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:42:44] local.INFO: GPS data processed {"connection_id":231010,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:42:44] local.INFO: Acknowledgment sent {"connection_id":231010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:43:05] local.INFO: TCP Data received {"connection_id":231011,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:43:05] local.INFO: Processing buffer {"connection_id":231011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:43:05] local.INFO: IMEI packet received {"connection_id":231011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":231011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:43:10] local.INFO: TCP Data received {"connection_id":231011,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:43:10] local.INFO: Processing buffer {"connection_id":231011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:43:10] local.INFO: IMEI packet received {"connection_id":231011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":231011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:43:12] local.INFO: TCP Data received {"connection_id":231011,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:43:12] local.INFO: Processing buffer {"connection_id":231011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:43:12] local.INFO: Packet analysis {"connection_id":231011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:43:12] local.INFO: Extracted packet for processing {"connection_id":231011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:43:12] 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-11-04 22:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:43: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-11-04 22: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-11-04 22:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:43:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":231011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:43:12] local.INFO: GPS data processed {"connection_id":231011,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:43:12] local.INFO: Acknowledgment sent {"connection_id":231011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:43:44] local.INFO: TCP Data received {"connection_id":231011,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:43:44] local.INFO: Processing buffer {"connection_id":231011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:43:44] local.INFO: Packet analysis {"connection_id":231011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:43:44] local.INFO: Extracted packet for processing {"connection_id":231011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:43:44] 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-11-04 22:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:43: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-11-04 22: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-11-04 22:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:43:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":231011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:43:44] local.INFO: GPS data processed {"connection_id":231011,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:43:44] local.INFO: Acknowledgment sent {"connection_id":231011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:44:05] local.INFO: TCP Data received {"connection_id":229707,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:44:05] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:44:05] local.INFO: IMEI packet received {"connection_id":229707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":229707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:44:10] local.INFO: TCP Data received {"connection_id":229707,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:44:10] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:44:10] local.INFO: IMEI packet received {"connection_id":229707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":229707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:44:11] local.INFO: TCP Data received {"connection_id":229707,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:44:11] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:44:11] local.INFO: Packet analysis {"connection_id":229707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:44:11] local.INFO: Extracted packet for processing {"connection_id":229707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:44:11] 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-11-04 22:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:44: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-11-04 22:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:44:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":229707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:44:11] local.INFO: GPS data processed {"connection_id":229707,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:44:11] local.INFO: Acknowledgment sent {"connection_id":229707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:44:44] local.INFO: TCP Data received {"connection_id":229707,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:44:44] local.INFO: Processing buffer {"connection_id":229707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:44:44] local.INFO: Packet analysis {"connection_id":229707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:44:44] local.INFO: Extracted packet for processing {"connection_id":229707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:44:44] 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-11-04 22:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:44: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-11-04 22: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-11-04 22:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:44:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:44:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":229707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:44:44] local.INFO: GPS data processed {"connection_id":229707,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:44:44] local.INFO: Acknowledgment sent {"connection_id":229707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:45:11] local.INFO: TCP Data received {"connection_id":232883,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:45:11] local.INFO: Processing buffer {"connection_id":232883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:45:11] local.INFO: IMEI packet received {"connection_id":232883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":232883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:45:16] local.INFO: TCP Data received {"connection_id":232883,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:45:16] local.INFO: Processing buffer {"connection_id":232883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:45:16] local.INFO: IMEI packet received {"connection_id":232883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":232883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:45:17] local.INFO: TCP Data received {"connection_id":232883,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:45:17] local.INFO: Processing buffer {"connection_id":232883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:45:17] local.INFO: Packet analysis {"connection_id":232883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:45:17] local.INFO: Extracted packet for processing {"connection_id":232883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:45:17] 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-11-04 22:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:45: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-11-04 22:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:45:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":232883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:45:17] local.INFO: GPS data processed {"connection_id":232883,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:45:17] local.INFO: Acknowledgment sent {"connection_id":232883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:45:21] local.INFO: TCP Data received {"connection_id":232883,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:45:21] local.INFO: Processing buffer {"connection_id":232883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78a2920012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:45:21] local.INFO: Packet analysis {"connection_id":232883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:45:21] local.INFO: Extracted packet for processing {"connection_id":232883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78a"} 
[2026-11-04 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215849216001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:45:21] 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-11-04 22:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793812212000,"timestamp_ms":1793812212000,"timestamp_seconds":1793812212,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78a2920"} 
[2026-11-04 22:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:45: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-11-04 22: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-11-04 22:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215849216001,"66":25430,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 22:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215849216001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:45:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 22:45:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215849216001,"power":25430,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":232883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:45:21] local.INFO: GPS data processed {"connection_id":232883,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:45:21] local.INFO: Acknowledgment sent {"connection_id":232883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:46:06] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:46:06] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:46:06] local.INFO: IMEI packet received {"connection_id":229224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":229224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:46:11] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:46:11] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:46:11] local.INFO: IMEI packet received {"connection_id":229224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":229224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:46:12] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:46:12] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:46:12] local.INFO: Packet analysis {"connection_id":229224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:46:12] local.INFO: Extracted packet for processing {"connection_id":229224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:46: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-11-04 22: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-11-04 22:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:46:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":229224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:46:12] local.INFO: GPS data processed {"connection_id":229224,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:46:12] local.INFO: Acknowledgment sent {"connection_id":229224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:46:32] local.INFO: TCP Data received {"connection_id":229708,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:46:32] local.INFO: Processing buffer {"connection_id":229708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:46:32] local.INFO: IMEI packet received {"connection_id":229708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":229708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:46:45] local.INFO: TCP Data received {"connection_id":229224,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:46:45] local.INFO: Processing buffer {"connection_id":229224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:46:45] local.INFO: Packet analysis {"connection_id":229224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:46:45] local.INFO: Extracted packet for processing {"connection_id":229224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:46: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-11-04 22:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:46:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":229224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:46:45] local.INFO: GPS data processed {"connection_id":229224,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:46:45] local.INFO: Acknowledgment sent {"connection_id":229224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:47:05] local.INFO: TCP Data received {"connection_id":232885,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:47:05] local.INFO: Processing buffer {"connection_id":232885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:47:05] local.INFO: IMEI packet received {"connection_id":232885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":232885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:47:11] local.INFO: TCP Data received {"connection_id":232885,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:47:11] local.INFO: Processing buffer {"connection_id":232885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:47:11] local.INFO: IMEI packet received {"connection_id":232885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":232885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:47:12] local.INFO: TCP Data received {"connection_id":232885,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:47:12] local.INFO: Processing buffer {"connection_id":232885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:47:12] local.INFO: Packet analysis {"connection_id":232885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:47:12] local.INFO: Extracted packet for processing {"connection_id":232885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:47:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:47:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":232885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:47:12] local.INFO: GPS data processed {"connection_id":232885,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:47:12] local.INFO: Acknowledgment sent {"connection_id":232885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:47:22] local.INFO: TCP Data received {"connection_id":231013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:47:22] local.INFO: Processing buffer {"connection_id":231013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:47:22] local.INFO: IMEI packet received {"connection_id":231013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":231013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:47:44] local.INFO: TCP Data received {"connection_id":232885,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:47:44] local.INFO: Processing buffer {"connection_id":232885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:47:44] local.INFO: Packet analysis {"connection_id":232885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:47:44] local.INFO: Extracted packet for processing {"connection_id":232885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:47: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-11-04 22: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-11-04 22:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:47:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:47:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":232885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:47:44] local.INFO: GPS data processed {"connection_id":232885,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:47:44] local.INFO: Acknowledgment sent {"connection_id":232885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:48:05] local.INFO: TCP Data received {"connection_id":231014,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:48:05] local.INFO: Processing buffer {"connection_id":231014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:48:05] local.INFO: IMEI packet received {"connection_id":231014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":231014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:48:07] local.INFO: TCP Data received {"connection_id":231015,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:48:07] local.INFO: Processing buffer {"connection_id":231015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:48:07] local.INFO: IMEI packet received {"connection_id":231015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":231015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:48:11] local.INFO: TCP Data received {"connection_id":231014,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:48:11] local.INFO: Processing buffer {"connection_id":231014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:48:11] local.INFO: IMEI packet received {"connection_id":231014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":231014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:48:12] local.INFO: TCP Data received {"connection_id":231014,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:48:12] local.INFO: Processing buffer {"connection_id":231014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:48:12] local.INFO: Packet analysis {"connection_id":231014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:48:12] local.INFO: Extracted packet for processing {"connection_id":231014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:48:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":231014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:48:12] local.INFO: GPS data processed {"connection_id":231014,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:48:12] local.INFO: Acknowledgment sent {"connection_id":231014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:48:44] local.INFO: TCP Data received {"connection_id":231014,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:48:44] local.INFO: Processing buffer {"connection_id":231014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:48:44] local.INFO: Packet analysis {"connection_id":231014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:48:44] local.INFO: Extracted packet for processing {"connection_id":231014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:48: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-11-04 22: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-11-04 22:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:48:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:48:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":231014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:48:44] local.INFO: GPS data processed {"connection_id":231014,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:48:44] local.INFO: Acknowledgment sent {"connection_id":231014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:49:11] local.INFO: TCP Data received {"connection_id":229225,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:49:11] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:49:11] local.INFO: IMEI packet received {"connection_id":229225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":229225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:49:16] local.INFO: TCP Data received {"connection_id":229225,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:49:16] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:49:16] local.INFO: IMEI packet received {"connection_id":229225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":229225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:49:17] local.INFO: TCP Data received {"connection_id":229225,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:49:17] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:49:17] local.INFO: Packet analysis {"connection_id":229225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:49:17] local.INFO: Extracted packet for processing {"connection_id":229225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:49:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:49: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-11-04 22:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:49:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":229225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:49:17] local.INFO: GPS data processed {"connection_id":229225,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:49:17] local.INFO: Acknowledgment sent {"connection_id":229225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:49:21] local.INFO: TCP Data received {"connection_id":229225,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:49:21] local.INFO: Processing buffer {"connection_id":229225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:49:21] local.INFO: Packet analysis {"connection_id":229225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:49:21] local.INFO: Extracted packet for processing {"connection_id":229225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:49:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:49: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-11-04 22:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:49:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:49:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":229225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:49:21] local.INFO: GPS data processed {"connection_id":229225,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:49:21] local.INFO: Acknowledgment sent {"connection_id":229225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:50:06] local.INFO: TCP Data received {"connection_id":229710,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:50:06] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:50:06] local.INFO: IMEI packet received {"connection_id":229710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":229710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:50:10] local.INFO: TCP Data received {"connection_id":229710,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:50:10] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:50:10] local.INFO: IMEI packet received {"connection_id":229710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":229710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:50:11] local.INFO: TCP Data received {"connection_id":229710,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:50:11] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:50:11] local.INFO: Packet analysis {"connection_id":229710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:50:11] local.INFO: Extracted packet for processing {"connection_id":229710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:50:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":229710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:50:11] local.INFO: GPS data processed {"connection_id":229710,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:50:11] local.INFO: Acknowledgment sent {"connection_id":229710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:50:43] local.INFO: TCP Data received {"connection_id":229710,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:50:43] local.INFO: Processing buffer {"connection_id":229710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a78ec0e8012d34c14006aa4118000a01012a..."} 
[2026-11-04 22:50:43] local.INFO: Packet analysis {"connection_id":229710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:50:43] local.INFO: Extracted packet for processing {"connection_id":229710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a78e"} 
[2026-11-04 22:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459215926272001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793812513000,"timestamp_ms":1793812513000,"timestamp_seconds":1793812513,"priority":1,"record_length":96,"hex_timestamp":"000001a1a78ec0e8"} 
[2026-11-04 22:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-11-04 22:50: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-11-04 22:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459215926272001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459215926272001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:50:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:50:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459215926272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":229710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:50:43] local.INFO: GPS data processed {"connection_id":229710,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:50:43] local.INFO: Acknowledgment sent {"connection_id":229710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:51:05] local.INFO: TCP Data received {"connection_id":232886,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:51:05] local.INFO: Processing buffer {"connection_id":232886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:51:05] local.INFO: IMEI packet received {"connection_id":232886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":232886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:51:10] local.INFO: TCP Data received {"connection_id":232886,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:51:10] local.INFO: Processing buffer {"connection_id":232886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:51:10] local.INFO: IMEI packet received {"connection_id":232886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":232886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:51:12] local.INFO: TCP Data received {"connection_id":232886,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:51:12] local.INFO: Processing buffer {"connection_id":232886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:51:12] local.INFO: Packet analysis {"connection_id":232886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:51:12] local.INFO: Extracted packet for processing {"connection_id":232886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:51:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":232886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:51:12] local.INFO: GPS data processed {"connection_id":232886,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:51:12] local.INFO: Acknowledgment sent {"connection_id":232886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:51:43] local.INFO: TCP Data received {"connection_id":232886,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:51:43] local.INFO: Processing buffer {"connection_id":232886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:51:43] local.INFO: Packet analysis {"connection_id":232886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:51:43] local.INFO: Extracted packet for processing {"connection_id":232886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:51:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:51:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":232886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:51:43] local.INFO: GPS data processed {"connection_id":232886,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:51:43] local.INFO: Acknowledgment sent {"connection_id":232886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:52:05] local.INFO: TCP Data received {"connection_id":231016,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:52:05] local.INFO: Processing buffer {"connection_id":231016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:52:05] local.INFO: IMEI packet received {"connection_id":231016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":231016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:52:10] local.INFO: TCP Data received {"connection_id":231016,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:52:10] local.INFO: Processing buffer {"connection_id":231016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:52:10] local.INFO: IMEI packet received {"connection_id":231016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":231016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:52:19] local.INFO: TCP Data received {"connection_id":231016,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:52:19] local.INFO: Processing buffer {"connection_id":231016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:52:19] local.INFO: Packet analysis {"connection_id":231016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:52:19] local.INFO: Extracted packet for processing {"connection_id":231016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":231016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":231016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":231016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:52:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":231016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:52:19] local.INFO: GPS data processed {"connection_id":231016,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:52:19] local.INFO: Acknowledgment sent {"connection_id":231016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:52:50] local.INFO: TCP Data received {"connection_id":231016,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:52:50] local.INFO: Processing buffer {"connection_id":231016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:52:50] local.INFO: Packet analysis {"connection_id":231016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:52:50] local.INFO: Extracted packet for processing {"connection_id":231016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:52:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":231016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":231016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":231016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:52:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":231016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:52:50] local.INFO: GPS data processed {"connection_id":231016,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:52:50] local.INFO: Acknowledgment sent {"connection_id":231016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:53:10] local.INFO: TCP Data received {"connection_id":229712,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:53:10] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:53:10] local.INFO: IMEI packet received {"connection_id":229712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":229712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:53:11] local.INFO: TCP Data received {"connection_id":229713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229713,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:53:11] local.INFO: Processing buffer {"connection_id":229713,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:53:11] local.INFO: IMEI packet received {"connection_id":229713,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":229713,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:53:15] local.INFO: TCP Data received {"connection_id":229712,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:53:15] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:53:15] local.INFO: IMEI packet received {"connection_id":229712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":229712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:53:16] local.INFO: TCP Data received {"connection_id":229712,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:53:16] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:53:16] local.INFO: Packet analysis {"connection_id":229712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:53:16] local.INFO: Extracted packet for processing {"connection_id":229712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:53: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-11-04 22:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:53:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:53:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":229712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:53:16] local.INFO: GPS data processed {"connection_id":229712,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:53:16] local.INFO: Acknowledgment sent {"connection_id":229712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:53:21] local.INFO: TCP Data received {"connection_id":229712,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:53:21] local.INFO: Processing buffer {"connection_id":229712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:53:21] local.INFO: Packet analysis {"connection_id":229712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:53:21] local.INFO: Extracted packet for processing {"connection_id":229712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:53: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-11-04 22: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-11-04 22:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:53:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:53:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":229712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:53:21] local.INFO: GPS data processed {"connection_id":229712,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:53:21] local.INFO: Acknowledgment sent {"connection_id":229712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:54:06] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:54:06] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:54:06] local.INFO: IMEI packet received {"connection_id":229227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":229227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:54:10] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:54:10] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:54:10] local.INFO: IMEI packet received {"connection_id":229227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":229227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:54:11] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:54:11] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:54:11] local.INFO: Packet analysis {"connection_id":229227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:54:11] local.INFO: Extracted packet for processing {"connection_id":229227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 22:54: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-11-04 22:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":229227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:54:11] local.INFO: GPS data processed {"connection_id":229227,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:54:11] local.INFO: Acknowledgment sent {"connection_id":229227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:54:43] local.INFO: TCP Data received {"connection_id":229227,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:54:43] local.INFO: Processing buffer {"connection_id":229227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:54:43] local.INFO: Packet analysis {"connection_id":229227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:54:43] local.INFO: Extracted packet for processing {"connection_id":229227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:54:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":229227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:54:43] local.INFO: GPS data processed {"connection_id":229227,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:54:43] local.INFO: Acknowledgment sent {"connection_id":229227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:55:05] local.INFO: TCP Data received {"connection_id":231017,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:55:05] local.INFO: Processing buffer {"connection_id":231017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:55:05] local.INFO: IMEI packet received {"connection_id":231017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":231017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:55:11] local.INFO: TCP Data received {"connection_id":231017,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:55:11] local.INFO: Processing buffer {"connection_id":231017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:55:11] local.INFO: IMEI packet received {"connection_id":231017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":231017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:55:12] local.INFO: TCP Data received {"connection_id":231017,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:55:12] local.INFO: Processing buffer {"connection_id":231017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:55:12] local.INFO: Packet analysis {"connection_id":231017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:55:12] local.INFO: Extracted packet for processing {"connection_id":231017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:55:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":231017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:55:12] local.INFO: GPS data processed {"connection_id":231017,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:55:12] local.INFO: Acknowledgment sent {"connection_id":231017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:55:44] local.INFO: TCP Data received {"connection_id":231017,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:55:44] local.INFO: Processing buffer {"connection_id":231017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79358b0012d34c14006aa4118000a01012d..."} 
[2026-11-04 22:55:44] local.INFO: Packet analysis {"connection_id":231017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:55:44] local.INFO: Extracted packet for processing {"connection_id":231017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a793"} 
[2026-11-04 22:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216003328001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793812814000,"timestamp_ms":1793812814000,"timestamp_seconds":1793812814,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79358b0"} 
[2026-11-04 22:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216003328001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216003328001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:55:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216003328001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":231017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:55:44] local.INFO: GPS data processed {"connection_id":231017,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:55:44] local.INFO: Acknowledgment sent {"connection_id":231017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:56:05] local.INFO: TCP Data received {"connection_id":231019,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:56:05] local.INFO: Processing buffer {"connection_id":231019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:56:05] local.INFO: IMEI packet received {"connection_id":231019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":231019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:56:10] local.INFO: TCP Data received {"connection_id":231019,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:56:10] local.INFO: Processing buffer {"connection_id":231019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:56:10] local.INFO: IMEI packet received {"connection_id":231019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":231019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:56:11] local.INFO: TCP Data received {"connection_id":231019,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:56:11] local.INFO: Processing buffer {"connection_id":231019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:56:11] local.INFO: Packet analysis {"connection_id":231019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:56:11] local.INFO: Extracted packet for processing {"connection_id":231019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:56:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":231019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:56:11] local.INFO: GPS data processed {"connection_id":231019,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:56:11] local.INFO: Acknowledgment sent {"connection_id":231019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:56:43] local.INFO: TCP Data received {"connection_id":231019,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:56:43] local.INFO: Processing buffer {"connection_id":231019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:56:43] local.INFO: Packet analysis {"connection_id":231019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:56:43] local.INFO: Extracted packet for processing {"connection_id":231019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:56: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-11-04 22: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-11-04 22:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:56:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":231019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:56:43] local.INFO: GPS data processed {"connection_id":231019,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:56:43] local.INFO: Acknowledgment sent {"connection_id":231019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:57:06] local.INFO: TCP Data received {"connection_id":229228,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:57:06] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:57:06] local.INFO: IMEI packet received {"connection_id":229228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":229228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:57:11] local.INFO: TCP Data received {"connection_id":229228,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:57:11] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:57:11] local.INFO: IMEI packet received {"connection_id":229228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":229228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:57:12] local.INFO: TCP Data received {"connection_id":229228,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:12] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:12] local.INFO: Packet analysis {"connection_id":229228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:57:12] local.INFO: Extracted packet for processing {"connection_id":229228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:57:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":229228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:57:12] local.INFO: GPS data processed {"connection_id":229228,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:57:12] local.INFO: Acknowledgment sent {"connection_id":229228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:57:17] local.INFO: TCP Data received {"connection_id":229228,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:17] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:17] local.INFO: Packet analysis {"connection_id":229228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:57:17] local.INFO: Extracted packet for processing {"connection_id":229228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:57: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-11-04 22: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-11-04 22:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:57:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:57:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":229228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:57:17] local.INFO: GPS data processed {"connection_id":229228,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:57:17] local.INFO: Acknowledgment sent {"connection_id":229228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:57:48] local.INFO: TCP Data received {"connection_id":229228,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:48] local.INFO: Processing buffer {"connection_id":229228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:57:48] local.INFO: Packet analysis {"connection_id":229228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:57:48] local.INFO: Extracted packet for processing {"connection_id":229228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:57:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22: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-11-04 22:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":229228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":229228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:57:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:57:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":229228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:57:48] local.INFO: GPS data processed {"connection_id":229228,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:57:48] local.INFO: Acknowledgment sent {"connection_id":229228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:58:06] local.INFO: TCP Data received {"connection_id":229714,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:58:06] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:58:06] local.INFO: IMEI packet received {"connection_id":229714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":229714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:58:11] local.INFO: TCP Data received {"connection_id":229714,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:58:11] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:58:11] local.INFO: IMEI packet received {"connection_id":229714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":229714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:58:12] local.INFO: TCP Data received {"connection_id":229714,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:58:12] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:58:12] local.INFO: Packet analysis {"connection_id":229714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:58:12] local.INFO: Extracted packet for processing {"connection_id":229714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22: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-11-04 22: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-11-04 22:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:58:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":229714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:58:12] local.INFO: GPS data processed {"connection_id":229714,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:58:12] local.INFO: Acknowledgment sent {"connection_id":229714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:58:42] local.INFO: TCP Data received {"connection_id":231021,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:58:42] local.INFO: Processing buffer {"connection_id":231021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:58:42] local.INFO: IMEI packet received {"connection_id":231021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":231021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:58:44] local.INFO: TCP Data received {"connection_id":229714,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:58:44] local.INFO: Processing buffer {"connection_id":229714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:58:44] local.INFO: Packet analysis {"connection_id":229714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:58:44] local.INFO: Extracted packet for processing {"connection_id":229714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22: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-11-04 22:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:58:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":229714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:58:44] local.INFO: GPS data processed {"connection_id":229714,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:58:44] local.INFO: Acknowledgment sent {"connection_id":229714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:59:05] local.INFO: TCP Data received {"connection_id":229229,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:59:05] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:59:05] local.INFO: IMEI packet received {"connection_id":229229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 22:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":229229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:59:07] local.INFO: TCP Data received {"connection_id":229230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:59:07] local.INFO: Processing buffer {"connection_id":229230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:59:07] local.INFO: IMEI packet received {"connection_id":229230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 22:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":229230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 22:59:11] local.INFO: TCP Data received {"connection_id":229229,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:59:11] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 22:59:11] local.INFO: IMEI packet received {"connection_id":229229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 22:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":229229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:59:12] local.INFO: TCP Data received {"connection_id":229229,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:59:12] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:59:12] local.INFO: Packet analysis {"connection_id":229229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:59:12] local.INFO: Extracted packet for processing {"connection_id":229229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22: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-11-04 22:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:59: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-11-04 22: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-11-04 22:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:59:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":229229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:59:12] local.INFO: GPS data processed {"connection_id":229229,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:59:12] local.INFO: Acknowledgment sent {"connection_id":229229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 22:59:12] local.INFO: TCP Data received {"connection_id":229230,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:59:12] local.INFO: Processing buffer {"connection_id":229230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 22:59:12] local.INFO: IMEI packet received {"connection_id":229230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 22:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":229230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 22:59:45] local.INFO: TCP Data received {"connection_id":229229,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:59:45] local.INFO: Processing buffer {"connection_id":229229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 22:59:45] local.INFO: Packet analysis {"connection_id":229229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:59:45] local.INFO: Extracted packet for processing {"connection_id":229229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 22:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 22:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 22:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 22:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 22:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 22:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 22:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 22:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 22:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 22:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 22:59:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 22:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 22:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 22:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 22:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 22:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 22:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 22:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 22:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 22:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 22:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 22:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 22:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 22:59:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 22:59:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 22:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 22:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 22:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 22:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":229229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 22:59:45] local.INFO: GPS data processed {"connection_id":229229,"processed":1,"errors":0,"total":1} 
[2026-11-04 22:59:45] local.INFO: Acknowledgment sent {"connection_id":229229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:00:05] local.INFO: TCP Data received {"connection_id":232890,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:00:05] local.INFO: Processing buffer {"connection_id":232890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:00:05] local.INFO: IMEI packet received {"connection_id":232890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":232890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:00:11] local.INFO: TCP Data received {"connection_id":232890,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:00:11] local.INFO: Processing buffer {"connection_id":232890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:00:11] local.INFO: IMEI packet received {"connection_id":232890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":232890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:00:12] local.INFO: TCP Data received {"connection_id":232890,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 23:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 23:00:12] local.INFO: Processing buffer {"connection_id":232890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 23:00:12] local.INFO: Packet analysis {"connection_id":232890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 23:00:12] local.INFO: Extracted packet for processing {"connection_id":232890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 23:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 23:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-11-04 23: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-11-04 23:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:00:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":232890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:00:12] local.INFO: GPS data processed {"connection_id":232890,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:00:12] local.INFO: Acknowledgment sent {"connection_id":232890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:00:44] local.INFO: TCP Data received {"connection_id":232890,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 23:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 23:00:44] local.INFO: Processing buffer {"connection_id":232890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a797f078012d34c14006aa4118000a01012e..."} 
[2026-11-04 23:00:44] local.INFO: Packet analysis {"connection_id":232890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 23:00:44] local.INFO: Extracted packet for processing {"connection_id":232890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a797"} 
[2026-11-04 23:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216080384001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793813115000,"timestamp_ms":1793813115000,"timestamp_seconds":1793813115,"priority":1,"record_length":96,"hex_timestamp":"000001a1a797f078"} 
[2026-11-04 23:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216080384001,"66":24854,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216080384001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:00:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216080384001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":232890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:00:44] local.INFO: GPS data processed {"connection_id":232890,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:00:44] local.INFO: Acknowledgment sent {"connection_id":232890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:01:10] local.INFO: TCP Data received {"connection_id":229232,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:01:10] local.INFO: Processing buffer {"connection_id":229232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:01:10] local.INFO: IMEI packet received {"connection_id":229232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":229232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:01:15] local.INFO: TCP Data received {"connection_id":229232,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:01:15] local.INFO: Processing buffer {"connection_id":229232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:01:15] local.INFO: IMEI packet received {"connection_id":229232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":229232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:01:16] local.INFO: TCP Data received {"connection_id":229232,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:01:16] local.INFO: Processing buffer {"connection_id":229232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:01:16] local.INFO: Packet analysis {"connection_id":229232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:01:16] local.INFO: Extracted packet for processing {"connection_id":229232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:01:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":229232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:01:16] local.INFO: GPS data processed {"connection_id":229232,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:01:16] local.INFO: Acknowledgment sent {"connection_id":229232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:01:21] local.INFO: TCP Data received {"connection_id":229232,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:01:21] local.INFO: Processing buffer {"connection_id":229232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:01:21] local.INFO: Packet analysis {"connection_id":229232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:01:21] local.INFO: Extracted packet for processing {"connection_id":229232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:01:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:01:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:01:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":229232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:01:21] local.INFO: GPS data processed {"connection_id":229232,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:01:21] local.INFO: Acknowledgment sent {"connection_id":229232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:02:06] local.INFO: TCP Data received {"connection_id":229717,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:02:06] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:02:06] local.INFO: IMEI packet received {"connection_id":229717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":229717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:02:10] local.INFO: TCP Data received {"connection_id":229717,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:02:10] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:02:10] local.INFO: IMEI packet received {"connection_id":229717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":229717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:02:12] local.INFO: TCP Data received {"connection_id":229717,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:02:12] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:02:12] local.INFO: Packet analysis {"connection_id":229717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:02:12] local.INFO: Extracted packet for processing {"connection_id":229717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:02:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:02:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":229717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:02:12] local.INFO: GPS data processed {"connection_id":229717,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:02:12] local.INFO: Acknowledgment sent {"connection_id":229717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:02:45] local.INFO: TCP Data received {"connection_id":229717,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:02:45] local.INFO: Processing buffer {"connection_id":229717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:02:45] local.INFO: Packet analysis {"connection_id":229717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:02:45] local.INFO: Extracted packet for processing {"connection_id":229717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:02:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":229717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:02:45] local.INFO: GPS data processed {"connection_id":229717,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:02:45] local.INFO: Acknowledgment sent {"connection_id":229717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:03:05] local.INFO: TCP Data received {"connection_id":231022,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:03:05] local.INFO: Processing buffer {"connection_id":231022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:03:05] local.INFO: IMEI packet received {"connection_id":231022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":231022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:03:11] local.INFO: TCP Data received {"connection_id":231022,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:03:11] local.INFO: Processing buffer {"connection_id":231022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:03:11] local.INFO: IMEI packet received {"connection_id":231022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":231022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:03:12] local.INFO: TCP Data received {"connection_id":231022,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:03:12] local.INFO: Processing buffer {"connection_id":231022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:03:12] local.INFO: Packet analysis {"connection_id":231022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:03:12] local.INFO: Extracted packet for processing {"connection_id":231022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:03:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":231022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:03:12] local.INFO: GPS data processed {"connection_id":231022,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:03:12] local.INFO: Acknowledgment sent {"connection_id":231022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:03:44] local.INFO: TCP Data received {"connection_id":231022,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:03:44] local.INFO: Processing buffer {"connection_id":231022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:03:44] local.INFO: Packet analysis {"connection_id":231022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:03:44] local.INFO: Extracted packet for processing {"connection_id":231022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:03:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":231022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:03:44] local.INFO: GPS data processed {"connection_id":231022,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:03:44] local.INFO: Acknowledgment sent {"connection_id":231022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:04:05] local.INFO: TCP Data received {"connection_id":229718,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:04:05] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:04:05] local.INFO: IMEI packet received {"connection_id":229718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":229718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:04:10] local.INFO: TCP Data received {"connection_id":229718,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:04:10] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:04:10] local.INFO: IMEI packet received {"connection_id":229718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":229718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:04:12] local.INFO: TCP Data received {"connection_id":229718,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:04:12] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:04:12] local.INFO: Packet analysis {"connection_id":229718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:04:12] local.INFO: Extracted packet for processing {"connection_id":229718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:04:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":229718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:04:12] local.INFO: GPS data processed {"connection_id":229718,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:04:12] local.INFO: Acknowledgment sent {"connection_id":229718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:04:44] local.INFO: TCP Data received {"connection_id":229718,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:04:44] local.INFO: Processing buffer {"connection_id":229718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:04:44] local.INFO: Packet analysis {"connection_id":229718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:04:44] local.INFO: Extracted packet for processing {"connection_id":229718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:04:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:04:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":229718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:04:44] local.INFO: GPS data processed {"connection_id":229718,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:04:44] local.INFO: Acknowledgment sent {"connection_id":229718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:05:01] local.INFO: TCP Data received {"connection_id":232892,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:05:01] local.INFO: Processing buffer {"connection_id":232892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:05:01] local.INFO: IMEI packet received {"connection_id":232892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":232892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:05:07] local.INFO: TCP Data received {"connection_id":231024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:05:07] local.INFO: Processing buffer {"connection_id":231024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:05:07] local.INFO: IMEI packet received {"connection_id":231024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":231024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:05:11] local.INFO: TCP Data received {"connection_id":231023,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:05:11] local.INFO: Processing buffer {"connection_id":231023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:05:11] local.INFO: IMEI packet received {"connection_id":231023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":231023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:05:16] local.INFO: TCP Data received {"connection_id":231023,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:05:16] local.INFO: Processing buffer {"connection_id":231023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:05:16] local.INFO: IMEI packet received {"connection_id":231023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":231023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:05:17] local.INFO: TCP Data received {"connection_id":231023,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:05:17] local.INFO: Processing buffer {"connection_id":231023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:05:17] local.INFO: Packet analysis {"connection_id":231023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:05:17] local.INFO: Extracted packet for processing {"connection_id":231023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:05:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:05:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":231023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:05:17] local.INFO: GPS data processed {"connection_id":231023,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:05:17] local.INFO: Acknowledgment sent {"connection_id":231023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:05:21] local.INFO: TCP Data received {"connection_id":231023,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:05:21] local.INFO: Processing buffer {"connection_id":231023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a79c8840012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:05:21] local.INFO: Packet analysis {"connection_id":231023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:05:21] local.INFO: Extracted packet for processing {"connection_id":231023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a79c"} 
[2026-11-04 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216157440001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793813416000,"timestamp_ms":1793813416000,"timestamp_seconds":1793813416,"priority":1,"record_length":96,"hex_timestamp":"000001a1a79c8840"} 
[2026-11-04 23:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-11-04 23:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216157440001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216157440001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:05:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:05:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216157440001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":231023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:05:21] local.INFO: GPS data processed {"connection_id":231023,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:05:21] local.INFO: Acknowledgment sent {"connection_id":231023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:06:05] local.INFO: TCP Data received {"connection_id":229234,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:06:05] local.INFO: Processing buffer {"connection_id":229234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:06:05] local.INFO: IMEI packet received {"connection_id":229234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":229234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:06:10] local.INFO: TCP Data received {"connection_id":229234,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:06:10] local.INFO: Processing buffer {"connection_id":229234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:06:10] local.INFO: IMEI packet received {"connection_id":229234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":229234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:06:12] local.INFO: TCP Data received {"connection_id":229234,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:06:12] local.INFO: Processing buffer {"connection_id":229234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:06:12] local.INFO: Packet analysis {"connection_id":229234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:06:12] local.INFO: Extracted packet for processing {"connection_id":229234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:06:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:06:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":229234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:06:12] local.INFO: GPS data processed {"connection_id":229234,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:06:12] local.INFO: Acknowledgment sent {"connection_id":229234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:06:45] local.INFO: TCP Data received {"connection_id":229234,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:06:45] local.INFO: Processing buffer {"connection_id":229234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:06:45] local.INFO: Packet analysis {"connection_id":229234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:06:45] local.INFO: Extracted packet for processing {"connection_id":229234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:06:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:06: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-11-04 23: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-11-04 23:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:06:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:06:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":229234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:06:45] local.INFO: GPS data processed {"connection_id":229234,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:06:45] local.INFO: Acknowledgment sent {"connection_id":229234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:07:05] local.INFO: TCP Data received {"connection_id":232893,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:07:05] local.INFO: Processing buffer {"connection_id":232893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:07:05] local.INFO: IMEI packet received {"connection_id":232893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":232893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:07:11] local.INFO: TCP Data received {"connection_id":232893,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:07:11] local.INFO: Processing buffer {"connection_id":232893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:07:11] local.INFO: IMEI packet received {"connection_id":232893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":232893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:07:12] local.INFO: TCP Data received {"connection_id":232893,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:07:12] local.INFO: Processing buffer {"connection_id":232893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:07:12] local.INFO: Packet analysis {"connection_id":232893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:07:12] local.INFO: Extracted packet for processing {"connection_id":232893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:07: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-11-04 23: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-11-04 23:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:07:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":232893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:07:12] local.INFO: GPS data processed {"connection_id":232893,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:07:12] local.INFO: Acknowledgment sent {"connection_id":232893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:07:43] local.INFO: TCP Data received {"connection_id":232893,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:07:43] local.INFO: Processing buffer {"connection_id":232893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:07:43] local.INFO: Packet analysis {"connection_id":232893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:07:43] local.INFO: Extracted packet for processing {"connection_id":232893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:07: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-11-04 23: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-11-04 23:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":232893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:07:43] local.INFO: GPS data processed {"connection_id":232893,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:07:43] local.INFO: Acknowledgment sent {"connection_id":232893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:08:05] local.INFO: TCP Data received {"connection_id":231026,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:08:05] local.INFO: Processing buffer {"connection_id":231026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:08:05] local.INFO: IMEI packet received {"connection_id":231026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":231026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:08:10] local.INFO: TCP Data received {"connection_id":231026,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:08:10] local.INFO: Processing buffer {"connection_id":231026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:08:10] local.INFO: IMEI packet received {"connection_id":231026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":231026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:08:12] local.INFO: TCP Data received {"connection_id":231026,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:08:12] local.INFO: Processing buffer {"connection_id":231026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:08:12] local.INFO: Packet analysis {"connection_id":231026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:08:12] local.INFO: Extracted packet for processing {"connection_id":231026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:08: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-11-04 23: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-11-04 23:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":231026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:08:12] local.INFO: GPS data processed {"connection_id":231026,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:08:12] local.INFO: Acknowledgment sent {"connection_id":231026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:08:43] local.INFO: TCP Data received {"connection_id":231026,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:08:43] local.INFO: Processing buffer {"connection_id":231026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:08:43] local.INFO: Packet analysis {"connection_id":231026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:08:43] local.INFO: Extracted packet for processing {"connection_id":231026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:08:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":231026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:08:43] local.INFO: GPS data processed {"connection_id":231026,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:08:43] local.INFO: Acknowledgment sent {"connection_id":231026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:09:10] local.INFO: TCP Data received {"connection_id":232895,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:09:10] local.INFO: Processing buffer {"connection_id":232895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:09:10] local.INFO: IMEI packet received {"connection_id":232895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":232895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:09:15] local.INFO: TCP Data received {"connection_id":232895,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:09:15] local.INFO: Processing buffer {"connection_id":232895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:09:15] local.INFO: IMEI packet received {"connection_id":232895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":232895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:09:16] local.INFO: TCP Data received {"connection_id":232895,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:09:16] local.INFO: Processing buffer {"connection_id":232895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:09:16] local.INFO: Packet analysis {"connection_id":232895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:09:16] local.INFO: Extracted packet for processing {"connection_id":232895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:09:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:09: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-11-04 23:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:09:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:09: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-11-04 23:09: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-11-04 23:09: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-11-04 23:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":232895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":232895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":232895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:09:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:09:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":232895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:09:16] local.INFO: GPS data processed {"connection_id":232895,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:09:16] local.INFO: Acknowledgment sent {"connection_id":232895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:09:21] local.INFO: TCP Data received {"connection_id":232895,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:09:21] local.INFO: Processing buffer {"connection_id":232895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:09:21] local.INFO: Packet analysis {"connection_id":232895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:09:21] local.INFO: Extracted packet for processing {"connection_id":232895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:09:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:09:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:09:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":232895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:09:21] local.INFO: GPS data processed {"connection_id":232895,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:09:21] local.INFO: Acknowledgment sent {"connection_id":232895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:10:05] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:10:05] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:10:05] local.INFO: IMEI packet received {"connection_id":229235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":229235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:10:10] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:10:10] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:10:10] local.INFO: IMEI packet received {"connection_id":229235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":229235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:10:12] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:10:12] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:10:12] local.INFO: Packet analysis {"connection_id":229235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:10:12] local.INFO: Extracted packet for processing {"connection_id":229235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23: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-11-04 23:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:10:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":229235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:10:12] local.INFO: GPS data processed {"connection_id":229235,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:10:12] local.INFO: Acknowledgment sent {"connection_id":229235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:10:32] local.INFO: TCP Data received {"connection_id":229721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:10:32] local.INFO: Processing buffer {"connection_id":229721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:10:32] local.INFO: IMEI packet received {"connection_id":229721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":229721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:10:43] local.INFO: TCP Data received {"connection_id":229235,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:10:43] local.INFO: Processing buffer {"connection_id":229235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a12008012d34c14006aa4118000a01012a..."} 
[2026-11-04 23:10:43] local.INFO: Packet analysis {"connection_id":229235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:10:43] local.INFO: Extracted packet for processing {"connection_id":229235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a1"} 
[2026-11-04 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216234496001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793813717000,"timestamp_ms":1793813717000,"timestamp_seconds":1793813717,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a12008"} 
[2026-11-04 23:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:10: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-11-04 23:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216234496001,"66":25375,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216234496001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216234496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":229235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:10:43] local.INFO: GPS data processed {"connection_id":229235,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:10:43] local.INFO: Acknowledgment sent {"connection_id":229235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:11:05] local.INFO: TCP Data received {"connection_id":229722,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:11:05] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:11:05] local.INFO: IMEI packet received {"connection_id":229722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":229722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:11:07] local.INFO: TCP Data received {"connection_id":229723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:07] local.INFO: Processing buffer {"connection_id":229723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:07] local.INFO: IMEI packet received {"connection_id":229723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":229723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:11:10] local.INFO: TCP Data received {"connection_id":229722,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:11:10] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:11:10] local.INFO: IMEI packet received {"connection_id":229722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":229722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:11:12] local.INFO: TCP Data received {"connection_id":229722,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:11:12] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:11:12] local.INFO: Packet analysis {"connection_id":229722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:11:12] local.INFO: Extracted packet for processing {"connection_id":229722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:11:12] 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-11-04 23:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:11: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-11-04 23: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-11-04 23:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:11:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":229722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:11:12] local.INFO: GPS data processed {"connection_id":229722,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:11:12] local.INFO: Acknowledgment sent {"connection_id":229722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:11:12] local.INFO: TCP Data received {"connection_id":229723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:12] local.INFO: Processing buffer {"connection_id":229723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:12] local.INFO: IMEI packet received {"connection_id":229723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 23:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":229723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:11:15] local.INFO: TCP Data received {"connection_id":229723,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:15] local.INFO: Processing buffer {"connection_id":229723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:15] local.INFO: IMEI packet received {"connection_id":229723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-11-04 23:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":229723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:11:42] local.INFO: TCP Data received {"connection_id":232896,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:42] local.INFO: Processing buffer {"connection_id":232896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:11:42] local.INFO: IMEI packet received {"connection_id":232896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":232896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:11:43] local.INFO: TCP Data received {"connection_id":229722,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:11:43] local.INFO: Processing buffer {"connection_id":229722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:11:43] local.INFO: Packet analysis {"connection_id":229722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:11:43] local.INFO: Extracted packet for processing {"connection_id":229722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:11:43] 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-11-04 23:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:11: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-11-04 23:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:11:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":229722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:11:43] local.INFO: GPS data processed {"connection_id":229722,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:11:43] local.INFO: Acknowledgment sent {"connection_id":229722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:12:05] local.INFO: TCP Data received {"connection_id":232897,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:12:05] local.INFO: Processing buffer {"connection_id":232897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:12:05] local.INFO: IMEI packet received {"connection_id":232897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":232897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:12:10] local.INFO: TCP Data received {"connection_id":232897,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:12:10] local.INFO: Processing buffer {"connection_id":232897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:12:10] local.INFO: IMEI packet received {"connection_id":232897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":232897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:12:12] local.INFO: TCP Data received {"connection_id":232897,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:12:12] local.INFO: Processing buffer {"connection_id":232897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:12:12] local.INFO: Packet analysis {"connection_id":232897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:12:12] local.INFO: Extracted packet for processing {"connection_id":232897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:12:12] 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-11-04 23:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:12:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":232897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:12:12] local.INFO: GPS data processed {"connection_id":232897,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:12:12] local.INFO: Acknowledgment sent {"connection_id":232897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:12:12] local.INFO: TCP Data received {"connection_id":232898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:12:12] local.INFO: Processing buffer {"connection_id":232898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:12:12] local.INFO: IMEI packet received {"connection_id":232898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":232898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:12:43] local.INFO: TCP Data received {"connection_id":232897,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:12:43] local.INFO: Processing buffer {"connection_id":232897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:12:43] local.INFO: Packet analysis {"connection_id":232897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:12:43] local.INFO: Extracted packet for processing {"connection_id":232897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:12:43] 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-11-04 23:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23: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-11-04 23:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:12:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":232897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:12:43] local.INFO: GPS data processed {"connection_id":232897,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:12:43] local.INFO: Acknowledgment sent {"connection_id":232897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:13:10] local.INFO: TCP Data received {"connection_id":229237,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:13:10] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:13:10] local.INFO: IMEI packet received {"connection_id":229237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":229237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:13:15] local.INFO: TCP Data received {"connection_id":229237,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:13:15] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:13:15] local.INFO: IMEI packet received {"connection_id":229237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":229237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:13:17] local.INFO: TCP Data received {"connection_id":229237,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:13:17] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:13:17] local.INFO: Packet analysis {"connection_id":229237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:13:17] local.INFO: Extracted packet for processing {"connection_id":229237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:13:17] 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-11-04 23:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:13: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-11-04 23:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:13:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:13:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":229237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:13:17] local.INFO: GPS data processed {"connection_id":229237,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:13:17] local.INFO: Acknowledgment sent {"connection_id":229237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:13:21] local.INFO: TCP Data received {"connection_id":229237,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:13:21] local.INFO: Processing buffer {"connection_id":229237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:13:21] local.INFO: Packet analysis {"connection_id":229237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:13:21] local.INFO: Extracted packet for processing {"connection_id":229237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:13:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:13:21] 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-11-04 23:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:13: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-11-04 23:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:13:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":229237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:13:21] local.INFO: GPS data processed {"connection_id":229237,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:13:21] local.INFO: Acknowledgment sent {"connection_id":229237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:14:05] local.INFO: TCP Data received {"connection_id":229724,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:14:05] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:14:05] local.INFO: IMEI packet received {"connection_id":229724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":229724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:14:10] local.INFO: TCP Data received {"connection_id":229724,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:14:10] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:14:10] local.INFO: IMEI packet received {"connection_id":229724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":229724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:14:12] local.INFO: TCP Data received {"connection_id":229724,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:14:12] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:14:12] local.INFO: Packet analysis {"connection_id":229724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:14:12] local.INFO: Extracted packet for processing {"connection_id":229724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:14:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:14:12] 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-11-04 23:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:14: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-11-04 23: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-11-04 23:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:14:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":229724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:14:12] local.INFO: GPS data processed {"connection_id":229724,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:14:12] local.INFO: Acknowledgment sent {"connection_id":229724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:14:44] local.INFO: TCP Data received {"connection_id":229724,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:14:44] local.INFO: Processing buffer {"connection_id":229724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:14:44] local.INFO: Packet analysis {"connection_id":229724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:14:44] local.INFO: Extracted packet for processing {"connection_id":229724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:14:44] 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-11-04 23:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:14: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-11-04 23: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-11-04 23:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:14:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:14:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":229724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:14:44] local.INFO: GPS data processed {"connection_id":229724,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:14:44] local.INFO: Acknowledgment sent {"connection_id":229724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:15:06] local.INFO: TCP Data received {"connection_id":232899,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:15:06] local.INFO: Processing buffer {"connection_id":232899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:15:06] local.INFO: IMEI packet received {"connection_id":232899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":232899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:15:10] local.INFO: TCP Data received {"connection_id":232899,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:15:10] local.INFO: Processing buffer {"connection_id":232899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:15:10] local.INFO: IMEI packet received {"connection_id":232899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":232899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:15:12] local.INFO: TCP Data received {"connection_id":232899,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:15:12] local.INFO: Processing buffer {"connection_id":232899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:15:12] local.INFO: Packet analysis {"connection_id":232899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:15:12] local.INFO: Extracted packet for processing {"connection_id":232899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:15:12] 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-11-04 23:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:15: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-11-04 23: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-11-04 23:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:15:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:15:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":232899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:15:12] local.INFO: GPS data processed {"connection_id":232899,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:15:12] local.INFO: Acknowledgment sent {"connection_id":232899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:15:44] local.INFO: TCP Data received {"connection_id":232899,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:15:44] local.INFO: Processing buffer {"connection_id":232899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7a5b7d0012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:15:44] local.INFO: Packet analysis {"connection_id":232899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:15:44] local.INFO: Extracted packet for processing {"connection_id":232899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7a5"} 
[2026-11-04 23:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216311552001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:15:44] 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-11-04 23:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793814018000,"timestamp_ms":1793814018000,"timestamp_seconds":1793814018,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7a5b7d0"} 
[2026-11-04 23:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-11-04 23:15: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-11-04 23: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-11-04 23:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216311552001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216311552001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:15:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:15:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216311552001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":232899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:15:44] local.INFO: GPS data processed {"connection_id":232899,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:15:44] local.INFO: Acknowledgment sent {"connection_id":232899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:16:05] local.INFO: TCP Data received {"connection_id":229725,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:16:05] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:16:05] local.INFO: IMEI packet received {"connection_id":229725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":229725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:16:10] local.INFO: TCP Data received {"connection_id":229725,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:16:10] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:16:10] local.INFO: IMEI packet received {"connection_id":229725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":229725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:16:12] local.INFO: TCP Data received {"connection_id":229725,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:16:12] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:16:12] local.INFO: Packet analysis {"connection_id":229725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:16:12] local.INFO: Extracted packet for processing {"connection_id":229725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:16: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-11-04 23: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-11-04 23:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:16:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":229725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:16:12] local.INFO: GPS data processed {"connection_id":229725,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:16:12] local.INFO: Acknowledgment sent {"connection_id":229725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:16:44] local.INFO: TCP Data received {"connection_id":229725,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:16:44] local.INFO: Processing buffer {"connection_id":229725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:16:44] local.INFO: Packet analysis {"connection_id":229725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:16:44] local.INFO: Extracted packet for processing {"connection_id":229725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:16:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":229725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:16:44] local.INFO: GPS data processed {"connection_id":229725,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:16:44] local.INFO: Acknowledgment sent {"connection_id":229725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:17:10] local.INFO: TCP Data received {"connection_id":232900,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:17:10] local.INFO: Processing buffer {"connection_id":232900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:17:10] local.INFO: IMEI packet received {"connection_id":232900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":232900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:17:15] local.INFO: TCP Data received {"connection_id":232900,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:17:15] local.INFO: Processing buffer {"connection_id":232900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:17:15] local.INFO: IMEI packet received {"connection_id":232900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":232900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:17:17] local.INFO: TCP Data received {"connection_id":232900,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:17] local.INFO: Processing buffer {"connection_id":232900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:17] local.INFO: Packet analysis {"connection_id":232900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:17:17] local.INFO: Extracted packet for processing {"connection_id":232900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:17: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-11-04 23:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:17:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":232900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:17:17] local.INFO: GPS data processed {"connection_id":232900,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:17:17] local.INFO: Acknowledgment sent {"connection_id":232900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:17:21] local.INFO: TCP Data received {"connection_id":232900,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:21] local.INFO: Processing buffer {"connection_id":232900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:21] local.INFO: Packet analysis {"connection_id":232900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:17:21] local.INFO: Extracted packet for processing {"connection_id":232900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:17:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:17: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-11-04 23: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-11-04 23:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":232900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":232900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":232900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:17:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:17:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":232900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:17:21] local.INFO: GPS data processed {"connection_id":232900,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:17:21] local.INFO: Acknowledgment sent {"connection_id":232900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:17:26] local.INFO: TCP Data received {"connection_id":232900,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:26] local.INFO: Processing buffer {"connection_id":232900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:17:26] local.INFO: Packet analysis {"connection_id":232900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:17:26] local.INFO: Extracted packet for processing {"connection_id":232900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 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-11-04 23:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 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-11-04 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:17: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-11-04 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-11-04 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-11-04 23:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":232900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":232900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":232900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":232900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:17:26] local.INFO: GPS data processed {"connection_id":232900,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:17:26] local.INFO: Acknowledgment sent {"connection_id":232900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:17:37] local.INFO: TCP Data received {"connection_id":232901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:17:37] local.INFO: Processing buffer {"connection_id":232901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:17:37] local.INFO: IMEI packet received {"connection_id":232901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":232901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:18:05] local.INFO: TCP Data received {"connection_id":231030,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:18:05] local.INFO: Processing buffer {"connection_id":231030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:18:05] local.INFO: IMEI packet received {"connection_id":231030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":231030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:18:07] local.INFO: TCP Data received {"connection_id":229239,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:18:07] local.INFO: Processing buffer {"connection_id":229239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:18:07] local.INFO: IMEI packet received {"connection_id":229239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":229239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:18:10] local.INFO: TCP Data received {"connection_id":231030,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:18:10] local.INFO: Processing buffer {"connection_id":231030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:18:10] local.INFO: IMEI packet received {"connection_id":231030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":231030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:18:12] local.INFO: TCP Data received {"connection_id":231030,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:18:12] local.INFO: Processing buffer {"connection_id":231030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:18:12] local.INFO: Packet analysis {"connection_id":231030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:18:12] local.INFO: Extracted packet for processing {"connection_id":231030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23: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-11-04 23:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":231030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:18:12] local.INFO: GPS data processed {"connection_id":231030,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:18:12] local.INFO: Acknowledgment sent {"connection_id":231030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:18:44] local.INFO: TCP Data received {"connection_id":231030,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:18:44] local.INFO: Processing buffer {"connection_id":231030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:18:44] local.INFO: Packet analysis {"connection_id":231030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:18:44] local.INFO: Extracted packet for processing {"connection_id":231030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:18:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:18: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-11-04 23: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-11-04 23:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:18:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:18:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":231030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:18:45] local.INFO: GPS data processed {"connection_id":231030,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:18:45] local.INFO: Acknowledgment sent {"connection_id":231030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:19:06] local.INFO: TCP Data received {"connection_id":229726,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:19:06] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:19:06] local.INFO: IMEI packet received {"connection_id":229726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":229726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:19:11] local.INFO: TCP Data received {"connection_id":229726,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:19:11] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:19:11] local.INFO: IMEI packet received {"connection_id":229726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":229726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:19:13] local.INFO: TCP Data received {"connection_id":229726,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:19:13] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:19:13] local.INFO: Packet analysis {"connection_id":229726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:19:13] local.INFO: Extracted packet for processing {"connection_id":229726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:19: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-11-04 23:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:19:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:19:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":229726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:19:13] local.INFO: GPS data processed {"connection_id":229726,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:19:13] local.INFO: Acknowledgment sent {"connection_id":229726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:19:45] local.INFO: TCP Data received {"connection_id":229726,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:19:45] local.INFO: Processing buffer {"connection_id":229726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:19:45] local.INFO: Packet analysis {"connection_id":229726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:19:45] local.INFO: Extracted packet for processing {"connection_id":229726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:19: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-11-04 23: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-11-04 23:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:19:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":229726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:19:45] local.INFO: GPS data processed {"connection_id":229726,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:19:45] local.INFO: Acknowledgment sent {"connection_id":229726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:20:05] local.INFO: TCP Data received {"connection_id":231031,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:20:05] local.INFO: Processing buffer {"connection_id":231031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:20:05] local.INFO: IMEI packet received {"connection_id":231031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":231031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:20:11] local.INFO: TCP Data received {"connection_id":231031,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:20:11] local.INFO: Processing buffer {"connection_id":231031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:20:11] local.INFO: IMEI packet received {"connection_id":231031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":231031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:20:13] local.INFO: TCP Data received {"connection_id":231031,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:20:13] local.INFO: Processing buffer {"connection_id":231031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:20:13] local.INFO: Packet analysis {"connection_id":231031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:20:13] local.INFO: Extracted packet for processing {"connection_id":231031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":231031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":231031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":231031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:20:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:20:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":231031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:20:13] local.INFO: GPS data processed {"connection_id":231031,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:20:13] local.INFO: Acknowledgment sent {"connection_id":231031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:20:44] local.INFO: TCP Data received {"connection_id":231031,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:20:44] local.INFO: Processing buffer {"connection_id":231031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aa4f98012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:20:44] local.INFO: Packet analysis {"connection_id":231031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:20:44] local.INFO: Extracted packet for processing {"connection_id":231031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7aa"} 
[2026-11-04 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216388608001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793814319000,"timestamp_ms":1793814319000,"timestamp_seconds":1793814319,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aa4f98"} 
[2026-11-04 23:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23: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-11-04 23:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216388608001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216388608001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:20:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:20:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216388608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":231031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:20:44] local.INFO: GPS data processed {"connection_id":231031,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:20:44] local.INFO: Acknowledgment sent {"connection_id":231031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:21:05] local.INFO: TCP Data received {"connection_id":229242,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:21:05] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:21:05] local.INFO: IMEI packet received {"connection_id":229242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":229242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:21:11] local.INFO: TCP Data received {"connection_id":229242,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:21:11] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:21:11] local.INFO: IMEI packet received {"connection_id":229242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":229242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:21:13] local.INFO: TCP Data received {"connection_id":229242,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:21:13] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:21:13] local.INFO: Packet analysis {"connection_id":229242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:21:13] local.INFO: Extracted packet for processing {"connection_id":229242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:21:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":229242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:21:13] local.INFO: GPS data processed {"connection_id":229242,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:21:13] local.INFO: Acknowledgment sent {"connection_id":229242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:21:45] local.INFO: TCP Data received {"connection_id":229242,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:21:45] local.INFO: Processing buffer {"connection_id":229242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:21:45] local.INFO: Packet analysis {"connection_id":229242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:21:45] local.INFO: Extracted packet for processing {"connection_id":229242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:21:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:21: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-11-04 23:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:21:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:21:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":229242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:21:45] local.INFO: GPS data processed {"connection_id":229242,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:21:45] local.INFO: Acknowledgment sent {"connection_id":229242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:22:11] local.INFO: TCP Data received {"connection_id":232904,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:22:11] local.INFO: Processing buffer {"connection_id":232904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:22:11] local.INFO: IMEI packet received {"connection_id":232904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":232904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:22:16] local.INFO: TCP Data received {"connection_id":232904,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:22:16] local.INFO: Processing buffer {"connection_id":232904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:22:16] local.INFO: IMEI packet received {"connection_id":232904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":232904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:22:17] local.INFO: TCP Data received {"connection_id":232904,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:22:17] local.INFO: Processing buffer {"connection_id":232904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:22:17] local.INFO: Packet analysis {"connection_id":232904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:22:17] local.INFO: Extracted packet for processing {"connection_id":232904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:22:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:22: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-11-04 23:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":232904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":232904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":232904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:22:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:22:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":232904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:22:17] local.INFO: GPS data processed {"connection_id":232904,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:22:17] local.INFO: Acknowledgment sent {"connection_id":232904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:22:22] local.INFO: TCP Data received {"connection_id":232904,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:22:22] local.INFO: Processing buffer {"connection_id":232904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:22:22] local.INFO: Packet analysis {"connection_id":232904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:22:22] local.INFO: Extracted packet for processing {"connection_id":232904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:22:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:22: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-11-04 23: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-11-04 23:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":232904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":232904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":232904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:22:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:22:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":232904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:22:22] local.INFO: GPS data processed {"connection_id":232904,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:22:22] local.INFO: Acknowledgment sent {"connection_id":232904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:23:05] local.INFO: TCP Data received {"connection_id":229727,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:23:05] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:23:05] local.INFO: IMEI packet received {"connection_id":229727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":229727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:23:11] local.INFO: TCP Data received {"connection_id":229727,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:23:11] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:23:11] local.INFO: IMEI packet received {"connection_id":229727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":229727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:23:13] local.INFO: TCP Data received {"connection_id":229727,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:23:13] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:23:13] local.INFO: Packet analysis {"connection_id":229727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:23:13] local.INFO: Extracted packet for processing {"connection_id":229727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:23: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-11-04 23:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":229727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":229727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":229727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:23:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:23:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":229727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:23:13] local.INFO: GPS data processed {"connection_id":229727,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:23:13] local.INFO: Acknowledgment sent {"connection_id":229727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:23:32] local.INFO: TCP Data received {"connection_id":231032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:23:32] local.INFO: Processing buffer {"connection_id":231032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:23:32] local.INFO: IMEI packet received {"connection_id":231032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":231032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:23:45] local.INFO: TCP Data received {"connection_id":229727,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:23:45] local.INFO: Processing buffer {"connection_id":229727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:23:45] local.INFO: Packet analysis {"connection_id":229727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:23:45] local.INFO: Extracted packet for processing {"connection_id":229727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:23: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-11-04 23: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-11-04 23:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":229727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":229727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":229727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:23:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":229727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:23:45] local.INFO: GPS data processed {"connection_id":229727,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:23:45] local.INFO: Acknowledgment sent {"connection_id":229727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:24:05] local.INFO: TCP Data received {"connection_id":231033,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:24:05] local.INFO: Processing buffer {"connection_id":231033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:24:05] local.INFO: IMEI packet received {"connection_id":231033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":231033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:24:10] local.INFO: TCP Data received {"connection_id":231033,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:24:10] local.INFO: Processing buffer {"connection_id":231033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:24:10] local.INFO: IMEI packet received {"connection_id":231033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":231033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:24:12] local.INFO: TCP Data received {"connection_id":231033,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:24:12] local.INFO: Processing buffer {"connection_id":231033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:24:12] local.INFO: Packet analysis {"connection_id":231033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:24:12] local.INFO: Extracted packet for processing {"connection_id":231033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23: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-11-04 23:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:24:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":231033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:24:12] local.INFO: GPS data processed {"connection_id":231033,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:24:12] local.INFO: Acknowledgment sent {"connection_id":231033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:24:12] local.INFO: TCP Data received {"connection_id":232905,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:24:12] local.INFO: Processing buffer {"connection_id":232905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:24:12] local.INFO: IMEI packet received {"connection_id":232905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":232905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:24:44] local.INFO: TCP Data received {"connection_id":231033,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:24:44] local.INFO: Processing buffer {"connection_id":231033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:24:44] local.INFO: Packet analysis {"connection_id":231033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:24:44] local.INFO: Extracted packet for processing {"connection_id":231033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23: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-11-04 23:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:24:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:24:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":231033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:24:44] local.INFO: GPS data processed {"connection_id":231033,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:24:44] local.INFO: Acknowledgment sent {"connection_id":231033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:25:05] local.INFO: TCP Data received {"connection_id":232906,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:25:05] local.INFO: Processing buffer {"connection_id":232906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:25:05] local.INFO: IMEI packet received {"connection_id":232906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":232906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:25:10] local.INFO: TCP Data received {"connection_id":232906,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:25:10] local.INFO: Processing buffer {"connection_id":232906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:25:10] local.INFO: IMEI packet received {"connection_id":232906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":232906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:25:13] local.INFO: TCP Data received {"connection_id":232906,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:25:13] local.INFO: Processing buffer {"connection_id":232906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:25:13] local.INFO: Packet analysis {"connection_id":232906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:25:13] local.INFO: Extracted packet for processing {"connection_id":232906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:25: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-11-04 23: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-11-04 23:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":232906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":232906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":232906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:25:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":232906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:25:13] local.INFO: GPS data processed {"connection_id":232906,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:25:13] local.INFO: Acknowledgment sent {"connection_id":232906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:25:45] local.INFO: TCP Data received {"connection_id":232906,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:25:45] local.INFO: Processing buffer {"connection_id":232906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7aee760012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:25:45] local.INFO: Packet analysis {"connection_id":232906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:25:45] local.INFO: Extracted packet for processing {"connection_id":232906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ae"} 
[2026-11-04 23:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216465664001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1793814620000,"timestamp_ms":1793814620000,"timestamp_seconds":1793814620,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7aee760"} 
[2026-11-04 23:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:25: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-11-04 23: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-11-04 23:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":232906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":232906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":232906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216465664001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216465664001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:25:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216465664001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":232906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:25:45] local.INFO: GPS data processed {"connection_id":232906,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:25:45] local.INFO: Acknowledgment sent {"connection_id":232906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:27:20] local.INFO: TCP Data received {"connection_id":229244,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:27:20] local.INFO: Processing buffer {"connection_id":229244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:27:20] local.INFO: IMEI packet received {"connection_id":229244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":229244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:27:25] local.INFO: TCP Data received {"connection_id":229244,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:27:25] local.INFO: Processing buffer {"connection_id":229244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:27:25] local.INFO: IMEI packet received {"connection_id":229244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":229244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:27:26] local.INFO: TCP Data received {"connection_id":229244,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:27:26] local.INFO: Processing buffer {"connection_id":229244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:27:26] local.INFO: Packet analysis {"connection_id":229244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:27:26] local.INFO: Extracted packet for processing {"connection_id":229244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:27:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 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-11-04 23:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216542720001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793814921000,"timestamp_ms":1793814921000,"timestamp_seconds":1793814921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b37f28"} 
[2026-11-04 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-11-04 23:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:27: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-11-04 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-11-04 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-11-04 23:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216542720001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216542720001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:27:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:27:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216542720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":229244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:27:26] local.INFO: GPS data processed {"connection_id":229244,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:27:26] local.INFO: Acknowledgment sent {"connection_id":229244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:28:05] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:28:05] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:28:05] local.INFO: IMEI packet received {"connection_id":229728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":229728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:28:10] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:28:10] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:28:10] local.INFO: IMEI packet received {"connection_id":229728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":229728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:28:11] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:28:11] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:28:11] local.INFO: Packet analysis {"connection_id":229728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:28:11] local.INFO: Extracted packet for processing {"connection_id":229728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216542720001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793814921000,"timestamp_ms":1793814921000,"timestamp_seconds":1793814921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b37f28"} 
[2026-11-04 23:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:28: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-11-04 23: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-11-04 23:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216542720001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216542720001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216542720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":229728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:28:11] local.INFO: GPS data processed {"connection_id":229728,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:28:11] local.INFO: Acknowledgment sent {"connection_id":229728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:28:43] local.INFO: TCP Data received {"connection_id":229728,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:28:43] local.INFO: Processing buffer {"connection_id":229728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:28:43] local.INFO: Packet analysis {"connection_id":229728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:28:43] local.INFO: Extracted packet for processing {"connection_id":229728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216542720001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793814921000,"timestamp_ms":1793814921000,"timestamp_seconds":1793814921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b37f28"} 
[2026-11-04 23:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216542720001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216542720001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:28:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:28:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216542720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":229728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:28:43] local.INFO: GPS data processed {"connection_id":229728,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:28:43] local.INFO: Acknowledgment sent {"connection_id":229728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:29:15] local.INFO: TCP Data received {"connection_id":229246,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:29:15] local.INFO: Processing buffer {"connection_id":229246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:29:15] local.INFO: IMEI packet received {"connection_id":229246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":229246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:29:20] local.INFO: TCP Data received {"connection_id":229246,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:29:20] local.INFO: Processing buffer {"connection_id":229246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:29:20] local.INFO: IMEI packet received {"connection_id":229246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":229246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:29:21] local.INFO: TCP Data received {"connection_id":229246,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:29:21] local.INFO: Processing buffer {"connection_id":229246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:29:21] local.INFO: Packet analysis {"connection_id":229246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:29:21] local.INFO: Extracted packet for processing {"connection_id":229246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:29:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216542720001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793814921000,"timestamp_ms":1793814921000,"timestamp_seconds":1793814921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b37f28"} 
[2026-11-04 23:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216542720001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216542720001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:29:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:29:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216542720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":229246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:29:21] local.INFO: GPS data processed {"connection_id":229246,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:29:21] local.INFO: Acknowledgment sent {"connection_id":229246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:29:25] local.INFO: TCP Data received {"connection_id":229246,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:29:25] local.INFO: Processing buffer {"connection_id":229246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:29:25] local.INFO: Packet analysis {"connection_id":229246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:29:25] local.INFO: Extracted packet for processing {"connection_id":229246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:29:25] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216542720001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1793814921000,"timestamp_ms":1793814921000,"timestamp_seconds":1793814921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b37f28"} 
[2026-11-04 23:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:29: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-11-04 23:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":229246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":229246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":229246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216542720001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216542720001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:29:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:29:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216542720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":229246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:29:25] local.INFO: GPS data processed {"connection_id":229246,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:29:25] local.INFO: Acknowledgment sent {"connection_id":229246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:29:36] local.INFO: TCP Data received {"connection_id":229245,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:29:36] local.INFO: Processing buffer {"connection_id":229245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:29:36] local.INFO: IMEI packet received {"connection_id":229245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":229245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:30:05] local.INFO: TCP Data received {"connection_id":231037,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:30:05] local.INFO: Processing buffer {"connection_id":231037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:30:05] local.INFO: IMEI packet received {"connection_id":231037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":231037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:30:07] local.INFO: TCP Data received {"connection_id":232908,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:30:07] local.INFO: Processing buffer {"connection_id":232908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:30:07] local.INFO: IMEI packet received {"connection_id":232908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":232908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:30:10] local.INFO: TCP Data received {"connection_id":231037,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:30:10] local.INFO: Processing buffer {"connection_id":231037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:30:10] local.INFO: IMEI packet received {"connection_id":231037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":231037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:30:11] local.INFO: TCP Data received {"connection_id":231037,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:30:11] local.INFO: Processing buffer {"connection_id":231037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:30:11] local.INFO: Packet analysis {"connection_id":231037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:30:11] local.INFO: Extracted packet for processing {"connection_id":231037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216542720001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793814921000,"timestamp_ms":1793814921000,"timestamp_seconds":1793814921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b37f28"} 
[2026-11-04 23:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:30: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-11-04 23:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216542720001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216542720001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:30:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216542720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":231037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:30:11] local.INFO: GPS data processed {"connection_id":231037,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:30:11] local.INFO: Acknowledgment sent {"connection_id":231037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:30:43] local.INFO: TCP Data received {"connection_id":231037,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:30:43] local.INFO: Processing buffer {"connection_id":231037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b37f28012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:30:43] local.INFO: Packet analysis {"connection_id":231037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:30:43] local.INFO: Extracted packet for processing {"connection_id":231037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b3"} 
[2026-11-04 23:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216542720001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793814921000,"timestamp_ms":1793814921000,"timestamp_seconds":1793814921,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b37f28"} 
[2026-11-04 23:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:30: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-11-04 23:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216542720001,"66":25397,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216542720001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216542720001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":231037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:30:43] local.INFO: GPS data processed {"connection_id":231037,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:30:43] local.INFO: Acknowledgment sent {"connection_id":231037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:31:20] local.INFO: TCP Data received {"connection_id":229247,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:31:20] local.INFO: Processing buffer {"connection_id":229247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:31:20] local.INFO: IMEI packet received {"connection_id":229247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":229247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:31:25] local.INFO: TCP Data received {"connection_id":229247,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:31:25] local.INFO: Processing buffer {"connection_id":229247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:31:25] local.INFO: IMEI packet received {"connection_id":229247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":229247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:31:26] local.INFO: TCP Data received {"connection_id":229247,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:31:26] local.INFO: Processing buffer {"connection_id":229247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:31:26] local.INFO: Packet analysis {"connection_id":229247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:31:26] local.INFO: Extracted packet for processing {"connection_id":229247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:31:26] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 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-11-04 23:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:31:26] 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-11-04 23:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 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-11-04 23:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:31: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-11-04 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-11-04 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-11-04 23:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":229247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":229247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":229247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":229247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:31:26] local.INFO: GPS data processed {"connection_id":229247,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:31:26] local.INFO: Acknowledgment sent {"connection_id":229247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:32:10] local.INFO: TCP Data received {"connection_id":231040,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:32:10] local.INFO: Processing buffer {"connection_id":231040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:32:10] local.INFO: IMEI packet received {"connection_id":231040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":231040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:32:15] local.INFO: TCP Data received {"connection_id":231040,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:32:15] local.INFO: Processing buffer {"connection_id":231040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:32:15] local.INFO: IMEI packet received {"connection_id":231040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":231040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:32:16] local.INFO: TCP Data received {"connection_id":231040,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:32:16] local.INFO: Processing buffer {"connection_id":231040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:32:16] local.INFO: Packet analysis {"connection_id":231040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:32:16] local.INFO: Extracted packet for processing {"connection_id":231040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:32: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-11-04 23:32:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:32:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:32:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:32:16] 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-11-04 23:32:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:32:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:32:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:32: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-11-04 23:32: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-11-04 23:32: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-11-04 23:32:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:32:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:32:16] local.INFO: Teltonika packet parsed successfully {"connection_id":231040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:32:16] local.INFO: Passing IMEI to GPS processor {"connection_id":231040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:32:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":231040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:32:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:32:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:32:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:32:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:32:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:32:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:32:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:32:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:32:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:32:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:32:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:32:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:32:16] local.INFO: DEBUG: GPS processor result {"connection_id":231040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:32:16] local.INFO: GPS data processed {"connection_id":231040,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:32:16] local.INFO: Acknowledgment sent {"connection_id":231040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:32:21] local.INFO: TCP Data received {"connection_id":231040,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:32:21] local.INFO: Processing buffer {"connection_id":231040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:32:21] local.INFO: Packet analysis {"connection_id":231040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:32:21] local.INFO: Extracted packet for processing {"connection_id":231040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:32:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:32:21] 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-11-04 23:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":231040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:32:21] local.INFO: GPS data processed {"connection_id":231040,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:32:21] local.INFO: Acknowledgment sent {"connection_id":231040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:33:05] local.INFO: TCP Data received {"connection_id":232909,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:33:05] local.INFO: Processing buffer {"connection_id":232909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:33:05] local.INFO: IMEI packet received {"connection_id":232909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":232909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:33:10] local.INFO: TCP Data received {"connection_id":232909,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:33:10] local.INFO: Processing buffer {"connection_id":232909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:33:10] local.INFO: IMEI packet received {"connection_id":232909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":232909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:33:12] local.INFO: TCP Data received {"connection_id":232909,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:33:12] local.INFO: Processing buffer {"connection_id":232909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:33:12] local.INFO: Packet analysis {"connection_id":232909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:33:12] local.INFO: Extracted packet for processing {"connection_id":232909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:33:12] 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-11-04 23:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:33: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-11-04 23: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-11-04 23:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:33:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":232909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:33:12] local.INFO: GPS data processed {"connection_id":232909,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:33:12] local.INFO: Acknowledgment sent {"connection_id":232909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:33:43] local.INFO: TCP Data received {"connection_id":232909,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:33:43] local.INFO: Processing buffer {"connection_id":232909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:33:43] local.INFO: Packet analysis {"connection_id":232909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:33:43] local.INFO: Extracted packet for processing {"connection_id":232909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:33:43] 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-11-04 23:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:33: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-11-04 23: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-11-04 23:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:33:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":232909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:33:43] local.INFO: GPS data processed {"connection_id":232909,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:33:43] local.INFO: Acknowledgment sent {"connection_id":232909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:34:05] local.INFO: TCP Data received {"connection_id":229729,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:34:05] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:34:05] local.INFO: IMEI packet received {"connection_id":229729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":229729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:34:10] local.INFO: TCP Data received {"connection_id":229729,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:34:10] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:34:10] local.INFO: IMEI packet received {"connection_id":229729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":229729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:34:11] local.INFO: TCP Data received {"connection_id":229729,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:34:11] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:34:11] local.INFO: Packet analysis {"connection_id":229729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:34:11] local.INFO: Extracted packet for processing {"connection_id":229729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:34:11] 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-11-04 23:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:34: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-11-04 23: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-11-04 23:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:34:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":229729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:34:11] local.INFO: GPS data processed {"connection_id":229729,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:34:11] local.INFO: Acknowledgment sent {"connection_id":229729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:34:43] local.INFO: TCP Data received {"connection_id":229729,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:34:43] local.INFO: Processing buffer {"connection_id":229729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:34:43] local.INFO: Packet analysis {"connection_id":229729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:34:43] local.INFO: Extracted packet for processing {"connection_id":229729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:34:43] 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-11-04 23:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:34: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-11-04 23: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-11-04 23:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:34:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:34:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":229729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:34:43] local.INFO: GPS data processed {"connection_id":229729,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:34:43] local.INFO: Acknowledgment sent {"connection_id":229729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:35:05] local.INFO: TCP Data received {"connection_id":229730,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:35:05] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:35:05] local.INFO: IMEI packet received {"connection_id":229730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":229730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:35:10] local.INFO: TCP Data received {"connection_id":229730,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:35:10] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:35:10] local.INFO: IMEI packet received {"connection_id":229730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":229730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:35:12] local.INFO: TCP Data received {"connection_id":229730,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:35:12] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:35:12] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:35:12] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:35:12] 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-11-04 23:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:35:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:35:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:35:12] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:35:12] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:35:32] local.INFO: TCP Data received {"connection_id":232911,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:35:32] local.INFO: Processing buffer {"connection_id":232911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:35:32] local.INFO: IMEI packet received {"connection_id":232911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":232911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:35:44] local.INFO: TCP Data received {"connection_id":229730,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:35:44] local.INFO: Processing buffer {"connection_id":229730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7b816f0012d34c14006aa4118000a01012b..."} 
[2026-11-04 23:35:44] local.INFO: Packet analysis {"connection_id":229730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:35:44] local.INFO: Extracted packet for processing {"connection_id":229730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7b8"} 
[2026-11-04 23:35:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216619776001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:35:44] 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-11-04 23:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793815222000,"timestamp_ms":1793815222000,"timestamp_seconds":1793815222,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7b816f0"} 
[2026-11-04 23:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:35:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:35: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-11-04 23: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-11-04 23:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216619776001,"66":25343,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216619776001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:35:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:35:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216619776001,"power":25343,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":229730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:35:44] local.INFO: GPS data processed {"connection_id":229730,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:35:44] local.INFO: Acknowledgment sent {"connection_id":229730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:36:05] local.INFO: TCP Data received {"connection_id":229248,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:36:05] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:36:05] local.INFO: IMEI packet received {"connection_id":229248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":229248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:36:06] local.INFO: TCP Data received {"connection_id":232912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:36:06] local.INFO: Processing buffer {"connection_id":232912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:36:06] local.INFO: IMEI packet received {"connection_id":232912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":232912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:36:10] local.INFO: TCP Data received {"connection_id":229248,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:36:10] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:36:10] local.INFO: IMEI packet received {"connection_id":229248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":229248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:36:11] local.INFO: TCP Data received {"connection_id":229248,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:36:11] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:36:11] local.INFO: Packet analysis {"connection_id":229248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:36:11] local.INFO: Extracted packet for processing {"connection_id":229248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:36:11] 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-11-04 23:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:36:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":229248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:36:11] local.INFO: GPS data processed {"connection_id":229248,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:36:11] local.INFO: Acknowledgment sent {"connection_id":229248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:36:43] local.INFO: TCP Data received {"connection_id":229248,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:36:43] local.INFO: Processing buffer {"connection_id":229248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:36:43] local.INFO: Packet analysis {"connection_id":229248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:36:43] local.INFO: Extracted packet for processing {"connection_id":229248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:36:43] 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-11-04 23:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:36:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":229248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:36:43] local.INFO: GPS data processed {"connection_id":229248,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:36:43] local.INFO: Acknowledgment sent {"connection_id":229248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:37:05] local.INFO: TCP Data received {"connection_id":231042,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:37:05] local.INFO: Processing buffer {"connection_id":231042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:37:05] local.INFO: IMEI packet received {"connection_id":231042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":231042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:37:10] local.INFO: TCP Data received {"connection_id":231042,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:37:10] local.INFO: Processing buffer {"connection_id":231042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:37:10] local.INFO: IMEI packet received {"connection_id":231042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":231042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:37:11] local.INFO: TCP Data received {"connection_id":231042,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:37:11] local.INFO: Processing buffer {"connection_id":231042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:37:11] local.INFO: Packet analysis {"connection_id":231042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:37:11] local.INFO: Extracted packet for processing {"connection_id":231042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 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-11-04 23:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:37:11] 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-11-04 23:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 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-11-04 23:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 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-11-04 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-11-04 23:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:37:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":231042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:37:11] local.INFO: GPS data processed {"connection_id":231042,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:37:11] local.INFO: Acknowledgment sent {"connection_id":231042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:37:43] local.INFO: TCP Data received {"connection_id":231042,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:37:43] local.INFO: Processing buffer {"connection_id":231042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:37:43] local.INFO: Packet analysis {"connection_id":231042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:37:43] local.INFO: Extracted packet for processing {"connection_id":231042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:37:43] 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-11-04 23:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:37:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":231042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:37:43] local.INFO: GPS data processed {"connection_id":231042,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:37:43] local.INFO: Acknowledgment sent {"connection_id":231042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:38:05] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:38:05] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:38:05] local.INFO: IMEI packet received {"connection_id":229251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":229251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:38:10] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:38:10] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:38:10] local.INFO: IMEI packet received {"connection_id":229251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":229251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:38:11] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:38:11] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:38:11] local.INFO: Packet analysis {"connection_id":229251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:38:11] local.INFO: Extracted packet for processing {"connection_id":229251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:38:11] 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-11-04 23:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:38:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":229251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:38:11] local.INFO: GPS data processed {"connection_id":229251,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:38:11] local.INFO: Acknowledgment sent {"connection_id":229251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:38:43] local.INFO: TCP Data received {"connection_id":229251,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:38:43] local.INFO: Processing buffer {"connection_id":229251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:38:43] local.INFO: Packet analysis {"connection_id":229251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:38:43] local.INFO: Extracted packet for processing {"connection_id":229251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:38:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:38:43] 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-11-04 23:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:38:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":229251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:38:43] local.INFO: GPS data processed {"connection_id":229251,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:38:43] local.INFO: Acknowledgment sent {"connection_id":229251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:39:05] local.INFO: TCP Data received {"connection_id":231043,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:39:05] local.INFO: Processing buffer {"connection_id":231043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:39:05] local.INFO: IMEI packet received {"connection_id":231043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":231043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:39:10] local.INFO: TCP Data received {"connection_id":231043,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:39:10] local.INFO: Processing buffer {"connection_id":231043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:39:10] local.INFO: IMEI packet received {"connection_id":231043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":231043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:39:11] local.INFO: TCP Data received {"connection_id":231043,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:39:11] local.INFO: Processing buffer {"connection_id":231043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:39:11] local.INFO: Packet analysis {"connection_id":231043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:39:11] local.INFO: Extracted packet for processing {"connection_id":231043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:39:11] 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-11-04 23:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:39:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":231043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:39:11] local.INFO: GPS data processed {"connection_id":231043,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:39:11] local.INFO: Acknowledgment sent {"connection_id":231043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:39:43] local.INFO: TCP Data received {"connection_id":231043,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:39:43] local.INFO: Processing buffer {"connection_id":231043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:39:43] local.INFO: Packet analysis {"connection_id":231043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:39:43] local.INFO: Extracted packet for processing {"connection_id":231043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:39:43] 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-11-04 23:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:39:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":231043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:39:43] local.INFO: GPS data processed {"connection_id":231043,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:39:43] local.INFO: Acknowledgment sent {"connection_id":231043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:40:05] local.INFO: TCP Data received {"connection_id":229253,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:40:05] local.INFO: Processing buffer {"connection_id":229253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:40:05] local.INFO: IMEI packet received {"connection_id":229253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":229253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:40:10] local.INFO: TCP Data received {"connection_id":229253,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:40:10] local.INFO: Processing buffer {"connection_id":229253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:40:10] local.INFO: IMEI packet received {"connection_id":229253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":229253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:40:11] local.INFO: TCP Data received {"connection_id":229253,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:40:11] local.INFO: Processing buffer {"connection_id":229253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:40:11] local.INFO: Packet analysis {"connection_id":229253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:40:11] local.INFO: Extracted packet for processing {"connection_id":229253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:40:11] 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-11-04 23:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:40:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":229253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:40:11] local.INFO: GPS data processed {"connection_id":229253,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:40:11] local.INFO: Acknowledgment sent {"connection_id":229253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:40:42] local.INFO: TCP Data received {"connection_id":229253,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:40:42] local.INFO: Processing buffer {"connection_id":229253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7bcaeb8012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:40:42] local.INFO: Packet analysis {"connection_id":229253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:40:42] local.INFO: Extracted packet for processing {"connection_id":229253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7bc"} 
[2026-11-04 23:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216696832001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:40:42] 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-11-04 23:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1793815523000,"timestamp_ms":1793815523000,"timestamp_seconds":1793815523,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7bcaeb8"} 
[2026-11-04 23:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":229253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":229253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":229253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216696832001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216696832001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:40:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216696832001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":229253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:40:43] local.INFO: GPS data processed {"connection_id":229253,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:40:43] local.INFO: Acknowledgment sent {"connection_id":229253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:41:10] local.INFO: TCP Data received {"connection_id":229254,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:41:10] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:41:10] local.INFO: IMEI packet received {"connection_id":229254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":229254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:41:15] local.INFO: TCP Data received {"connection_id":229254,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:41:15] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:41:15] local.INFO: IMEI packet received {"connection_id":229254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":229254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:41:16] local.INFO: TCP Data received {"connection_id":229254,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:41:16] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:41:16] local.INFO: Packet analysis {"connection_id":229254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:41:16] local.INFO: Extracted packet for processing {"connection_id":229254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:41: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-11-04 23:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:41:16] 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-11-04 23:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:41: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-11-04 23:41: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-11-04 23:41: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-11-04 23:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:41:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":229254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:41:16] local.INFO: GPS data processed {"connection_id":229254,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:41:16] local.INFO: Acknowledgment sent {"connection_id":229254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:41:21] local.INFO: TCP Data received {"connection_id":229254,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:41:21] local.INFO: Processing buffer {"connection_id":229254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:41:21] local.INFO: Packet analysis {"connection_id":229254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:41:21] local.INFO: Extracted packet for processing {"connection_id":229254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:41:21] 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-11-04 23:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:41: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-11-04 23: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-11-04 23:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:41:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:41:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":229254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:41:21] local.INFO: GPS data processed {"connection_id":229254,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:41:21] local.INFO: Acknowledgment sent {"connection_id":229254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:41:22] local.INFO: TCP Data received {"connection_id":229255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:41:22] local.INFO: Processing buffer {"connection_id":229255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:41:22] local.INFO: IMEI packet received {"connection_id":229255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":229255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:42:05] local.INFO: TCP Data received {"connection_id":231045,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:42:05] local.INFO: Processing buffer {"connection_id":231045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:42:05] local.INFO: IMEI packet received {"connection_id":231045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":231045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:42:10] local.INFO: TCP Data received {"connection_id":231045,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:42:10] local.INFO: Processing buffer {"connection_id":231045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:42:10] local.INFO: IMEI packet received {"connection_id":231045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":231045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:42:11] local.INFO: TCP Data received {"connection_id":231045,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:42:11] local.INFO: Processing buffer {"connection_id":231045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:42:11] local.INFO: Packet analysis {"connection_id":231045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:42:11] local.INFO: Extracted packet for processing {"connection_id":231045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:42:11] 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-11-04 23:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:42: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-11-04 23:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":231045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":231045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":231045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:42:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":231045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:42:11] local.INFO: GPS data processed {"connection_id":231045,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:42:11] local.INFO: Acknowledgment sent {"connection_id":231045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:42:17] local.INFO: TCP Data received {"connection_id":232913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:42:17] local.INFO: Processing buffer {"connection_id":232913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:42:17] local.INFO: IMEI packet received {"connection_id":232913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":232913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:42:43] local.INFO: TCP Data received {"connection_id":231045,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:42:43] local.INFO: Processing buffer {"connection_id":231045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:42:43] local.INFO: Packet analysis {"connection_id":231045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:42:43] local.INFO: Extracted packet for processing {"connection_id":231045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:42:43] 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-11-04 23:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:42:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":231045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:42:43] local.INFO: GPS data processed {"connection_id":231045,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:42:43] local.INFO: Acknowledgment sent {"connection_id":231045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:43:05] local.INFO: TCP Data received {"connection_id":232914,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:43:05] local.INFO: Processing buffer {"connection_id":232914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:43:05] local.INFO: IMEI packet received {"connection_id":232914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":232914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:43:10] local.INFO: TCP Data received {"connection_id":232914,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:43:10] local.INFO: Processing buffer {"connection_id":232914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:43:10] local.INFO: IMEI packet received {"connection_id":232914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":232914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:43:12] local.INFO: TCP Data received {"connection_id":232914,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:43:12] local.INFO: Processing buffer {"connection_id":232914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:43:12] local.INFO: Packet analysis {"connection_id":232914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:43:12] local.INFO: Extracted packet for processing {"connection_id":232914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:43:12] 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-11-04 23:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:43:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":232914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:43:12] local.INFO: GPS data processed {"connection_id":232914,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:43:12] local.INFO: Acknowledgment sent {"connection_id":232914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:43:44] local.INFO: TCP Data received {"connection_id":232914,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:43:44] local.INFO: Processing buffer {"connection_id":232914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:43:44] local.INFO: Packet analysis {"connection_id":232914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:43:44] local.INFO: Extracted packet for processing {"connection_id":232914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:43:44] 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-11-04 23:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:43: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-11-04 23: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-11-04 23:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:43:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":232914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:43:44] local.INFO: GPS data processed {"connection_id":232914,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:43:44] local.INFO: Acknowledgment sent {"connection_id":232914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:44:05] local.INFO: TCP Data received {"connection_id":229256,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:44:05] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:44:05] local.INFO: IMEI packet received {"connection_id":229256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":229256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:44:10] local.INFO: TCP Data received {"connection_id":229256,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:44:10] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:44:10] local.INFO: IMEI packet received {"connection_id":229256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":229256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:44:11] local.INFO: TCP Data received {"connection_id":229256,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:44:11] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:44:11] local.INFO: Packet analysis {"connection_id":229256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:44:11] local.INFO: Extracted packet for processing {"connection_id":229256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:44:11] 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-11-04 23:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:44: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-11-04 23: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-11-04 23:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:44:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":229256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:44:11] local.INFO: GPS data processed {"connection_id":229256,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:44:11] local.INFO: Acknowledgment sent {"connection_id":229256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:44:44] local.INFO: TCP Data received {"connection_id":229256,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:44:44] local.INFO: Processing buffer {"connection_id":229256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:44:44] local.INFO: Packet analysis {"connection_id":229256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:44:44] local.INFO: Extracted packet for processing {"connection_id":229256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:44:44] 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-11-04 23:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:44: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-11-04 23:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:44:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:44:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":229256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:44:44] local.INFO: GPS data processed {"connection_id":229256,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:44:44] local.INFO: Acknowledgment sent {"connection_id":229256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:45:10] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:45:10] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:45:10] local.INFO: IMEI packet received {"connection_id":229733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":229733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:45:15] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:45:15] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:45:15] local.INFO: IMEI packet received {"connection_id":229733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":229733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:45:17] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:45:17] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:45:17] local.INFO: Packet analysis {"connection_id":229733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:45:17] local.INFO: Extracted packet for processing {"connection_id":229733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:45:17] 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-11-04 23:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:45: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-11-04 23:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":229733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":229733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":229733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:45:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":229733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:45:17] local.INFO: GPS data processed {"connection_id":229733,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:45:17] local.INFO: Acknowledgment sent {"connection_id":229733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:45:21] local.INFO: TCP Data received {"connection_id":229733,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:45:21] local.INFO: Processing buffer {"connection_id":229733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c14680012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:45:21] local.INFO: Packet analysis {"connection_id":229733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:45:21] local.INFO: Extracted packet for processing {"connection_id":229733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c1"} 
[2026-11-04 23:45:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216773888001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:45:21] 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-11-04 23:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793815824000,"timestamp_ms":1793815824000,"timestamp_seconds":1793815824,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c14680"} 
[2026-11-04 23:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:45: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-11-04 23: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-11-04 23:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216773888001,"66":25397,"105":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-11-04 23:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216773888001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:45:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-11-04 23:45:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216773888001,"power":25397,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":229733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:45:21] local.INFO: GPS data processed {"connection_id":229733,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:45:21] local.INFO: Acknowledgment sent {"connection_id":229733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:46:03] local.INFO: TCP Data received {"connection_id":229734,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:03] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:03] local.INFO: IMEI packet received {"connection_id":229734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":229734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:46:05] local.INFO: TCP Data received {"connection_id":229734,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:05] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:05] local.INFO: IMEI packet received {"connection_id":229734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":229734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:46:10] local.INFO: TCP Data received {"connection_id":229734,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:10] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:46:10] local.INFO: IMEI packet received {"connection_id":229734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":229734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:46:12] local.INFO: TCP Data received {"connection_id":229734,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:46:12] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:46:12] local.INFO: Packet analysis {"connection_id":229734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:46:12] local.INFO: Extracted packet for processing {"connection_id":229734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:46: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-11-04 23: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-11-04 23:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:46:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":229734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:46:12] local.INFO: GPS data processed {"connection_id":229734,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:46:12] local.INFO: Acknowledgment sent {"connection_id":229734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:46:44] local.INFO: TCP Data received {"connection_id":229734,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:46:44] local.INFO: Processing buffer {"connection_id":229734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:46:44] local.INFO: Packet analysis {"connection_id":229734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:46:44] local.INFO: Extracted packet for processing {"connection_id":229734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:46: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-11-04 23: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-11-04 23:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:46:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":229734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:46:44] local.INFO: GPS data processed {"connection_id":229734,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:46:44] local.INFO: Acknowledgment sent {"connection_id":229734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:47:05] local.INFO: TCP Data received {"connection_id":232915,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:47:05] local.INFO: Processing buffer {"connection_id":232915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:47:05] local.INFO: IMEI packet received {"connection_id":232915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":232915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:47:10] local.INFO: TCP Data received {"connection_id":232915,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:47:10] local.INFO: Processing buffer {"connection_id":232915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:47:10] local.INFO: IMEI packet received {"connection_id":232915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":232915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:47:11] local.INFO: TCP Data received {"connection_id":232915,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:47:11] local.INFO: Processing buffer {"connection_id":232915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:47:11] local.INFO: Packet analysis {"connection_id":232915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:47:11] local.INFO: Extracted packet for processing {"connection_id":232915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:47: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-11-04 23: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-11-04 23:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:47:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":232915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:47:11] local.INFO: GPS data processed {"connection_id":232915,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:47:11] local.INFO: Acknowledgment sent {"connection_id":232915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:47:17] local.INFO: TCP Data received {"connection_id":229735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:47:17] local.INFO: Processing buffer {"connection_id":229735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:47:17] local.INFO: IMEI packet received {"connection_id":229735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":229735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:47:43] local.INFO: TCP Data received {"connection_id":232915,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:47:43] local.INFO: Processing buffer {"connection_id":232915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:47:43] local.INFO: Packet analysis {"connection_id":232915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:47:43] local.INFO: Extracted packet for processing {"connection_id":232915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:47: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-11-04 23: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-11-04 23:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:47:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":232915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:47:43] local.INFO: GPS data processed {"connection_id":232915,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:47:43] local.INFO: Acknowledgment sent {"connection_id":232915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:48:10] local.INFO: TCP Data received {"connection_id":229259,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:48:10] local.INFO: Processing buffer {"connection_id":229259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:48:10] local.INFO: IMEI packet received {"connection_id":229259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":229259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:48:15] local.INFO: TCP Data received {"connection_id":229259,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:48:15] local.INFO: Processing buffer {"connection_id":229259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:48:15] local.INFO: IMEI packet received {"connection_id":229259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":229259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:48:16] local.INFO: TCP Data received {"connection_id":229259,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:48:16] local.INFO: Processing buffer {"connection_id":229259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:48:16] local.INFO: Packet analysis {"connection_id":229259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:48:16] local.INFO: Extracted packet for processing {"connection_id":229259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:48: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-11-04 23: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-11-04 23:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":229259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":229259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":229259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:48:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":229259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:48:16] local.INFO: GPS data processed {"connection_id":229259,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:48:16] local.INFO: Acknowledgment sent {"connection_id":229259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:48:21] local.INFO: TCP Data received {"connection_id":229259,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:48:21] local.INFO: Processing buffer {"connection_id":229259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:48:21] local.INFO: Packet analysis {"connection_id":229259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:48:21] local.INFO: Extracted packet for processing {"connection_id":229259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:48:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:48: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-11-04 23: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-11-04 23:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":229259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":229259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":229259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:48:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:48:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":229259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:48:21] local.INFO: GPS data processed {"connection_id":229259,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:48:21] local.INFO: Acknowledgment sent {"connection_id":229259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:49:05] local.INFO: TCP Data received {"connection_id":231048,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:49:05] local.INFO: Processing buffer {"connection_id":231048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:49:05] local.INFO: IMEI packet received {"connection_id":231048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":231048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:49:10] local.INFO: TCP Data received {"connection_id":231048,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:49:10] local.INFO: Processing buffer {"connection_id":231048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:49:10] local.INFO: IMEI packet received {"connection_id":231048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":231048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:49:12] local.INFO: TCP Data received {"connection_id":231048,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:49:12] local.INFO: Processing buffer {"connection_id":231048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:49:12] local.INFO: Packet analysis {"connection_id":231048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:49:12] local.INFO: Extracted packet for processing {"connection_id":231048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23: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-11-04 23: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-11-04 23:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:49:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":231048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:49:12] local.INFO: GPS data processed {"connection_id":231048,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:49:12] local.INFO: Acknowledgment sent {"connection_id":231048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:49:44] local.INFO: TCP Data received {"connection_id":231048,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:49:44] local.INFO: Processing buffer {"connection_id":231048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:49:44] local.INFO: Packet analysis {"connection_id":231048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:49:44] local.INFO: Extracted packet for processing {"connection_id":231048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:49: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-11-04 23: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-11-04 23:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":231048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":231048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":231048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:49:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":231048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:49:44] local.INFO: GPS data processed {"connection_id":231048,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:49:44] local.INFO: Acknowledgment sent {"connection_id":231048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:50:06] local.INFO: TCP Data received {"connection_id":232917,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:50:06] local.INFO: Processing buffer {"connection_id":232917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:50:06] local.INFO: IMEI packet received {"connection_id":232917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":232917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:50:10] local.INFO: TCP Data received {"connection_id":232917,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:50:10] local.INFO: Processing buffer {"connection_id":232917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:50:10] local.INFO: IMEI packet received {"connection_id":232917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":232917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:50:12] local.INFO: TCP Data received {"connection_id":232917,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:50:12] local.INFO: Processing buffer {"connection_id":232917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:50:12] local.INFO: Packet analysis {"connection_id":232917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:50:12] local.INFO: Extracted packet for processing {"connection_id":232917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:50: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-11-04 23: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-11-04 23:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:50:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":232917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:50:12] local.INFO: GPS data processed {"connection_id":232917,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:50:12] local.INFO: Acknowledgment sent {"connection_id":232917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:50:44] local.INFO: TCP Data received {"connection_id":232917,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:50:44] local.INFO: Processing buffer {"connection_id":232917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7c5de48012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:50:44] local.INFO: Packet analysis {"connection_id":232917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:50:44] local.INFO: Extracted packet for processing {"connection_id":232917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7c5"} 
[2026-11-04 23:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216850944001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793816125000,"timestamp_ms":1793816125000,"timestamp_seconds":1793816125,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7c5de48"} 
[2026-11-04 23:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-11-04 23:50: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-11-04 23: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-11-04 23:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":232917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":232917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":232917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216850944001,"66":25343,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216850944001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:50:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:50:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216850944001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":232917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:50:44] local.INFO: GPS data processed {"connection_id":232917,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:50:44] local.INFO: Acknowledgment sent {"connection_id":232917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:51:04] local.INFO: TCP Data received {"connection_id":229261,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:04] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:04] local.INFO: IMEI packet received {"connection_id":229261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":229261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:51:05] local.INFO: TCP Data received {"connection_id":229261,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:05] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:05] local.INFO: IMEI packet received {"connection_id":229261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":229261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:51:10] local.INFO: TCP Data received {"connection_id":229261,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:10] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:51:10] local.INFO: IMEI packet received {"connection_id":229261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":229261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:51:12] local.INFO: TCP Data received {"connection_id":229261,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:51:12] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:51:12] local.INFO: Packet analysis {"connection_id":229261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:51:12] local.INFO: Extracted packet for processing {"connection_id":229261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:51:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":229261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:51:12] local.INFO: GPS data processed {"connection_id":229261,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:51:12] local.INFO: Acknowledgment sent {"connection_id":229261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:51:44] local.INFO: TCP Data received {"connection_id":229261,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:51:44] local.INFO: Processing buffer {"connection_id":229261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:51:44] local.INFO: Packet analysis {"connection_id":229261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:51:44] local.INFO: Extracted packet for processing {"connection_id":229261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:51:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":229261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:51:44] local.INFO: GPS data processed {"connection_id":229261,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:51:44] local.INFO: Acknowledgment sent {"connection_id":229261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:52:10] local.INFO: TCP Data received {"connection_id":231049,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:52:10] local.INFO: Processing buffer {"connection_id":231049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:52:10] local.INFO: IMEI packet received {"connection_id":231049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":231049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:52:15] local.INFO: TCP Data received {"connection_id":231049,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:52:15] local.INFO: Processing buffer {"connection_id":231049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:52:15] local.INFO: IMEI packet received {"connection_id":231049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":231049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:52:17] local.INFO: TCP Data received {"connection_id":231049,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:52:17] local.INFO: Processing buffer {"connection_id":231049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:52:17] local.INFO: Packet analysis {"connection_id":231049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:52:17] local.INFO: Extracted packet for processing {"connection_id":231049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":231049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":231049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":231049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:52:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":231049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:52:17] local.INFO: GPS data processed {"connection_id":231049,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:52:17] local.INFO: Acknowledgment sent {"connection_id":231049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:52:21] local.INFO: TCP Data received {"connection_id":231049,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:52:21] local.INFO: Processing buffer {"connection_id":231049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:52:21] local.INFO: Packet analysis {"connection_id":231049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:52:21] local.INFO: Extracted packet for processing {"connection_id":231049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":231049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":231049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":231049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:52:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:52:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":231049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:52:21] local.INFO: GPS data processed {"connection_id":231049,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:52:21] local.INFO: Acknowledgment sent {"connection_id":231049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:52:51] local.INFO: TCP Data received {"connection_id":229737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:52:51] local.INFO: Processing buffer {"connection_id":229737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:52:51] local.INFO: IMEI packet received {"connection_id":229737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":229737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:53:05] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:53:05] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:53:05] local.INFO: IMEI packet received {"connection_id":229738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":229738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:53:10] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:53:10] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:53:10] local.INFO: IMEI packet received {"connection_id":229738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":229738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:53:11] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:53:11] local.INFO: TCP Data received {"connection_id":231050,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:53:11] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:53:11] local.INFO: Packet analysis {"connection_id":229738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:53:11] local.INFO: Extracted packet for processing {"connection_id":229738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":229738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":229738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":229738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:53:11] local.INFO: Processing buffer {"connection_id":231050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:53:11] local.INFO: IMEI packet received {"connection_id":231050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":231050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":229738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:53:11] local.INFO: GPS data processed {"connection_id":229738,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:53:11] local.INFO: Acknowledgment sent {"connection_id":229738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:53:43] local.INFO: TCP Data received {"connection_id":229738,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:53:43] local.INFO: Processing buffer {"connection_id":229738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:53:43] local.INFO: Packet analysis {"connection_id":229738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:53:43] local.INFO: Extracted packet for processing {"connection_id":229738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:53:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:53:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:53:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":229738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:53:43] local.INFO: GPS data processed {"connection_id":229738,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:53:43] local.INFO: Acknowledgment sent {"connection_id":229738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:54:06] local.INFO: TCP Data received {"connection_id":231051,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:54:06] local.INFO: Processing buffer {"connection_id":231051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:54:06] local.INFO: IMEI packet received {"connection_id":231051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":231051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:54:10] local.INFO: TCP Data received {"connection_id":231051,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:54:10] local.INFO: Processing buffer {"connection_id":231051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:54:10] local.INFO: IMEI packet received {"connection_id":231051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":231051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:54:12] local.INFO: TCP Data received {"connection_id":231051,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:54:12] local.INFO: Processing buffer {"connection_id":231051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:54:12] local.INFO: Packet analysis {"connection_id":231051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:54:12] local.INFO: Extracted packet for processing {"connection_id":231051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:54:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":231051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:54:12] local.INFO: GPS data processed {"connection_id":231051,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:54:12] local.INFO: Acknowledgment sent {"connection_id":231051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:54:43] local.INFO: TCP Data received {"connection_id":231051,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:54:43] local.INFO: Processing buffer {"connection_id":231051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:54:43] local.INFO: Packet analysis {"connection_id":231051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:54:43] local.INFO: Extracted packet for processing {"connection_id":231051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:54:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":231051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:54:43] local.INFO: GPS data processed {"connection_id":231051,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:54:43] local.INFO: Acknowledgment sent {"connection_id":231051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:55:05] local.INFO: TCP Data received {"connection_id":229742,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:55:05] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:55:05] local.INFO: IMEI packet received {"connection_id":229742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":229742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:55:10] local.INFO: TCP Data received {"connection_id":229742,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:55:10] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:55:10] local.INFO: IMEI packet received {"connection_id":229742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":229742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:55:12] local.INFO: TCP Data received {"connection_id":229742,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:55:12] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:55:12] local.INFO: Packet analysis {"connection_id":229742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:55:12] local.INFO: Extracted packet for processing {"connection_id":229742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:55:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:55:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":229742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:55:12] local.INFO: GPS data processed {"connection_id":229742,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:55:12] local.INFO: Acknowledgment sent {"connection_id":229742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:55:44] local.INFO: TCP Data received {"connection_id":229742,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:55:44] local.INFO: Processing buffer {"connection_id":229742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7ca7610012d34c14006aa4118000a01012d..."} 
[2026-11-04 23:55:44] local.INFO: Packet analysis {"connection_id":229742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:55:44] local.INFO: Extracted packet for processing {"connection_id":229742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7ca"} 
[2026-11-04 23:55:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459216928000001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1793816426000,"timestamp_ms":1793816426000,"timestamp_seconds":1793816426,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7ca7610"} 
[2026-11-04 23:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-11-04 23:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":229742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":229742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":229742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459216928000001,"66":24517,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":459216928000001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:55:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459216928000001,"power":24517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":229742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:55:44] local.INFO: GPS data processed {"connection_id":229742,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:55:44] local.INFO: Acknowledgment sent {"connection_id":229742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:56:05] local.INFO: TCP Data received {"connection_id":229262,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:05] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:05] local.INFO: IMEI packet received {"connection_id":229262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":229262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:56:05] local.INFO: TCP Data received {"connection_id":229262,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:05] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:05] local.INFO: IMEI packet received {"connection_id":229262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":229262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:56:10] local.INFO: TCP Data received {"connection_id":229262,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:10] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:56:10] local.INFO: IMEI packet received {"connection_id":229262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":229262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:56:12] local.INFO: TCP Data received {"connection_id":229262,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:56:12] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:56:12] local.INFO: Packet analysis {"connection_id":229262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:56:12] local.INFO: Extracted packet for processing {"connection_id":229262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":229262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":229262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":229262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:56:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":229262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:56:12] local.INFO: GPS data processed {"connection_id":229262,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:56:12] local.INFO: Acknowledgment sent {"connection_id":229262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:56:43] local.INFO: TCP Data received {"connection_id":229262,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:56:43] local.INFO: Processing buffer {"connection_id":229262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:56:43] local.INFO: Packet analysis {"connection_id":229262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:56:43] local.INFO: Extracted packet for processing {"connection_id":229262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":229262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":229262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":229262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:56:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":229262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:56:43] local.INFO: GPS data processed {"connection_id":229262,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:56:43] local.INFO: Acknowledgment sent {"connection_id":229262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:57:05] local.INFO: TCP Data received {"connection_id":232919,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:57:05] local.INFO: Processing buffer {"connection_id":232919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:57:05] local.INFO: IMEI packet received {"connection_id":232919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":232919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:57:10] local.INFO: TCP Data received {"connection_id":232919,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:57:10] local.INFO: Processing buffer {"connection_id":232919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:57:10] local.INFO: IMEI packet received {"connection_id":232919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":232919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:57:12] local.INFO: TCP Data received {"connection_id":232919,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:57:12] local.INFO: Processing buffer {"connection_id":232919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:57:12] local.INFO: Packet analysis {"connection_id":232919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:57:12] local.INFO: Extracted packet for processing {"connection_id":232919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":232919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":232919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":232919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:57:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":232919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:57:12] local.INFO: GPS data processed {"connection_id":232919,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:57:12] local.INFO: Acknowledgment sent {"connection_id":232919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:57:43] local.INFO: TCP Data received {"connection_id":232919,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:57:43] local.INFO: Processing buffer {"connection_id":232919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:57:43] local.INFO: Packet analysis {"connection_id":232919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:57:43] local.INFO: Extracted packet for processing {"connection_id":232919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:57:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":232919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:57:43] local.INFO: GPS data processed {"connection_id":232919,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:57:43] local.INFO: Acknowledgment sent {"connection_id":232919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:58:05] local.INFO: TCP Data received {"connection_id":231053,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:58:05] local.INFO: Processing buffer {"connection_id":231053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:58:05] local.INFO: IMEI packet received {"connection_id":231053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":231053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:58:10] local.INFO: TCP Data received {"connection_id":231053,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:58:10] local.INFO: Processing buffer {"connection_id":231053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:58:10] local.INFO: IMEI packet received {"connection_id":231053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":231053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:58:12] local.INFO: TCP Data received {"connection_id":231053,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:58:12] local.INFO: Processing buffer {"connection_id":231053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:58:12] local.INFO: Packet analysis {"connection_id":231053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:58:12] local.INFO: Extracted packet for processing {"connection_id":231053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":231053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":231053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":231053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:58:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":231053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:58:12] local.INFO: GPS data processed {"connection_id":231053,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:58:12] local.INFO: Acknowledgment sent {"connection_id":231053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:58:37] local.INFO: TCP Data received {"connection_id":229743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:58:38] local.INFO: Processing buffer {"connection_id":229743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:58:38] local.INFO: IMEI packet received {"connection_id":229743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":229743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:58:43] local.INFO: TCP Data received {"connection_id":231053,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":231053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:58:43] local.INFO: Processing buffer {"connection_id":231053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:58:43] local.INFO: Packet analysis {"connection_id":231053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:58:43] local.INFO: Extracted packet for processing {"connection_id":231053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:58:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":231053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":231053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":231053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:58:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:58:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":231053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:58:43] local.INFO: GPS data processed {"connection_id":231053,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:58:43] local.INFO: Acknowledgment sent {"connection_id":231053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:59:05] local.INFO: TCP Data received {"connection_id":232920,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:59:05] local.INFO: Processing buffer {"connection_id":232920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:59:05] local.INFO: IMEI packet received {"connection_id":232920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-11-04 23:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":232920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:59:07] local.INFO: TCP Data received {"connection_id":229744,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":229744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:59:07] local.INFO: Processing buffer {"connection_id":229744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-11-04 23:59:07] local.INFO: IMEI packet received {"connection_id":229744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-11-04 23:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":229744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-11-04 23:59:10] local.INFO: TCP Data received {"connection_id":232920,"ip":"117.224.67.174","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:59:10] local.INFO: Processing buffer {"connection_id":232920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-11-04 23:59:10] local.INFO: IMEI packet received {"connection_id":232920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-11-04 23:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":232920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-11-04 23:59:11] local.INFO: TCP Data received {"connection_id":232920,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:59:11] local.INFO: Processing buffer {"connection_id":232920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:59:11] local.INFO: Packet analysis {"connection_id":232920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:59:11] local.INFO: Extracted packet for processing {"connection_id":232920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23: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-11-04 23:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23: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":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23: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-11-04 23:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":232920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":232920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":232920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:59:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":232920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:59:11] local.INFO: GPS data processed {"connection_id":232920,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:59:11] local.INFO: Acknowledgment sent {"connection_id":232920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-11-04 23:59:43] local.INFO: TCP Data received {"connection_id":232920,"ip":"117.224.67.174","data_length":795,"data_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":232920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:59:43] local.INFO: Processing buffer {"connection_id":232920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a1a7cf0dd8012d34c14006aa4118000a01012c..."} 
[2026-11-04 23:59:43] local.INFO: Packet analysis {"connection_id":232920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:59:43] local.INFO: Extracted packet for processing {"connection_id":232920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a1a7cf"} 
[2026-11-04 23:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821080,"longitude_deg":75.8432064,"latitude_deg":11.182108,"altitude":10,"angle":257,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4118","is_valid_coordinates":true} 
[2026-11-04 23:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-11-04 23:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":459217005056001,"note":"Value kept but may cause issues"} 
[2026-11-04 23:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":39296558461616128,"note":"Value kept but may cause issues"} 
[2026-11-04 23:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847783424,"note":"Value kept but may cause issues"} 
[2026-11-04 23:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-11-04 23:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1793816727000,"timestamp_ms":1793816727000,"timestamp_seconds":1793816727,"priority":1,"record_length":96,"hex_timestamp":"000001a1a7cf0dd8"} 
[2026-11-04 23:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-11-04 23:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-11-04 23:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-11-04 23:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2446,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-11-04 23:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-11-04 23:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-11-04 23:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-11-04 23:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":232920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-11-04 23:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":232920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":232920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-11-04 23:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.67.174","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-11-04 23:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-11-04 23:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-11-04 23:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":459217005056001,"66":25321,"106":206,"28":21760,"24":0,"16":39296558461616128,"45":3801389957847783424},"client_ip":"117.224.67.174","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-11-04 23:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-11-04 23:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-11-04 23:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":459217005056001,"description":"Unknown IO ID 0"} 
[2026-11-04 23:59:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-11-04 23:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-11-04 23:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":39296558461616128,"km_value":39296558461616.125,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-11-04 23:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847783424,"description":"Unknown IO ID 45"} 
[2026-11-04 23:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":459217005056001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957847783424}} 
[2026-11-04 23:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":232920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":60929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-11-04 23:59:43] local.INFO: GPS data processed {"connection_id":232920,"processed":1,"errors":0,"total":1} 
[2026-11-04 23:59:43] local.INFO: Acknowledgment sent {"connection_id":232920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
